Home
last modified time | relevance | path

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

12345678910>>...27

/external/jemalloc/include/jemalloc/internal/
Darena.h551 void arena_chunk_dalloc_huge(tsdn_t *tsdn, arena_t *arena, void *chunk,
554 void *chunk, size_t oldsize, size_t usize);
556 void *chunk, size_t oldsize, size_t usize, size_t sn);
558 void *chunk, size_t oldsize, size_t usize, bool *zero);
589 arena_chunk_t *chunk, void *ptr, arena_chunk_map_bits_t *bitselm);
590 void arena_dalloc_bin(tsdn_t *tsdn, arena_t *arena, arena_chunk_t *chunk,
592 void arena_dalloc_small(tsdn_t *tsdn, arena_t *arena, arena_chunk_t *chunk,
601 arena_chunk_t *chunk, void *ptr);
602 void arena_dalloc_large(tsdn_t *tsdn, arena_t *arena, arena_chunk_t *chunk,
644 arena_chunk_map_bits_t *arena_bitselm_get_mutable(arena_chunk_t *chunk,
[all …]
/external/v8/src/heap/
Dremembered-set.h26 static void Insert(MemoryChunk* chunk, Address slot_addr) { in Insert() argument
27 DCHECK(chunk->Contains(slot_addr)); in Insert()
28 SlotSet* slot_set = chunk->slot_set<type, access_mode>(); in Insert()
30 slot_set = chunk->AllocateSlotSet<type>(); in Insert()
32 uintptr_t offset = slot_addr - chunk->address(); in Insert()
39 static bool Contains(MemoryChunk* chunk, Address slot_addr) { in Contains() argument
40 DCHECK(chunk->Contains(slot_addr)); in Contains()
41 SlotSet* slot_set = chunk->slot_set<type>(); in Contains()
45 uintptr_t offset = slot_addr - chunk->address(); in Contains()
53 static void Remove(MemoryChunk* chunk, Address slot_addr) { in Remove() argument
[all …]
Dmark-compact.h82 void ClearLiveness(MemoryChunk* chunk) { in ClearLiveness() argument
83 static_cast<ConcreteState*>(this)->bitmap(chunk)->Clear(); in ClearLiveness()
84 static_cast<ConcreteState*>(this)->SetLiveBytes(chunk, 0); in ClearLiveness()
90 MarkBitCellIterator(MemoryChunk* chunk, Bitmap* bitmap) : chunk_(chunk) { in MarkBitCellIterator() argument
168 inline iterator(MemoryChunk* chunk, Bitmap* bitmap, Address start);
197 LiveObjectRange(MemoryChunk* chunk, Bitmap* bitmap) in LiveObjectRange() argument
198 : chunk_(chunk), in LiveObjectRange()
201 end_(chunk->area_end()) {} in LiveObjectRange()
224 static bool VisitBlackObjects(MemoryChunk* chunk, MarkingState* state,
231 static void VisitBlackObjectsNoFail(MemoryChunk* chunk, MarkingState* state,
[all …]
/external/perfetto/src/tracing/core/
Dshared_memory_abi_unittest.cc89 Chunk& chunk = chunks[chunk_idx]; in TEST_P() local
105 chunk = abi.TryAcquireChunkForWriting(page_idx, chunk_idx, &header); in TEST_P()
106 ASSERT_TRUE(chunk.is_valid()); in TEST_P()
114 ASSERT_EQ(expected_chunk_size, chunk.size()); in TEST_P()
116 chunk.payload_size()); in TEST_P()
117 ASSERT_GT(chunk.begin(), page_start); in TEST_P()
118 ASSERT_GT(chunk.begin(), last_chunk_begin); in TEST_P()
119 ASSERT_GE(chunk.begin(), last_chunk_end); in TEST_P()
120 ASSERT_LE(chunk.end(), page_end); in TEST_P()
121 ASSERT_GT(chunk.end(), chunk.begin()); in TEST_P()
[all …]
/external/curl/tests/data/
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 …]
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 …]
/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 …]
Dchunk.c23 static bool chunk_dalloc_default(void *chunk, size_t size, bool committed,
25 static bool chunk_commit_default(void *chunk, size_t size, size_t offset,
27 static bool chunk_decommit_default(void *chunk, size_t size, size_t offset,
29 static bool chunk_purge_default(void *chunk, size_t size, size_t offset,
31 static bool chunk_split_default(void *chunk, size_t size, size_t size_a,
54 extent_tree_t *chunks_ad, bool cache, void *chunk, size_t size, size_t sn,
144 chunk_register(tsdn_t *tsdn, const void *chunk, const extent_node_t *node) in chunk_register() argument
147 assert(extent_node_addr_get(node) == chunk); in chunk_register()
149 if (rtree_set(&chunks_rtree, (uintptr_t)chunk, node)) in chunk_register()
171 chunk_deregister(const void *chunk, const extent_node_t *node) in chunk_deregister() argument
[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/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/mesa3d/src/gallium/drivers/radeonsi/
Dsi_debug.c71 struct si_log_chunk_shader *chunk = data; in si_log_chunk_shader_destroy() local
72 si_shader_selector_reference(chunk->ctx, &chunk->sel, NULL); in si_log_chunk_shader_destroy()
73 si_compute_reference(&chunk->program, NULL); in si_log_chunk_shader_destroy()
74 FREE(chunk); in si_log_chunk_shader_destroy()
80 struct si_log_chunk_shader *chunk = data; in si_log_chunk_shader_print() local
81 struct si_screen *sscreen = chunk->ctx->screen; in si_log_chunk_shader_print()
82 si_dump_shader(sscreen, chunk->processor, in si_log_chunk_shader_print()
83 chunk->shader, f); in si_log_chunk_shader_print()
100 struct si_log_chunk_shader *chunk = CALLOC_STRUCT(si_log_chunk_shader); in si_dump_gfx_shader() local
101 chunk->ctx = ctx; in si_dump_gfx_shader()
[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/syzkaller/vendor/google.golang.org/api/gensupport/
Dbuffer.go18 chunk []byte // The current chunk which is pending upload. The capacity is the chunk size. member
26 return &MediaBuffer{media: media, chunk: make([]byte, 0, chunkSize)}
32 func (mb *MediaBuffer) Chunk() (chunk io.Reader, off int64, size int, err error) {
34 if mb.err == nil && len(mb.chunk) == 0 {
37 return bytes.NewReader(mb.chunk), mb.off, len(mb.chunk), mb.err
42 bufSize := cap(mb.chunk)
43 mb.chunk = mb.chunk[:bufSize]
49 n, err = mb.media.Read(mb.chunk[read:])
52 mb.chunk = mb.chunk[:read]
59 mb.off += int64(len(mb.chunk))
[all …]
/external/u-boot/fs/yaffs2/
Dyaffs_bitmap.c32 void yaffs_verify_chunk_bit_id(struct yaffs_dev *dev, int blk, int chunk) in yaffs_verify_chunk_bit_id() argument
35 chunk < 0 || chunk >= dev->param.chunks_per_block) { in yaffs_verify_chunk_bit_id()
38 blk, chunk); in yaffs_verify_chunk_bit_id()
50 void yaffs_clear_chunk_bit(struct yaffs_dev *dev, int blk, int chunk) in yaffs_clear_chunk_bit() argument
54 yaffs_verify_chunk_bit_id(dev, blk, chunk); in yaffs_clear_chunk_bit()
55 blk_bits[chunk / 8] &= ~(1 << (chunk & 7)); in yaffs_clear_chunk_bit()
58 void yaffs_set_chunk_bit(struct yaffs_dev *dev, int blk, int chunk) in yaffs_set_chunk_bit() argument
62 yaffs_verify_chunk_bit_id(dev, blk, chunk); in yaffs_set_chunk_bit()
63 blk_bits[chunk / 8] |= (1 << (chunk & 7)); in yaffs_set_chunk_bit()
66 int yaffs_check_chunk_bit(struct yaffs_dev *dev, int blk, int chunk) in yaffs_check_chunk_bit() argument
[all …]
/external/libpng/contrib/tools/
Dpngfix.c144 #define CRITICAL(chunk) (((chunk) & PNG_U32(32,0,0,0)) == 0) argument
147 #define SAFE_TO_COPY(chunk) (((chunk) & PNG_U32(0,0,0,32)) != 0) argument
830 struct chunk;
892 struct chunk * chunk; member
984 static void chunk_end(struct chunk **);
998 if (file->chunk != NULL) in file_end()
999 chunk_end(&file->chunk); in file_end()
1051 file->chunk = NULL; in file_init()
1153 if (file->chunk != NULL) in stop()
1539 struct chunk struct
[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 curl_easy_setopt(curl, CURLOPT_HTTPHEADER, chunk); in main()
67 curl_slist_free_all(chunk); in main()
/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/fonttools/Lib/fontTools/t1Lib/
D__init__.py190 chunk = f.read(chunklen)
191 assert len(chunk) == chunklen
192 data.append(chunk)
210 for isEncrypted, chunk in chunks:
211 if isEncrypted and isHex(chunk[:4]):
212 data.append(deHexString(chunk))
214 data.append(chunk)
227 for isEncrypted, chunk in chunks:
232 while chunk:
233 res = Res.Resource(bytechr(code) + '\0' + chunk[:LWFNCHUNKSIZE - 2])
[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/ltp/testcases/kernel/fs/ftest/
Dftest01.c262 int count, collide, chunk, whenmisc, xfr, i; in dotest() local
332 chunk = rand() % nchunks; in dotest()
336 if (lseek(fd, CHUNK(chunk), 0) < 0) { in dotest()
340 me, CHUNK(chunk), errno); in dotest()
346 me, CHUNK(chunk), errno); in dotest()
353 if (CHUNK(chunk) >= file_max) { in dotest()
354 bits[chunk / 8] |= (1 << (chunk % 8)); in dotest()
356 } else if ((bits[chunk / 8] & (1 << (chunk % 8))) == 0) { in dotest()
367 me, CHUNK(chunk), val, count, in dotest()
386 bits[chunk / 8] |= (1 << (chunk % 8)); in dotest()
[all …]
Dftest05.c260 int i, count, collide, chunk, whenmisc, xfr; in dotest() local
327 chunk = rand() % nchunks; in dotest()
331 if (lseek64(fd, CHUNK(chunk), 0) < (off64_t) 0) { in dotest()
334 me, CHUNK(chunk)); in dotest()
339 me, CHUNK(chunk)); in dotest()
347 if (CHUNK(chunk) >= file_max) { in dotest()
348 bits[chunk / 8] |= (1 << (chunk % 8)); in dotest()
350 } else if ((bits[chunk / 8] & (1 << (chunk % 8))) == 0) { in dotest()
359 me, CHUNK(chunk), val, count, in dotest()
378 bits[chunk / 8] |= (1 << (chunk % 8)); in dotest()
[all …]
Dftest07.c281 int count, collide, chunk, whenmisc, xfr, i; in dotest() local
388 chunk = rand() % nchunks; in dotest()
392 if (lseek64(fd, CHUNK(chunk), 0) < 0) { in dotest()
396 me, CHUNK(chunk), errno); in dotest()
402 me, CHUNK(chunk), errno); in dotest()
409 if (CHUNK(chunk) >= file_max) { in dotest()
410 bits[chunk / 8] |= (1 << (chunk % 8)); in dotest()
412 } else if ((bits[chunk / 8] & (1 << (chunk % 8))) == 0) { in dotest()
426 me, CHUNK(chunk), val, in dotest()
447 bits[chunk / 8] |= (1 << (chunk % 8)); in dotest()
[all …]
/external/elfutils/libelf/
Delf_getdata_rawchunk.c158 Elf_Data_Chunk *chunk = calloc (1, sizeof *chunk); in elf_getdata_rawchunk() local
159 if (chunk == NULL) in elf_getdata_rawchunk()
166 chunk->dummy_scn.elf = elf; in elf_getdata_rawchunk()
167 chunk->dummy_scn.flags = flags; in elf_getdata_rawchunk()
168 chunk->data.s = &chunk->dummy_scn; in elf_getdata_rawchunk()
169 chunk->data.d.d_buf = buffer; in elf_getdata_rawchunk()
170 chunk->data.d.d_size = size; in elf_getdata_rawchunk()
171 chunk->data.d.d_type = type; in elf_getdata_rawchunk()
172 chunk->data.d.d_align = align; in elf_getdata_rawchunk()
173 chunk->data.d.d_version = EV_CURRENT; in elf_getdata_rawchunk()
[all …]

12345678910>>...27