Home
last modified time | relevance | path

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

/frameworks/base/cmds/idmap/
Didmap.cpp133 char *endptr; in maybe_create_fd() local
134 int idmap_fd = strtol(idmap_str, &endptr, 10); in maybe_create_fd()
135 if (*endptr != '\0') { in maybe_create_fd()
177 char *endptr; in maybe_verify_fd() local
178 int idmap_fd = strtol(idmap_str, &endptr, 10); in maybe_verify_fd()
179 if (*endptr != '\0') { in maybe_verify_fd()
/frameworks/av/services/audioflinger/
DFastMixerState.cpp76 char *endptr; in sMaxFastTracksInit() local
77 unsigned long ul = strtoul(value, &endptr, 0); in sMaxFastTracksInit()
78 if (*endptr == '\0' && kMinFastTracks <= ul && ul <= kMaxFastTracks) { in sMaxFastTracksInit()
DThreads.cpp219 char *endptr; in sFastTrackMultiplierInit() local
220 unsigned long ul = strtoul(value, &endptr, 0); in sFastTrackMultiplierInit()
221 if (*endptr == '\0' && kFastTrackMultiplierMin <= ul && ul <= kFastTrackMultiplierMax) { in sFastTrackMultiplierInit()
2899 char *endptr; in checkSilentMode_l() local
2900 unsigned long ul = strtoul(value, &endptr, 0); in checkSilentMode_l()
2901 if (*endptr == '\0' && ul != 0) { in checkSilentMode_l()
9350 char *endptr; in checkSilentMode_l() local
9351 unsigned long ul = strtoul(value, &endptr, 0); in checkSilentMode_l()
9352 if (*endptr == '\0' && ul != 0) { in checkSilentMode_l()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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 …]
Dstrutil.cc634 int32 strto32_adaptor(const char *nptr, char **endptr, int base) { in strto32_adaptor() argument
637 const long result = strtol(nptr, endptr, base); in strto32_adaptor()
654 uint32 strtou32_adaptor(const char *nptr, char **endptr, int base) { in strtou32_adaptor() argument
657 const unsigned long result = strtoul(nptr, endptr, base); in strtou32_adaptor()
1323 char* endptr; in safe_strtof() local
1326 *value = strtod(str, &endptr); in safe_strtof()
1328 *value = strtof(str, &endptr); in safe_strtof()
1330 return *str != 0 && *endptr == 0 && errno == 0; in safe_strtof()
1334 char* endptr; in safe_strtod() local
1335 *value = strtod(str, &endptr); in safe_strtod()
[all …]
/frameworks/minikin/tests/util/
DUnicodeUtils.cpp55 char* endptr = (char*)src + input_ix; in ParseUnicode() local
56 unsigned long int codepoint = strtoul(src + input_ix, &endptr, 16); in ParseUnicode()
57 size_t num_hex_digits = endptr - (src + input_ix); in ParseUnicode()
/frameworks/native/cmds/dumpsys/
Ddumpsys.cpp165 char* endptr; in main() local
166 timeoutArgMs = strtol(optarg, &endptr, 10); in main()
168 if (*endptr != '\0' || timeoutArgMs <= 0) { in main()
177 char* endptr; in main() local
178 timeoutArgMs = strtol(optarg, &endptr, 10); in main()
179 if (*endptr != '\0' || timeoutArgMs <= 0) { in main()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/
Dstrtod.h44 double NoLocaleStrtod(const char* str, char** endptr);
/frameworks/base/cmds/idmap2/idmap2/
DLookup.cpp71 char* endptr = nullptr; in ParseResReference() local
73 resid = strtol(res.c_str(), &endptr, kBaseHex); in ParseResReference()
74 if (*endptr == '\0') { in ParseResReference()
/frameworks/av/camera/
DCameraParameters2.cpp186 char **endptr = NULL) in parse_pair() argument
203 if (endptr) { in parse_pair()
204 *endptr = end; in parse_pair()
DCameraParameters.cpp298 char **endptr = NULL) in parse_pair() argument
315 if (endptr) { in parse_pair()
316 *endptr = end; in parse_pair()
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp900 char* endptr; in parseValueWithUnit() local
902 value = strtol(str, &endptr, 10); in parseValueWithUnit()
903 if (*endptr == '\0') { in parseValueWithUnit()
907 } else if (toupper(*endptr) == 'M' && *(endptr+1) == '\0') { in parseValueWithUnit()
/frameworks/av/media/libaudioprocessing/
DAudioResampler.cpp112 char *endptr; in init_routine() local
113 unsigned long l = strtoul(value, &endptr, 0); in init_routine()
114 if (*endptr == '\0') { in init_routine()
/frameworks/base/cmds/incidentd/src/
DWorkDirectory.cpp124 char* endptr; in parse_timestamp_ns() local
125 *result = strtoll(id.c_str(), &endptr, 10); in parse_timestamp_ns()
126 return id.length() != 0 && *endptr == '\0'; in parse_timestamp_ns()
/frameworks/compile/mclinker/lib/LD/
DELFObjectWriter.cpp283 char* endptr; in getEntryPoint() local
284 result = strtoull(entry_name.data(), &endptr, 0); in getEntryPoint()
285 if (*endptr != '\0') { in getEntryPoint()