/external/chromium_org/tools/gyp/pylib/gyp/ |
xml_fix.py | 13 import xml.dom.minidom namespace 52 """Object to manage temporary patching of xml.dom.minidom.""" 55 # Preserve current xml.dom.minidom functions. 56 self.write_data = xml.dom.minidom._write_data 57 self.writexml = xml.dom.minidom.Element.writexml 59 xml.dom.minidom._write_data = _Replacement_write_data 60 xml.dom.minidom.Element.writexml = _Replacement_writexml 64 xml.dom.minidom._write_data = self.write_data 65 xml.dom.minidom.Element.writexml = self.writexml
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/net/ |
unittestresults.py | 30 import xml.dom.minidom namespace 41 dom = xml.dom.minidom.parseString(string)
|
/external/chromium_org/tools/grit/grit/gather/ |
policy_json.py | 15 from xml.dom import minidom namespace 39 if (node1.nodeType == minidom.Node.TEXT_NODE): 41 elif (node1.nodeType == minidom.Node.ELEMENT_NODE and 67 node = minidom.parseString(xml).childNodes[0] 73 if child.nodeType == minidom.Node.TEXT_NODE: 75 elif child.nodeType == minidom.Node.ELEMENT_NODE: 99 if child.nodeType == minidom.Node.TEXT_NODE: 104 elif child.nodeType == minidom.Node.ELEMENT_NODE: 112 if child.nodeType == minidom.Node.TEXT_NODE: 114 elif node.nodeType == minidom.Node.ELEMENT_NODE [all...] |
/cts/tools/utils/ |
android_api_description_splitter.py | 80 import xml.dom.minidom;
namespace 86 self.doc = xml.dom.minidom.parse(xmlfile)
106 if child.nodeType == xml.dom.minidom.Node.ELEMENT_NODE:
125 doc = xml.dom.minidom.Document()
|
rerun.py | 20 from xml.dom import minidom namespace 52 doc = minidom.parse(resultXml)
|
/external/chromium/testing/gtest/test/ |
gtest_xml_outfiles_test.py | 37 from xml.dom import minidom, Node namespace 118 expected = minidom.parseString(expected_xml) 120 actual = minidom.parse(output_file1) 122 actual = minidom.parse(output_file2)
|
/external/chromium_org/testing/gtest/test/ |
gtest_xml_outfiles_test.py | 37 from xml.dom import minidom, Node namespace 118 expected = minidom.parseString(expected_xml) 120 actual = minidom.parse(output_file1) 122 actual = minidom.parse(output_file2)
|
/external/gtest/test/ |
gtest_xml_outfiles_test.py | 37 from xml.dom import minidom, Node namespace 118 expected = minidom.parseString(expected_xml) 120 actual = minidom.parse(output_file1) 122 actual = minidom.parse(output_file2)
|
/external/protobuf/gtest/test/ |
gtest_xml_outfiles_test.py | 37 from xml.dom import minidom, Node namespace 118 expected = minidom.parseString(expected_xml) 120 actual = minidom.parse(output_file1) 122 actual = minidom.parse(output_file2)
|
/ndk/sources/third_party/googletest/googletest/test/ |
gtest_xml_outfiles_test.py | 37 from xml.dom import minidom, Node namespace 118 expected = minidom.parseString(expected_xml) 120 actual = minidom.parse(output_file1) 122 actual = minidom.parse(output_file2)
|
/external/chromium_org/content/browser/tracing/ |
generate_trace_viewer_grd.py | 15 from xml.dom import minidom namespace 72 doc = minidom.parseString(kGrdTemplate)
|
/development/testrunner/test_defs/ |
test_defs.py | 21 import xml.dom.minidom namespace 55 doc = xml.dom.minidom.parse(file_path) 69 doc = xml.dom.minidom.parseString(xml_string)
|
/external/chromium_org/build/android/lint/ |
suppress.py | 14 from xml.dom import minidom namespace 50 dom = minidom.parse(config_path) 63 dom = minidom.parse(result_path) 74 new_dom = minidom.getDOMImplementation().createDocument(None, 'lint', None)
|
/development/testrunner/ |
android_manifest.py | 26 import xml.dom.minidom namespace 65 self._dom = xml.dom.minidom.parse(self._manifest_path)
|
/external/chromium_org/tools/grit/grit/tool/ |
android2grd_unittest.py | 14 import xml.dom.minidom namespace 28 return xml.dom.minidom.parseString(xml_string).childNodes[0] 89 android_dom = xml.dom.minidom.parse(android_file)
|
/external/chromium_org/tools/metrics/histograms/ |
pretty_print.py | 23 import xml.dom.minidom namespace 109 node: The minidom node to pretty-print. 119 if node.nodeType == xml.dom.minidom.Node.DOCUMENT_NODE: 123 if node.nodeType == xml.dom.minidom.Node.TEXT_NODE: 149 if node.nodeType == xml.dom.minidom.Node.ELEMENT_NODE: 233 if node.nodeType == xml.dom.minidom.Node.COMMENT_NODE: 260 node: The minidom node to transform. 263 The minidom node, with children appropriately alphabetized. Note that the 264 transformation is done in-place, i.e. the original minidom tree is modified 267 if node.nodeType != xml.dom.minidom.Node.ELEMENT_NODE [all...] |
update_extension_functions.py | 15 from xml.dom import minidom namespace 86 document: A minidom.Document object representing parsed histogram 131 histograms_doc = minidom.parse(f)
|
update_policies.py | 16 from xml.dom import minidom namespace 77 doc: A minidom.Document object representing parsed histogram definitions 116 histograms_doc = minidom.parse(f)
|
/external/chromium_org/build/android/gyp/ |
generate_v14_compatible_resources.py | 27 import xml.dom.minidom as minidom namespace 59 """minidom helper function that iterates all the element nodes. 103 dom = minidom.parse(input_filename) 115 dom: Parsed minidom object to be modified. 147 dom: Parsed minidom object to be modified. 180 dom = minidom.parse(input_filename) 199 dom = minidom.parse(input_filename) 234 dom = minidom.parse(input_filename) 247 dom = minidom.parse(input_filename [all...] |
/cts/tools/utils/cts/ |
tools.py | 20 import xml.dom.minidom as minidom namespace 94 """Returns a minidom Document representing the test package structure.""" 95 doc = minidom.Document() 162 doc = minidom.Document() 181 self.doc = minidom.parse(path)
|
/external/chromium_org/remoting/tools/ |
verify_resources.py | 32 import xml.dom.minidom as minidom namespace 42 xml = minidom.parse(filename)
|
/development/testrunner/coverage/ |
coverage_targets.py | 17 import xml.dom.minidom namespace 64 doc = xml.dom.minidom.parse(file_path)
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/ |
generate_devtools_grd.py | 39 from xml.dom import minidom namespace 95 doc = minidom.parseString(kGrdTemplate)
|
/external/chromium_org/tools/grit/grit/format/policy_templates/writers/ |
plist_writer.py | 7 from xml.dom import minidom namespace 122 dom_impl = minidom.getDOMImplementation('')
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/xml/dom/ |
expatbuilder.py | 1 """Facility to use the Expat parser to load a minidom instance 10 # minidom DOM and can't be used with other DOM implementations. This 30 from xml.dom import xmlbuilder, minidom, Node namespace 33 from xml.dom.minidom import _append_child, _set_attribute_node 47 theDOMImplementation = minidom.getDOMImplementation() 51 "CDATA": minidom.TypeInfo(None, "cdata"), 52 "ENUM": minidom.TypeInfo(None, "enumeration"), 53 "ENTITY": minidom.TypeInfo(None, "entity"), 54 "ENTITIES": minidom.TypeInfo(None, "entities"), 55 "ID": minidom.TypeInfo(None, "id") [all...] |