/external/ltp/testcases/kernel/mem/page/ |
D | page02.c | 73 int memory_size, half_memory_size; local 89 memory_size = 128 * 1024; 92 if (sscanf(argv[1], "%d", &memory_size) != 1) 101 half_memory_size = memory_size / 2; 129 memory_pointer = malloc(memory_size * sizeof(int)); 148 memory_size, i); 155 (memory_size / 2); 178 (memory_size / 2);
|
D | page01.c | 74 int memory_size; local 83 memory_size = 256 * 1024; 86 if (sscanf(argv[1], "%d", &memory_size) != 1) 121 memory_pointer = malloc(memory_size * sizeof(int)); 146 for (j = 1; j <= memory_size; j++) 159 for (j = 1; j <= memory_size; j++) {
|
/external/e2fsprogs/intl/ |
D | printf-parse.c | 88 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()
|
D | vasnprintf.c | 187 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/ |
D | printf-parse.c | 105 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()
|
D | vasnprintf.c | 1850 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/syslinux/com32/gpllib/ |
D | memory.c | 385 unsigned long memory_size = 0; in detect_memsize() local 391 memory_size = memsize_e820(map, count); in detect_memsize() 392 if (memory_size > 0) in detect_memsize() 393 return memory_size; in detect_memsize() 414 unsigned long memory_size = 0; in memsize_e820() local 445 memory_size += (end >> 12) - ((start + 4095) >> 12); in memsize_e820() 448 memory_size += nm[i].size >> 12; in memsize_e820() 451 return memory_size * 4; in memsize_e820()
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | minidump_writer_unittest.cc | 134 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/ |
D | microdump_writer_unittest.cc | 77 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/ |
D | crash_generator.cc | 131 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()
|
D | crash_generator.h | 94 bool MapSharedMemory(size_t memory_size);
|
/external/syslinux/com32/hdt/ |
D | hdt-menu-memory.c | 48 unsigned long memory_size = memsize_e820(map, count); in compute_e820() local 50 memory_size >> 10, memory_size); in compute_e820() 52 "Detected Memory : %lu MiB (%lu KiB)", memory_size >> 10, in compute_e820() 53 memory_size); in compute_e820()
|
/external/pdfium/core/fxge/win32/ |
D | cfx_windowsdib.h | 21 size_t memory_size; member
|
/external/swiftshader/third_party/LLVM/test/CodeGen/ARM/ |
D | 2008-05-19-ScavengerAssert.ll | 17 %memory_size.3555 = add i32 0, %tmp151 ; <i32> [#uses=0]
|
D | 2008-05-19-LiveIntervalsBug.ll | 52 …%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/llvm/test/CodeGen/ARM/ |
D | 2008-05-19-ScavengerAssert.ll | 17 %memory_size.3555 = add i32 0, %tmp151 ; <i32> [#uses=0]
|
D | 2008-05-19-LiveIntervalsBug.ll | 52 …%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/ |
D | vhost.h | 78 __u64 memory_size; /* bytes */ member
|
D | kvm.h | 92 __u64 memory_size; /* bytes */ member 100 __u64 memory_size; /* bytes */ member
|
/external/google-breakpad/src/client/linux/handler/ |
D | exception_handler_unittest.cc | 62 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() 90 cacheflush(const_cast<char*>(memory), memory_size, ICACHE); in FlushInstructionCache()
|
/external/kernel-headers/original/uapi/asm-x86/asm/ |
D | kvm.h | 55 __u64 memory_size; member
|
/external/pdfium/core/fxge/android/ |
D | cfpf_skiafontmgr.cpp | 415 args.memory_size = szBuffer; in GetFontFace()
|
/external/pdfium/third_party/freetype/include/freetype/ |
D | freetype.h | 1969 FT_Long memory_size; member
|
/external/freetype/include/freetype/ |
D | freetype.h | 2010 FT_Long memory_size; member
|
/external/webp/src/dec/ |
D | vp8l_dec.c | 498 const uint64_t memory_size = sizeof(*dec->rescaler) + in AllocateAndInitRescaler() local 501 uint8_t* memory = (uint8_t*)WebPSafeMalloc(memory_size, sizeof(*memory)); in AllocateAndInitRescaler()
|