Home
last modified time | relevance | path

Searched refs:NULL (Results 1 - 25 of 312) sorted by relevance

12345678910>>...13

/test/xts/device_attest_lite/services/core/network/
H A Dattest_network.c51 TLSSession* g_attestSession = NULL;
80 if (devicePacket == NULL) { in CreateDevicePacket()
82 return NULL; in CreateDevicePacket()
84 devicePacket->appId = NULL; in CreateDevicePacket()
85 devicePacket->tenantId = NULL; in CreateDevicePacket()
86 devicePacket->udid = NULL; in CreateDevicePacket()
87 devicePacket->ticket = NULL; in CreateDevicePacket()
88 devicePacket->randomUuid = NULL; in CreateDevicePacket()
89 devicePacket->tokenInfo.uuid = NULL; in CreateDevicePacket()
90 devicePacket->tokenInfo.token = NULL; in CreateDevicePacket()
[all...]
H A Dattest_coap.c28 if (pkt == NULL || buf == NULL) { in CoapCreateHead()
53 if (token == NULL || tkl == NULL || (*tkl > MAX_TOK_LEN)) { in CoapCreateToken()
69 if (pkt == NULL || token == NULL || ((token->len != 0) && token->buffer == NULL) || in CoapAddToken()
70 buf == NULL || buf->rwBuffer == NULL || (buf->len != HEADER_LEN)) { in CoapAddToken()
105 if (param == NULL) { in CoapGetOptionParam()
[all...]
/test/xts/device_attest/services/core/network/
H A Dattest_network.c77 if (devicePacket == NULL) { in CreateDevicePacket()
79 return NULL; in CreateDevicePacket()
81 devicePacket->appId = NULL; in CreateDevicePacket()
82 devicePacket->tenantId = NULL; in CreateDevicePacket()
83 devicePacket->udid = NULL; in CreateDevicePacket()
84 devicePacket->ticket = NULL; in CreateDevicePacket()
85 devicePacket->randomUuid = NULL; in CreateDevicePacket()
86 devicePacket->tokenInfo.uuid = NULL; in CreateDevicePacket()
87 devicePacket->tokenInfo.token = NULL; in CreateDevicePacket()
88 devicePacket->productInfo.prodId = NULL; in CreateDevicePacket()
[all...]
/test/xts/device_attest/services/core/attest/
H A Dattest_service_auth.c35 char* authStatusBase64 = NULL; in IsAuthStatusChg()
81 if (ticket != NULL && WriteTicketToDevice(ticket, strlen(ticket)) != 0) { in FlushAuthResult()
85 if (authStatus == NULL || AttestWriteAuthStatus(authStatus, strlen(authStatus)) != 0) { in FlushAuthResult()
119 if (root == NULL || authStatus == NULL) { in ParseAuthResult()
124 if (item == NULL || !cJSON_IsNumber(item)) { in ParseAuthResult()
135 if (root == NULL || authStatus == NULL) { in ParseSoftwareResult()
140 if (item == NULL || !cJSON_IsNumber(item)) { in ParseSoftwareResult()
151 if ((json == NULL) || (softwareResultDetai in ParseVersionIdResult()
[all...]
H A Dattest_service_device.c25 char* g_devSysInfos[SYS_DEV_MAX] = {NULL};
91 if (setDataFunc == NULL) { in SetSysData()
97 if (value == NULL) { in SetSysData()
112 return (g_devSysInfos[0] == NULL); in IsSysDataEmpty()
126 if (g_devSysInfos[i] == NULL) { in PrintDevSysInfo()
139 if (udidSrc == NULL) { in VerifyUDID()
144 if (udidDest == NULL) { in VerifyUDID()
182 if (g_devSysInfos[i] != NULL) { in DestroySysData()
195 return NULL; in StrdupDevInfo()
213 if (buff == NULL) { in GetRandomUuid()
[all...]
/test/xts/device_attest/services/core/utils/
H A Dattest_utils_file.c29 if (dirPath == NULL || fileName == NULL) { in GenFilePath()
30 return NULL; in GenFilePath()
35 return NULL; in GenFilePath()
38 if (filePath == NULL) { in GenFilePath()
39 return NULL; in GenFilePath()
43 return NULL; in GenFilePath()
50 if (path == NULL || fileName == NULL || result == NULL) { in GetFileSize()
[all...]
H A Dattest_utils_memleak.c40 List *g_memNodeList = NULL;
44 if (g_memNodeList != NULL) { in InitMemNodeList()
49 if (list == NULL) { in InitMemNodeList()
53 list->head = NULL; in InitMemNodeList()
60 if (node == NULL || *node == NULL) { in FreeMemNode()
65 if (memNode != NULL) { in FreeMemNode()
66 if (memNode->file != NULL) { in FreeMemNode()
68 memNode->file = NULL; in FreeMemNode()
70 if (memNode->func != NULL) { in FreeMemNode()
[all...]
/test/xts/device_attest_lite/services/core/utils/
H A Dattest_utils_memleak.c40 List *g_memNodeList = NULL;
44 if (g_memNodeList != NULL) { in InitMemNodeList()
49 if (list == NULL) { in InitMemNodeList()
53 list->head = NULL; in InitMemNodeList()
60 if (node == NULL || *node == NULL) { in FreeMemNode()
65 if (memNode != NULL) { in FreeMemNode()
66 if (memNode->file != NULL) { in FreeMemNode()
68 memNode->file = NULL; in FreeMemNode()
70 if (memNode->func != NULL) { in FreeMemNode()
[all...]
/test/xts/device_attest_lite/services/core/attest/
H A Dattest_service_auth.c37 char* authStatusBase64 = NULL; in IsAuthStatusChg()
83 if (ticket != NULL && WriteTicketToDevice(ticket, strlen(ticket)) != 0) { in FlushAuthResult()
87 if (authStatus == NULL || AttestWriteAuthStatus(authStatus, strlen(authStatus)) != 0) { in FlushAuthResult()
138 if (root == NULL || authStatus == NULL) { in ParseAuthResult()
143 if (item == NULL || !cJSON_IsNumber(item)) { in ParseAuthResult()
154 if (root == NULL || authStatus == NULL) { in ParseSoftwareResult()
159 if (item == NULL || !cJSON_IsNumber(item)) { in ParseSoftwareResult()
170 if ((json == NULL) || (softwareResultDetai in ParseVersionIdResult()
[all...]
/test/xts/acts/kernel_lite/kernelcmsis_hal/src/
H A Dcmsis_task_func_test.c122 attr.cb_mem = NULL; in CmsisThreadCreat004Func001()
124 attr.stack_mem = NULL; in CmsisThreadCreat004Func001()
129 id = osThreadNew((osThreadFunc_t)CmsisThreadCreat004Func002, NULL, &attr); in CmsisThreadCreat004Func001()
286 attr.cb_mem = NULL; in CmsisThreadYieldFunc001()
288 attr.stack_mem = NULL; in CmsisThreadYieldFunc001()
293 id = osThreadNew((osThreadFunc_t)CmsisThreadYieldFunc002, NULL, &attr); in CmsisThreadYieldFunc001()
312 attr.cb_mem = NULL; in CmsisThreadYieldFunc003()
314 attr.stack_mem = NULL; in CmsisThreadYieldFunc003()
319 id = osThreadNew((osThreadFunc_t)CmsisThreadCreatFunc, NULL, &attr); in CmsisThreadYieldFunc003()
348 attr.cb_mem = NULL; in CmsisThreadResumeFunc001()
[all...]
H A Dcmsis_task_pri_func_test.c99 attr.cb_mem = NULL;
101 attr.stack_mem = NULL;
104 id = osThreadNew((osThreadFunc_t)CmsisThreadGetPriorityFunc001, NULL, &attr);
117 uwRet = osThreadGetPriority(NULL);
146 attr.cb_mem = NULL;
148 attr.stack_mem = NULL;
151 id = osThreadNew((osThreadFunc_t)CmsisThreadGetPriorityFunc001, NULL, &attr);
168 attr.cb_mem = NULL;
170 attr.stack_mem = NULL;
173 id = osThreadNew((osThreadFunc_t)CmsisThreadGetPriorityFunc001, NULL,
[all...]
/test/xts/acts/security_lite/huks/liteos_m_adapter/
H A Dhks_others_test.c62 attr.cb_mem = NULL; in HksOthersTestSetUp()
64 attr.stack_mem = NULL; in HksOthersTestSetUp()
67 id = osThreadNew((osThreadFunc_t)ExecHksInitialize, NULL, &attr); in HksOthersTestSetUp()
86 int32_t ret = HksGetKeyParamSet(NULL, NULL, NULL); in ExcHksOthersTest001()
95 int32_t ret = HksGetKeyInfoList(NULL, NULL, NULL); in ExcHksOthersTest002()
104 int32_t ret = HksAttestKey(NULL, NUL in ExcHksOthersTest003()
[all...]
H A Dhks_cipher_test.c67 attr.cb_mem = NULL; in HksCipherTestSetUp()
69 attr.stack_mem = NULL; in HksCipherTestSetUp()
72 id = osThreadNew((osThreadFunc_t)ExecHksInitialize, NULL, &attr); in HksCipherTestSetUp()
197 attr.cb_mem = NULL; in LITE_TEST_CASE()
199 attr.stack_mem = NULL; in LITE_TEST_CASE()
202 id = osThreadNew((osThreadFunc_t)ExecHksCipherTest001, NULL, &attr); in LITE_TEST_CASE()
216 attr.cb_mem = NULL; in LITE_TEST_CASE()
218 attr.stack_mem = NULL; in LITE_TEST_CASE()
221 id = osThreadNew((osThreadFunc_t)ExecHksCipherTest002, NULL, &attr); in LITE_TEST_CASE()
234 attr.cb_mem = NULL; in LITE_TEST_CASE()
[all...]
H A Dhks_agreement_test.c67 attr.cb_mem = NULL; in HksAgreementTestSetUp()
69 attr.stack_mem = NULL; in HksAgreementTestSetUp()
72 id = osThreadNew((osThreadFunc_t)ExecHksInitialize, NULL, &attr); in HksAgreementTestSetUp()
107 struct HksParamSet *agreeParamSet = NULL; in AgreeKey()
128 struct HksBlob *privateKey = NULL; in ExecHksAgreementTest001()
129 struct HksBlob *peerPubKeyAlias = NULL; in ExecHksAgreementTest001()
130 struct HksBlob *peerPublicKey = NULL; in ExecHksAgreementTest001()
135 ret = GenerateLocalX25519Key(&privateKey, NULL, &g_testAgreeParams[0].localPrivateKeyParams, NULL); in ExecHksAgreementTest001()
137 ret = GenerateLocalX25519Key(NULL, in ExecHksAgreementTest001()
[all...]
/test/xts/dcts/communication/softbus_standard/common/
H A Dnet_trans_common.c40 static SessionAttribute* g_sessionAttr4Data = NULL;
41 static SessionAttribute* g_sessionAttr4Ctl = NULL;
42 static SessionAttribute* g_sessionAttr4Pass = NULL;
43 static SessionAttribute* g_sessionAttr4Perf = NULL;
44 static SessionAttribute* g_sessionAttr4Proxy = NULL;
45 static SessionAttribute* g_p2pattribute = NULL;
46 static SessionAttribute* g_p2pattributeProxy = NULL;
47 static ISessionListener* g_sessionlistener4Data = NULL;
48 static ISessionListener* g_sessionlistener4Ctl = NULL;
49 static ISessionListener* g_sessionlistener4Pass = NULL;
[all...]
/test/xts/device_attest/services/core/adapter/
H A Dattest_adapter_mock.c34 if (root == NULL || key == NULL || keyJsonStr == NULL) { in GetJsonOjectStringStub()
37 char* jsonStr = NULL; in GetJsonOjectStringStub()
42 char* rootJsonStr = NULL; in GetJsonOjectStringStub()
56 if (respMsg == NULL || actionType >= ATTEST_ACTION_MAX) { in SendChallMsgStub()
60 if (root == NULL) { in SendChallMsgStub()
72 if (respMsg == NULL || actionType >= ATTEST_ACTION_MAX) { in SendDevAttestStub()
77 if (root == NULL) { in SendDevAttestStub()
89 if (key == NULL) { in GetDeviceParaStub()
[all...]
/test/xts/device_attest_lite/services/core/adapter/
H A Dattest_adapter_mock.c34 if (root == NULL || key == NULL || keyJsonStr == NULL) { in GetJsonOjectStringStub()
37 char* jsonStr = NULL; in GetJsonOjectStringStub()
42 char* rootJsonStr = NULL; in GetJsonOjectStringStub()
56 if (respMsg == NULL || actionType >= ATTEST_ACTION_MAX) { in SendChallMsgStub()
60 if (root == NULL) { in SendChallMsgStub()
72 if (respMsg == NULL || actionType >= ATTEST_ACTION_MAX) { in SendDevAttestStub()
77 if (root == NULL) { in SendDevAttestStub()
89 if (key == NULL) { in GetDeviceParaStub()
[all...]
/test/xts/device_attest_lite/services/core/small/utils/
H A Dattest_utils_file_detail.c33 if (path == NULL || fileName == NULL || result == NULL) { in GetFileSize()
39 if (filePath == NULL) { in GetFileSize()
44 char* formatPath = realpath(filePath, NULL); in GetFileSize()
46 if (formatPath == NULL) { in GetFileSize()
52 if (fp == NULL) { in GetFileSize()
71 if (path == NULL || fileName == NULL || data == NULL || dataLe in WriteFile()
[all...]
/test/xts/device_attest/services/oem_adapter/src/
H A Ddevice_attest_oem_file.c25 if (dirPath == NULL || fileName == NULL) { in OEMGenFilePath()
26 return NULL; in OEMGenFilePath()
31 return NULL; in OEMGenFilePath()
35 return NULL; in OEMGenFilePath()
38 if (filePath == NULL) { in OEMGenFilePath()
39 return NULL; in OEMGenFilePath()
44 return NULL; in OEMGenFilePath()
51 if (path == NULL || fileName == NULL || resul in OEMGetFileSize()
[all...]
/test/xts/device_attest/services/core/dfx/
H A Dattest_dfx.c24 if (challengeResult == NULL) { in PrintChallengeResult()
31 if (buffer == NULL) { in PrintChallengeResult()
46 if (devicePacket == NULL) { in PrintDevicePacket()
51 if (devicePacket->tenantId == NULL) { in PrintDevicePacket()
57 if (devicePacket->udid == NULL) { in PrintDevicePacket()
63 if (devicePacket->ticket == NULL) { in PrintDevicePacket()
69 if (devicePacket->randomUuid == NULL) { in PrintDevicePacket()
75 if (devicePacket->kitinfo == NULL) { in PrintDevicePacket()
88 if (tokenInfo == NULL) { in PrintDeviceTokenInfo()
93 if (tokenInfo->token == NULL) { in PrintDeviceTokenInfo()
[all...]
/test/xts/device_attest_lite/services/core/dfx/
H A Dattest_dfx.c24 if (challengeResult == NULL) { in PrintChallengeResult()
31 if (buffer == NULL) { in PrintChallengeResult()
46 if (devicePacket == NULL) { in PrintDevicePacket()
51 if (devicePacket->tenantId == NULL) { in PrintDevicePacket()
57 if (devicePacket->udid == NULL) { in PrintDevicePacket()
63 if (devicePacket->ticket == NULL) { in PrintDevicePacket()
69 if (devicePacket->randomUuid == NULL) { in PrintDevicePacket()
75 if (devicePacket->kitinfo == NULL) { in PrintDevicePacket()
88 if (tokenInfo == NULL) { in PrintDeviceTokenInfo()
93 if (tokenInfo->token == NULL) { in PrintDeviceTokenInfo()
[all...]
/test/xts/acts/kernel_lite/dyload_posix/
H A DExecveTest.cpp38 int rt = RunElf(testELF, NULL, NULL); in HWTEST_F()
50 int rt = RunElf(testELF, NULL, NULL); in HWTEST_F()
84 rt = RunElf(testELF1, NULL, NULL); in HWTEST_F()
87 rt = RunElf("./executor3", NULL, NULL); in HWTEST_F()
89 rt = RunElf("../data/executor3", NULL, NULL); in HWTEST_F()
[all...]
/test/xts/tools/lite/hctest/src/
H A Dhctest.c51 if (testSuite == NULL) { in RunSingleTestSuite()
62 if (testCase == NULL || !testCase->lite_setup()) { in RunSingleTestSuite()
69 if (hcCase != NULL) { in RunSingleTestSuite()
79 CTestSuite *suite = NULL; in GetTestSuite()
81 if (testMgr == NULL || test_suite == NULL) { in GetTestSuite()
113 if (testCase == NULL) { in AddTestCase()
117 if (suite == NULL) { in AddTestCase()
119 suite_object.subsystem_name = NULL; in AddTestCase()
120 suite_object.module_name = NULL; in AddTestCase()
[all...]
/test/xts/acts/distributed_schedule_lite/system_ability_manager_hal/src/
H A Dbroadcast_subscribe_func_test.c56 static Identity g_identity = { -1, -1, NULL};
90 PubSubInterface *fapi = NULL; in CASE_GetIUnknown()
92 if (iUnknown == NULL) { in CASE_GetIUnknown()
94 return NULL; in CASE_GetIUnknown()
98 if (result != 0 || fapi == NULL) { in CASE_GetIUnknown()
131 if (fapi == NULL) {
135 if (subscriber == NULL) {
148 * @tc.name : Topic which is NULL or already existing can not be added
154 if (fapi == NULL) {
158 if (subscriber == NULL) {
[all...]
/test/xts/acts/security_lite/huks/liteos_a_adapter/
H A Dhks_others_test.cpp64 int32_t ret = HksGetKeyParamSet(NULL, NULL, NULL); in HWTEST_F()
75 int32_t ret = HksGetKeyInfoList(NULL, NULL, NULL); in HWTEST_F()
86 int32_t ret = HksAttestKey(NULL, NULL, NULL); in HWTEST_F()
97 int32_t ret = HksGetCertificateChain(NULL, NUL in HWTEST_F()
[all...]

Completed in 14 milliseconds

12345678910>>...13