Searched refs:end_ptr (Results 1 – 2 of 2) sorted by relevance
65 char *end_ptr; in parse_int() local66 *out = strtol(str, &end_ptr, 0); in parse_int()67 return *str && !*end_ptr; in parse_int()76 char *end_ptr; in parse_unsigned() local77 *out = strtoul(str, &end_ptr, 0); in parse_unsigned()78 return *str && !*end_ptr; in parse_unsigned()
33 char *cur_ptr = buffer, *end_ptr = buffer + sizeof(buffer); in ReadRaw() local36 int bytes = adb_read(fd, cur_ptr, end_ptr - cur_ptr); in ReadRaw()