Home
last modified time | relevance | path

Searched refs:child_name (Results 1 – 25 of 47) sorted by relevance

12

/external/python/pyfakefs/pyfakefs/
Dmox3_stubout.py124 def set(self, parent, child_name, new_child): argument
136 old_child = getattr(parent, child_name)
138 old_attribute = parent.__dict__.get(child_name)
145 self.cache.append((parent, old_child, child_name))
146 setattr(parent, child_name, new_child)
160 for (parent, old_child, child_name) in self.cache:
161 setattr(parent, child_name, old_child)
/external/protobuf/python/
Dstubout.py112 def Set(self, parent, child_name, new_child): argument
122 old_child = getattr(parent, child_name)
124 old_attribute = parent.__dict__.get(child_name)
128 self.cache.append((parent, old_child, child_name))
129 setattr(parent, child_name, new_child)
141 for (parent, old_child, child_name) in self.cache:
142 setattr(parent, child_name, old_child)
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/priority/
Dpriority.cc213 uint32_t GetChildPriorityLocked(const std::string& child_name) const;
271 const std::string& child_name = config_->priorities()[current_priority_]; in ExitIdleLocked() local
275 this, current_priority_, child_name.c_str()); in ExitIdleLocked()
277 children_[child_name]->ExitIdleLocked(); in ExitIdleLocked()
291 const std::string& child_name = config_->priorities()[current_priority_]; in UpdateLocked() local
292 current_child_from_before_update_ = children_[child_name].get(); in UpdateLocked()
309 const std::string& child_name = p.first; in UpdateLocked() local
311 auto config_it = config_->children().find(child_name); in UpdateLocked()
326 const std::string& child_name) const { in GetChildPriorityLocked()
329 if (config_->priorities()[priority] == child_name) return priority; in GetChildPriorityLocked()
[all …]
/external/tensorflow/tensorflow/python/platform/
Dgoogletest.py235 def Set(self, parent, child_name, new_child): argument
252 old_child = getattr(parent, child_name)
254 old_attribute = parent.__dict__.get(child_name)
258 self.cache.append((parent, old_child, child_name))
259 setattr(parent, child_name, new_child)
272 for (parent, old_child, child_name) in reversed(self.cache):
273 setattr(parent, child_name, old_child)
/external/tensorflow/tensorflow/cc/saved_model/
Dbundle_v2.cc181 std::string child_name; in RecurseObjectsToRestore() local
183 child_name = local_name; in RecurseObjectsToRestore()
185 child_name = strings::StrCat(object_name, ".", local_name); in RecurseObjectsToRestore()
198 strings::StrCat("Illegal trackable child node id for ", child_name)); in RecurseObjectsToRestore()
222 child_name)); in RecurseObjectsToRestore()
226 saved_child, saved_child_node_id, trackable_child, child_name, in RecurseObjectsToRestore()
/external/openscreen/discovery/dnssd/impl/
Ddns_data_graph.cc128 void ApplyChildChange(DomainName child_name, RecordChangedEvent event);
246 DomainName child_name; in ApplyDataRecordChange() local
254 child_name = absl::get<PtrRecordRdata>(record.rdata()).ptr_domain(); in ApplyDataRecordChange()
261 child_name = absl::get<SrvRecordRdata>(record.rdata()).target(); in ApplyDataRecordChange()
293 if (!child_name.empty()) { in ApplyDataRecordChange()
294 ApplyChildChange(std::move(child_name), event); in ApplyDataRecordChange()
300 void DnsDataGraphImpl::Node::ApplyChildChange(DomainName child_name, in ApplyChildChange() argument
304 graph_->nodes_.emplace(child_name, std::unique_ptr<Node>()); in ApplyChildChange()
306 auto new_node = std::make_unique<Node>(std::move(child_name), graph_); in ApplyChildChange()
312 const auto it = graph_->nodes_.find(child_name); in ApplyChildChange()
[all …]
/external/tensorflow/tensorflow/tools/common/
Dtraverse.py55 for child_name in root.__all__:
56 children.append((child_name, getattr(root, child_name)))
/external/autotest/client/
Dsetup_modules.py32 child_name = parts.pop(0)
33 module = types.ModuleType(child_name)
34 setattr(parent, child_name, module)
35 created_parts.append(child_name)
/external/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
DBlockPointer.cpp115 std::string child_name; in GetChildAtIndex() local
127 ignore_array_bounds, child_name, child_byte_size, child_byte_offset, in GetChildAtIndex()
148 ConstString(child_name.c_str(), child_name.size()))); in GetChildAtIndex()
DLibCxxMap.cpp312 std::string child_name; in GetValueOffset() local
322 nullptr, 4, true, true, true, child_name, child_byte_size, in GetValueOffset()
/external/tflite-support/tensorflow_lite_support/cc/task/vision/core/
Dlabel_map_item.cc81 for (const std::string& child_name : label.child_name) { in InitializeFromLabelMap() local
82 parents_map_[child_name].insert(label.name); in InitializeFromLabelMap()
Dlabel_map_item.h42 std::vector<std::string> child_name; member
/external/python/pycparser/examples/
Dc_json.py101 for child_name, child in node.children():
103 match = RE_CHILD_ARRAY.match(child_name)
115 result[child_name] = to_dict(child)
/external/llvm-project/lldb/third_party/Python/module/ptyprocess-0.6.0/ptyprocess/
D_fork_pty.py48 child_name = os.ttyname(tty_fd)
73 fd = os.open(child_name, os.O_RDWR)
/external/llvm-project/lldb/source/Core/
DValueObjectConstResultImpl.cpp88 ConstString child_name; in CreateChildAtIndex() local
90 child_name.SetCString(child_name_str.c_str()); in CreateChildAtIndex()
93 *m_impl_backend, child_compiler_type, child_name, child_byte_size, in CreateChildAtIndex()
DValueObject.cpp616 ConstString child_name; in CreateChildAtIndex() local
618 child_name.SetCString(child_name_str.c_str()); in CreateChildAtIndex()
621 *this, child_compiler_type, child_name, child_byte_size, in CreateChildAtIndex()
2215 ConstString child_name; in GetValueForExpressionPath_Impl() local
2219 child_name.SetString(temp_expression); in GetValueForExpressionPath_Impl()
2221 root->GetChildMemberWithName(child_name, true); in GetValueForExpressionPath_Impl()
2240 child_valobj_sp->GetChildMemberWithName(child_name, true); in GetValueForExpressionPath_Impl()
2249 child_valobj_sp->GetChildMemberWithName(child_name, true); in GetValueForExpressionPath_Impl()
2258 child_valobj_sp->GetChildMemberWithName(child_name, true); in GetValueForExpressionPath_Impl()
2263 child_valobj_sp->GetChildMemberWithName(child_name, true); in GetValueForExpressionPath_Impl()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/xds/
Dxds_cluster_manager.cc297 const auto& child_name = p.first; in UpdateStateLocked() local
300 if (config_->cluster_map().find(child_name) == in UpdateStateLocked()
642 const std::string& child_name = p.first; in ParseLoadBalancingConfig() local
643 if (child_name.empty()) { in ParseLoadBalancingConfig()
655 absl::StrCat("field:children name:", child_name).c_str()); in ParseLoadBalancingConfig()
661 cluster_map[child_name] = std::move(child_config); in ParseLoadBalancingConfig()
662 clusters_to_be_used.insert(child_name); in ParseLoadBalancingConfig()
/external/antlr/runtime/Ruby/lib/antlr3/
Ddot.rb153 child_name = 'n%i' % @node_to_number_map[ tree ]
155 :parent => parent_name, :child => child_name,
/external/perfetto/src/trace_processor/importers/json/
Djson_utils.cc160 std::string child_name = it.name(); in AddJsonValueToArgs() local
161 std::string child_flat_key = flat_key.ToStdString() + "." + child_name; in AddJsonValueToArgs()
162 std::string child_key = key.ToStdString() + "." + child_name; in AddJsonValueToArgs()
/external/dynamic_depth/internal/xmpmeta/xml/
Ddeserializer_impl.cc126 const string& prefix, const string& child_name) const { in CreateDeserializer()
127 if (child_name.empty()) { in CreateDeserializer()
132 DepthFirstSearch(node_, prefix.data(), child_name.data()); in CreateDeserializer()
Ddeserializer.h27 const string& prefix, const string& child_name) const = 0;
Ddeserializer_impl.h35 const string& prefix, const string& child_name) const override;
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.test.-stub-out-for-testing.pbtxt10 …argspec: "args=[\'self\', \'parent\', \'child_name\', \'new_child\'], varargs=None, keywords=None,…
/external/llvm-project/lldb/source/Target/
DStackFrame.cpp660 ConstString child_name(var_expr.substr(0, var_expr.find_first_of(".-["))); in GetValueForVariableExpressionPath() local
676 var_expr_path_strm.GetData(), child_name.GetCString(), in GetValueForVariableExpressionPath()
682 var_expr_path_strm.GetData(), child_name.GetCString(), in GetValueForVariableExpressionPath()
687 child_valobj_sp = valobj_sp->GetChildMemberWithName(child_name, true); in GetValueForVariableExpressionPath()
693 child_valobj_sp->GetChildMemberWithName(child_name, true); in GetValueForVariableExpressionPath()
708 if (child_name) { in GetValueForVariableExpressionPath()
711 child_name.GetCString(), in GetValueForVariableExpressionPath()
726 var_expr = var_expr.drop_front(child_name.GetLength()); in GetValueForVariableExpressionPath()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/weighted_target/
Dweighted_target.cc328 const std::string& child_name = p.first; in UpdateStateLocked() local
331 if (config_->target_map().find(child_name) == config_->target_map().end()) { in UpdateStateLocked()
337 this, child_name.c_str(), in UpdateStateLocked()

12