Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DResourceUtils.cpp505 if (android::ResTable::stringToInt(str16.data(), str16.size(), &value)) { in ParseInt()
516 if (android::ResTable::stringToInt(str16.data(), str16.size(), &value)) { in ParseResourceId()
532 if (android::ResTable::stringToInt(str16.data(), str16.size(), &value)) { in ParseSdkVersion()
569 if (!android::ResTable::stringToInt(str16.data(), str16.size(), &value)) { in TryParseInt()
DResourceParser.cpp1228 if (android::ResTable::stringToInt(min_str16.data(), min_str16.size(), &value)) { in ParseAttrImpl()
1245 if (android::ResTable::stringToInt(max_str16.data(), max_str16.size(), &value)) { in ParseAttrImpl()
1378 if (!android::ResTable::stringToInt(value16.data(), value16.size(), &val)) { in ParseEnumOrFlagItem()
/frameworks/base/tools/aapt/
DResourceTable.cpp382 if (!ResTable::stringToInt(val.string(), val.size(), NULL)) { in compileAttribute()
400 if (!ResTable::stringToInt(val.string(), val.size(), NULL)) { in compileAttribute()
508 if (!attr.hasErrors && !ResTable::stringToInt(value.string(), value.size(), NULL)) { in compileAttribute()
966 if (!ResTable::stringToInt(identStr, len, &identValue)) { in compileResourceFile()
1038 if (!ResTable::stringToInt(startStr, len, &startValue)) { in compileResourceFile()
1058 if (!ResTable::stringToInt(endStr, len, &endValue)) { in compileResourceFile()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h2053 static bool stringToInt(const char16_t* s, size_t len, Res_value* outValue);
/frameworks/base/libs/androidfw/
DResourceTypes.cpp5284 bool ResTable::stringToInt(const char16_t* s, size_t len, Res_value* outValue) in stringToInt() function in android::ResTable
5735 if (stringToInt(s, len, outValue)) { in stringToValue()