Searched refs:element (Results 1 – 14 of 14) sorted by relevance
/system/media/camera/docs/ |
D | metadata_validate.py | 77 def find_parent_by_name(element, names): argument 98 matching_parents = [i.name for i in element.parents if i.name in names] 105 def find_all_child_tags(element, tag): argument 130 matching_tags = [i for i in element.children if isinstance(i, Tag) and i.name == tag] 133 def find_child_tag(element, tag): argument 155 matching_tags = find_all_child_tags(element, tag) 161 def find_kind(element): argument 176 parent_kind = find_parent_by_name(element, kinds)
|
D | metadata_parser_xml.py | 110 def _find_direct_strings(element): argument 111 if element.string is not None: 112 return [element.string] 114 return [i for i in element.contents if isinstance(i, NavigableString)] 117 def _strings_no_nl(element): argument 118 return "".join([i.strip() for i in MetadataParserXml._find_direct_strings(element)])
|
D | html.mako | 85 /* TODO: generate abbr element for each tag link? */
|
/system/core/logd/ |
D | LogTimes.cpp | 162 bool LogTimeEntry::FilterFirstPass(const LogBufferElement *element, void *obj) { in FilterFirstPass() argument 168 me->mStart = element->getMonotonicTime(); in FilterFirstPass() 171 if ((!me->mPid || (me->mPid == element->getPid())) in FilterFirstPass() 172 && (me->mLogMask & (1 << element->getLogId()))) { in FilterFirstPass() 182 bool LogTimeEntry::FilterSecondPass(const LogBufferElement *element, void *obj) { in FilterSecondPass() argument 192 me->mStart = element->getMonotonicTime(); in FilterSecondPass() 199 if ((me->mLogMask & (1 << element->getLogId())) == 0) { in FilterSecondPass() 203 if (me->mPid && (me->mPid != element->getPid())) { in FilterSecondPass()
|
D | LogReader.cpp | 123 static bool callback(const LogBufferElement *element, void *obj) { in onDataAvailable() argument 126 && (!me->mPid || (me->mPid == element->getPid())) in onDataAvailable() 127 && (me->mLogMask & (1 << element->getLogId()))) { in onDataAvailable() 128 if (me->start == element->getRealTime()) { in onDataAvailable() 129 me->start = element->getMonotonicTime(); in onDataAvailable() 132 if (me->start < element->getRealTime()) { in onDataAvailable() 136 me->last = element->getMonotonicTime(); in onDataAvailable()
|
D | LogBuffer.cpp | 446 bool (*filter)(const LogBufferElement *element, void *arg), void *arg) { in flushTo() argument 453 LogBufferElement *element = *it; in flushTo() local 455 if (!privileged && (element->getUid() != uid)) { in flushTo() 459 if (element->getMonotonicTime() <= start) { in flushTo() 464 if (filter && !(*filter)(element, arg)) { in flushTo() 471 max = element->flushTo(reader); in flushTo() 473 if (max == element->FLUSH_ERROR) { in flushTo() 492 LogBufferElement *element = *it; in formatStatistics() local 494 if ((logMask & (1 << element->getLogId()))) { in formatStatistics() 495 oldest = element->getMonotonicTime(); in formatStatistics()
|
D | LogWhiteBlackList.h | 63 bool naughty(LogBufferElement *element); 64 bool nice(LogBufferElement *element);
|
D | LogWhiteBlackList.cpp | 221 bool PruneList::naughty(LogBufferElement *element) { in naughty() argument 224 if (!(*it)->cmp(element)) { in naughty() 231 bool PruneList::nice(LogBufferElement *element) { in nice() argument 234 if (!(*it)->cmp(element)) { in nice()
|
D | LogTimes.h | 104 static bool FilterFirstPass(const LogBufferElement *element, void *me); 105 static bool FilterSecondPass(const LogBufferElement *element, void *me);
|
D | LogBuffer.h | 57 bool (*filter)(const LogBufferElement *element, void *arg) = NULL,
|
D | LogStatistics.h | 56 void addTotal(size_t size, size_t element);
|
D | LogStatistics.cpp | 85 void PidStatistics::addTotal(size_t size, size_t element) { in addTotal() argument 88 mElementsTotal += element; in addTotal()
|
/system/extras/ext4_utils/ |
D | allocate.c | 74 struct xattr_list_element *element; in xattr_list_find() local 75 for (element = aux_info.xattrs; element != NULL; element = element->next) { in xattr_list_find() 76 if (element->inode == inode) in xattr_list_find() 77 return element->header; in xattr_list_find() 84 struct xattr_list_element *element = malloc(sizeof(struct xattr_list_element)); in xattr_list_insert() local 85 element->inode = inode; in xattr_list_insert() 86 element->header = header; in xattr_list_insert() 87 element->next = aux_info.xattrs; in xattr_list_insert() 88 aux_info.xattrs = element; in xattr_list_insert()
|
/system/core/libutils/ |
D | README | 287 0x00000001 # header_block for integer; overlay IDs span 1 element
|