Home
last modified time | relevance | path

Searched refs:nodep (Results 1 – 15 of 15) sorted by relevance

/external/curl/tests/unit/
Dunit1603.c57 char *nodep; variable
70 nodep = Curl_hash_add(&hash_static, &key1, strlen(key1), &key1);
71 fail_unless(nodep, "insertion into hash failed");
72 nodep = Curl_hash_pick(&hash_static, &key1, strlen(key1));
73 fail_unless(nodep == key1, "hash retrieval failed");
75 nodep = Curl_hash_add(&hash_static, &key2, strlen(key2), &key2);
76 fail_unless(nodep, "insertion into hash failed");
77 nodep = Curl_hash_pick(&hash_static, &key2, strlen(key2));
78 fail_unless(nodep == key2, "hash retrieval failed");
80 nodep = Curl_hash_add(&hash_static, &key3, strlen(key3), &key3);
[all …]
Dunit1602.c53 int *nodep; variable
63 nodep = Curl_hash_add(&hash_static, &key, klen, value);
64 if(!nodep)
66 abort_unless(nodep, "insertion into hash failed");
73 nodep = Curl_hash_add(&hash_static, &key2, klen, value2);
74 if(!nodep)
76 abort_unless(nodep, "insertion into hash failed");
Dunit1305.c123 struct Curl_dns_entry *nodep; variable
133 nodep = Curl_hash_add(&hp, data_key, key_len+1, data_node);
134 abort_unless(nodep, "insertion into hash failed");
/external/vboot_reference/firmware/stub/
Dvboot_api_stub_sf.c68 struct alloc_node **nodep; in find_node() local
70 for (nodep = &alloc_head; *nodep; nodep = &(*nodep)->next) in find_node()
71 if ((*nodep)->ptr == ptr) in find_node()
72 return nodep; in find_node()
79 struct alloc_node **nodep, *next; in VbExFree() local
81 nodep = find_node(ptr); in VbExFree()
82 if (nodep) { in VbExFree()
83 next = (*nodep)->next; in VbExFree()
84 free(*nodep); in VbExFree()
85 *nodep = next; in VbExFree()
/external/elfutils/libebl/
Deblgstrtab.c305 copystrings (struct Ebl_GStrent *nodep, char **freep, size_t *offsetp) in copystrings() argument
309 if (nodep->left != NULL) in copystrings()
310 copystrings (nodep->left, freep, offsetp); in copystrings()
313 nodep->offset = *offsetp; in copystrings()
314 *freep = (char *) mempcpy (*freep, nodep->string, nodep->len * nodep->width); in copystrings()
315 *offsetp += nodep->len * nodep->width; in copystrings()
317 for (subs = nodep->next; subs != NULL; subs = subs->next) in copystrings()
319 assert (subs->len < nodep->len); in copystrings()
320 subs->offset = nodep->offset + (nodep->len - subs->len) * nodep->width; in copystrings()
324 if (nodep->right != NULL) in copystrings()
[all …]
Deblwstrtab.c299 copystrings (struct Ebl_WStrent *nodep, wchar_t **freep, size_t *offsetp) in copystrings() argument
303 if (nodep->left != NULL) in copystrings()
304 copystrings (nodep->left, freep, offsetp); in copystrings()
307 nodep->offset = *offsetp; in copystrings()
308 *freep = wmempcpy (*freep, nodep->string, nodep->len); in copystrings()
309 *offsetp += nodep->len * sizeof (wchar_t); in copystrings()
311 for (subs = nodep->next; subs != NULL; subs = subs->next) in copystrings()
313 assert (subs->len < nodep->len); in copystrings()
314 subs->offset = nodep->offset + nodep->len - subs->len; in copystrings()
318 if (nodep->right != NULL) in copystrings()
[all …]
Deblstrtab.c292 copystrings (struct Ebl_Strent *nodep, char **freep, size_t *offsetp) in copystrings() argument
294 if (nodep->left != NULL) in copystrings()
295 copystrings (nodep->left, freep, offsetp); in copystrings()
298 nodep->offset = *offsetp; in copystrings()
299 *freep = (char *) mempcpy (*freep, nodep->string, nodep->len); in copystrings()
300 *offsetp += nodep->len; in copystrings()
302 for (struct Ebl_Strent *subs = nodep->next; subs != NULL; subs = subs->next) in copystrings()
304 assert (subs->len < nodep->len); in copystrings()
305 subs->offset = nodep->offset + nodep->len - subs->len; in copystrings()
309 if (nodep->right != NULL) in copystrings()
[all …]
/external/bison/src/
Dielr.c973 state_list **nodep = &first_state; in ielr_split_states() local
976 *nodep = states[i]->state_list = last_state = xmalloc (sizeof **nodep); in ielr_split_states()
977 (*nodep)->state = states[i]; in ielr_split_states()
978 (*nodep)->recomputedAsSuccessor = false; in ielr_split_states()
979 (*nodep)->lookaheads = NULL; in ielr_split_states()
980 (*nodep)->lr0Isocore = *nodep; in ielr_split_states()
981 (*nodep)->nextIsocore = *nodep; in ielr_split_states()
982 nodep = &(*nodep)->next; in ielr_split_states()
986 *nodep = NULL; in ielr_split_states()
/external/regex-re2/re2/
Donepass.cc405 uint8* nodep = nodes; in IsOnePass() local
410 nodep += statesize; in IsOnePass()
458 nodep += statesize; in IsOnePass()
593 nodep = new uint8[nalloc*statesize]; in IsOnePass()
594 memmove(nodep, nodes, nalloc*statesize); in IsOnePass()
596 nodes = nodep; in IsOnePass()
/external/jemalloc/include/jemalloc/internal/
Drb.h537 } *pathp, *nodep, path[sizeof(void *) << 4]; \
539 nodep = NULL; /* Silence compiler warning. */ \
552 nodep = pathp; \
563 assert(nodep->node == node); \
581 nodep->node = pathp->node; \
583 if (nodep == path) { \
584 rbtree->rbt_root = nodep->node; \
586 if (nodep[-1].cmp < 0) { \
587 rbtn_left_set(a_type, a_field, nodep[-1].node, \
588 nodep->node); \
[all …]
/external/ltp/testcases/kernel/lib/
Dnuma_helper.c229 int i, *nodep; in get_allowed_nodes() local
240 nodep = va_arg(ap, int *); in get_allowed_nodes()
242 *nodep = nodes[i]; in get_allowed_nodes()
/external/elfutils/libcpu/
Di386_parse.y868 nameout (const void *nodep, VISIT value, int level)
871 printf (" %s\n", *(const char **) nodep);
1076 print_op_str (const void *nodep, VISIT value, in print_op_str() argument
1081 const char *str = (*(struct argstring **) nodep)->str; in print_op_str()
1084 (*(struct argstring **) nodep)->idx = ++count_op_str; in print_op_str()
1085 (*(struct argstring **) nodep)->off = off_op_str; in print_op_str()
1092 print_op_str_idx (const void *nodep, VISIT value, in print_op_str_idx() argument
1096 printf (" %d,\n", (*(struct argstring **) nodep)->off); in print_op_str_idx()
1101 print_op_fct (const void *nodep, VISIT value, in print_op_fct() argument
1106 fprintf (outfile, " FCT_%s,\n", (*(struct argstring **) nodep)->str); in print_op_fct()
[all …]
/external/libmicrohttpd/src/microhttpd/
Ddaemon.c312 void **nodep; in MHD_ip_limit_add() local
334 if (NULL == (nodep = tsearch (key, in MHD_ip_limit_add()
346 node = *nodep; in MHD_ip_limit_add()
377 void **nodep; in MHD_ip_limit_del() local
390 if (NULL == (nodep = tfind (&search_key, in MHD_ip_limit_del()
398 found_key = (struct MHD_IPCount *) *nodep; in MHD_ip_limit_del()
/external/hamcrest/
Dbuild.xml.original34 …="build/hamcrest-generator-${version}.jar" tofile="build/hamcrest-generator-${version}-nodep.jar"/>
36 <zipfileset src="build/hamcrest-generator-${version}-nodep.jar"/>
/external/selinux/libsepol/src/
Dpolicydb.c2084 static int read_cons_helper(policydb_t * p, constraint_node_t ** nodep, in read_cons_helper() argument
2104 *nodep = c; in read_cons_helper()