Home
last modified time | relevance | path

Searched refs:scope_id (Results 1 – 25 of 51) sorted by relevance

123

/external/tensorflow/tensorflow/core/common_runtime/
Dscoped_allocator_mgr.cc23 const Tensor& backing_tensor, int32 scope_id, const string& scope_name, in AddScopedAllocator() argument
27 << " step_id_=" << step_id_ << " scope_id=" << scope_id; in AddScopedAllocator()
30 auto it = allocators_.find(scope_id); in AddScopedAllocator()
33 scope_id, " for name ", scope_name, in AddScopedAllocator()
37 if (allocators_.find(f.scope_id) != allocators_.end()) { in AddScopedAllocator()
39 "Cannot create ScopedAllocator because field scope_id ", f.scope_id, in AddScopedAllocator()
45 backing_tensor, scope_id, scope_name, fields, expected_call_count, this); in AddScopedAllocator()
46 allocators_[scope_id] = in AddScopedAllocator()
52 << " scope_id=" << f.scope_id; in AddScopedAllocator()
53 allocators_[f.scope_id] = ScopedAllocatorContainer::SAField( in AddScopedAllocator()
[all …]
Dscoped_allocator_mgr.h35 const Tensor& backing_tensor, int32 scope_id, const string& scope_name,
39 ScopedAllocatorInstance* GetInstance(int32 scope_id);
40 ScopedAllocator* GetAllocator(int32 scope_id);
43 void Drop(int32 scope_id, ScopedAllocator* sa);
83 const Tensor& backing_tensor, int64 step_id, int32 scope_id,
95 static size_t PopulateFields(int32 scope_id,
Dscoped_allocator_mgr_test.cc39 Status AddScopedAllocator(int expected_use_count, int scope_id) { in AddScopedAllocator() argument
43 return sam_.AddScopedAllocator(backing_tensor_, step_id_, scope_id, in AddScopedAllocator()
114 EXPECT_EQ(scope_id_ + 1, fields_[0].scope_id); in TEST_F()
117 EXPECT_EQ(scope_id_ + 2, fields_[1].scope_id); in TEST_F()
120 EXPECT_EQ(scope_id_ + 3, fields_[2].scope_id); in TEST_F()
134 fields_[0].scope_id = scope_id_ + 1; in TEST_F()
186 fields_[0].scope_id = scope_id_ + 1; in TEST_F()
Dthreadpool_device.cc82 if (attr.scope_id > 0) { in GetScopedAllocator()
84 attr.scope_id); in GetScopedAllocator()
87 << "attr.scope_id = " << attr.scope_id; in GetScopedAllocator()
Dscoped_allocator.cc20 ScopedAllocator::ScopedAllocator(const Tensor& backing_tensor, int32 scope_id, in ScopedAllocator() argument
27 id_(scope_id), in ScopedAllocator()
89 container_->Drop(f.scope_id, this); in AllocateRaw()
Dscoped_allocator.h36 int32 scope_id; member
46 ScopedAllocator(const Tensor& backing_tensor, int32 scope_id,
/external/v8/src/compiler-dispatcher/
Dcompiler-dispatcher-tracer.h22 #define COMPILER_DISPATCHER_TRACE_SCOPE_WITH_NUM(tracer, scope_id, num) \ argument
24 CompilerDispatcherTracer::ScopeID::scope_id); \
29 #define COMPILER_DISPATCHER_TRACE_SCOPE(tracer, scope_id) \ argument
30 COMPILER_DISPATCHER_TRACE_SCOPE_WITH_NUM(tracer, scope_id, 0)
38 Scope(CompilerDispatcherTracer* tracer, ScopeID scope_id, size_t num = 0);
Dcompiler-dispatcher-tracer.cc25 ScopeID scope_id, size_t num) in Scope() argument
26 : tracer_(tracer), scope_id_(scope_id), num_(num) { in Scope()
46 const char* CompilerDispatcherTracer::Scope::Name(ScopeID scope_id) { in Name() argument
47 switch (scope_id) { in Name()
/external/openssh/
Daddrmatch.c43 u_int32_t scope_id; /* iface scope id for v6 */ member
101 xa->scope_id = in6->sin6_scope_id; in addr_sa_to_xaddr()
163 dst->scope_id = a->scope_id; in addr_and()
193 if (a->scope_id == b->scope_id) in addr_cmp()
195 return a->scope_id > b->scope_id ? 1 : -1; in addr_cmp()
/external/tensorflow/tensorflow/core/framework/
Dallocator.h368 scope_id = (scope_id > 0 && other.scope_id == 0) in Merge()
369 ? scope_id in Merge()
370 : ((scope_id == 0) ? other.scope_id : 0); in Merge()
385 int32 scope_id = 0; member
/external/parameter-framework/asio-1.10.6/include/asio/ip/
Daddress_v6.hpp53 unsigned long scope_id = 0);
71 unsigned long scope_id() const in scope_id() function in asio::ip::address_v6
80 void scope_id(unsigned long id) in scope_id() function in asio::ip::address_v6
/external/v8/src/heap/
Dgc-tracer.h28 #define TRACE_GC(tracer, scope_id) \ argument
29 GCTracer::Scope::ScopeId gc_tracer_scope_id(scope_id); \
34 #define TRACE_BACKGROUND_GC(tracer, scope_id) \ argument
35 GCTracer::BackgroundScope background_scope(tracer, scope_id); \
37 GCTracer::BackgroundScope::Name(scope_id))
/external/grpc-grpc/test/core/client_channel/
Dparse_address_test.cc76 unsigned short port, uint32_t scope_id) { in test_grpc_parse_ipv6() argument
89 GPR_ASSERT(addr_in6->sin6_scope_id == scope_id); in test_grpc_parse_ipv6()
/external/webrtc/webrtc/base/
Dnetwork.cc402 int scope_id = 0; in ConvertIfAddrs() local
431 scope_id = in ConvertIfAddrs()
456 network->set_scope_id(scope_id); in ConvertIfAddrs()
569 int scope_id = 0; in CreateNetworks() local
582 scope_id = v6_addr->sin6_scope_id; in CreateNetworks()
612 network->set_scope_id(scope_id); in CreateNetworks()
Dsocketaddress.cc284 int scope_id) { in ToSockAddrStorageHelper() argument
291 saddr->sin6_scope_id = scope_id; in ToSockAddrStorageHelper()
Dnetwork_unittest.cc100 uint32_t scope_id) { in CreateIpv6Addr() argument
104 ipv6_addr->sin6_scope_id = scope_id; in CreateIpv6Addr()
116 uint32_t scope_id) { in AddIpv6Address() argument
121 CreateIpv6Addr(ipv6_address, scope_id)); in AddIpv6Address()
201 bindaddress.SetScopeID((*it)->scope_id()); in TEST_F()
Dsocketaddress.h101 int scope_id() const {return scope_id_; } in scope_id() function
/external/iputils/
Dping6.c709 static uint32_t scope_id = 0; in main() local
882 if (firsthop.sin6_scope_id && scope_id && firsthop.sin6_scope_id != scope_id) { in main()
885 } else if (!scope_id) { in main()
886 scope_id = firsthop.sin6_scope_id; in main()
944 if (firsthop.sin6_scope_id && scope_id && firsthop.sin6_scope_id != scope_id) { in main()
947 } else if (!scope_id) { in main()
948 scope_id = firsthop.sin6_scope_id; in main()
/external/grpc-grpc/test/core/iomgr/
Dsockaddr_utils_test.cc61 static void set_addr6_scope_id(grpc_resolved_address* addr, uint32_t scope_id) { in set_addr6_scope_id() argument
64 addr6->sin6_scope_id = scope_id; in set_addr6_scope_id()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dupgrade_memory_model.h119 bool IsDeviceScope(uint32_t scope_id);
/external/deqp-deps/SPIRV-Tools/source/opt/
Dupgrade_memory_model.h119 bool IsDeviceScope(uint32_t scope_id);
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/
Dsocket_ops.ipp1357 unsigned long scope_id, asio::error_code& ec)
1364 if (result != 0 && af == ASIO_OS_DEF(AF_INET6) && scope_id != 0)
1374 || if_indextoname(static_cast<unsigned>(scope_id), if_name + 1) == 0)
1375 sprintf(if_name + 1, "%lu", scope_id);
1382 unsigned long* scope_id, asio::error_code& ec)
1408 if (result > 0 && is_v6 && scope_id)
1411 *scope_id = 0;
1420 *scope_id = if_nametoindex(if_name + 1);
1421 if (*scope_id == 0)
1422 *scope_id = atoi(if_name + 1);
/external/wpa_supplicant_8/src/common/
Dwpa_ctrl.c375 int scope_id = 0; in wpa_ctrl_open() local
399 scope_id = if_nametoindex(&scope[1]); in wpa_ctrl_open()
416 ctrl->dest.sin6_scope_id = scope_id; in wpa_ctrl_open()
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dsocket_ops.hpp219 size_t length, unsigned long scope_id, asio::error_code& ec);
222 unsigned long* scope_id, asio::error_code& ec);
/external/bcc/src/cc/frontends/b/
Dcodegen_llvm.cc250 emit("%s%s->%s", n->decl_->scope_id(), n->c_str(), n->sub_name_.c_str()); in visit_ident_expr_node()
252 …emit("(((%s%s->%s) >> %d) & (((%s)1 << %d) - 1))", n->decl_->scope_id(), n->c_str(), n->sub_name_.… in visit_ident_expr_node()
261 emit("%s%s->args_lo[%d]", n->decl_->scope_id(), n->c_str(), arg_num - 1); in visit_ident_expr_node()
263 emit("%s%s->args_hi[%d]", n->decl_->scope_id(), n->c_str(), arg_num - 5); in visit_ident_expr_node()
267 emit("%s%s->%s", n->decl_->scope_id(), n->c_str(), n->sub_name_.c_str()); in visit_ident_expr_node()
284 emit("%s%s.%s", n->decl_->scope_id(), n->c_str(), n->sub_name_.c_str()); in visit_ident_expr_node()
298 emit("(((%s%s) >> %d) & (((%s)1 << %d) - 1))", n->decl_->scope_id(), n->c_str(), in visit_ident_expr_node()
301 emit("%s%s", n->decl_->scope_id(), n->c_str()); in visit_ident_expr_node()

123