Home
last modified time | relevance | path

Searched refs:resource_ (Results 1 – 23 of 23) sorted by relevance

/external/wayland/tests/data/
Dexample-server.h1011 wl_registry_send_global(struct wl_resource *resource_, uint32_t name, const char *interface, uint32… in wl_registry_send_global() argument
1013 wl_resource_post_event(resource_, WL_REGISTRY_GLOBAL, name, interface, version); in wl_registry_send_global()
1023 wl_registry_send_global_remove(struct wl_resource *resource_, uint32_t name) in wl_registry_send_global_remove() argument
1025 wl_resource_post_event(resource_, WL_REGISTRY_GLOBAL_REMOVE, name); in wl_registry_send_global_remove()
1043 wl_callback_send_done(struct wl_resource *resource_, uint32_t callback_data) in wl_callback_send_done() argument
1045 wl_resource_post_event(resource_, WL_CALLBACK_DONE, callback_data); in wl_callback_send_done()
1474 wl_shm_send_format(struct wl_resource *resource_, uint32_t format) in wl_shm_send_format() argument
1476 wl_resource_post_event(resource_, WL_SHM_FORMAT, format); in wl_shm_send_format()
1514 wl_buffer_send_release(struct wl_resource *resource_) in wl_buffer_send_release() argument
1516 wl_resource_post_event(resource_, WL_BUFFER_RELEASE); in wl_buffer_send_release()
[all …]
Dsmall-server-core.h148 intf_A_send_hey(struct wl_resource *resource_) in intf_A_send_hey() argument
150 wl_resource_post_event(resource_, INTF_A_HEY); in intf_A_send_hey()
Dsmall-server.h148 intf_A_send_hey(struct wl_resource *resource_) in intf_A_send_hey() argument
150 wl_resource_post_event(resource_, INTF_A_HEY); in intf_A_send_hey()
/external/webrtc/call/adaptation/
Dresource_adaptation_processor_unittest.cc90 resource_(FakeResource::Create("FakeResource")), in ResourceAdaptationProcessorTest()
100 processor_->AddResource(resource_); in ResourceAdaptationProcessorTest()
125 if (resource_) { in DestroyProcessor()
126 processor_->RemoveResource(resource_); in DestroyProcessor()
143 rtc::scoped_refptr<FakeResource> resource_; member in webrtc::__anonc2b6fa240111::ResourceAdaptationProcessorTest
156 resource_->SetUsageState(ResourceUsageState::kOveruse); in TEST_F()
166 resource_->SetUsageState(ResourceUsageState::kOveruse); in TEST_F()
170 resource_->SetUsageState(ResourceUsageState::kOveruse); in TEST_F()
184 resource_->SetUsageState(ResourceUsageState::kOveruse); in TEST_F()
195 resource_->SetUsageState(ResourceUsageState::kOveruse); in TEST_F()
[all …]
Dvideo_stream_adapter_unittest.cc190 resource_(FakeResource::Create("FakeResource")), in VideoStreamAdapterTest()
196 rtc::scoped_refptr<Resource> resource_; member in webrtc::VideoStreamAdapterTest
250 fake_stream.ApplyAdaptation(adapter_.GetAdaptationUp(resource_)); in TEST_F()
265 adapter_.GetAdaptationUp(resource_).status()); in TEST_F()
269 fake_stream.ApplyAdaptation(adapter_.GetAdaptationUp(resource_)); in TEST_F()
319 Adaptation adaptation = adapter_.GetAdaptationUp(resource_); in TEST_F()
337 adapter_.GetAdaptationUp(resource_).status()); in TEST_F()
341 fake_stream.ApplyAdaptation(adapter_.GetAdaptationUp(resource_)); in TEST_F()
488 Adaptation adaptation = adapter_.GetAdaptationUp(resource_); in TEST_F()
504 Adaptation adaptation = adapter_.GetAdaptationUp(resource_); in TEST_F()
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_expression_test.cc44 resource_ = absl::make_unique<XlaResource>( in SetUp()
56 std::unique_ptr<XlaResource> resource_; member in tensorflow::__anon9d7e42a60111::XlaExpressionTest
67 XlaExpression::Resource(resource_.get()).kind()); in TEST_F()
75 EXPECT_EQ("resource", XlaExpression::Resource(resource_.get()).HumanString()); in TEST_F()
98 XlaExpression::Resource(resource_.get()).GetShape()); in TEST_F()
114 EXPECT_FALSE(XlaExpression::Resource(resource_.get()) in TEST_F()
138 XlaExpression::ConstantResource(constant_, resource_.get()); in TEST_F()
140 EXPECT_TRUE(resource_->SetZeroValue(builder_.get()).ok()); in TEST_F()
141 LOG(ERROR) << "Resource is overwritten: " << resource_->IsOverwritten(); in TEST_F()
Dxla_expression.h90 if (kind_ == Kind::kResource && resource_->IsOverwritten()) { in constant_value()
104 XlaResource* resource() const { return resource_; } in resource()
152 XlaResource* resource_ = nullptr; variable
Dxla_expression.cc46 e.resource_ = resource; in ConstantResource()
71 e.resource_ = resource; in Resource()
/external/tensorflow/tensorflow/core/framework/
Dresource_op_kernel.h61 if (resource_ != nullptr) { in ~ResourceOpKernel()
62 resource_->Unref(); in ~ResourceOpKernel()
75 if (resource_ == nullptr) { in Compute()
103 resource_ = resource; in Compute()
118 T* resource_ TF_GUARDED_BY(mu_) = nullptr;
Dreader_op_kernel.h46 DCHECK(resource_ == nullptr); in SetReaderFactory()
Dresource_mgr.h488 Tensor resource_; variable
842 &resource_, attr));
843 resource_.scalar<ResourceHandle>()() =
848 ctx->set_output(0, resource_);
Dresource_op_kernel_test.cc59 return resource_; in resource()
/external/tensorflow/tensorflow/core/kernels/
Dresource_variable_ops.h29 return name_ != ResourceHandle::ANONYMOUS_NAME ? &resource_ : nullptr; in const_tensor()
37 Tensor resource_; variable
Dqueue_op.cc40 if (resource_ && context->track_allocations()) { in Compute()
41 context->record_persistent_memory_allocation(resource_->MemoryUsed()); in Compute()
Dresource_variable_ops.cc232 &resource_, attr)); in VarHandleOp()
233 resource_.scalar<ResourceHandle>()() = MakeResourceHandle<Var>( in VarHandleOp()
252 ctx->set_output(0, resource_); in Compute()
/external/tensorflow/tensorflow/core/kernels/data/
Dmulti_device_iterator_ops.cc409 if (resource_ != nullptr) { in ~MultiDeviceIteratorHandleOp()
410 resource_->Unref(); in ~MultiDeviceIteratorHandleOp()
427 if (resource_ == nullptr) { in Compute()
474 resource_ = resource; in Compute()
499 MultiDeviceIterator* resource_ TF_GUARDED_BY(mu_) = nullptr;
Diterator_ops.cc456 if (resource_ != nullptr) { in ~IteratorHandleOp()
457 resource_->Unref(); in ~IteratorHandleOp()
473 if (resource_ == nullptr) { in Compute()
513 resource_ = resource; in Compute()
Diterator_ops.h166 IteratorResource* resource_ TF_GUARDED_BY(mu_) = nullptr;
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/oauth2/
Doauth2_credentials.cc544 resource_(gpr_strdup(options->resource)), in StsTokenFetcherCredentials()
626 MaybeAddToBody("resource", resource_.get(), &body_parts); in FillBody()
645 grpc_core::UniquePtr<char> resource_; member in grpc_core::__anonecf158e80211::StsTokenFetcherCredentials
/external/ImageMagick/MagickCore/
DMakefile.am245 MagickCore/resource_.h \
395 MagickCore/resource_.h \
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationCrossInstanceSharingTests.cpp62 const ResourceDescription& resource_, in TestConfig()
70 , resource (resource_) in TestConfig()
DvktSynchronizationWin32KeyedMutexTests.cpp94 TestConfig (const ResourceDescription& resource_, in TestConfig()
99 : resource (resource_) in TestConfig()
/external/ImageMagick/
DMakefile.in500 MagickCore/resource_.h MagickCore/resource-private.h \
5294 MagickCore/resource_.h \
5439 MagickCore/resource_.h \