Searched refs:orign (Results 1 – 3 of 3) sorted by relevance
/kernel/liteos_m/testsuites/unittest/xts/mem/ |
D | mem_api_test.c | 170 …char orign[8] = {0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88}; /* 8, common data for test, no s… variable 176 int len = sizeof(orign); 178 ret = memcmp(lt, orign, len); 181 ret = memcmp(eq, orign, len); 184 ret = memcmp(gt, orign, len); 187 ret = memcmp(gt, orign, 0);
|
/kernel/liteos_m/testsuites/unittest/posix/src/string/ |
D | memory_func_test.c | 189 char orign[8] = {0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88}; variable 195 int len = sizeof(orign); 197 ret = memcmp(orign, lt, len); 200 ret = memcmp(eq, orign, len); 203 ret = memcmp(orign, gt, len); 206 ret = memcmp(gt, orign, 0);
|
/kernel/linux/linux-5.10/security/selinux/ss/ |
D | conditional.c | 647 struct cond_node *orign = &origp->cond_list[i]; in duplicate_policydb_cond_list() local 651 newn->cur_state = orign->cur_state; in duplicate_policydb_cond_list() 652 newn->expr.nodes = kcalloc(orign->expr.len, in duplicate_policydb_cond_list() 656 for (j = 0; j < orign->expr.len; j++) in duplicate_policydb_cond_list() 657 newn->expr.nodes[j] = orign->expr.nodes[j]; in duplicate_policydb_cond_list() 658 newn->expr.len = orign->expr.len; in duplicate_policydb_cond_list() 660 rc = cond_dup_av_list(&newn->true_list, &orign->true_list, in duplicate_policydb_cond_list() 665 rc = cond_dup_av_list(&newn->false_list, &orign->false_list, in duplicate_policydb_cond_list()
|