Home
last modified time | relevance | path

Searched refs:document (Results 1 – 25 of 53) sorted by relevance

123

/packages/apps/Test/connectivity/sl4n/rapidjson/example/tutorial/
Dtutorial.cpp18 Document document; // Default template parameter uses UTF8 and MemoryPoolAllocator. in main() local
22 if (document.Parse(json).HasParseError()) in main()
28 if (document.ParseInsitu(buffer).HasParseError()) in main()
38 …assert(document.IsObject()); // Document is a JSON value represents the root of DOM. Root can b… in main()
40 assert(document.HasMember("hello")); in main()
41 assert(document["hello"].IsString()); in main()
42 printf("hello = %s\n", document["hello"].GetString()); in main()
45 Value::MemberIterator hello = document.FindMember("hello"); in main()
46 assert(hello != document.MemberEnd()); in main()
51 …assert(document["t"].IsBool()); // JSON true/false are bool. Can also uses more specific funct… in main()
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dpointer.h443 …ument<EncodingType, typename ValueType::AllocatorType, stackAllocator>& document, bool* alreadyExi…
444 return Create(document, document.GetAllocator(), alreadyExist);
538 …ument<EncodingType, typename ValueType::AllocatorType, stackAllocator>& document, const ValueType&… in GetWithDefault() argument
539 return GetWithDefault(document, defaultValue, document.GetAllocator()); in GetWithDefault()
544 …ument<EncodingType, typename ValueType::AllocatorType, stackAllocator>& document, const Ch* defaul… in GetWithDefault() argument
545 return GetWithDefault(document, defaultValue, document.GetAllocator()); in GetWithDefault()
551 …ument<EncodingType, typename ValueType::AllocatorType, stackAllocator>& document, const std::basic… in GetWithDefault() argument
552 return GetWithDefault(document, defaultValue, document.GetAllocator()); in GetWithDefault()
562 …ument<EncodingType, typename ValueType::AllocatorType, stackAllocator>& document, T defaultValue) … in GetWithDefault() argument
563 return GetWithDefault(document, defaultValue, document.GetAllocator()); in GetWithDefault()
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Djsoncheckertest.cpp70 …GenericDocument<UTF8<>, CrtAllocator> document; // Use Crt allocator to check exception-safety (no… in TEST() local
71 document.Parse((const char*)json); in TEST()
72 EXPECT_TRUE(document.HasParseError()); in TEST()
74 document.Parse<kParseIterativeFlag>((const char*)json); in TEST()
75 EXPECT_TRUE(document.HasParseError()); in TEST()
90 …GenericDocument<UTF8<>, CrtAllocator> document; // Use Crt allocator to check exception-safety (no… in TEST() local
91 document.Parse((const char*)json); in TEST()
92 EXPECT_FALSE(document.HasParseError()); in TEST()
94 document.Parse<kParseIterativeFlag>((const char*)json); in TEST()
95 EXPECT_FALSE(document.HasParseError()); in TEST()
/packages/apps/UnifiedEmail/assets/
Dscript.js106 processQuotedText(document.documentElement, false /* showElided */);
115 toggleElement = document.createElement("div");
152 expandedBodyDivs = document.querySelectorAll(".expanded > .mail-message-content");
160 metaViewport = document.getElementById("meta-viewport");
185 documentWidth = document.body.offsetWidth;
347 textElement = document.createElement("div");
455 hideUnsafeImages(document.getElementsByClassName("mail-message-content"));
572 var metaViewport = document.getElementById('meta-viewport');
578 if (scrollYPercent && document.body.offsetHeight > window.innerHeight) {
579 document.body.scrollTop = Math.floor(scrollYPercent * document.body.offsetHeight);
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dtutorial.md32 #include "rapidjson/document.h"
37 Document document;
38 document.Parse(json);
41 The JSON is now parsed into `document` as a *DOM tree*:
45 Since the update to RFC 7159, the root of a conforming JSON document can be any JSON value. In ear…
47 assert(document.IsObject());
52 assert(document.HasMember("hello"));
53 assert(document["hello"].IsString());
54 printf("hello = %s\n", document["hello"].GetString());
63 assert(document["t"].IsBool());
[all …]
Dfaq.md105 8. How to clear-and-minimize a document or value?
124 9. How to insert a document node into another document?
134 …Let's assume we want to merge them in such way that the whole `address` document becomes a node of…
143 …The most important requirement to take care of document and value life-cycle as well as consistent…
145 …dress` definition above to initialize it with allocator of the `person` document, then we just add…
157 Second way is to deep-clone the value from the address document:
Ddom.md132 `kParseErrorDocumentEmpty` | The document is empty.
133 `kParseErrorDocumentRootNotSingular` | The document root must not follow by other values.
155 #include "rapidjson/document.h"
218 2. The source encoding in stream and target encoding in document must be the same.
219 3. The buffer need to be retained until the document is no longer used.
Dpointer.md5 …ue inside a JSON Document (DOM). This can be analogous to XPath for XML document. However, JSON Po…
149 …ature. One group uses `Document& document` as parameter, another one uses `Value& root`. The first…
Dstream.md16 #include "rapidjson/document.h" // will include "rapidjson/rapidjson.h"
139 #include "rapidjson/document.h"
192 #include "rapidjson/document.h"
/packages/apps/Browser2/test/resources/
Djs-test.js24 return (typeof document === 'undefined' ||
25 typeof document.childNodes === 'undefined') && !!self.importScripts;
/packages/apps/Test/connectivity/sl4n/rapidjson/
Dreadme.md91 This simple example parses a JSON string into a document (DOM), make a simple modification of the D…
95 #include "rapidjson/document.h"
/packages/apps/Music/
DNOTICE23 and distribution as defined by Sections 1 through 9 of this document.
/packages/apps/Calendar/
DNOTICE23 and distribution as defined by Sections 1 through 9 of this document.
/packages/apps/Launcher2/
DNOTICE23 and distribution as defined by Sections 1 through 9 of this document.
/packages/apps/QuickSearchBox/
DNOTICE23 and distribution as defined by Sections 1 through 9 of this document.
/packages/apps/CellBroadcastReceiver/
DNOTICE23 and distribution as defined by Sections 1 through 9 of this document.
/packages/apps/LegacyCamera/jni/
DNOTICE23 and distribution as defined by Sections 1 through 9 of this document.
/packages/providers/UserDictionaryProvider/
DNOTICE23 and distribution as defined by Sections 1 through 9 of this document.
/packages/apps/LegacyCamera/
DNOTICE23 and distribution as defined by Sections 1 through 9 of this document.
/packages/providers/TelephonyProvider/
DNOTICE23 and distribution as defined by Sections 1 through 9 of this document.
/packages/apps/Launcher3/
DNOTICE23 and distribution as defined by Sections 1 through 9 of this document.
/packages/inputmethods/LatinIME/java/
DNOTICE23 and distribution as defined by Sections 1 through 9 of this document.
/packages/apps/Email/
DNOTICE23 and distribution as defined by Sections 1 through 9 of this document.
/packages/wallpapers/LivePicker/
DNOTICE23 and distribution as defined by Sections 1 through 9 of this document.
/packages/providers/ContactsProvider/
DNOTICE23 and distribution as defined by Sections 1 through 9 of this document.

123