Searched refs:endptr (Results 51 - 75 of 81) sorted by relevance

1234

/openbsd-current/usr.sbin/unbound/util/data/
H A Ddname.c569 dname_lab_startswith(uint8_t* label, char* prefix, char** endptr) argument
584 *endptr = (char *)label;
587 *endptr = NULL;
/openbsd-current/sbin/unwind/libunbound/util/data/
H A Ddname.c569 dname_lab_startswith(uint8_t* label, char* prefix, char** endptr) argument
584 *endptr = (char *)label;
587 *endptr = NULL;
/openbsd-current/usr.bin/usbhidctl/
H A Dusbhid.c116 char *endptr; local
131 result = strtol(numstr, &endptr, 0);
133 if (result < 0 || result > 0xffff || endptr != &numstr[nlen])
/openbsd-current/usr.bin/tmux/
H A Dtty-keys.c1274 char tmp[128], *endptr, p[32] = { 0 }, *cp, *next; local
1310 p[n] = strtoul(next, &endptr, 10);
1311 if (*endptr != '\0')
1354 char tmp[128], *endptr, p[32] = { 0 }, *cp, *next; local
1390 p[n] = strtoul(next, &endptr, 10);
1391 if (*endptr != '\0')
/openbsd-current/usr.bin/sort/
H A Dsort.c257 char *endptr; local
260 membuf = strtoll(value, &endptr, 10);
261 if (endptr == value || (long long)membuf < 0 ||
265 switch (*endptr) {
/openbsd-current/gnu/llvm/compiler-rt/lib/asan/tests/
H A Dasan_str_test.cpp620 void CallStrtol(const char *nptr, char **endptr, int base) { argument
621 Ident(strtol(nptr, endptr, base));
623 void CallStrtoll(const char *nptr, char **endptr, int base) { argument
624 Ident(strtoll(nptr, endptr, base));
/openbsd-current/usr.sbin/unbound/sldns/
H A Dstr2wire.c251 const char* endptr; local
257 *ttl = (uint32_t) sldns_str2period(token, &endptr, &overflow);
1112 char *endptr; local
1118 key_value = strtoul(buf, &endptr, 10);
1120 if (endptr > buf /* digits seen */
1121 && *endptr == 0 /* no non-digit chars after digits */
1176 char *endptr; local
1181 port = strtoul(val, &endptr, 10);
1183 if (endptr > val /* digits seen */
1184 && *endptr
[all...]
/openbsd-current/sbin/unwind/libunbound/sldns/
H A Dstr2wire.c251 const char* endptr; local
257 *ttl = (uint32_t) sldns_str2period(token, &endptr, &overflow);
1112 char *endptr; local
1118 key_value = strtoul(buf, &endptr, 10);
1120 if (endptr > buf /* digits seen */
1121 && *endptr == 0 /* no non-digit chars after digits */
1176 char *endptr; local
1181 port = strtoul(val, &endptr, 10);
1183 if (endptr > val /* digits seen */
1184 && *endptr
[all...]
/openbsd-current/gnu/usr.bin/binutils/gdb/
H A Dinfcmd.c1666 char *endptr;
1667 int regnum = strtol (start, &endptr, 0);
1668 if (endptr == end
1654 char *endptr; local
H A Dsymtab.c2345 CORE_ADDR *endptr)
2366 *endptr = found_sal.pc;
2371 *endptr = found_sal.end;
2427 find_pc_line_pc_range (CORE_ADDR pc, CORE_ADDR *startptr, CORE_ADDR *endptr)
2432 *endptr = sal.end;
2337 find_line_pc_range(struct symtab_and_line sal, CORE_ADDR *startptr, CORE_ADDR *endptr) argument
2420 find_pc_line_pc_range(CORE_ADDR pc, CORE_ADDR *startptr, CORE_ADDR *endptr) argument
H A Dv850ice.c40 extern unsigned long int strtoul (const char *nptr, char **endptr,
H A Dsymfile.c1518 char *endptr;
1520 cbdata.load_offset = strtoul (offptr, &endptr, 0);
1521 if (offptr == endptr)
1516 char *endptr; local
/openbsd-current/usr.bin/at/
H A Dat.c144 strtot(const char *nptr, char **endptr, time_t *tp) argument
149 ll = strtoll(nptr, endptr, 10);
150 if (*endptr == nptr)
/openbsd-current/gnu/usr.bin/gcc/gcc/
H A Dc-opts.c1249 char *endptr; local
1250 long tabstop = strtol (arg, &endptr, 10);
1251 if (*endptr == '\0' && tabstop >= 1 && tabstop <= 100)
/openbsd-current/gnu/gcc/gcc/
H A Dfinal.c3066 char *endptr;
3068 opnum = strtoul (p, &endptr, 10);
3070 if (endptr == p)
3104 p = endptr;
3111 char *endptr;
3113 opnum = strtoul (p, &endptr, 10);
3123 p = endptr;
3052 char *endptr; local
3097 char *endptr; local
/openbsd-current/regress/lib/libevent/
H A Devent_regress.c1790 char *endptr; local
1799 if (evutil_strtoll(s, &endptr, 10) != (ev_int64_t)99999)
1801 if (endptr != s+6)
/openbsd-current/gnu/usr.bin/perl/
H A Dmg.c3447 const char* endptr = p_end; local
3460 if (grok_atoUV(p, &uv, &endptr))
3464 endptr = NULL;
3467 if (endptr == NULL)
3469 p = endptr;
3470 endptr = p_end;
3479 if (grok_atoUV(p, &uv, &endptr))
3483 endptr = NULL;
H A Dutil.c4527 const char* endptr = p + strlen(p); local
4529 if (grok_atoUV(p, &uv, &endptr) && uv <= U32_MAX) {
4531 p = endptr;
4929 const char* endptr = pmlenv + strlen(pmlenv); local
4932 if (grok_atoUV(pmlenv, &uv, &endptr) /* Ignore endptr. */
/openbsd-current/gnu/llvm/clang/tools/c-index-test/
H A Dc-index-test.c2125 char *endptr = 0; local
2167 strtol(getenv("CINDEXTEST_EXECUTE_AFTER_TRIAL"), &endptr, 10);
2172 strtol(getenv("CINDEXTEST_REMAP_AFTER_TRIAL"), &endptr, 10);
2362 char *endptr = 0; local
2376 values[num_values - i - 1] = strtol(last_colon + 1, &endptr, 10);
2377 if (*endptr != 0 && *endptr != ':') {
/openbsd-current/usr.sbin/snmpd/
H A Dparse.y552 char *endptr, str[21];
556 mode = strtol(str, &endptr, 8);
557 if (errno != 0 || endptr[0] != '\0' ||
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc3608 UNUSED static inline void FixRealStrtolEndptr(const char *nptr, char **endptr) {
3609 CHECK(endptr);
3610 if (nptr == *endptr) {
3616 *endptr = const_cast<char *>(nptr);
3618 CHECK(*endptr >= nptr);
3622 char **endptr, char *real_endptr, int base) {
3623 if (endptr) {
3624 *endptr = real_endptr;
3625 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, endptr, sizeof(*endptr));
[all...]
/openbsd-current/usr.bin/lex/
H A Dflexdef.h1160 int regmatch_strtol (regmatch_t * m, const char *src, char **endptr, int base);
/openbsd-current/sbin/unwind/libunbound/services/
H A Drpz.c180 char* endptr; local
230 if(tldlab && dname_lab_startswith(tldlab, "rpz-", &endptr))
309 char* endptr; local
315 if(!tldlab || !dname_lab_startswith(tldlab, "rpz-", &endptr))
/openbsd-current/usr.sbin/unbound/services/
H A Drpz.c180 char* endptr; local
230 if(tldlab && dname_lab_startswith(tldlab, "rpz-", &endptr))
309 char* endptr; local
315 if(!tldlab || !dname_lab_startswith(tldlab, "rpz-", &endptr))
/openbsd-current/usr.bin/patch/
H A Dpch.c1501 strtolinenum(char *nptr, char **endptr) argument
1523 *endptr = p;

Completed in 367 milliseconds

1234