Home
last modified time | relevance | path

Searched refs:stringToInt (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/cmds/uinput/src/com/android/commands/uinput/
DJsonStyleParser.java127 private int readValueAsInt(Function<String, Integer> stringToInt) throws IOException { in readValueAsInt() argument
139 return stringToInt.apply(str); in readValueAsInt()
/frameworks/base/tools/aapt2/
DResourceUtils.cpp497 if (android::ResTable::stringToInt(str16.data(), str16.size(), &value)) { in ParseInt()
508 if (android::ResTable::stringToInt(str16.data(), str16.size(), &value)) { in ParseResourceId()
524 if (android::ResTable::stringToInt(str16.data(), str16.size(), &value)) { in ParseSdkVersion()
561 if (!android::ResTable::stringToInt(str16.data(), str16.size(), &value)) { in TryParseInt()
DResourceParser.cpp1331 if (android::ResTable::stringToInt(min_str16.data(), min_str16.size(), &value)) { in ParseAttrImpl()
1348 if (android::ResTable::stringToInt(max_str16.data(), max_str16.size(), &value)) { in ParseAttrImpl()
1479 if (!android::ResTable::stringToInt(value16.data(), value16.size(), &val)) { in ParseEnumOrFlagItem()
/frameworks/base/tools/aapt/
DResourceTable.cpp384 if (!ResTable::stringToInt(val.c_str(), val.size(), NULL)) { in compileAttribute()
402 if (!ResTable::stringToInt(val.c_str(), val.size(), NULL)) { in compileAttribute()
510 if (!attr.hasErrors && !ResTable::stringToInt(value.c_str(), value.size(), NULL)) { in compileAttribute()
968 if (!ResTable::stringToInt(identStr, len, &identValue)) { in compileResourceFile()
1040 if (!ResTable::stringToInt(startStr, len, &startValue)) { in compileResourceFile()
1060 if (!ResTable::stringToInt(endStr, len, &endValue)) { in compileResourceFile()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h2174 static bool stringToInt(const char16_t* s, size_t len, Res_value* outValue);
/frameworks/base/libs/androidfw/
DResourceTypes.cpp5522 bool ResTable::stringToInt(const char16_t* s, size_t len, Res_value* outValue) in stringToInt() function in android::ResTable
6002 if (stringToInt(s, len, outValue)) { in stringToValue()