/system/media/camera/docs/ |
D | metadata_model_test.py | 10 kind = Kind("some_root_kind", parent=None) 11 ins_outer = InnerNamespace("static", parent=kind) 14 ins1 = InnerNamespace("ins1", parent=ins_outer) 15 ins1a = InnerNamespace("ins1", parent=ins_outer) # same name deliberately 17 parent=ins1, hal_version="3.2") 19 parent=ins1a, hal_version="3.2") 21 parent=ins_outer, hal_version="3.2") 38 self.assertEquals(kind, combined_children_namespace.parent) 55 section = Section("some_section", parent=None) 56 kind_static = Kind("static", parent=section) [all …]
|
D | metadata_model.py | 58 def parent(self): member in Node 127 parent = self.parent 129 while parent is not None: 130 if pred(parent): 131 yield parent 132 parent = parent.parent 179 if child.parent != self: 181 % (child, self, child.parent), file=sys.stderr) 343 if p.parent is not None: 344 p.parent._entries.remove(p) [all …]
|
D | metadata_helpers_test.py | 77 plain_enum = Enum(parent=None, values=['ON', 'OFF']) 83 labeled_enum = Enum(parent=None, values=['A', 'B', 'C'], ids={ 93 mixed_enum = Enum(parent=None,
|
/system/incremental_delivery/incfs/include/ |
D | path.h | 36 std::string_view relativize(std::string_view parent, std::string_view nested); 37 inline std::string_view relativize(const char* parent, const char* nested) { in relativize() argument 38 return relativize(std::string_view(parent), std::string_view(nested)); in relativize() 40 inline std::string_view relativize(std::string_view parent, const char* nested) { in relativize() argument 41 return relativize(parent, std::string_view(nested)); in relativize() 43 inline std::string_view relativize(const char* parent, std::string_view nested) { in relativize() argument 44 return relativize(std::string_view(parent), nested); in relativize() 47 std::string_view relativize(std::string&& parent, std::string_view nested) = delete; 48 std::string_view relativize(std::string_view parent, std::string&& nested) = delete;
|
/system/chre/util/include/chre/util/ |
D | heap_impl.h | 36 size_t parent = (current - 1) / 2; in siftUp() local 37 if (compare(container[parent], container[current])) { in siftUp() 38 container.swap(parent, current); in siftUp() 39 current = parent; in siftUp() 100 size_t parent = (index - 1) / 2; in remove_heap() local 102 if (index > 0 && compare(container[parent], container[index])) { in remove_heap()
|
/system/extras/simpleperf/ |
D | callchain.h | 125 void SplitNode(NodeT* parent, size_t parent_length) { in SplitNode() 127 AllocateNode(parent->chain, parent_length, parent->period, parent->children_period); in SplitNode() 128 child->children = std::move(parent->children); in SplitNode() 129 parent->period = 0; in SplitNode() 130 parent->children_period = child->period + child->children_period; in SplitNode() 131 parent->chain.resize(parent_length); in SplitNode() 132 parent->children.clear(); in SplitNode() 133 parent->children.push_back(std::move(child)); in SplitNode()
|
D | sample_tree.h | 158 EntryT* parent = nullptr; in ProcessSampleRecord() local 168 UpdateCallChainParentInfo(sample, parent); in ProcessSampleRecord() 169 parent = sample; in ProcessSampleRecord() 268 void UpdateCallChainParentInfo(EntryT* sample, EntryT* parent) { in UpdateCallChainParentInfo() argument 269 if (parent == nullptr) { in UpdateCallChainParentInfo() 275 info.parent = parent; in UpdateCallChainParentInfo() 278 } else if (it->second.parent != parent) { in UpdateCallChainParentInfo() 290 EntryT* parent; member
|
/system/tools/hidl/hidl2aidl/ |
D | AidlTranslate.cpp | 107 const FieldWithVersion& field, const CompoundType* parent, in namedTypeTranslation() argument 127 if (parent->style() == CompoundType::STYLE_STRUCT) { in namedTypeTranslation() 144 out << "out->set<" << aidlTypePackage(*parent, backend) << "::" << field.fullName in namedTypeTranslation() 240 const CompoundType* parent, AidlBackend backend) { in containerTranslation() argument 295 << wrapCppSource(inputAccessElement, *elementType, parent->fqName(), backend) in containerTranslation() 305 const CompoundType* parent, AidlBackend backend) { in simpleTranslation() argument 311 if (AidlHelper::getAidlType(field.field->type(), parent->fqName()) == "char") { in simpleTranslation() 314 if (parent->style() == CompoundType::STYLE_STRUCT) { in simpleTranslation() 324 if (parent->style() == CompoundType::STYLE_STRUCT) { in simpleTranslation() 327 << wrapCppSource("in." + field.fullName, field.field->type(), parent->fqName(), in simpleTranslation() [all …]
|
/system/libhidl/transport/include/hidl/ |
D | HidlTransportSupport.h | 134 Return<sp<IChild>> castInterface(sp<IParent> parent, const char* childIndicator, bool emitError) { in castInterface() argument 135 if (parent.get() == nullptr) { in castInterface() 139 Return<bool> canCastRet = details::canCastInterface(parent.get(), childIndicator, emitError); in castInterface() 151 if (parent->isRemote()) { in castInterface() 153 return sp<IChild>(new BpChild(getOrCreateCachedBinder(parent.get()))); in castInterface() 156 return sp<IChild>(static_cast<IChild *>(parent.get())); in castInterface()
|
/system/libufdt/ |
D | ufdt_node.c | 29 res->parent.fdt_tag_ptr = fdt_tag_ptr; in ufdt_node_construct() 30 res->parent.sibling = NULL; in ufdt_node_construct() 36 res->parent.fdt_tag_ptr = fdt_tag_ptr; in ufdt_node_construct() 37 res->parent.sibling = NULL; in ufdt_node_construct() 59 int ufdt_node_add_child(struct ufdt_node *parent, struct ufdt_node *child) { in ufdt_node_add_child() argument 60 if (!parent || !child) return -1; in ufdt_node_add_child() 61 if (ufdt_node_tag(parent) != FDT_BEGIN_NODE) return -1; in ufdt_node_add_child() 69 *((struct ufdt_node_fdt_node *)parent)->last_child_p = child; in ufdt_node_add_child() 70 ((struct ufdt_node_fdt_node *)parent)->last_child_p = &child->sibling; in ufdt_node_add_child()
|
/system/tools/hidl/scripts/ |
D | hal-queries.sh | 151 local parent="${args[i]}" 153 git show-ref -q $parent || { echo "$parent doesn't exist" && continue; } 154 echo "$parent .. $child" 155 diff <(git show "$parent":current.txt | grep -oP "^[^ ]+ [^ ]+" | sort) \
|
/system/core/libutils/include/utils/ |
D | LruCache.h | 71 Entry* parent; variable 74 … Entry(TKey _key, TValue _value) : key(_key), value(_value), parent(nullptr), child(nullptr) { in Entry() 274 entry.parent = mYoungest; in attachToCache() 282 if (entry.parent != nullptr) { in detachFromCache() 283 entry.parent->child = entry.child; in detachFromCache() 288 entry.child->parent = entry.parent; in detachFromCache() 290 mYoungest = entry.parent; in detachFromCache() 293 entry.parent = nullptr; in detachFromCache()
|
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/zonetree/ |
D | TreeNode.java | 29 private V parent; field in TreeNode 47 return parent; in getParent() 52 parent = newParent; in setParent()
|
/system/core/fs_mgr/libfiemap/ |
D | image_test.cpp | 141 std::string parent; member 149 EXPECT_EQ(param.result, IsSubdir(param.child, param.parent)) in TEST_P() 150 << "IsSubdir(child=\"" << param.child << "\", parent=\"" << param.parent in TEST_P() 171 ret.push_back({e.child + "/", e.parent, e.result}); in IsSubdirTestValues() 172 ret.push_back({e.child, e.parent + "/", e.result}); in IsSubdirTestValues() 173 ret.push_back({e.child + "/", e.parent + "/", e.result}); in IsSubdirTestValues()
|
D | utility.cpp | 170 bool IsSubdir(const std::string& child, const std::string& parent) { in IsSubdir() argument 173 CHECK(android::base::StartsWith(parent, "/")) << "Not an absolute path: " << parent; in IsSubdir() 180 std::string_view parent_sv = parent; in IsSubdir()
|
/system/tools/hidl/ |
D | NamedType.cpp | 24 Scope* parent) in NamedType() argument 25 : Type(parent, localName), mFullName(fullName), mLocation(loc) {} in NamedType()
|
D | DeathRecipientType.cpp | 24 DeathRecipientType::DeathRecipientType(Scope* parent) : Type(parent, "death_recipient") {} in DeathRecipientType() argument
|
D | TypeDef.cpp | 26 Scope* parent, const Reference<Type>& type) in TypeDef() argument 27 : NamedType(localName, fullName, location, parent), mReferencedType(type) {} in TypeDef()
|
D | PointerType.cpp | 24 PointerType::PointerType(Scope* parent) : Type(parent, "pointer") {} in PointerType() argument
|
/system/incremental_delivery/incfs/ |
D | path.cpp | 160 std::string_view relativize(std::string_view parent, std::string_view nested) { in relativize() argument 161 if (!nested.starts_with(parent)) { in relativize() 164 if (nested.size() == parent.size()) { in relativize() 167 if (nested[parent.size()] != '/') { in relativize() 170 auto relative = nested.substr(parent.size()); in relativize()
|
/system/bt/gd/packet/parser/ |
D | parent_def.cc | 23 ParentDef::ParentDef(std::string name, FieldList fields, ParentDef* parent) in ParentDef() argument 24 : TypeDef(name), fields_(fields), parent_(parent) {} in ParentDef() 534 auto parent = parent_; in GetAncestors() local 535 while (parent != nullptr) { in GetAncestors() 536 res.push_back(parent); in GetAncestors() 537 parent = parent->parent_; in GetAncestors() 546 for (auto parent : GetAncestors()) { in GetAllConstraints() local 547 res.insert(parent->parent_constraints_.begin(), parent->parent_constraints_.end()); in GetAllConstraints() 553 auto parent = parent_; in HasAncestorNamed() local 554 while (parent != nullptr) { in HasAncestorNamed() [all …]
|
D | struct_parser_generator.cc | 29 for (auto& parent : variable_struct_fields_) { in StructParserGenerator() local 30 if (node.struct_def_->parent_->name_ == parent.struct_def_->name_) { in StructParserGenerator() 31 parent.children_.push_back(&node); in StructParserGenerator()
|
/system/libufdt/include/ |
D | ufdt_types.h | 59 struct ufdt_node parent; member 64 struct ufdt_node parent; member
|
/system/logging/logd/ |
D | LogBufferElement.h | 46 bool FlushTo(LogWriter* writer, LogStatistics* parent, bool lastSame); 62 size_t PopulateDroppedMessage(char*& buffer, LogStatistics* parent, bool lastSame);
|
D | CommandListener.h | 44 explicit name##Cmd(CommandListener* parent) \ 45 : FrameworkCommand(#command_string), parent_(parent) {} \
|