Home
last modified time | relevance | path

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

/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.cpp295 char *endptr; in sFastTrackMultiplierInit() local
296 unsigned long ul = strtoul(value, &endptr, 0); in sFastTrackMultiplierInit()
297 if (*endptr == '\0' && kFastTrackMultiplierMin <= ul && ul <= kFastTrackMultiplierMax) { in sFastTrackMultiplierInit()
3314 char *endptr; in checkSilentMode_l() local
3315 unsigned long ul = strtoul(value, &endptr, 0); in checkSilentMode_l()
3316 if (*endptr == '\0' && ul != 0) { in checkSilentMode_l()
10483 char *endptr; in checkSilentMode_l() local
10484 unsigned long ul = strtoul(value, &endptr, 0); in checkSilentMode_l()
10485 if (*endptr == '\0' && ul != 0) { in checkSilentMode_l()
/frameworks/libs/net/common/netd/libnetdutils/
DInternetAddresses.cpp139 char* endptr; in forString() local
140 unsigned long prefixlen = strtoul(prefixString, &endptr, 10); in forString()
141 if (*endptr != '\0') return false; in forString()
/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.cpp190 char* endptr; in main() local
191 timeoutArgMs = strtol(optarg, &endptr, 10); in main()
193 if (*endptr != '\0' || timeoutArgMs <= 0) { in main()
202 char* endptr; in main() local
203 timeoutArgMs = strtol(optarg, &endptr, 10); in main()
204 if (*endptr != '\0' || timeoutArgMs <= 0) { in main()
/frameworks/base/cmds/idmap2/idmap2/
DLookup.cpp66 char* endptr = nullptr; in ParseResReference() local
67 const ResourceId parsed_resid = strtol(res.c_str(), &endptr, kBaseHex); in ParseResReference()
68 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/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/av/cmds/screenrecord/
Dscreenrecord.cpp1074 char* endptr; in parseValueWithUnit() local
1076 value = strtol(str, &endptr, 10); in parseValueWithUnit()
1077 if (*endptr == '\0') { in parseValueWithUnit()
1081 } else if (toupper(*endptr) == 'M' && *(endptr+1) == '\0') { in parseValueWithUnit()
/frameworks/base/cmds/incidentd/src/
DWorkDirectory.cpp127 char* endptr; in parse_timestamp_ns() local
128 *result = strtoll(id.c_str(), &endptr, 10); in parse_timestamp_ns()
129 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()