/external/webkit/LayoutTests/fast/dom/Node/script-tests/ |
normalize-with-cdata.js | 1 description('Test of normalize on an XML document with CDATA.'); 8 'This is some text before the CDATA' + 9 '<![CDATA[This is some <bold>markup</bold> inside of a CDATA]]>' + 10 'This is some text after the CDATA' + 15 shouldBe('serializer.serializeToString(xmlChunk)', '"<foo>This is some text before the CDATA<![CDATA[This is some <bold>markup</bold> inside of a CDATA]]>This is some text after the CDATA</foo>"'); 19 shouldBe('serializer.serializeToString(xmlChunk)', '"<foo>This is some text before the CDATA<![CDATA[This is some <bold>markup</bold> inside of a CDATA]]>This is some text after the CDATA</fo (…) [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/lexer/ |
xml.rb | 66 | t=CDATA 67 {say("CDATA: " << quote($t.text))} 103 fragment CDATA 104 : '<![CDATA[' (options {greedy=false;} : .)* ']]>' 142 attr CDATA #IMPLIED 143 attr2 CDATA #IMPLIED 151 <![CDATA[huhu]]> 170 attr CDATA #IMPLIED 171 attr2 CDATA #IMPLIED 185 CDATA: "<![CDATA[huhu]]> [all...] |
/external/protobuf/gtest/test/ |
gtest_xml_output_unittest.py | 63 <failure message="Value of: 2
Expected: 1" type=""><![CDATA[gtest_xml_output_unittest_.cc:* 71 <failure message="Value of: 2
Expected: 1" type=""><![CDATA[gtest_xml_output_unittest_.cc:* 74 <failure message="Value of: 3
Expected: 2" type=""><![CDATA[gtest_xml_output_unittest_.cc:* 82 <failure message="Failed
XML output: <?xml encoding="utf-8"><top><![CDATA[cdata text]]></top>" type=""><![CDATA[gtest_xml_output_unittest_.cc:* 84 XML output: <?xml encoding="utf-8"><top><![CDATA[cdata text]]>]]><![CDATA[</top>%(stack)s]]></failure> 89 <failure message="Failed
Invalid characters in brackets []" type=""><![CDATA[gtest_xml_output_unittest_.cc: [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
ExpatAttributes.java | 27 * Since we don't do validation, pretty much everything is CDATA type. 29 private static final String CDATA = "CDATA"; 68 return (index < 0 || index >= getLength()) ? null : CDATA; 109 return getIndex(uri, localName) == -1 ? null : CDATA; 113 return getIndex(qName) == -1 ? null : CDATA;
|
/external/openssl/crypto/evp/ |
openbsd_hw.c | 84 #define CDATA(ctx) EVP_C_DATA(session_op,ctx) 122 if(ioctl(fd,CIOCFSESSION,&CDATA(ctx)->ses) == -1) 125 OPENSSL_free(CDATA(ctx)->key); 133 if(!dev_crypto_init(CDATA(ctx))) 136 CDATA(ctx)->key=OPENSSL_malloc(MAX_HW_KEY); 140 memcpy(CDATA(ctx)->key,key,klen); 142 CDATA(ctx)->cipher=cipher; 143 CDATA(ctx)->keylen=klen; 145 if (ioctl(fd,CIOCGSESSION,CDATA(ctx)) == -1) 162 assert(CDATA(ctx)) [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
ElemDesc.java | 59 /** Bit position if this element type is CDATA. */ 60 private static final int CDATA = (1 << 6);
|
/external/chromium/testing/gtest/test/ |
gtest_xml_output_unittest.py | 63 <failure message="Value of: 2
Expected: 1" type=""><![CDATA[gtest_xml_output_unittest_.cc:* 71 <failure message="Value of: 2
Expected: 1" type=""><![CDATA[gtest_xml_output_unittest_.cc:* 74 <failure message="Value of: 3
Expected: 2" type=""><![CDATA[gtest_xml_output_unittest_.cc:* 82 <failure message="Failed
XML output: <?xml encoding="utf-8"><top><![CDATA[cdata text]]></top>" type=""><![CDATA[gtest_xml_output_unittest_.cc:* 84 XML output: <?xml encoding="utf-8"><top><![CDATA[cdata text]]>]]><![CDATA[</top>%(stack)s]]></failure> 89 <failure message="Failed
Invalid characters in brackets []" type=""><![CDATA[gtest_xml_output_unittest_.cc: [all...] |
/external/gtest/test/ |
gtest_xml_output_unittest.py | 63 <failure message="Value of: 2
Expected: 1" type=""><![CDATA[gtest_xml_output_unittest_.cc:* 71 <failure message="Value of: 2
Expected: 1" type=""><![CDATA[gtest_xml_output_unittest_.cc:* 74 <failure message="Value of: 3
Expected: 2" type=""><![CDATA[gtest_xml_output_unittest_.cc:* 82 <failure message="Failed
XML output: <?xml encoding="utf-8"><top><![CDATA[cdata text]]></top>" type=""><![CDATA[gtest_xml_output_unittest_.cc:* 84 XML output: <?xml encoding="utf-8"><top><![CDATA[cdata text]]>]]><![CDATA[</top>%(stack)s]]></failure> 89 <failure message="Failed
Invalid characters in brackets []" type=""><![CDATA[gtest_xml_output_unittest_.cc: [all...] |
/external/libvpx/libvpx/third_party/googletest/src/test/ |
gtest_xml_output_unittest.py | 63 <failure message="Value of: 2
Expected: 1" type=""><![CDATA[gtest_xml_output_unittest_.cc:* 71 <failure message="Value of: 2
Expected: 1" type=""><![CDATA[gtest_xml_output_unittest_.cc:* 74 <failure message="Value of: 3
Expected: 2" type=""><![CDATA[gtest_xml_output_unittest_.cc:* 82 <failure message="Failed
XML output: <?xml encoding="utf-8"><top><![CDATA[cdata text]]></top>" type=""><![CDATA[gtest_xml_output_unittest_.cc:* 84 XML output: <?xml encoding="utf-8"><top><![CDATA[cdata text]]>]]><![CDATA[</top>%(stack)s]]></failure> 89 <failure message="Failed
Invalid characters in brackets []" type=""><![CDATA[gtest_xml_output_unittest_.cc: [all...] |
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
t012lexerXML.g | 59 | t=CDATA 60 {this.output("CDATA: \""+$t.text+"\"")} 96 fragment CDATA 97 : '<![CDATA[' (options {greedy=false;} : .)* ']]>'
|
/external/webkit/LayoutTests/dom/xhtml/level3/core/ |
documentnormalizedocument03.js | 81 Normalize a document with a created CDATA section with the 82 'cdata-sections' parameter set to true then to false and check if 89 * @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#parameter-cdata-sections 97 var cdata; 114 newCdata = doc.createCDATASection("CDATA"); 118 domConfig.setParameter("cdata-sections", true); 124 cdata = elem.lastChild; 126 nodeName = cdata.nodeName; 128 assertEquals("documentnormalizedocument03_true","#cdata-section",nodeName); 129 domConfig.setParameter("cdata-sections", false) [all...] |
infoset04.js | 81 Normalize a document with a created CDATA section with the 96 var cdata; 113 newCdata = doc.createCDATASection("CDATA");
|
nodeinsertbefore11.js | 97 var cdata; 113 cdata = doc.createCDATASection("CDATA"); 119 appendedChild = docFrag.appendChild(cdata); 129 inserted = docFrag.insertBefore(cdata,txt); 132 assertEquals("nodeinsertbefore11_CDATA","CDATA",insertedVal); 133 inserted = docFrag.insertBefore(eRef,cdata);
|
typeinfoisderivedfrom01.js | 107 isDerived = typeInfo.isDerivedFrom("http://www.w3.org/TR/REC-xml","CDATA",0); 109 isDerived = typeInfo.isDerivedFrom("http://www.w3.org/TR/REC-xml","CDATA",15);
|
nodegettextcontent13.js | 80 Invoke the method getTextContent on an existing Element node with Text and CDATA
|
attrgetschematypeinfo01.js | 112 assertEquals("nameIsCDATA","CDATA",typeName);
|
cdatasections01.js | 82 the value of the 'cdata-sections' parameter is ignored. 86 * @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#parameter-cdata-sections 94 var cdata; 111 newCdata = doc.createCDATASection("CDATA"); 115 domConfig.setParameter("cdata-sections", false); 121 cdata = elem.lastChild; 123 nodeName = cdata.nodeName; 125 assertEquals("documentnormalizedocument03_true","#cdata-section",nodeName);
|
nodeinsertbefore18.js | 83 Using insertBefore on an Element node attempt to insert new Comment/PI and CDATA nodes
|
nodelookupprefix14.js | 79 Invoke lookupPrefix on a Element's new CDATA node, which has a namespace attribute declaration 93 var cdata; 106 cdata = doc.createCDATASection("Text"); 107 appendedChild = elem.appendChild(cdata); 109 prefix = cdata.lookupPrefix("http://www.w3.org/1999/xhtml");
|
textreplacewholetext05.js | 106 cdataNode = doc.createCDATASection("New CDATA"); 111 replacedText = textNode.replaceWholeText("New Text and Cdata"); 114 assertEquals("textreplacewholetext05","New Text and Cdata",wholeText);
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/ |
LSSerializerImpl.java | 124 // Parameter cdata-sections, true [required] (default)
125 private final static int CDATA = 0x1 << 1;
154 // Parameter split-cdata-sections, true [required] (default)
163 // Parameter split-cdata-sections, true [required] (default)
215 fFeatures |= CDATA;
258 // cdata-sections
342 // split-cdata-sections
441 return ((fFeatures & CDATA) != 0) ? Boolean.TRUE : Boolean.FALSE;
473 (fFeatures & CDATA) == 0 &&
535 fFeatures = state ? fFeatures | CDATA : fFeatures [all...] |
DOM3TreeWalker.java | 144 // Parameter cdata-sections, true [required] (default)
145 private final static int CDATA = 0x1 << 1;
174 // Parameter split-cdata-sections, true [required] (default)
183 // Parameter split-cdata-sections, true [required] (default)
680 type = type == null ? "CDATA" : type;
743 XMLNS_PREFIX + ":" + attrPrefix, "CDATA",
767 XMLNS_PREFIX + ":" + attrPrefix, "CDATA",
[all...] |
/external/tinyxml2/ |
tinyxml2.cpp | 471 static const char* cdataHeader = { "<![CDATA[" };
810 if ( this->CData() ) {
836 text->SetCData( this->CData() );
[all...] |
/dalvik/docs/ |
prettify.js | 423 // (3) /<!\[CDATA\[.*?\]\]>/: a cdata section 427 /(?:[^<]+|<!--[\s\S]*?-->|<!\[CDATA\[([\s\S]*?)\]\]>|<\/?[a-zA-Z][^>]*>|<)/g; 429 var pr_cdataPrefix = /^<\[CDATA\[/; 455 // strip CDATA prefix and suffix. Don't unescape since it's CDATA [all...] |
/build/tools/droiddoc/templates-pdk/assets/ |
prettify.js | 5 dc="(?:",ec=")",fc="gi",gc="PRE",hc='<!DOCTYPE foo PUBLIC "foo bar">\n<foo />',ic="\t",jc="\n",kc="[^<]+|<!--[\\s\\S]*?--\>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>|</?[a-zA-Z][^>]*>|<",lc="nocode",mc=' $1="$2$3$4"',S="pln",nc="string",T="lang-",oc="src",U="str",pc="'\"",qc="'\"`",rc="\"'",V="com",sc="lang-regex",tc="(/(?=[^/*])(?:[^/\\x5B\\x5C]|\\x5C[\\s\\S]|\\x5B(?:[^\\x5C\\x5D]|\\x5C[\\s\\S])*(?:\\x5D|$))+/)",uc="kwd",vc="^(?:",wc=")\\b",xc=" \r\n\t\u00a0",yc="lit",zc="typ",Ac="0123456789",Y="pun",Bc="break continue do else for if return while auto case char const default double enum extern float goto int long register short signed sizeof static struct switch typedef union unsigned void volatile catch class delete false import new operator private protected public this throw true try alignof align_union asm axiom bool concept concept_map const_cast constexpr decltype dynamic_cast explicit export friend inline late_check mutable namespace nullptr reinterpret_cast static_assert static_cast template typeid typename typeof using virtual wchar_t where break continue do else for if return while auto case char const default double enum extern float goto int long register short signed sizeof static struct switch typedef union unsigned void volatile catch class delete false import new operator private protected public this throw true try boolean byte extends final finally implements import instanceof null native package strictfp super synchronized throws transient as base by checked decimal delegate descending event fixed foreach from group implicit in interface internal into is lock object out override orderby params partial readonly ref sbyte sealed stackalloc string select uint ulong unchecked unsafe ushort var break continue do else for if return while auto case char const default double enum extern float goto int long register short signed sizeof static struct switch typedef union unsigned void volatile catch class delete false import new operator private protected public this throw true try debugger eval export function get null set undefined var with Infinity NaN caller delete die do dump elsif eval exit foreach for goto if import last local my next no our print package redo require sub undef unless until use wantarray while BEGIN END break continue do else for if return while and as assert class def del elif except exec finally from global import in is lambda nonlocal not or pass print raise try with yield False True None break continue do else for if return while alias and begin case class def defined elsif end ensure false in module next nil not or redo rescue retry self super then true undef unless until when yield BEGIN END break continue do else for if return while case done elif esac eval fi function in local set then until ", 19 n));g=i+1;break;case jc:b=0;break;default:++b}}if(!d)return c;d.push(c.substring(g));return d.join(P)}}var Vd=new RegExp(kc,R),Wd=/^<\!--/,Xd=/^<\[CDATA\[/,Yd=/^<br\b/i,Qa=/^<(\/?)([a-zA-Z]+)/;function Zd(a){var b=a.match(Vd),c=[],d=0,g=[];if(b)for(var i=0,m=b.length;i<m;++i){var l=b[i];if(l.length>1&&l.charAt(0)===I){if(!Wd.test(l))if(Xd.test(l)){c.push(l.substring(9,l.length-3));d+=l.length-12}else if(Yd.test(l)){c.push(jc);++d}else if(l.indexOf(lc)>=0&&$d(l)){var n=l.match(Qa)[2],q=1,v;v=i+1;a:for(;v<
|