Searched defs:chunk (Results 1 - 25 of 106) sorted by relevance

12345

/external/elfutils/libelf/
H A Delf_getdata_rawchunk.c1 /* 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 DTiledDrawingAreaProxyQt.cpp65 void TiledDrawingAreaProxy::snapshotTaken(UpdateChunk& chunk) argument
67 emit m_webView->snapshotTaken(chunk.createImage());
/external/guava/guava-tests/test/com/google/common/io/
H A DLineBufferTest.java73 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/qemu/distrib/sdl-1.2.15/src/main/symbian/EKA1/
H A DSDL_main.cpp60 RChunk chunk; local
62 if(chunk.OpenGlobal(RThread().Name(), ETrue) != KErrNone)
65 TUint* ptr = (TUint*) chunk.Base();
71 chunk.Close();
/external/webkit/Source/WebKit2/Shared/gtk/
H A DUpdateChunk.cpp78 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 DUpdateChunk.cpp77 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 DUpdateChunk.cpp77 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 Dasan_poisoning.cc51 u8 *chunk; member in struct:__asan::ShadowSegmentEndpoint
53 s8 value; // = *chunk;
56 chunk = (u8*)MemToShadow(address);
58 value = *chunk;
87 if (beg.chunk == end.chunk) {
95 *beg.chunk = Min(value, beg.offset);
97 *beg.chunk = kAsanUserPoisonedMemoryMagic;
102 CHECK(beg.chunk < end.chunk);
[all...]
/external/openssl/apps/
H A Drand.c215 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/chromium/base/
H A Dsync_socket_win.cc116 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 Dchunk_range.cc60 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 Dprotocol_parser_unittest.cc12 // 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 De_des.c138 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 Dmemory.c63 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 DTextCodecLatin1.cpp134 MachineWord chunk = *reinterpret_cast_ptr<const MachineWord*>(source); local
136 if (!isAllASCII(chunk))
H A DTextCodecUTF8.cpp247 MachineWord chunk = *reinterpret_cast_ptr<const MachineWord*>(source); local
248 if (!isAllASCII(chunk))
/external/yaffs2/yaffs2/
H A Dyaffs_checkptrw.c102 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.15/src/cdrom/macosx/
H A DAudioFilePlayer.c239 ChunkHeader chunk; local
260 if (result) return 0; /*THROW_RESULT("AudioFilePlayer::OpenFile(): chunk id is not 'FORM'");*/
268 /* Search for the SSND chunk. We ignore all compression etc. information
271 TODO: Parse the COMM chunk we currently skip to fill in mFileDescription.
275 result = FSReadFork(afp->mForkRefNum, fsFromMark, offset, sizeof(chunk), &chunk, &actual);
278 chunk.ckID = SDL_SwapBE32(chunk.ckID);
279 chunk.ckSize = SDL_SwapBE32(chunk
[all...]
/external/sonivox/arm-fm-22k/host_src/
H A Deas_wave.c157 /* 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 Deas_wave.c157 /* 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 Deas_wave.c157 /* 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 DOSAllocatorSymbian.cpp44 // 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 DSVGTextChunkBuilder.cpp104 // 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 Dobstack.c145 /* 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 Dobstack.h63 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...]

Completed in 742 milliseconds

12345