/external/elfutils/libelf/ |
H A D | elf_getdata_rawchunk.c | 1 /* Return converted data from raw chunk of ELF file. 183 Elf_Data_Chunk *chunk = calloc (1, sizeof *chunk); local 184 if (chunk == NULL) 191 chunk->dummy_scn.elf = elf; 192 chunk->dummy_scn.flags = flags; 193 chunk->data.s = &chunk->dummy_scn; 194 chunk->data.d.d_buf = buffer; 195 chunk [all...] |
/external/webkit/Source/WebKit2/UIProcess/qt/ |
H A D | TiledDrawingAreaProxyQt.cpp | 65 void TiledDrawingAreaProxy::snapshotTaken(UpdateChunk& chunk) argument 67 emit m_webView->snapshotTaken(chunk.createImage());
|
/external/guava/guava-tests/test/com/google/common/io/ |
H A D | LineBufferTest.java | 73 for (int chunk : CHUNK_SIZES) { 74 chunk = Math.max(1, Math.min(chunk, input.length())); 75 assertEquals(expectProcess, bufferHelper(input, chunk)); 76 assertEquals(expectRead, readUsingJava(input, chunk)); 77 assertEquals(expectRead, readUsingReader(input, chunk, true)); 78 assertEquals(expectRead, readUsingReader(input, chunk, false)); 82 private static List<String> bufferHelper(String input, int chunk) argument 93 int len = Math.min(chars.length, off + chunk) - off; 101 private static List<String> readUsingJava(String input, int chunk) argument 113 readUsingReader(String input, int chunk, boolean asReader) argument 128 getChunkedReadable(String input, int chunk) argument 138 getChunkedReader(String input, final int chunk) argument [all...] |
/external/webkit/Source/WebKit2/Shared/gtk/ |
H A D | UpdateChunk.cpp | 78 bool UpdateChunk::decode(CoreIPC::ArgumentDecoder* decoder, UpdateChunk& chunk) argument 80 ASSERT_ARG(chunk, chunk.isEmpty()); 86 chunk.m_rect = rect; 93 chunk.m_sharedMemory = 0; 101 chunk.m_sharedMemory = SharedMemory::create(handle, SharedMemory::ReadOnly);
|
/external/webkit/Source/WebKit2/Shared/mac/ |
H A D | UpdateChunk.cpp | 77 bool UpdateChunk::decode(CoreIPC::ArgumentDecoder* decoder, UpdateChunk& chunk) argument 82 chunk.m_rect = rect; 88 chunk.m_size = attachment.size(); 89 chunk.m_data = reinterpret_cast<uint8_t*>(attachment.address());
|
/external/webkit/Source/WebKit2/Shared/qt/ |
H A D | UpdateChunk.cpp | 77 bool UpdateChunk::decode(CoreIPC::ArgumentDecoder* decoder, UpdateChunk& chunk) argument 79 ASSERT_ARG(chunk, chunk.isEmpty()); 85 chunk.m_rect = rect; 92 chunk.m_sharedMemory = 0; 100 chunk.m_sharedMemory = SharedMemory::create(handle, SharedMemory::ReadOnly);
|
/external/compiler-rt/lib/asan/ |
H A D | asan_poisoning.cc | 51 uint8_t *chunk; member in struct:__asan::ShadowSegmentEndpoint 53 int8_t value; // = *chunk; 56 chunk = (uint8_t*)MemToShadow(address); 58 value = *chunk; 86 if (beg.chunk == end.chunk) { 94 *beg.chunk = Min(value, beg.offset); 96 *beg.chunk = kAsanUserPoisonedMemoryMagic; 101 CHECK(beg.chunk < end.chunk); [all...] |
/external/openssl/apps/ |
H A D | rand.c | 215 int chunk; local 217 chunk = num; 218 if (chunk > (int)sizeof(buf)) 219 chunk = sizeof buf; 220 r = RAND_bytes(buf, chunk); 224 BIO_write(out, buf, chunk); 227 for (i = 0; i < chunk; i++) 230 num -= chunk;
|
/external/webp/src/enc/ |
H A D | alpha.c | 35 unsigned char chunk[CHUNK_SIZE]; local 48 strm.next_out = chunk; 62 memcpy(new_output + *output_size, chunk, size_out);
|
/external/chromium/base/ |
H A D | sync_socket_win.cc | 116 DWORD chunk = static_cast<DWORD>( local 119 chunk, &len, NULL) == FALSE) { 132 DWORD chunk = static_cast<DWORD>( local 135 chunk, &len, NULL) == FALSE) {
|
/external/chromium/chrome/browser/safe_browsing/ |
H A D | chunk_range.cc | 60 for (int chunk = range.start(); chunk <= range.stop(); ++chunk) { 61 chunks->push_back(chunk); 70 // Crack the string into chunk parts, then crack each part looking for a 83 // atoi error, since chunk numbers are guaranteed to never be 0. 104 const ChunkRange& chunk = ranges[mid]; local 105 if ((chunk.stop() >= chunk_number) && (chunk.start() <= chunk_number)) 109 if (chunk [all...] |
H A D | protocol_parser_unittest.cc | 12 // Test parsing one add chunk. 56 // Test parsing one add chunk with full hashes. 94 // Test parsing multiple add chunks. We'll use the same chunk as above, and add 152 // Test parsing one add chunk where a hostkey spans several entries. 188 // Test to make sure we could deal with truncated bin hash chunk. 190 // This chunk delares there are 4 prefixes but actually only contains 2. 204 // Test to make sure we could deal with truncated malwarelist chunk. 206 // This chunk delares there are 4 prefixes but actually only contains 2. 240 // Test parsing one sub chunk. 292 // Test parsing one sub chunk wit 815 const unsigned char chunk[] = { local [all...] |
/external/openssl/crypto/evp/ |
H A D | e_des.c | 138 size_t n,chunk=EVP_MAXCHUNK/8; local 141 if (inl<chunk) chunk=inl; 143 while (inl && inl>=chunk) 145 for(n=0 ; n < chunk*8; ++n) 153 inl-=chunk; 154 in +=chunk; 155 out+=chunk; 156 if (inl<chunk) chunk [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/preprocessor/ |
H A D | memory.c | 63 struct chunk { struct 64 struct chunk *next; 74 struct chunk *next; 103 struct chunk *p, *next; 108 for (p = (struct chunk *)pool; p; p = next) { 116 struct chunk *ch; 122 size_t minreq = (size + sizeof(struct chunk) + pool->alignmask) 127 // a single chunk of the right size
|
/external/webkit/Source/WebCore/platform/text/ |
H A D | TextCodecLatin1.cpp | 134 MachineWord chunk = *reinterpret_cast_ptr<const MachineWord*>(source); local 136 if (!isAllASCII(chunk))
|
H A D | TextCodecUTF8.cpp | 247 MachineWord chunk = *reinterpret_cast_ptr<const MachineWord*>(source); local 248 if (!isAllASCII(chunk))
|
/external/yaffs2/yaffs2/ |
H A D | yaffs_checkptrw.c | 102 int chunk = i * dev->nChunksPerBlock; local 104 dev->readChunkWithTagsFromNAND(dev,chunk,NULL,&tags); 178 int chunk; local 196 /* First chunk we write for the block? Set block state to 203 chunk = dev->checkpointCurrentBlock * dev->nChunksPerBlock + dev->checkpointCurrentChunk; 205 dev->writeChunkWithTagsToNAND(dev,chunk,dev->checkpointBuffer,&tags); 259 int chunk; local 281 chunk = dev->checkpointCurrentBlock * dev->nChunksPerBlock + 284 /* read in the next chunk */ 286 dev->readChunkWithTagsFromNAND(dev, chunk, [all...] |
/external/qemu/distrib/sdl-1.2.12/src/cdrom/macosx/ |
H A D | AudioFilePlayer.c | 238 ChunkHeader chunk; local 259 if (result) return 0; /*THROW_RESULT("AudioFilePlayer::OpenFile(): chunk id is not 'FORM'");*/ 267 /* Search for the SSND chunk. We ignore all compression etc. information 270 TODO: Parse the COMM chunk we currently skip to fill in mFileDescription. 274 result = FSReadFork(afp->mForkRefNum, fsFromMark, offset, sizeof(chunk), &chunk, &actual); 277 /* Skip the chunk data */ 278 offset = chunk.ckSize; 279 } while (chunk.ckID != 'SSND'); 281 /* Read the header of the SSND chunk [all...] |
/external/sonivox/arm-fm-22k/host_src/ |
H A D | eas_wave.c | 157 /* initalize 'fmt' chunk */ 165 /* initialize 'data' chunk */ 298 } chunk; local 319 chunk.tag = chunk.size = 0; 332 if (fread(&chunk, sizeof(chunk), 1, wFile->file) != 1) 336 if (chunk.tag != riffTag) 356 /* looking for fmt chunk */ 358 if (fread(&chunk, sizeo [all...] |
/external/sonivox/arm-hybrid-22k/host_src/ |
H A D | eas_wave.c | 157 /* initalize 'fmt' chunk */ 165 /* initialize 'data' chunk */ 298 } chunk; local 319 chunk.tag = chunk.size = 0; 332 if (fread(&chunk, sizeof(chunk), 1, wFile->file) != 1) 336 if (chunk.tag != riffTag) 356 /* looking for fmt chunk */ 358 if (fread(&chunk, sizeo [all...] |
/external/sonivox/arm-wt-22k/host_src/ |
H A D | eas_wave.c | 157 /* initalize 'fmt' chunk */ 165 /* initialize 'data' chunk */ 298 } chunk; local 319 chunk.tag = chunk.size = 0; 332 if (fread(&chunk, sizeof(chunk), 1, wFile->file) != 1) 336 if (chunk.tag != riffTag) 356 /* looking for fmt chunk */ 358 if (fread(&chunk, sizeo [all...] |
/external/webkit/Source/JavaScriptCore/wtf/ |
H A D | OSAllocatorSymbian.cpp | 44 // Makes a new code chunk for a JIT engine with everything in committed state 55 // Frees the _entire_ code chunk in which this address resides. 110 deallocateCodeChunk(address); // for code chunk, decommit AND release 122 // to a single large Symbian chunk. Only works with multiples of page size, and as a corollary 125 // - We initialize a chunk up-front with a large reservation size 139 RChunk chunk; local 140 TInt error = chunk.CreateDisconnectedLocal(0, 0, TInt(largeReservationSize)); 143 m_chunk = new SymbianChunk(chunk.Handle()); // takes ownership of chunk
|
/external/webkit/Source/WebCore/rendering/svg/ |
H A D | SVGTextChunkBuilder.cpp | 104 // Build chunk style flags. 144 SVGTextChunk chunk(chunkStyle, desiredTextLength); 146 Vector<SVGInlineTextBox*>& boxes = chunk.boxes(); 150 m_textChunks.append(chunk); 153 void SVGTextChunkBuilder::processTextChunk(const SVGTextChunk& chunk) argument 155 bool processTextLength = chunk.hasDesiredTextLength(); 156 bool processTextAnchor = chunk.hasTextAnchor(); 160 const Vector<SVGInlineTextBox*>& boxes = chunk.boxes(); 165 // Calculate absolute length of whole text chunk (starting from text box 'start', spanning 'length' text boxes). 168 chunk [all...] |
/external/bison/lib/ |
H A D | 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 158 register struct _obstack_chunk *chunk; /* points to new chunk */ local 205 register struct _obstack_chunk *chunk; /* points to new chunk */ local [all...] |
H A D | obstack.h | 63 The way we do this is to take a large chunk, allocating memory from 64 low addresses. When you want to build a symbol in the chunk you just 65 add chars above the current "high water mark" in the chunk. When you 68 Mostly the chars will not burst over the highest address of the chunk, 69 because you would typically expect a chunk to be (say) 100 times as 79 When the chars burst over a chunk boundary, we allocate a larger 80 chunk, and then copy the partly formed object from the end of the old 81 chunk to the beginning of the new larger chunk. We then carry on 90 We carve out one object at a time from the current chunk 153 struct _obstack_chunk *chunk; /* address of current struct obstack_chunk */ member in struct:obstack [all...] |