Home
last modified time | relevance | path

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

/external/elfutils/libelf/
Delf_update.c62 && (elf->maximum_size == ~((size_t) 0) in write_file()
63 || (size_t) size > elf->maximum_size) in write_file()
95 && (elf->maximum_size == ~((size_t) 0) in write_file()
96 || (size_t) size > elf->maximum_size)) in write_file()
107 && (size_t) size > elf->maximum_size) in write_file()
109 if (mremap (elf->map_address, elf->maximum_size, in write_file()
115 elf->maximum_size = size; in write_file()
140 && elf->maximum_size != ~((size_t) 0) in write_file()
141 && (size_t) size < elf->maximum_size in write_file()
161 elf->maximum_size = size; in write_file()
Delf_readall.c91 if (elf->maximum_size == ~((size_t) 0)) in __libelf_readall()
101 elf->maximum_size = (size_t) st.st_size; in __libelf_readall()
110 mem = (char *) malloc (elf->maximum_size); in __libelf_readall()
115 elf->maximum_size, in __libelf_readall()
117 != elf->maximum_size)) in __libelf_readall()
Delf_getphdrnum.c100 if (unlikely (off >= elf->maximum_size)) in __elf_getphdrnum_chk_rdlock()
116 if (unlikely (elf->maximum_size - off < *dst * phdr_size)) in __elf_getphdrnum_chk_rdlock()
117 *dst = (elf->maximum_size - off) / phdr_size; in __elf_getphdrnum_chk_rdlock()
Delf32_getphdr.c88 || ehdr->e_phoff > elf->maximum_size in ElfW2()
89 || elf->maximum_size - ehdr->e_phoff < size) in ElfW2()
99 if (unlikely (ehdr->e_phoff >= elf->maximum_size) in ElfW2()
100 || unlikely (elf->maximum_size - ehdr->e_phoff < size)) in ElfW2()
Delf_getarsym.c129 if (SARMAG + sizeof (struct ar_hdr) > elf->maximum_size) in elf_getarsym()
186 if (index_size > elf->maximum_size in elf_getarsym()
187 || elf->maximum_size - index_size < SARMAG + sizeof (struct ar_hdr) in elf_getarsym()
Delf_getdata_rawchunk.c56 if (unlikely (offset < 0 || (uint64_t) offset > elf->maximum_size in elf_getdata_rawchunk()
57 || elf->maximum_size - (uint64_t) offset < size)) in elf_getdata_rawchunk()
Delf_getshdrstrndx.c118 if (unlikely (elf->maximum_size - offset in elf_getshdrstrndx()
183 if (unlikely (elf->maximum_size - offset in elf_getshdrstrndx()
Delf_getdata.c305 if (unlikely (offset > elf->maximum_size in __libelf_set_rawdata_wrlock()
306 || elf->maximum_size - offset < size)) in __libelf_set_rawdata_wrlock()
321 if (unlikely (offset > elf->maximum_size in __libelf_set_rawdata_wrlock()
322 || elf->maximum_size - offset < size)) in __libelf_set_rawdata_wrlock()
Delf_rawfile.c61 *ptr = elf->maximum_size; in elf_rawfile()
Delf_clone.c57 elf->maximum_size, elf->cmd, elf->parent, elf->kind, in elf_clone()
Delf_begin.c724 if ((size_t) offset > elf->maximum_size in read_long_names()
725 || elf->maximum_size - offset < sizeof (struct ar_hdr)) in read_long_names()
763 if (len > elf->maximum_size - offset - sizeof (struct ar_hdr)) in read_long_names()
839 > elf->start_offset + elf->maximum_size in __libelf_next_arhdr_wrlock()
840 || (elf->start_offset + elf->maximum_size in __libelf_next_arhdr_wrlock()
993 maxsize = (elf->start_offset + elf->maximum_size in __libelf_next_arhdr_wrlock()
Delf32_getshdr.c83 if (unlikely (ehdr->e_shoff >= elf->maximum_size) in ElfW2()
84 || unlikely (elf->maximum_size - ehdr->e_shoff < size)) in ElfW2()
Dcommon.h84 result->maximum_size = maxsize; in allocate_elf()
Delf_end.c227 munmap (elf->map_address, elf->maximum_size); in elf_end()
Delf32_updatefile.c252 + elf->maximum_size)); in __elfw2()
276 + elf->maximum_size)) in __elfw2()
DlibelfP.h303 size_t maximum_size; member
/external/v8/src/wasm/
Dwasm-module.cc392 base::Optional<uint32_t> maximum_size; in GetImports() local
393 if (table.has_maximum_size) maximum_size.emplace(table.maximum_size); in GetImports()
395 maximum_size); in GetImports()
402 base::Optional<uint32_t> maximum_size; in GetImports() local
404 maximum_size.emplace(module->maximum_pages); in GetImports()
407 GetTypeForMemory(isolate, module->initial_pages, maximum_size); in GetImports()
489 base::Optional<uint32_t> maximum_size; in GetExports() local
490 if (table.has_maximum_size) maximum_size.emplace(table.maximum_size); in GetExports()
492 maximum_size); in GetExports()
499 base::Optional<uint32_t> maximum_size; in GetExports() local
[all …]
Dmodule-instantiate.cc570 table.has_maximum_size, table.maximum_size, nullptr); in Build()
1183 import_index, table.maximum_size); in ProcessImportedTable()
1189 import_index, table.maximum_size); in ProcessImportedTable()
1192 if (imported_maximum_size > table.maximum_size) { in ProcessImportedTable()
1196 table.maximum_size); in ProcessImportedTable()
Dwasm-module.h379 uint32_t maximum_size = 0; // maximum table size. member
Dmodule-decoder.cc631 std::numeric_limits<uint32_t>::max(), &table->maximum_size, in DecodeImportSection()
730 std::numeric_limits<uint32_t>::max(), &table->maximum_size, flags); in DecodeTableSection()
Dc-api.cc148 table.has_maximum_size ? table.maximum_size : -1); in GetImportExportType()
/external/elfutils/libdwfl/
Dcore-file.c70 || unlikely (offset >= (off_t) parent->maximum_size)) in elf_begin_rand()
79 if (unlikely (parent->maximum_size - offset < sizeof h)) in elf_begin_rand()
97 || unlikely ((off_t) parent->maximum_size - offset < size)) in elf_begin_rand()
101 if (unlikely ((off_t) parent->maximum_size - offset < size)) in elf_begin_rand()
109 && unlikely (size == (off_t) parent->maximum_size)) in elf_begin_rand()
324 (void) more (elf->maximum_size - start); in dwfl_elf_phdr_memory_callback()
328 if (unlikely (end > elf->maximum_size)) in dwfl_elf_phdr_memory_callback()
329 end = elf->maximum_size; in dwfl_elf_phdr_memory_callback()
Dopen.c58 const size_t mapped_size = (*elf)->maximum_size; in decompress()
138 elf->maximum_size); in libdw_open_elf()
144 elf->state.ar.elf_ar_hdr.ar_size = elf->maximum_size - offset; in libdw_open_elf()
/external/autotest/client/cros/
Dhttp_speed.py58 maximum_size = 1 << 24 # Go large, if necessary
69 size = min(int(size * multiple), maximum_size)
/external/ltp/testcases/kernel/fs/mongo/
Dreiser_fract_tree.c277 long maximum_size) in fill_this_directory() argument
285 size = determine_size(median_file_size, maximum_size); in fill_this_directory()