Home
last modified time | relevance | path

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

1234

/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/DocumentsUI/tests/common/com/android/documentsui/
DStubProvider.java141 mStorage.put(rootInfo.document.documentId, rootInfo.document); in clearCacheAndBuildRoots()
167 row.add(Root.COLUMN_DOCUMENT_ID, info.document.documentId); in queryRoots()
215 final StubDocument document = StubDocument.createRegularDocument(file, mimeType, parent); in createDocument() local
216 mStorage.put(document.documentId, document); in createDocument()
217 Log.d(TAG, "Created document " + document.documentId); in createDocument()
218 notifyParentChanged(document.parentId); in createDocument()
220 DocumentsContract.buildDocumentUri(mAuthority, document.documentId), in createDocument()
223 return document.documentId; in createDocument()
229 final StubDocument document = mStorage.get(documentId); in deleteDocument() local
230 final long fileSize = document.file.length(); in deleteDocument()
[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/DocumentsUI/perf-tests/src/com/android/documentsui/
DStressProvider.java95 StubDocument document; in onCreate() local
100 document = StubDocument.createDirectory(i); in onCreate()
101 mDocuments.put(document.id, document); in onCreate()
102 children.add(document); in onCreate()
109 document = StubDocument.createFile( in onCreate()
116 mDocuments.put(document.id, document); in onCreate()
117 children.add(document); in onCreate()
144 final StubDocument document = mDocuments.get(documentId); in queryDocument() local
145 includeDocument(result, document); in queryDocument()
156 for (StubDocument document : childDocuments) { in queryChildDocuments()
[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/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/services/Car/tools/hidl_parser/
Dparser.py233 def resolve(self, enum, document): argument
243 def resolve(self, enum, document): argument
256 def resolve(self, enum, document): argument
257 return self.value.resolve(enum, document) + 1
266 def resolve(self, enum, document): argument
268 if case.name == self.ref: return case.value.resolve(enum, document)
278 def resolve(self, enum, document): argument
279 base = self.base.resolve(enum, document)
280 offset = self.offset.resolve(enum, document)
291 def resolve(self, enum, document): argument
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DRenameDocumentFragment.java61 public static void show(FragmentManager fm, DocumentInfo document) { in show() argument
68 dialog.mDocument = document; in show()
211 protected DocumentInfo doInBackground(DocumentInfo... document) { in doInBackground() argument
212 assert(document.length == 1); in doInBackground()
214 return mActivity.getInjector().actions.renameDocument(mNewDisplayName, document[0]); in doInBackground()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DActionHandler.java174 public @Nullable DocumentInfo renameDocument(String name, DocumentInfo document) { in renameDocument() argument
175 ContentResolver resolver = document.userId.getContentResolver(mActivity); in renameDocument()
180 resolver, document.derivedUri.getAuthority()); in renameDocument()
182 wrap(client), document.derivedUri, name); in renameDocument()
183 return DocumentInfo.fromUri(resolver, newUri, document.userId); in renameDocument()
/packages/services/Car/tools/ioanalyze/
Danalyzer.py240 document = Document(open(args.filename)) variable
241 print("System runtime: %s\n" % (document.runtime))
243 system.loadDocument(document)
/packages/modules/adb/
DSYNC.TXT1 This file tries to document file-related requests a client can make
2 to the ADB server of an adbd daemon. See the OVERVIEW.TXT document
18 packets to communicate. In this document these are called sync requests and sync
DSERVICES.TXT1 This file tries to document all requests a client can make
2 to the ADB server of an adbd daemon. See the OVERVIEW.TXT document
239 in a companion document named SYNC.TXT
/packages/services/Mtp/tests/src/com/android/mtp/
DMtpDocumentsProviderTest.java1017 final HierarchyDocument document = ids.remove(); in setupHierarchyDocuments() local
1019 document.createChildDocument(objectHandle++), in setupHierarchyDocuments()
1020 document.createChildDocument(objectHandle++), in setupHierarchyDocuments()
1021 document.createChildDocument(objectHandle++), in setupHierarchyDocuments()
1024 0, 0, document.objectHandle, document.documentId, new MtpObjectInfo[] { in setupHierarchyDocuments()
/packages/modules/ExtServices/
DREADME.md17 - [Public ExtServices document](https://source.android.com/devices/architecture/modular-system/exts…
/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/modules/Virtualization/docs/getting_started/
Dyukawa.md18 * [go/vim3l](https://goto.google.com/vim3l) is a more detailed document but only accessible to
/packages/modules/vndk/apex/
DREADME.md3 In this document we add a new VNDK APEX for version 30. When you follow this doc with different ver…
/packages/apps/DocumentsUI/src/com/android/documentsui/
DActionHandler.java123 @Nullable DocumentInfo renameDocument(String name, DocumentInfo document); in renameDocument() argument
/packages/apps/TV/
Dproguard.flags41 # functionality, but to document non-obvious entry points to your code to make
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/tzs2polygons_tzs2cellunions/data/
DLICENSE5document does not create any kind of agent-client relationship. Please seek the advice of a suitab…
20 copyright, and therefore this document licenses these rights. Some
135 2.1. Legal effect of this document. This License is:
/packages/modules/GeoTZ/output_data/odbl/
DLICENSE5document does not create any kind of agent-client relationship. Please seek the advice of a suitab…
20 copyright, and therefore this document licenses these rights. Some
135 2.1. Legal effect of this document. This License is:

1234