Home
last modified time | relevance | path

Searched refs:mem_size (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/components/nacl/loader/nonsfi/
Dirt_icache_unittest.cc47 const size_t mem_size = 256; in TEST() local
49 mmap(NULL, mem_size, PROT_READ | PROT_WRITE | PROT_EXEC, in TEST()
51 EXPECT_EQ(0, irt_clear_cache(start, mem_size)); in TEST()
53 EXPECT_EQ(EINVAL, irt_clear_cache(NULL, mem_size)); in TEST()
54 EXPECT_EQ(0, munmap(start, mem_size)); in TEST()
/external/compiler-rt/test/tsan/
Dbench_shadow_flush.cc18 uptr mem_size = 4 << 20; in main() local
20 mem_size = (uptr)atoi(argv[1]) << 20; in main()
28 void *p = mmap(0, mem_size + kLargePage, PROT_READ | PROT_WRITE, in main()
34 for (uptr off = 0; off < mem_size; off += stride) in main()
/external/qemu/include/hw/
Delf_ops.h187 elf_word mem_size; in glue() local
236 mem_size = ph->p_memsz; in glue()
238 data = g_malloc0(mem_size); in glue()
249 cpu_physical_memory_write_rom(addr, data, mem_size); in glue()
251 total_size += mem_size; in glue()
254 if ((addr + mem_size) > high) in glue()
255 high = addr + mem_size; in glue()
/external/lldb/source/Core/
DFileSpecList.cpp168 size_t mem_size = sizeof(FileSpecList); in MemorySize() local
172 mem_size += pos->MemorySize(); in MemorySize()
175 return mem_size; in MemorySize()
DConstString.cpp154 size_t mem_size = sizeof(Pool); in MemorySize() local
158 mem_size += sizeof(StringPoolEntryType) + pos->getKey().size(); in MemorySize()
160 return mem_size; in MemorySize()
/external/lldb/source/Symbol/
DVariableList.cpp176 size_t mem_size = sizeof(VariableList); in MemorySize() local
179 mem_size += (*pos)->MemorySize(); in MemorySize()
180 return mem_size; in MemorySize()
DBlock.cpp443 size_t mem_size = sizeof(Block) + m_ranges.GetSize() * sizeof(Range); in MemorySize() local
445 mem_size += m_inlineInfoSP->MemorySize(); in MemorySize()
447 mem_size += m_variable_list_sp->MemorySize(); in MemorySize()
448 return mem_size; in MemorySize()
DFunction.cpp424 size_t mem_size = sizeof(Function) + m_block.MemorySize(); in MemorySize() local
425 return mem_size; in MemorySize()
/external/valgrind/main/memcheck/tests/x86/
Dsse_memory.c133 #define TEST_INSN(res_mask,mem_size,insn) \ argument
151 buf = memalign16(mem_size); \
152 randomise(buf,mem_size); \
154 showRM(#insn, &margs, buf, mem_size, res_mask);\
/external/valgrind/main/memcheck/tests/amd64/
Dsse_memory.c133 #define TEST_INSN(res_mask,mem_size,insn) \ argument
151 buf = memalign16(mem_size); \
152 randomise(buf,mem_size); \
154 showRM(#insn, &margs, buf, mem_size, res_mask);\
/external/chromium_org/sandbox/win/tests/validation_tests/
Dcommands.cc317 size_t mem_size = static_cast<size_t>(_wtoll(argv[0])); in AllocateCmd() local
318 void* memory = ::VirtualAlloc(NULL, mem_size, MEM_COMMIT | MEM_RESERVE, in AllocateCmd()
/external/lldb/source/Expression/
DIRMemoryMap.cpp515 const size_t mem_size = scalar.GetAsMemoryData (buf, size, GetByteOrder(), error); in WriteScalarToMemory() local
516 if (mem_size > 0) in WriteScalarToMemory()
518 return WriteMemory(process_address, buf, mem_size, error); in WriteScalarToMemory()
/external/chromium_org/v8/test/cctest/
Dtest-mark-compact.cc52 int mem_size = 20 * kPointerSize; in TEST() local
55 Address high = low + mem_size; in TEST()
/external/bluetooth/bluedroid/stack/include/
Dsdp_api.h133 UINT32 mem_size; /* Memory size of the DB */ member
/external/openssl/crypto/bn/asm/
Dmodexp512-x86_64.pl314 my $mem_size = 8*8*32 + $garray_offset;
1120 sub \$$mem_size, %rsp
/external/chromium_org/third_party/boringssl/src/crypto/bn/asm/
Dmodexp512-x86_64.pl314 my $mem_size = 8*8*32 + $garray_offset;
1120 sub \$$mem_size, %rsp
/external/bluetooth/bluedroid/stack/sdp/
Dsdp_api.c90 p_db->mem_size = len - sizeof (tSDP_DISCOVERY_DB); in SDP_InitDiscoveryDb()
91 p_db->mem_free = p_db->mem_size; in SDP_InitDiscoveryDb()
/external/lldb/source/Target/
DProcess.cpp2660 const size_t mem_size = scalar.GetAsMemoryData (buf, byte_size, GetByteOrder(), error); in WriteScalarToMemory() local
2661 if (mem_size > 0) in WriteScalarToMemory()
2662 return WriteMemory(addr, buf, mem_size, error); in WriteScalarToMemory()