/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
NinePatchTexture.java | 207 NinePatchChunk chunk = tex.getNinePatchChunk(); local 216 if (chunk.mDivX.length != 2 || chunk.mDivY.length != 2) { 225 int nx = stretch(divX, divU, chunk.mDivX, tex.getWidth(), width); 226 int ny = stretch(divY, divV, chunk.mDivY, tex.getHeight(), height); 228 prepareVertexData(divX, divY, divU, divV, nx, ny, chunk.mColor); 233 * linearly distribute the strechy parts defined in the nine-patch chunk to 254 * @param div the stretch parts defined in nine-patch chunk
|
/system/core/toolbox/upstream-netbsd/bin/cp/ |
utils.c | 231 ssize_t chunk; local 233 chunk = (remainder > MMAP_MAX_WRITE) ? 236 chunk) != chunk) { 241 remainder -= chunk; 242 ptotal += chunk;
|
/external/chromium_org/media/cast/net/rtp/ |
rtp_parser.cc | 96 base::BigEndianReader chunk(tmp.data(), tmp.size()); 99 if (!chunk.ReadU16(&header->new_playout_delay_ms))
|
/external/chromium_org/net/websockets/ |
websocket_basic_stream.cc | 277 scoped_ptr<WebSocketFrameChunk> chunk, 281 if (chunk->header) { 286 current_frame_header_.swap(chunk->header); 288 const int chunk_size = chunk->data.get() ? chunk->data->size() : 0; 289 DCHECK(current_frame_header_) << "Unexpected header-less chunk received " 290 << "(final_chunk = " << chunk->final_chunk 294 data_buffer.swap(chunk->data); 295 const bool is_final_chunk = chunk->final_chunk; 350 // arrives in one chunk [all...] |
/external/chromium_org/third_party/freetype/src/cff/ |
cf2arrst.c | 68 arrstack->chunk = 10; /* chunks of 10 items */ 219 /* grow the buffer by one chunk */ 221 arrstack, arrstack->allocated + arrstack->chunk ) )
|
/external/freetype/src/cff/ |
cf2arrst.c | 68 arrstack->chunk = 10; /* chunks of 10 items */ 219 /* grow the buffer by one chunk */ 221 arrstack, arrstack->allocated + arrstack->chunk ) )
|
/external/jsilver/src/com/google/clearsilver/jsilver/data/ |
NestedMapData.java | 90 * @param chunk name to give the new child node. 93 protected NestedMapData createChildNode(String chunk) { 95 NestedMapData data = new NestedMapData(chunk, sym, sym.root); 110 sym.children.put(chunk, data); 306 String chunk = nextDot == -1 ? path.substring(lastDot) : path.substring(lastDot, nextDot); local 307 current = current.followSymLinkToTheBitterEnd().getChildNode(chunk); 320 String chunk = nextDot == -1 ? path.substring(lastDot) : path.substring(lastDot, nextDot); local 322 current = currentSymLink.getChildNode(chunk); 324 current = currentSymLink.createChildNode(chunk);
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/ |
cf2arrst.c | 68 arrstack->chunk = 10; /* chunks of 10 items */ 219 /* grow the buffer by one chunk */ 221 arrstack, arrstack->allocated + arrstack->chunk ) )
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
ResourceHelper.java | 280 // see if we still have both the chunk and the bitmap in the caches 281 NinePatchChunk chunk = Bridge.getCached9Patch(cacheKey, local 286 // if either chunk or bitmap is null, then we reload the 9-patch file. 287 if (chunk == null || bitmap == null) { 292 if (chunk == null) { 293 chunk = ninePatch.getChunk(); 295 Bridge.setCached9Patch(cacheKey, chunk, 313 if (chunk != null && bitmap != null) { 314 int[] padding = chunk.getPadding(); 318 NinePatch_Delegate.serialize(chunk), [all...] |
/system/core/adb/ |
sysdeps_win32.c | 1525 int chunks, chunk, remains; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
evergreen_compute.c | 486 buffer->chunk->start_in_dw*4, 491 buffer->chunk->start_in_dw * 4, 558 *(handles[i]) = buffers[i]->chunk->start_in_dw * 4; 775 result->chunk = compute_memory_alloc(rscreen->global_pool, size_in_dw); 777 if (result->chunk == NULL) 796 compute_memory_free(rscreen->global_pool, buffer->chunk->id); 798 buffer->chunk = NULL; 819 if (!(map = ctx->ws->buffer_map(buffer->chunk->pool->bo->cs_buf, 824 COMPUTE_DBG("buffer start: %lli\n", buffer->chunk->start_in_dw); 825 return ((char*)(map + buffer->chunk->start_in_dw)) + transfer->box.x [all...] |
/external/mesa3d/src/gallium/drivers/r600/ |
evergreen_compute.c | 486 buffer->chunk->start_in_dw*4, 491 buffer->chunk->start_in_dw * 4, 558 *(handles[i]) = buffers[i]->chunk->start_in_dw * 4; 775 result->chunk = compute_memory_alloc(rscreen->global_pool, size_in_dw); 777 if (result->chunk == NULL) 796 compute_memory_free(rscreen->global_pool, buffer->chunk->id); 798 buffer->chunk = NULL; 819 if (!(map = ctx->ws->buffer_map(buffer->chunk->pool->bo->cs_buf, 824 COMPUTE_DBG("buffer start: %lli\n", buffer->chunk->start_in_dw); 825 return ((char*)(map + buffer->chunk->start_in_dw)) + transfer->box.x [all...] |
/external/qemu/audio/ |
esdaudio.c | 152 int chunk = audio_MIN (to_mix, hw->samples - rpos); local 155 hw->clip (esd->pcm_buf, src, chunk); 158 written = write (esd->fd, esd->pcm_buf, chunk << hw->info.shift); 167 if (written != chunk << hw->info.shift) { 180 rpos = (rpos + chunk) % hw->samples; 181 to_mix -= chunk; 361 int chunk = audio_MIN (to_grab, hw->samples - wpos); local 365 nread = read (esd->fd, buf, chunk << hw->info.shift); 374 if (nread != chunk << hw->info.shift) { 389 wpos = (wpos + chunk) % hw->samples [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
HTMLDocumentParser.cpp | 345 void HTMLDocumentParser::didReceiveParsedChunkFromBackgroundParser(PassOwnPtr<ParsedChunk> chunk) 351 // hasActiveParser(), save the chunk as a speculation, and return. 353 m_preloader->takeAndPreload(chunk->preloads); 354 m_speculations.append(chunk); 363 chunk->preloads.clear(); // We don't need to preload because we're going to parse immediately. 364 m_speculations.append(chunk); 373 void HTMLDocumentParser::validateSpeculations(PassOwnPtr<ParsedChunk> chunk) 375 ASSERT(chunk); 377 // We're waiting on a network script, just save the chunk, we'll get 382 m_lastChunkBeforeScript = chunk; [all...] |
/external/chromium_org/third_party/libwebp/demux/ |
demux.c | 33 size_t riff_end_; // riff chunk end location, can be > end_. 57 typedef struct Chunk { 59 struct Chunk* next_; 60 } Chunk; 73 Chunk* chunks_; // non-image chunks 74 Chunk** chunks_tail_; 130 // Return true if 'size' exceeds the end of the RIFF chunk. 176 // Secondary chunk parsing 178 static void AddChunk(WebPDemuxer* const dmux, Chunk* const chunk) { 382 Chunk* const chunk = (Chunk*)WebPSafeCalloc(1ULL, sizeof(*chunk)); local 961 const Chunk* const chunk = GetChunk(dmux, fourcc, chunk_num); local [all...] |
/external/webp/src/demux/ |
demux.c | 33 size_t riff_end_; // riff chunk end location, can be > end_. 57 typedef struct Chunk { 59 struct Chunk* next_; 60 } Chunk; 73 Chunk* chunks_; // non-image chunks 74 Chunk** chunks_tail_; 130 // Return true if 'size' exceeds the end of the RIFF chunk. 176 // Secondary chunk parsing 178 static void AddChunk(WebPDemuxer* const dmux, Chunk* const chunk) { 382 Chunk* const chunk = (Chunk*)WebPSafeCalloc(1ULL, sizeof(*chunk)); local 961 const Chunk* const chunk = GetChunk(dmux, fourcc, chunk_num); local [all...] |
/external/chromium_org/v8/src/ |
lithium-allocator.cc | 613 instr->pointer_map()->RecordPointer(operand, chunk()->zone()); 624 result = new(zone()) LiveRange(FixedLiveRangeID(index), chunk()->zone()); 639 chunk()->zone()); 655 result = new(zone()) LiveRange(index, chunk()->zone()); 733 chunk()->zone()); 742 move->AddMove(cur.source(), to, chunk()->zone()); 748 move->AddMove(from, to, chunk()->zone()); 789 chunk()->zone()); 811 chunk()->zone()); 813 chunk()->zone()) [all...] |
/external/chromium_org/v8/src/heap/ |
spaces.cc | 201 // Don't leave a small free block, useless for a large object or chunk. 403 MemoryChunk* chunk = local 406 chunk->set_next_chunk(NULL); 407 chunk->set_prev_chunk(NULL); 408 chunk->initialize_scan_on_scavenge(true); 410 chunk->SetFlag(in_to_space ? MemoryChunk::IN_TO_SPACE 412 DCHECK(!chunk->IsFlagSet(in_to_space ? MemoryChunk::IN_FROM_SPACE 414 NewSpacePage* page = static_cast<NewSpacePage*>(chunk); 433 MemoryChunk* chunk = FromAddress(base); local 435 DCHECK(base == chunk->address()) 682 MemoryChunk* chunk = AllocateChunk(size, size, executable, owner); local 693 MemoryChunk* chunk = local 869 MemoryChunk* chunk = MemoryChunk::FromAddress(address); local 2984 MemoryChunk* chunk = MemoryChunk::FromAddress(address); local [all...] |
/art/test/074-gc-thrash/src/ |
Main.java | 315 byte[] chunk; 322 chunk = new byte[100000]; 323 pretendToUse(chunk); 336 public void pretendToUse(byte[] chunk) {}
|
/external/chromium_org/v8/test/promises-aplus/ |
testcfg.py | 113 for chunk in iter(lambda: f.read(8192), ''): 114 hash.update(chunk) 135 for chunk in iter(lambda: f.read(8192), ''): 136 hash.update(chunk)
|
/external/compiler-rt/lib/asan/ |
asan_report.cc | 434 static void DescribeAccessToHeapChunk(AsanChunkView chunk, uptr addr, 440 if (chunk.AddrIsAtLeft(addr, access_size, &offset)) { 442 } else if (chunk.AddrIsAtRight(addr, access_size, &offset)) { 448 } else if (chunk.AddrIsInside(addr, access_size, &offset)) { 454 str.append(" %zu-byte region [%p,%p)\n", chunk.UsedSize(), 455 (void *)(chunk.Beg()), (void *)(chunk.End())); 461 AsanChunkView chunk = FindHeapChunkByAddress(addr); 462 if (!chunk.IsValid()) { 467 DescribeAccessToHeapChunk(chunk, addr, access_size) [all...] |
/external/pcre/dist/sljit/ |
sljitExecAllocator.c | 37 Chunk format: 48 0 - This is the first block of the memory chunk. 89 static SLJIT_INLINE void free_chunk(void* chunk, sljit_uw size) 92 VirtualFree(chunk, 0, MEM_RELEASE); 114 static SLJIT_INLINE void free_chunk(void* chunk, sljit_uw size) 116 munmap(chunk, size); 278 /* The whole chunk is free. */
|
/frameworks/av/media/libstagefright/include/ |
SampleIterator.h | 69 status_t getChunkOffset(uint32_t chunk, off64_t *offset);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_zlib.py | 231 chunk = dco.decompress('') 232 if chunk: 233 bufs.append(chunk) 264 chunk = dco.decompress(cb, dcx) 265 self.assertFalse(len(chunk) > dcx, 266 'chunk too big (%d>%d)' % (len(chunk), dcx)) 267 bufs.append(chunk) 289 chunk = dco.decompress(cb, max_length) 290 self.assertFalse(len(chunk) > max_length [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_zlib.py | 231 chunk = dco.decompress('') 232 if chunk: 233 bufs.append(chunk) 264 chunk = dco.decompress(cb, dcx) 265 self.assertFalse(len(chunk) > dcx, 266 'chunk too big (%d>%d)' % (len(chunk), dcx)) 267 bufs.append(chunk) 289 chunk = dco.decompress(cb, max_length) 290 self.assertFalse(len(chunk) > max_length [all...] |