Home
last modified time | relevance | path

Searched refs:nptr (Results 1 – 25 of 59) sorted by relevance

123

/external/syslinux/com32/lib/
Dstrntoumax.c24 uintmax_t strntoumax(const char *nptr, char **endptr, int base, size_t n) in strntoumax() argument
30 while (n && isspace((unsigned char)*nptr)) { in strntoumax()
31 nptr++; in strntoumax()
36 if (n && *nptr == '-') { in strntoumax()
38 nptr++; in strntoumax()
40 } else if (n && *nptr == '+') { in strntoumax()
41 nptr++; in strntoumax()
45 if (n >= 2 && nptr[0] == '0' && (nptr[1] == 'x' || nptr[1] == 'X')) { in strntoumax()
47 nptr += 2; in strntoumax()
49 } else if (n >= 1 && nptr[0] == '0') { in strntoumax()
[all …]
/external/syslinux/dos/
Dstrntoumax.c24 uintmax_t strntoumax(const char *nptr, char **endptr, int base, size_t n) in strntoumax() argument
30 while (n && isspace((unsigned char)*nptr)) { in strntoumax()
31 nptr++; in strntoumax()
36 if (n && *nptr == '-') { in strntoumax()
38 nptr++; in strntoumax()
40 } else if (n && *nptr == '+') { in strntoumax()
41 nptr++; in strntoumax()
45 if (n >= 2 && nptr[0] == '0' && (nptr[1] == 'x' || nptr[1] == 'X')) { in strntoumax()
47 nptr += 2; in strntoumax()
49 } else if (n >= 1 && nptr[0] == '0') { in strntoumax()
[all …]
Dstrtoul.c10 extern uintmax_t strntoumax(const char *nptr, char **endptr, int base, size_t n);
12 unsigned long strtoul(const char *nptr, char **endptr, int base) in strtoul() argument
14 return (unsigned long) strntoumax(nptr, endptr, base, ~(size_t) 0); in strtoul()
/external/libcxx/include/support/xlocale/
D__strtonum_fallback.h23 inline _LIBCPP_ALWAYS_INLINE float strtof_l(const char *nptr, in strtof_l() argument
25 return ::strtof(nptr, endptr); in strtof_l()
28 inline _LIBCPP_ALWAYS_INLINE double strtod_l(const char *nptr, in strtod_l() argument
30 return ::strtod(nptr, endptr); in strtod_l()
33 inline _LIBCPP_ALWAYS_INLINE long double strtold_l(const char *nptr, in strtold_l() argument
35 return ::strtold(nptr, endptr); in strtold_l()
39 strtoll_l(const char *nptr, char **endptr, int base, locale_t) { in strtoll_l() argument
40 return ::strtoll(nptr, endptr, base); in strtoll_l()
44 strtoull_l(const char *nptr, char **endptr, int base, locale_t) { in strtoull_l() argument
45 return ::strtoull(nptr, endptr, base); in strtoull_l()
[all …]
/external/libcxx/include/support/musl/
Dxlocale.h28 static inline long long strtoll_l(const char *nptr, char **endptr, int base, in strtoll_l() argument
30 return strtoll(nptr, endptr, base); in strtoll_l()
33 static inline unsigned long long strtoull_l(const char *nptr, char **endptr, in strtoull_l() argument
35 return strtoull(nptr, endptr, base); in strtoull_l()
38 static inline long long wcstoll_l(const wchar_t *nptr, wchar_t **endptr, in wcstoll_l() argument
40 return wcstoll(nptr, endptr, base); in wcstoll_l()
43 static inline unsigned long long wcstoull_l(const wchar_t *nptr, in wcstoull_l() argument
46 return wcstoull(nptr, endptr, base); in wcstoull_l()
49 static inline long double wcstold_l(const wchar_t *nptr, wchar_t **endptr, in wcstold_l() argument
51 return wcstold(nptr, endptr); in wcstold_l()
/external/boringssl/src/crypto/fipsmodule/bn/asm/
Dx86_64-mont5.pl1067 my $nptr="%rcx"; # const BN_ULONG *nptr,
1173 movq $nptr,%xmm2 # save $nptr
1188 movq %xmm2,$nptr
1752 my ($nptr,$tptr,$carry,$m0)=("%rbp","%rdi","%rsi","%rbx");
1755 movq %xmm2,$nptr
1758 lea ($nptr,$num),%rcx # end of n[]
1784 mov 8*0($nptr),%rax # n[0]
1791 mov 8*1($nptr),%rax # n[1]
1798 mov 8*2($nptr),%rax
1807 mov 8*3($nptr),%rax
[all …]
Dx86_64-mont.pl807 my $nptr="%rcx"; # const BN_ULONG *nptr,
899 movq $nptr, %xmm2 # save pointer to modulus
1092 my ($aptr, $bptr, $nptr, $tptr, $mi, $bi, $zero, $num)=
1119 mulx 0*8($nptr),%rax,%r10
1122 mulx 1*8($nptr),%rax,%r11
1125 .byte 0xc4,0x62,0xfb,0xf6,0xa1,0x10,0x00,0x00,0x00 # mulx 2*8($nptr),%rax,%r12
1130 mulx 3*8($nptr),%rax,%r15
1135 lea 4*8($nptr),$nptr
1158 mulx 0*8($nptr),%rax,%r15
1161 mulx 1*8($nptr),%rax,%r15
[all …]
Darmv4-mont.pl303 my ($rptr,$aptr,$bptr,$nptr,$n0,$num)=map("r$_",(0..5));
345 vld1.32 {$N0-$N3}, [$nptr]!
473 vld1.32 {$N0-$N3},[$nptr]!
559 vld1.32 {$N0-$N3},[$nptr]!
632 subne $nptr,$nptr,$num,lsl#2 @ rewind
680 sub $nptr,$nptr,$num,lsl#2 @ rewind $nptr
686 ldmia $nptr!, {r8-r11}
702 mov $nptr,$bptr @ second 3/4th of frame
710 vst1.64 {q0-q1}, [$nptr,:256]! @ wipe
714 vst1.64 {q0-q1}, [$nptr,:256]! @ wipe
[all …]
/external/compiler-rt/lib/asan/
Dasan_interceptors.cc609 INTERCEPTOR(long, strtol, const char *nptr, // NOLINT in INTERCEPTOR() argument
615 return REAL(strtol)(nptr, endptr, base); in INTERCEPTOR()
618 long result = REAL(strtol)(nptr, &real_endptr, base); // NOLINT in INTERCEPTOR()
619 StrtolFixAndCheck(ctx, nptr, endptr, real_endptr, base); in INTERCEPTOR()
623 INTERCEPTOR(int, atoi, const char *nptr) { in INTERCEPTOR() argument
627 if (UNLIKELY(!asan_inited)) return REAL(atoi)(nptr); in INTERCEPTOR()
631 return REAL(atoi)(nptr); in INTERCEPTOR()
638 int result = REAL(strtol)(nptr, &real_endptr, 10); in INTERCEPTOR()
639 FixRealStrtolEndptr(nptr, &real_endptr); in INTERCEPTOR()
640 ASAN_READ_STRING(ctx, nptr, (real_endptr - nptr) + 1); in INTERCEPTOR()
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_libc.cc20 s64 internal_atoll(const char *nptr) { in internal_atoll() argument
21 return internal_simple_strtoll(nptr, nullptr, 10); in internal_atoll()
237 s64 internal_simple_strtoll(const char *nptr, char **endptr, int base) { in internal_simple_strtoll() argument
239 while (IsSpace(*nptr)) nptr++; in internal_simple_strtoll()
243 char *old_nptr = const_cast<char *>(nptr); in internal_simple_strtoll()
244 if (*nptr == '+') { in internal_simple_strtoll()
246 nptr++; in internal_simple_strtoll()
247 } else if (*nptr == '-') { in internal_simple_strtoll()
249 nptr++; in internal_simple_strtoll()
251 while (IsDigit(*nptr)) { in internal_simple_strtoll()
[all …]
/external/syslinux/core/lwip/src/core/snmp/
Dmib_structs.c166 ln->nptr = NULL; in snmp_mib_ln_alloc()
353 else if (n->nptr == NULL) in snmp_mib_node_find()
362 if (n->nptr->node_type == MIB_NODE_LR) in snmp_mib_node_find()
364 r = (struct mib_list_rootnode *)n->nptr; in snmp_mib_node_find()
403 next = (struct mib_list_rootnode*)(n->nptr); in snmp_mib_node_delete()
479 if (an->nptr[i] == NULL) in snmp_search_tree()
492 node = an->nptr[i]; in snmp_search_tree()
528 if (ln->nptr == NULL) in snmp_search_tree()
539 node = ln->nptr; in snmp_search_tree()
661 if ((an->maxlength == 0) || (an->nptr == NULL)) in empty_table()
[all …]
/external/clang/test/CodeGen/
Dlibcalls-fno-builtin.c30 double strtod(const char *nptr, char **endptr);
31 float strtof(const char *nptr, char **endptr);
32 long double strtold(const char *nptr, char **endptr);
33 long int strtol(const char *nptr, char **endptr, int base);
34 long long int strtoll(const char *nptr, char **endptr, int base);
35 unsigned long int strtoul(const char *nptr, char **endptr, int base);
36 unsigned long long int strtoull(const char *nptr, char **endptr, int base);
/external/dhcpcd-6.8.2/compat/
Dstrtoi.c35 strtoi(const char * __restrict nptr, char ** __restrict endptr, int base, in strtoi() argument
50 r = strtoimax(nptr, endptr, base); in strtoi()
55 if (nptr == *endptr) in strtoi()
75 strtou(const char * __restrict nptr, char ** __restrict endptr, int base, in strtou() argument
90 r = strtoumax(nptr, endptr, base); in strtou()
95 if (nptr == *endptr) in strtou()
/external/libvpx/libvpx/examples/
Ddecode_with_drops.c83 char *nptr = NULL; in main() local
95 n = (int)strtol(argv[3], &nptr, 0); in main()
96 m = (int)strtol(nptr + 1, NULL, 0); in main()
97 is_range = (*nptr == '-'); in main()
98 if (!n || !m || (*nptr != '-' && *nptr != '/')) in main()
/external/libcxx/include/
Dcstdlib35 double atof (const char* nptr);
36 int atoi (const char* nptr);
37 long atol (const char* nptr);
38 long long atoll(const char* nptr); // C99
39 double strtod (const char* restrict nptr, char** restrict endptr);
40 float strtof (const char* restrict nptr, char** restrict endptr); // C99
41 long double strtold (const char* restrict nptr, char** restrict endptr); // C99
42 long strtol (const char* restrict nptr, char** restrict endptr, int base);
43 long long strtoll (const char* restrict nptr, char** restrict endptr, int base); // C99
44 unsigned long strtoul (const char* restrict nptr, char** restrict endptr, int base);
[all …]
/external/python/cpython2/Python/
Dpystrtod.c92 _PyOS_ascii_strtod(const char *nptr, char **endptr) in _PyOS_ascii_strtod() argument
97 assert(nptr != NULL); in _PyOS_ascii_strtod()
103 result = _Py_dg_strtod(nptr, endptr); in _PyOS_ascii_strtod()
106 if (*endptr == nptr) in _PyOS_ascii_strtod()
108 result = _Py_parse_inf_or_nan(nptr, endptr); in _PyOS_ascii_strtod()
125 _PyOS_ascii_strtod(const char *nptr, char **endptr) in _PyOS_ascii_strtod() argument
137 assert(nptr != NULL); in _PyOS_ascii_strtod()
150 val = _Py_parse_inf_or_nan(nptr, endptr); in _PyOS_ascii_strtod()
151 if (*endptr != nptr) in _PyOS_ascii_strtod()
161 p = nptr; in _PyOS_ascii_strtod()
[all …]
/external/compiler-rt/lib/dfsan/
Ddfsan_custom.cc519 long int __dfsw_strtol(const char *nptr, char **endptr, int base, in __dfsw_strtol() argument
523 long int ret = strtol(nptr, &tmp_endptr, base); in __dfsw_strtol()
527 if (tmp_endptr > nptr) { in __dfsw_strtol()
531 dfsan_read_label(nptr, tmp_endptr - nptr + (*tmp_endptr ? 0 : 1))); in __dfsw_strtol()
539 double __dfsw_strtod(const char *nptr, char **endptr, in __dfsw_strtod() argument
543 double ret = strtod(nptr, &tmp_endptr); in __dfsw_strtod()
547 if (tmp_endptr > nptr) { in __dfsw_strtod()
550 nptr, in __dfsw_strtod()
551 tmp_endptr - nptr + (*tmp_endptr ? 0 : 1)); in __dfsw_strtod()
559 long long int __dfsw_strtoll(const char *nptr, char **endptr, int base, in __dfsw_strtoll() argument
[all …]
/external/compiler-rt/test/asan/TestCases/Linux/
Dinterception_test.cc10 extern "C" long __interceptor_strtol(const char *nptr, char **endptr, int base);
11 extern "C" long strtol(const char *nptr, char **endptr, int base) { in strtol() argument
13 return __interceptor_strtol(nptr, endptr, base); in strtol()
/external/python/cpython3/Python/
Dpystrtod.c131 _PyOS_ascii_strtod(const char *nptr, char **endptr) in _PyOS_ascii_strtod() argument
136 assert(nptr != NULL); in _PyOS_ascii_strtod()
142 result = _Py_dg_strtod(nptr, endptr); in _PyOS_ascii_strtod()
145 if (*endptr == nptr) in _PyOS_ascii_strtod()
147 result = _Py_parse_inf_or_nan(nptr, endptr); in _PyOS_ascii_strtod()
164 _PyOS_ascii_strtod(const char *nptr, char **endptr) in _PyOS_ascii_strtod() argument
176 assert(nptr != NULL); in _PyOS_ascii_strtod()
189 val = _Py_parse_inf_or_nan(nptr, endptr); in _PyOS_ascii_strtod()
190 if (*endptr != nptr) in _PyOS_ascii_strtod()
200 p = nptr; in _PyOS_ascii_strtod()
[all …]
/external/libedit/src/
Dfilecomplete.c157 char *nptr; in fn_filename_completion_function() local
159 nptr = el_realloc(filename, (strlen(temp) + 1) * in fn_filename_completion_function()
160 sizeof(*nptr)); in fn_filename_completion_function()
161 if (nptr == NULL) { in fn_filename_completion_function()
166 filename = nptr; in fn_filename_completion_function()
170 nptr = el_realloc(dirname, (len + 1) * in fn_filename_completion_function()
171 sizeof(*nptr)); in fn_filename_completion_function()
172 if (nptr == NULL) { in fn_filename_completion_function()
177 dirname = nptr; in fn_filename_completion_function()
/external/clang/test/Analysis/
Dmethod-call-intra-p.cpp9 void ttt(const int &nptr);
10 virtual void vttt(const int *nptr);
13 virtual void vttt(const int *nptr);
/external/protobuf/src/google/protobuf/stubs/
Dstrutil.h350 LIBPROTOBUF_EXPORT int32 strto32_adaptor(const char *nptr, char **endptr,
352 LIBPROTOBUF_EXPORT uint32 strtou32_adaptor(const char *nptr, char **endptr,
355 inline int32 strto32(const char *nptr, char **endptr, int base) { in strto32() argument
357 return strtol(nptr, endptr, base); in strto32()
359 return strto32_adaptor(nptr, endptr, base); in strto32()
362 inline uint32 strtou32(const char *nptr, char **endptr, int base) { in strtou32() argument
364 return strtoul(nptr, endptr, base); in strtou32()
366 return strtou32_adaptor(nptr, endptr, base); in strtou32()
371 inline int64 strto64(const char *nptr, char **endptr, int base) { in strto64() argument
374 return strtoll(nptr, endptr, base); in strto64()
[all …]
/external/ltp/tools/genload/
Dstress.c79 long long atoll_s(const char *nptr);
80 long long atoll_b(const char *nptr);
382 long long atoll_b(const char *nptr) in atoll_b() argument
388 if ((pos = strlen(nptr) - 1) < 0) { in atoll_b()
393 switch (suffix = nptr[pos]) { in atoll_b()
413 factor = atoll(nptr) * factor; in atoll_b()
421 long long atoll_s(const char *nptr) in atoll_s() argument
427 if ((pos = strlen(nptr) - 1) < 0) { in atoll_s()
432 switch (suffix = nptr[pos]) { in atoll_s()
460 factor = atoll(nptr) * factor; in atoll_s()
Dgenload.c79 long long atoll_s(const char *nptr);
80 long long atoll_b(const char *nptr);
382 long long atoll_b(const char *nptr) in atoll_b() argument
388 if ((pos = strlen(nptr) - 1) < 0) { in atoll_b()
393 switch (suffix = nptr[pos]) { in atoll_b()
413 factor = atoll(nptr) * factor; in atoll_b()
421 long long atoll_s(const char *nptr) in atoll_s() argument
427 if ((pos = strlen(nptr) - 1) < 0) { in atoll_s()
432 switch (suffix = nptr[pos]) { in atoll_s()
460 factor = atoll(nptr) * factor; in atoll_s()
/external/libcxx/src/support/win32/
Dlocale_win32.cpp114 float strtof_l(const char* nptr, char** endptr, locale_t loc) { in strtof_l() argument
116 return strtof(nptr, endptr); in strtof_l()
119 long double strtold_l(const char* nptr, char** endptr, locale_t loc) { in strtold_l() argument
121 return strtold(nptr, endptr); in strtold_l()

123