/test/xts/device_attest/services/core/utils/ |
H A D | attest_utils_list.c | 30 list->head = NULL; in CreateList() 39 ListNode* head = list->head; in AddListNode() local 41 if (head == NULL) { in AddListNode() 45 while (head != NULL && head->next != NULL) { in AddListNode() 46 head = head->next; in AddListNode() 60 if (list->head == NULL) { in AddListNode() 61 list->head in AddListNode() 74 ListNode* head = list->head; GetListSize() local 88 ListNode* head = list->head; ReleaseList() local [all...] |
H A D | attest_utils_memleak.c | 53 list->head = NULL; in InitMemNodeList() 88 ListNode* head = list->head; in DestroyMemNodeList() local 89 while (head != NULL) { in DestroyMemNodeList() 90 ListNode* curr = head; in DestroyMemNodeList() 91 head = head->next; in DestroyMemNodeList() 112 ListNode* head = list->head; in AddMemNode() local 113 if (head in AddMemNode() 240 ListNode* head = list->head; PrintMemNodeList() local [all...] |
/test/xts/device_attest_lite/services/core/utils/ |
H A D | attest_utils_list.c | 30 list->head = NULL; in CreateList() 39 ListNode* head = list->head; in AddListNode() local 41 if (head == NULL) { in AddListNode() 45 while (head != NULL && head->next != NULL) { in AddListNode() 46 head = head->next; in AddListNode() 60 if (list->head == NULL) { in AddListNode() 61 list->head in AddListNode() 74 ListNode* head = list->head; GetListSize() local 88 ListNode* head = list->head; ReleaseList() local [all...] |
H A D | attest_utils_memleak.c | 53 list->head = NULL; in InitMemNodeList() 88 ListNode* head = list->head; in DestroyMemNodeList() local 89 while (head != NULL) { in DestroyMemNodeList() 90 ListNode* curr = head; in DestroyMemNodeList() 91 head = head->next; in DestroyMemNodeList() 112 ListNode* head = list->head; in AddMemNode() local 113 if (head in AddMemNode() 240 ListNode* head = list->head; PrintMemNodeList() local [all...] |
/test/xts/device_attest_lite/services/core/ |
H A D | attest_entry.c | 49 int32_t *head = resultArray; in CopyAttestResult() local 50 attestResultInfo->authResult = *head; in CopyAttestResult() 51 head++; in CopyAttestResult() 52 attestResultInfo->softwareResult = *head; in CopyAttestResult() 54 attestResultInfo->softwareResultDetail[i] = *(++head); in CopyAttestResult()
|
/test/xts/device_attest_lite/services/core/attest/ |
H A D | attest_service.c | 382 int32_t *head = *resultArray; in CopyResultArray() local 383 head[ATTEST_RESULT_AUTH] = AttestStatusTrans(authStatus->hardwareResult); in CopyResultArray() 384 head[ATTEST_RESULT_SOFTWARE] = AttestStatusTrans(authStatus->softwareResult); in CopyResultArray() 390 head[ATTEST_RESULT_VERSIONID] = AttestStatusTrans(softwareResultDetail->versionIdResult); in CopyResultArray() 391 head[ATTEST_RESULT_PATCHLEVEL] = AttestStatusTrans(softwareResultDetail->patchLevelResult); in CopyResultArray() 392 head[ATTEST_RESULT_ROOTHASH] = AttestStatusTrans(softwareResultDetail->rootHashResult); in CopyResultArray() 393 head[ATTEST_RESULT_PCID] = AttestStatusTrans(softwareResultDetail->pcidResult); in CopyResultArray() 394 head[ATTEST_RESULT_RESERVE] = DEVICE_ATTEST_INIT; // Always equal to DEVICE_ATTEST_INIT in CopyResultArray() 403 int32_t *head = *resultArray; in SetAttestResultArray() local 405 head[ in SetAttestResultArray() [all...] |
/test/xts/device_attest/services/core/attest/ |
H A D | attest_service.c | 412 int32_t *head = *resultArray; in CopyResultArray() local 413 head[ATTEST_RESULT_AUTH] = AttestStatusTrans(authStatus->hardwareResult); in CopyResultArray() 414 head[ATTEST_RESULT_SOFTWARE] = AttestStatusTrans(authStatus->softwareResult); in CopyResultArray() 420 head[ATTEST_RESULT_VERSIONID] = AttestStatusTrans(softwareResultDetail->versionIdResult); in CopyResultArray() 421 head[ATTEST_RESULT_PATCHLEVEL] = AttestStatusTrans(softwareResultDetail->patchLevelResult); in CopyResultArray() 422 head[ATTEST_RESULT_ROOTHASH] = AttestStatusTrans(softwareResultDetail->rootHashResult); in CopyResultArray() 423 head[ATTEST_RESULT_PCID] = AttestStatusTrans(softwareResultDetail->pcidResult); in CopyResultArray() 424 head[ATTEST_RESULT_RESERVE] = DEVICE_ATTEST_INIT; // Always equal to DEVICE_ATTEST_INIT in CopyResultArray() 433 int32_t *head = *resultArray; in SetAttestResultArray() local 435 head[ in SetAttestResultArray() [all...] |
/test/xts/device_attest_lite/services/core/network/ |
H A D | attest_network.c | 145 ListNode* head = optionList->head; in BuildCoapMsg() local 147 while ((head != NULL) && (index < COAP_MAX_OPTION)) { in BuildCoapMsg() 148 Option* option = (Option*)head->data; in BuildCoapMsg() 152 head = head->next; in BuildCoapMsg() 215 ListNode* head = g_attestNetworkList.head; in ConnectNetWork() local 218 while (head != NULL && currentIndex < MAX_NETWORK_CFG_LIST_SIZE) { in ConnectNetWork() 220 ServerInfo* networkInfo = (ServerInfo*)head in ConnectNetWork() 668 ListNode* head = uriList.head; BuildUriOption() local [all...] |
/test/xts/hats/kernel/syscalls/system/getrobustlist/ |
H A D | GetrobustlistApiTest.cpp | 77 struct robust_list_head head; in HWTEST_F() local 79 int ret = syscall(__NR_get_robust_list, 0, &head, &len); in HWTEST_F() 93 struct robust_list_head head; in HWTEST_F() local 96 int ret = syscall(__NR_get_robust_list, INVALID_FLAGS, &head, &len); in HWTEST_F()
|
/test/xts/device_attest/services/devattest_ability/src/ |
H A D | devattest_service.cpp | 150 int32_t *head = resultArray; in CopyAttestResult() local 151 attestResultInfo.authResult_ = *head; in CopyAttestResult() 152 head++; in CopyAttestResult() 153 attestResultInfo.softwareResult_ = *head; in CopyAttestResult() 155 attestResultInfo.softwareResultDetail_[i] = *(++head); in CopyAttestResult()
|
/test/xts/acts/ability/ability_runtime/capichildprocess/entry/src/main/cpp/ |
H A D | hello.cpp | 203 args.fdList.head = (NativeChildProcess_Fd*)malloc(sizeof(NativeChildProcess_Fd)); in StartChildWithArgs() 204 args.fdList.head->fdName = (char*)malloc(sizeof(char) * strlen(fd1Name) + 1); in StartChildWithArgs() 205 (void)strcpy(args.fdList.head->fdName, fd1Name); in StartChildWithArgs() 213 args.fdList.head->fd = fd; in StartChildWithArgs() 214 args.fdList.head->next = NULL; in StartChildWithArgs() 232 args.fdList.head = NULL; in StartChildWithNoArgs()
|
H A D | native_child_demo.cpp | 40 NativeChildProcess_Fd *current = args.fdList.head;
in Main()
|
/test/xts/acts/kernel_lite/sys_posix/src/ |
H A D | SysApiTest.cpp | 472 int CountQue(Myque *head) 474 Myque *first = head; 477 LOG("name=%s", head->name); 478 head = head->next; 480 } while (head != first);
|
/test/xts/device_attest/services/core/network/ |
H A D | attest_network.c | 225 if (msgHttpPack == NULL || devValue == NULL || g_attestNetworkList.head == NULL) { in BuildSocketInfo() 230 ServerInfo* serverInfo = (ServerInfo*)g_attestNetworkList.head->data; in BuildSocketInfo() 261 if (resAddr == NULL || g_attestNetworkList.head == NULL) { in InitAddrInfo() 278 ServerInfo* serverInfo = (ServerInfo*)g_attestNetworkList.head->data; in InitAddrInfo() 1249 if (g_attestNetworkList.head != NULL) { in InitNetworkServerInfo() 1314 if (g_attestNetworkList.head == NULL) { in CheckDomain() 1318 ServerInfo* serverInfo = (ServerInfo*)g_attestNetworkList.head->data; in CheckDomain()
|
/test/xts/device_attest/services/core/include/utils/ |
H A D | attest_utils_list.h | 33 ListNode* head; member
|
/test/xts/device_attest_lite/services/core/include/utils/ |
H A D | attest_utils_list.h | 33 ListNode* head; member
|
/test/testfwk/xdevice/src/xdevice/_core/ |
H A D | utils.py | 321 head, tail = os.path.split(path) 323 head, tail = os.path.split(head) 325 need_add_path.add(head)
|
/test/xts/acts/bundlemanager/zlib/actszlibtest/ |
H A D | ActsZlibTest.cpp | 1462 gz_header head;
in HWTEST_F() local 1472 head.extra = out;
in HWTEST_F() 1473 head.extra_max = len;
in HWTEST_F() 1474 head.name = out;
in HWTEST_F() 1475 head.name_max = len;
in HWTEST_F() 1476 head.comment = out;
in HWTEST_F() 1477 head.comm_max = len;
in HWTEST_F() 1478 err = inflateGetHeader(&strm, &head);
in HWTEST_F()
|
/test/xts/acts/bundlemanager/zlib/actszlibndktest/entry/src/main/cpp/ |
H A D | zlibndk.cpp | 850 gz_header head;
in InflateGetHeader() local 860 head.extra = out;
in InflateGetHeader() 861 head.extra_max = len;
in InflateGetHeader() 862 head.name = out;
in InflateGetHeader() 863 head.name_max = len;
in InflateGetHeader() 864 head.comment = out;
in InflateGetHeader() 865 head.comm_max = len;
in InflateGetHeader() 866 err = inflateGetHeader(&strm, &head);
in InflateGetHeader()
|
/test/xts/device_attest/services/devattest_ability/test/tdd/gtest/src/ |
H A D | attest_tdd_test.cpp | 106 EXPECT_STREQ((const char*)g_attestNetworkList.head->data, ATTEST_MOCK_HAL_NETWORK_RESULT); in HWTEST_F()
|
/test/xts/device_attest_lite/test/tdd/gtest/src/ |
H A D | attest_tdd_test.cpp | 110 ServerInfo* serverInfo = (ServerInfo*)g_attestNetworkList.head->data; in HWTEST_F()
|