/packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
D | internals.md | 103 * To reduce memory consumption for 64-bit architecture, `SizeType` is typedef as `unsigned` instead… 127 This optimization can reduce memory usage for copy-string. It can also improve cache-coherence thus… 136 // Allocate a memory block. 137 // \param size of the memory block in bytes. 138 // \returns pointer to the memory block. 141 // Resize a memory block. 142 // \param originalPtr The pointer to current memory block. Null pointer is permitted. 143 …(Design issue: since some allocator may not book-keep this, explicitly pass to it can save memory.) 147 // Free a memory block. 148 // \param pointer to the memory block. Null pointer is permitted. [all …]
|
D | dom.md | 3 Document Object Model(DOM) is an in-memory representation of JSON for query and manipulation. The b… 34 The `Encoding` parameter specifies the encoding of JSON String value in memory. Possible options ar… 36 …ding. No matter what encoding was used in JSON files, we can store the strings in UTF-16 in memory. 61 …memory for `Document`/`Value`. `Document` owns, or references to an `Allocator` instance. On the o… 63 …ericDocument` is `MemoryPoolAllocator`. This allocator actually allocate memory sequentially, and … 174 …o be an in situ algorithm, or in-place algorithm, if the extra amount of memory required to execut… 213 In situ parsing minimizes allocation overheads and memory copying. Generally this improves cache co… 217 1. The whole JSON is in memory. 220 …ter parsing, and there are few JSON strings in the DOM, retaining the buffer may be a memory waste. 222 …term JSON that only need to be processed once, and then be released from memory. In practice, thes… [all …]
|
D | stream.md | 9 Memory streams store JSON in memory. 13 …t basic input stream. It represents a complete, read-only JSON stored in memory. It is defined in … 41 `StringBuffer` is a simple output stream. It allocates a memory buffer for writing the whole JSON. … 66 When parsing a JSON from file, you may read the whole JSON into memory and use ``StringStream`` abo… 68 However, if the JSON is big, or memory is limited, you can use `FileReadStream`. It only read a par… 132 … applied to streams other than file. For example, you may have a file in memory, or a custom byte … 154 d.ParseStream<0, UTF16LE<> >(eis); // Parses UTF-16LE file into UTF-8 in memory 180 d.Accept(writer); // This generates UTF32-LE file from UTF-8 in memory 207 d.ParseStream<0, AutoUTF<unsigned> >(eis); // This parses any UTF file into UTF-8 in memory 239 In addition to memory/file streams, user can create their own stream classes which fits RapidJSON's… [all …]
|
D | faq.md | 47 …suite for all modifications. The test process also uses Valgrind (in Linux) to detect memory leaks. 79 Document Object Model (DOM) is an in-memory representation of JSON for query and manipulation. 87 …DOM is easy for query and manipulation. SAX is very fast and memory-saving but often more difficul… 91 …s directly into the input JSON. This is an optimization which can reduce memory consumption and im… 143 …ment to take care of document and value life-cycle as well as consistent memory managent using the… 225 1. I have a big JSON file. Should I load the whole file to memory? 261 4. Does it consume a lot of memory? 263 The design of RapidJSON aims at reducing memory footprint. 265 …In the SAX API, `Reader` consumes memory portional to maximum depth of JSON tree, plus maximum len… 267 …s for 32/64-bit architecture respectively. RapidJSON also uses a special memory allocator to minim…
|
D | encoding.md | 34 For UTF-16 and UTF-32, the byte order (endianness) does matter. Within computer memory, they are of… 65 For processing text in memory, we normally use `UTF8`, `UTF16` or `UTF32`. For processing text via … 67 …Encoding>` indicates the encoding to be used to represent JSON string in memory. So normally we wi… 88 … other words, user must know exactly which encodings will be used in the memory or streams. Howeve… 110 ASCII *cannot* be used in memory (encoding of `Document` or target encoding of `Reader`), as it can…
|
D | pointer.md | 218 …n apply it to different DOMs or in different times. This reduce time and memory allocation for con… 220 We can go one step further, to completely eliminate the parsing process and dynamic memory allocati… 231 This may be useful for memory constrained systems.
|
D | features.md | 30 * These encodings are used in input/output streams and in-memory representation. 84 * Minimize memory overheads for DOM.
|
D | tutorial.md | 308 …s is destructed. This will incur a lot of unnecessary allocations/deallocations and memory copying. 351 To make memory allocation customizable, RapidJSON requires user to pass an instance of allocator, w… 402 Note that, `Reserve(...)` and `PushBack(...)` may allocate memory for the array elements, therefore… 510 1. [Streams](doc/stream.md) are channels for reading/writing JSON, which can be a in-memory string,… 511 2. [Encoding](doc/encoding.md) defines which character encoding is used in streams and memory. Rapi…
|
D | performance.md | 3 There is a [native JSON benchmark collection] [1] which evaluates speed, memory usage and code size…
|
D | sax.md | 264 …Writer` has a `levelDepth` parameter. This parameter affects the initial memory allocated for stor… 286 …data structures directly. This eliminates building of DOM, thus reducing memory and improving perf…
|
/packages/modules/NetworkStack/tests/unit/src/android/net/testutils/ |
D | HandlerUtilsTest.kt | 49 var memory = StringBuilder() in <lambda>() variable 51 memory.append("b") in <lambda>() 55 handlerThread.threadHandler.post({ tempRunnable.memory.append("a"); }) in <lambda>() 58 assertEquals(tempRunnable.memory.toString(), "ab".repeat(i + 1)) in <lambda>()
|
/packages/services/Car/evs/sampleDriver/ |
D | VideoCapture.cpp | 162 bufrequest.memory = V4L2_MEMORY_MMAP; in startStream() 172 mBufferInfo.memory = V4L2_MEMORY_MMAP; in startStream() 253 bufrequest.memory = V4L2_MEMORY_MMAP; in stopStream()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/ |
D | readme.md | 40 …memory friendly. Each JSON value occupies exactly 16/20 bytes for most 32/64-bit machines (excludi…
|
/packages/apps/TV/common/src/com/android/tv/common/memory/ |
D | MemoryManageable.java | 17 package com.android.tv.common.memory;
|
/packages/apps/Camera2/src/com/android/camera/processing/memory/ |
D | LruResourcePool.java | 17 package com.android.camera.processing.memory;
|
D | ByteBufferDirectPool.java | 17 package com.android.camera.processing.memory;
|
D | SimpleLruResourcePool.java | 17 package com.android.camera.processing.memory;
|
D | LruPool.java | 17 package com.android.camera.processing.memory;
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
D | TaskCompressImageToJpeg.java | 32 import com.android.camera.processing.memory.LruResourcePool; 33 import com.android.camera.processing.memory.LruResourcePool.Resource;
|
D | ImageBackend.java | 24 import com.android.camera.processing.memory.ByteBufferDirectPool; 25 import com.android.camera.processing.memory.LruResourcePool;
|
D | TaskPreviewChainedJpeg.java | 21 import com.android.camera.processing.memory.LruResourcePool;
|
/packages/apps/TV/src/com/android/tv/util/images/ |
D | ImageCache.java | 22 import com.android.tv.common.memory.MemoryManageable;
|
/packages/apps/TV/common/src/com/android/tv/common/ |
D | TvContentRatingCache.java | 25 import com.android.tv.common.memory.MemoryManageable;
|
/packages/apps/Car/libs/car-ui-lib/ |
D | gradle.properties | 23 # The setting is particularly useful for tweaking memory settings.
|
/packages/modules/DnsResolver/ |
D | README-DoT.md | 99 unbounded memory usage.
|