OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BinaryPrimitive
(Results
1 - 18
of
18
) sorted by null
/frameworks/base/tools/aapt2/
ResourceUtils.h
104
std::unique_ptr<
BinaryPrimitive
> tryParseNullOrEmpty(const StringPiece16& str);
110
std::unique_ptr<
BinaryPrimitive
> tryParseColor(const StringPiece16& str);
116
std::unique_ptr<
BinaryPrimitive
> tryParseBool(const StringPiece16& str);
122
std::unique_ptr<
BinaryPrimitive
> tryParseInt(const StringPiece16& str);
128
std::unique_ptr<
BinaryPrimitive
> tryParseFloat(const StringPiece16& str);
134
std::unique_ptr<
BinaryPrimitive
> tryParseEnumSymbol(const Attribute* enumAttr,
141
std::unique_ptr<
BinaryPrimitive
> tryParseFlagSymbol(const Attribute* enumAttr,
ResourceUtils.cpp
255
std::unique_ptr<
BinaryPrimitive
> tryParseNullOrEmpty(const StringPiece16& str) {
269
return util::make_unique<
BinaryPrimitive
>(value);
272
std::unique_ptr<
BinaryPrimitive
> tryParseEnumSymbol(const Attribute* enumAttr,
283
return util::make_unique<
BinaryPrimitive
>(value);
289
std::unique_ptr<
BinaryPrimitive
> tryParseFlagSymbol(const Attribute* flagAttr,
297
return util::make_unique<
BinaryPrimitive
>(flags);
319
return util::make_unique<
BinaryPrimitive
>(flags);
335
std::unique_ptr<
BinaryPrimitive
> tryParseColor(const StringPiece16& str) {
386
return error ? std::unique_ptr<
BinaryPrimitive
>() : util::make_unique<
BinaryPrimitive
>(value)
[
all
...]
ResourceValues.cpp
245
BinaryPrimitive
::
BinaryPrimitive
(const android::Res_value& val) : value(val) {
248
BinaryPrimitive
::
BinaryPrimitive
(uint8_t dataType, uint32_t data) {
253
bool
BinaryPrimitive
::equals(const Value* value) const {
254
const
BinaryPrimitive
* other = valueCast<
BinaryPrimitive
>(value);
261
bool
BinaryPrimitive
::flatten(android::Res_value* outValue) const {
267
BinaryPrimitive
*
BinaryPrimitive
::clone(StringPool* /*newPool*/) const
[
all
...]
ResourceValues.h
251
struct
BinaryPrimitive
: public BaseItem<
BinaryPrimitive
> {
254
BinaryPrimitive
() = default;
255
BinaryPrimitive
(const android::Res_value& val);
256
BinaryPrimitive
(uint8_t dataType, uint32_t data);
260
BinaryPrimitive
* clone(StringPool* newPool) const override;
ResourceTable_test.cpp
92
test::ValueBuilder<
BinaryPrimitive
>(android::Res_value{})
100
ASSERT_NE(nullptr, test::getValueForConfig<
BinaryPrimitive
>(&table, u"@android:string/ok",
ValueVisitor.h
39
virtual void visit(
BinaryPrimitive
* value) { visitItem(value); }
ResourceParser_test.cpp
113
BinaryPrimitive
* integer = test::getValue<
BinaryPrimitive
>(&mTable, u"@integer/foo");
123
BinaryPrimitive
* integer = test::getValue<
BinaryPrimitive
>(&mTable, u"@integer/foo");
256
std::unique_ptr<
BinaryPrimitive
> flagValue = ResourceUtils::tryParseFlagSymbol(flagAttr,
443
EXPECT_NE(nullptr, valueCast<
BinaryPrimitive
>(array->items[2].get()));
625
BinaryPrimitive
* val = test::getValue<
BinaryPrimitive
>(&mTable, u"@integer/foo");
ResourceUtils_test.cpp
202
std::unique_ptr<
BinaryPrimitive
> result = ResourceUtils::tryParseFlagSymbol(attr.get(), u"");
/frameworks/base/tools/aapt2/proto/
TableProtoSerializer_test.cpp
95
BinaryPrimitive
* prim = test::getValueForConfigAndProduct<
BinaryPrimitive
>(
100
prim = test::getValueForConfigAndProduct<
BinaryPrimitive
>(
TableProtoSerializer.cpp
73
void visit(
BinaryPrimitive
* prim) override {
TableProtoDeserializer.cpp
175
return util::make_unique<
BinaryPrimitive
>(prim);
/frameworks/base/tools/aapt2/flatten/
TableFlattener.cpp
86
BinaryPrimitive
val(Res_value::TYPE_INT_DEC, attr->typeMask);
92
BinaryPrimitive
val(Res_value::TYPE_INT_DEC, static_cast<uint32_t>(attr->minInt));
98
BinaryPrimitive
val(Res_value::TYPE_INT_DEC, static_cast<uint32_t>(attr->maxInt));
103
BinaryPrimitive
val(Res_value::TYPE_INT_DEC, s.value);
125
BinaryPrimitive
val(Res_value{});
TableFlattener_test.cpp
152
util::make_unique<
BinaryPrimitive
>(uint8_t(Res_value::TYPE_INT_DEC), 1u))
155
util::make_unique<
BinaryPrimitive
>(uint8_t(Res_value::TYPE_INT_DEC), 2u))
/frameworks/base/tools/aapt2/link/
ReferenceLinker_test.cpp
118
ASSERT_NE(valueCast<
BinaryPrimitive
>(style->entries[0].value.get()), nullptr);
122
ASSERT_NE(valueCast<
BinaryPrimitive
>(style->entries[1].value.get()), nullptr);
TableMerger_test.cpp
162
BinaryPrimitive
* foo = test::getValue<
BinaryPrimitive
>(&finalTable, u"@com.app.a:bool/foo");
XmlReferenceLinker_test.cpp
95
ASSERT_NE(valueCast<
BinaryPrimitive
>(xmlAttr->compiledValue.get()), nullptr);
167
ASSERT_NE(valueCast<
BinaryPrimitive
>(xmlAttr->compiledValue.get()), nullptr);
/frameworks/base/tools/aapt2/test/
Builders.h
135
inline std::unique_ptr<
BinaryPrimitive
> buildPrimitive(uint8_t type, uint32_t data) {
140
return util::make_unique<
BinaryPrimitive
>(value);
/frameworks/base/tools/aapt2/unflatten/
BinaryResourceParser.cpp
432
return util::make_unique<
BinaryPrimitive
>(nullType);
440
return util::make_unique<
BinaryPrimitive
>(*value);
Completed in 2890 milliseconds