/test/xts/acts/multimedia/image/image_js_standard/imagePackingNDK/entry/src/main/cpp/napi/ |
H A D | image_packing_test.cpp | 61 static bool GetInt32Property(napi_env env, napi_value root, const char* utf8name, int32_t* res) in GetInt32Property() argument 64 auto status = napi_get_named_property(env, root, utf8name, &property); in GetInt32Property() 66 DEBUG_LOG("Get property error %{public}s", utf8name); in GetInt32Property() 72 static bool GetUint32Property(napi_env env, napi_value root, const char* utf8name, uint32_t* res) in GetUint32Property() argument 75 auto status = napi_get_named_property(env, root, utf8name, &property); in GetUint32Property() 77 DEBUG_LOG("Get property error %{public}s", utf8name); in GetUint32Property() 84 const char* utf8name, char** buffer, size_t *bufferSize) in GetStringProperty() 87 auto status = napi_get_named_property(env, root, utf8name, &value); in GetStringProperty() 89 DEBUG_LOG("Get property error %{public}s", utf8name); in GetStringProperty() 83 GetStringProperty(napi_env env, napi_value root, const char* utf8name, char** buffer, size_t *bufferSize) GetStringProperty() argument
|
/test/xts/acts/multimedia/image/image_js_standard/imageSourceNDK/entry/src/main/cpp/napi/ |
H A D | image_source_test.cpp | 77 static bool GetBoolProperty(napi_env env, napi_value root, const char* utf8name, int8_t* res) in GetBoolProperty() argument 80 auto status = napi_get_named_property(env, root, utf8name, &property); in GetBoolProperty() 82 DEBUG_LOG("Get property error %{public}s", utf8name); in GetBoolProperty() 91 static bool GetInt32Property(napi_env env, napi_value root, const char* utf8name, int32_t* res) in GetInt32Property() argument 94 auto status = napi_get_named_property(env, root, utf8name, &property); in GetInt32Property() 96 DEBUG_LOG("Get property error %{public}s", utf8name); in GetInt32Property() 102 static bool GetUint32Property(napi_env env, napi_value root, const char* utf8name, uint32_t* res) in GetUint32Property() argument 105 auto status = napi_get_named_property(env, root, utf8name, &property); in GetUint32Property() 107 DEBUG_LOG("Get property error %{public}s", utf8name); in GetUint32Property() 113 static bool GetArrayBufferProperty(napi_env env, napi_value root, const char* utf8name, in GetArrayBufferProperty() argument 143 setInt32NamedProperty(napi_env env, napi_value object, const char* utf8name, uint32_t value) setInt32NamedProperty() argument [all...] |
/test/xts/acts/multimedia/image/image_js_standard/imageReceiverNDK/entry/src/main/cpp/napi/ |
H A D | image_receiver_mdk_test.cpp | 204 static void setInt32NamedProperty(napi_env env, napi_value object, const char* utf8name, int32_t value) in setInt32NamedProperty() argument 208 napi_set_named_property(env, object, utf8name, tmp); in setInt32NamedProperty() 212 const char* utf8name, uint8_t* buffer, size_t size) in setByteArrayNamedProperty() 217 napi_set_named_property(env, object, utf8name, tmp); in setByteArrayNamedProperty() 211 setByteArrayNamedProperty(napi_env env, napi_value object, const char* utf8name, uint8_t* buffer, size_t size) setByteArrayNamedProperty() argument
|
H A D | image_receiver_test.cpp | 273 static void setInt32NamedProperty(napi_env env, napi_value object, const char* utf8name, int32_t value) in setInt32NamedProperty() argument 277 napi_set_named_property(env, object, utf8name, tmp); in setInt32NamedProperty()
|
/test/xts/acts/multimedia/image/image_js_standard/imagePixelMapNDK/entry/src/main/cpp/napi/ |
H A D | image_pixel_map_imgndk_test.cpp | 540 static void setInt32NamedProperty(napi_env env, napi_value object, const char* utf8name, uint32_t value) in setInt32NamedProperty() argument 544 napi_set_named_property(env, object, utf8name, tmp); in setInt32NamedProperty() 547 static void setUint32NamedProperty(napi_env env, napi_value object, const char* utf8name, uint32_t value) in setUint32NamedProperty() argument 551 napi_set_named_property(env, object, utf8name, tmp); in setUint32NamedProperty()
|
/test/xts/acts/graphic/imageNdk/entry/src/main/cpp/ |
H A D | ImageNdk.cpp | 321 static void setInt32NamedProperty(napi_env env, napi_value object, const char *utf8name, uint32_t value) in setInt32NamedProperty() argument 325 napi_set_named_property(env, object, utf8name, tmp); in setInt32NamedProperty()
|
/test/xts/acts/multimedia/image/image_ets_standard/imageNdk/entry/src/main/cpp/ |
H A D | ImageNdk.cpp | 776 static void setInt32NamedProperty(napi_env env, napi_value object, const char *utf8name, uint32_t value) { in setInt32NamedProperty() argument 779 napi_set_named_property(env, object, utf8name, tmp); in setInt32NamedProperty()
|
/test/xts/acts/arkui/ace_napi_test_es/entry/src/main/cpp/napi/ |
H A D | napi_test.cpp | 1749 desc.utf8name = nullptr;
in defineProperties() 1752 desc.utf8name = "prop";
in defineProperties()
|
/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/napi/ |
H A D | napi_test.cpp | 125 desc.utf8name = NULL; in defineProperties() 128 desc.utf8name = "prop"; in defineProperties() 3129 // case 1. If utf8name is nullptr, return JSVM_INVALID_ARG. in checkArgs() 3133 JSVM_ASSERT(env, res == JSVM_INVALID_ARG, "OH_JSVM_DefineClassWithPropertyHandler failed due to nullptr utf8name"); in checkArgs() 7042 desc->utf8name = nullptr; in DefinePropertiesFailed()
|
/test/xts/acts/arkui/ace_napi_test/entry/src/main/cpp/napi/ |
H A D | napi_test.cpp | 1893 desc.utf8name = nullptr; in defineProperties() 1896 desc.utf8name = "prop"; in defineProperties()
|