HomeSort by relevance Sort by last modified time
    Searched refs:ParseUint (Results 1 - 25 of 107) sorted by null

1 2 3 4 5

  /system/core/base/
parseint_test.cpp 43 ASSERT_FALSE(android::base::ParseUint("x", &i));
44 ASSERT_FALSE(android::base::ParseUint("123x", &i));
46 ASSERT_TRUE(android::base::ParseUint("123", &i));
48 ASSERT_FALSE(android::base::ParseUint("-123", &i));
51 ASSERT_TRUE(android::base::ParseUint("1234", &s));
54 ASSERT_TRUE(android::base::ParseUint("12", &i, 15u));
56 ASSERT_FALSE(android::base::ParseUint("-12", &i, 15u));
57 ASSERT_FALSE(android::base::ParseUint("16", &i, 15u));
66 ASSERT_TRUE(android::base::ParseUint("0123", &u));
76 ASSERT_TRUE(android::base::ParseUint("0x123", &u))
    [all...]
  /prebuilts/go/darwin-x86/test/fixedbugs/
bug260.go 31 a0, _ := strconv.ParseUint(fmt.Sprintf("%p", &b1[0])[2:], 16, 64)
32 a1, _ := strconv.ParseUint(fmt.Sprintf("%p", &b1[1])[2:], 16, 64)
41 a0, _ = strconv.ParseUint(fmt.Sprintf("%p", &b2[0])[2:], 16, 64)
42 a1, _ = strconv.ParseUint(fmt.Sprintf("%p", &b2[1])[2:], 16, 64)
53 a0, _ = strconv.ParseUint(fmt.Sprintf("%p", &b4[0])[2:], 16, 64)
54 a1, _ = strconv.ParseUint(fmt.Sprintf("%p", &b4[1])[2:], 16, 64)
  /prebuilts/go/linux-x86/test/fixedbugs/
bug260.go 31 a0, _ := strconv.ParseUint(fmt.Sprintf("%p", &b1[0])[2:], 16, 64)
32 a1, _ := strconv.ParseUint(fmt.Sprintf("%p", &b1[1])[2:], 16, 64)
41 a0, _ = strconv.ParseUint(fmt.Sprintf("%p", &b2[0])[2:], 16, 64)
42 a1, _ = strconv.ParseUint(fmt.Sprintf("%p", &b2[1])[2:], 16, 64)
53 a0, _ = strconv.ParseUint(fmt.Sprintf("%p", &b4[0])[2:], 16, 64)
54 a1, _ = strconv.ParseUint(fmt.Sprintf("%p", &b4[1])[2:], 16, 64)
  /system/core/base/include/android-base/
parseint.h 34 bool ParseUint(const char* s, T* out,
52 bool ParseUint(const std::string& s, T* out,
54 return ParseUint(s.c_str(), out, max);
  /system/core/storaged/
storaged_uid_monitor.cpp 102 !ParseUint(fields[0], &u.uid) ||
103 !ParseUint(fields[1], &u.io[FOREGROUND].rchar) ||
104 !ParseUint(fields[2], &u.io[FOREGROUND].wchar) ||
105 !ParseUint(fields[3], &u.io[FOREGROUND].read_bytes) ||
106 !ParseUint(fields[4], &u.io[FOREGROUND].write_bytes) ||
107 !ParseUint(fields[5], &u.io[BACKGROUND].rchar) ||
108 !ParseUint(fields[6], &u.io[BACKGROUND].wchar) ||
109 !ParseUint(fields[7], &u.io[BACKGROUND].read_bytes) ||
110 !ParseUint(fields[8], &u.io[BACKGROUND].write_bytes) ||
111 !ParseUint(fields[9], &u.io[FOREGROUND].fsync) |
    [all...]
storaged_info.cpp 142 if (!ParseUint(str, &rev) ||
151 if (!ParseUint(str, &eol)) {
156 if (!ParseUint(str, &lifetime_a)) {
161 if (!ParseUint(str, &lifetime_b)) {
  /system/libvintf/
parse_string.cpp 23 using base::ParseUint;
120 // ParseInt / ParseUint are not used because they do not handle signed hex very well.
192 if (!ParseUint(v[0], &major)) {
195 if (!ParseUint(v[1], &minor)) {
219 if (!ParseUint(v[1], &maxMinor)) {
243 if (!ParseUint(minVector[0], &vr->sdk) ||
244 !ParseUint(minVector[1], &vr->vndk) ||
245 !ParseUint(minVector[2], &vr->patchMin)) {
252 return ParseUint(v[1], &vr->patchMax);
270 if (!ParseUint(v[0], &version))
    [all...]
  /bootable/recovery/updater/include/updater/
rangeset.h 57 CHECK(android::base::ParseUint(pieces[0], &num, static_cast<size_t>(INT_MAX)))
67 CHECK(android::base::ParseUint(pieces[i + 1], &first, static_cast<size_t>(INT_MAX)));
69 CHECK(android::base::ParseUint(pieces[i + 2], &second, static_cast<size_t>(INT_MAX)));
  /prebuilts/go/darwin-x86/src/cmd/vendor/golang.org/x/arch/x86/x86asm/
plan9ext_test.go 77 targ, _ := strconv.ParseUint(m[2], 16, 64)
81 targ, _ := strconv.ParseUint(m[2], 16, 64)
109 x, err := strconv.ParseUint(string(trimSpace(line[2:i])), 16, 32)
xedext_test.go 90 targ, _ := strconv.ParseUint(m[2], 16, 64)
94 targ, _ := strconv.ParseUint(m[2], 16, 64)
140 x, err := strconv.ParseUint(string(trimSpace(line[i:i+j])), 16, 32)
156 x, err := strconv.ParseUint(string(trimSpace(line[len(xdis):i])), 16, 32)
  /prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/arch/x86/x86asm/
plan9ext_test.go 77 targ, _ := strconv.ParseUint(m[2], 16, 64)
81 targ, _ := strconv.ParseUint(m[2], 16, 64)
109 x, err := strconv.ParseUint(string(trimSpace(line[2:i])), 16, 32)
xedext_test.go 90 targ, _ := strconv.ParseUint(m[2], 16, 64)
94 targ, _ := strconv.ParseUint(m[2], 16, 64)
140 x, err := strconv.ParseUint(string(trimSpace(line[i:i+j])), 16, 32)
156 x, err := strconv.ParseUint(string(trimSpace(line[len(xdis):i])), 16, 32)
  /cts/tests/aslr/src/
AslrMallocTest.cpp 102 ASSERT_TRUE(android::base::ParseUint(output.c_str(), &address));
145 if (!android::base::ParseUint(argv[2], &size)) {
  /prebuilts/go/darwin-x86/src/strconv/
atoi_test.go 203 test.err = &NumError{"ParseUint", test.in, test.err}
209 test.err = &NumError{"ParseUint", test.in, test.err}
227 test.err = &NumError{"ParseUint", test.in, test.err}
241 out, err := ParseUint(test.in, 10, 64)
252 out, err := ParseUint(test.in, 0, 64)
254 t.Errorf("ParseUint(%q) = %v, %v want %v, %v",
287 out, err := ParseUint(test.in, 10, 0)
296 out, err := ParseUint(test.in, 10, 0)
doc.go 17 // ParseBool, ParseFloat, ParseInt, and ParseUint convert strings to values:
22 // u, err := strconv.ParseUint("42", 10, 64)
strconv_test.go 64 _, errUint64 := ParseUint("INVALID", 10, 64)
74 {errUint64, "ParseUint"},
atoi.go 17 Func string // the failing function (ParseBool, ParseInt, ParseUint, ParseFloat)
41 // ParseUint is like ParseInt but for unsigned numbers.
42 func ParseUint(s string, base int, bitSize int) (uint64, error) {
137 return n, &NumError{"ParseUint", s, err}
180 un, err = ParseUint(s, base, bitSize)
  /prebuilts/go/linux-x86/src/strconv/
atoi_test.go 203 test.err = &NumError{"ParseUint", test.in, test.err}
209 test.err = &NumError{"ParseUint", test.in, test.err}
227 test.err = &NumError{"ParseUint", test.in, test.err}
241 out, err := ParseUint(test.in, 10, 64)
252 out, err := ParseUint(test.in, 0, 64)
254 t.Errorf("ParseUint(%q) = %v, %v want %v, %v",
287 out, err := ParseUint(test.in, 10, 0)
296 out, err := ParseUint(test.in, 10, 0)
doc.go 17 // ParseBool, ParseFloat, ParseInt, and ParseUint convert strings to values:
22 // u, err := strconv.ParseUint("42", 10, 64)
strconv_test.go 64 _, errUint64 := ParseUint("INVALID", 10, 64)
74 {errUint64, "ParseUint"},
atoi.go 17 Func string // the failing function (ParseBool, ParseInt, ParseUint, ParseFloat)
41 // ParseUint is like ParseInt but for unsigned numbers.
42 func ParseUint(s string, base int, bitSize int) (uint64, error) {
137 return n, &NumError{"ParseUint", s, err}
180 un, err = ParseUint(s, base, bitSize)
  /bootable/recovery/update_verifier/
update_verifier.cpp 134 bool status = android::base::ParseUint(ranges[0], &range_count);
161 bool parse_status = android::base::ParseUint(ranges[i], &range_start);
162 parse_status = parse_status && android::base::ParseUint(ranges[i + 1], &range_end);
  /bootable/recovery/applypatch/
freecache.cpp 46 if (!android::base::ParseUint(de->d_name, &pid)) {
  /bootable/recovery/
rotate_logs.cpp 77 if (!android::base::ParseUint(number, &i)) {
  /external/boringssl/src/util/fipstools/
ar.go 56 size, err := strconv.ParseUint(sizeStr, 10, 64)
91 offset, err := strconv.ParseUint(name[1:], 10, 64)

Completed in 585 milliseconds

1 2 3 4 5