Home
last modified time | relevance | path

Searched refs:AddExtension (Results 1 – 25 of 32) sorted by relevance

12

/external/protobuf/src/google/protobuf/
Dtest_util_lite.cc844 message->AddExtension(unittest::repeated_int32_extension_lite , 201); in SetAllExtensions()
845 message->AddExtension(unittest::repeated_int64_extension_lite , 202); in SetAllExtensions()
846 message->AddExtension(unittest::repeated_uint32_extension_lite , 203); in SetAllExtensions()
847 message->AddExtension(unittest::repeated_uint64_extension_lite , 204); in SetAllExtensions()
848 message->AddExtension(unittest::repeated_sint32_extension_lite , 205); in SetAllExtensions()
849 message->AddExtension(unittest::repeated_sint64_extension_lite , 206); in SetAllExtensions()
850 message->AddExtension(unittest::repeated_fixed32_extension_lite , 207); in SetAllExtensions()
851 message->AddExtension(unittest::repeated_fixed64_extension_lite , 208); in SetAllExtensions()
852 message->AddExtension(unittest::repeated_sfixed32_extension_lite, 209); in SetAllExtensions()
853 message->AddExtension(unittest::repeated_sfixed64_extension_lite, 210); in SetAllExtensions()
[all …]
Dextension_set_unittest.cc576 destination.AddExtension(unittest::unpacked_int32_extension, 1); in TEST()
577 destination.AddExtension(unittest::unpacked_enum_extension, in TEST()
597 destination.AddExtension(unittest::packed_int32_extension, 1); in TEST()
598 destination.AddExtension(unittest::packed_enum_extension, in TEST()
619 message.AddExtension(unittest::TestRequired::multi); in TEST()
638 message.AddExtension(unittest::repeated_string_extension)->assign("bar"); in TEST()
718 message.AddExtension(unittest::repeated_##type##_extension, value); \ in TEST()
722 message.AddExtension(unittest::repeated_##type##_extension, value); \ in TEST()
723 message.AddExtension(unittest::repeated_##type##_extension, value); \ in TEST()
727 message.AddExtension(unittest::repeated_##type##_extension, value); \ in TEST()
[all …]
Dtest_util.cc1020 message->AddExtension(unittest::repeated_int32_extension , 201); in SetAllExtensions()
1021 message->AddExtension(unittest::repeated_int64_extension , 202); in SetAllExtensions()
1022 message->AddExtension(unittest::repeated_uint32_extension , 203); in SetAllExtensions()
1023 message->AddExtension(unittest::repeated_uint64_extension , 204); in SetAllExtensions()
1024 message->AddExtension(unittest::repeated_sint32_extension , 205); in SetAllExtensions()
1025 message->AddExtension(unittest::repeated_sint64_extension , 206); in SetAllExtensions()
1026 message->AddExtension(unittest::repeated_fixed32_extension , 207); in SetAllExtensions()
1027 message->AddExtension(unittest::repeated_fixed64_extension , 208); in SetAllExtensions()
1028 message->AddExtension(unittest::repeated_sfixed32_extension, 209); in SetAllExtensions()
1029 message->AddExtension(unittest::repeated_sfixed64_extension, 210); in SetAllExtensions()
[all …]
Dreflection_ops_unittest.cc140 message2.AddExtension(unittest::repeated_int32_extension, in TEST()
144 message.AddExtension(unittest::repeated_int32_extension, i); in TEST()
395 message.AddExtension(unittest::TestRequired::multi); in TEST()
452 message.AddExtension(unittest::TestRequired::multi); in TEST()
453 message.AddExtension(unittest::TestRequired::multi); in TEST()
Ddescriptor_database.cc76 if (!AddExtension(file.extension(i), value)) return false; in AddFile()
144 if (!AddExtension(message_type.extension(i), value)) return false; in AddNestedExtensions()
150 bool SimpleDescriptorDatabase::DescriptorIndex<Value>::AddExtension( in AddExtension() function in google::protobuf::SimpleDescriptorDatabase::DescriptorIndex
Ddescriptor_database.h171 bool AddExtension(const FieldDescriptorProto& field,
Ddescriptor_unittest.cc113 FieldDescriptorProto* AddExtension(FileDescriptorProto* file, in AddExtension() function
267 AddExtension(&foo_file, "FooMessage", "foo_extension", 1, in SetUp()
278 AddExtension(&bar_file, "bar_package.BarMessage", "bar_extension", 1, in SetUp()
1035 AddExtension(&file, "ExtendableMessage", "baz_foo", 11, in SetUp()
1038 AddExtension(&file, "ExtendableMessage", "BazBar", 12, in SetUp()
1041 AddExtension(&file, "ExtendableMessage", "BazBaz", 13, in SetUp()
1044 AddExtension(&file, "ExtendableMessage", "bazFoo", 14, // Conflict in SetUp()
1047 AddExtension(&file, "ExtendableMessage", "bazbar", 15, // Conflict in SetUp()
1733 AddExtension(&foo_file, "Foo", "foo_int32", 10, in SetUp()
1736 AddExtension(&foo_file, "Foo", "foo_enum", 19, in SetUp()
[all …]
Drepeated_field_reflection_unittest.cc168 extended_message.AddExtension( in TEST()
525 extended_message.AddExtension( in TEST()
Dextension_set.h1222 inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( \
1231 inline void AddExtension( \
/external/libchrome/base/metrics/
Dpersistent_histogram_storage.cc93 .AddExtension(PersistentMemoryAllocator::kFileExtension); in ~PersistentHistogramStorage()
Dpersistent_histogram_allocator.cc745 return dir.AppendASCII(name).AddExtension( in ConstructFilePath()
838 FilePath temp_spare_path = spare_path.AddExtension(FILE_PATH_LITERAL(".tmp")); in CreateSpareFile()
/external/avb/test/
Dfake_avb_ops.cc100 partition_dir_.Append(std::string(partition)).AddExtension("img"); in read_from_partition()
194 partition_dir_.Append(std::string(partition)).AddExtension("img"); in write_to_partition()
321 partition_dir_.Append(std::string(partition)).AddExtension("img"); in get_size_of_partition()
/external/protobuf/src/google/protobuf/util/
Dmessage_differencer_unittest.cc2180 proto2ex_.AddExtension(protobuf_unittest::repeated_nested_message_extension) in TEST_F()
2182 proto2ex_.AddExtension(protobuf_unittest::repeated_nested_message_extension) in TEST_F()
2184 proto1ex_.AddExtension(protobuf_unittest::repeated_nested_message_extension) in TEST_F()
2186 proto1ex_.AddExtension(protobuf_unittest::repeated_nested_message_extension) in TEST_F()
2188 proto1ex_.AddExtension(protobuf_unittest::repeated_nested_message_extension) in TEST_F()
3083 nested = msg1.AddExtension(repeated_nested_message_extension); in TEST_F()
3085 nested = msg1.AddExtension(repeated_nested_message_extension); in TEST_F()
3087 nested = msg1.AddExtension(repeated_nested_message_extension); in TEST_F()
3089 nested = msg2.AddExtension(repeated_nested_message_extension); in TEST_F()
3091 nested = msg2.AddExtension(repeated_nested_message_extension); in TEST_F()
[all …]
/external/deqp-deps/SPIRV-Tools/source/opt/
Dir_context.h190 inline void AddExtension(std::unique_ptr<Instruction>&& e);
870 void IRContext::AddExtension(std::unique_ptr<Instruction>&& e) { in AddExtension() function
874 module()->AddExtension(std::move(e)); in AddExtension()
Dmodule.h77 inline void AddExtension(std::unique_ptr<Instruction> e);
291 inline void Module::AddExtension(std::unique_ptr<Instruction> e) { in AddExtension() function
Dir_loader.cpp96 module_->AddExtension(std::move(spv_inst)); in AddInstruction()
Dupgrade_memory_model.cpp56 get_module()->AddExtension( in UpgradeMemoryModelInstruction()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dmodule.h77 inline void AddExtension(std::unique_ptr<Instruction> e);
291 inline void Module::AddExtension(std::unique_ptr<Instruction> e) { in AddExtension() function
Dir_loader.cpp96 module_->AddExtension(std::move(spv_inst)); in AddInstruction()
Dir_context.h192 inline void AddExtension(std::unique_ptr<Instruction>&& e);
888 void IRContext::AddExtension(std::unique_ptr<Instruction>&& e) { in AddExtension() function
892 module()->AddExtension(std::move(e)); in AddExtension()
Dupgrade_memory_model.cpp57 get_module()->AddExtension( in UpgradeMemoryModelInstruction()
/external/libchrome/base/files/
Dfile_path.h295 FilePath AddExtension(StringPieceType extension) const WARN_UNUSED_RESULT;
Dfile_path_unittest.cc935 TEST_F(FilePathTest, AddExtension) { in TEST_F() argument
967 FilePath added = path.AddExtension(cases[i].inputs[1]); in TEST_F()
/external/libbrillo/brillo/
Dfile_utils.cc266 std::string temp_name = path.AddExtension(random_suffix).value(); in WriteToFileAtomic()
/external/swiftshader/third_party/SPIRV-Tools/source/link/
Dlinker.cpp237 linked_module->AddExtension( in MergeModules()

12