Home
last modified time | relevance | path

Searched refs:NULL (Results 1 – 25 of 34) sorted by relevance

12

/developtools/profiler/device/plugins/memory_plugin/test/utresources/proc/
Dprocess_dmabuf_info3 … 12288 3041 433 ispserver NULL v…
6 … 12288 3044 433 ispserver NULL v…
8 … 3686400 28914 624 render_service NULL r…
13 … 3686400 30860 539 disp_gralloc_ho NULL r…
14 … 3686400 30860 539 disp_gralloc_ho NULL r…
15 … 3686400 30145 539 disp_gralloc_ho NULL r…
16 … 208896 32895 539 disp_gralloc_ho NULL r…
17 … 3686400 32896 539 disp_gralloc_ho NULL r…
19 … 3686400 32896 539 disp_gralloc_ho NULL r…
20 … 3686400 32899 539 disp_gralloc_ho NULL r…
[all …]
/developtools/syscap_codec/src/
Dcreate_pcid.c74 cJSON *jsonArrayItem = NULL; in SetOsSyscap()
75 cJSON *osCapIndex = NULL; in SetOsSyscap()
79 if (jsonArrayItem == NULL || !cJSON_IsString(jsonArrayItem)) { in SetOsSyscap()
84 if (osCapIndex == NULL) { in SetOsSyscap()
108 char *priSyscapStr = NULL; in SetPriSyscap()
111 if (jsonArrayItem == NULL || !cJSON_IsString(jsonArrayItem)) { in SetPriSyscap()
129 if (jsonSyscapObj == NULL || !cJSON_IsNumber(jsonSyscapObj)) { in SetPCIDHeader()
137 if (jsonSyscapObj == NULL || !cJSON_IsString(jsonSyscapObj)) { in SetPCIDHeader()
151 if (jsonSyscapObj == NULL || !cJSON_IsNumber(jsonSyscapObj)) { in SetPCIDHeader()
167 if (osSyscap == NULL || !cJSON_IsArray(osSyscap)) { in GetOsAndPriSyscapSize()
[all …]
Dsyscap_tool.c76 RPCIDHead *headPtr = NULL; in FillOsCapLength()
77 char *fillTmpPtr = NULL; in FillOsCapLength()
78 cJSON *apiVerItem = NULL; in FillOsCapLength()
79 cJSON *arrayItemPtr = NULL; in FillOsCapLength()
83 if (apiVerItem == NULL || !cJSON_IsNumber(apiVerItem)) { in FillOsCapLength()
98 if (arrayItemPtr->valuestring == NULL) { in FillOsCapLength()
104 if (pointPos == NULL) { in FillOsCapLength()
136 char *contextBuffer = NULL; in RPCIDEncode()
138 char *convertedBuffer = NULL; in RPCIDEncode()
141 gJsonObjectSysCap.cjsonObjectRoot = NULL; in RPCIDEncode()
[all …]
Dcontext_tool.c35 if (contextBuffer != NULL) { in FreeContextBuffer()
43 FILE *fp = NULL; in GetFileContext()
45 char *contextBuffer = NULL; in GetFileContext()
54 if (strlen(inputFile) > PATH_MAX || realpath(inputFile, path) == NULL) { in GetFileContext()
70 if (contextBuffer == NULL) { in GetFileContext()
75 if (fp == NULL) { in GetFileContext()
98 FILE *fp = NULL; in ConvertedContextSaveAsFile()
107 if (strlen(outDirPath) >= PATH_MAX || realpath(outDirPath, path) == NULL) { in ConvertedContextSaveAsFile()
129 if (fp == NULL) { in ConvertedContextSaveAsFile()
149 char *contextBuffer = NULL; in CheckRpcidFormat()
[all …]
Dmain.c77 g_customerfileinfo.inputfile = NULL; in main()
78 g_customerfileinfo.pcidfile = NULL; in main()
79 g_customerfileinfo.rpcidfile = NULL; in main()
204 if (arg != NULL && opt > 1) { in OutputVersion()
/developtools/profiler/device/plugins/native_hook/test/
Dhook_test.c64 return NULL; in DepthMalloc()
205 time_t tv = time(NULL); in ThreadFuncC()
236 return NULL; in ThreadFuncC()
263 return NULL; in CreateMmap()
302 return NULL; in MmapReadFile()
305 if (data != NULL) { in MmapReadFile()
309 return NULL; in MmapReadFile()
318 (void)srand((unsigned)time(NULL)); in RandSrand()
344 return NULL; in RandString()
347 if (data != NULL) { in RandString()
[all …]
/developtools/syscap_codec/interfaces/inner_api/
Dsyscap_interface.c84 char *contextBuffer = NULL; in EncodeOsSyscap()
112 char *contextBuffer = NULL; in EncodePrivateSyscap()
113 char *outputStr = NULL; in EncodePrivateSyscap()
128 if (outputStr == NULL) { in EncodePrivateSyscap()
167 char (*strSyscap)[SINGLE_SYSCAP_LEN] = NULL; in DecodeOsSyscap()
169 if (strSyscap == NULL) { in DecodeOsSyscap()
186 strSyscap = NULL; in DecodeOsSyscap()
216 char (*outputArray)[SINGLE_SYSCAP_LEN] = NULL; in DecodePrivateSyscap()
218 if (input == NULL) { in DecodePrivateSyscap()
230 if (outputArray == NULL) { in DecodePrivateSyscap()
[all …]
/developtools/profiler/hiebpf/src/
Dhiebpf.bpf.c121 if (cmplt_event == NULL) { in emit_fstrace_event()
193 if (stat_ptr == NULL) { in read_modify_update_page_fault_stats()
249 if (fpin == NULL) { in handle_return_value()
284 if (cmplt_event == NULL) { in emit_pftrace_event()
395 if (target_pids_ptr == NULL) { in check_current_pid()
422 struct mount *mnt = NULL; in get_mountpoint_by_inode()
449 if (curr_hlist_node == NULL) { in get_filename_by_inode()
454 const struct dentry *curr_dentry = NULL; in get_filename_by_inode()
459 if (curr_inode == NULL) { in get_filename_by_inode()
467 if (curr_hlist_node == NULL) { in get_filename_by_inode()
[all …]
/developtools/smartperf_host/trace_streamer/src/base/
Dcodec_cov.cpp110 int32_t len = MultiByteToWideChar(CP_ACP, 0, srcStr, -1, NULL, 0); in GbkToUtf8()
113 len = WideCharToMultiByte(CP_UTF8, 0, wstr.get(), -1, NULL, 0, NULL, NULL); in GbkToUtf8()
115 WideCharToMultiByte(CP_UTF8, 0, wstr.get(), -1, str.get(), len, NULL, NULL); in GbkToUtf8()
Dfile.cpp70 ::GetModuleFileNameA(NULL, currPath, MAX_PATH); in GetExecutionDirectoryPath()
/developtools/profiler/hidebug/frameworks/native/
Dhidebug_base.c74 if (colonPos == NULL) { in ParseKeyValue()
96 char *next = NULL; in SplitParams()
98 while (param != NULL) { in SplitParams()
100 param = strtok_s(NULL, space, &next); in SplitParams()
130 if (ret == NULL) { in FilterServiceName()
138 if (path == NULL || size <= 0) { in GetMallocHookStartupValue()
224 if (inputName == NULL) { in InitEnvironmentParam()
/developtools/hdc/src/host/
Dhost_uart.cpp149 iRet = RegQueryInfoKey(hKey, achClass, &cchClassName, NULL, &cSubKeys, &cbMaxSubKey, in EnumSerialPort()
158 if (ERROR_SUCCESS == RegEnumValue(hKey, i, achValue, &cchValue, NULL, NULL, in EnumSerialPort()
188 dirent *p = NULL; in EnumSerialPort()
238 int size = WideCharToMultiByte(CP_ACP, 0, &wstr[0], (int)wstr.size(), NULL, 0, NULL, NULL); in EnumSerialPort()
240 WideCharToMultiByte(CP_ACP, 0, &wstr[0], (int)wstr.size(), &ret[0], size, NULL, in EnumSerialPort()
241 NULL); // CP_UTF8 in EnumSerialPort()
354 uart.devUartHandle = CreateFile(apiBuf, GENERIC_READ | GENERIC_WRITE, 0, NULL, in EnumSerialPort()
355 OPEN_EXISTING, dwFlagsAndAttributes, NULL); in EnumSerialPort()
700 CancelIoEx(hUART->devUartHandle, NULL); in EnumSerialPort()
Dclient.cpp185 if (!ReadFile(*read, buffer, BUF_SIZE_DEFAULT - 1, &bytesRead, NULL)) { in ReadFileThreadFunc()
219 sa.lpSecurityDescriptor = NULL; in RunCommandWin32()
244 …if (!CreateProcess(_T(exePath.c_str()), _T(buffer), NULL, NULL, true, NULL, NULL, NULL, &si, &pi))… in RunCommandWin32()
/developtools/bytrace/interfaces/kits/js/napi/
Dbytrace_napi_common.cpp37 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVar, NULL)); in ParseParams()
184 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVar, NULL)); in JSTraceFinish()
202 NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, &thisVar, NULL)); in JSTraceCount()
/developtools/hdc/src/common/
Dauth.cpp601 evp = PEM_read_PUBKEY(file_pubkey, NULL, NULL, NULL); in LoadPublicKey()
718 evp = PEM_read_PrivateKey(file_prikey, NULL, NULL, NULL); in LoadPrivateKey()
Duart.cpp407 childRet = select(fd + 1, NULL, &fdSet, NULL, &timeout); in UartToHdcProtocol()
1041 ovWrite.hEvent = CreateEvent(NULL, false, false, NULL); in HdcUART()
1043 ovRead.hEvent = CreateEvent(NULL, false, false, NULL); in HdcUART()
1051 ovWrite.hEvent = NULL; in ~HdcUART()
1053 ovRead.hEvent = NULL; in ~HdcUART()
/developtools/profiler/device/base/src/
Dschedule_task_manager.cpp91 int32_t ret = timerfd_settime(timerFd, 0, &time, NULL); in ScheduleTask()
121 epoll_ctl(epollFd_, EPOLL_CTL_DEL, timerFd, NULL); in DeleteTask()
/developtools/hdc/hdc_rust/src/cffi/
Duart.cpp62 iRet = RegQueryInfoKey(hKey, achClass, &cchClassName, NULL, &cSubKeys, &cbMaxSubKey,
71 if (ERROR_SUCCESS == RegEnumValue(hKey, i, achValue, &cchValue, NULL, NULL,
168 HANDLE devUartHandle = CreateFile(buf, GENERIC_READ | GENERIC_WRITE, 0, NULL,
169 OPEN_EXISTING, dwFlagsAndAttributes, NULL);
/developtools/hdc/src/test/jdwp/
DHdcJdwpSimulator.cpp134 uv_close((uv_handle_t *)client, NULL); in ProcessIncoming()
155 uv_close((uv_handle_t *)q, NULL); in ReceiveNewFd()
178 uv_close(reinterpret_cast<uv_handle_t *>(&ctxJdwp->newFd), NULL); in ReceiveNewFd()
/developtools/hdc/src/test/
Dut_mod.cpp123 if (EVP_Digest(buf, size, md5Hash, NULL, EVP_md5(), NULL)) { in Md5Sum()
/developtools/profiler/device/plugins/native_daemon/test/unittest/resource/testdata/
Dshdrs_from_readelf_646 [ 0] NULL 0000000000000000 00000000
Dshdrs_from_readelf_325 [ 0] NULL 00000000 000000 000000 00 0 0 0
/developtools/hiperf/test/unittest/resource/testdata/
Dshdrs_from_readelf_325 [ 0] NULL 00000000 000000 000000 00 0 0 0
Dshdrs_from_readelf_646 [ 0] NULL 0000000000000000 00000000
/developtools/smartperf_host/trace_streamer/sdk/demo_sdk/trace_data/
Ddemo_trace_data_db.cpp250 int32_t ret = sqlite3_exec(demoDb_, sql.c_str(), NULL, NULL, &errMsg); in DemoOperateDatabase()

12