/prebuilts/go/linux-x86/src/cmd/go/internal/get/ |
discovery.go | 8 "encoding/xml" 25 return nil, fmt.Errorf("can't decode XML document using charset %q", charset) 32 d := xml.NewDecoder(r) 35 var t xml.Token 44 if e, ok := t.(xml.StartElement); ok && strings.EqualFold(e.Name.Local, "body") { 47 if e, ok := t.(xml.EndElement); ok && strings.EqualFold(e.Name.Local, "head") { 50 e, ok := t.(xml.StartElement) 69 func attrValue(attrs []xml.Attr, name string) string {
|
pkg_test.go | 66 // XML doesn't like <div style=position:relative>.
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
JacocoCodeCoverageTestTest.java | 81 JacocoCodeCoverageReportFormat.CSV, JacocoCodeCoverageReportFormat.XML)); 88 JacocoCodeCoverageReportFormat.CSV, JacocoCodeCoverageReportFormat.XML), 96 File tempBuildXml = FileUtil.createTempFile("build", ".xml"); 223 new File("report.xml"), new File("jacocoant.jar"), 227 expectedContent.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"); 233 expectedContent.append("resource=\"org/jacoco/ant/antlib.xml\">\n"); 265 expectedContent.append(new File("report.xml").getAbsolutePath());
|
CodeCoverageTestBaseTest.java | 153 XML(LogDataType.JACOCO_XML), 443 File fakeHtmlReport = new File("/some/fake/xml/report/"); 444 File fakeXmlReport = new File("/some/fake/xml/report.xml"); 450 doReturn(ImmutableList.of(FakeReportFormat.XML, FakeReportFormat.HTML)) 458 .generateCoverageReport(anyCollection(), eq(FakeReportFormat.XML)); 469 verify(coverageTest).generateCoverageReport(anyCollection(), eq(FakeReportFormat.XML)); 470 verify(coverageTest).doLogReport(anyString(), eq(FakeReportFormat.XML.getLogDataType()), [all...] |
/prebuilts/go/darwin-x86/src/cmd/vet/ |
structtag.go | 33 var checkTagDups = []string{"json", "xml"} 34 var checkTagSpaces = map[string]bool{"json": true, "xml": true, "asn1": true} 58 if key == "xml" && len(field.Names) > 0 && field.Names[0].Name == "XMLName" { 59 // XMLName defines the XML element name of the struct being 67 if key == "xml" { 68 // Use a separate namespace for XML attributes. 94 // Check for use of json or xml tags with unexported fields. 106 for _, enc := range [...]string{"json", "xml"} { 189 case "xml": 190 // If the first or last character in the XML tag is a space, it i [all...] |
/prebuilts/go/linux-x86/src/cmd/vet/ |
structtag.go | 33 var checkTagDups = []string{"json", "xml"} 34 var checkTagSpaces = map[string]bool{"json": true, "xml": true, "asn1": true} 58 if key == "xml" && len(field.Names) > 0 && field.Names[0].Name == "XMLName" { 59 // XMLName defines the XML element name of the struct being 67 if key == "xml" { 68 // Use a separate namespace for XML attributes. 94 // Check for use of json or xml tags with unexported fields. 106 for _, enc := range [...]string{"json", "xml"} { 189 case "xml": 190 // If the first or last character in the XML tag is a space, it i [all...] |
/external/valgrind/none/tests/ |
cmdline2.stdout.exp | 34 --xml=yes emit error output in XML (some tools only) 35 --xml-fd=<number> XML output to file descriptor 36 --xml-file=<file> XML output to <file> 37 --xml-socket=ipaddr:port XML output to socket ipaddr:port 38 --xml-user-comment=STR copy STR verbatim into XML outpu [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. 19 # $(1) name of the xml file to be created 35 # NOTE: the output XML file is also used 36 # in //cts/hostsidetests/devicepolicy/AndroidTest.xml
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
S_V_G_.py | 6 import xml.etree.cElementTree as ET 8 import xml.etree.ElementTree as ET 13 Compiles/decompiles version 0 and 1 SVG tables from/to XML. 21 The XML format is: 56 XML = ET.XML
|
/platform_testing/build/tasks/ |
continuous_instrumentation_tests.mk | 51 api_xml := $(coverage_out)/api.xml 53 $(hide) echo "Converting API file to XML: $@"
|
/prebuilts/go/darwin-x86/src/cmd/go/internal/get/ |
pkg_test.go | 66 // XML doesn't like <div style=position:relative>.
|
/prebuilts/go/darwin-x86/src/math/big/ |
intmarsh_test.go | 11 "encoding/xml" 106 b, err := xml.Marshal(&tx) 112 if err := xml.Unmarshal(b, &rx); err != nil { 117 t.Errorf("XML encoding of %s failed: got %s want %s", &tx, &rx, &tx)
|
ratmarsh_test.go | 11 "encoding/xml" 110 b, err := xml.Marshal(&tx) 116 if err := xml.Unmarshal(b, &rx); err != nil { 121 t.Errorf("XML encoding of %s failed: got %s want %s", &tx, &rx, &tx)
|
/prebuilts/go/linux-x86/src/math/big/ |
intmarsh_test.go | 11 "encoding/xml" 106 b, err := xml.Marshal(&tx) 112 if err := xml.Unmarshal(b, &rx); err != nil { 117 t.Errorf("XML encoding of %s failed: got %s want %s", &tx, &rx, &tx)
|
ratmarsh_test.go | 11 "encoding/xml" 110 b, err := xml.Marshal(&tx) 116 if err := xml.Unmarshal(b, &rx); err != nil { 121 t.Errorf("XML encoding of %s failed: got %s want %s", &tx, &rx, &tx)
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
OutputPropertiesFactory.java | 21 package org.apache.xml.serializer; 31 import javax.xml.transform.OutputKeys; 33 import org.apache.xml.serializer.utils.MsgKey; 34 import org.apache.xml.serializer.utils.Utils; 35 import org.apache.xml.serializer.utils.WrappedRuntimeException; 45 * The given output types supported are "xml", "text", and "html". 86 /** S_BUILTIN_EXTENSIONS_URL is a mnemonic for the XML Namespace 87 *(http://xml.apache.org/xalan) predefined to signify Xalan's 92 S_BUILTIN_EXTENSIONS_URL = "http://xml.apache.org/xalan"; 99 S_BUILTIN_OLD_EXTENSIONS_URL = "http://xml.apache.org/xslt"; [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/xpath/ |
XMPPathParser.java | 52 * <dt>[@xml:lang="value"] 53 * <dd> An element in an alt-text array, chosen by the xml:lang qualifier. 56 * <dt>@xml:lang 57 * <dd> An xml:lang qualifier. 71 * The syntax isn't checked, but an XML name begins with a letter or '_', 73 * non-ASCII Unicode characters. An XML qualified name is a pair of names 127 if (!"?xml:lang".equals(segment.getName())) 129 throw new XMPException("Only xml:lang allowed with '@'", 146 if (!segment.getName().startsWith("[?xml:lang=")) 148 throw new XMPException("Only xml:lang allowed with '@'" [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/ |
CopyCutAction.java | 23 import org.apache.xml.serialize.Method; 24 import org.apache.xml.serialize.OutputFormat; 25 import org.apache.xml.serialize.XMLSerializer; 36 import org.eclipse.wst.xml.core.internal.document.NodeContainer; 60 * @param selected The UI node to cut or copy. It *must* have a non-null XML node. 71 * @param selected The UI nodes to cut or copy. They *must* have a non-null XML node. 101 * First an XML serializer is used to turn the existing XML node into a valid 102 * XML fragment, which is added as text to the clipboard. 111 // Commit the current pages first, to make sure the XML is in sync [all...] |
/tools/tradefederation/core/src/com/android/tradefed/result/ |
XmlResultReporter.java | 38 * Writes JUnit results to an XML files in a format consistent with 50 @OptionClass(alias = "xml") 73 /** the XML namespace */ 114 LogFile log = mLogSaver.saveLogData(TEST_RESULT_FILE_PREFIX, LogDataType.XML, 117 String msg = String.format("XML test result file generated at %s. Total tests %d, " + 200 * Returns the text in a format that is safe for use in an XML document.
|
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
TransformerIdentityImpl.java | 27 import javax.xml.XMLConstants; 28 import javax.xml.parsers.DocumentBuilder; 29 import javax.xml.parsers.DocumentBuilderFactory; 30 import javax.xml.parsers.ParserConfigurationException; 31 import javax.xml.transform.ErrorListener; 32 import javax.xml.transform.OutputKeys; 33 import javax.xml.transform.Result; 34 import javax.xml.transform.Source; 35 import javax.xml.transform.Transformer; 36 import javax.xml.transform.TransformerException [all...] |
/libcore/luni/src/test/java/libcore/xml/ |
ExpatSaxParserTest.java | 17 package libcore.xml; 33 import org.apache.harmony.xml.ExpatReader; 34 import org.xml.sax.Attributes; 35 import org.xml.sax.ContentHandler; 36 import org.xml.sax.InputSource; 37 import org.xml.sax.Locator; 38 import org.xml.sax.SAXException; 39 import org.xml.sax.SAXParseException; 40 import org.xml.sax.XMLReader; 41 import org.xml.sax.ext.DefaultHandler2 51 StringBuilder xml = new StringBuilder(); local [all...] |
/prebuilts/go/darwin-x86/src/cmd/vet/testdata/ |
structtag.go | 9 import "encoding/xml" 30 y int `xml:"yy"` // ERROR "struct field y has xml tag but is not exported" 32 A int `json:"aa" xml:"bb"` 60 XML int `xml:"a"` 61 DuplicateXML int `xml:"a"` // ERROR "struct field DuplicateXML repeats xml tag .a. also at testdata/structtag.go:60" 62 IgnoredXML int `xml:"-"` 63 OtherIgnoredXML int `xml:"-" [all...] |
/prebuilts/go/linux-x86/src/cmd/vet/testdata/ |
structtag.go | 9 import "encoding/xml" 30 y int `xml:"yy"` // ERROR "struct field y has xml tag but is not exported" 32 A int `json:"aa" xml:"bb"` 60 XML int `xml:"a"` 61 DuplicateXML int `xml:"a"` // ERROR "struct field DuplicateXML repeats xml tag .a. also at testdata/structtag.go:60" 62 IgnoredXML int `xml:"-"` 63 OtherIgnoredXML int `xml:"-" [all...] |
/development/build/tools/ |
sdk_repo.mk | 116 # Similarly capture all sys-img.xml that are now split out of repository.xml 122 # All these go in the main repository.xml 156 # Pickup the most recent xml schema for repository and add-on 191 # Also generate the addon.xml using the latest schema and the renamed addon zip 193 SDK_ADDON_XML := $(dir $(ADDON_SDK_ZIP))/addon.xml 211 # Generate the system-image XML for the addon sys-img 213 SDK_ADDON_IMG_XML := $(dir $(ADDON_SDK_ZIP))/addon-sys-img.xml 225 # Rules for the SDK Repository XML 227 SDK_REPO_XML := $(MAIN_SDK_DIR)/repository.xml [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
OutputProperties.java | 27 import javax.xml.transform.OutputKeys; 28 import javax.xml.transform.TransformerException; 32 import org.apache.xml.serializer.OutputPropertiesFactory; 33 import org.apache.xml.serializer.OutputPropertyUtils; 34 import org.apache.xml.utils.FastStringBuffer; 35 import org.apache.xml.utils.QName; 58 this(org.apache.xml.serializer.Method.XML); 76 * <p>At the moment, anything other than 'text', 'xml', and 'html', will 116 * @see javax.xml.transform.OutputKey [all...] |