Home
last modified time | relevance | path

Searched refs:chunk_size (Results 1 – 9 of 9) sorted by relevance

/toolchain/binutils/binutils-2.25/gold/
Dstringpool.h117 if (n > this->chunks_.size() * chunk_size) in reserve()
119 this->chunks_.resize((n + chunk_size - 1) / chunk_size); in reserve()
124 this->chunks_[i].reserve(chunk_size); in reserve()
137 size_t chunk_index = this->size_ / chunk_size; in push_back()
141 this->chunks_.back().reserve(chunk_size); in push_back()
151 { return this->chunks_[i / chunk_size][i % chunk_size]; }
155 { return this->chunks_[i / chunk_size][i % chunk_size]; }
158 static const unsigned int chunk_size = 8192;
Dlayout.cc5472 const size_t chunk_size = in queue_build_id_tasks() local
5474 const size_t num_hashes = ((filesize - 1) / chunk_size) + 1; in queue_build_id_tasks()
5483 i++, dst += MD5_OUTPUT_SIZE_IN_BYTES, src_offset += chunk_size) in queue_build_id_tasks()
5485 size_t size = std::min(chunk_size, filesize - src_offset); in queue_build_id_tasks()
/toolchain/binutils/binutils-2.25/libiberty/
Dobstack.c168 h->chunk_size = size; in _obstack_begin()
172 chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size); in _obstack_begin()
177 = (char *) chunk + h->chunk_size; in _obstack_begin()
213 h->chunk_size = size; in _obstack_begin_1()
218 chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size); in _obstack_begin_1()
223 = (char *) chunk + h->chunk_size; in _obstack_begin_1()
249 if (new_size < h->chunk_size) in _obstack_newchunk()
250 new_size = h->chunk_size; in _obstack_newchunk()
/toolchain/binutils/binutils-2.25/bfd/
Dcache.c344 file_ptr chunk_size = nbytes - nread; in cache_bread() local
347 if (chunk_size > max_chunk_size) in cache_bread()
348 chunk_size = max_chunk_size; in cache_bread()
350 chunk_nread = cache_bread_1 (abfd, (char *) buf + nread, chunk_size); in cache_bread()
363 if (chunk_nread < chunk_size) in cache_bread()
Dmmo.c2073 int chunk_size in mmo_get_section_contents() local
2078 loc = mmo_get_loc (sec, sec->vma + offset, chunk_size); in mmo_get_section_contents()
2079 while (loc == NULL && (chunk_size /= 2) != 0); in mmo_get_section_contents()
2081 if (chunk_size == 0) in mmo_get_section_contents()
2084 memcpy (location, loc, chunk_size); in mmo_get_section_contents()
2086 location += chunk_size; in mmo_get_section_contents()
2087 bytes_to_do -= chunk_size; in mmo_get_section_contents()
2088 offset += chunk_size; in mmo_get_section_contents()
2610 int chunk_size in mmo_set_section_contents() local
2615 loc = mmo_get_loc (sec, sec->vma + offset, chunk_size); in mmo_set_section_contents()
[all …]
/toolchain/binutils/binutils-2.25/gas/config/
Dobj-coff.c63 unsigned long chunk_size; member
75 stack_init (unsigned long chunk_size, in stack_init() argument
83 st->data = malloc (chunk_size); in stack_init()
90 st->size = chunk_size; in stack_init()
91 st->chunk_size = chunk_size; in stack_init()
101 st->size += st->chunk_size; in stack_push()
/toolchain/binutils/binutils-2.25/include/
Dobstack.h166 long chunk_size; /* preferred size to allocate chunks in */ member
254 #define obstack_chunk_size(h) ((h)->chunk_size)
/toolchain/binutils/binutils-2.25/gas/
Dfrags.c58 if (ob->chunk_size == 0) in frag_alloc_check()
DChangeLog-00016593 * frags.c (frag_grow): Sanity check chunk_size.