Searched refs:endptr (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/cmds/idmap/ |
D | idmap.cpp | 133 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/ |
D | FastMixerState.cpp | 76 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()
|
D | Threads.cpp | 213 char *endptr; in sFastTrackMultiplierInit() local 214 unsigned long ul = strtoul(value, &endptr, 0); in sFastTrackMultiplierInit() 215 if (*endptr == '\0' && kFastTrackMultiplierMin <= ul && ul <= kFastTrackMultiplierMax) { in sFastTrackMultiplierInit() 2808 char *endptr; in checkSilentMode_l() local 2809 unsigned long ul = strtoul(value, &endptr, 0); in checkSilentMode_l() 2810 if (*endptr == '\0' && ul != 0) { in checkSilentMode_l() 8831 char *endptr; in checkSilentMode_l() local 8832 unsigned long ul = strtoul(value, &endptr, 0); in checkSilentMode_l() 8833 if (*endptr == '\0' && ul != 0) { in checkSilentMode_l()
|
/frameworks/minikin/tests/util/ |
D | UnicodeUtils.cpp | 55 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/ |
D | dumpsys.cpp | 165 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/av/camera/ |
D | CameraParameters2.cpp | 186 char **endptr = NULL) in parse_pair() argument 203 if (endptr) { in parse_pair() 204 *endptr = end; in parse_pair()
|
D | CameraParameters.cpp | 298 char **endptr = NULL) in parse_pair() argument 315 if (endptr) { in parse_pair() 316 *endptr = end; in parse_pair()
|
/frameworks/av/cmds/screenrecord/ |
D | screenrecord.cpp | 867 char* endptr; in parseValueWithUnit() local 869 value = strtol(str, &endptr, 10); in parseValueWithUnit() 870 if (*endptr == '\0') { in parseValueWithUnit() 874 } else if (toupper(*endptr) == 'M' && *(endptr+1) == '\0') { in parseValueWithUnit()
|
/frameworks/av/media/libaudioprocessing/ |
D | AudioResampler.cpp | 112 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/compile/mclinker/lib/LD/ |
D | ELFObjectWriter.cpp | 283 char* endptr; in getEntryPoint() local 284 result = strtoull(entry_name.data(), &endptr, 0); in getEntryPoint() 285 if (*endptr != '\0') { in getEntryPoint()
|