/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) 19 parent=ins1a) 21 parent=ins_outer) 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 | 57 def parent(self): member in Node 126 parent = self.parent 128 while parent is not None: 129 if pred(parent): 130 yield parent 131 parent = parent.parent 178 if child.parent != self: 181 %(child, self, child.parent) 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/libhidl/transport/include/hidl/ |
D | HidlTransportSupport.h | 97 Return<sp<IChild>> castInterface(sp<IParent> parent, const char* childIndicator, bool emitError) { in castInterface() argument 98 if (parent.get() == nullptr) { in castInterface() 102 Return<bool> canCastRet = details::canCastInterface(parent.get(), childIndicator, emitError); in castInterface() 114 if (parent->isRemote()) { in castInterface() 116 return sp<IChild>(new BpChild(toBinder<IParent>(parent))); in castInterface() 119 return sp<IChild>(static_cast<IChild *>(parent.get())); in castInterface()
|
/system/extras/simpleperf/ |
D | callchain.h | 130 void SplitNode(NodeT* parent, size_t parent_length) { in SplitNode() 132 parent->chain, parent_length, parent->period, parent->children_period); in SplitNode() 133 child->children = std::move(parent->children); in SplitNode() 134 parent->period = 0; in SplitNode() 135 parent->children_period = child->period + child->children_period; in SplitNode() 136 parent->chain.resize(parent_length); in SplitNode() 137 parent->children.clear(); in SplitNode() 138 parent->children.push_back(std::move(child)); in SplitNode()
|
D | sample_tree.h | 162 EntryT* parent = nullptr; in ProcessSampleRecord() local 172 UpdateCallChainParentInfo(sample, parent); in ProcessSampleRecord() 173 parent = sample; in ProcessSampleRecord() 276 void UpdateCallChainParentInfo(EntryT* sample, EntryT* parent) { in UpdateCallChainParentInfo() argument 277 if (parent == nullptr) { in UpdateCallChainParentInfo() 283 info.parent = parent; in UpdateCallChainParentInfo() 286 } else if (it->second.parent != parent) { in UpdateCallChainParentInfo() 298 EntryT* parent; member
|
/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/core/logd/ |
D | LogBufferElement.cpp | 138 size_t LogBufferElement::populateDroppedMessage(char*& buffer, LogBuffer* parent, in populateDroppedMessage() argument 148 parent->wrlock(); in populateDroppedMessage() 149 const char* name = parent->uidToName(mUid); in populateDroppedMessage() 150 parent->unlock(); in populateDroppedMessage() 156 parent->wrlock(); in populateDroppedMessage() 157 commName = parent->pidToName(mPid); in populateDroppedMessage() 158 parent->unlock(); in populateDroppedMessage() 231 log_time LogBufferElement::flushTo(SocketClient* reader, LogBuffer* parent, in flushTo() argument 253 entry.len = populateDroppedMessage(buffer, parent, lastSame); in flushTo()
|
D | LogBufferElement.h | 54 size_t populateDroppedMessage(char*& buffer, LogBuffer* parent, 95 log_time flushTo(SocketClient* writer, LogBuffer* parent, bool privileged,
|
/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/ |
D | NamedType.cpp | 21 NamedType::NamedType(const char* localName, const Location& loc, Scope* parent) in NamedType() argument 22 : mLocalName(localName), mLocation(loc), mParent(parent) {} in NamedType() 56 Scope* NamedType::parent() const { in parent() function in android::NamedType
|
D | TypeDef.cpp | 24 TypeDef::TypeDef(const char* localName, const Location& location, Scope* parent, Type* type) in TypeDef() argument 25 : NamedType(localName, location, parent), mReferencedType(type) {} in TypeDef()
|
D | NamedType.h | 33 NamedType(const char* localName, const Location& loc, Scope* parent); 58 Scope* parent() const;
|
D | Scope.cpp | 27 Scope::Scope(const char* localName, const Location& location, Scope* parent) in Scope() argument 28 : NamedType(localName, location, parent) {} in Scope() 188 RootScope::RootScope(const char* localName, const Location& location, Scope* parent) in RootScope() argument 189 : Scope(localName, location, parent) {} in RootScope()
|
/system/connectivity/wificond/tests/ |
D | mock_offload_scan_callback_interface_impl.cpp | 24 ScannerImpl* parent) in MockOffloadScanCallbackInterfaceImpl() argument 25 : OffloadScanCallbackInterfaceImpl(parent) {} in MockOffloadScanCallbackInterfaceImpl()
|
/system/core/libutils/include/utils/ |
D | LruCache.h | 71 Entry* parent; variable 74 Entry(TKey _key, TValue _value) : key(_key), value(_value), parent(NULL), child(NULL) { in Entry() 274 entry.parent = mYoungest; in attachToCache() 282 if (entry.parent != NULL) { 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 = NULL; in detachFromCache()
|
/system/connectivity/wificond/scanning/ |
D | offload_scan_callback_interface_impl.cpp | 27 ScannerImpl* parent) in OffloadScanCallbackInterfaceImpl() argument 28 : scanner_impl_(parent) {} in OffloadScanCallbackInterfaceImpl()
|
/system/core/sdcard/ |
D | fuse.cpp | 77 static void add_node_to_parent_locked(struct node *node, struct node *parent) { in add_node_to_parent_locked() argument 78 node->parent = parent; in add_node_to_parent_locked() 79 node->next = parent->child; in add_node_to_parent_locked() 80 parent->child = node; in add_node_to_parent_locked() 81 acquire_node_locked(parent); in add_node_to_parent_locked() 86 if (node->parent) { in remove_node_from_parent_locked() 87 if (node->parent->child == node) { in remove_node_from_parent_locked() 88 node->parent->child = node->parent->child->next; in remove_node_from_parent_locked() 91 node2 = node->parent->child; in remove_node_from_parent_locked() 96 release_node_locked(node->parent); in remove_node_from_parent_locked() [all …]
|
/system/core/liblog/ |
D | logger.h | 112 struct android_log_logger_list* parent; member 120 struct android_log_logger_list* parent; member 134 ((transp)->parent == (logger_list)); \ 143 ((logp)->parent == (logger_list)); \
|
/system/connectivity/wificond/scanning/offload/ |
D | offload_service_utils.cpp | 53 OffloadServiceUtils::GetOffloadScanCallbackInterface(ScannerImpl* parent) { in GetOffloadScanCallbackInterface() argument 54 return std::make_shared<OffloadScanCallbackInterfaceImpl>(parent); in GetOffloadScanCallbackInterface()
|
/system/core/debuggerd/ |
D | signal_sender.cpp | 80 pid_t parent = getpid(); in start_signal_sender() local 119 if (getppid() == parent) { in start_signal_sender() 120 kill(parent, SIGKILL); in start_signal_sender()
|
/system/libhwbinder/include/hwbinder/ |
D | binder_kernel.h | 77 binder_size_t parent; /* index of parent in objects array */ member 95 binder_size_t parent; /* index of parent in objects array */ member
|
/system/libufdt/include/ |
D | ufdt_types.h | 59 struct ufdt_node parent; member 64 struct ufdt_node parent; member
|
/system/libvintf/ |
D | parse_xml.cpp | 67 inline void appendChild(NodeType *parent, NodeType *child) { in appendChild() argument 68 parent->InsertEndChild(child); in appendChild() 71 inline void appendChild(DocType *parent, NodeType *child) { in appendChild() argument 72 parent->InsertEndChild(child); in appendChild() 80 inline void appendText(NodeType *parent, const std::string &text, DocType *d) { in appendText() argument 81 parent->InsertEndChild(d->NewText(text.c_str())); in appendText() 92 inline NodeType *getChild(NodeType *parent, const std::string &name) { in getChild() argument 93 return parent->FirstChildElement(name.c_str()); in getChild() 96 inline NodeType *getRootChild(DocType *parent) { in getRootChild() argument 97 return parent->FirstChildElement(); in getRootChild() [all …]
|
/system/core/adb/ |
D | adb_utils_test.cpp | 37 static std::string subdir(const char* parent, const char* child) { in subdir() argument 38 std::string str(parent); in subdir()
|