Home
last modified time | relevance | path

Searched refs:tag (Results 1 – 25 of 161) sorted by relevance

1234567

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/etree/
DElementTree.py106 def find(self, element, tag, namespaces=None): argument
108 if elem.tag == tag:
111 def findtext(self, element, tag, default=None, namespaces=None): argument
112 elem = self.find(element, tag)
116 def iterfind(self, element, tag, namespaces=None): argument
117 if tag[:3] == ".//":
118 for elem in element.iter(tag[3:]):
121 if elem.tag == tag:
123 def findall(self, element, tag, namespaces=None): argument
124 return list(self.iterfind(element, tag, namespaces))
[all …]
DElementPath.py75 tag = token[1]
76 if tag and tag[0] != "{" and ":" in tag:
78 prefix, uri = tag.split(":", 1)
97 tag = token[1]
101 if e.tag == tag:
121 tag = "*"
123 tag = token[1]
128 for e in elem.iter(tag):
181 tag = predicate[0]
184 if elem.find(tag) is not None:
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/etree/
DElementTree.py106 def find(self, element, tag, namespaces=None): argument
108 if elem.tag == tag:
111 def findtext(self, element, tag, default=None, namespaces=None): argument
112 elem = self.find(element, tag)
116 def iterfind(self, element, tag, namespaces=None): argument
117 if tag[:3] == ".//":
118 for elem in element.iter(tag[3:]):
121 if elem.tag == tag:
123 def findall(self, element, tag, namespaces=None): argument
124 return list(self.iterfind(element, tag, namespaces))
[all …]
DElementPath.py75 tag = token[1]
76 if tag and tag[0] != "{" and ":" in tag:
78 prefix, uri = tag.split(":", 1)
97 tag = token[1]
101 if e.tag == tag:
121 tag = "*"
123 tag = token[1]
128 for e in elem.iter(tag):
181 tag = predicate[0]
184 if elem.find(tag) is not None:
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dsgmllib.py250 tag, data = match.group(1, 2)
251 self.__starttag_text = '<%s/' % tag
252 tag = tag.lower()
254 self.finish_shorttag(tag, data)
270 tag = self.lasttag
276 tag = rawdata[i+1:k].lower()
277 self.lasttag = tag
296 self.finish_starttag(tag, attrs)
317 tag = rawdata[i+2:j].strip().lower()
320 self.finish_endtag(tag)
[all …]
Ddifflib.py570 tag = ''
572 tag = 'replace'
574 tag = 'delete'
576 tag = 'insert'
577 if tag:
578 answer.append( (tag, i, ai, j, bj) )
616 tag, i1, i2, j1, j2 = codes[0]
617 codes[0] = tag, max(i1, i2-n), i2, max(j1, j2-n), j2
619 tag, i1, i2, j1, j2 = codes[-1]
620 codes[-1] = tag, i1, min(i2, i1+n), j1, min(j2, j1+n)
[all …]
Dxmllib.py131 tag = key[6:]
132 start, end = self.elements.get(tag, (None, None))
134 self.elements[tag] = getattr(self, key), end
136 tag = key[4:]
137 start, end = self.elements.get(tag, (None, None))
139 self.elements[tag] = start, getattr(self, key)
554 def parse_attributes(self, tag, i, j): argument
597 tag = starttagmatch.match(rawdata, i)
598 if tag is None or tag.end(0) != end.end(0):
601 nstag = tagname = tag.group('tagname')
[all …]
DHTMLParser.py240 self.lasttag = tag = rawdata[i+1:k].lower()
269 self.handle_startendtag(tag, attrs)
271 self.handle_starttag(tag, attrs)
272 if tag in self.CDATA_CONTENT_ELEMENTS:
318 tag = match.group(1)
319 self.handle_endtag(tag.lower())
324 def handle_startendtag(self, tag, attrs): argument
325 self.handle_starttag(tag, attrs)
326 self.handle_endtag(tag)
329 def handle_starttag(self, tag, attrs): argument
[all …]
/device/google/contexthub/firmware/os/algos/calibration/util/
Dcal_log.h27 # define CAL_DEBUG_LOG(tag, fmt, ...) \ argument
28 printf("%s " fmt "\n", tag, ##__VA_ARGS__);
34 # define LOGD_TAG(tag, fmt, ...) \ argument
35 LOG_FUNC(LOG_DEBUG, "%s " fmt "\n", tag, ##__VA_ARGS__)
36 # define CAL_DEBUG_LOG(tag, fmt, ...) \ argument
37 osLog(LOG_DEBUG, "%s " fmt, tag, ##__VA_ARGS__);
40 # define CAL_DEBUG_LOG(tag, fmt, ...) \ argument
41 chreLog(CHRE_LOG_INFO, "%s " fmt, tag, ##__VA_ARGS__)
/device/generic/goldfish/camera/
DExif.cpp64 static void removeExistingEntry(ExifData* exifData, ExifIfd ifd, int tag) { in removeExistingEntry() argument
66 static_cast<ExifTag>(tag)); in removeExistingEntry()
72 static ExifEntry* allocateEntry(int tag, in allocateEntry() argument
81 entry->tag = static_cast<ExifTag>(tag); in allocateEntry()
94 int tag, in createEntry() argument
97 removeExistingEntry(exifData, ifd, tag); in createEntry()
99 ExifEntry* entry = allocateEntry(tag, EXIF_FORMAT_RATIONAL, N); in createEntry()
119 int tag, in createEntry() argument
124 return createEntry(exifData, ifd, tag, values, denominator); in createEntry()
131 int tag, in createEntry() argument
[all …]
DEmulatedCamera2.h141 virtual const char* getVendorSectionName(uint32_t tag);
142 virtual const char* getVendorTagName(uint32_t tag);
143 virtual int getVendorTagType(uint32_t tag);
230 uint32_t tag);
233 uint32_t tag);
236 uint32_t tag);
DEmulatedCamera2.cpp187 const char* EmulatedCamera2::getVendorSectionName(uint32_t tag) { in getVendorSectionName() argument
191 const char* EmulatedCamera2::getVendorTagName(uint32_t tag) { in getVendorTagName() argument
195 int EmulatedCamera2::getVendorTagType(uint32_t tag) { in getVendorTagType() argument
344 uint32_t tag) { in get_camera_vendor_section_name() argument
346 return ec->getVendorSectionName(tag); in get_camera_vendor_section_name()
351 uint32_t tag) { in get_camera_vendor_tag_name() argument
353 return ec->getVendorTagName(tag); in get_camera_vendor_tag_name()
358 uint32_t tag) { in get_camera_vendor_tag_type() argument
360 return ec->getVendorTagType(tag); in get_camera_vendor_tag_type()
/device/lge/bullhead/camera/QCamera2/HAL3/
DQCamera3VendorTags.cpp280 uint32_t tag) in get_section_name() argument
287 uint32_t section = tag >> 16; in get_section_name()
295 ALOGV("%s: section_name[%d] is %s", __func__, tag, ret); in get_section_name()
314 uint32_t tag) in get_tag_name() argument
318 uint32_t section = tag >> 16; in get_tag_name()
320 uint32_t tag_index = tag & 0xFFFF; in get_tag_name()
329 else if (tag >= (uint32_t)qcamera3_ext3_section_bounds[section_index]) in get_tag_name()
335 ALOGV("%s: tag name for tag %d is %s", __func__, tag, ret); in get_tag_name()
356 uint32_t tag) in get_tag_type() argument
360 uint32_t section = tag >> 16; in get_tag_type()
[all …]
/device/huawei/angler/camera/QCamera2/HAL3/
DQCamera3VendorTags.cpp280 uint32_t tag) in get_section_name() argument
287 uint32_t section = tag >> 16; in get_section_name()
295 ALOGV("%s: section_name[%d] is %s", __func__, tag, ret); in get_section_name()
314 uint32_t tag) in get_tag_name() argument
318 uint32_t section = tag >> 16; in get_tag_name()
320 uint32_t tag_index = tag & 0xFFFF; in get_tag_name()
329 else if (tag >= (uint32_t)qcamera3_ext3_section_bounds[section_index]) in get_tag_name()
335 ALOGV("%s: tag name for tag %d is %s", __func__, tag, ret); in get_tag_name()
356 uint32_t tag) in get_tag_type() argument
360 uint32_t section = tag >> 16; in get_tag_type()
[all …]
/device/linaro/bootloader/edk2/CorebootModulePkg/Include/
DCoreboot.h105 UINT32 tag; member
127 UINT32 tag; member
135 UINT32 tag; member
153 UINT32 tag; member
161 UINT32 tag; member
173 UINT32 tag; member
188 UINT32 tag; member
195 UINT32 tag; member
215 UINT32 tag; member
225 UINT32 tag; member
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Deptags.py42 tag = m.group(0) + '\177%d,%d\n' % (lineno, charno)
43 tags.append(tag)
44 size = size + len(tag)
47 for tag in tags:
48 outfp.write(tag)
/device/google/marlin/camera/QCamera2/HAL3/
DQCamera3VendorTags.cpp388 uint32_t tag) in get_section_name() argument
395 uint32_t section = tag >> 16; in get_section_name()
403 LOGL("section_name[%d] is %s", tag, ret); in get_section_name()
422 uint32_t tag) in get_tag_name() argument
426 uint32_t section = tag >> 16; in get_tag_name()
428 uint32_t tag_index = tag & 0xFFFF; in get_tag_name()
437 else if (tag >= (uint32_t)qcamera3_ext3_section_bounds[section_index]) in get_tag_name()
443 LOGL("tag name for tag %d is %s", tag, ret); in get_tag_name()
464 uint32_t tag) in get_tag_type() argument
468 uint32_t section = tag >> 16; in get_tag_type()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_elementtree.c236 PyObject* tag; member
298 element_new(PyObject* tag, PyObject* attrib) in element_new() argument
325 Py_INCREF(tag); in element_new()
326 self->tag = tag; in element_new()
471 PyObject* tag; in element() local
473 if (!PyArg_ParseTuple(args, "O|O!:Element", &tag, in element()
488 elem = element_new(tag, attrib); in element()
501 PyObject* tag; in subelement() local
504 &Element_Type, &parent, &tag, in subelement()
519 elem = element_new(tag, attrib); in subelement()
[all …]
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/FdtLib/
Dfdt.c96 uint32_t tag; in fdt_next_tag() local
104 tag = fdt32_to_cpu(*tagp); in fdt_next_tag()
108 switch (tag) { in fdt_next_tag()
140 return tag; in fdt_next_tag()
164 uint32_t tag; in fdt_next_node() local
172 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_next_node()
174 switch (tag) { in fdt_next_node()
196 } while (tag != FDT_BEGIN_NODE); in fdt_next_node()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/IndustryStandard/
DTpm12.h481 TPM_STRUCTURE_TAG tag; member
491 TPM_STRUCTURE_TAG tag; member
538 TPM_STRUCTURE_TAG tag; member
547 TPM_STRUCTURE_TAG tag; member
556 TPM_STRUCTURE_TAG tag; member
574 TPM_STRUCTURE_TAG tag; member
625 TPM_STRUCTURE_TAG tag; member
646 TPM_STRUCTURE_TAG tag; member
737 TPM_STRUCTURE_TAG tag; member
828 TPM_STRUCTURE_TAG tag; member
[all …]
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
DTpm12.h648 TPM_STRUCTURE_TAG tag; member
658 TPM_STRUCTURE_TAG tag; member
705 TPM_STRUCTURE_TAG tag; member
714 TPM_STRUCTURE_TAG tag; member
723 TPM_STRUCTURE_TAG tag; member
741 TPM_STRUCTURE_TAG tag; member
792 TPM_STRUCTURE_TAG tag; member
813 TPM_STRUCTURE_TAG tag; member
873 TPM_STRUCTURE_TAG tag; member
949 TPM_STRUCTURE_TAG tag; member
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dxmllib.py131 tag = key[6:]
132 start, end = self.elements.get(tag, (None, None))
134 self.elements[tag] = getattr(self, key), end
136 tag = key[4:]
137 start, end = self.elements.get(tag, (None, None))
139 self.elements[tag] = start, getattr(self, key)
554 def parse_attributes(self, tag, i, j): argument
597 tag = starttagmatch.match(rawdata, i)
598 if tag is None or tag.end(0) != end.end(0):
601 nstag = tagname = tag.group('tagname')
[all …]
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/EblCmdLib/
DEblCmdFdt.c113 UINT32 tag; in DumpFdt() local
130 while ((tag = fdt32_to_cpu(GET_CELL(p))) != FDT_END) { in DumpFdt()
132 if (tag == FDT_BEGIN_NODE) { in DumpFdt()
145 if (tag == FDT_END_NODE) { in DumpFdt()
152 if (tag == FDT_NOP) { in DumpFdt()
157 if (tag != FDT_PROP) { in DumpFdt()
158 Print(L"%*s ** Unknown tag 0x%08x\n", depth * shift, L" ", tag); in DumpFdt()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_htmlparser.py33 def handle_starttag(self, tag, attrs): argument
34 self.append(("starttag", tag, attrs))
36 def handle_startendtag(self, tag, attrs): argument
37 self.append(("startendtag", tag, attrs))
39 def handle_endtag(self, tag): argument
40 self.append(("endtag", tag))
68 def handle_starttag(self, tag, attrs): argument
69 EventCollector.handle_starttag(self, tag, attrs)
/device/linaro/bootloader/edk2/EmbeddedPkg/Drivers/FdtPlatformDxe/
DShellDumpFdt.c98 UINT32 tag; in DumpFdt() local
132 while ((tag = fdt32_to_cpu (GET_CELL (p))) != FDT_END) { in DumpFdt()
133 if (tag == FDT_BEGIN_NODE) { in DumpFdt()
146 if (tag == FDT_END_NODE) { in DumpFdt()
153 if (tag == FDT_NOP) { in DumpFdt()
158 if (tag != FDT_PROP) { in DumpFdt()
159 Print (L"%*s ** Unknown tag 0x%08x\n", depth * shift, L" ", tag); in DumpFdt()

1234567