/external/tensorflow/tensorflow/core/common_runtime/ |
D | scoped_allocator_mgr.cc | 23 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 …]
|
D | scoped_allocator_mgr.h | 35 const Tensor& backing_tensor, int32 scope_id, 40 ScopedAllocatorInstance* GetInstance(int32 scope_id); 41 ScopedAllocator* GetAllocator(int32 scope_id); 44 void Drop(int32 scope_id, ScopedAllocator* sa); 84 const Tensor& backing_tensor, int64 step_id, int32 scope_id, 96 static size_t PopulateFields(int32 scope_id,
|
D | scoped_allocator_mgr_test.cc | 39 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()
|
D | threadpool_device.cc | 79 if (attr.scope_id > 0) { in GetScopedAllocator() 81 attr.scope_id); in GetScopedAllocator() 84 << "attr.scope_id = " << attr.scope_id; in GetScopedAllocator()
|
D | scoped_allocator.cc | 22 ScopedAllocator::ScopedAllocator(const Tensor& backing_tensor, int32 scope_id, in ScopedAllocator() argument 29 id_(scope_id), in ScopedAllocator() 94 container_->Drop(f.scope_id, this); in AllocateRaw()
|
D | graph_view.cc | 223 DCHECK_EQ(output_attrs[i].scope_id, 0); in InitializeNode() 224 output_attrs[i].scope_id = scoped_allocator_attrs[j + 1]; in InitializeNode() 285 CHECK_EQ(alloc_attr->scope_id, 0); in ExtractScopedAllocatorAttr() 286 alloc_attr->scope_id = sc_attr[i + 1]; in ExtractScopedAllocatorAttr() 327 attr.scope_id = 0; in SetScopedAllocatorAttrs() 423 if (attr.value != 0 || attr.scope_id != 0) { in SetAllocAttrs()
|
D | scoped_allocator.h | 36 int32 scope_id; member 47 ScopedAllocator(const Tensor& backing_tensor, int32 scope_id,
|
/external/tensorflow/tensorflow/core/framework/ |
D | allocator_test.cc | 104 EXPECT_EQ(a.scope_id, 0); in TEST() 105 EXPECT_EQ(b.scope_id, 0); in TEST() 106 a.scope_id = 1; in TEST() 108 EXPECT_EQ(a.scope_id, 1); in TEST() 109 EXPECT_EQ(b.scope_id, 0); in TEST() 112 a.scope_id = 1; in TEST() 113 b.scope_id = 0; in TEST() 115 EXPECT_EQ(a.scope_id, 1); in TEST() 116 EXPECT_EQ(b.scope_id, 1); in TEST() 119 a.scope_id = 2; in TEST() [all …]
|
D | allocator.h | 374 if (scope_id != other.scope_id) { in Merge() 375 CHECK(scope_id == 0 || other.scope_id == 0) in Merge() 378 << scope_id << " and other.scope_id=" << other.scope_id; in Merge() 379 scope_id = scope_id == 0 ? other.scope_id : scope_id; in Merge() 395 int32 scope_id = 0; member
|
D | op_kernel.cc | 283 if (allocator_attr.scope_id != 0) { in allocate_temp() 365 if (TF_PREDICT_FALSE(attr.scope_id > 0)) { in get_allocator() 754 if (attr.scope_id > 0) { in allocate_output() 756 if (!allocated_scope_ids_->insert(attr.scope_id).second) { in allocate_output() 760 attr.scope_id, in allocate_output() 779 if (allocator_attr.scope_id > 0) { in allocate_temp() 791 << " called allocate_temp with scope_id " << allocator_attr.scope_id in allocate_temp() 793 allocator_attr.scope_id = -1; in allocate_temp() 818 if (attr.scope_id > 0) { in allocate_persistent() 823 "Unexpected call to allocate_persistent with scope_id ", attr.scope_id); in allocate_persistent() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | compact_ids_pass.cpp | 70 uint32_t scope_id = inst->GetDebugScope().GetLexicalScope(); in Process() local 71 if (scope_id != kNoDebugScope) { in Process() 72 uint32_t new_id = GetRemappedId(&result_id_mapping, scope_id); in Process() 73 if (scope_id != new_id) { in Process()
|
D | upgrade_memory_model.h | 131 bool IsDeviceScope(uint32_t scope_id);
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/ |
D | compact_ids_pass.cpp | 70 uint32_t scope_id = inst->GetDebugScope().GetLexicalScope(); in Process() local 71 if (scope_id != kNoDebugScope) { in Process() 72 uint32_t new_id = GetRemappedId(&result_id_mapping, scope_id); in Process() 73 if (scope_id != new_id) { in Process()
|
D | upgrade_memory_model.h | 131 bool IsDeviceScope(uint32_t scope_id);
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | compact_ids_pass.cpp | 70 uint32_t scope_id = inst->GetDebugScope().GetLexicalScope(); in Process() local 71 if (scope_id != kNoDebugScope) { in Process() 72 uint32_t new_id = GetRemappedId(&result_id_mapping, scope_id); in Process() 73 if (scope_id != new_id) { in Process()
|
D | upgrade_memory_model.h | 131 bool IsDeviceScope(uint32_t scope_id);
|
/external/openssh/ |
D | addrmatch.c | 43 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/parameter-framework/asio-1.10.6/include/asio/ip/ |
D | address_v6.hpp | 53 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/grpc-grpc/test/core/client_channel/ |
D | parse_address_test.cc | 76 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/rtc_base/ |
D | network.cc | 504 int scope_id = 0; in ConvertIfAddrs() local 529 scope_id = in ConvertIfAddrs() 563 network->set_scope_id(scope_id); in ConvertIfAddrs() 684 int scope_id = 0; in CreateNetworks() local 696 scope_id = v6_addr->sin6_scope_id; in CreateNetworks() 744 network->set_scope_id(scope_id); in CreateNetworks()
|
D | socket_address.h | 106 int scope_id() const { return scope_id_; } in scope_id() function
|
D | socket_address.cc | 279 int scope_id) { in ToSockAddrStorageHelper() argument 286 saddr->sin6_scope_id = scope_id; in ToSockAddrStorageHelper()
|
/external/iputils/ |
D | ping6.c | 714 static uint32_t scope_id = 0; in main() local 887 if (firsthop.sin6_scope_id && scope_id && firsthop.sin6_scope_id != scope_id) { in main() 890 } else if (!scope_id) { in main() 891 scope_id = firsthop.sin6_scope_id; in main() 949 if (firsthop.sin6_scope_id && scope_id && firsthop.sin6_scope_id != scope_id) { in main() 952 } else if (!scope_id) { in main() 953 scope_id = firsthop.sin6_scope_id; in main()
|
/external/grpc-grpc/test/core/iomgr/ |
D | sockaddr_utils_test.cc | 61 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/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
D | SymbolFileNativePDB.h | 208 lldb::VariableSP GetOrCreateLocalVariable(PdbCompilandSymId scope_id, 216 lldb::VariableSP CreateLocalVariable(PdbCompilandSymId scope_id,
|