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

1 2 3 4 5 6 7 8

  /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 49 * chunk type.
91 * Send a chunk of data to the DDM server. This takes the form of a
96 public static void sendChunk(Chunk chunk) {
97 nativeSendChunk(chunk.type, chunk.data, chunk.offset, chunk.length);
100 /* send a chunk to the DDM server */
131 * This is called by the VM when a chunk arrives
172 Chunk chunk = new Chunk(type, data, offset, length); local
    [all...]
  /system/core/libmemunreachable/
Allocator.cpp 68 class Chunk;
81 void MoveToFullList(Chunk* chunk, int bucket_);
82 void MoveToFreeList(Chunk* chunk, int bucket_);
87 LinkedList<Chunk*> free_chunks_[kNumBuckets];
88 LinkedList<Chunk*> full_chunks_[kNumBuckets];
90 void MoveToList(Chunk* chunk, LinkedList<Chunk*>* head)
381 Chunk* chunk = Chunk::ptr_to_chunk(ptr); local
    [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>;
  /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/base/libs/androidfw/
ChunkIterator.cpp 17 #include "androidfw/Chunk.h"
23 Chunk ChunkIterator::Next() {
24 CHECK(len_ != 0) << "called Next() after last chunk";
34 // Prepare the next chunk.
37 return Chunk(this_chunk);
65 last_error_ = "header size is larger than entire chunk";
70 last_error_ = "chunk size is bigger than given data";
  /external/llvm/lib/DebugInfo/CodeView/
StreamWriter.cpp 68 // each contiguous chunk until we've consumed the entire stream.
70 ArrayRef<uint8_t> Chunk;
71 if (auto EC = SrcReader.readLongestContiguousChunk(Chunk))
73 if (auto EC = writeBytes(Chunk))
  /frameworks/base/libs/androidfw/include/androidfw/
Chunk.h 36 // of the chunk.
37 class Chunk {
39 explicit Chunk(const ResChunk_header* chunk) : device_chunk_(chunk) {}
41 // Returns the type of the chunk. Caller need not worry about endianness.
44 // Returns the size of the entire chunk. This can be useful for skipping
45 // over the entire chunk. Caller need not worry about endianness.
71 // The caller should check if there was an error during chunk validation
77 // const Chunk chunk = iter.Next()
    [all...]
  /external/v8/src/zone/
zone-chunk-list.h 34 // This list will maintain a doubly-linked list of chunks. When a chunk is
42 // The list will not allocate a starting chunk. Use if you expect your
45 // The list will start with a small initial chunk. Subsequent chunks will
48 // The list will start with one chunk at maximum size. Use this if you
69 // Will push a separate chunk to the front of the chunk-list.
105 struct Chunk {
108 Chunk* next_ = nullptr;
109 Chunk* previous_ = nullptr;
113 Chunk* NewChunk(const uint32_t capacity)
114 Chunk* chunk = local
312 Chunk* chunk = NewChunk(Min(back_->capacity_ << 1, kMaxChunkCapacity)); local
334 Chunk* chunk = NewChunk(1); \/\/ Yes, this gets really inefficient. local
    [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 385 struct Chunk {
392 /// CK_Informative, or CK_Comma chunk.
393 /// The string is owned by the chunk and will be deallocated
394 /// (with delete[]) when the chunk is destroyed.
397 /// \brief The code completion string associated with a CK_Optional chunk.
398 /// The optional code completion string is owned by the chunk, and will
399 /// be deallocated (with delete) when the chunk is destroyed.
403 Chunk() : Kind(CK_Text), Text(nullptr) { }
405 explicit Chunk(ChunkKind Kind, const char *Text = "");
407 /// \brief Create a new text chunk
    [all...]

Completed in 2091 milliseconds

1 2 3 4 5 6 7 8