Home
last modified time | relevance | path

Searched refs:memory (Results 1 – 25 of 38) sorted by relevance

12

/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dinternals.md103 * 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 …]
Ddom.md3 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.
61memory 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 …]
Dstream.md9 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 …]
Dfaq.md47 …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…
Dencoding.md34 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…
Dpointer.md218 …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.
Dfeatures.md30 * These encodings are used in input/output streams and in-memory representation.
84 * Minimize memory overheads for DOM.
Dtutorial.md308 …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…
Dperformance.md3 There is a [native JSON benchmark collection] [1] which evaluates speed, memory usage and code size…
Dsax.md264 …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/
DHandlerUtilsTest.kt49 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/
DVideoCapture.cpp162 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/
Dreadme.md40memory 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/
DMemoryManageable.java17 package com.android.tv.common.memory;
/packages/apps/Camera2/src/com/android/camera/processing/memory/
DLruResourcePool.java17 package com.android.camera.processing.memory;
DByteBufferDirectPool.java17 package com.android.camera.processing.memory;
DSimpleLruResourcePool.java17 package com.android.camera.processing.memory;
DLruPool.java17 package com.android.camera.processing.memory;
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
DTaskCompressImageToJpeg.java32 import com.android.camera.processing.memory.LruResourcePool;
33 import com.android.camera.processing.memory.LruResourcePool.Resource;
DImageBackend.java24 import com.android.camera.processing.memory.ByteBufferDirectPool;
25 import com.android.camera.processing.memory.LruResourcePool;
DTaskPreviewChainedJpeg.java21 import com.android.camera.processing.memory.LruResourcePool;
/packages/apps/TV/src/com/android/tv/util/images/
DImageCache.java22 import com.android.tv.common.memory.MemoryManageable;
/packages/apps/TV/common/src/com/android/tv/common/
DTvContentRatingCache.java25 import com.android.tv.common.memory.MemoryManageable;
/packages/apps/Car/libs/car-ui-lib/
Dgradle.properties23 # The setting is particularly useful for tweaking memory settings.
/packages/modules/DnsResolver/
DREADME-DoT.md99 unbounded memory usage.

12