/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/dbus/ |
H A D | dbus_new_introspect.c | 23 struct wpabuf *xml; member 41 iface->xml = wpabuf_alloc(15000); in add_interface() 42 if (iface->dbus_interface == NULL || iface->xml == NULL) { in add_interface() 44 wpabuf_free(iface->xml); in add_interface() 48 wpabuf_printf(iface->xml, "<interface name=\"%s\">", dbus_interface); in add_interface() 54 static void add_arg(struct wpabuf *xml, const char *name, const char *type, in add_arg() argument 57 wpabuf_printf(xml, "<arg name=\"%s\"", name); in add_arg() 59 wpabuf_printf(xml, " type=\"%s\"", type); in add_arg() 61 wpabuf_printf(xml, " direction=\"%s\"", direction); in add_arg() 62 wpabuf_put_str(xml, "/>"); in add_arg() 66 add_entry(struct wpabuf *xml, const char *type, const char *name, const struct wpa_dbus_argument *args, int include_dir) add_entry() argument 85 add_property(struct wpabuf *xml, const struct wpa_dbus_property_desc *dsc) add_property() argument 159 add_interfaces(struct dl_list *list, struct wpabuf *xml) add_interfaces() argument 181 add_child_nodes(struct wpabuf *xml, DBusConnection *con, const char *path) add_child_nodes() argument 195 add_introspectable_interface(struct wpabuf *xml) add_introspectable_interface() argument 207 add_properties_interface(struct wpabuf *xml) add_properties_interface() argument 233 add_wpas_interfaces(struct wpabuf *xml, struct wpa_dbus_object_desc *obj_dsc) add_wpas_interfaces() argument 258 struct wpabuf *xml; wpa_dbus_introspect() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/ |
H A D | dbus_new_introspect.c | 23 struct wpabuf *xml; member 41 iface->xml = wpabuf_alloc(15000); in add_interface() 42 if (iface->dbus_interface == NULL || iface->xml == NULL) { in add_interface() 44 wpabuf_free(iface->xml); in add_interface() 48 wpabuf_printf(iface->xml, "<interface name=\"%s\">", dbus_interface); in add_interface() 54 static void add_arg(struct wpabuf *xml, const char *name, const char *type, in add_arg() argument 57 wpabuf_printf(xml, "<arg name=\"%s\"", name); in add_arg() 59 wpabuf_printf(xml, " type=\"%s\"", type); in add_arg() 61 wpabuf_printf(xml, " direction=\"%s\"", direction); in add_arg() 62 wpabuf_put_str(xml, "/>"); in add_arg() 66 add_entry(struct wpabuf *xml, const char *type, const char *name, const struct wpa_dbus_argument *args, int include_dir) add_entry() argument 85 add_property(struct wpabuf *xml, const struct wpa_dbus_property_desc *dsc) add_property() argument 159 add_interfaces(struct dl_list *list, struct wpabuf *xml) add_interfaces() argument 181 add_child_nodes(struct wpabuf *xml, DBusConnection *con, const char *path) add_child_nodes() argument 195 add_introspectable_interface(struct wpabuf *xml) add_introspectable_interface() argument 207 add_properties_interface(struct wpabuf *xml) add_properties_interface() argument 233 add_wpas_interfaces(struct wpabuf *xml, struct wpa_dbus_object_desc *obj_dsc) add_wpas_interfaces() argument 258 struct wpabuf *xml; wpa_dbus_introspect() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hs20/client/ |
H A D | oma_dm_client.c | 13 #include "xml-utils.h" 84 locuri = get_node(ctx->xml, node, "Item/Target/LocURI"); in oma_dm_get_target_locuri() 88 uri = xml_node_get_text(ctx->xml, locuri); in oma_dm_get_target_locuri() 91 xml_node_get_text_free(ctx->xml, uri); in oma_dm_get_target_locuri() 101 node = xml_node_create(ctx->xml, parent, NULL, element); in oma_dm_add_locuri() 104 xml_node_create_text(ctx->xml, node, NULL, "LocURI", uri); in oma_dm_add_locuri() 116 "DevId from devinfo.xml is not available - cannot use OMA DM"); in oma_dm_build_hdr() 120 syncml = xml_node_create_root(ctx->xml, "SYNCML:SYNCML1.2", NULL, &ns, in oma_dm_build_hdr() 123 synchdr = xml_node_create(ctx->xml, syncml, NULL, "SyncHdr"); in oma_dm_build_hdr() 124 xml_node_create_text(ctx->xml, synchd in oma_dm_build_hdr() [all...] |
H A D | spp_client.c | 16 #include "xml-utils.h" 44 struct xml_node_ctx *xctx = ctx->xml; in hs20_spp_validate() 117 spp_node = xml_node_create_root(ctx->xml, SPP_NS_URI, "spp", &ns, in build_spp_post_dev_data() 124 xml_node_add_attr(ctx->xml, spp_node, ns, "sppVersion", "1.0"); in build_spp_post_dev_data() 125 xml_node_add_attr(ctx->xml, spp_node, NULL, "requestReason", reason); in build_spp_post_dev_data() 127 xml_node_add_attr(ctx->xml, spp_node, ns, "sessionID", in build_spp_post_dev_data() 129 xml_node_add_attr(ctx->xml, spp_node, NULL, "redirectURI", in build_spp_post_dev_data() 132 xml_node_create_text(ctx->xml, spp_node, ns, "supportedSPPVersions", in build_spp_post_dev_data() 134 xml_node_create_text(ctx->xml, spp_node, ns, "supportedMOList", in build_spp_post_dev_data() 138 add_mo_container(ctx->xml, n in build_spp_post_dev_data() [all...] |
H A D | osu_client.c | 19 #include "utils/xml-utils.h" 80 char *str = xml_node_to_str(ctx->xml, node); in debug_dump_node() 144 proto = xml_node_get_attr_value(ctx->xml, getcert, in osu_get_certificate() 152 xml_node_get_attr_value_free(ctx->xml, proto); in osu_get_certificate() 155 xml_node_get_attr_value_free(ctx->xml, proto); in osu_get_certificate() 157 node = get_node(ctx->xml, getcert, "enrollmentServerURI"); in osu_get_certificate() 160 xml_node_get_attr_value_free(ctx->xml, proto); in osu_get_certificate() 163 url = xml_node_get_text(ctx->xml, node); in osu_get_certificate() 171 node = get_node(ctx->xml, getcert, "estUserID"); in osu_get_certificate() 177 user = xml_node_get_text(ctx->xml, nod in osu_get_certificate() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/hs20/client/ |
H A D | oma_dm_client.c | 13 #include "xml-utils.h" 84 locuri = get_node(ctx->xml, node, "Item/Target/LocURI"); in oma_dm_get_target_locuri() 88 uri = xml_node_get_text(ctx->xml, locuri); in oma_dm_get_target_locuri() 91 xml_node_get_text_free(ctx->xml, uri); in oma_dm_get_target_locuri() 101 node = xml_node_create(ctx->xml, parent, NULL, element); in oma_dm_add_locuri() 104 xml_node_create_text(ctx->xml, node, NULL, "LocURI", uri); in oma_dm_add_locuri() 116 "DevId from devinfo.xml is not available - cannot use OMA DM"); in oma_dm_build_hdr() 120 syncml = xml_node_create_root(ctx->xml, "SYNCML:SYNCML1.2", NULL, &ns, in oma_dm_build_hdr() 123 synchdr = xml_node_create(ctx->xml, syncml, NULL, "SyncHdr"); in oma_dm_build_hdr() 124 xml_node_create_text(ctx->xml, synchd in oma_dm_build_hdr() [all...] |
H A D | spp_client.c | 16 #include "xml-utils.h" 44 struct xml_node_ctx *xctx = ctx->xml; in hs20_spp_validate() 117 spp_node = xml_node_create_root(ctx->xml, SPP_NS_URI, "spp", &ns, in build_spp_post_dev_data() 124 xml_node_add_attr(ctx->xml, spp_node, ns, "sppVersion", "1.0"); in build_spp_post_dev_data() 125 xml_node_add_attr(ctx->xml, spp_node, NULL, "requestReason", reason); in build_spp_post_dev_data() 127 xml_node_add_attr(ctx->xml, spp_node, ns, "sessionID", in build_spp_post_dev_data() 129 xml_node_add_attr(ctx->xml, spp_node, NULL, "redirectURI", in build_spp_post_dev_data() 132 xml_node_create_text(ctx->xml, spp_node, ns, "supportedSPPVersions", in build_spp_post_dev_data() 134 xml_node_create_text(ctx->xml, spp_node, ns, "supportedMOList", in build_spp_post_dev_data() 138 add_mo_container(ctx->xml, n in build_spp_post_dev_data() [all...] |
H A D | osu_client.c | 19 #include "utils/xml-utils.h" 80 char *str = xml_node_to_str(ctx->xml, node); in debug_dump_node() 144 proto = xml_node_get_attr_value(ctx->xml, getcert, in osu_get_certificate() 152 xml_node_get_attr_value_free(ctx->xml, proto); in osu_get_certificate() 155 xml_node_get_attr_value_free(ctx->xml, proto); in osu_get_certificate() 157 node = get_node(ctx->xml, getcert, "enrollmentServerURI"); in osu_get_certificate() 160 xml_node_get_attr_value_free(ctx->xml, proto); in osu_get_certificate() 163 url = xml_node_get_text(ctx->xml, node); in osu_get_certificate() 171 node = get_node(ctx->xml, getcert, "estUserID"); in osu_get_certificate() 177 user = xml_node_get_text(ctx->xml, nod in osu_get_certificate() [all...] |
/third_party/mesa3d/src/util/ |
H A D | driconf_static.py | 24 from xml.etree import ElementTree 39 def __init__(self, xml): 41 self.name = xml.attrib['name'] 42 self.value = xml.attrib['value'] 45 def __init__(self, xml): 47 self.name = xml.attrib['name'] 48 self.executable = xml.attrib.get('executable', None) 49 self.executable_regexp = xml.attrib.get('executable_regexp', None) 50 self.sha1 = xml.attrib.get('sha1', None) 51 self.application_name_match = xml 228 xml = sys.argv[1] global() variable [all...] |
/third_party/icu/tools/multi/proj/icu4cscan/ |
H A D | Makefile | 9 XML=./xml 15 INTROXMLS=$(wildcard $(INPUT)/*-introduction.xml) 16 FEATXMLS=$(INTROXMLS:$(INPUT)/%-introduction.xml=$(COOKED)/%-cooked.xml) $(COOKED)/characters.xml 17 ALLCOOKED=cooked/features.xml 31 MergerBuild=$(ICUMETA)/build.xml 34 #BASEXMLS=$(ICUMETA)/xml/icumeta.xml 35 BASEXMLS=$(ICUMETA)/input/versions.xml [all...] |
/third_party/mesa3d/src/compiler/isaspec/ |
H A D | isa.py | 23 from xml.etree import ElementTree 71 def extract_pattern(xml, name, is_defined_bits=None): 72 low, high = get_bitrange(xml) 75 patstr = xml.text.strip() 77 assert (len(patstr) == (1 + high - low)), "Invalid {} length in {}: {}..{}".format(xml.tag, name, low, high) 79 assert not is_defined_bits(mask), "Redefined bits in {} {}: {}..{}".format(xml.tag, name, low, high); 92 assert 0, "Invalid {} character in {}: {}".format(xml.tag, name, patstr[n]) 94 dbg("{}: {}.{} => {:016x} / {:016x} / {:016x}".format(xml.tag, name, patstr, match << low, dontcare << low, mask)) 104 def __init__(self, isa, xml): 106 self.low, self.high = get_bitrange(xml) [all...] |
/third_party/icu/tools/unicodetools/com/ibm/rbm/ |
H A D | RBxliffExporter.java | 14 import javax.xml.parsers.*; 15 import javax.xml.transform.*; 16 import javax.xml.transform.dom.*; 17 import javax.xml.transform.stream.*; 99 private void addTransUnit(Document xml, Element groupElem, BundleItem item, BundleItem parent_item) { in addTransUnit() argument 100 Element transUnit = xml.createElement("trans-unit"); in addTransUnit() 109 Element source = xml.createElement("source"); in addTransUnit() 110 source.setAttribute("xml:space","preserve"); in addTransUnit() 111 source.appendChild(xml.createTextNode(parent_item.getTranslation())); in addTransUnit() 114 Element target = xml in addTransUnit() 188 addHeaderProperties(Document xml, Element header, Bundle main_bundle) addHeaderProperties() argument [all...] |
H A D | RBTMXExporter.java | 15 import org.apache.xml.serialize.*; 97 private void appendTUV(Document xml, Element tu, BundleItem item) { in appendTUV() argument 98 Element tuv = xml.createElement("tuv"); in appendTUV() 107 Element comment_prop = xml.createElement("prop"); in appendTUV() 108 comment_prop.appendChild(xml.createTextNode(item.getComment())); in appendTUV() 112 Element translated_prop = xml.createElement("prop"); in appendTUV() 113 translated_prop.appendChild(xml.createTextNode(String.valueOf(item.isTranslated()))); in appendTUV() 122 Element lookup_prop = xml.createElement("prop"); in appendTUV() 123 lookup_prop.appendChild(xml.createTextNode(key + "=" + value)); in appendTUV() 128 Element seg = xml in appendTUV() [all...] |
/third_party/python/PC/layout/support/ |
H A D | appxmanifest.py | 16 from xml.etree import ElementTree as ET 90 APPXMANIFEST_TEMPLATE = """<?xml version="1.0" encoding="utf-8"?> 124 RESOURCES_XML_TEMPLATE = r"""<?xml version="1.0" encoding="UTF-8" standalone="yes"?> 226 xml = ET.parse(f) 230 ae = xml.find("s:AuthorizedEntities", NS) 237 for e in xml.findall("s:Catalog", NS): 243 xml.write(f, encoding="utf-8") 248 def find_or_add(xml, element, attr=None, always_add=False): 255 e = xml.find(q, APPXMANIFEST_NS) 259 e = ET.SubElement(xml, nam [all...] |
/third_party/mesa3d/src/panfrost/perf/ |
H A D | pan_gen_perf.py | 26 import xml.etree.ElementTree as et namespace 49 # xml XML representation of itself 50 def __init__(self, category, xml): 52 self.xml = xml 53 self.name = self.xml.get("name") 54 self.desc = self.xml.get("description") 55 self.units = self.xml.get("units") 56 self.offset = int(self.xml.get("offset")) 57 self.underscore_name = self.xml [all...] |
/third_party/mesa3d/src/intel/genxml/ |
H A D | gen_sort_tags.py | 9 import xml.etree.ElementTree as et namespace 52 def __init__(self, xml): 53 self.xml = xml 54 self.name = xml.attrib['name'] 59 add_struct_refs(deps, self.xml) 69 items[self.name] = self.xml 108 xml = et.parse(filename) 109 genxml = xml.getroot() 121 structs = sorted(xml [all...] |
/third_party/python/Lib/xml/dom/ |
H A D | minidom.py | 5 parse("foo.xml") 19 import xml.dom namespace 21 from xml.dom import EMPTY_NAMESPACE, EMPTY_PREFIX, XMLNS_NAMESPACE, domreg 22 from xml.dom.minicompat import * 23 from xml.dom.xmlbuilder import DOMImplementationLS, DocumentLS 30 _nodeTypes_with_children = (xml.dom.Node.ELEMENT_NODE, 31 xml.dom.Node.ENTITY_REFERENCE_NODE) 34 class Node(xml.dom.Node): 89 raise xml.dom.HierarchyRequestErr( 99 raise xml [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
H A D | BasicDurationFormat.java | 42 } else if (object instanceof javax.xml.datatype.Duration) { in format() 90 * @see "http://java.sun.com/j2se/1.5.0/docs/api/javax/xml/datatype/Duration.html" 93 javax.xml.datatype.DatatypeConstants.Field inFields[] = { in formatDuration() 94 javax.xml.datatype.DatatypeConstants.YEARS, in formatDuration() 95 javax.xml.datatype.DatatypeConstants.MONTHS, in formatDuration() 96 javax.xml.datatype.DatatypeConstants.DAYS, in formatDuration() 97 javax.xml.datatype.DatatypeConstants.HOURS, in formatDuration() 98 javax.xml.datatype.DatatypeConstants.MINUTES, in formatDuration() 99 javax.xml.datatype.DatatypeConstants.SECONDS, in formatDuration() 110 javax.xml in formatDuration() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/duration/ |
H A D | BasicDurationFormat.java | 44 } else if (object instanceof javax.xml.datatype.Duration) { in format() 92 * @see "http://java.sun.com/j2se/1.5.0/docs/api/javax/xml/datatype/Duration.html" 95 javax.xml.datatype.DatatypeConstants.Field inFields[] = { in formatDuration() 96 javax.xml.datatype.DatatypeConstants.YEARS, in formatDuration() 97 javax.xml.datatype.DatatypeConstants.MONTHS, in formatDuration() 98 javax.xml.datatype.DatatypeConstants.DAYS, in formatDuration() 99 javax.xml.datatype.DatatypeConstants.HOURS, in formatDuration() 100 javax.xml.datatype.DatatypeConstants.MINUTES, in formatDuration() 101 javax.xml.datatype.DatatypeConstants.SECONDS, in formatDuration() 112 javax.xml in formatDuration() [all...] |
/third_party/skia/third_party/externals/opengl-registry/xml/ |
H A D | Makefile | 50 $(GLHEADERS): gl.xml $(PYFILES) 53 $(GLXHEADERS): glx.xml $(PYFILES) 54 $(GENHEADERS) $@ -registry glx.xml 56 $(WGLHEADERS): wgl.xml $(PYFILES) 57 $(GENHEADERS) $@ -registry wgl.xml 67 jing -c registry.rnc gl.xml 68 jing -c registry.rnc glx.xml 69 jing -c registry.rnc wgl.xml
|
/third_party/skia/third_party/externals/angle2/scripts/ |
H A D | generate_loader.py | 107 data_source_name = "egl.xml and egl_angle_ext.xml" 108 xml = registry_xml.RegistryXML("egl.xml", "egl_angle_ext.xml") 116 xml.AddCommands(feature_name, annotation) 118 xml.AddExtensionCommands(registry_xml.supported_egl_extensions, ['egl']) 120 all_cmds = xml.all_cmd_names.get_all_commands() 137 data_source_name = "gl.xml and gl_angle_ext.xml" [all...] |
/third_party/node/deps/v8/tools/testrunner/local/ |
H A D | junit_output.py | 29 import xml.etree.ElementTree as xml namespace 34 self.root = xml.Element("testsuite") 38 testCaseElement = xml.Element("testcase") 43 failureElement = xml.Element("failure") 49 xml.ElementTree(self.root).write(f, "UTF-8")
|
/third_party/curl/tests/ |
H A D | getpart.pm | 49 my @xml; # test data file contents 76 for(@xml) { 100 for(@xml) { 139 for(@xml) { 214 for(@xml) { 239 undef @xml; 245 push @xml, $_; 263 return @xml; 272 for(@xml) {
|
/third_party/mesa3d/src/mapi/glapi/gen/ |
H A D | gl_enums.py | 32 import xml.etree.ElementTree as ET namespace 151 def printBody(self, xml): 152 self.process_enums(xml) 232 def process_enums(self, xml): 235 for enum in xml.findall('enums/enum'): 250 for feature in xml.findall('feature'): 270 for extension in xml.findall('extensions/extension'): 278 help="Choose an xml file to parse.") 284 xml = ET.parse(args.input_file) 287 printer.Print(xml) [all...] |
/third_party/mesa3d/src/vulkan/util/ |
H A D | vk_extensions.py | 3 import xml.etree.ElementTree as et namespace 90 def get_all_exts_from_xml(xml): 93 xml = et.parse(xml) 96 for ext_elem in xml.findall('.extensions/extension'): 112 def init_exts_from_xml(xml, extensions, platform_defines): 115 xml = et.parse(xml) 123 for platform in xml.findall('./platforms/platform'): 126 for ext_elem in xml [all...] |