HomeSort by relevance Sort by last modified time
    Searched refs:Chunk (Results 1 - 25 of 132) sorted by null

1 2 3 4 5 6

  /frameworks/base/core/java/android/ddm/
DdmHandleNativeHeap.java 19 import org.apache.harmony.dalvik.ddmc.Chunk;
57 * Handle a chunk of data.
59 public Chunk handleChunk(Chunk request) {
60 Log.i("ddm-nativeheap", "Handling " + name(request.type) + " chunk");
74 private Chunk handleNHGT(Chunk request) {
82 return new Chunk(ChunkHandler.type("NHGT"), data, 0, data.length);
DdmHandleProfiling.java 19 import org.apache.harmony.dalvik.ddmc.Chunk;
72 * Handle a chunk of data.
74 public Chunk handleChunk(Chunk request) {
76 Log.v("ddm-heap", "Handling " + name(request.type) + " chunk");
102 private Chunk handleMPRS(Chunk request) {
124 private Chunk handleMPRE(Chunk request) {
138 return new Chunk(CHUNK_MPRE, reply, 0, reply.length)
    [all...]
DdmHandleHeap.java 19 import org.apache.harmony.dalvik.ddmc.Chunk;
77 * Handle a chunk of data.
79 public Chunk handleChunk(Chunk request) {
81 Log.v("ddm-heap", "Handling " + name(request.type) + " chunk");
111 private Chunk handleHPIF(Chunk request) {
129 private Chunk handleHPSGNHSG(Chunk request, boolean isNative) {
155 private Chunk handleHPDU(Chunk request)
    [all...]
DdmHandleHello.java 19 import org.apache.harmony.dalvik.ddmc.Chunk;
67 Chunk testChunk =
68 new Chunk(ChunkHandler.type("TEST"), data, 1, data.length-2);
83 * Handle a chunk of data.
85 public Chunk handleChunk(Chunk request) {
87 Log.v("ddm-heap", "Handling " + name(request.type) + " chunk");
105 private Chunk handleHELO(Chunk request) {
161 Chunk reply = new Chunk(CHUNK_HELO, out)
    [all...]
DdmHandleAppName.java 19 import org.apache.harmony.dalvik.ddmc.Chunk;
59 * Handle a chunk of data.
61 public Chunk handleChunk(Chunk request) {
87 * Send an APNM (APplication NaMe) chunk.
102 Chunk chunk = new Chunk(CHUNK_APNM, out); local
103 DdmServer.sendChunk(chunk);
DdmHandleExit.java 19 import org.apache.harmony.dalvik.ddmc.Chunk;
26 * Handle an EXIT chunk.
58 * Handle a chunk of data. We're only registered for "EXIT".
60 public Chunk handleChunk(Chunk request) {
62 Log.v("ddm-exit", "Handling " + name(request.type) + " chunk");
DdmHandleThread.java 19 import org.apache.harmony.dalvik.ddmc.Chunk;
65 * Handle a chunk of data.
67 public Chunk handleChunk(Chunk request) {
69 Log.v("ddm-thread", "Handling " + name(request.type) + " chunk");
87 private Chunk handleTHEN(Chunk request) {
100 private Chunk handleTHST(Chunk request) {
108 return new Chunk(CHUNK_THST, status, 0, status.length)
    [all...]
DdmHandleViewDebug.java 25 import org.apache.harmony.dalvik.ddmc.Chunk;
79 /** Error code indicating operation specified in chunk is invalid. */
110 public Chunk handleChunk(Chunk request) {
162 private Chunk listWindows() {
180 return new Chunk(CHUNK_VULW, out);
216 private Chunk dumpHierarchy(View rootView, ByteBuffer in) {
239 return new Chunk(CHUNK_VURT, data, 0, data.length);
243 private Chunk captureLayers(View rootView) {
260 return new Chunk(CHUNK_VURT, data, 0, data.length)
    [all...]
  /libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
Chunk.java 22 * A chunk of DDM data. This is really just meant to hold a few pieces
28 public class Chunk {
33 public int type; // chunk type
34 public byte[] data; // chunk data
40 public Chunk() {}
45 public Chunk(int type, byte[] data, int offset, int length) {
53 * Construct from a ByteBuffer. The chunk is assumed to start at
56 public Chunk(int type, ByteBuffer buf) {
ChunkHandler.java 23 * Handle a chunk of data sent from a DDM server.
25 * To handle a chunk type, sub-class ChunkHandler and register your class
50 * Handle a single chunk of data. "request" includes the type and
51 * the chunk payload.
53 * Returns a response in a Chunk.
55 public abstract Chunk handleChunk(Chunk request);
58 * Create a FAIL chunk. The "handleChunk" methods can use this to
59 * return an error message when they are not able to process a chunk.
61 public static Chunk createFailChunk(int errorCode, String msg)
    [all...]
DdmServer.java 48 * chunk type.
90 * Send a chunk of data to the DDM server. This takes the form of a
95 public static void sendChunk(Chunk chunk) {
96 nativeSendChunk(chunk.type, chunk.data, chunk.offset, chunk.length);
99 /* send a chunk to the DDM server */
129 * This is called by the VM when a chunk arrives
170 Chunk chunk = new Chunk(type, data, offset, length); local
    [all...]
  /system/core/libmemunreachable/
Allocator.cpp 69 class Chunk;
82 void MoveToFullList(Chunk* chunk, int bucket_);
83 void MoveToFreeList(Chunk* chunk, int bucket_);
88 LinkedList<Chunk*> free_chunks_[kNumBuckets];
89 LinkedList<Chunk*> full_chunks_[kNumBuckets];
91 void MoveToList(Chunk* chunk, LinkedList<Chunk*>* head)
    [all...]
  /external/valgrind/perf/
many-loss-records.c 42 struct Chunk {
43 struct Chunk* child;
47 struct Chunk** topblocks;
58 void free_chunks (struct Chunk ** mem)
70 void release (struct Chunk ** mem)
87 int sz = sizeof(struct Chunk*) + malloc_data;
92 struct Chunk *new = NULL; // shut gcc up
93 struct Chunk *prev = NULL;
206 topblocks = malloc(sizeof(struct Chunk*) * stacks * malloc_fan);
  /external/clang/lib/Sema/
CodeCompleteConsumer.cpp 81 CodeCompletionString::Chunk::Chunk(ChunkKind Kind, const char *Text)
155 CodeCompletionString::Chunk
156 CodeCompletionString::Chunk::CreateText(const char *Text) {
157 return Chunk(CK_Text, Text);
160 CodeCompletionString::Chunk
161 CodeCompletionString::Chunk::CreateOptional(CodeCompletionString *Optional) {
162 Chunk Result;
168 CodeCompletionString::Chunk
169 CodeCompletionString::Chunk::CreatePlaceholder(const char *Placeholder)
    [all...]
  /frameworks/compile/mclinker/include/mcld/Script/
FileToken.h 25 friend class Chunk<FileToken, MCLD_SYMBOLS_PER_INPUT>;
NameSpec.h 25 friend class Chunk<NameSpec, MCLD_SYMBOLS_PER_INPUT>;
StrToken.h 29 friend class Chunk<StrToken, MCLD_SYMBOLS_PER_INPUT>;
WildcardPattern.h 36 friend class Chunk<WildcardPattern, MCLD_SYMBOLS_PER_INPUT>;
  /external/ceres-solver/internal/ceres/
schur_eliminator.h 85 // E F chunk
94 // [ 0 0 0 0 | z1 0 0 0 0] non chunk blocks
95 // [ 0 0 0 0 | 0 0 z3 z4 z5] non chunk blocks
126 // parameter block yi are known as a chunk, and the algorithm operates
127 // on one chunk at a time. The mathematics remains the same since the
129 // linear systems for each chunk. This can be seen by observing two
134 // 2. When E'F is computed, only the terms within a single chunk
241 // Chunk objects store combinatorial information needed to
242 // efficiently eliminate a whole chunk out of the least squares
243 // problem. Consider the first chunk in the example matrix above
    [all...]
  /external/v8/src/
bignum.cc 46 bigits_[i] = static_cast<Chunk>(value & kBigitMask);
121 Chunk current_bigit = 0;
129 Chunk most_significant_bigit = 0; // Could be = 0;
171 Chunk carry = 0;
175 Chunk sum = bigits_[bigit_pos] + other.bigits_[i] + carry;
182 Chunk sum = bigits_[bigit_pos] + carry;
201 Chunk borrow = 0;
205 Chunk difference = bigits_[i + offset] - other.bigits_[i] - borrow;
210 Chunk difference = bigits_[i + offset] - borrow;
237 // Assert that this number + 1 (for the carry) fits into double chunk
    [all...]
bignum.h 76 typedef uint32_t Chunk;
79 static const int kChunkSize = sizeof(Chunk) * 8;
84 static const Chunk kBigitMask = (1 << kBigitSize) - 1;
104 Chunk BigitAt(int index) const;
107 Chunk bigits_buffer_[kBigitCapacity];
110 Vector<Chunk> bigits_;
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/
NinePatchedImageTest.java 28 import com.android.ide.eclipse.adt.internal.editors.draw9patch.graphics.NinePatchedImage.Chunk;
217 Chunk[][] chunks = null;
220 // vertical chunk size
223 // horizontal chunk size
228 Chunk c = null;
234 assertEquals(Chunk.TYPE_HORIZONTAL | Chunk.TYPE_VERTICAL, c.type);
242 assertEquals(Chunk.TYPE_VERTICAL, c.type);
250 assertEquals(Chunk.TYPE_HORIZONTAL | Chunk.TYPE_VERTICAL, c.type)
    [all...]
  /frameworks/av/include/media/stagefright/
MPEG4Writer.h 118 struct Chunk {
124 Chunk(): mTrack(NULL), mTimeStampUs(0) {}
126 Chunk(Track *track, int64_t timeUs, List<MediaBuffer *> samples)
133 List<Chunk> mChunks; // Remaining chunks to be written
135 // Previous chunk timestamp that has been written
146 List<ChunkInfo> mChunkInfos; // Chunk infos
155 // Buffer a single chunk to be written out later.
156 void bufferChunk(const Chunk& chunk);
161 // Retrieve the proper chunk to write if there is on
    [all...]
  /frameworks/compile/mclinker/include/mcld/Support/
Allocators.h 19 /** \class Chunk
20 * \brief Chunk is the basic unit of the storage of the LinearAllocator
25 class Chunk {
30 Chunk() : next(NULL), bound(0) {}
43 Chunk* next;
49 class Chunk<DataType, 0> {
54 Chunk() : next(NULL), bound(0) {
61 ~Chunk() {
79 Chunk* next;
86 size_t Chunk<DataType, 0>::m_Size = 0
    [all...]
  /external/clang/include/clang/Sema/
CodeCompleteConsumer.h 383 struct Chunk {
390 /// CK_Informative, or CK_Comma chunk.
391 /// The string is owned by the chunk and will be deallocated
392 /// (with delete[]) when the chunk is destroyed.
395 /// \brief The code completion string associated with a CK_Optional chunk.
396 /// The optional code completion string is owned by the chunk, and will
397 /// be deallocated (with delete) when the chunk is destroyed.
401 Chunk() : Kind(CK_Text), Text(nullptr) { }
403 explicit Chunk(ChunkKind Kind, const char *Text = "");
405 /// \brief Create a new text chunk
    [all...]

Completed in 235 milliseconds

1 2 3 4 5 6