Home
last modified time | relevance | path

Searched refs:thisVar (Results 1 - 25 of 364) sorted by relevance

12345678910>>...15

/foundation/communication/ipc/ipc/native/src/napi/src/
H A Dnapi_message_option.cpp36 napi_value thisVar = nullptr; in NapiOhosRpcMessageOptionGetFlags() local
37 napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr); in NapiOhosRpcMessageOptionGetFlags()
38 NAPI_ASSERT(env, thisVar != nullptr, "failed to get js message option object"); in NapiOhosRpcMessageOptionGetFlags()
40 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&option)); in NapiOhosRpcMessageOptionGetFlags()
54 napi_value thisVar = nullptr; in NapiOhosRpcMessageOptionSetFlags() local
57 napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr); in NapiOhosRpcMessageOptionSetFlags()
58 NAPI_ASSERT(env, thisVar != nullptr, "failed to get js message option object"); in NapiOhosRpcMessageOptionSetFlags()
66 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&option)); in NapiOhosRpcMessageOptionSetFlags()
79 napi_value thisVar = nullptr; in NapiOhosRpcMessageOptionIsAsync() local
80 napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullpt in NapiOhosRpcMessageOptionIsAsync()
97 napi_value thisVar = nullptr; NapiOhosRpcMessageOptionSetAsync() local
122 napi_value thisVar = nullptr; NapiOhosRpcMessageOptionGetWaittime() local
140 napi_value thisVar = nullptr; NapiOhosRpcMessageOptionSetWaittime() local
164 napi_value thisVar = nullptr; NAPIMessageOption_JS_Constructor() local
[all...]
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/ability/
H A Dcamera_ability_napi.cpp233 napi_value thisVar = nullptr; in CameraFunctionsNapiConstructor() local
236 CAMERA_NAPI_GET_JS_OBJ_WITH_ZERO_ARGS(env, info, status, thisVar); in CameraFunctionsNapiConstructor()
238 if (status == napi_ok && thisVar != nullptr) { in CameraFunctionsNapiConstructor()
242 status = napi_wrap(env, thisVar, reinterpret_cast<void*>(obj.get()), in CameraFunctionsNapiConstructor()
246 return thisVar; in CameraFunctionsNapiConstructor()
265 napi_value CameraFunctionsNapi::HandleQuery(napi_env env, napi_callback_info info, napi_value thisVar, U queryFunction) in HandleQuery() argument
271 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&napiObj)); in HandleQuery()
318 napi_value thisVar = nullptr; in HasFlash() local
319 CAMERA_NAPI_GET_JS_ARGS(env, info, argc, argv, thisVar); in HasFlash()
321 return HandleQuery(env, info, thisVar, [](aut in HasFlash()
331 napi_value thisVar = nullptr; IsFlashModeSupported() local
347 napi_value thisVar = nullptr; IsLcdFlashSupported() local
[all...]
/foundation/communication/ipc/ipc/native/src/napi_common/source/
H A Dnapi_message_parcel_read.cpp34 napi_value thisVar = nullptr; in JS_readRemoteObject() local
35 napi_get_cb_info(env, info, &argc, nullptr, &thisVar, nullptr); in JS_readRemoteObject()
38 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiParcel)); in JS_readRemoteObject()
49 napi_value thisVar = nullptr; in JS_readInterfaceToken() local
50 napi_get_cb_info(env, info, &argc, nullptr, &thisVar, nullptr); in JS_readInterfaceToken()
53 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiParcel)); in JS_readInterfaceToken()
67 napi_value thisVar = nullptr; in JS_readException() local
68 napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr); in JS_readException()
70 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiParcel)); in JS_readException()
85 napi_value thisVar in JS_readByte() local
100 napi_value thisVar = nullptr; JS_readShort() local
115 napi_value thisVar = nullptr; JS_readInt() local
130 napi_value thisVar = nullptr; JS_readLong() local
145 napi_value thisVar = nullptr; JS_readFloat() local
160 napi_value thisVar = nullptr; JS_readDouble() local
175 napi_value thisVar = nullptr; JS_readBoolean() local
190 napi_value thisVar = nullptr; JS_readChar() local
205 napi_value thisVar = nullptr; JS_readString() local
222 napi_value thisVar = nullptr; JS_readSequenceable() local
255 napi_value thisVar = nullptr; JS_readByteArray() local
308 napi_value thisVar = nullptr; JS_readShortArray() local
359 napi_value thisVar = nullptr; JS_readIntArray() local
410 napi_value thisVar = nullptr; JS_readLongArray() local
461 napi_value thisVar = nullptr; JS_readFloatArray() local
512 napi_value thisVar = nullptr; JS_readDoubleArray() local
563 napi_value thisVar = nullptr; JS_readBooleanArray() local
615 napi_value thisVar = nullptr; JS_readCharArray() local
666 napi_value thisVar = nullptr; JS_readStringArray() local
719 napi_value thisVar = nullptr; JS_readSequenceableArray() local
780 napi_value thisVar = nullptr; JS_readRemoteObjectArray() local
823 napi_value thisVar = nullptr; JS_ReadFileDescriptor() local
837 napi_value thisVar = nullptr; JS_ReadAshmem() local
864 napi_value thisVar = nullptr; JS_ReadRawData() local
[all...]
H A Dnapi_message_parcel_write.cpp32 NAPI_MessageParcel::NAPI_MessageParcel(napi_env env, napi_value thisVar, MessageParcel *parcel) in NAPI_MessageParcel() argument
67 napi_value thisVar = nullptr; in JS_writeByte() local
68 napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr); in JS_writeByte()
79 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiParcel)); in JS_writeByte()
92 napi_value thisVar = nullptr; in JS_writeShort() local
93 napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr); in JS_writeShort()
104 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiParcel)); in JS_writeShort()
117 napi_value thisVar = nullptr; in JS_writeInt() local
118 napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr); in JS_writeInt()
129 napi_unwrap(env, thisVar, reinterpret_cas in JS_writeInt()
142 napi_value thisVar = nullptr; JS_writeLong() local
167 napi_value thisVar = nullptr; JS_writeFloat() local
192 napi_value thisVar = nullptr; JS_writeDouble() local
217 napi_value thisVar = nullptr; JS_writeBoolean() local
242 napi_value thisVar = nullptr; JS_writeChar() local
267 napi_value thisVar = nullptr; JS_writeByteArray() local
314 napi_value thisVar = nullptr; JS_writeShortArray() local
360 napi_value thisVar = nullptr; JS_writeIntArray() local
410 napi_value thisVar = nullptr; JS_writeLongArray() local
458 napi_value thisVar = nullptr; JS_writeFloatArray() local
505 napi_value thisVar = nullptr; JS_writeDoubleArray() local
552 napi_value thisVar = nullptr; JS_writeBooleanArray() local
599 napi_value thisVar = nullptr; JS_writeCharArray() local
645 napi_value thisVar = nullptr; JS_writeString() local
681 napi_value thisVar = nullptr; JS_writeStringArray() local
742 napi_value thisVar = nullptr; JS_writeSequenceable() local
784 napi_value thisVar = nullptr; JS_writeSequenceableArray() local
843 napi_value thisVar = nullptr; JS_writeRemoteObjectArray() local
886 napi_value thisVar = nullptr; JS_getSize() local
902 napi_value thisVar = nullptr; JS_getCapacity() local
919 napi_value thisVar = nullptr; JS_setSize() local
945 napi_value thisVar = nullptr; JS_setCapacity() local
973 napi_value thisVar = nullptr; JS_getWritableBytes() local
989 napi_value thisVar = nullptr; JS_getReadableBytes() local
1005 napi_value thisVar = nullptr; JS_getReadPosition() local
1022 napi_value thisVar = nullptr; JS_rewindRead() local
1047 napi_value thisVar = nullptr; JS_getWritePosition() local
1064 napi_value thisVar = nullptr; JS_rewindWrite() local
1088 napi_value thisVar = nullptr; JS_writeNoException() local
1117 napi_value thisVar = nullptr; JS_reclaim() local
1134 napi_value thisVar = nullptr; JS_writeRemoteObject() local
1162 napi_value thisVar = nullptr; JS_writeInterfaceToken() local
1197 napi_value thisVar = nullptr; JS_CloseFileDescriptor() local
1215 napi_value thisVar = nullptr; JS_DupFileDescriptor() local
1232 napi_value thisVar = nullptr; JS_ContainFileDescriptors() local
1247 napi_value thisVar = nullptr; JS_WriteFileDescriptor() local
1268 napi_value thisVar = nullptr; JS_WriteAshmem() local
1299 napi_value thisVar = nullptr; JS_WriteRawData() local
1340 napi_value thisVar = nullptr; JS_GetRawDataCapacity() local
1442 napi_value thisVar = nullptr; JS_constructor() local
[all...]
H A Dnapi_message_sequence_read.cpp37 napi_value thisVar = nullptr; in JS_getSize() local
38 napi_get_cb_info(env, info, &argc, nullptr, &thisVar, nullptr); in JS_getSize()
41 napi_unwrap(env, thisVar, (void **)&napiSequence); in JS_getSize()
53 napi_value thisVar = nullptr; in JS_getCapacity() local
54 napi_get_cb_info(env, info, &argc, nullptr, &thisVar, nullptr); in JS_getCapacity()
57 napi_unwrap(env, thisVar, (void **)&napiSequence); in JS_getCapacity()
69 napi_value thisVar = nullptr; in JS_getReadableBytes() local
70 napi_get_cb_info(env, info, &argc, nullptr, &thisVar, nullptr); in JS_getReadableBytes()
73 napi_unwrap(env, thisVar, (void **)&napiSequence); in JS_getReadableBytes()
85 napi_value thisVar in JS_getReadPosition() local
102 napi_value thisVar = nullptr; JS_rewindRead() local
137 napi_value thisVar = nullptr; JS_readRemoteObject() local
161 napi_value thisVar = nullptr; JS_readInterfaceToken() local
181 napi_value thisVar = nullptr; JS_readException() local
202 napi_value thisVar = nullptr; JS_readByte() local
220 napi_value thisVar = nullptr; JS_readShort() local
238 napi_value thisVar = nullptr; JS_readInt() local
256 napi_value thisVar = nullptr; JS_readLong() local
274 napi_value thisVar = nullptr; JS_readFloat() local
298 napi_value thisVar = nullptr; JS_readBoolean() local
316 napi_value thisVar = nullptr; JS_readChar() local
334 napi_value thisVar = nullptr; JS_readString() local
353 napi_value thisVar = nullptr; JS_readParcelable() local
390 napi_value thisVar = nullptr; JS_readByteArray() local
440 napi_value thisVar = nullptr; JS_readShortArray() local
492 napi_value thisVar = nullptr; JS_readIntArray() local
544 napi_value thisVar = nullptr; JS_readLongArray() local
596 napi_value thisVar = nullptr; JS_readFloatArray() local
655 napi_value thisVar = nullptr; JS_readBooleanArray() local
709 napi_value thisVar = nullptr; JS_readCharArray() local
761 napi_value thisVar = nullptr; JS_readStringArray() local
813 napi_value thisVar = nullptr; JS_readParcelableArray() local
869 napi_value thisVar = nullptr; JS_readRemoteObjectArray() local
916 napi_value thisVar = nullptr; JS_ReadFileDescriptor() local
937 napi_value thisVar = nullptr; JS_ReadAshmem() local
985 napi_value thisVar = nullptr; JS_ReadRawData() local
1043 napi_value thisVar = nullptr; JS_ReadRawDataBuffer() local
1111 napi_value thisVar = nullptr; JS_readArrayBuffer() local
[all...]
H A Dnapi_message_sequence_write.cpp36 NAPI_MessageSequence::NAPI_MessageSequence(napi_env env, napi_value thisVar, MessageParcel *parcel) in NAPI_MessageSequence() argument
96 napi_value thisVar = nullptr; in JS_writeByte() local
97 napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr); in JS_writeByte()
114 napi_unwrap(env, thisVar, (void **)&napiSequence); in JS_writeByte()
134 napi_value thisVar = nullptr; in JS_writeShort() local
135 napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr); in JS_writeShort()
152 napi_unwrap(env, thisVar, (void **)&napiSequence); in JS_writeShort()
172 napi_value thisVar = nullptr; in JS_writeInt() local
173 napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr); in JS_writeInt()
190 napi_unwrap(env, thisVar, (voi in JS_writeInt()
210 napi_value thisVar = nullptr; JS_writeLong() local
248 napi_value thisVar = nullptr; JS_writeFloat() local
292 napi_value thisVar = nullptr; JS_writeBoolean() local
330 napi_value thisVar = nullptr; JS_writeChar() local
368 napi_value thisVar = nullptr; JS_writeByteArray() local
451 napi_value thisVar = nullptr; JS_writeShortArray() local
508 napi_value thisVar = nullptr; JS_writeIntArray() local
565 napi_value thisVar = nullptr; JS_writeLongArray() local
622 napi_value thisVar = nullptr; JS_writeFloatArray() local
679 napi_value thisVar = nullptr; JS_writeDoubleArray() local
736 napi_value thisVar = nullptr; JS_writeBooleanArray() local
787 napi_value thisVar = nullptr; JS_writeCharArray() local
838 napi_value thisVar = nullptr; JS_writeString() local
924 napi_value thisVar = nullptr; JS_writeStringArray() local
980 napi_value thisVar = nullptr; JS_writeParcelable() local
1030 JS_writeParcelableArrayCallJsFunc(napi_env env, napi_value &element, napi_value &thisVar) JS_writeParcelableArrayCallJsFunc() argument
1057 napi_value thisVar = nullptr; JS_writeParcelableArray() local
1113 napi_value thisVar = nullptr; JS_writeRemoteObjectArray() local
1167 napi_value thisVar = nullptr; JS_setSize() local
1205 napi_value thisVar = nullptr; JS_setCapacity() local
1245 napi_value thisVar = nullptr; JS_getWritableBytes() local
1261 napi_value thisVar = nullptr; JS_getWritePosition() local
1278 napi_value thisVar = nullptr; JS_rewindWrite() local
1312 napi_value thisVar = nullptr; JS_writeNoException() local
1330 JS_checkReadArrayArgs(napi_env env, napi_callback_info info, size_t &argc, napi_value &thisVar, napi_value* argv) JS_checkReadArrayArgs() argument
1359 JS_readParcelableArrayCallJsFunc(napi_env env, napi_value &element, napi_value &thisVar) JS_readParcelableArrayCallJsFunc() argument
1398 napi_value thisVar = nullptr; JS_reclaim() local
1415 napi_value thisVar = nullptr; JS_writeRemoteObject() local
1453 napi_value thisVar = nullptr; JS_writeInterfaceToken() local
1502 napi_value thisVar = nullptr; JS_CloseFileDescriptor() local
1526 napi_value thisVar = nullptr; JS_DupFileDescriptor() local
1553 napi_value thisVar = nullptr; JS_ContainFileDescriptors() local
1568 napi_value thisVar = nullptr; JS_WriteFileDescriptor() local
1602 napi_value thisVar = nullptr; JS_WriteAshmem() local
1743 napi_value thisVar = nullptr; JS_WriteRawData() local
1786 napi_value thisVar = nullptr; JS_WriteRawDataBuffer() local
1842 napi_value thisVar = nullptr; JS_GetRawDataCapacity() local
1903 napi_value thisVar = nullptr; JS_writeArrayBuffer() local
2090 napi_value thisVar = nullptr; JS_constructor() local
[all...]
/foundation/arkui/napi/sample/native_module_netserver/
H A Djs_netserver.cpp23 napi_value thisVar = nullptr; in JS_Constructor() local
25 napi_get_cb_info(env, cbinfo, nullptr, nullptr, &thisVar, &data); in JS_Constructor()
27 NetServer* netServer = new NetServer(env, thisVar); in JS_Constructor()
30 env, thisVar, netServer, in JS_Constructor()
37 return thisVar; in JS_Constructor()
45 napi_value thisVar = nullptr; in JS_Start() local
47 napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, &data); in JS_Start()
50 napi_unwrap(env, thisVar, (void**)&netServer); in JS_Start()
72 napi_value thisVar = nullptr; in JS_Stop() local
74 napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, in JS_Stop()
91 napi_value thisVar = 0; JS_On() local
125 napi_value thisVar = 0; JS_Once() local
164 napi_value thisVar = 0; JS_Off() local
[all...]
/foundation/arkui/ace_engine/interfaces/napi/kits/component_test/
H A Djs_component_test_matcher.cpp78 napi_value thisVar = nullptr; in Constructor() local
79 NAPI_CALL(env, napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr)); in Constructor()
83 NAPI_CALL_BASE(env, napi_wrap(env, thisVar, matcherImpl, Destructor, nullptr, nullptr), thisVar); in Constructor()
84 return thisVar; in Constructor()
103 napi_value thisVar = nullptr; in JSCreate() local
105 NAPI_CALL(env, napi_new_instance(env, constructor, 0, nullptr, &thisVar)); in JSCreate()
106 COMPONENT_TEST_NAPI_ASSERT(env, thisVar != nullptr, ErrCode::RET_ERR_FAILED); in JSCreate()
107 return thisVar; in JSCreate()
114 napi_value thisVar in JSText() local
143 napi_value thisVar = nullptr; JSId() local
161 napi_value thisVar = nullptr; JSType() local
180 napi_value thisVar = nullptr; GenericBoolCallback() local
[all...]
H A Djs_component_test_component.cpp95 napi_value thisVar = nullptr; in Constructor() local
96 NAPI_CALL(env, napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr)); in Constructor()
101 NAPI_CALL_BASE(env, napi_wrap(env, thisVar, componentImpl, Destructor, nullptr, nullptr), thisVar); in Constructor()
102 return thisVar; in Constructor()
119 napi_value thisVar = nullptr; in JSTap() local
120 NAPI_CALL(env, napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr)); in JSTap()
121 ComponentTestAsyncCtx* asyncContext = CreateComponentAsyncContext(env, thisVar); in JSTap()
142 napi_value thisVar = nullptr; in JSDoubleTap() local
143 NAPI_CALL(env, napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullpt in JSDoubleTap()
167 napi_value thisVar = nullptr; JSPress() local
201 napi_value thisVar = nullptr; JSPinchOut() local
233 napi_value thisVar = nullptr; JSPinchIn() local
265 napi_value thisVar = nullptr; JSInputText() local
295 napi_value thisVar = nullptr; JSClearText() local
321 napi_value thisVar = nullptr; JSScrollToTop() local
358 napi_value thisVar = nullptr; JSScrollToBottom() local
393 napi_value thisVar = nullptr; JSGetId() local
418 napi_value thisVar = nullptr; JSGetText() local
443 napi_value thisVar = nullptr; JSGetType() local
468 napi_value thisVar = nullptr; GenericBoolCallback() local
520 napi_value thisVar = nullptr; JSGetInspectorInfo() local
544 napi_value thisVar = nullptr; JSGetInspectorTree() local
569 napi_value thisVar = nullptr; JSGetChildCount() local
593 napi_value thisVar = nullptr; JSGetBounds() local
653 CreateComponentAsyncContext(napi_env env, napi_value thisVar) CreateComponentAsyncContext() argument
[all...]
/foundation/multimedia/media_library/frameworks/js/src/
H A Dcloud_enhancement_task_state_napi.cpp64 napi_value thisVar = nullptr; in Constructor() local
65 CHECK_ARGS(env, napi_get_cb_info(env, info, &argc, nullptr, &thisVar, nullptr), JS_INNER_FAIL); in Constructor()
70 napi_wrap(env, thisVar, reinterpret_cast<void*>(obj.get()), CloudEnhancementTaskStateNapi::Destructor, in Constructor()
73 return thisVar; in Constructor()
166 napi_value thisVar = nullptr; in JSGetTaskStage() local
171 GET_JS_OBJ_WITH_ZERO_ARGS(env, info, status, thisVar); in JSGetTaskStage()
172 if (status != napi_ok || thisVar == nullptr) { in JSGetTaskStage()
177 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&obj)); in JSGetTaskStage()
190 napi_value thisVar = nullptr; in JSGetTransferredFileSize() local
195 GET_JS_OBJ_WITH_ZERO_ARGS(env, info, status, thisVar); in JSGetTransferredFileSize()
216 napi_value thisVar = nullptr; JSGetTotalFileSize() local
242 napi_value thisVar = nullptr; JSGetExpectedDuration() local
268 napi_value thisVar = nullptr; JSGetStatusCode() local
[all...]
H A Dmedia_asset_edit_data_napi.cpp60 napi_value thisVar = nullptr; in Constructor() local
63 CHECK_ARGS(env, napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr), JS_INNER_FAIL); in Constructor()
75 napi_wrap(env, thisVar, reinterpret_cast<void*>(obj.get()), in Constructor()
79 return thisVar; in Constructor()
150 napi_value thisVar = nullptr; in JSGetCompatibleFormat() local
155 GET_JS_OBJ_WITH_ZERO_ARGS(env, info, status, thisVar); in JSGetCompatibleFormat()
156 if (status != napi_ok || thisVar == nullptr) { in JSGetCompatibleFormat()
161 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&obj)); in JSGetCompatibleFormat()
174 napi_value thisVar = nullptr; in JSGetFormatVersion() local
179 GET_JS_OBJ_WITH_ZERO_ARGS(env, info, status, thisVar); in JSGetFormatVersion()
198 napi_value thisVar = nullptr; JSGetData() local
224 napi_value thisVar = nullptr; GetStringArg() local
[all...]
H A Dalbum_napi.cpp145 napi_value thisVar = nullptr; in AlbumNapiConstructor() local
148 GET_JS_OBJ_WITH_ZERO_ARGS(env, info, status, thisVar); in AlbumNapiConstructor()
149 if (status == napi_ok && thisVar != nullptr) { in AlbumNapiConstructor()
157 status = napi_wrap(env, thisVar, reinterpret_cast<void *>(obj.get()), in AlbumNapiConstructor()
161 return thisVar; in AlbumNapiConstructor()
238 napi_value thisVar = nullptr; in JSGetAlbumId() local
241 GET_JS_OBJ_WITH_ZERO_ARGS(env, info, status, thisVar); in JSGetAlbumId()
242 if (status != napi_ok || thisVar == nullptr) { in JSGetAlbumId()
247 status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&obj)); in JSGetAlbumId()
266 napi_value thisVar in JSGetAlbumName() local
295 napi_value thisVar = nullptr; JSAlbumNameSetter() local
324 napi_value thisVar = nullptr; JSGetAlbumUri() local
351 napi_value thisVar = nullptr; JSGetAlbumDateModified() local
378 napi_value thisVar = nullptr; JSGetCount() local
403 napi_value thisVar = nullptr; JSGetAlbumRelativePath() local
430 napi_value thisVar = nullptr; JSGetCoverUri() local
460 napi_value thisVar = nullptr; JSSetAlbumPath() local
490 napi_value thisVar = nullptr; JSGetAlbumPath() local
518 napi_value thisVar = nullptr; JSGetAlbumVirtual() local
898 napi_value thisVar = nullptr; JSGetAlbumFileAssets() local
929 napi_value thisVar = nullptr; JSCommitModify() local
[all...]
/foundation/arkui/ace_engine/interfaces/inner_api/drawable_descriptor/
H A Djs_drawable_descriptor.cpp101 napi_value thisVar = nullptr; in AnimatedConstructor() local
102 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr)); in AnimatedConstructor()
125 napi_wrap(env, thisVar, animatedDrawable, Destructor, nullptr, nullptr); in AnimatedConstructor()
126 napi_escape_handle(env, scope, thisVar, &thisVar); in AnimatedConstructor()
128 return thisVar; in AnimatedConstructor()
135 napi_value thisVar = nullptr; in Constructor() local
136 NAPI_CALL(env, napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr)); in Constructor()
140 napi_wrap(env, thisVar, drawable, Destructor, nullptr, nullptr); in Constructor()
141 napi_escape_handle(env, scope, thisVar, in Constructor()
152 napi_value thisVar = nullptr; PixelMapConstructor() local
185 napi_value thisVar = nullptr; LayeredConstructor() local
369 napi_value thisVar = nullptr; GetPixelMap() local
386 napi_value thisVar = nullptr; GetForeground() local
406 napi_value thisVar = nullptr; GetBackground() local
426 napi_value thisVar = nullptr; GetMask() local
[all...]
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/output/
H A Ddepth_data_napi.cpp47 napi_value thisVar = nullptr; in DepthDataNapiConstructor() local
50 CAMERA_NAPI_GET_JS_OBJ_WITH_ZERO_ARGS(env, info, status, thisVar); in DepthDataNapiConstructor()
52 if (status == napi_ok && thisVar != nullptr) { in DepthDataNapiConstructor()
59 status = napi_wrap(env, thisVar, reinterpret_cast<void*>(obj.get()), in DepthDataNapiConstructor()
63 return thisVar; in DepthDataNapiConstructor()
151 napi_value thisVar = nullptr; in GetFormat() local
153 CAMERA_NAPI_GET_JS_ARGS(env, info, argc, argv, thisVar); in GetFormat()
157 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&depthDataNapi)); in GetFormat()
174 napi_value thisVar = nullptr; in GetDepthMap() local
176 CAMERA_NAPI_GET_JS_ARGS(env, info, argc, argv, thisVar); in GetDepthMap()
197 napi_value thisVar = nullptr; GetQualityLevel() local
220 napi_value thisVar = nullptr; GetAccuracy() local
244 napi_value thisVar = nullptr; Release() local
[all...]
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/mode/
H A Dtime_lapse_photo_session_napi.cpp99 napi_value thisVar; in IsTryAEDone() local
100 CAMERA_NAPI_GET_JS_OBJ_WITH_ZERO_ARGS(env, info, status, thisVar); in IsTryAEDone()
101 TryAEInfoNapi* obj = Unwrap<TryAEInfoNapi>(env, thisVar); in IsTryAEDone()
116 napi_value thisVar; in IsTryAEHintNeeded() local
117 CAMERA_NAPI_GET_JS_OBJ_WITH_ZERO_ARGS(env, info, status, thisVar); in IsTryAEHintNeeded()
118 TryAEInfoNapi* obj = Unwrap<TryAEInfoNapi>(env, thisVar); in IsTryAEHintNeeded()
133 napi_value thisVar; in GetPreviewType() local
134 CAMERA_NAPI_GET_JS_OBJ_WITH_ZERO_ARGS(env, info, status, thisVar); in GetPreviewType()
135 TryAEInfoNapi* obj = Unwrap<TryAEInfoNapi>(env, thisVar); in GetPreviewType()
150 napi_value thisVar; in GetCaptureInterval() local
167 napi_value thisVar; Constructor() local
325 napi_value thisVar; IsTryAENeeded() local
349 napi_value thisVar; StartTryAE() local
372 napi_value thisVar; StopTryAE() local
395 napi_value thisVar; GetSupportedTimeLapseIntervalRange() local
425 napi_value thisVar; GetTimeLapseInterval() local
519 napi_value thisVar; GetExposure() local
566 napi_value thisVar; GetSupportedExposureRange() local
596 napi_value thisVar; GetSupportedMeteringModes() local
696 napi_value thisVar; GetIso() local
743 napi_value thisVar; IsManualIsoSupported() local
767 napi_value thisVar; GetIsoRange() local
799 napi_value thisVar; IsWhiteBalanceModeSupported() local
826 napi_value thisVar; GetWhiteBalanceRange() local
856 napi_value thisVar; GetWhiteBalanceMode() local
903 napi_value thisVar; GetWhiteBalance() local
950 napi_value thisVar; Constructor() local
[all...]
H A Dprofession_session_napi.cpp153 napi_value thisVar = nullptr; in ProfessionSessionNapiConstructor() local
156 CAMERA_NAPI_GET_JS_OBJ_WITH_ZERO_ARGS(env, info, status, thisVar); in ProfessionSessionNapiConstructor()
158 if (status == napi_ok && thisVar != nullptr) { in ProfessionSessionNapiConstructor()
171 status = napi_wrap(env, thisVar, reinterpret_cast<void*>(obj.get()), in ProfessionSessionNapiConstructor()
175 return thisVar; in ProfessionSessionNapiConstructor()
191 napi_value thisVar = nullptr; in GetSupportedMeteringModes() local
193 CAMERA_NAPI_GET_JS_ARGS(env, info, argc, argv, thisVar); in GetSupportedMeteringModes()
202 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&professionSessionNapi)); in GetSupportedMeteringModes()
232 napi_value thisVar = nullptr; in IsMeteringModeSupported() local
234 CAMERA_NAPI_GET_JS_ARGS(env, info, argc, argv, thisVar); in IsMeteringModeSupported()
262 napi_value thisVar = nullptr; GetMeteringMode() local
290 napi_value thisVar = nullptr; SetMeteringMode() local
319 napi_value thisVar = nullptr; GetExposureDurationRange() local
356 napi_value thisVar = nullptr; GetExposureDuration() local
385 napi_value thisVar = nullptr; SetExposureDuration() local
416 napi_value thisVar = nullptr; GetSupportedFocusAssistFlashModes() local
458 napi_value thisVar = nullptr; IsFocusAssistFlashModeSupported() local
488 napi_value thisVar = nullptr; GetFocusAssistFlashMode() local
516 napi_value thisVar = nullptr; SetFocusAssistFlashMode() local
548 napi_value thisVar = nullptr; GetIsoRange() local
591 napi_value thisVar = nullptr; IsManualIsoSupported() local
614 napi_value thisVar = nullptr; GetISO() local
642 napi_value thisVar = nullptr; SetISO() local
670 napi_value thisVar = nullptr; GetSupportedExposureHintModes() local
712 napi_value thisVar = nullptr; GetExposureHintMode() local
740 napi_value thisVar = nullptr; SetExposureHintMode() local
[all...]
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/ui_effect/src/
H A Dfilter_napi.cpp269 napi_value thisVar = nullptr; in SetPixelStretch() local
272 UIEFFECT_JS_ARGS(env, info, status, argCount, argValue, thisVar); in SetPixelStretch()
279 return thisVar; in SetPixelStretch()
291 NAPI_CALL(env, napi_unwrap(env, thisVar, reinterpret_cast<void**>(&filterObj))); in SetPixelStretch()
294 return thisVar; in SetPixelStretch()
298 return thisVar; in SetPixelStretch()
332 napi_value thisVar = nullptr; in SetWaterRipple() local
335 UIEFFECT_JS_ARGS(env, info, status, argCount, argValue, thisVar); in SetWaterRipple()
341 return thisVar; in SetWaterRipple()
352 return thisVar; in SetWaterRipple()
389 napi_value thisVar = nullptr; SetFlyOut() local
436 napi_value thisVar = nullptr; SetDistort() local
[all...]
/foundation/multimedia/image_framework/interfaces/kits/native/ndk_test_example/
H A Dmy_pixel_map.cpp88 napi_value thisVar = nullptr; in Constructor() local
89 napi_get_undefined(env, &thisVar); in Constructor()
91 napi_get_cb_info(env, info, nullptr, nullptr, &thisVar, nullptr); in Constructor()
94 return thisVar; in Constructor()
105 napi_value thisVar = nullptr; in TestGetImageInfo() local
109 status = napi_get_cb_info(env, info, &argCount, argValue, &thisVar, nullptr); in TestGetImageInfo()
133 napi_value thisVar = nullptr; in TestAccessPixels() local
137 status = napi_get_cb_info(env, info, &argCount, argValue, &thisVar, nullptr); in TestAccessPixels()
159 napi_value thisVar = nullptr; in TestUnAccessPixels() local
163 status = napi_get_cb_info(env, info, &argCount, argValue, &thisVar, nullpt in TestUnAccessPixels()
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/common/
H A Dnapi_func_arg.cpp36 void NapiFuncArg::SetThisVar(napi_value thisVar) in SetThisVar() argument
38 thisVar_ = thisVar; in SetThisVar()
66 napi_value thisVar; in InitArgs() local
67 napi_status status = napi_get_cb_info(env_, info_, &argc, nullptr, &thisVar, nullptr); in InitArgs()
75 status = napi_get_cb_info(env_, info_, &argc, argv_.get(), &thisVar, nullptr); in InitArgs()
83 SetThisVar(thisVar); in InitArgs()
/foundation/barrierfree/accessibility/interfaces/kits/napi/src/
H A Dnapi_accessibility_event_info.cpp37 napi_value thisVar = nullptr; in JSConstructor() local
38 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr)); in JSConstructor()
68 NAPI_CALL(env, napi_set_named_property(env, thisVar, "type", argv[PARAM0])); in JSConstructor()
69 NAPI_CALL(env, napi_set_named_property(env, thisVar, "bundleName", argv[PARAM1])); in JSConstructor()
70 NAPI_CALL(env, napi_set_named_property(env, thisVar, "triggerAction", argv[PARAM2])); in JSConstructor()
71 return thisVar; in JSConstructor()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/common/napi/
H A Dn_func_arg.cpp31 void NFuncArg::SetThisVar(napi_value thisVar) in SetThisVar() argument
33 thisVar_ = thisVar; in SetThisVar()
72 napi_value thisVar; in InitArgs() local
73 napi_status status = napi_get_cb_info(env_, info_, &argc, nullptr, &thisVar, nullptr); in InitArgs()
79 status = napi_get_cb_info(env_, info_, &argc, argv_.get(), &thisVar, nullptr); in InitArgs()
85 SetThisVar(thisVar); in InitArgs()
/foundation/communication/nfc/frameworks/js/napi/tag/
H A Dnfc_napi_tagv.cpp25 napi_value thisVar = nullptr; in GetResponseFlags() local
28 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr)); in GetResponseFlags()
32 // unwrap from thisVar to retrieve the native instance in GetResponseFlags()
33 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&objectInfo)); in GetResponseFlags()
53 napi_value thisVar = nullptr; in GetDsfId() local
56 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr)); in GetDsfId()
60 // unwrap from thisVar to retrieve the native instance in GetDsfId()
61 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&objectInfo)); in GetDsfId()
H A Dnfc_napi_tagb.cpp25 napi_value thisVar = nullptr; in GetRespAppData() local
28 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr)); in GetRespAppData()
32 // unwrap from thisVar to retrieve the native instance in GetRespAppData()
33 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&objectInfo)); in GetRespAppData()
53 napi_value thisVar = nullptr; in GetRespProtocol() local
56 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr)); in GetRespProtocol()
60 // unwrap from thisVar to retrieve the native instance in GetRespProtocol()
61 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&objectInfo)); in GetRespProtocol()
H A Dnfc_napi_taga.cpp25 napi_value thisVar = nullptr; in GetSak() local
29 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr)); in GetSak()
32 // unwrap from thisVar to retrieve the native instance in GetSak()
33 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&objectInfo)); in GetSak()
54 napi_value thisVar = nullptr; in GetAtqa() local
58 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr)); in GetAtqa()
61 // unwrap from thisVar to retrieve the native instance in GetAtqa()
62 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&objectInfo)); in GetAtqa()
H A Dnfc_napi_tagf.cpp26 napi_value thisVar = nullptr; in GetSystemCode() local
29 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr)); in GetSystemCode()
33 // unwrap from thisVar to retrieve the native instance in GetSystemCode()
34 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&objectInfo)); in GetSystemCode()
54 napi_value thisVar = nullptr; in GetPmm() local
57 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVar, nullptr)); in GetPmm()
61 // unwrap from thisVar to retrieve the native instance in GetPmm()
62 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&objectInfo)); in GetPmm()

Completed in 18 milliseconds

12345678910>>...15