HomeSort by relevance Sort by last modified time
    Searched refs:XML (Results 1 - 25 of 298) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /packages/apps/Launcher3/src/com/android/launcher3/
LauncherFiles.java 15 private static final String XML = ".xml";
28 SHARED_PREFERENCES_KEY + XML,
30 MANAGED_USER_PREFERENCES_KEY + XML,
31 DEVICE_PREFERENCES_KEY + XML,
  /external/google-tv-pairing-protocol/java/src/com/google/polo/json/
XMLTokener.java 29 * for the parsing of XML texts.
43 entity.put("amp", XML.AMP);
44 entity.put("apos", XML.APOS);
45 entity.put("gt", XML.GT);
46 entity.put("lt", XML.LT);
47 entity.put("quot", XML.QUOT);
84 * Get the next XML outer token, trimming whitespace. There are two kinds
102 return XML.LT;
125 * @throws JSONException If missing ';' in XML entity.
136 throw syntaxError("Missing ';' in XML entity: &" + sb)
    [all...]
JSONML.java 31 * This provides static methods to convert an XML text into a JSONArray or
32 * JSONObject, and to covert a JSONArray or JSONObject into an XML text using
40 * Parse XML values and store them in a JSONArray.
67 if (token == XML.LT) {
70 if (token == XML.SLASH) {
80 if (x.nextToken() != XML.GT) {
84 } else if (token == XML.BANG) {
109 } else if (token == XML.LT) {
111 } else if (token == XML.GT) {
116 } else if (token == XML.QUEST)
    [all...]
Test.java 76 j = XML.toJSONObject("<![CDATA[This is a collection of test patterns and examples for org.json.]]> Ignore the stuff past the end. ");
82 System.out.println(XML.toString(j));
85 j = XML.toJSONObject(s);
99 s = "<div id=\"demo\" class=\"JSONML\"><p>JSONML is a transformation between <b>JSON</b> and <b>XML</b> that preserves ordering of document features.</p><p>JSONML can work with JSON arrays or JSON objects.</p><p>Three<br/>little<br/>words</p></div>";
111 j = XML.toJSONObject(s);
203 System.out.println(XML.toString(j));
234 System.out.println(XML.toString(j));
245 s = "<xml one = 1 two=' \"2\" '><five></five>First \u0009&lt;content&gt;<five></five> This is \"content\". <three> 3 </three>JSON does not preserve the sequencing of elements and contents.<three> III </three> <three> T H R E E</three><four/>Content text is an implied structure in XML. <six content=\"6\"/>JSON does not have implied structure:<seven>7</seven>everything is explicit.<![CDATA[CDATA blocks<are><supported>!]]></xml>";
    [all...]
XML.java 31 * This provides static methods to convert an XML text into a JSONObject,
32 * and to covert a JSONObject into an XML text.
36 public class XML {
66 * Replace special characters with XML escapes:
285 * Convert a well-formed (but not necessarily valid) XML string into a
287 * because JSON is a data format and XML is a document format. XML uses
295 * @return A JSONObject containing the structured data from the XML string.
309 * Convert a JSONObject into a well-formed, element-normal XML string.
320 * Convert a JSONObject into a well-formed, element-normal XML string
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/serializer/
Method.java 21 package org.apache.xml.serializer;
29 * <li>XML
54 * The output method type for XML documents: <tt>xml</tt>.
56 public static final String XML = "xml";
78 * XML or HTML type (depending on the first tag in the output being html or
  /external/google-tv-pairing-protocol/java/src/com/google/polo/wire/
WireFormat.java 22 import com.google.polo.wire.xml.XmlWireAdapter;
30 XML; // XML, implemented by XmlWireInterface
44 case XML:
  /tools/tradefederation/core/src/com/android/tradefed/testtype/
JackCodeCoverageReportFormat.java 23 XML("xml", LogDataType.JACOCO_XML),
JacocoCodeCoverageReportFormat.java 24 XML("<xml destfile=\"%s\" />", LogDataType.JACOCO_XML),
33 * @param antTagFormat The ant tag to be passed to build.xml
50 * Returns the ant tag format used to configure build.xml
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/ext/
Locator2ImplTest.java 17 package org.apache.harmony.tests.org.xml.sax.ext;
21 import org.xml.sax.Locator;
22 import org.xml.sax.ext.Locator2Impl;
23 import org.xml.sax.helpers.LocatorImpl;
37 public static final String XML = "1.0";
60 inner.setXMLVersion(XML);
71 assertEquals(XML, outer.getXMLVersion());
96 l.setXMLVersion(XML);
97 assertEquals(XML, l.getXMLVersion());
  /external/mesa3d/src/mapi/glapi/gen/
glapi_gen.mk 4 $(wildcard $(top_srcdir)/src/mapi/glapi/gen/*.xml) \
12 # $(1): path to an XML file
23 # $(1): path to an XML file
34 # $(1): path to an XML file
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/lexer/
xml.rb 8 lexer grammar XML;
56 {say("XML declaration")}
137 lexer = XML::Lexer.new( <<-'END'.fixed_indent( 0 ) )
138 <?xml version='1.0'?>
164 XML declaration
  /external/clang/include/clang/Index/
CommentToXML.h 1 //===--- CommentToXML.h - Convert comments to XML representation ----------===//
44 SmallVectorImpl<char> &XML,
  /external/selinux/dbus/
org.selinux.conf 1 <?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->
  /tools/tradefederation/core/src/com/android/tradefed/result/
LogDataType.java 24 XML("xml", "text/xml", false, true),
49 JACOCO_XML("xml", "text/xml", false, true), // JaCoCo coverage report in XML format
  /external/testng/src/test/java/test/reports/
FailedReporterTest.java 3 import javax.xml.parsers.ParserConfigurationException;
11 import org.testng.xml.Parser;
12 import org.testng.xml.XmlClass;
13 import org.testng.xml.XmlSuite;
14 import org.testng.xml.XmlTest;
15 import org.xml.sax.SAXException;
26 private static final String XML = "<suite name=\"Suite\">\n"
42 new Parser(new ByteArrayInputStream(XML.getBytes())).parse();
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_xml_etree.py 0 # xml.etree test. This file contains enough tests to make sure that
11 # Don't re-import "xml.etree.ElementTree" module in the docstring,
20 from xml.etree import ElementTree as ET
22 SIMPLE_XMLFILE = findfile("simple.xml", subdir="xmltestdata")
23 SIMPLE_NS_XMLFILE = findfile("simple-ns.xml", subdir="xmltestdata")
60 >>> from xml.etree import ElementTree
61 >>> from xml.etree import ElementInclude
62 >>> from xml.etree import ElementPath
184 >>> assert ET.XML == ET.fromstring
193 >>> elem = ET.XML("<body><tag/></body>"
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_xml_etree.py 0 # xml.etree test. This file contains enough tests to make sure that
11 # Don't re-import "xml.etree.ElementTree" module in the docstring,
20 from xml.etree import ElementTree as ET
22 SIMPLE_XMLFILE = findfile("simple.xml", subdir="xmltestdata")
23 SIMPLE_NS_XMLFILE = findfile("simple-ns.xml", subdir="xmltestdata")
60 >>> from xml.etree import ElementTree
61 >>> from xml.etree import ElementInclude
62 >>> from xml.etree import ElementPath
184 >>> assert ET.XML == ET.fromstring
193 >>> elem = ET.XML("<body><tag/></body>"
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_xml_etree.py 0 # xml.etree test. This file contains enough tests to make sure that
11 # Don't re-import "xml.etree.ElementTree" module in the docstring,
20 from xml.etree import ElementTree as ET
22 SIMPLE_XMLFILE = findfile("simple.xml", subdir="xmltestdata")
23 SIMPLE_NS_XMLFILE = findfile("simple-ns.xml", subdir="xmltestdata")
60 >>> from xml.etree import ElementTree
61 >>> from xml.etree import ElementInclude
62 >>> from xml.etree import ElementPath
184 >>> assert ET.XML == ET.fromstring
193 >>> elem = ET.XML("<body><tag/></body>"
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_xml_etree.py 0 # xml.etree test. This file contains enough tests to make sure that
11 # Don't re-import "xml.etree.ElementTree" module in the docstring,
20 from xml.etree import ElementTree as ET
22 SIMPLE_XMLFILE = findfile("simple.xml", subdir="xmltestdata")
23 SIMPLE_NS_XMLFILE = findfile("simple-ns.xml", subdir="xmltestdata")
60 >>> from xml.etree import ElementTree
61 >>> from xml.etree import ElementInclude
62 >>> from xml.etree import ElementPath
184 >>> assert ET.XML == ET.fromstring
193 >>> elem = ET.XML("<body><tag/></body>"
    [all...]
  /cts/tests/signature/api/
Android.mk 15 # We define this in a subdir so that it won't pick up the parent's Android.xml by default.
20 # current api, in XML format.
21 # NOTE: the output XML file is also used
22 # in //cts/hostsidetests/devicepolicy/AndroidTest.xml
42 # current api, in XML format.
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_xml_etree.py 0 # xml.etree test. This file contains enough tests to make sure that
11 # Don't re-import "xml.etree.ElementTree" module in the docstring,
20 from xml.etree import ElementTree as ET
22 SIMPLE_XMLFILE = findfile("simple.xml", subdir="xmltestdata")
23 SIMPLE_NS_XMLFILE = findfile("simple-ns.xml", subdir="xmltestdata")
60 >>> from xml.etree import ElementTree
61 >>> from xml.etree import ElementInclude
62 >>> from xml.etree import ElementPath
184 >>> assert ET.XML == ET.fromstring
193 >>> elem = ET.XML("<body><tag/></body>")
    [all...]
  /external/libxml2/doc/
buildDocBookCatalog 86 s="//OASIS//DTD DocBook XML V${VERSION}//EN"
90 echo Found DocBook XML $VERSION DTD in $docbookdir
115 ROOTCATALOG=/etc/xml/catalog
164 echo XML Catalog is $ROOTCATALOG
179 echo creating XML Catalog root $ROOTCATALOG
183 echo Failed creating XML Catalog root $ROOTCATALOG
187 echo creating DocBook XML Catalog $CATALOG
191 echo Failed creating DocBook XML Catalog $CATALOG
198 finddbx /usr/share/xml
210 echo could not locate version $VERSION of DocBook XML
    [all...]
  /tools/tradefederation/core/prod-tests/src/com/android/framework/tests/
FrameworkPerfTest.java 56 private static final String XML = "frameworkfg_perf_xml";
88 .put("OpenXmlRes",XML)
89 .put("ParseXmlRes",XML)
90 .put("ReadXmlAttrs",XML)
91 .put("ParseLargeXmlRes",XML)
  /external/protobuf/gtest/test/
gtest_xml_output_unittest.py 39 from xml.dom import minidom, Node
46 GTEST_DEFAULT_OUTPUT_FILE = "test_detail.xml"
56 EXPECTED_NON_EMPTY_XML = """<?xml version="1.0" encoding="UTF-8"?>
82 <failure message="Failed&#x0A;XML output: &lt;?xml encoding=&quot;utf-8&quot;&gt;&lt;top&gt;&lt;![CDATA[cdata text]]&gt;&lt;/top&gt;" type=""><![CDATA[gtest_xml_output_unittest_.cc:*
84 XML output: <?xml encoding="utf-8"><top><![CDATA[cdata text]]>]]&gt;<![CDATA[</top>%(stack)s]]></failure>
111 EXPECTED_EMPTY_XML = """<?xml version="1.0" encoding="UTF-8"?>
118 Unit test for Google Test's XML output functionality.
123 Runs a test program that generates a non-empty XML output, an
    [all...]

Completed in 1326 milliseconds

1 2 3 4 5 6 7 8 91011>>