/external/zlib/src/examples/ |
gun.c | 175 if (chunk > have) { \ 176 chunk -= have; \ 180 chunk--; \ 181 if (chunk > have) { \ 182 chunk = have = 0; \ 186 have -= chunk; \ 187 next += chunk; \ 188 chunk = 0; \ 204 unsigned chunk; /* bytes left in current chunk */ local [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/ |
obstack.h | 68 The way we do this is to take a large chunk, allocating memory from 69 low addresses. When you want to build a symbol in the chunk you just 70 add chars above the current "high water mark" in the chunk. When you 73 Mostly the chars will not burst over the highest address of the chunk, 74 because you would typically expect a chunk to be (say) 100 times as 78 the object, THEY ARE ALREADY CONTIGUOUS IN THE CHUNK (guaranteed) 84 When the chars burst over a chunk boundary, we allocate a larger 85 chunk, and then copy the partly formed object from the end of the old 86 chunk to the beginning of the new larger chunk. We then carry o 167 struct _obstack_chunk *chunk; \/* address of current struct obstack_chunk *\/ member in struct:obstack [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
obstack.h | 68 The way we do this is to take a large chunk, allocating memory from 69 low addresses. When you want to build a symbol in the chunk you just 70 add chars above the current "high water mark" in the chunk. When you 73 Mostly the chars will not burst over the highest address of the chunk, 74 because you would typically expect a chunk to be (say) 100 times as 78 the object, THEY ARE ALREADY CONTIGUOUS IN THE CHUNK (guaranteed) 84 When the chars burst over a chunk boundary, we allocate a larger 85 chunk, and then copy the partly formed object from the end of the old 86 chunk to the beginning of the new larger chunk. We then carry o 167 struct _obstack_chunk *chunk; \/* address of current struct obstack_chunk *\/ member in struct:obstack [all...] |
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/ |
obstack.h | 68 The way we do this is to take a large chunk, allocating memory from 69 low addresses. When you want to build a symbol in the chunk you just 70 add chars above the current "high water mark" in the chunk. When you 73 Mostly the chars will not burst over the highest address of the chunk, 74 because you would typically expect a chunk to be (say) 100 times as 78 the object, THEY ARE ALREADY CONTIGUOUS IN THE CHUNK (guaranteed) 84 When the chars burst over a chunk boundary, we allocate a larger 85 chunk, and then copy the partly formed object from the end of the old 86 chunk to the beginning of the new larger chunk. We then carry o 167 struct _obstack_chunk *chunk; \/* address of current struct obstack_chunk *\/ member in struct:obstack [all...] |
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
obstack.h | 68 The way we do this is to take a large chunk, allocating memory from 69 low addresses. When you want to build a symbol in the chunk you just 70 add chars above the current "high water mark" in the chunk. When you 73 Mostly the chars will not burst over the highest address of the chunk, 74 because you would typically expect a chunk to be (say) 100 times as 78 the object, THEY ARE ALREADY CONTIGUOUS IN THE CHUNK (guaranteed) 84 When the chars burst over a chunk boundary, we allocate a larger 85 chunk, and then copy the partly formed object from the end of the old 86 chunk to the beginning of the new larger chunk. We then carry o 167 struct _obstack_chunk *chunk; \/* address of current struct obstack_chunk *\/ member in struct:obstack [all...] |
/external/chromium_org/net/websockets/ |
websocket_channel.cc | 56 void AddFrame(scoped_ptr<WebSocketFrameChunk> chunk); 72 scoped_ptr<WebSocketFrameChunk> chunk) { 73 total_bytes_ += chunk->data->size(); 74 frames_.push_back(chunk.release()); 343 scoped_ptr<WebSocketFrameChunk> chunk(read_frame_chunks_[i]); 345 ProcessFrameChunk(chunk.Pass()); 373 scoped_ptr<WebSocketFrameChunk> chunk) { 375 if (chunk->header) { 380 current_frame_header_.swap(chunk->header); 391 // If we rejected the previous chunk as invalid, then we will have rese [all...] |
/external/chromium_org/tools/grit/grit/gather/ |
chrome_scaled_image.py | 24 # Rather than rescaling the image we add a custom chunk directing Chrome to 33 '''Mandatory first chunk in order for the png to be valid.''' 36 '''Special chunks to move immediately after the IHDR chunk. (so that the PNG 41 '''Any ancillary chunk not in this list is deleted from the PNG.''' 47 '''Move special chunks immediately after the IHDR chunk (so that the PNG 53 for chunk in _ChunkifyPNG(data): 54 type = chunk[4:8] 57 first.append(chunk) 59 special_chunks.append(chunk) 61 rest.append(chunk) [all...] |
tr_html.py | 75 # HTML tags which may appear within a chunk. 217 chunks, where each chunk is either translateable or non-translateable. 230 # Append a nontranslateable chunk 241 # Append a translateable chunk 252 '''Adds a chunk to self, removing linebreaks and duplicate whitespace 300 [chunk1, chunk2, chunk3, ...] (instances of class Chunk) 313 # Start index of the last chunk, whether translateable or not 317 # a translateable chunk, -1 to indicate we are not in a translateable chunk. 319 # translateable chunk (whitespace is neutral) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
BitmapFactory_Delegate.java | 121 // get the bitmap and chunk objects. 124 NinePatchChunk chunk = ninePatch.getChunk(); local 126 // put the chunk in the bitmap 127 bm.setNinePatchChunk(NinePatch_Delegate.serialize(chunk)); 130 int[] paddingarray = chunk.getPadding(); 174 /*package*/ static byte[] nativeScaleNinePatch(byte[] chunk, float scale, Rect pad) { 177 return chunk;
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
compute_memory_pool.c | 155 * Search for the chunk where we can link our new chunk after it. 231 struct compute_memory_item chunk; local 236 chunk.id = 0; 237 chunk.start_in_dw = 0; 238 chunk.size_in_dw = pool->size_in_dw; 239 chunk.prev = chunk.next = NULL; 240 compute_memory_transfer(pool, pipe, device_to_host, &chunk, 425 struct compute_memory_item* chunk, [all...] |
/external/mesa3d/src/gallium/drivers/r600/ |
compute_memory_pool.c | 155 * Search for the chunk where we can link our new chunk after it. 231 struct compute_memory_item chunk; local 236 chunk.id = 0; 237 chunk.start_in_dw = 0; 238 chunk.size_in_dw = pool->size_in_dw; 239 chunk.prev = chunk.next = NULL; 240 compute_memory_transfer(pool, pipe, device_to_host, &chunk, 425 struct compute_memory_item* chunk, [all...] |
/external/ceres-solver/internal/ceres/ |
schur_eliminator_impl.h | 32 // Chunk::start ? 106 // the way also compute the amount of space each chunk will need 114 chunks_.push_back(Chunk()); 115 Chunk& chunk = chunks_.back(); local 116 chunk.size = 0; 117 chunk.start = r; 121 // Add to the chunk until the first block in the row is 122 // different than the one in the first row for the chunk. 123 while (r + chunk.size < num_row_blocks) 146 const Chunk& chunk = chunks_.back(); local 227 const Chunk& chunk = chunks_[i]; local 309 const Chunk& chunk = chunks_[i]; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
aifc.py | 23 A chunk consists of an identifier (4 bytes) followed by a size (4 bytes, 27 The following chunk types are recognized. 253 from chunk import Chunk 284 # _comm_chunk_read -- 1 iff the COMM chunk has been read 288 # _ssnd_chunk -- instantiation of a chunk class for the SSND chunk 298 chunk = Chunk(file) 299 if chunk.getname() != 'FORM' [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
aifc.py | 23 A chunk consists of an identifier (4 bytes) followed by a size (4 bytes, 27 The following chunk types are recognized. 253 from chunk import Chunk 284 # _comm_chunk_read -- 1 iff the COMM chunk has been read 288 # _ssnd_chunk -- instantiation of a chunk class for the SSND chunk 298 chunk = Chunk(file) 299 if chunk.getname() != 'FORM' [all...] |
/system/core/libsparse/ |
sparse_read.c | 103 int chunk; local 121 chunk = min(len, COPY_BUF_SIZE); 122 ret = read_all(fd, copybuf, chunk); 126 *crc32 = sparse_crc32(*crc32, copybuf, chunk); 127 len -= chunk; 140 int chunk; local 168 chunk = min(len, COPY_BUF_SIZE); 169 *crc32 = sparse_crc32(*crc32, copybuf, chunk); 170 len -= chunk; 181 int chunk; local [all...] |
/system/media/audio_utils/ |
tinysndfile.c | 101 unsigned char chunk[8]; local 102 actual = fread(chunk, sizeof(char), sizeof(chunk), stream); 103 if (actual != sizeof(chunk)) { 104 fprintf(stderr, "actual %u != %u\n", actual, sizeof(chunk)); 108 unsigned chunkSize = little4u(&chunk[4]); 113 if (!memcmp(&chunk[0], "fmt ", 4)) { 190 } else if (!memcmp(&chunk[0], "data", 4)) { 202 } else if (!memcmp(&chunk[0], "fact", 4)) { 208 // ignore unknown chunk [all...] |
/external/chromium_org/base/ |
sync_socket_win.cc | 127 DWORD chunk = GetNextChunkSize(count, length); local 131 BOOL ok = operation(file, static_cast<BufferType*>(buffer) + count, chunk, 162 if (len != chunk) 200 DWORD chunk = GetNextChunkSize(count, length); local 202 chunk, &len, NULL) == FALSE) { 215 DWORD chunk = GetNextChunkSize(count, length); local 217 chunk, &len, NULL) == FALSE) {
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/ |
Exynos_OSAL_ETC.c | 44 size_t const chunk = 512; local 46 size_t defaultBufferSize = chunk + 1; 75 i = fread(pCurrentPointer, 1, chunk, pStream); 76 if (i < chunk && ferror(pStream)) { 110 i = ((readByte + (chunk * 2)) / chunk) * chunk;
|
/dalvik/vm/ |
Ddm.cpp | 34 * and includes the chunk type/length, followed by the data. 37 * chunk. If this becomes inconvenient we will need to adapt. 45 Object* chunk = NULL; local 59 * The chunk handlers are written in the Java programming language, so 78 ALOGW("WARNING: bad chunk found (len=%u pktLen=%d)", length, dataLen); 96 chunk = (Object*) callRes.l; 97 if (chunk == NULL) 101 dvmAddTrackedAlloc(chunk, self); 104 * Pull the pieces out of the chunk. We copy the results into a 106 * continue using the Chunk object because nothing has a reference to it [all...] |
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/lib/ |
Socket.java | 136 final int chunk = is.read(data, received, len - received); local 137 if (chunk < 0) { 141 received += chunk;
|
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
HTMLDocumentParser.cpp | 299 void HTMLDocumentParser::didReceiveParsedChunkFromBackgroundParser(PassOwnPtr<ParsedChunk> chunk) 303 // hasActiveParser(), save the chunk as a speculation, and return. 305 m_preloader->takeAndPreload(chunk->preloads); 306 m_speculations.append(chunk); 315 chunk->preloads.clear(); // We don't need to preload because we're going to parse immediately. 316 m_speculations.append(chunk); 320 void HTMLDocumentParser::validateSpeculations(PassOwnPtr<ParsedChunk> chunk) 322 ASSERT(chunk); 324 // We're waiting on a network script, just save the chunk, we'll get 329 m_lastChunkBeforeScript = chunk; [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/bio/ |
bss_bio.c | 238 size_t chunk; local 242 chunk = rest; 245 chunk = peer_b->size - peer_b->offset; 246 assert(peer_b->offset + chunk <= peer_b->size); 248 memcpy(buf, peer_b->buf + peer_b->offset, chunk); 250 peer_b->len -= chunk; 253 peer_b->offset += chunk; 257 buf += chunk; 262 assert(chunk == rest); 265 rest -= chunk; 396 size_t chunk; local [all...] |
/external/chromium_org/v8/src/ |
store-buffer.cc | 171 MemoryChunk* chunk; local 172 while ((chunk = it.next()) != NULL) { 173 if (chunk->scan_on_scavenge()) page_has_scan_on_scavenge_flag = true; 209 MemoryChunk* chunk; local 210 while ((chunk = it.next()) != NULL) { 211 chunk->set_store_buffer_counter(0); 279 MemoryChunk* chunk; local 281 while ((chunk = it.next()) != NULL) { 282 if (chunk->scan_on_scavenge()) page_has_scan_on_scavenge_flag = true; 639 MemoryChunk* chunk; local [all...] |
/external/openssl/crypto/bio/ |
bss_bio.c | 238 size_t chunk; local 242 chunk = rest; 245 chunk = peer_b->size - peer_b->offset; 246 assert(peer_b->offset + chunk <= peer_b->size); 248 memcpy(buf, peer_b->buf + peer_b->offset, chunk); 250 peer_b->len -= chunk; 253 peer_b->offset += chunk; 257 buf += chunk; 262 assert(chunk == rest); 265 rest -= chunk; 396 size_t chunk; local [all...] |
/external/v8/src/ |
store-buffer.cc | 190 MemoryChunk* chunk; local 191 while ((chunk = it.next()) != NULL) { 192 if (chunk->scan_on_scavenge()) page_has_scan_on_scavenge_flag = true; 230 MemoryChunk* chunk; local 231 while ((chunk = it.next()) != NULL) { 232 chunk->set_store_buffer_counter(0); 303 MemoryChunk* chunk; local 305 while ((chunk = it.next()) != NULL) { 306 if (chunk->scan_on_scavenge()) page_has_scan_on_scavenge_flag = true; 631 MemoryChunk* chunk; local [all...] |