/frameworks/base/core/java/android/webkit/ |
ByteArrayBuilder.java | 34 private static final LinkedList<SoftReference<Chunk>> sPool = 35 new LinkedList<SoftReference<Chunk>>(); 37 private static final ReferenceQueue<Chunk> sQueue = 38 new ReferenceQueue<Chunk>(); 40 private LinkedList<Chunk> mChunks; 43 mChunks = new LinkedList<Chunk>(); 48 Chunk c = null; 69 * chunks. This returns the first chunk. Note: this pulls the 70 * chunk out of the queue. The caller must call Chunk.release() t [all...] |
KeyStoreHandler.java | 64 ByteArrayBuilder.Chunk c = mDataBuilder.getFirstChunk();
|
/frameworks/base/core/java/android/ddm/ |
DdmHandleNativeHeap.java | 19 import org.apache.harmony.dalvik.ddmc.Chunk; 58 * Handle a chunk of data. 60 public Chunk handleChunk(Chunk request) { 61 Log.i("ddm-nativeheap", "Handling " + name(request.type) + " chunk"); 75 private Chunk handleNHGT(Chunk request) { 83 return new Chunk(ChunkHandler.type("NHGT"), data, 0, data.length);
|
DdmHandleProfiling.java | 19 import org.apache.harmony.dalvik.ddmc.Chunk; 68 * Handle a chunk of data. 70 public Chunk handleChunk(Chunk request) { 72 Log.v("ddm-heap", "Handling " + name(request.type) + " chunk"); 94 private Chunk handleMPRS(Chunk request) { 116 private Chunk handleMPRE(Chunk request) { 130 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; 61 Chunk testChunk = 62 new Chunk(ChunkHandler.type("TEST"), data, 1, data.length-2); 77 * Handle a chunk of data. 79 public Chunk handleChunk(Chunk request) { 81 Log.v("ddm-heap", "Handling " + name(request.type) + " chunk"); 97 private Chunk handleHELO(Chunk request) { 132 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. 98 Chunk chunk = new Chunk(CHUNK_APNM, out); local 99 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...] |
/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...] |
/external/valgrind/main/memcheck/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 | 82 CodeCompletionString::Chunk::Chunk(ChunkKind Kind, const char *Text) 157 CodeCompletionString::Chunk 158 CodeCompletionString::Chunk::CreateText(const char *Text) { 159 return Chunk(CK_Text, Text); 162 CodeCompletionString::Chunk 163 CodeCompletionString::Chunk::CreateOptional(CodeCompletionString *Optional) { 164 Chunk Result; 170 CodeCompletionString::Chunk 171 CodeCompletionString::Chunk::CreatePlaceholder(const char *Placeholder) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/audio/ |
SDL_wave.h | 44 /* Not saved in the chunk we read: 56 /* The general chunk found in the WAVE file */ 57 typedef struct Chunk { 61 } Chunk;
|
/external/v8/src/ |
bignum.cc | 70 bigits_[i] = static_cast<Chunk>(value & kBigitMask); 143 Chunk current_bigit = 0; 151 Chunk most_significant_bigit = 0; // Could be = 0; 193 Chunk carry = 0; 197 Chunk sum = bigits_[bigit_pos] + other.bigits_[i] + carry; 204 Chunk sum = bigits_[bigit_pos] + carry; 223 Chunk borrow = 0; 227 Chunk difference = bigits_[i + offset] - other.bigits_[i] - borrow; 232 Chunk difference = bigits_[i + offset] - borrow; 259 // Assert that this number + 1 (for the carry) fits into double chunk [all...] |
bignum.h | 96 typedef uint32_t Chunk; 99 static const int kChunkSize = sizeof(Chunk) * 8; 104 static const Chunk kBigitMask = (1 << kBigitSize) - 1; 124 Chunk BigitAt(int index) const; 127 Chunk bigits_buffer_[kBigitCapacity]; 130 Vector<Chunk> bigits_;
|
global-handles.cc | 246 current_ = new Chunk(); 266 Chunk* current = current_; 269 Chunk* previous = current->previous; 279 struct Chunk : public Malloced { 280 Chunk* previous; 285 Chunk* chunk = new Chunk(); local 286 chunk->previous = current_; 287 current_ = chunk; [all...] |
/external/clang/include/clang/Sema/ |
CodeCompleteConsumer.h | 375 struct Chunk { 382 /// CK_Informative, or CK_Comma chunk. 383 /// The string is owned by the chunk and will be deallocated 384 /// (with delete[]) when the chunk is destroyed. 387 /// \brief The code completion string associated with a CK_Optional chunk. 388 /// The optional code completion string is owned by the chunk, and will 389 /// be deallocated (with delete) when the chunk is destroyed. 393 Chunk() : Kind(CK_Text), Text(0) { } 395 Chunk(ChunkKind Kind, const char *Text = ""); 397 /// \brief Create a new text chunk [all...] |
/frameworks/media/libvideoeditor/vss/3gpwriter/src/ |
M4MP4W_Utils.c | 153 free(mMp4FileDataPtr->audioTrackPtr->Chunk[i]); 156 if ((M4OSA_NULL != mMp4FileDataPtr->audioTrackPtr->Chunk) && 157 (M4OSA_NULL != mMp4FileDataPtr->audioTrackPtr->Chunk[0])) 159 free(mMp4FileDataPtr->audioTrackPtr->Chunk[0]); 168 if (M4OSA_NULL != mMp4FileDataPtr->audioTrackPtr->Chunk) 170 free(mMp4FileDataPtr->audioTrackPtr->Chunk); 212 free(mMp4FileDataPtr->videoTrackPtr->Chunk[i]); 215 if ((M4OSA_NULL != mMp4FileDataPtr->videoTrackPtr->Chunk) && 216 (M4OSA_NULL != mMp4FileDataPtr->videoTrackPtr->Chunk[0])) 218 free(mMp4FileDataPtr->videoTrackPtr->Chunk[0]) [all...] |
/external/webkit/Source/WebCore/platform/graphics/gpu/ |
PODArena.h | 146 m_chunks.append(adoptPtr(new Chunk(m_allocator.get(), m_currentChunkSize))); 160 // Manages a chunk of memory and individual allocations out of it. 161 class Chunk { 162 WTF_MAKE_NONCOPYABLE(Chunk); 166 Chunk(Allocator* allocator, size_t size) 176 ~Chunk() 182 // Chunk could not satisfy the allocation. 205 Chunk* m_current; 207 Vector<OwnPtr<Chunk> > m_chunks;
|
/frameworks/base/include/media/stagefright/ |
MPEG4Writer.h | 104 struct Chunk { 110 Chunk(): mTrack(NULL), mTimeStampUs(0) {} 112 Chunk(Track *track, int64_t timeUs, List<MediaBuffer *> samples) 119 List<Chunk> mChunks; // Remaining chunks to be written 121 // Previous chunk timestamp that has been written 132 List<ChunkInfo> mChunkInfos; // Chunk infos 141 // Buffer a single chunk to be written out later. 142 void bufferChunk(const Chunk& chunk); 147 // Retrieve the proper chunk to write if there is on [all...] |
/external/webkit/Source/WebCore/bindings/v8/ |
IntrusiveDOMWrapperMap.h | 47 m_chunks = new Chunk(m_chunks); 65 Chunk* toDelete = m_chunks; 79 Chunk* last = m_chunks; 81 Chunk* previous = last->m_previous; 100 for (Chunk* chunk = m_chunks->m_previous; chunk; chunk = chunk->m_previous) 101 visitEntries(store, chunk->m_entries, chunk->m_entries + CHUNK_SIZE, visitor) [all...] |
/libcore/luni/src/main/java/java/util/jar/ |
Manifest.java | 65 static class Chunk { 69 Chunk(int start, int end) { 75 private HashMap<String, Chunk> chunks; 118 chunks = new HashMap<String, Chunk>(); 284 Chunk getChunk(String name) {
|
/external/bluetooth/glib/gio/ |
gmemoryinputstream.c | 45 typedef struct _Chunk Chunk; 147 Chunk *chunk = data; local 149 if (chunk->destroy) 150 chunk->destroy (chunk->data); 152 g_slice_free (Chunk, chunk); 246 Chunk *chunk; local 275 Chunk *chunk; local [all...] |