Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/cmd/
DUtil.cpp274 const BinaryPrimitive* compiled_prim = ValueCast<BinaryPrimitive>(attr.compiled_value.get()); in ExtractCompiledInt() local
275 if (compiled_prim != nullptr) { in ExtractCompiledInt()
276 if (compiled_prim->value.dataType >= android::Res_value::TYPE_FIRST_INT && in ExtractCompiledInt()
277 compiled_prim->value.dataType <= android::Res_value::TYPE_LAST_INT) { in ExtractCompiledInt()
278 return compiled_prim->value.data; in ExtractCompiledInt()
298 const BinaryPrimitive* compiled_prim = ValueCast<BinaryPrimitive>(attr.compiled_value.get()); in ExtractSdkVersion() local
299 if (compiled_prim != nullptr) { in ExtractSdkVersion()
300 if (compiled_prim->value.dataType >= android::Res_value::TYPE_FIRST_INT && in ExtractSdkVersion()
301 compiled_prim->value.dataType <= android::Res_value::TYPE_LAST_INT) { in ExtractSdkVersion()
302 return compiled_prim->value.data; in ExtractSdkVersion()