Searched refs:memory_size (Results 1 - 25 of 39) sorted by relevance

12

/netbsd-current/external/gpl2/gettext/dist/gettext-runtime/intl/
H A Dprintf-parse.c86 size_t memory_size; \
92 memory_size = xtimes (a_allocated, sizeof (argument)); \
93 if (size_overflow_p (memory_size)) \
97 ? realloc (a->arg, memory_size) \
98 : malloc (memory_size)); \
511 size_t memory_size; local
515 memory_size = xtimes (d_allocated, sizeof (DIRECTIVE));
516 if (size_overflow_p (memory_size))
519 memory = realloc (d->dir, memory_size);
H A Dvasnprintf.c185 size_t memory_size; \
191 memory_size = xtimes (allocated, sizeof (CHAR_T)); \
192 if (size_overflow_p (memory_size)) \
195 memory = (CHAR_T *) malloc (memory_size); \
197 memory = (CHAR_T *) realloc (result, memory_size); \
/netbsd-current/external/gpl2/gettext/dist/gettext-runtime/libasprintf/
H A Dprintf-parse.c86 size_t memory_size; \
92 memory_size = xtimes (a_allocated, sizeof (argument)); \
93 if (size_overflow_p (memory_size)) \
97 ? realloc (a->arg, memory_size) \
98 : malloc (memory_size)); \
511 size_t memory_size; local
515 memory_size = xtimes (d_allocated, sizeof (DIRECTIVE));
516 if (size_overflow_p (memory_size))
519 memory = realloc (d->dir, memory_size);
H A Dvasnprintf.c185 size_t memory_size; \
191 memory_size = xtimes (allocated, sizeof (CHAR_T)); \
192 if (size_overflow_p (memory_size)) \
195 memory = (CHAR_T *) malloc (memory_size); \
197 memory = (CHAR_T *) realloc (result, memory_size); \
/netbsd-current/external/gpl2/texinfo/dist/intl/
H A Dprintf-parse.c90 size_t memory_size; \
96 memory_size = xtimes (a_allocated, sizeof (argument)); \
97 if (size_overflow_p (memory_size)) \
101 ? realloc (a->arg, memory_size) \
102 : malloc (memory_size)); \
506 size_t memory_size; local
510 memory_size = xtimes (d_allocated, sizeof (DIRECTIVE));
511 if (size_overflow_p (memory_size))
514 memory = realloc (d->dir, memory_size);
H A Dvasnprintf.c189 size_t memory_size; \
195 memory_size = xtimes (allocated, sizeof (CHAR_T)); \
196 if (size_overflow_p (memory_size)) \
199 memory = (CHAR_T *) malloc (memory_size); \
201 memory = (CHAR_T *) realloc (result, memory_size); \
/netbsd-current/external/gpl2/xcvs/dist/lib/
H A Dprintf-parse.c90 size_t memory_size; \
96 memory_size = xtimes (a_allocated, sizeof (argument)); \
97 if (size_overflow_p (memory_size)) \
101 ? realloc (a->arg, memory_size) \
102 : malloc (memory_size)); \
506 size_t memory_size; local
510 memory_size = xtimes (d_allocated, sizeof (DIRECTIVE));
511 if (size_overflow_p (memory_size))
514 memory = realloc (d->dir, memory_size);
H A Dvasnprintf.c199 size_t memory_size; \
205 memory_size = xtimes (allocated, sizeof (CHAR_T)); \
206 if (size_overflow_p (memory_size)) \
209 memory = (CHAR_T *) malloc (memory_size); \
211 memory = (CHAR_T *) realloc (result, memory_size); \
/netbsd-current/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/argon2/
H A Dargon2-core.c77 size_t memory_size; local
82 memory_size = sizeof(block) * m_cost;
84 memory_size / m_cost !=
96 if ((base = mmap(NULL, memory_size, PROT_READ | PROT_WRITE,
103 if ((errno = posix_memalign((void **) &base, 64, memory_size)) != 0) {
109 if (memory_size + 63 < memory_size) {
112 } else if ((base = malloc(memory_size + 63)) != NULL) {
123 (*region)->size = memory_size;
/netbsd-current/external/gpl3/gdb/dist/sim/h8300/
H A Dsim-main.h136 unsigned long memory_size; member in struct:h8300_sim_state
H A Dcompile.c45 static int memory_size; variable
160 ASSERT (idx < memory_size);
167 ASSERT (idx < memory_size);
1063 ((X) < memory_size \
1069 ((X) < memory_size \
1074 ((X) < memory_size ? h8_get_memory (cpu, (X)) : 0)
1078 _p = ((X) < memory_size ? h8_get_memory_buf (cpu) + (X) : 0); \
1085 _p = ((X) < memory_size ? h8_get_memory_buf (cpu) + (X) : 0); \
1090 ((X) < memory_size ? h8_set_memory (cpu, (X), (Y)) : 0)
1572 memory_size
1591 calloc (sizeof (char), memory_size)); local
4760 calloc (sizeof (char), memory_size)); local
[all...]
/netbsd-current/sys/arch/evbarm/fdt/
H A Dfdt_machdep.c198 const uint64_t memory_size = *(uint64_t *)arg; local
199 if (atop(memory_size) > bp->bp_pages) {
354 uint64_t memory_size = memory_end - memory_start; local
357 PRIx64 ")\n", __func__, memory_start, memory_end, memory_size);
375 cpu_kernel_vm_init(memory_start, memory_size);
384 fdt_memory_foreach(fdt_add_boot_physmem, &memory_size);
/netbsd-current/external/gpl3/gdb.old/dist/sim/h8300/
H A Dsim-main.h141 unsigned long memory_size; member in struct:sim_state
H A Dcompile.c288 if (idx > sd->memory_size)
487 static int memory_size; variable
1239 ((X) < memory_size \
1248 ((X) < memory_size \
1256 ((X) < memory_size ? (h8_get_memory (sd, (X))) \
1261 _p = ((X) < memory_size ? h8_get_memory_buf (sd) + (X) : \
1269 _p = ((X) < memory_size ? h8_get_memory_buf (sd) + (X) : \
1275 ((X) < memory_size ? (h8_set_memory (sd, (X), (Y))) \
1736 memory_size = H8300S_MSIZE;
1738 memory_size
1758 calloc (sizeof (char), memory_size)); local
1760 calloc (sizeof (short), memory_size)); local
4971 calloc (sizeof (char), memory_size)); local
4973 calloc (sizeof (short), memory_size)); local
[all...]
/netbsd-current/sys/arch/arm/footbridge/
H A Dfootbridge.c213 int memory_size = bootconfig.dram[0].pages * PAGE_SIZE; local
218 if (mask >= memory_size)
234 footbridge_dma_ranges[0].dr_len = memory_size;
/netbsd-current/external/gpl3/gdb.old/dist/sim/ppc/
H A Demul_generic.c311 unsigned_word memory_size = local
315 (unsigned long)memory_size);
319 (unsigned long)memory_size - avail_start);
H A Demul_bugapi.c183 unsigned_word memory_size; member in struct:_os_emul_data
232 bugapi->memory_size
241 bugapi->top_of_stack = bugapi->memory_size - 0x1000;
/netbsd-current/external/gpl3/gdb/dist/sim/ppc/
H A Demul_generic.c311 unsigned_word memory_size = local
315 (unsigned long)memory_size);
319 (unsigned long)memory_size - avail_start);
H A Demul_bugapi.c173 unsigned_word memory_size; member in struct:_os_emul_data
222 bugapi->memory_size
231 bugapi->top_of_stack = bugapi->memory_size - 0x1000;
/netbsd-current/external/apache2/argon2/dist/phc-winner-argon2/src/
H A Dcore.c91 size_t memory_size = num*size; local
97 if (size != 0 && memory_size / size != num) {
103 (context->allocate_cbk)(memory, memory_size);
105 *memory = malloc(memory_size);
117 size_t memory_size = num*size; local
118 clear_internal_memory(memory, memory_size);
120 (context->free_cbk)(memory, memory_size);
/netbsd-current/sys/arch/arm/arm32/
H A Darm32_machdep.c894 cpu_kernel_vm_init(paddr_t memory_start, psize_t memory_size) argument
901 if (memory_size > KERNEL_VM_BASE - KERNEL_BASE) {
903 __func__, (unsigned long) (memory_size >> 20),
905 memory_size = KERNEL_VM_BASE - KERNEL_BASE;
913 __func__, memory_start, memory_start + memory_size);
915 arm32_bootmem_init(memory_start, memory_size, KERNEL_BASE_PHYS);
/netbsd-current/external/mit/libuv/dist/src/unix/
H A Dhurd.c106 return hbi.memory_size;
/netbsd-current/sys/arch/riscv/riscv/
H A Driscv_machdep.c760 uint64_t memory_size __unused = memory_end - memory_start;
763 PRIx64 ")\n", __func__, memory_start, memory_end, memory_size);
850 DPRINTF(memory_size);
/netbsd-current/external/gpl3/gcc/dist/libbacktrace/
H A Delf.c419 const unsigned char *memory, size_t memory_size, off_t offset,
431 if ((uint64_t) offset + size > (uint64_t) memory_size)
3986 const unsigned char *memory, size_t memory_size,
4071 if (!elf_get_view (state, descriptor, memory, memory_size, 0, sizeof ehdr,
4128 if (!elf_get_view (state, descriptor, memory, memory_size, shoff,
4167 if (!elf_get_view (state, descriptor, memory, memory_size,
4181 if (!elf_get_view (state, descriptor, memory, memory_size, shstr_off,
4250 if (!elf_get_view (state, descriptor, memory, memory_size,
4284 if (!elf_get_view (state, descriptor, memory, memory_size,
4306 if (!elf_get_view (state, descriptor, memory, memory_size,
418 elf_get_view(struct backtrace_state *state, int descriptor, const unsigned char *memory, size_t memory_size, off_t offset, uint64_t size, backtrace_error_callback error_callback, void *data, struct elf_view *view) argument
3985 elf_add(struct backtrace_state *state, const char *filename, int descriptor, const unsigned char *memory, size_t memory_size, uintptr_t base_address, backtrace_error_callback error_callback, void *data, fileline *fileline_fn, int *found_sym, int *found_dwarf, struct dwarf_data **fileline_entry, int exe, int debuginfo, const char *with_buildid_data, uint32_t with_buildid_size) argument
[all...]
/netbsd-current/external/gpl3/gdb/dist/libbacktrace/
H A Delf.c419 const unsigned char *memory, size_t memory_size, off_t offset,
431 if ((uint64_t) offset + size > (uint64_t) memory_size)
3986 const unsigned char *memory, size_t memory_size,
4071 if (!elf_get_view (state, descriptor, memory, memory_size, 0, sizeof ehdr,
4128 if (!elf_get_view (state, descriptor, memory, memory_size, shoff,
4167 if (!elf_get_view (state, descriptor, memory, memory_size,
4181 if (!elf_get_view (state, descriptor, memory, memory_size, shstr_off,
4250 if (!elf_get_view (state, descriptor, memory, memory_size,
4284 if (!elf_get_view (state, descriptor, memory, memory_size,
4306 if (!elf_get_view (state, descriptor, memory, memory_size,
418 elf_get_view(struct backtrace_state *state, int descriptor, const unsigned char *memory, size_t memory_size, off_t offset, uint64_t size, backtrace_error_callback error_callback, void *data, struct elf_view *view) argument
3985 elf_add(struct backtrace_state *state, const char *filename, int descriptor, const unsigned char *memory, size_t memory_size, uintptr_t base_address, backtrace_error_callback error_callback, void *data, fileline *fileline_fn, int *found_sym, int *found_dwarf, struct dwarf_data **fileline_entry, int exe, int debuginfo, const char *with_buildid_data, uint32_t with_buildid_size) argument
[all...]

Completed in 401 milliseconds

12