/packages/apps/Test/connectivity/sl4n/utils/ |
common_utils.cpp | 22 bool CommonUtils::IsParamLengthMatching(rapidjson::Document& doc, 25 if ((int)doc[sl4n::kParamsStr].Size() != expected_param_size) { 27 << doc[sl4n::kParamsStr].Size(); 28 doc.AddMember(sl4n::kResultStr, false, doc.GetAllocator()); 29 doc.AddMember(sl4n::kErrorStr, sl4n::kInvalidParamStr, doc.GetAllocator());
|
command_receiver.cpp | 31 void _clean_result(rapidjson::Document &doc) { 32 doc.RemoveMember(sl4n::kMethodStr); 33 doc.RemoveMember(sl4n::kParamsStr); 36 void initiate(rapidjson::Document &doc) { 37 doc.AddMember(sl4n::kStatusStr, sl4n::kSuccessStr, doc.GetAllocator()); 48 void CommandReceiver::Call(rapidjson::Document& doc) { 50 if (doc.HasMember(sl4n::kCmdStr)) { 51 cmd = doc[sl4n::kCmdStr].GetString(); 52 } else if (doc.HasMember(sl4n::kMethodStr)) [all...] |
common_utils.h | 26 static bool IsParamLengthMatching(rapidjson::Document& doc,
|
/system/media/camera/docs/ |
metadata-validate | 29 doc=$1 31 xmllint --noout --schema $schema $doc || exit 1 32 python $thisdir/metadata_validate.py $doc || exit 1
|
/external/libxml2/python/tests/ |
push.py | 10 doc = ctxt.doc() variable 12 if doc.name != "test.xml": 15 root = doc.children 19 doc.freeDoc() 24 doc = ctxt.doc() variable 25 doc.freeDoc()
|
validate.py | 11 doc = ctxt.doc() variable 14 if doc.name != "valid.xml": 15 print("doc.name failed") 17 root = doc.children 18 if root.name != "doc": 24 doc.freeDoc() 31 doc = ctxt.doc() variable 33 doc.freeDoc( 48 doc = ctxt.doc() variable [all...] |
tst.py | 8 doc = libxml2.parseFile("tst.xml") variable 9 if doc.name != "tst.xml": 10 print("doc.name failed") 12 root = doc.children 13 if root.name != "doc": 20 doc.freeDoc()
|
/external/pdfium/xfa/fxfa/parser/ |
cxfa_deltas.cpp | 12 CXFA_Deltas::CXFA_Deltas(CXFA_Document* doc) 13 : CXFA_List(doc, pdfium::MakeUnique<CJX_Deltas>(this)) {}
|
cxfa_deltas.h | 14 explicit CXFA_Deltas(CXFA_Document* doc);
|
/packages/apps/Test/connectivity/sl4n/facades/test/ |
test_facade.cpp | 65 void test_bool_true_return_wrapper(rapidjson::Document &doc) { 67 if (!CommonUtils::IsParamLengthMatching(doc, expected_param_size)) { 74 doc.AddMember(sl4n::kResultStr, false, doc.GetAllocator()); 75 doc.AddMember(sl4n::kErrorStr, sl4n::kFailStr, doc.GetAllocator()); 77 doc.AddMember(sl4n::kResultStr, result, doc.GetAllocator()); 78 doc.AddMember(sl4n::kErrorStr, NULL, doc.GetAllocator()) [all...] |
/external/tinyxml2/ |
xmltest.cpp | 110 XMLDocument doc;
local 111 doc.LoadFile( "resources/dream.xml" );
113 return doc.ErrorID();
129 XMLDocument doc;
local 130 doc.Parse( xml );
132 return doc.ErrorID();
154 XMLDocument doc;
local 155 doc.Parse( xml );
157 XMLElement* titleElement = doc.FirstChildElement( "PLAY" )->FirstChildElement( "TITLE" );
165 return doc.ErrorID(); 242 XMLDocument doc; local 310 XMLDocument* doc = new XMLDocument(); local 367 XMLDocument doc; local 382 XMLDocument doc; local 392 XMLDocument doc; local 402 XMLDocument doc; local 418 XMLDocument doc; local 427 XMLDocument* doc = new XMLDocument(); local 435 XMLDocument doc; local 462 XMLDocument* doc = new XMLDocument(); local 528 XMLDocument doc; local 567 XMLDocument doc; local 575 XMLDocument doc; local 611 XMLDocument doc; local 654 XMLDocument doc; local 719 XMLDocument doc; local 738 XMLDocument doc; local 796 XMLDocument doc; local 934 XMLDocument doc; local 965 XMLDocument doc; local 983 XMLDocument doc; local 997 XMLDocument doc; local 1023 XMLDocument doc; local 1080 XMLDocument doc; local 1090 XMLDocument doc; local 1110 XMLDocument doc; local 1129 XMLDocument doc; local 1141 XMLDocument doc; local 1152 XMLDocument doc; local 1160 XMLDocument doc; local 1168 XMLDocument doc; local 1175 XMLDocument doc; local 1185 XMLDocument doc; local 1246 XMLDocument doc; local 1270 XMLDocument doc; local 1304 XMLDocument doc; local 1331 XMLDocument doc; local 1362 XMLDocument doc; local 1378 XMLDocument doc; local 1389 XMLDocument doc; local 1440 XMLDocument doc; local 1453 XMLDocument doc; local 1467 XMLDocument doc; local 1480 XMLDocument doc; local 1493 XMLDocument doc; local 1501 XMLDocument doc; local 1545 XMLDocument doc; local 1552 XMLDocument doc; local 1559 XMLDocument doc; local 1566 XMLDocument doc; local 1572 XMLDocument doc; local 1584 XMLDocument doc; local 1637 XMLDocument doc; local 1647 XMLDocument doc; local 1660 XMLDocument doc; local 1671 XMLDocument doc; local 1681 XMLDocument doc; local 1729 XMLDocument doc; local 1775 XMLDocument doc; local 1784 XMLDocument doc; local 1796 XMLDocument doc; local 1833 XMLDocument doc; local 1838 XMLDocument doc; local 1847 tinyxml2::XMLDocument doc; local 1853 XMLDocument doc; local 1862 XMLDocument doc; local 1878 XMLDocument doc; local 1888 XMLDocument doc; local 1898 XMLDocument doc; local 1909 XMLDocument doc; local 1933 XMLDocument doc; local 1953 XMLDocument* doc = new XMLDocument(); local 1962 XMLDocument doc; local 1991 XMLDocument doc; local 1995 XMLDocument doc; local 2019 XMLDocument doc; local 2072 XMLDocument doc; local 2083 XMLDocument doc; local 2091 XMLDocument doc; local 2199 XMLDocument doc; local 2237 XMLDocument doc; local [all...] |
/external/autotest/frontend/ |
views_common.py | 4 doc = '<h2>Models</h2>\n' 7 doc += '<h3>%s</h3>\n' % model_name 8 doc += '<pre>\n%s</pre>\n' % model_class.__doc__ 9 return HttpResponse(doc)
|
/external/libxml2/doc/examples/ |
parse1.c | 24 xmlDocPtr doc; /* the resulting document tree */ local 26 doc = xmlReadFile(filename, NULL, 0); 27 if (doc == NULL) { 31 xmlFreeDoc(doc);
|
parse3.c | 16 static const char *document = "<doc/>"; 27 xmlDocPtr doc; /* the resulting document tree */ local 33 doc = xmlReadMemory(content, length, "noname.xml", NULL, 0); 34 if (doc == NULL) { 38 xmlFreeDoc(doc);
|
io2.c | 20 xmlDocPtr doc; local 27 doc = xmlNewDoc(BAD_CAST "1.0"); 30 xmlDocSetRootElement(doc, n); 36 xmlDocDumpFormatMemory(doc, &xmlbuff, &buffersize, 1); 43 xmlFreeDoc(doc);
|
/external/libxml2/doc/tutorial/ |
includeaddkeyword.c | 9 parseStory (xmlDocPtr doc, xmlNodePtr cur, char *keyword) { 18 xmlDocPtr doc; 21 doc = xmlParseFile(docname); 23 if (doc == NULL ) { 28 cur = xmlDocGetRootElement(doc); 32 xmlFreeDoc(doc); 38 xmlFreeDoc(doc); 45 parseStory (doc, cur, keyword); 50 return(doc); 58 xmlDocPtr doc; [all...] |
includeaddattribute.c | 12 xmlDocPtr doc; 17 doc = xmlParseFile(docname); 19 if (doc == NULL ) { 24 cur = xmlDocGetRootElement(doc); 28 xmlFreeDoc(doc); 34 xmlFreeDoc(doc); 40 return(doc); 48 xmlDocPtr doc; 57 doc = parseDoc (docname, uri); 58 if (doc != NULL) [all...] |
includexpath.c | 7 xmlDocPtr doc; 8 doc = xmlParseFile(docname); 10 if (doc == NULL ) { 15 return doc; 19 getnodeset (xmlDocPtr doc, xmlChar *xpath){ 24 context = xmlXPathNewContext(doc); 46 xmlDocPtr doc; 59 doc = getdoc(docname); 60 result = getnodeset (doc, xpath); 64 keyword = xmlNodeListGetString(doc, nodeset->nodeTab[i]->xmlChildrenNode, 1) [all...] |
/external/libcups/filter/ |
pstops.c | 103 int mirror, /* doc->mirror/mirror pages */ 105 number_up_layout, /* doc->number_up_layout of N-up pages */ 107 page_border; /* doc->page_border around pages */ 118 #define is_first_page(p) (doc->number_up == 1 || \ 119 ((p) % doc->number_up) == 1) 120 #define is_last_page(p) (doc->number_up == 1 || \ 121 ((p) % doc->number_up) == 0) 122 #define is_not_last_page(p) (doc->number_up > 1 && \ 123 ((p) % doc->number_up) != 0) 137 static pstops_page_t *add_page(pstops_doc_t *doc, const char *label) 198 pstops_doc_t doc; \/* Document information *\/ local [all...] |
/art/tools/ahat/src/main/com/android/ahat/ |
OverviewHandler.java | 38 public void handle(Doc doc, Query query) throws IOException { 39 doc.title("Overview"); 41 doc.section("General Information"); 42 doc.descriptions(); 43 doc.description( 46 doc.description(DocString.text("hprof file"), DocString.text(mHprof.toString())); 48 doc.description(DocString.text("baseline hprof file"), DocString.text(mBaseHprof.toString())); 50 doc.end(); 52 doc.section("Bytes Retained by Heap") [all...] |
/external/emma/core/java12/com/vladium/emma/report/html/doc/ |
IContent.java | 9 package com.vladium.emma.report.html.doc;
|
/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/testing/ |
TestItemDetailsLookup.java | 39 * any EventDocLookup methods will consult the newly created doc. 42 TestItemDetails doc = new TestItemDetails(); local 43 doc.at(position); 44 mItem = doc; 45 return doc;
|
/external/antlr/antlr-3.4/runtime/Python/ |
mkdoxy.sh | 7 rm -fr build/doc 8 mkdir -p build/doc/antlr3 12 >>build/doc/antlr3.py 15 touch build/doc/antlr3/__init__.py 17 cp -f antlr3/tree.py build/doc/antlr3 18 cp -f antlr3/treewizard.py build/doc/antlr3
|
/cts/tests/pdf/src/android/graphics/pdf/cts/ |
PdfDocumentTest.java | 56 PdfDocument doc = new PdfDocument(); local 57 doc.close(); 58 assertEquals(0, doc.getPages().size()); 63 PdfDocument doc = new PdfDocument(); local 64 doc.close(); 67 doc.close(); 72 PdfDocument doc = new PdfDocument(); local 73 doc.close(); 77 verifyException(() -> doc.writeTo(os), IllegalStateException.class); 82 PdfDocument doc = new PdfDocument() local 91 PdfDocument doc = new PdfDocument(); local 103 PdfDocument doc = new PdfDocument(); local 114 PdfDocument doc = new PdfDocument(); local 126 PdfDocument doc = new PdfDocument(); local 142 PdfDocument doc = new PdfDocument(); local 174 PdfDocument doc = new PdfDocument(); local 225 PdfDocument doc = new PdfDocument(); local 287 PdfDocument doc = new PdfDocument(); local 294 PdfDocument doc = new PdfDocument(); local 301 PdfDocument doc = new PdfDocument(); local 362 PdfDocument doc = new PdfDocument(); local 376 PdfDocument doc = new PdfDocument(); local 390 PdfDocument doc = new PdfDocument(); local 404 PdfDocument doc = new PdfDocument(); local [all...] |
/external/pcre/dist2/ |
Makefile.am | 16 doc/pcre2.txt \ 17 doc/pcre2-config.txt \ 18 doc/pcre2grep.txt \ 19 doc/pcre2test.txt 22 doc/html/NON-AUTOTOOLS-BUILD.txt \ 23 doc/html/README.txt \ 24 doc/html/index.html \ 25 doc/html/pcre2-config.html \ 26 doc/html/pcre2.html \ 27 doc/html/pcre2_callout_enumerate.html [all...] |