/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...] |
/external/opencore/fileformats/mp4/composer/src/ |
sampletochunkatom.cpp | 79 // Check to see if this sample fp the start of a new chunk 105 // first sample in this chunk 110 // Check if samples per chunk for last entry is the same as the previous 119 // SamplesPerChunk entries are the same - last chunk entry can be included 121 // the new chunk 126 // Samples per chunk values differ - just add new entry 133 // Just another sample in this chunk - update entry 138 samples += 1; // Increment the sample count for thic chunk 140 // Update the entry for this chunk 158 // a new chunk [all...] |
/external/skia/src/images/ |
SkBitmap_RLEPixels.h | 12 uint8_t* allocChunk(size_t chunk);
|
/dalvik/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...] |
/frameworks/base/core/java/android/ddm/ |
DdmHandleAppName.java | 19 import org.apache.harmony.dalvik.ddmc.Chunk; 60 * Handle a chunk of data. 62 public Chunk handleChunk(Chunk request) { 88 * Send an APNM (APplication NaMe) chunk. 99 Chunk chunk = new Chunk(CHUNK_APNM, out); local 100 DdmServer.sendChunk(chunk);
|
DdmHandleExit.java | 19 import org.apache.harmony.dalvik.ddmc.Chunk; 27 * Handle an EXIT chunk. 59 * Handle a chunk of data. We're only registered for "EXIT". 61 public Chunk handleChunk(Chunk request) { 63 Log.v("ddm-exit", "Handling " + name(request.type) + " chunk");
|
DdmHandleHeap.java | 19 import org.apache.harmony.dalvik.ddmc.Chunk; 78 * Handle a chunk of data. 80 public Chunk handleChunk(Chunk request) { 82 Log.v("ddm-heap", "Handling " + name(request.type) + " chunk"); 112 private Chunk handleHPIF(Chunk request) { 130 private Chunk handleHPSGNHSG(Chunk request, boolean isNative) { 156 private Chunk handleHPDU(Chunk request) [all...] |
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);
|
DdmHandleHello.java | 19 import org.apache.harmony.dalvik.ddmc.Chunk; 62 Chunk testChunk = 63 new Chunk(ChunkHandler.type("TEST"), data, 1, data.length-2); 78 * Handle a chunk of data. 80 public Chunk handleChunk(Chunk request) { 82 Log.v("ddm-heap", "Handling " + name(request.type) + " chunk"); 98 private Chunk handleHELO(Chunk request) { 133 Chunk reply = new Chunk(CHUNK_HELO, out) [all...] |
DdmHandleProfiling.java | 19 import org.apache.harmony.dalvik.ddmc.Chunk; 69 * Handle a chunk of data. 71 public Chunk handleChunk(Chunk request) { 73 Log.v("ddm-heap", "Handling " + name(request.type) + " chunk"); 95 private Chunk handleMPRS(Chunk request) { 117 private Chunk handleMPRE(Chunk request) { 131 return new Chunk(CHUNK_MPRE, reply, 0, reply.length) [all...] |
DdmHandleThread.java | 19 import org.apache.harmony.dalvik.ddmc.Chunk; 66 * Handle a chunk of data. 68 public Chunk handleChunk(Chunk request) { 70 Log.v("ddm-thread", "Handling " + name(request.type) + " chunk"); 88 private Chunk handleTHEN(Chunk request) { 101 private Chunk handleTHST(Chunk request) { 109 return new Chunk(CHUNK_THST, status, 0, status.length) [all...] |
/external/iptables/extensions/ |
libipt_sctp.man | 6 \fB--chunk-types\fR [\fB!\fR] \fBall\fR|\fBany\fR|\fBonly \fIchunktype\fR[\fB:\fIflags\fR] [...] 10 Chunk types: DATA INIT INIT_ACK SACK HEARTBEAT HEARTBEAT_ACK ABORT SHUTDOWN SHUTDOWN_ACK ERROR COOKIE_ECHO COOKIE_ACK ECN_ECNE ECN_CWR SHUTDOWN_COMPLETE ASCONF ASCONF_ACK 12 chunk type available flags 26 iptables -A INPUT -p sctp --chunk-types any DATA,INIT -j DROP 28 iptables -A INPUT -p sctp --chunk-types any DATA:Be -j ACCEPT
|
/external/bison/lib/ |
obstack.c | 145 /* Initialize an obstack H for use. Specify chunk size SIZE (0 means default). 159 register struct _obstack_chunk *chunk; /* points to new chunk */ 186 chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size); 187 if (!chunk) 189 h->next_free = h->object_base = __PTR_ALIGN ((char *) chunk, chunk->contents, 191 h->chunk_limit = chunk->limit 192 = (char *) chunk + h->chunk_size 158 register struct _obstack_chunk *chunk; \/* points to new chunk *\/ local 205 register struct _obstack_chunk *chunk; \/* points to new chunk *\/ local [all...] |
/bootable/recovery/applypatch/ |
imgdiff.c | 41 * An "imgdiff" patch consists of a header describing the chunk structure 43 * chunks, followed by N bsdiff patches, one per chunk. 46 * same "chunk" structure: that is, the same number of gzipped and normal 59 * occur spuriously within a normal chunk to be a problem.) 65 * chunk count (4) 66 * for each chunk: 67 * chunk type (4) [CHUNK_{NORMAL, GZIP, DEFLATE, RAW}] 68 * if chunk type == CHUNK_NORMAL: 72 * if chunk type == CHUNK_GZIP: (version 1 only) 86 * if chunk type == CHUNK_DEFLATE: (version 2 only [all...] |
/external/bluetooth/glib/docs/reference/glib/tmpl/ |
string_chunks.sgml | 67 @chunk: 77 @chunk: 87 @chunk: 98 @chunk: 106 @chunk:
|
/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...] |
/external/opencore/fileformats/mp4/parser/src/ |
sampletochunkatom.cpp | 342 // Returns the chunk number of the first chunk in run[index] 365 // Returns the samples per chunk of all the chunks in run[index] 409 // Returns the chunk number for the given sample number 438 // to handle special case, every sample is a chunk 535 // Returns the chunk number for the given sample number 571 { // Haven't found chunk yet - running count still less than sampleNum 576 { // Found run of chunks in which sample lies - now find actual chunk 579 sampleCount += samplesPerChunkInRun; // samples for jth chunk 581 { // Found specific chunk [all...] |
/external/qemu/elff/ |
elf_alloc.h | 31 /* Chunk size. Even on relatively small ELF files, there are a lot of DWARF
34 * choosing 32K as chunk size pretty reasonable.
38 /* Describes a chunk of memory, allocated by ElfAllocator.
45 /* Previous chunk in the chain of chunks allocated by ElfAllocator instance.
47 * allocated chunks in reverse order (relatively to the chunk allocation
48 * sequence). So this field in each chunk references the chunk, allocated
50 * chunk.
54 /* Address of the next available block in this chunk. */
57 /* Chunk size. */ [all...] |
/frameworks/base/core/jni/android/graphics/ |
NinePatch.cpp | 31 const SkBitmap& bitmap, const android::Res_png_9patch& chunk, 48 const Res_png_9patch* chunk = local 50 int8_t wasDeserialized = chunk->wasDeserialized; 62 "Array too small for chunk."); 78 // need to deserialize the chunk 79 Res_png_9patch* chunk = static_cast<Res_png_9patch*>(storage); local 80 assert(chunkSize == chunk->serializedSize()); 82 Res_png_9patch::deserialize(chunk); 89 NinePatch_Draw(canvas, bounds, *bitmap, *chunk, paint, NULL); 106 NinePatch_Draw(canvas, bounds, *bitmap, *chunk, paint, NULL) 160 Res_png_9patch* chunk = static_cast<Res_png_9patch*>(storage); local [all...] |
/packages/apps/Gallery3D/src/com/cooliris/media/ |
DiskCache.java | 71 // Read the chunk from the file. 78 RandomAccessFile chunkFile = getChunkFile(record.chunk); 86 Log.e(TAG, "Unable to read from chunk file"); 115 // We just replace the chunk. 116 int currentChunk = record.chunk; 118 RandomAccessFile chunkFile = getChunkFile(record.chunk); 136 Log.e(TAG, "Unable to read from chunk file"); 139 // Append a new chunk to the current chunk. 140 final int chunk = mTailChunk local 259 final int chunk = dataInput.readShort(); local 362 public final int chunk; field in class:DiskCache.Record [all...] |
/external/opencore/fileformats/mp4/composer/include/ |
sampletochunkatom.h | 46 // Returns whether or not the new sample is the start of a new chunk 60 // Adding to and getting first chunk, samples per chunk, and sample 62 void addChunkEntry(uint32 chunk, uint32 samples, uint32 index); 63 void replaceLastChunkEntry(uint32 chunk, uint32 samples, uint32 index); 76 uint32 _currentChunkDataSize; // Ad up all sample sizes for the current chunk
|
/external/qemu/distrib/sdl-1.2.12/src/audio/ |
SDL_wave.c | 30 static int ReadChunk(SDL_RWops *src, Chunk *chunk); 400 Chunk chunk; local 411 /* FMT chunk */ 438 /* Read the audio data format chunk */ 439 chunk.data = NULL; 441 if ( chunk.data != NULL ) { 442 SDL_free(chunk.data); 444 lenread = ReadChunk(src, &chunk); [all...] |
/external/webkit/WebCore/rendering/ |
SVGRootInlineBox.cpp | 49 // Text chunk creation is complex and the whole process 268 info.chunk.boxes.clear(); 269 info.chunk.boxes.append(SVGInlineBoxCharacterRange()); 271 info.chunk.start = info.it; 277 ASSERT(!info.chunk.boxes.last().isOpen()); 278 ASSERT(info.chunk.boxes.last().isClosed()); 280 info.chunk.end = info.it; 281 ASSERT(info.chunk.end >= info.chunk.start); 283 info.svgTextChunks.append(info.chunk); 1051 SVGTextChunk& chunk = *it; local 1647 SVGTextChunk& chunk = *it; local [all...] |