Home
last modified time | relevance | path

Searched refs:element (Results 1 – 5 of 5) sorted by relevance

/system/media/camera/docs/
Dmetadata_validate.py66 def find_parent_by_name(element, names): argument
87 matching_parents = [i.name for i in element.parents if i.name in names]
94 def find_all_child_tags(element, tag): argument
119 matching_tags = [i for i in element.children if isinstance(i, Tag) and i.name == tag]
122 def find_child_tag(element, tag): argument
144 matching_tags = find_all_child_tags(element, tag)
150 def find_kind(element): argument
165 parent_kind = find_parent_by_name(element, kinds)
Dmetadata_parser_xml.py93 def _find_direct_strings(element): argument
94 if element.string is not None:
95 return [element.string]
97 return [i for i in element.contents if isinstance(i, NavigableString)]
100 def _strings_no_nl(element): argument
101 return "".join([i.strip() for i in MetadataParserXml._find_direct_strings(element)])
Dhtml.mako57 /* TODO: generate abbr element for each tag link? */
/system/extras/ext4_utils/
Dallocate.c85 struct xattr_list_element *element; in xattr_list_find() local
86 for (element = aux_info.xattrs; element != NULL; element = element->next) { in xattr_list_find()
87 if (element->inode == inode) in xattr_list_find()
88 return element->header; in xattr_list_find()
95 struct xattr_list_element *element = malloc(sizeof(struct xattr_list_element)); in xattr_list_insert() local
96 element->inode = inode; in xattr_list_insert()
97 element->header = header; in xattr_list_insert()
98 element->next = aux_info.xattrs; in xattr_list_insert()
99 aux_info.xattrs = element; in xattr_list_insert()
/system/core/libcorkscrew/
Dsymbol_table.c48 static int bcompar(const void *key, const void *element) { in bcompar() argument
50 const symbol_t* symbol = (const symbol_t*)element; in bcompar()