Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/cmd/
DUtil.cpp326 const BinaryPrimitive* compiled_prim = ValueCast<BinaryPrimitive>(attr.compiled_value.get()); in ExtractCompiledInt() local
327 if (compiled_prim != nullptr) { in ExtractCompiledInt()
328 if (compiled_prim->value.dataType >= android::Res_value::TYPE_FIRST_INT && in ExtractCompiledInt()
329 compiled_prim->value.dataType <= android::Res_value::TYPE_LAST_INT) { in ExtractCompiledInt()
330 return compiled_prim->value.data; in ExtractCompiledInt()
350 const BinaryPrimitive* compiled_prim = ValueCast<BinaryPrimitive>(attr.compiled_value.get()); in ExtractSdkVersion() local
351 if (compiled_prim != nullptr) { in ExtractSdkVersion()
352 if (compiled_prim->value.dataType >= android::Res_value::TYPE_FIRST_INT && in ExtractSdkVersion()
353 compiled_prim->value.dataType <= android::Res_value::TYPE_LAST_INT) { in ExtractSdkVersion()
354 return compiled_prim->value.data; in ExtractSdkVersion()