/external/adhd/scripts/audio_tuning/frontend/ |
setup_credential.js | 10 document.write('<script src="https://www.google.com/jsapi?key=<API_KEY>" type="text/javascript"></script>');
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/tutorial/ |
tutorial.cpp | 4 #include "rapidjson/document.h" // rapidjson's DOM-style API
13 // 1. Parse a JSON text string to a document.
18 Document document; // Default template parameter uses UTF8 and MemoryPoolAllocator.
local 22 if (document.Parse(json).HasParseError())
28 if (document.ParseInsitu(buffer).HasParseError())
32 printf("\nParsing to document succeeded.\n");
35 // 2. Access values in document.
37 printf("\nAccess values in document:\n");
38 assert(document.IsObject()); // Document is a JSON value represents the root of DOM. Root can be either an obje (…) [all...] |
/external/pdfium/public/ |
fpdf_catalog.h | 18 * Determine if |document| represents a tagged PDF. 23 * document - handle to a document. 25 * Returns |true| iff |document| is a tagged PDF. 28 FPDFCatalog_IsTagged(FPDF_DOCUMENT document);
|
/libcore/luni/src/test/java/libcore/xml/ |
DomSerializationTest.java | 28 import org.w3c.dom.Document; 42 Document document = documentBuilder.newDocument(); local 43 Element foo = document.createElement("foo"); 44 Attr quux = document.createAttribute("quux"); 47 foo.appendChild(document.createElement("bar")); 48 foo.appendChild(document.createElement("baz")); 49 document.appendChild(foo); 50 assertXmlEquals("<foo quux=\"abc\"><bar/><baz/></foo>", document); 54 Document document = documentBuilder.newDocument() local [all...] |
/packages/apps/Test/connectivity/sl4n/utils/ |
common_utils.h | 19 #include <rapidjson/document.h> 26 static bool IsParamLengthMatching(rapidjson::Document& doc,
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
jsoncheckertest.cpp | 17 #include "rapidjson/document.h"
70 GenericDocument<UTF8<>, CrtAllocator> document; // Use Crt allocator to check exception-safety (no memory leak)
local 71 document.Parse((const char*)json);
72 EXPECT_TRUE(document.HasParseError());
74 document.Parse<kParseIterativeFlag>((const char*)json);
75 EXPECT_TRUE(document.HasParseError());
90 GenericDocument<UTF8<>, CrtAllocator> document; // Use Crt allocator to check exception-safety (no memory leak)
local 91 document.Parse((const char*)json);
92 EXPECT_FALSE(document.HasParseError());
94 document.Parse<kParseIterativeFlag>((const char*)json); [all...] |
/external/clang/www/analyzer/scripts/ |
menu.js | 2 if (document.all&&document.getElementById) { 3 navRoot = document.getElementById("nav");
|
/external/clang/tools/scan-build-py/libscanbuild/resources/ |
selectable.js | 3 var Rows = document.getElementsByTagName("tr"); 12 var Inputs = document.getElementsByTagName("input"); 24 if (document.getElementById) 25 var returnVar = document.getElementById(id); 26 else if (document.all) 27 var returnVar = document.all[id]; 28 else if (document.layers) 29 var returnVar = document.layers[id];
|
/external/pdfium/core/fpdfapi/edit/ |
cpdf_creator_embeddertest.cpp | 21 EXPECT_TRUE(FPDF_SaveAsCopy(document(), this, 0)); 27 ASSERT_GE(1, FPDF_GetPageCount(document())); 28 FPDF_PAGE page = FPDF_LoadPage(document(), 0); 37 EXPECT_TRUE(FPDF_SaveAsCopy(document(), this, 0));
|
/external/snakeyaml/src/test/java/examples/ |
CollectionStyleTest.java | 26 String document = " a: 1\n b:\n c: 3\n d: 4\n"; local 27 assertEquals("a: 1\nb: {c: 3, d: 4}\n", yaml.dump(yaml.load(document))); 34 String document = " a: 1\n b:\n c: 3\n d: 4\n"; local 35 assertEquals("a: 1\nb:\n c: 3\n d: 4\n", yaml.dump(yaml.load(document)));
|
/external/adhd/scripts/mic_testing/frontend/ |
audio.js | 22 var canvas_detail = document.getElementsByClassName('canvas_detail'); 25 document.getElementById('record_tab').setAttribute('class', ''); 26 document.getElementById('record_div').style.display = 'none'; 27 document.getElementById('play_div').style.display = 'block'; 34 document.getElementById('play_tab').setAttribute('class', ''); 35 document.getElementById('play_div').style.display = 'none'; 36 document.getElementById('record_div').style.display = 'block'; 43 document.getElementById(tabName).setAttribute('class', 'selected'); 77 var canvas = document.getElementById('fr_canvas'); 89 var sourceTone = document.getElementById('source_tone') [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
Chapter2_3Test.java | 33 YamlDocument document = new YamlDocument("example2_13.yaml"); local 34 String data = (String) document.getNativeData(); 39 YamlDocument document = new YamlDocument("example2_14.yaml"); local 40 String data = (String) document.getNativeData(); 61 YamlDocument document = new YamlDocument("example2_16.yaml"); local 62 Map<String, String> map = (Map<String, String>) document.getNativeData(); 73 YamlDocument document = new YamlDocument("example2_17.yaml", false); local 74 Map<String, String> map = (Map<String, String>) document.getNativeData(); 86 YamlDocument document = new YamlDocument("example2_17_unicode.yaml"); local 87 Map<String, String> map = (Map<String, String>) document.getNativeData() 93 YamlDocument document = new YamlDocument("example2_17_control.yaml", false); local 100 YamlDocument document = new YamlDocument("example2_17_hexesc.yaml"); local 107 YamlDocument document = new YamlDocument("example2_17_single.yaml"); local 114 YamlDocument document = new YamlDocument("example2_17_quoted.yaml"); local 121 YamlDocument document = new YamlDocument("example2_17_tie_fighter.yaml"); local 128 YamlDocument document = new YamlDocument("example2_18.yaml"); local [all...] |
/external/testng/doc/ |
banner.js | 2 // Writes a table data element to the document. If pHRef equals
15 document.write(' <td')
16 document.write(pCurrentPage == pHRef ? ' class="current"' : '')
17 document.write('><a href="')
18 document.write(pHRef)
19 document.write('">')
20 document.write(pValue)
21 document.writeln('</a></td>')
25 // Writes the main menu to the document.
29 document.writeln('<div id="topmenu">') [all...] |
/external/pdfium/fpdfsdk/ |
fpdfdoc_embeddertest.cpp | 22 EXPECT_EQ(0U, FPDFDest_GetPageIndex(document(), nullptr)); 25 FPDF_DEST dest = FPDF_GetNamedDestByName(document(), "First"); 27 EXPECT_EQ(1U, FPDFDest_GetPageIndex(document(), dest)); 30 dest = FPDF_GetNamedDestByName(document(), "Next"); 32 EXPECT_EQ(1U, FPDFDest_GetPageIndex(document(), dest)); 35 dest = FPDF_GetNamedDestByName(document(), "FirstAlternate"); 37 EXPECT_EQ(11U, FPDFDest_GetPageIndex(document(), dest)); 40 dest = FPDF_GetNamedDestByName(document(), "LastAlternate"); 42 EXPECT_EQ(0U, FPDFDest_GetPageIndex(document(), dest)); 60 FPDF_DEST dest = FPDF_GetNamedDestByName(document(), "First") [all...] |
fpdfcatalog.cpp | 11 FPDFCatalog_IsTagged(FPDF_DOCUMENT document) { 12 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document);
|
fpdfext_embeddertest.cpp | 18 EXPECT_EQ(PAGEMODE_USENONE, FPDFDoc_GetPageMode(document())); 23 EXPECT_EQ(PAGEMODE_USEOUTLINES, FPDFDoc_GetPageMode(document()));
|
/external/autotest/client/site_tests/power_LoadTest/extension/ |
prevent_unload_popup.js | 6 if (document.location.hostname === PLAY_MUSIC_HOSTNAME) { 7 var script = document.createElement('script'); 9 document.documentElement.insertBefore(script, document.documentElement.firstChild);
|
/external/libxml2/doc/examples/ |
parse3.c | 3 * synopsis: Parse an XML document in memory to a tree and free it 16 static const char *document = "<doc/>"; variable 20 * @content: the content of the document 23 * Parse the in memory document and free the resulting tree 27 xmlDocPtr doc; /* the resulting document tree */ 30 * The document being in memory, it have no base per RFC 2396, 35 fprintf(stderr, "Failed to parse document\n"); 49 example3Func(document, 6);
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/builder/ |
XmlBlock.java | 10 import org.w3c.dom.Document; 21 private final Document document; field in class:XmlBlock 25 private synchronized static Document parse(FsFile xmlFile) { 50 Document document = parse(fsFile); local 52 return document == null 54 : new XmlBlock(document, fsFile.getPath(), packageName); 57 private XmlBlock(Document document, String filename, String packageName) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
DocumentFragmentImpl.java | 35 DocumentFragmentImpl(DocumentImpl document) { 36 super(document); 41 return "#document-fragment";
|
CDATASectionImpl.java | 34 public CDATASectionImpl(DocumentImpl document, String data) { 35 super(document, data); 59 parent.insertBefore(new CDATASectionImpl(document, parts[0] + "]]"), this); 61 parent.insertBefore(new CDATASectionImpl(document, ">" + parts[p] + "]]"), this); 82 TextImpl replacement = new TextImpl(document, getData());
|
/frameworks/base/core/jni/android/graphics/pdf/ |
PdfUtils.cpp | 105 FPDF_DOCUMENT document = FPDF_LoadCustomDocument(&loader, NULL); local 106 if (!document) { 112 return reinterpret_cast<jlong>(document); 116 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); local 117 FPDF_CloseDocument(document); 123 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); local 125 return FPDF_GetPageCount(document); 129 FPDF_DOCUMENT document = reinterpret_cast<FPDF_DOCUMENT>(documentPtr); local 130 FPDF_BOOL printScaling = FPDF_VIEWERREF_GetPrintScaling(document);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/ |
BeanConstructorTest.java | 31 String document = Util.getLocalResource("constructor/test-primitives1.yaml"); local 32 TestBean1 result = (TestBean1) yaml.load(document); 96 String document = "charClass: id"; local 98 yaml.load(document); 104 document = "charClass: #"; 105 TestBean1 bean = (TestBean1) yaml.load(document); 107 document = "charClass: ''"; 108 bean = (TestBean1) yaml.load(document); 110 document = "charClass:\n"; 111 bean = (TestBean1) yaml.load(document); 120 String document = "text: qwerty"; local 150 String document = "text: qwerty"; local 161 String document = "[1, 2]: qwerty"; local 172 String document = "something: qwerty"; local 184 String document = "staticInteger: 123"; local 196 String document = "id: 123\\nchild: 25"; local 205 String document = "id: 123\\nchild: 25"; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
DomUtilitiesTest.java | 21 import org.w3c.dom.Document; 39 Document document1 = builder.newDocument(); 40 Document document2 = builder.newDocument(); 92 Document document = builder.newDocument(); local 93 document.appendChild(document.createElement("root")); 94 Element root = document.getDocumentElement(); 95 root.appendChild(document.createTextNode(" ")); 96 Element foo = document.createElement("foo") 121 Document document = builder.newDocument(); local 160 Document document = builder.newDocument(); local 194 Document document = builder.newDocument(); local [all...] |
/external/oj-libjdwp/make/src/classes/build/tools/jdwpgen/ |
AbstractSimpleNode.java | 38 void document(PrintWriter writer) { method in class:AbstractSimpleNode
|