Home
last modified time | relevance | path

Searched refs:pool_ (Results 1 – 25 of 37) sorted by relevance

12

/third_party/nghttp2/src/
Dshrpx_downstream_connection_pool.cc35 for (auto dconn : pool_) { in remove_all()
39 pool_.clear(); in remove_all()
44 pool_.insert(dconn.release()); in add_downstream_connection()
49 if (pool_.empty()) { in pop_downstream_connection()
53 auto it = std::begin(pool_); in pop_downstream_connection()
55 pool_.erase(it); in pop_downstream_connection()
62 pool_.erase(dconn); in remove_downstream_connection()
Dshrpx_downstream_connection_pool.h48 std::set<DownstreamConnection *> pool_;
/third_party/protobuf/src/google/protobuf/
Ddynamic_message_unittest.cc62 DescriptorPool pool_; member in google::protobuf::DynamicMessageTest
75 DynamicMessageTest() : factory_(&pool_) {} in DynamicMessageTest()
95 ASSERT_TRUE(pool_.BuildFile(unittest_import_public_file) != NULL); in SetUp()
96 ASSERT_TRUE(pool_.BuildFile(unittest_import_file) != NULL); in SetUp()
97 ASSERT_TRUE(pool_.BuildFile(unittest_file) != NULL); in SetUp()
98 ASSERT_TRUE(pool_.BuildFile(unittest_no_field_presence_file) != NULL); in SetUp()
100 descriptor_ = pool_.FindMessageTypeByName("protobuf_unittest.TestAllTypes"); in SetUp()
105 pool_.FindMessageTypeByName("protobuf_unittest.TestAllExtensions"); in SetUp()
110 pool_.FindMessageTypeByName("protobuf_unittest.TestPackedTypes"); in SetUp()
115 pool_.FindMessageTypeByName("protobuf_unittest.TestOneof2"); in SetUp()
[all …]
Ddescriptor_unittest.cc345 foo_file_ = pool_.BuildFile(foo_file); in SetUp()
348 bar_file_ = pool_.BuildFile(bar_file); in SetUp()
351 baz_file_ = pool_.BuildFile(baz_file); in SetUp()
377 DescriptorPool pool_; member in google::protobuf::descriptor_unittest::FileDescriptorTest
474 EXPECT_EQ(foo_extension_, pool_.FindExtensionByNumber(foo_message_, 1)); in TEST_F()
475 EXPECT_EQ(bar_extension_, pool_.FindExtensionByNumber(bar_message_, 1)); in TEST_F()
477 EXPECT_TRUE(pool_.FindExtensionByNumber(foo_message_, 2) == nullptr); in TEST_F()
486 EXPECT_EQ(foo_file_, pool_.BuildFile(file)); in TEST_F()
490 EXPECT_TRUE(pool_.BuildFile(file) == nullptr); in TEST_F()
500 const FileDescriptor* proto2_descriptor = pool_.BuildFile(proto_syntax2); in TEST_F()
[all …]
Ddescriptor.cc3152 const DescriptorPool* pool_; member in google::protobuf::DescriptorBuilder
3612 : pool_(pool), in DescriptorBuilder()
3706 MutexLockMaybe lock((pool == pool_) ? nullptr : pool->mutex_); in FindSymbolNotEnforcingDepsHelper()
3732 Symbol result = FindSymbolNotEnforcingDepsHelper(pool_, name, build_it); in FindSymbolNotEnforcingDeps()
3747 if (!pool_->enforce_dependencies_) { in FindSymbol()
3862 if (result.IsNull() && pool_->allow_unknown_) { in LookupSymbol()
3865 result = pool_->NewPlaceholderWithMutexHeld(name, placeholder_type); in LookupSymbol()
4010 placeholder->pool_ = this; in NewPlaceholderFileWithMutexHeld()
4199 assert_mutex_held(pool_); in AllocateOptionsImpl()
4201 pool_->InternalFindExtensionByNumberNoLock( in AllocateOptionsImpl()
[all …]
Ddescriptor_database.cc893 : pool_(pool) {} in DescriptorPoolDatabase()
898 const FileDescriptor* file = pool_.FindFileByName(filename); in FindFileByName()
907 const FileDescriptor* file = pool_.FindFileContainingSymbol(symbol_name); in FindFileContainingSymbol()
917 const Descriptor* extendee = pool_.FindMessageTypeByName(containing_type); in FindFileContainingExtension()
921 pool_.FindExtensionByNumber(extendee, field_number); in FindFileContainingExtension()
931 const Descriptor* extendee = pool_.FindMessageTypeByName(extendee_type); in FindAllExtensionNumbers()
935 pool_.FindAllExtensions(extendee, &extensions); in FindAllExtensionNumbers()
Ddynamic_message.cc660 : pool_(NULL), in DynamicMessageFactory()
665 : pool_(pool), in DynamicMessageFactory()
700 type_info->pool = (pool_ == NULL) ? type->file()->pool() : pool_; in GetPrototypeNoLock()
Ddescriptor_database_unittest.cc139 DescriptorPoolDatabaseTestCase() : database_(pool_) {} in DescriptorPoolDatabaseTestCase()
144 return pool_.BuildFile(file); in AddToDatabase()
148 DescriptorPool pool_; member in google::protobuf::__anonb49205ca0111::DescriptorPoolDatabaseTestCase
Dextension_set_heavy.cc91 : pool_(pool), factory_(factory), containing_type_(containing_type) {} in DescriptorPoolExtensionFinder()
97 const DescriptorPool* pool_; member in google::protobuf::internal::DescriptorPoolExtensionFinder
297 pool_->FindExtensionByNumber(containing_type_, number); in Find()
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
Dcommand_pool.cc25 if (pool_ == VK_NULL_HANDLE) in ~CommandPool()
28 device_->GetPtrs()->vkDestroyCommandPool(device_->GetVkDevice(), pool_, in ~CommandPool()
39 device_->GetVkDevice(), &pool_info, nullptr, &pool_) != VK_SUCCESS) { in Initialize()
Dcommand_buffer.cc26 : device_(device), pool_(pool) {} in CommandBuffer()
36 device_->GetVkDevice(), pool_->GetVkCommandPool(), 1, &command_); in ~CommandBuffer()
43 command_info.commandPool = pool_->GetVkCommandPool(); in Initialize()
Dcommand_pool.h34 VkCommandPool GetVkCommandPool() const { return pool_; } in GetVkCommandPool()
38 VkCommandPool pool_ = VK_NULL_HANDLE; variable
Dengine_vulkan.cc127 if (!pool_) { in Initialize()
128 pool_ = MakeUnique<CommandPool>(device_.get()); in Initialize()
129 r = pool_->Initialize(); in Initialize()
174 r = vk_pipeline->AsCompute()->Initialize(pool_.get()); in CreatePipeline()
188 pool_.get()); in CreatePipeline()
Dcommand_buffer.h57 CommandPool* pool_ = nullptr; variable
Dengine_vulkan.h92 std::unique_ptr<CommandPool> pool_; variable
/third_party/gn/src/gn/
Daction_values.h55 const LabelPtrPair<Pool>& pool() const { return pool_; } in pool()
56 void set_pool(LabelPtrPair<Pool> pool) { pool_ = std::move(pool); } in set_pool()
64 LabelPtrPair<Pool> pool_; variable
Dtool.h216 const LabelPtrPair<Pool>& pool() const { return pool_; } in pool()
217 void set_pool(LabelPtrPair<Pool> pool) { pool_ = std::move(pool); } in set_pool()
296 LabelPtrPair<Pool> pool_; variable
/third_party/flutter/engine/flutter/vulkan/
Dvulkan_command_buffer.cc18 : vk(p_vk), device_(device), pool_(pool), valid_(false) { in VulkanCommandBuffer()
22 .commandPool = pool_, in VulkanCommandBuffer()
40 vk.FreeCommandBuffers(device_, pool_, 1, &buffer); in VulkanCommandBuffer()
Dvulkan_command_buffer.h57 const VulkanHandle<VkCommandPool>& pool_; variable
/third_party/protobuf/src/google/protobuf/compiler/
Dimporter.cc223 pool_(&database_, database_.GetValidationErrorCollector()) { in Importer()
224 pool_.EnforceWeakDependencies(true); in Importer()
231 return pool_.FindFileByName(filename); in Import()
236 pool_.AddUnusedImportTrackFile(file_name, is_error); in AddUnusedImportTrackFile()
240 pool_.ClearUnusedImportTrackFiles(); in ClearUnusedImportTrackFiles()
Dparser_unittest.cc174 EXPECT_TRUE(pool_.BuildFileCollectingErrors( in ExpectHasValidationErrors()
180 DescriptorPool pool_; member in google::protobuf::compiler::__anon38d4230e0111::ParserTest
1794 EXPECT_TRUE(pool_.BuildFile(other_file) != NULL); in TEST_F()
1815 EXPECT_TRUE(pool_.BuildFile(other_file) != nullptr); in TEST_F()
1828 EXPECT_TRUE(pool_.BuildFile(other_file) != nullptr); in TEST_F()
2073 EXPECT_TRUE(pool_.BuildFile(other_file) != NULL); in TEST_F()
2094 ASSERT_TRUE(pool_.BuildFile(descriptor_proto) != NULL); in TEST_F()
2123 EXPECT_TRUE(pool_.BuildFile(other_file) != NULL); in TEST_F()
2230 ASSERT_TRUE(pool_.BuildFile(public_import_proto) != NULL); in TEST_F()
2235 ASSERT_TRUE(pool_.BuildFile(import_proto) != NULL); in TEST_F()
[all …]
Dimporter.h179 inline const DescriptorPool* pool() const { return &pool_; } in pool()
188 DescriptorPool pool_; variable
/third_party/gstreamer/gstreamer/gst/
Dgsttaskpool.c84 GThreadPool *pool_; in default_cleanup() local
87 pool_ = pool->pool; in default_cleanup()
91 if (pool_) { in default_cleanup()
95 g_thread_pool_free (pool_, FALSE, TRUE); in default_cleanup()
/third_party/protobuf/src/google/protobuf/util/
Dtype_resolver_util.cc74 : url_prefix_(url_prefix), pool_(pool) {} in DescriptorPoolTypeResolver()
83 const Descriptor* descriptor = pool_->FindMessageTypeByName(type_name); in ResolveMessageType()
100 const EnumDescriptor* descriptor = pool_->FindEnumTypeByName(type_name); in ResolveEnumType()
360 const DescriptorPool* pool_; member in google::protobuf::util::__anonf1c138b50111::DescriptorPoolTypeResolver
/third_party/ninja/src/
Dgraph.h172 : rule_(NULL), pool_(NULL), dyndep_(NULL), env_(NULL), mark_(VisitNone), in Edge()
202 Pool* pool_; member
216 Pool* pool() const { return pool_; } in pool()

12