Lines Matching refs:BinaryPrimitive
367 std::unique_ptr<BinaryPrimitive> MakeEmpty() { in MakeEmpty()
368 return util::make_unique<BinaryPrimitive>(android::Res_value::TYPE_NULL, in MakeEmpty()
372 std::unique_ptr<BinaryPrimitive> TryParseEnumSymbol(const Attribute* enum_attr, in TryParseEnumSymbol()
383 return util::make_unique<BinaryPrimitive>(value); in TryParseEnumSymbol()
389 std::unique_ptr<BinaryPrimitive> TryParseFlagSymbol(const Attribute* flag_attr, in TryParseFlagSymbol()
397 return util::make_unique<BinaryPrimitive>(flags); in TryParseFlagSymbol()
420 return util::make_unique<BinaryPrimitive>(flags); in TryParseFlagSymbol()
436 std::unique_ptr<BinaryPrimitive> TryParseColor(const StringPiece& str) { in TryParseColor()
487 return error ? std::unique_ptr<BinaryPrimitive>() in TryParseColor()
488 : util::make_unique<BinaryPrimitive>(value); in TryParseColor()
553 std::unique_ptr<BinaryPrimitive> TryParseBool(const StringPiece& str) { in TryParseBool()
556 return util::make_unique<BinaryPrimitive>(android::Res_value::TYPE_INT_BOOLEAN, data); in TryParseBool()
561 std::unique_ptr<BinaryPrimitive> MakeBool(bool val) { in MakeBool()
562 return util::make_unique<BinaryPrimitive>(android::Res_value::TYPE_INT_BOOLEAN, in MakeBool()
566 std::unique_ptr<BinaryPrimitive> TryParseInt(const StringPiece& str) { in TryParseInt()
572 return util::make_unique<BinaryPrimitive>(value); in TryParseInt()
575 std::unique_ptr<BinaryPrimitive> MakeInt(uint32_t val) { in MakeInt()
576 return util::make_unique<BinaryPrimitive>(android::Res_value::TYPE_INT_DEC, val); in MakeInt()
579 std::unique_ptr<BinaryPrimitive> TryParseFloat(const StringPiece& str) { in TryParseFloat()
585 return util::make_unique<BinaryPrimitive>(value); in TryParseFloat()
802 return util::make_unique<BinaryPrimitive>(res_value); in ParseBinaryResValue()