Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_plugin_unittest.cc67 TryInsert("test.pb.h", "includes", context); in Generate()
68 TryInsert("test.pb.h", "namespace_scope", context); in Generate()
69 TryInsert("test.pb.h", "global_scope", context); in Generate()
70 TryInsert("test.pb.h", "class_scope:foo.Bar", context); in Generate()
71 TryInsert("test.pb.h", "class_scope:foo.Bar.Baz", context); in Generate()
73 TryInsert("test.pb.cc", "includes", context); in Generate()
74 TryInsert("test.pb.cc", "namespace_scope", context); in Generate()
75 TryInsert("test.pb.cc", "global_scope", context); in Generate()
78 TryInsert("test.pb.h", "field_get:foo.Bar.optInt", context); in Generate()
79 TryInsert("test.pb.h", "field_set:foo.Bar.optInt", context); in Generate()
[all …]
/external/protobuf/src/google/protobuf/compiler/java/
Djava_plugin_unittest.cc68 TryInsert(filename, "outer_class_scope", context); in Generate()
69 TryInsert(filename, "class_scope:foo.Bar", context); in Generate()
70 TryInsert(filename, "class_scope:foo.Bar.Baz", context); in Generate()
71 TryInsert(filename, "builder_scope:foo.Bar", context); in Generate()
72 TryInsert(filename, "builder_scope:foo.Bar.Baz", context); in Generate()
73 TryInsert(filename, "enum_scope:foo.Qux", context); in Generate()
77 void TryInsert(const string& filename, const string& insertion_point, in TryInsert() function in google::protobuf::compiler::java::__anon55eab7fb0111::TestGenerator
/external/protobuf/src/google/protobuf/compiler/python/
Dpython_plugin_unittest.cc67 TryInsert("test_pb2.py", "imports", context); in Generate()
68 TryInsert("test_pb2.py", "module_scope", context); in Generate()
69 TryInsert("test_pb2.py", "class_scope:foo.Bar", context); in Generate()
70 TryInsert("test_pb2.py", "class_scope:foo.Bar.Baz", context); in Generate()
74 void TryInsert(const string& filename, const string& insertion_point, in TryInsert() function in google::protobuf::compiler::python::__anon4da8cffb0111::TestGenerator
/external/perfetto/src/trace_processor/
Dstring_pool.cc28 PERFETTO_CHECK(blocks_.back().TryInsert(NullTermStringView())); in StringPool()
43 auto* ptr = blocks_.back().TryInsert(str); in InsertString()
53 ptr = blocks_.back().TryInsert(str); in InsertString()
64 uint8_t* StringPool::Block::TryInsert(base::StringView str) { in TryInsert() function in perfetto::trace_processor::StringPool::Block
Dstring_pool.h108 uint8_t* TryInsert(base::StringView str);