Home
last modified time | relevance | path

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

1234

/external/libcxx/include/support/xlocale/
D__strtonum_fallback.h23 inline _LIBCPP_INLINE_VISIBILITY float strtof_l(const char *nptr, in strtof_l() argument
25 return ::strtof(nptr, endptr); in strtof_l()
28 inline _LIBCPP_INLINE_VISIBILITY double strtod_l(const char *nptr, in strtod_l() argument
30 return ::strtod(nptr, endptr); in strtod_l()
33 inline _LIBCPP_INLINE_VISIBILITY 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/mtools/
Dstrtonum.c21 static long strtol_with_range(const char *nptr, char **endptr, int base, in strtol_with_range() argument
23 long l = strtol(nptr, endptr, base); in strtol_with_range()
35 static unsigned long strtoul_with_range(const char *nptr, char **endptr, in strtoul_with_range() argument
37 unsigned long l = strtoul(nptr, endptr, base); in strtoul_with_range()
46 unsigned int strtoui(const char *nptr, char **endptr, int base) { in strtoui() argument
47 return (unsigned int) strtoul_with_range(nptr, endptr, base, UINT_MAX); in strtoui()
56 int strtoi(const char *nptr, char **endptr, int base) { in strtoi() argument
57 return (int) strtol_with_range(nptr, endptr, base, INT_MIN, INT_MAX); in strtoi()
65 uint8_t strtou8(const char *nptr, char **endptr, int base) { in strtou8() argument
66 return (uint8_t) strtoul_with_range(nptr, endptr, base, UINT8_MAX); in strtou8()
[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/blktrace/iowatcher/
Dmpstat.c261 char *nptr; in read_mpstat_event() local
270 val = strtod(cur, &nptr); in read_mpstat_event()
271 if (val == 0 && cur == nptr) in read_mpstat_event()
276 cur = nptr; in read_mpstat_event()
277 val = strtod(cur, &nptr); in read_mpstat_event()
278 if (val == 0 && cur == nptr) in read_mpstat_event()
282 cur = nptr; in read_mpstat_event()
283 val = strtod(cur, &nptr); in read_mpstat_event()
284 if (val == 0 && cur == nptr) in read_mpstat_event()
288 cur = nptr; in read_mpstat_event()
[all …]
/external/rust/crates/ring/crypto/fipsmodule/bn/asm/
Dx86_64-mont5.pl1074 my $nptr="%rcx"; # const BN_ULONG *nptr,
1180 movq $nptr,%xmm2 # save $nptr
1195 movq %xmm2,$nptr
1760 my ($nptr,$tptr,$carry,$m0)=("%rbp","%rdi","%rsi","%rbx");
1763 movq %xmm2,$nptr
1766 lea ($nptr,$num),%rcx # end of n[]
1792 mov 8*0($nptr),%rax # n[0]
1799 mov 8*1($nptr),%rax # n[1]
1806 mov 8*2($nptr),%rax
1815 mov 8*3($nptr),%rax
[all …]
Dx86_64-mont.pl811 my $nptr="%rcx"; # const BN_ULONG *nptr,
903 movq $nptr, %xmm2 # save pointer to modulus
1095 my ($aptr, $bptr, $nptr, $tptr, $mi, $bi, $zero, $num)=
1122 mulx 0*8($nptr),%rax,%r10
1125 mulx 1*8($nptr),%rax,%r11
1128 .byte 0xc4,0x62,0xfb,0xf6,0xa1,0x10,0x00,0x00,0x00 # mulx 2*8($nptr),%rax,%r12
1133 mulx 3*8($nptr),%rax,%r15
1138 lea 4*8($nptr),$nptr
1161 mulx 0*8($nptr),%rax,%r15
1164 mulx 1*8($nptr),%rax,%r15
[all …]
Darmv4-mont.pl308 my ($rptr,$aptr,$bptr,$nptr,$n0,$num)=map("r$_",(0..5));
350 vld1.32 {$N0-$N3}, [$nptr]!
478 vld1.32 {$N0-$N3},[$nptr]!
564 vld1.32 {$N0-$N3},[$nptr]!
637 subne $nptr,$nptr,$num,lsl#2 @ rewind
685 sub $nptr,$nptr,$num,lsl#2 @ rewind $nptr
691 ldmia $nptr!, {r8-r11}
707 mov $nptr,$bptr @ second 3/4th of frame
715 vst1.64 {q0-q1}, [$nptr,:256]! @ wipe
719 vst1.64 {q0-q1}, [$nptr,:256]! @ wipe
[all …]
/external/boringssl/src/crypto/fipsmodule/bn/asm/
Dx86_64-mont5.pl1085 my $nptr="%rcx"; # const BN_ULONG *nptr,
1191 movq $nptr,%xmm2 # save $nptr
1206 movq %xmm2,$nptr
1771 my ($nptr,$tptr,$carry,$m0)=("%rbp","%rdi","%rsi","%rbx");
1774 movq %xmm2,$nptr
1777 lea ($nptr,$num),%rcx # end of n[]
1803 mov 8*0($nptr),%rax # n[0]
1810 mov 8*1($nptr),%rax # n[1]
1817 mov 8*2($nptr),%rax
1826 mov 8*3($nptr),%rax
[all …]
Dx86_64-mont.pl812 my $nptr="%rcx"; # const BN_ULONG *nptr,
904 movq $nptr, %xmm2 # save pointer to modulus
1097 my ($aptr, $bptr, $nptr, $tptr, $mi, $bi, $zero, $num)=
1124 mulx 0*8($nptr),%rax,%r10
1127 mulx 1*8($nptr),%rax,%r11
1130 .byte 0xc4,0x62,0xfb,0xf6,0xa1,0x10,0x00,0x00,0x00 # mulx 2*8($nptr),%rax,%r12
1135 mulx 3*8($nptr),%rax,%r15
1140 lea 4*8($nptr),$nptr
1163 mulx 0*8($nptr),%rax,%r15
1166 mulx 1*8($nptr),%rax,%r15
[all …]
Darmv4-mont.pl306 my ($rptr,$aptr,$bptr,$nptr,$n0,$num)=map("r$_",(0..5));
348 vld1.32 {$N0-$N3}, [$nptr]!
476 vld1.32 {$N0-$N3},[$nptr]!
562 vld1.32 {$N0-$N3},[$nptr]!
635 subne $nptr,$nptr,$num,lsl#2 @ rewind
683 sub $nptr,$nptr,$num,lsl#2 @ rewind $nptr
689 ldmia $nptr!, {r8-r11}
705 mov $nptr,$bptr @ second 3/4th of frame
713 vst1.64 {q0-q1}, [$nptr,:256]! @ wipe
717 vst1.64 {q0-q1}, [$nptr,:256]! @ wipe
[all …]
/external/cronet/third_party/boringssl/src/crypto/fipsmodule/bn/asm/
Dx86_64-mont5.pl1085 my $nptr="%rcx"; # const BN_ULONG *nptr,
1191 movq $nptr,%xmm2 # save $nptr
1206 movq %xmm2,$nptr
1771 my ($nptr,$tptr,$carry,$m0)=("%rbp","%rdi","%rsi","%rbx");
1774 movq %xmm2,$nptr
1777 lea ($nptr,$num),%rcx # end of n[]
1803 mov 8*0($nptr),%rax # n[0]
1810 mov 8*1($nptr),%rax # n[1]
1817 mov 8*2($nptr),%rax
1826 mov 8*3($nptr),%rax
[all …]
Dx86_64-mont.pl812 my $nptr="%rcx"; # const BN_ULONG *nptr,
904 movq $nptr, %xmm2 # save pointer to modulus
1097 my ($aptr, $bptr, $nptr, $tptr, $mi, $bi, $zero, $num)=
1124 mulx 0*8($nptr),%rax,%r10
1127 mulx 1*8($nptr),%rax,%r11
1130 .byte 0xc4,0x62,0xfb,0xf6,0xa1,0x10,0x00,0x00,0x00 # mulx 2*8($nptr),%rax,%r12
1135 mulx 3*8($nptr),%rax,%r15
1140 lea 4*8($nptr),$nptr
1163 mulx 0*8($nptr),%rax,%r15
1166 mulx 1*8($nptr),%rax,%r15
[all …]
Darmv4-mont.pl306 my ($rptr,$aptr,$bptr,$nptr,$n0,$num)=map("r$_",(0..5));
348 vld1.32 {$N0-$N3}, [$nptr]!
476 vld1.32 {$N0-$N3},[$nptr]!
562 vld1.32 {$N0-$N3},[$nptr]!
635 subne $nptr,$nptr,$num,lsl#2 @ rewind
683 sub $nptr,$nptr,$num,lsl#2 @ rewind $nptr
689 ldmia $nptr!, {r8-r11}
705 mov $nptr,$bptr @ second 3/4th of frame
713 vst1.64 {q0-q1}, [$nptr,:256]! @ wipe
717 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/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/libaom/examples/
Ddecode_with_drops.c80 char *nptr = NULL; in main() local
92 n = (int)strtol(argv[3], &nptr, 0); in main()
93 m = (int)strtol(nptr + 1, NULL, 0); in main()
94 is_range = (*nptr == '-'); in main()
95 if (!n || !m || (*nptr != '-' && *nptr != '/')) in main()
/external/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/cronet/buildtools/third_party/libc++/trunk/include/
Dcstdlib34 double atof (const char* nptr);
35 int atoi (const char* nptr);
36 long atol (const char* nptr);
37 long long atoll(const char* nptr); // C99
38 double strtod (const char* restrict nptr, char** restrict endptr);
39 float strtof (const char* restrict nptr, char** restrict endptr); // C99
40 long double strtold (const char* restrict nptr, char** restrict endptr); // C99
41 long strtol (const char* restrict nptr, char** restrict endptr, int base);
42 long long strtoll (const char* restrict nptr, char** restrict endptr, int base); // C99
43 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/arm-trusted-firmware/include/lib/libc/
Dstdlib.h28 long strtol(const char *nptr, char **endptr, int base);
29 unsigned long strtoul(const char *nptr, char **endptr, int base);
30 long long strtoll(const char *nptr, char **endptr, int base);
31 unsigned long long strtoull(const char *nptr, char **endptr, int base);
/external/cronet/base/allocator/partition_allocator/
Dtagging.cc138 char* nptr = reinterpret_cast<char*>(__arm_mte_create_random_tag(ptr, mask)); in TagRegionRandomlyForMTE() local
141 __arm_mte_set_tag(nptr + in TagRegionRandomlyForMTE()
144 return nptr; in TagRegionRandomlyForMTE()
154 char* nptr = reinterpret_cast<char*>(__arm_mte_increment_tag(ptr, 1u)); in TagRegionIncrementForMTE() local
157 __arm_mte_set_tag(nptr + i); in TagRegionIncrementForMTE()
159 return nptr; in TagRegionIncrementForMTE()
/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/bc/src/
Dlibrary.c754 BclNum* nptr; in bcl_num_setScale() local
768 nptr = BCL_NUM(ctxt, n); in bcl_num_setScale()
770 assert(nptr != NULL && BCL_NUM_ARRAY(nptr) != NULL); in bcl_num_setScale()
772 if (scale > BCL_NUM_NUM(nptr)->scale) in bcl_num_setScale()
774 bc_num_extend(BCL_NUM_NUM(nptr), scale - BCL_NUM_NUM(nptr)->scale); in bcl_num_setScale()
776 else if (scale < BCL_NUM_NUM(nptr)->scale) in bcl_num_setScale()
778 bc_num_truncate(BCL_NUM_NUM(nptr), BCL_NUM_NUM(nptr)->scale - scale); in bcl_num_setScale()
1275 BclNum* nptr; in bcl_zero() local
1285 nptr = BCL_NUM(ctxt, n); in bcl_zero()
1287 assert(nptr != NULL && BCL_NUM_NUM(nptr) != NULL); in bcl_zero()
[all …]

1234