Home
last modified time | relevance | path

Searched refs:memory_size (Results 1 – 24 of 24) sorted by relevance

/external/e2fsprogs/intl/
Dprintf-parse.c88 size_t memory_size; \ in PRINTF_PARSE()
94 memory_size = xtimes (a_allocated, sizeof (argument)); \ in PRINTF_PARSE()
95 if (size_overflow_p (memory_size)) \ in PRINTF_PARSE()
99 ? realloc (a->arg, memory_size) \ in PRINTF_PARSE()
100 : malloc (memory_size)); \ in PRINTF_PARSE()
504 size_t memory_size; in PRINTF_PARSE() local
508 memory_size = xtimes (d_allocated, sizeof (DIRECTIVE)); in PRINTF_PARSE()
509 if (size_overflow_p (memory_size)) in PRINTF_PARSE()
512 memory = realloc (d->dir, memory_size); in PRINTF_PARSE()
Dvasnprintf.c187 size_t memory_size; \ in VASNPRINTF()
193 memory_size = xtimes (allocated, sizeof (CHAR_T)); \ in VASNPRINTF()
194 if (size_overflow_p (memory_size)) \ in VASNPRINTF()
197 memory = (CHAR_T *) malloc (memory_size); \ in VASNPRINTF()
199 memory = (CHAR_T *) realloc (result, memory_size); \ in VASNPRINTF()
/external/bison/lib/
Dprintf-parse.c105 size_t memory_size; \ in PRINTF_PARSE()
111 memory_size = xtimes (a_allocated, sizeof (argument)); \ in PRINTF_PARSE()
112 if (size_overflow_p (memory_size)) \ in PRINTF_PARSE()
116 ? realloc (a->arg, memory_size) \ in PRINTF_PARSE()
117 : malloc (memory_size)); \ in PRINTF_PARSE()
584 size_t memory_size; in PRINTF_PARSE() local
588 memory_size = xtimes (d_allocated, sizeof (DIRECTIVE)); in PRINTF_PARSE()
589 if (size_overflow_p (memory_size)) in PRINTF_PARSE()
593 ? realloc (d->dir, memory_size) in PRINTF_PARSE()
594 : malloc (memory_size)); in PRINTF_PARSE()
Dvasnprintf.c1850 size_t memory_size; \ in VASNPRINTF()
1856 memory_size = xtimes (allocated, sizeof (DCHAR_T)); \ in VASNPRINTF()
1857 if (size_overflow_p (memory_size)) \ in VASNPRINTF()
1860 memory = (DCHAR_T *) malloc (memory_size); \ in VASNPRINTF()
1862 memory = (DCHAR_T *) realloc (result, memory_size); \ in VASNPRINTF()
/external/google-breakpad/src/client/linux/minidump_writer/
Dminidump_writer_unittest.cc134 const uint32_t memory_size = sysconf(_SC_PAGESIZE); in TEST() local
157 memory_size, in TEST()
186 info.size = memory_size; in TEST()
212 EXPECT_EQ(memory_size, module->size()); in TEST()
243 const int32_t memory_size = sysconf(_SC_PAGESIZE); in TEST() local
270 google_breakpad::scoped_array<char> buffer(new char[memory_size]); in TEST()
271 memset(buffer.get(), 0, memory_size); in TEST()
272 ASSERT_EQ(memory_size, write(fd, buffer.get(), memory_size)); in TEST()
277 memory_size, in TEST()
305 info.start_addr = kMemoryAddress - memory_size; in TEST()
[all …]
/external/google-breakpad/src/client/linux/microdump_writer/
Dmicrodump_writer_unittest.cc77 const uint32_t memory_size = sysconf(_SC_PAGESIZE); in TEST() local
85 info.start_addr = memory_size; in TEST()
86 info.size = memory_size; in TEST()
/external/google-breakpad/src/common/linux/tests/
Dcrash_generator.cc131 bool CrashGenerator::MapSharedMemory(size_t memory_size) { in MapSharedMemory() argument
135 void* mapped_memory = mmap(0, memory_size, PROT_READ | PROT_WRITE, in MapSharedMemory()
142 memset(mapped_memory, 0, memory_size); in MapSharedMemory()
144 shared_memory_size_ = memory_size; in MapSharedMemory()
Dcrash_generator.h94 bool MapSharedMemory(size_t memory_size);
/external/llvm/test/CodeGen/ARM/
D2008-05-19-ScavengerAssert.ll17 %memory_size.3555 = add i32 0, %tmp151 ; <i32> [#uses=0]
D2008-05-19-LiveIntervalsBug.ll52 …%memory_size.0.i = phi i32 [ %tmp23.i31, %get_mem3Dpel.exit.split.i ], [ %tmp50.i.i, %entry ] ; <…
53 %tmp41 = add i32 0, %memory_size.0.i ; <i32> [#uses=0]
/external/kernel-headers/original/uapi/linux/
Dvhost.h52 __u64 memory_size; /* bytes */ member
Dkvm.h92 __u64 memory_size; /* bytes */ member
100 __u64 memory_size; /* bytes */ member
/external/pdfium/core/include/fxge/
Dfx_ge_win32.h22 size_t memory_size; member
/external/google-breakpad/src/client/linux/handler/
Dexception_handler_unittest.cc62 void FlushInstructionCache(const char* memory, uint32_t memory_size) { in FlushInstructionCache() argument
65 long end = begin + static_cast<long>(memory_size); in FlushInstructionCache()
82 long end = begin + static_cast<long>(memory_size); in FlushInstructionCache()
86 cacheflush(const_cast<char*>(memory), memory_size, ICACHE); in FlushInstructionCache()
/external/kernel-headers/original/uapi/asm-x86/asm/
Dkvm.h55 __u64 memory_size; member
/external/lldb/examples/darwin/heap_find/heap/
Dheap_find.cpp932 find_pointer_in_memory (uint64_t memory_addr, uint64_t memory_size, const void * addr) in find_pointer_in_memory() argument
945 …info_callback (mach_task_self(), &data_info, stack_logging_type_generic, memory_addr, memory_size); in find_pointer_in_memory()
/external/pdfium/third_party/freetype/include/
Dfreetype.h1930 FT_Long memory_size; member
/external/pdfium/core/src/fxge/android/
Dfpf_skiafontmgr.cpp420 args.memory_size = szBuffer; in GetFontFace()
/external/freetype/include/
Dfreetype.h1950 FT_Long memory_size; member
/external/webp/src/dec/
Dvp8l.c396 const uint64_t memory_size = sizeof(*dec->rescaler) + in AllocateAndInitRescaler() local
399 uint8_t* memory = (uint8_t*)WebPSafeCalloc(memory_size, sizeof(*memory)); in AllocateAndInitRescaler()
/external/skia/src/ports/
DSkFontHost_FreeType.cpp307 args.memory_size = stream->getLength(); in ref_ft_face()
1616 args.memory_size = stream->getLength(); in openFace()
/external/pdfium/core/src/fxge/win32/
Dfx_win32_gdipext.cpp1151 if (args.memory_size == 0 || !args.memory_base) { in LoadDIBitmap()
1155 pStream->Write(args.memory_base, (ULONG)args.memory_size, NULL); in LoadDIBitmap()
/external/pdfium/third_party/freetype/src/base/
Dftobjs.c181 args->memory_size ); in FT_Stream_New()
1257 args.memory_size = file_size; in FT_New_Memory_Face()
/external/freetype/src/base/
Dftobjs.c181 (FT_ULong)args->memory_size ); in FT_Stream_New()
1253 args.memory_size = file_size; in FT_New_Memory_Face()