/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/ |
H A D | js_foreach_function.cpp | 47 JSRef<JSVal> jsKey = jsKeysArr->GetValueAt(i); in ExecuteIdentityMapper() local 49 if (!jsKey->IsString() && !jsKey->IsNumber()) { in ExecuteIdentityMapper() 53 std::string key(jsKey->ToString()); in ExecuteIdentityMapper()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_common/ |
H A D | napi_common_child_process_param.cpp | 66 napi_value jsKey = nullptr; in UnwrapChildProcessFds() local 68 NAPI_CALL_BASE(env, napi_get_element(env, jsKeyList, index, &jsKey), false); in UnwrapChildProcessFds() 70 if (!UnwrapStringFromJS2(env, jsKey, key)) { in UnwrapChildProcessFds()
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/common/src/ |
H A D | js_utils.cpp | 308 napi_value jsKey = nullptr; in Convert2Value() local 311 status = napi_get_element(env, jsMapList, index, &jsKey); in Convert2Value() 312 CHECK_RETURN_RET(status == napi_ok && jsKey != nullptr, "no element", napi_invalid_arg); in Convert2Value() 314 int ret = Convert2Value(env, jsKey, key); in Convert2Value() 316 status = napi_get_property(env, jsValue, jsKey, &jsVal); in Convert2Value() 337 napi_value jsKey = nullptr; in Convert2Value() local 340 status = napi_get_element(env, jsMapList, index, &jsKey); in Convert2Value() 341 CHECK_RETURN_RET(status == napi_ok && jsKey != nullptr, "no element", napi_invalid_arg); in Convert2Value() 343 int ret = Convert2Value(env, jsKey, key); in Convert2Value() 345 status = napi_get_property(env, jsValue, jsKey, &jsVal); in Convert2Value()
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/src/ |
H A D | napi_data_utils.cpp | 264 napi_value jsKey = nullptr; in SetValue() local 265 napi_create_string_utf8(env, key.c_str(), key.size(), &jsKey); in SetValue() 266 napi_set_element(env, element, TUPLE_KEY, jsKey); in SetValue() 298 napi_value jsKey = nullptr; in SetValue() local 299 napi_create_string_utf8(env, key.c_str(), key.size(), &jsKey); in SetValue() 300 napi_set_element(env, element, TUPLE_KEY, jsKey); in SetValue()
|
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/js/napi/common/include/ |
H A D | datashare_js_utils.h | 231 napi_value jsKey = nullptr; in Convert2Value() local 234 status = napi_get_element(env, map, index, &jsKey); in Convert2Value() 238 std::string key = Convert2String(env, jsKey); in Convert2Value() 239 status = napi_get_property(env, input, jsKey, &jsVal); in Convert2Value()
|
/ohos5.0/foundation/distributeddatamgr/udmf/framework/jskitsimpl/common/ |
H A D | napi_data_utils.cpp | 222 napi_value jsKey = nullptr; in SetValue() local 223 napi_create_string_utf8(env, key.c_str(), key.size(), &jsKey); in SetValue() 224 napi_set_element(env, element, TUPLE_KEY, jsKey); in SetValue() 253 napi_value jsKey = nullptr; in SetValue() local 254 napi_create_string_utf8(env, key.c_str(), key.size(), &jsKey); in SetValue() 255 napi_set_element(env, element, TUPLE_KEY, jsKey); in SetValue()
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/common/include/ |
H A D | js_utils.h | 261 napi_value jsKey = nullptr; in Convert2Value() local 264 status = napi_get_element(env, jsMapList, index, &jsKey); in Convert2Value() 269 int ret = Convert2Value(env, jsKey, key); in Convert2Value() 273 status = napi_get_property(env, jsValue, jsKey, &jsVal); in Convert2Value()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/src/ |
H A D | js_util.cpp | 673 napi_value jsKey = nullptr; in SetValue() local 674 napi_create_string_utf8(env, key.c_str(), key.size(), &jsKey); in SetValue() 675 napi_set_element(env, element, TUPLE_KEY, jsKey); in SetValue() 842 napi_value jsKey = 0; in GetValue() local 843 statusMsg.status = napi_get_element(env, keys, i, &jsKey); in GetValue() 846 JSUtil::GetValue(env, jsKey, key); in GetValue() 848 napi_get_property(env, jsValue, jsKey, &valueJs); in GetValue()
|
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/common/ |
H A D | common_napi.cpp | 180 napi_value jsKey = nullptr; in GetPropertyRecord() local 183 status = napi_get_element(env, dataList, i, &jsKey); in GetPropertyRecord() 185 status = napi_typeof(env, jsKey, &valueType); in GetPropertyRecord() 188 std::string strKey = GetStringArgument(env, jsKey, CUSTOM_MAX_LENGTH); in GetPropertyRecord()
|
/ohos5.0/foundation/arkui/napi/test/unittest/cj_native/ |
H A D | test_ark_interop.cpp | 498 auto jsKey = ARKTS_GetElement(env, jsKeys, i); in TestDefineProperty() local 499 EXPECT_TRUE(ARKTS_IsString(env, jsKey)); in TestDefineProperty() 501 ARKTS_GetValueUtf8(env, jsKey, 1, &buffer); in TestDefineProperty()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/jskitsimpl/distributeddata/src/ |
H A D | js_util.cpp | 685 napi_value jsKey = nullptr; in SetValue() local 686 napi_create_string_utf8(env, key.c_str(), key.size(), &jsKey); in SetValue() 687 napi_set_element(env, element, TUPLE_KEY, jsKey); in SetValue()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/src/ |
H A D | js_util.cpp | 654 napi_value jsKey = nullptr; in SetValue() local 655 napi_create_string_utf8(env, key.c_str(), key.size(), &jsKey); in SetValue() 656 napi_set_element(env, element, TUPLE_KEY, jsKey); in SetValue()
|