Home
last modified time | relevance | path

Searched refs:chunk (Results 1 – 25 of 496) sorted by relevance

12345678910>>...20

/external/v8/src/heap/
Dremembered-set.h24 static void Insert(MemoryChunk* chunk, Address slot_addr) { in Insert() argument
25 DCHECK(chunk->Contains(slot_addr)); in Insert()
26 SlotSet* slot_set = GetSlotSet(chunk); in Insert()
28 slot_set = AllocateSlotSet(chunk); in Insert()
30 uintptr_t offset = slot_addr - chunk->address(); in Insert()
36 static bool Contains(MemoryChunk* chunk, Address slot_addr) { in Contains() argument
37 DCHECK(chunk->Contains(slot_addr)); in Contains()
38 SlotSet* slot_set = GetSlotSet(chunk); in Contains()
42 uintptr_t offset = slot_addr - chunk->address(); in Contains()
50 static void Remove(MemoryChunk* chunk, Address slot_addr) { in Remove() argument
[all …]
/external/jemalloc/include/jemalloc/internal/
Darena.h545 void arena_chunk_dalloc_huge(tsdn_t *tsdn, arena_t *arena, void *chunk,
548 void *chunk, size_t oldsize, size_t usize);
550 void *chunk, size_t oldsize, size_t usize, size_t sn);
552 void *chunk, size_t oldsize, size_t usize, bool *zero);
583 arena_chunk_t *chunk, void *ptr, arena_chunk_map_bits_t *bitselm);
584 void arena_dalloc_bin(tsdn_t *tsdn, arena_t *arena, arena_chunk_t *chunk,
586 void arena_dalloc_small(tsdn_t *tsdn, arena_t *arena, arena_chunk_t *chunk,
595 arena_chunk_t *chunk, void *ptr);
596 void arena_dalloc_large(tsdn_t *tsdn, arena_t *arena, arena_chunk_t *chunk,
638 arena_chunk_map_bits_t *arena_bitselm_get_mutable(arena_chunk_t *chunk,
[all …]
/external/vboot_reference/host/lib21/
Dhost_misc.c102 unsigned int chunk[11]; in vb2_str_to_guid() local
107 chunk+0, in vb2_str_to_guid()
108 chunk+1, in vb2_str_to_guid()
109 chunk+2, in vb2_str_to_guid()
110 chunk+3, in vb2_str_to_guid()
111 chunk+4, in vb2_str_to_guid()
112 chunk+5, in vb2_str_to_guid()
113 chunk+6, in vb2_str_to_guid()
114 chunk+7, in vb2_str_to_guid()
115 chunk+8, in vb2_str_to_guid()
[all …]
/external/curl/tests/data/
Dtest111224 Long chunk of data that couldn't possibly be sent in the time allotted.
25 Long chunk of data that couldn't possibly be sent in the time allotted.
26 Long chunk of data that couldn't possibly be sent in the time allotted.
27 Long chunk of data that couldn't possibly be sent in the time allotted.
28 Long chunk of data that couldn't possibly be sent in the time allotted.
29 Long chunk of data that couldn't possibly be sent in the time allotted.
30 Long chunk of data that couldn't possibly be sent in the time allotted.
31 Long chunk of data that couldn't possibly be sent in the time allotted.
32 Long chunk of data that couldn't possibly be sent in the time allotted.
33 Long chunk of data that couldn't possibly be sent in the time allotted.
[all …]
Dtest108625 Long chunk of data that couldn't possibly be sent in the time allotted.
26 Long chunk of data that couldn't possibly be sent in the time allotted.
27 Long chunk of data that couldn't possibly be sent in the time allotted.
28 Long chunk of data that couldn't possibly be sent in the time allotted.
29 Long chunk of data that couldn't possibly be sent in the time allotted.
30 Long chunk of data that couldn't possibly be sent in the time allotted.
31 Long chunk of data that couldn't possibly be sent in the time allotted.
32 Long chunk of data that couldn't possibly be sent in the time allotted.
33 Long chunk of data that couldn't possibly be sent in the time allotted.
34 Long chunk of data that couldn't possibly be sent in the time allotted.
[all …]
/external/libxml2/python/tests/
Dsync.py46 chunk="""<foo><bar2/>""" variable
48 ctxt.parseChunk(chunk, len(chunk), 0)
58 chunk="""<foo><bar2></bar2>""" variable
60 ctxt.parseChunk(chunk, len(chunk), 0)
70 chunk="""<foo><bar2>""" variable
72 ctxt.parseChunk(chunk, len(chunk), 0)
82 chunk="""<foo><bar2 a="1" b='2' />""" variable
84 ctxt.parseChunk(chunk, len(chunk), 0)
95 chunk="""<foo><bar2 a="1" b='2' >""" variable
97 ctxt.parseChunk(chunk, len(chunk), 0)
[all …]
Dindexes.py63 chunk = """ <bar1>chars1</bar1> variable
75 ctxt.parseChunk(chunk, len(chunk), 0)
77 chunk = "</foo>" variable
78 ctxt.parseChunk(chunk, len(chunk), 1)
85 chunk="""<?xml version="1.0" encoding="ISO-8859-1"?> variable
88 ctxt = libxml2.createPushParser(handler, chunk, len(chunk), "test.xml")
89 chunk = """ <bar1>chars1</bar1> variable
101 ctxt.parseChunk(chunk, len(chunk), 0)
103 chunk = "</foo>" variable
104 ctxt.parseChunk(chunk, len(chunk), 1)
/external/jemalloc/src/
Darena.c34 arena_chunk_t *chunk);
40 arena_chunk_t *chunk, arena_run_t *run, arena_bin_t *bin);
49 arena_chunk_t *chunk; in arena_miscelm_size_get() local
52 chunk = (arena_chunk_t *)CHUNK_ADDR2BASE(miscelm); in arena_miscelm_size_get()
54 mapbits = arena_mapbits_get(chunk, pageind); in arena_miscelm_size_get()
61 arena_chunk_t *chunk; in arena_miscelm_extent_get() local
63 chunk = (arena_chunk_t *)CHUNK_ADDR2BASE(miscelm); in arena_miscelm_extent_get()
64 return (&chunk->node); in arena_miscelm_extent_get()
186 arena_avail_insert(arena_t *arena, arena_chunk_t *chunk, size_t pageind, in arena_avail_insert() argument
190 arena_miscelm_get_const(chunk, pageind)))); in arena_avail_insert()
[all …]
/external/iptables/extensions/
Dlibxt_sctp.t12 -p sctp -m sctp --chunk-types all DATA;=;OK
13 -p sctp -m sctp --chunk-types all INIT;=;OK
14 -p sctp -m sctp --chunk-types all INIT_ACK;=;OK
15 -p sctp -m sctp --chunk-types all SACK;=;OK
16 -p sctp -m sctp --chunk-types all HEARTBEAT;=;OK
17 -p sctp -m sctp --chunk-types all HEARTBEAT_ACK;=;OK
18 -p sctp -m sctp --chunk-types all ABORT;=;OK
19 -p sctp -m sctp --chunk-types all SHUTDOWN;=;OK
20 -p sctp -m sctp --chunk-types all SHUTDOWN_ACK;=;OK
21 -p sctp -m sctp --chunk-types all ERROR;=;OK
[all …]
/external/curl/docs/examples/
Dhttpcustomheader.c36 struct curl_slist *chunk = NULL; in main() local
39 chunk = curl_slist_append(chunk, "Accept:"); in main()
42 chunk = curl_slist_append(chunk, "Another: yes"); in main()
45 chunk = curl_slist_append(chunk, "Host: example.com"); in main()
49 chunk = curl_slist_append(chunk, "X-silly-header;"); in main()
52 res = curl_easy_setopt(curl, CURLOPT_HTTPHEADER, chunk); in main()
67 curl_slist_free_all(chunk); in main()
/external/syslinux/core/fs/
Ddiskio_bios.c50 size_t chunk, freeseg; in chs_rdwr_sectors() local
70 chunk = count; in chs_rdwr_sectors()
71 if (chunk > maxtransfer) in chs_rdwr_sectors()
72 chunk = maxtransfer; in chs_rdwr_sectors()
84 if (chunk > freeseg) in chs_rdwr_sectors()
85 chunk = freeseg; in chs_rdwr_sectors()
92 if (chunk > (disk->s - s)) in chs_rdwr_sectors()
93 chunk = disk->s - s; in chs_rdwr_sectors()
95 bytes = chunk << sector_shift; in chs_rdwr_sectors()
100 ireg.eax.b[0] = chunk; in chs_rdwr_sectors()
[all …]
/external/pdfium/xfa/fde/
Dcfde_txtedtbuf.cpp55 ChunkHeader* chunk = m_chunks[i].get(); in SetText() local
56 FXSYS_memcpy(chunk->wChars.get(), lpSrcBuf, in SetText()
60 chunk->nUsed = nCopyedLength; in SetText()
74 for (const auto& chunk : m_chunks) { in GetCharByIndex() local
75 pChunkHeader = chunk.get(); in GetCharByIndex()
141 ChunkHeader* chunk = m_chunks[chunkIndex].get(); in Insert() local
142 int32_t nCopy = chunk->nUsed - charIndex; in Insert()
144 FXSYS_memcpy(newChunk->wChars.get(), chunk->wChars.get() + charIndex, in Insert()
146 chunk->nUsed -= nCopy; in Insert()
155 ChunkHeader* chunk = m_chunks[chunkIndex - 1].get(); in Insert() local
[all …]
/external/bison/lib/
Dobstack.c146 register struct _obstack_chunk *chunk; /* points to new chunk */ in _obstack_begin() local
173 chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size); in _obstack_begin()
174 if (!chunk) in _obstack_begin()
176 h->next_free = h->object_base = __PTR_ALIGN ((char *) chunk, chunk->contents, in _obstack_begin()
178 h->chunk_limit = chunk->limit in _obstack_begin()
179 = (char *) chunk + h->chunk_size; in _obstack_begin()
180 chunk->prev = 0; in _obstack_begin()
193 register struct _obstack_chunk *chunk; /* points to new chunk */ in _obstack_begin_1() local
221 chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size); in _obstack_begin_1()
222 if (!chunk) in _obstack_begin_1()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DChunkedIntArray.java94 int[] chunk = chunks.elementAt(chunkpos); in appendSlot() local
95 chunk[slotpos] = w0; in appendSlot()
96 chunk[slotpos+1] = w1; in appendSlot()
97 chunk[slotpos+2] = w2; in appendSlot()
98 chunk[slotpos+3] = w3; in appendSlot()
126 int[] chunk = chunks.elementAt(chunkpos); in readEntry() local
127 return chunk[slotpos + offset]; in readEntry()
148 int[] chunk = chunks.elementAt(chunkpos); in specialFind() local
153 ancestor = chunk[slotpos + 1]; in specialFind()
207 int[] chunk = chunks.elementAt(chunkpos); in writeEntry() local
[all …]
/external/guava/guava-tests/test/com/google/common/io/
DLineBufferTest.java73 for (int chunk : CHUNK_SIZES) { in bufferHelper()
74 chunk = Math.max(1, Math.min(chunk, input.length())); in bufferHelper()
75 assertEquals(expectProcess, bufferHelper(input, chunk)); in bufferHelper()
76 assertEquals(expectRead, readUsingJava(input, chunk)); in bufferHelper()
77 assertEquals(expectRead, readUsingReader(input, chunk, true)); in bufferHelper()
78 assertEquals(expectRead, readUsingReader(input, chunk, false)); in bufferHelper()
82 private static List<String> bufferHelper(String input, int chunk) in bufferHelper() argument
93 int len = Math.min(chars.length, off + chunk) - off; in bufferHelper()
101 private static List<String> readUsingJava(String input, int chunk) in readUsingJava() argument
103 BufferedReader r = new BufferedReader(getChunkedReader(input, chunk)); in readUsingJava()
[all …]
/external/libpng/contrib/tools/
Dpngfix.c145 #define CRITICAL(chunk) (((chunk) & PNG_U32(32,0,0,0)) == 0) argument
148 #define SAFE_TO_COPY(chunk) (((chunk) & PNG_U32(0,0,0,32)) != 0) argument
831 struct chunk;
893 struct chunk * chunk; member
985 static void chunk_end(struct chunk **);
999 if (file->chunk != NULL) in file_end()
1000 chunk_end(&file->chunk); in file_end()
1052 file->chunk = NULL; in file_init()
1154 if (file->chunk != NULL) in stop()
1540 struct chunk struct
[all …]
/external/fonttools/Lib/fontTools/
Dt1Lib.py186 chunk = f.read(chunklen)
187 assert len(chunk) == chunklen
188 data.append(chunk)
209 for isEncrypted, chunk in chunks:
210 if isEncrypted and isHex(chunk[:4]):
211 data.append(deHexString(chunk))
213 data.append(chunk)
225 for isEncrypted, chunk in chunks:
230 while chunk:
231 res = Res.Resource(bytechr(code) + '\0' + chunk[:LWFNCHUNKSIZE - 2])
[all …]
/external/ltp/testcases/kernel/fs/ftest/
Dftest01.c264 int count, collide, chunk, whenmisc, xfr, i; in dotest() local
334 chunk = rand() % nchunks; in dotest()
338 if (lseek(fd, CHUNK(chunk), 0) < 0) { in dotest()
342 me, CHUNK(chunk), errno); in dotest()
348 me, CHUNK(chunk), errno); in dotest()
355 if (CHUNK(chunk) >= file_max) { in dotest()
356 bits[chunk / 8] |= (1 << (chunk % 8)); in dotest()
358 } else if ((bits[chunk / 8] & (1 << (chunk % 8))) == 0) { in dotest()
369 me, CHUNK(chunk), val, count, in dotest()
388 bits[chunk / 8] |= (1 << (chunk % 8)); in dotest()
[all …]
Dftest05.c264 int i, count, collide, chunk, whenmisc, xfr; in dotest() local
331 chunk = rand() % nchunks; in dotest()
335 if (lseek64(fd, CHUNK(chunk), 0) < (off64_t) 0) { in dotest()
338 me, CHUNK(chunk)); in dotest()
343 me, CHUNK(chunk)); in dotest()
351 if (CHUNK(chunk) >= file_max) { in dotest()
352 bits[chunk / 8] |= (1 << (chunk % 8)); in dotest()
354 } else if ((bits[chunk / 8] & (1 << (chunk % 8))) == 0) { in dotest()
363 me, CHUNK(chunk), val, count, in dotest()
382 bits[chunk / 8] |= (1 << (chunk % 8)); in dotest()
[all …]
Dftest03.c288 int chunk, whenmisc, xfr, count, collide, i; in dotest() local
400 chunk = rand() % nchunks; in dotest()
404 if (lseek(fd, CHUNK(chunk), 0) < 0) { in dotest()
408 me, CHUNK(chunk), errno); in dotest()
414 me, CHUNK(chunk), errno); in dotest()
421 if (CHUNK(chunk) >= file_max) { in dotest()
422 bits[chunk / 8] |= (1 << (chunk % 8)); in dotest()
424 } else if ((bits[chunk / 8] & (1 << (chunk % 8))) == 0) { in dotest()
438 me, CHUNK(chunk), val, in dotest()
459 bits[chunk / 8] |= (1 << (chunk % 8)); in dotest()
[all …]
Dftest07.c287 int count, collide, chunk, whenmisc, xfr, i; in dotest() local
394 chunk = rand() % nchunks; in dotest()
398 if (lseek64(fd, CHUNK(chunk), 0) < 0) { in dotest()
402 me, CHUNK(chunk), errno); in dotest()
408 me, CHUNK(chunk), errno); in dotest()
415 if (CHUNK(chunk) >= file_max) { in dotest()
416 bits[chunk / 8] |= (1 << (chunk % 8)); in dotest()
418 } else if ((bits[chunk / 8] & (1 << (chunk % 8))) == 0) { in dotest()
432 me, CHUNK(chunk), val, in dotest()
453 bits[chunk / 8] |= (1 << (chunk % 8)); in dotest()
[all …]
/external/elfutils/libelf/
Delf_getdata_rawchunk.c160 Elf_Data_Chunk *chunk = calloc (1, sizeof *chunk); in elf_getdata_rawchunk() local
161 if (chunk == NULL) in elf_getdata_rawchunk()
168 chunk->dummy_scn.elf = elf; in elf_getdata_rawchunk()
169 chunk->dummy_scn.flags = flags; in elf_getdata_rawchunk()
170 chunk->data.s = &chunk->dummy_scn; in elf_getdata_rawchunk()
171 chunk->data.d.d_buf = buffer; in elf_getdata_rawchunk()
172 chunk->data.d.d_size = size; in elf_getdata_rawchunk()
173 chunk->data.d.d_type = type; in elf_getdata_rawchunk()
174 chunk->data.d.d_align = align; in elf_getdata_rawchunk()
175 chunk->data.d.d_version = __libelf_version; in elf_getdata_rawchunk()
[all …]
/external/webp/src/mux/
Dmuxinternal.c45 void ChunkInit(WebPChunk* const chunk) { in ChunkInit() argument
46 assert(chunk); in ChunkInit()
47 memset(chunk, 0, sizeof(*chunk)); in ChunkInit()
48 chunk->tag_ = NIL_TAG; in ChunkInit()
51 WebPChunk* ChunkRelease(WebPChunk* const chunk) { in ChunkRelease() argument
53 if (chunk == NULL) return NULL; in ChunkRelease()
54 if (chunk->owner_) { in ChunkRelease()
55 WebPDataClear(&chunk->data_); in ChunkRelease()
57 next = chunk->next_; in ChunkRelease()
58 ChunkInit(chunk); in ChunkRelease()
[all …]
/external/libchrome/base/trace_event/
Dtrace_buffer.cc48 TraceBufferChunk* chunk = chunks_[*index].release(); in GetChunk() local
50 if (chunk) in GetChunk()
51 chunk->Reset(current_chunk_seq_++); in GetChunk()
53 chunk = new TraceBufferChunk(current_chunk_seq_++); in GetChunk()
55 return std::unique_ptr<TraceBufferChunk>(chunk); in GetChunk()
59 std::unique_ptr<TraceBufferChunk> chunk) override { in ReturnChunk() argument
63 DCHECK(chunk); in ReturnChunk()
66 chunks_[index] = std::move(chunk); in ReturnChunk()
85 TraceBufferChunk* chunk = chunks_[handle.chunk_index].get(); in GetEventByHandle() local
86 if (!chunk || chunk->seq() != handle.chunk_seq) in GetEventByHandle()
[all …]
/external/v8/src/libplatform/tracing/
Dtrace-buffer.cc25 auto& chunk = chunks_[chunk_index_]; in AddTraceEvent() local
26 if (chunk) { in AddTraceEvent()
27 chunk->Reset(current_chunk_seq_++); in AddTraceEvent()
29 chunk.reset(new TraceBufferChunk(current_chunk_seq_++)); in AddTraceEvent()
32 auto& chunk = chunks_[chunk_index_]; in AddTraceEvent() local
34 TraceObject* trace_object = chunk->AddTraceEvent(&event_index); in AddTraceEvent()
35 *handle = MakeHandle(chunk_index_, chunk->seq(), event_index); in AddTraceEvent()
45 auto& chunk = chunks_[chunk_index]; in GetEventByHandle() local
46 if (!chunk || chunk->seq() != chunk_seq) return NULL; in GetEventByHandle()
47 return chunk->GetEventAt(event_index); in GetEventByHandle()
[all …]

12345678910>>...20