Searched refs:ep (Results 1 – 12 of 12) sorted by relevance
/stdlib/ |
A D | getenv.c | 35 char **ep; in getenv() local 51 for (ep = __environ; *ep != NULL; ++ep) in getenv() 54 uint16_t ep_start = *(uint16_t *) *ep; in getenv() 56 uint16_t ep_start = (((unsigned char *) *ep)[0] in getenv() 57 | (((unsigned char *) *ep)[1] << 8)); in getenv() 60 return &(*ep)[2]; in getenv() 75 for (ep = __environ; *ep != NULL; ++ep) in getenv() 78 uint16_t ep_start = *(uint16_t *) *ep; in getenv() 81 | (((unsigned char *) *ep)[1] << 8)); in getenv() 85 && (*ep)[len + 2] == '=') in getenv() [all …]
|
A D | setenv.c | 119 char **ep; in __add_to_environ() local 137 ep = __environ; in __add_to_environ() 140 if (ep != NULL) in __add_to_environ() 142 for (; *ep != NULL; ++ep) in __add_to_environ() 143 if (!strncmp (*ep, name, namelen) && (*ep)[namelen] == '=') in __add_to_environ() 149 if (ep == NULL || __builtin_expect (*ep == NULL, 1)) in __add_to_environ() 242 *ep = np; in __add_to_environ() 266 char **ep; in unsetenv() local 278 ep = __environ; in unsetenv() 282 if (!strncmp (*ep, name, len) && (*ep)[len] == '=') in unsetenv() [all …]
|
A D | tst-strtod5.c | 68 char *ep; in do_test() local 69 double r = strtod (tests[i].in, &ep); in do_test() 71 if (*ep != '\0') in do_test() 73 printf ("%d: got rest string \"%s\", expected \"\"\n", i, ep); in do_test()
|
A D | tst-strtod3.c | 33 char *ep; in do_test() local 34 double r = __strtod_internal (tests[i].in, &ep, 1); in do_test() 36 if (strcmp (ep, tests[i].out) != 0) in do_test() 39 i, ep, tests[i].out); in do_test()
|
A D | tst-strtod2.c | 26 char *ep; in do_test() local 27 double r = strtod (tests[i].str, &ep); in do_test() 33 if (ep != tests[i].str + tests[i].offset) in do_test() 36 i, ep - tests[i].str, tests[i].offset); in do_test()
|
A D | tst-strtod4.c | 34 char *ep; in do_test() local 35 double r = __strtod_internal (tests[i].in, &ep, 1); in do_test() 37 if (strcmp (ep, tests[i].out) != 0) in do_test() 40 i, ep, tests[i].out); in do_test()
|
A D | tst-strtod5i.c | 79 char *ep; in do_test() local 80 double r = __strtod_internal (tests[i].in, &ep, tests[i].group); in do_test() 82 if (*ep != '\0') in do_test() 84 printf ("%d: got rest string \"%s\", expected \"\"\n", i, ep); in do_test()
|
A D | tst-strtoll.c | 316 char *ep; in do_test() local 325 l = strtoll (lt->str, &ep, lt->base); in do_test() 329 if (l == (long long int) lt->expect && *ep == lt->left in do_test() 338 if (lt->left != *ep) in do_test() 341 expand (exp1, *ep); in do_test() 358 ul = strtoull (lt->str, &ep, lt->base); in do_test() 362 if (ul == lt->expect && *ep == lt->left && save_errno == lt->err) in do_test() 370 if (lt->left != *ep) in do_test() 373 expand (exp1, *ep); in do_test()
|
A D | tst-strtod.c | 89 char *ep; in do_test() local 98 d = strtod(lt->str, &ep); in do_test() 102 if (d == lt->expect && *ep == lt->left && save_errno == lt->err) in do_test() 109 if (lt->left != *ep) in do_test() 112 expand (exp1, *ep); in do_test()
|
A D | tst-strtol.c | 541 char *ep; in do_test() local 550 l = strtol (lt->str, &ep, lt->base); in do_test() 554 if (l == (long int) lt->expect && *ep == lt->left in do_test() 563 if (lt->left != *ep) in do_test() 566 expand (exp1, *ep); in do_test() 583 ul = strtoul (lt->str, &ep, lt->base); in do_test() 587 if (ul == lt->expect && *ep == lt->left && save_errno == lt->err) in do_test() 595 if (lt->left != *ep) in do_test() 598 expand (exp1, *ep); in do_test()
|
A D | tst-strtod-nan-locale-main.c | 39 CHAR *ep; \ 40 FTYPE val = FNX (FSUF) (s, &ep); \ 41 if (isnan (val) && *ep == 0) \
|
A D | tst-strtol-locale-main.c | 35 CHAR *ep; \ 36 TYPE val = FNX (FN) (STR, &ep, 36); \ 38 if (val == (TYPE) (EXP_VAL) && *ep == 0) \
|
Completed in 19 milliseconds