Home
last modified time | relevance | path

Searched refs:nullptr (Results 1 - 25 of 1548) sorted by relevance

12345678910>>...62

/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/
H A Dnapi_func_init.cpp535 if ((env == nullptr) || (exports == nullptr)) { in Init()
537 return nullptr; in Init()
541 {"testScrollLinearGradient010", nullptr, TestScrollLinearGradient010, nullptr, nullptr, nullptr, napi_default, in Init()
542 nullptr}, in Init()
543 {"testTextAreaFontFamily003", nullptr, TestTextAreaFontFamily003, nullptr, nullpt in Init()
[all...]
H A Dnapi_render_init.cpp119 if ((env == nullptr) || (exports == nullptr)) { in Init()
121 return nullptr; in Init()
125 {"getContext", nullptr, PluginManager::GetContext, nullptr, nullptr, nullptr, napi_default, nullptr}, in Init()
126 {"buttonOnClickTest", nullptr, ButtonOnClickTest::CreateNativeNode, nullptr, nullpt in Init()
[all...]
/test/xts/acts/graphic/nativewindow/entry/src/main/cpp/
H A Dnativewindow.cpp31 {"testNativeWindowCreateNativeWindowNullptr", nullptr, testNativeWindowCreateNativeWindowNullptr, nullptr, nullptr,
32 nullptr, napi_default, nullptr},
33 {"testNativeWindowDestroyNativeWindowNullptr", nullptr, testNativeWindowDestroyNativeWindowNullptr, nullptr,
34 nullptr, nullptr, napi_default, nullptr},
[all...]
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dmathndk.cpp46 napi_value args[1] = {nullptr}; in LLround()
47 napi_get_cb_info(env, info, &argc, args, nullptr, nullptr); in LLround()
51 napi_value result = nullptr; in LLround()
58 napi_value args[1] = {nullptr}; in LLroundf()
59 napi_get_cb_info(env, info, &argc, args, nullptr, nullptr); in LLroundf()
63 napi_value result = nullptr; in LLroundf()
71 napi_value args[1] = {nullptr}; in LLroundl()
72 napi_get_cb_info(env, info, &argc, args, nullptr, nullpt in LLroundl()
[all...]
H A Dpthreadndk1.cpp66 return nullptr; in PthreadAtForkThread()
75 pthread_create(&threadId, nullptr, PthreadAtForkThread, nullptr); in PThreadAtFork()
85 pthread_join(threadId, nullptr); in PThreadAtFork()
87 napi_value result = nullptr; in PThreadAtFork()
96 napi_value result = nullptr; in PThreadAttrDestroy()
110 napi_value result = nullptr; in PThreadAttrGetDetachState()
125 napi_value result = nullptr; in PThreadAttrGetGuardSize()
139 napi_value result = nullptr; in PThreadAttrGetInheritSched()
156 napi_value result = nullptr; in PThreadAttrGetSchedParam()
[all...]
H A Dnetdbndk.cpp49 struct protoent *getInfo = nullptr; in GetProtoEnt()
52 if (getInfo != nullptr) { in GetProtoEnt()
55 napi_value result = nullptr; in GetProtoEnt()
62 napi_value args[1] = {nullptr}; in GetProtoByName()
63 napi_get_cb_info(env, info, &argc, args, nullptr, nullptr); in GetProtoByName()
69 struct protoent *getInfo = nullptr; in GetProtoByName()
71 napi_value result = nullptr; in GetProtoByName()
72 if (getInfo != nullptr) { in GetProtoByName()
107 napi_value args[1] = {nullptr}; in GetProtoByNumber()
[all...]
H A Dwcharndk1.cpp87 napi_value result = nullptr; in Btowc_One()
95 napi_value result = nullptr; in Btowc_Two()
105 napi_value result = nullptr; in Mbtowc_One()
114 int ret = mbtowc(wc, nullptr, MINUSONE); in Mbtowc_Two()
115 napi_value result = nullptr; in Mbtowc_Two()
124 NAPI_ASSERT(env, fp != nullptr, "Fputwc_One fopen Error"); in Fputwc_One()
131 napi_value result = nullptr; in Fputwc_One()
140 NAPI_ASSERT(env, fp != nullptr, "Fputws_One fopen Error"); in Fputws_One()
150 napi_value result = nullptr; in Fputws_One()
159 NAPI_ASSERT(env, fp != nullptr, "Fwide_On in Fwide_One()
[all...]
H A Dstdioextndk.cpp38 napi_value result = nullptr; in Flushlbf()
51 napi_value result = nullptr; in Flbf()
55 NAPI_ASSERT(env, file != nullptr, "Flbf fopen Error"); in Flbf()
69 napi_value result = nullptr; in Fwriting()
72 NAPI_ASSERT(env, file != nullptr, "Fwriting fopen Error"); in Fwriting()
86 napi_value result = nullptr; in Fpending()
89 NAPI_ASSERT(env, file != nullptr, "Fpending fopen Error"); in Fpending()
103 napi_value result = nullptr; in FBufSize()
106 NAPI_ASSERT(env, file != nullptr, "FBufSize fopen Error"); in FBufSize()
120 napi_value result = nullptr; in Fpurge()
[all...]
H A Dstdlibndk.cpp70 napi_value args[2] = {nullptr}; in Ldiv()
71 napi_get_cb_info(env, info, &argc, args, nullptr, nullptr); in Ldiv()
76 napi_value result = nullptr; in Ldiv()
78 napi_value quot = nullptr; in Ldiv()
79 napi_value rem = nullptr; in Ldiv()
92 napi_value args[2] = {nullptr}; in LLdiv()
93 napi_get_cb_info(env, info, &argc, args, nullptr, nullptr); in LLdiv()
98 napi_value result = nullptr; in LLdiv()
[all...]
H A Dtimendk.cpp92 napi_value result = nullptr; in GetITimer()
100 int gitInfo = gettimeofday(&start, nullptr); in GetTimeOfDay()
101 napi_value result = nullptr; in GetTimeOfDay()
121 napi_value args[4] = {nullptr}; in Setitimer()
122 napi_get_cb_info(env, info, &argc, args, nullptr, nullptr); in Setitimer()
138 int setValue = setitimer(ITIMER_REAL, &it, nullptr); in Setitimer()
147 napi_value args[1] = {nullptr}; in Strftime()
148 napi_get_cb_info(env, info, &argc, args, nullptr, nullptr); in Strftime()
[all...]
/test/xts/acts/distributeddatamgr/UDMFtest/UDMFndktestHvigor/entry/src/main/cpp/
H A Duds_ndk_test.cpp31 OH_UdsPlainText* plainText = nullptr; in OH_UdsPlainText_Create_0100()
34 napi_value result = nullptr; in OH_UdsPlainText_Create_0100()
35 napi_create_int32(env, plainText != nullptr, &result); in OH_UdsPlainText_Create_0100()
43 OH_UdsPlainText* plainText = nullptr; in OH_UdsPlainText_Destroy_0100()
47 napi_value result = nullptr; in OH_UdsPlainText_Destroy_0100()
48 napi_create_int32(env, plainText != nullptr, &result); in OH_UdsPlainText_Destroy_0100()
54 OH_UdsPlainText* plainText = nullptr; in OH_UdsPlainText_GetType_0100()
58 napi_value result = nullptr; in OH_UdsPlainText_GetType_0100()
67 OH_UdsPlainText* plainText = nullptr; in OH_UdsPlainText_SetContent_001()
71 napi_value result = nullptr; in OH_UdsPlainText_SetContent_001()
[all...]
H A Dutd_ndk_test.cpp1294 OH_Utd* utd = OH_Utd_Create(nullptr); in OH_Utd_Create_Test0200()
1296 napi_create_int32(env, utd == nullptr, &returnCode); in OH_Utd_Create_Test0200()
1304 napi_create_int32(env, utd == nullptr, &returnCode); in OH_Utd_Create_Test0300()
1319 OH_Utd* utdNullptr = nullptr; in OH_Utd_GetTypeId0200()
1322 napi_create_int32(env, typeIdNullptr == nullptr, &returnCode); in OH_Utd_GetTypeId0200()
1338 OH_Utd* utd = nullptr; in OH_Utd_GetDescription0200()
1341 napi_create_int32(env, descriptionNullptr == nullptr, &returnCode); in OH_Utd_GetDescription0200()
1358 OH_Utd* utd = nullptr; in OH_Utd_GetReferenceUrl_002()
1361 napi_create_int32(env, urlNullptr == nullptr, &returnCode); in OH_Utd_GetReferenceUrl_002()
1377 OH_Utd* utd = nullptr; in OH_Utd_GetIconFile_002()
[all...]
/test/xts/acts/multimedia/avsource/entry/src/main/cpp/
H A Dmediacodecbasexdlndk.cpp37 napi_value result = nullptr; in OHAvCapabilityGetEncoderQualityRangeAnormal()
39 OH_AVCapability *capability = nullptr; in OHAvCapabilityGetEncoderQualityRangeAnormal()
53 napi_value result = nullptr; in OHAvCapabilityGetEncoderQualityRangeBnormal()
55 OH_AVCapability *capability = nullptr; in OHAvCapabilityGetEncoderQualityRangeBnormal()
69 napi_value result = nullptr; in OHAvCapabilityGetEncoderQualityRangeCnormal()
71 OH_AVCapability *capability = nullptr; in OHAvCapabilityGetEncoderQualityRangeCnormal()
85 napi_value result = nullptr; in OHAvCapabilityGetEncoderQualityRangeDnormal()
87 OH_AVCapability *capability = nullptr; in OHAvCapabilityGetEncoderQualityRangeDnormal()
101 napi_value result = nullptr; in OHAvCapabilityGetEncoderQualityRangeEnormal()
103 OH_AVCapability *capability = nullptr; in OHAvCapabilityGetEncoderQualityRangeEnormal()
[all...]
H A Dvideoencoderndk.cpp48 OH_AVCodec *checkParam = nullptr; in OHVideoEncoderCreateByMime()
50 if (checkParam != nullptr) { in OHVideoEncoderCreateByMime()
53 napi_value result = nullptr; in OHVideoEncoderCreateByMime()
62 OH_AVCodec *checkParam = nullptr; in OHVideoEncoderCreateByMimeHEVC()
64 if (checkParam != nullptr) { in OHVideoEncoderCreateByMimeHEVC()
67 napi_value result = nullptr; in OHVideoEncoderCreateByMimeHEVC()
76 OH_AVCodec *checkParam = nullptr; in OHVideoEncoderCreateByMimeAbnormal()
77 checkParam = OH_VideoEncoder_CreateByMime(nullptr); in OHVideoEncoderCreateByMimeAbnormal()
78 if (checkParam == nullptr) { in OHVideoEncoderCreateByMimeAbnormal()
81 napi_value result = nullptr; in OHVideoEncoderCreateByMimeAbnormal()
[all...]
H A DmultimediaCore.cpp106 NAPI_ASSERT(env, ReturnValue != nullptr, "OH_AudioDecoder_CreateByMime failed"); in MultimediaCoreAVFormatCreate()
108 napi_value result = nullptr; in MultimediaCoreAVFormatCreate()
117 NAPI_ASSERT(env, ReturnValue != nullptr, "OH_AVFormat_CreateAudioFormat failed"); in MultimediaCoreAVFormatCreateAudioFormatOne()
119 napi_value result = nullptr; in MultimediaCoreAVFormatCreateAudioFormatOne()
126 struct OH_AVFormat *ReturnValue = OH_AVFormat_CreateAudioFormat(nullptr, PARAM_44100, PARAM_2); in MultimediaCoreAVFormatCreateAudioFormatTwo()
127 NAPI_ASSERT(env, ReturnValue == nullptr, "OH_AVFormat_CreateAudioFormat failed"); in MultimediaCoreAVFormatCreateAudioFormatTwo()
128 napi_value result = nullptr; in MultimediaCoreAVFormatCreateAudioFormatTwo()
137 NAPI_ASSERT(env, ReturnValue != nullptr, "OH_AVFormat_CreateVideoFormat failed"); in MultimediaCoreAVFormatCreateVideoFormatOne()
139 napi_value result = nullptr; in MultimediaCoreAVFormatCreateVideoFormatOne()
146 struct OH_AVFormat *ReturnValue = OH_AVFormat_CreateVideoFormat(nullptr, PARAM_40 in MultimediaCoreAVFormatCreateVideoFormatTwo()
[all...]
/test/xts/acts/applications/print_fwk/print_xts/entry/src/main/cpp/
H A Dentry.cpp22 { "oHPrintInit", nullptr, OHPrintInit, nullptr, nullptr, nullptr, napi_default, nullptr }, in Init()
23 { "oHPrintListener", nullptr, OHPrintListener, nullptr, nullptr, nullptr, napi_default, nullptr }, in Init()
[all...]
/test/xts/acts/multimedia/camera/camera_ndk_test/src/main/cpp/
H A Dmain.cpp23 static NDKCamera* ndkCamera_ = nullptr;
38 napi_value args[2] = {nullptr}; in InitCamera()
42 char* surfaceId = nullptr; in InitCamera()
44 napi_get_cb_info(env, info, &argc, args , nullptr, nullptr); in InitCamera()
46 napi_get_value_string_utf8(env, args[0], nullptr, 0, &typeLen); in InitCamera()
71 napi_value cameraInfo = nullptr; in GetSupportedCameras()
74 napi_value jsValue = nullptr; in GetSupportedCameras()
95 napi_value jsValue = nullptr; in GetCameraOrientation()
142 napi_value args[2] = {nullptr}; in CreateCameraInputWithPositionAndType()
[all...]
/test/xts/acts/multimedia/image/image_js_standard/imageReceiverNDK/entry/src/main/cpp/napi/
H A Dmodule_test.cpp29 static NDKCamera* ndkCamera_ = nullptr;
30 static ImageReceiverModuleTest* imageReceiverTest_ = nullptr;
45 napi_value args[2] = {nullptr}; in InitCamera()
49 char* surfaceId = nullptr; in InitCamera()
51 napi_get_cb_info(env, info, &argc, args, nullptr, nullptr); in InitCamera()
53 napi_get_value_string_utf8(env, args[0], nullptr, 0, &typeLen); in InitCamera()
79 napi_value cameraInfo = nullptr; in GetSupportedCameras()
82 napi_value jsValue = nullptr; in GetSupportedCameras()
139 napi_value args[2] = {nullptr}; in CreateCameraInputWithPositionAndType()
[all...]
/test/xts/acts/multimedia/camera/camera_ndk_xts/OHCameraNdk/entry/src/main/cpp/
H A Dmian.cpp21 static NDKCamera *ndkCamera = nullptr;
40 napi_value args[2] = {nullptr}; in InitCamera()
44 char *surfaceId = nullptr; in InitCamera()
46 napi_get_cb_info(env, info, &argc, args, nullptr, nullptr); in InitCamera()
48 napi_get_value_string_utf8(env, args[0], nullptr, 0, &typeLen); in InitCamera()
63 napi_value args[1] = {nullptr}; in CameraGetCameraManager()
66 napi_get_cb_info(env, info, &argc, args, nullptr, nullptr); in CameraGetCameraManager()
81 code = OH_Camera_GetCameraManager(nullptr); in CameraGetCameraManager()
[all...]
/test/xts/acts/arkui/ace_ets_web_scheme_handler_napis_enhance/entry/src/main/cpp/
H A Dhello.cpp53 return nullptr; in RegisterCustomSchemes()
83 OH_LOG_ERROR(LOG_APP, "on request stop request is nullptr."); in OnURLRequestStop()
128 napi_value argv[2] = {nullptr}; in InitResourceManager()
129 napi_get_cb_info(env, info, &argc, argv, nullptr, nullptr); in InitResourceManager()
131 return nullptr; in InitResourceManager()
293 OH_LOG_INFO(LOG_APP, "OH_ArkWeb_GetNativeAPI nullptr"); in GetNativeApiFalse()
304 int32_t headerSize = OH_ArkWebRequestHeaderList_GetSize(nullptr); in RequestHeaderListFalse()
312 int32_t isTest = OH_ArkWebHttpBodyStream_SetUserData(nullptr, nullptr); in HttpBodyStreamSetUserDataFalse()
[all...]
/test/xts/acts/ai/mindspore/mindsporendktest/entry/src/main/cpp/
H A Dmindspore.cpp50 napi_value result = nullptr; in OHAIContextCreateOne()
51 napi_create_int32(env, oH_AI_ContextHandle != nullptr, &result); in OHAIContextCreateOne()
58 napi_value result = nullptr; in OHAIContextDestroyOne()
61 NAPI_ASSERT(env, oH_AI_ContextHandle != nullptr, "oH_AI_ContextHandle Create Error"); in OHAIContextDestroyOne()
63 napi_create_int32(env, oH_AI_ContextHandle == nullptr, &result); in OHAIContextDestroyOne()
71 napi_value args[1] = {nullptr}; in OHAIContextSetThreadNumOne()
72 napi_get_cb_info(env, info, &argc, args, nullptr, nullptr); in OHAIContextSetThreadNumOne()
78 NAPI_ASSERT(env, oH_AI_ContextHandle != nullptr, "oH_AI_ContextHandle Create Error"); in OHAIContextSetThreadNumOne()
80 napi_value result = nullptr; in OHAIContextSetThreadNumOne()
[all...]
/test/xts/acts/graphic/nativedrawing/entry/src/main/cpp/
H A DnativeDrawingndk.cpp59 napi_value result = nullptr; in OHDrawingBitmapCreate()
61 if (bitmap == nullptr) { in OHDrawingBitmapCreate()
72 napi_value result = nullptr; in OHDrawingBitmapBuild()
89 napi_value result = nullptr; in OHDrawingBitmapGetWidth()
106 napi_value result = nullptr; in OHDrawingBitmapGetHeight()
123 napi_value result = nullptr; in OHDrawingBitmapGetPixels()
129 if (OH_Drawing_BitmapGetPixels(bitmap) == nullptr) { in OHDrawingBitmapGetPixels()
140 napi_value result = nullptr; in OHDrawingBrushCreate()
142 if (brush == nullptr) { in OHDrawingBrushCreate()
155 napi_value result = nullptr; in OHDrawingBrushIsAntiAlias()
[all...]
/test/xts/acts/hiviewdfx/hiappeventtest/hiappeventndktest/entry/src/main/cpp/
H A Dhiappeventndk.cpp52 napi_value result = nullptr; in OHHiAppEventWrite()
68 napi_value result = nullptr; in OHHiAppEventConfigure()
78 napi_value result = nullptr; in OHHiAppEventAddBoolParam()
89 napi_value result = nullptr; in OHHiAppEventAddBoolArrayParam()
100 napi_value result = nullptr; in OHHiAppEventAddInt8Param()
111 napi_value result = nullptr; in OHHiAppEventAddInt8ArrayParam()
122 napi_value result = nullptr; in OHHiAppEventAddInt16Param()
133 napi_value result = nullptr; in OHHiAppEventAddInt16ArrayParam()
144 napi_value result = nullptr; in OHHiAppEventAddInt32Param()
155 napi_value result = nullptr; in OHHiAppEventAddInt32ArrayParam()
[all...]
/test/xts/acts/startup/startup_standard/init_ndkTest/entry/src/main/cpp/
H A Dinitndk.cpp28 napi_value result = nullptr; in OHGetDeviceType()
36 napi_value result = nullptr; in OHGetManufacture()
44 napi_value result = nullptr; in OHGetBrand()
52 napi_value result = nullptr; in OHGetMarketName()
60 napi_value result = nullptr; in OHGetProductSeries()
68 napi_value result = nullptr; in OHGetProductModel()
76 napi_value result = nullptr; in OHGetSoftwareModel()
84 napi_value result = nullptr; in OHGetHardwareModel()
92 napi_value result = nullptr; in OHGetBootloaderVersion()
100 napi_value result = nullptr; in OHGetAbiList()
[all...]
/test/xts/acts/multimodalinput/multimodalinput_ndk_hvigor/InputNdkSystem/entry/src/main/cpp/
H A Dinputndksys.cpp69 napi_create_int32(env, axisEvent != nullptr ? 1 : 0, &result); in CreateAxisEvent()
294 Input_Result retResult = OH_Input_DestroyAxisEvent(nullptr); in DestroyAxisEvent2()
303 Input_Result retResult = OH_Input_SetAxisEventAction(nullptr, action); in SetAxisEventAction2()
312 Input_Result retResult = OH_Input_GetAxisEventAction(axisEvent, nullptr); in GetAxisEventAction2()
322 Input_Result retResult = OH_Input_GetAxisEventAction(nullptr, &action); in GetAxisEventAction3()
331 Input_Result retResult = OH_Input_SetAxisEventDisplayX(nullptr, displayX); in SetAxisEventDisplayX2()
340 Input_Result retResult = OH_Input_GetAxisEventDisplayX(axisEvent, nullptr); in GetAxisEventDisplayX2()
350 Input_Result retResult = OH_Input_GetAxisEventDisplayX(nullptr, &displayX); in GetAxisEventDisplayX3()
359 Input_Result retResult = OH_Input_SetAxisEventDisplayY(nullptr, displayY); in SetAxisEventDisplayY2()
368 Input_Result retResult = OH_Input_GetAxisEventDisplayY(axisEvent, nullptr); in GetAxisEventDisplayY2()
[all...]

Completed in 53 milliseconds

12345678910>>...62