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

1 2 3 4 5 6

  /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:
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/ext/
Locator2ImplTest.java 17 package tests.api.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/chromium_org/third_party/libxml/src/
libxml2.spec 1 Summary: Library providing XML and HTML support
13 This library allows to manipulate XML files. It includes support
14 to read, modify and write XML and HTML files. There is DTDs support
24 Summary: Libraries, includes, etc. to develop XML and HTML applications
31 Libraries, include files, etc you can use to develop XML applications.
32 This library allows to manipulate XML files. It includes support
33 to read, modify and write XML and HTML files. There is DTDs support
51 supplied by the libxml2 library to manipulate XML files.
53 This library allows to manipulate XML files. It includes support
54 to read, modify and write XML and HTML files. There is DTDs suppor
    [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...]
  /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...]
  /external/chromium_org/content/child/
site_isolation_policy.h 35 // 0:HTML, 1:XML, 2:JSON, 3:Plain, 4:Others
61 XML = 1,
112 // response. For example, this returns the same value for all text/xml mime
113 // type families such as application/xml, application/rss+xml.
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/detail/
global_typedef.hpp 39 enum output_format { INV_OF, CLF /* compiler log format */, XML /* XML */ };
  /external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/
XmlMessageBuilder.java 17 package com.google.polo.wire.xml;
24 import com.google.polo.json.XML;
40 * A collection of methods to convert {@link PoloMessage}s to and from XML
59 * Key names for XML versions of messages.
62 // OuterMessage XML key names
68 // PairingRequestMessage XML key names
72 // OptionsMessage XML key names
77 // ConfigurationMessage XML key names
80 // EncodingOption XML key names
86 // SecretMessage XML key name
    [all...]
  /cts/build/
test_host_java_library.mk 17 # package XML needed by CTS.
22 cts_library_xml := $(CTS_TESTCASES_OUT)/$(LOCAL_MODULE).xml
test_executable.mk 17 # package XML needed by CTS.
28 cts_executable_xml := $(CTS_TESTCASES_OUT)/$(LOCAL_MODULE).xml
test_gtest_package.mk 17 # package XML needed by CTS.
29 cts_package_xml := $(CTS_TESTCASES_OUT)/$(LOCAL_PACKAGE_NAME).xml
40 $(cts_package_xml): PRIVATE_MANIFEST := $(LOCAL_PATH)/AndroidManifest.xml
test_package.mk 17 # package XML needed by CTS.
29 cts_package_xml := $(CTS_TESTCASES_OUT)/$(LOCAL_PACKAGE_NAME).xml
45 $(cts_package_xml): PRIVATE_MANIFEST := $(LOCAL_PATH)/AndroidManifest.xml
  /external/fonttools/
README.md 4 > a tool to convert OpenType and TrueType fonts to and from XML. FontTools is a library for manipulating fonts, written in Python. It supports TrueType, OpenType, AFM and to an extent Type 1 and some Mac-specific formats.
  /external/chromium_org/tools/grit/grit/gather/
policy_json.py 15 from xml.dom import minidom
16 from xml.parsers.expat import ExpatError
65 xml = '<msg>' + string + '</msg>'
67 node = minidom.parseString(xml).childNodes[0]
69 reason = '''Input isn't valid XML (has < & > been escaped?): ''' + string
  /external/valgrind/main/none/tests/
cmdline1.stdout.exp 33 --xml=yes emit error output in XML (some tools only)
34 --xml-fd=<number> XML output to file descriptor
35 --xml-file=<file> XML output to <file>
36 --xml-socket=ipaddr:port XML output to socket ipaddr:port
37 --xml-user-comment=STR copy STR verbatim into XML outpu
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/otherxml/
OtherXmlEditorDelegate.java 33 * Multi-page form editor for /res/xml XML files.
43 if (ResourceFolderType.XML == type) {
56 AdtConstants.EDITORS_NAMESPACE + ".xml.XmlEditor"; //$NON-NLS-1$
59 * Creates the form editor for resources XML files.
81 * Processes the new XML Model, which XML root node is given.
83 * @param xml_doc The XML document, if available, or null if none exists.
99 // The root UI node is always created, even if there's no corresponding XML node.
126 * Reloads the UI manifest node from the XML, and calls the pages to update
    [all...]

Completed in 1347 milliseconds

1 2 3 4 5 6