Home
last modified time | relevance | path

Searched refs:endptr (Results 1 – 12 of 12) 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.cpp222 char *endptr; in sFastTrackMultiplierInit() local
223 unsigned long ul = strtoul(value, &endptr, 0); in sFastTrackMultiplierInit()
224 if (*endptr == '\0' && kFastTrackMultiplierMin <= ul && ul <= kFastTrackMultiplierMax) { in sFastTrackMultiplierInit()
2956 char *endptr; in checkSilentMode_l() local
2957 unsigned long ul = strtoul(value, &endptr, 0); in checkSilentMode_l()
2958 if (*endptr == '\0' && ul != 0) { in checkSilentMode_l()
9384 char *endptr; in checkSilentMode_l() local
9385 unsigned long ul = strtoul(value, &endptr, 0); in checkSilentMode_l()
9386 if (*endptr == '\0' && ul != 0) { in checkSilentMode_l()
/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.cpp171 char* endptr; in main() local
172 timeoutArgMs = strtol(optarg, &endptr, 10); in main()
174 if (*endptr != '\0' || timeoutArgMs <= 0) { in main()
183 char* endptr; in main() local
184 timeoutArgMs = strtol(optarg, &endptr, 10); in main()
185 if (*endptr != '\0' || timeoutArgMs <= 0) { in main()
/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.cpp187 char **endptr = NULL) in parse_pair() argument
204 if (endptr) { in parse_pair()
205 *endptr = end; in parse_pair()
DCameraParameters.cpp299 char **endptr = NULL) in parse_pair() argument
316 if (endptr) { in parse_pair()
317 *endptr = end; in parse_pair()
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp906 char* endptr; in parseValueWithUnit() local
908 value = strtol(str, &endptr, 10); in parseValueWithUnit()
909 if (*endptr == '\0') { in parseValueWithUnit()
913 } 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()