/external/llvm/unittests/Support/ |
D | MemoryTest.cpp | 31 case Memory::MF_READ: in getTestableEquivalent() 32 case Memory::MF_WRITE: in getTestableEquivalent() 33 case Memory::MF_READ|Memory::MF_WRITE: in getTestableEquivalent() 34 return Memory::MF_READ|Memory::MF_WRITE; in getTestableEquivalent() 35 case Memory::MF_READ|Memory::MF_EXEC: in getTestableEquivalent() 36 case Memory::MF_READ|Memory::MF_WRITE|Memory::MF_EXEC: in getTestableEquivalent() 37 case Memory::MF_EXEC: in getTestableEquivalent() 38 return Memory::MF_READ|Memory::MF_WRITE|Memory::MF_EXEC; in getTestableEquivalent() 41 return Memory::MF_READ|Memory::MF_WRITE; in getTestableEquivalent() 61 MemoryBlock M1 = Memory::allocateMappedMemory(sizeof(int), nullptr, Flags,EC); in TEST_P() [all …]
|
/external/v8/src/arm/ |
D | assembler-arm-inl.h | 79 Assembler::IsMovW(Memory::int32_at(pc_))) { in target_address_address() 85 DCHECK(Assembler::IsLdrPcImmediateOffset(Memory::int32_at(pc_))); in target_address_address() 140 return Memory::Address_at(pc_); in target_internal_reference() 167 Address address = Memory::Address_at(pc_); in target_cell_handle() 174 return Cell::FromValueAddress(Memory::Address_at(pc_)); in target_cell() 183 Memory::Address_at(pc_) = address; in set_target_cell() 203 Memory::Address_at(pc_ + in code_age_stub() 211 Memory::Address_at(pc_ + in set_code_age_stub() 221 return Memory::Address_at(pc_ + Assembler::kPatchDebugBreakSlotAddressOffset); in debug_call_address() 227 Memory::Address_at(pc_ + Assembler::kPatchDebugBreakSlotAddressOffset) = in set_debug_call_address() [all …]
|
/external/llvm/lib/Support/Windows/ |
D | Memory.inc | 1 //===- Win32/Memory.cpp - Win32 Memory Implementation -----------*- C++ -*-===// 10 // This file provides the Win32 specific implementation of various Memory 29 case llvm::sys::Memory::MF_READ: 31 case llvm::sys::Memory::MF_WRITE: 34 case llvm::sys::Memory::MF_READ|llvm::sys::Memory::MF_WRITE: 36 case llvm::sys::Memory::MF_READ|llvm::sys::Memory::MF_EXEC: 38 case llvm::sys::Memory::MF_READ | 39 llvm::sys::Memory::MF_WRITE | 40 llvm::sys::Memory::MF_EXEC: 42 case llvm::sys::Memory::MF_EXEC: [all …]
|
/external/pcre/dist2/testdata/ |
D | testoutput8-32-3 | 13 Memory allocation (code space): 48 24 Memory allocation (code space): 76 39 Memory allocation (code space): 72 54 Memory allocation (code space): 60 64 Memory allocation (code space): 20 76 Memory allocation (code space): 28 89 Memory allocation (code space): 28 98 Memory allocation (code space): 28 107 Memory allocation (code space): 40 117 Memory allocation (code space): 52 [all …]
|
D | testoutput8-8-4 | 13 Memory allocation (code space): 25 24 Memory allocation (code space): 35 39 Memory allocation (code space): 33 54 Memory allocation (code space): 45 64 Memory allocation (code space): 11 76 Memory allocation (code space): 13 89 Memory allocation (code space): 13 98 Memory allocation (code space): 13 107 Memory allocation (code space): 17 117 Memory allocation (code space): 26 [all …]
|
D | testoutput8-16-2 | 13 Memory allocation (code space): 24 24 Memory allocation (code space): 38 39 Memory allocation (code space): 36 54 Memory allocation (code space): 46 64 Memory allocation (code space): 10 76 Memory allocation (code space): 14 89 Memory allocation (code space): 14 98 Memory allocation (code space): 14 107 Memory allocation (code space): 20 117 Memory allocation (code space): 26 [all …]
|
D | testoutput8-16-3 | 13 Memory allocation (code space): 32 24 Memory allocation (code space): 48 39 Memory allocation (code space): 46 54 Memory allocation (code space): 50 64 Memory allocation (code space): 14 76 Memory allocation (code space): 18 89 Memory allocation (code space): 18 98 Memory allocation (code space): 18 107 Memory allocation (code space): 24 117 Memory allocation (code space): 34 [all …]
|
D | testoutput8-8-2 | 13 Memory allocation (code space): 17 24 Memory allocation (code space): 25 39 Memory allocation (code space): 23 54 Memory allocation (code space): 41 64 Memory allocation (code space): 7 76 Memory allocation (code space): 9 89 Memory allocation (code space): 9 98 Memory allocation (code space): 9 107 Memory allocation (code space): 13 117 Memory allocation (code space): 18 [all …]
|
D | testoutput8-8-3 | 13 Memory allocation (code space): 21 24 Memory allocation (code space): 30 39 Memory allocation (code space): 28 54 Memory allocation (code space): 43 64 Memory allocation (code space): 9 76 Memory allocation (code space): 11 89 Memory allocation (code space): 11 98 Memory allocation (code space): 11 107 Memory allocation (code space): 15 117 Memory allocation (code space): 22 [all …]
|
D | testoutput8-32-2 | 13 Memory allocation (code space): 48 24 Memory allocation (code space): 76 39 Memory allocation (code space): 72 54 Memory allocation (code space): 60 64 Memory allocation (code space): 20 76 Memory allocation (code space): 28 89 Memory allocation (code space): 28 98 Memory allocation (code space): 28 107 Memory allocation (code space): 40 117 Memory allocation (code space): 52 [all …]
|
D | testoutput8-32-4 | 13 Memory allocation (code space): 48 24 Memory allocation (code space): 76 39 Memory allocation (code space): 72 54 Memory allocation (code space): 60 64 Memory allocation (code space): 20 76 Memory allocation (code space): 28 89 Memory allocation (code space): 28 98 Memory allocation (code space): 28 107 Memory allocation (code space): 40 117 Memory allocation (code space): 52 [all …]
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | OrcABISupport.cpp | 158 auto StubsMem = sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory( in emitIndirectStubsBlock() 160 sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC)); in emitIndirectStubsBlock() 179 if (auto EC = sys::Memory::protectMappedMemory( in emitIndirectStubsBlock() 180 StubsBlock, sys::Memory::MF_READ | sys::Memory::MF_EXEC)) in emitIndirectStubsBlock() 240 auto StubsMem = sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory( in emitIndirectStubsBlock() 242 sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC)); in emitIndirectStubsBlock() 260 if (auto EC = sys::Memory::protectMappedMemory( in emitIndirectStubsBlock() 261 StubsBlock, sys::Memory::MF_READ | sys::Memory::MF_EXEC)) in emitIndirectStubsBlock() 508 auto StubsMem = sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory( in emitIndirectStubsBlock() 510 sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC)); in emitIndirectStubsBlock() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Support/Windows/ |
D | Memory.inc | 1 //===- Win32/Memory.cpp - Win32 Memory Implementation -----------*- C++ -*-===// 10 // This file provides the Win32 specific implementation of various Memory 27 MemoryBlock Memory::AllocateRWX(size_t NumBytes, 45 MakeErrMsg(ErrMsg, "Can't allocate RWX Memory: "); 55 bool Memory::ReleaseRWX(MemoryBlock &M, std::string *ErrMsg) { 58 return MakeErrMsg(ErrMsg, "Can't release RWX Memory: "); 70 bool Memory::setWritable(MemoryBlock &M, std::string *ErrMsg) { 77 bool Memory::setExecutable(MemoryBlock &M, std::string *ErrMsg) { 84 bool Memory::setRangeWritable(const void *Addr, size_t Size) { 96 sys::Memory::InvalidateInstructionCache(Addr, Size); [all …]
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/ |
D | Memory.inc | 1 //===- Unix/Memory.cpp - Generic UNIX System Configuration ------*- C++ -*-===// 45 case llvm::sys::Memory::MF_READ: 47 case llvm::sys::Memory::MF_WRITE: 49 case llvm::sys::Memory::MF_READ|llvm::sys::Memory::MF_WRITE: 51 case llvm::sys::Memory::MF_READ|llvm::sys::Memory::MF_EXEC: 53 case llvm::sys::Memory::MF_READ | llvm::sys::Memory::MF_WRITE | 54 llvm::sys::Memory::MF_EXEC: 56 case llvm::sys::Memory::MF_EXEC: 82 Memory::allocateMappedMemory(size_t NumBytes, 126 Memory::InvalidateInstructionCache(Result.Address, Result.Size); [all …]
|
/external/llvm/lib/Support/Unix/ |
D | Memory.inc | 1 //===- Unix/Memory.cpp - Generic UNIX System Configuration ------*- C++ -*-===// 45 case llvm::sys::Memory::MF_READ: 47 case llvm::sys::Memory::MF_WRITE: 49 case llvm::sys::Memory::MF_READ|llvm::sys::Memory::MF_WRITE: 51 case llvm::sys::Memory::MF_READ|llvm::sys::Memory::MF_EXEC: 53 case llvm::sys::Memory::MF_READ | llvm::sys::Memory::MF_WRITE | 54 llvm::sys::Memory::MF_EXEC: 56 case llvm::sys::Memory::MF_EXEC: 82 Memory::allocateMappedMemory(size_t NumBytes, 134 Memory::InvalidateInstructionCache(Result.Address, Result.Size); [all …]
|
/external/clang/test/Analysis/ |
D | MismatchedDeallocator-checker-test.mm | 23 …delete p; // expected-warning{{Memory allocated by malloc() should be deallocated by free(), not '… 29 …delete q; // expected-warning{{Memory allocated by realloc() should be deallocated by free(), not … 34 …delete p; // expected-warning{{Memory allocated by calloc() should be deallocated by free(), not '… 39 …delete p; // expected-warning{{Memory allocated by strdup() should be deallocated by free(), not '… 44 …delete p; // expected-warning{{Memory allocated by my_malloc() should be deallocated by free(), no… 49 …operator delete(p); // expected-warning{{Memory allocated by malloc() should be deallocated by fre… 54 …delete[] p; // expected-warning{{Memory allocated by malloc() should be deallocated by free(), not… 59 …operator delete[](p); // expected-warning{{Memory allocated by malloc() should be deallocated by f… 64 delete p; // expected-warning{{Memory allocated by alloca() should not be deallocated}} 70 …free(p); // expected-warning{{Memory allocated by 'new' should be deallocated by 'delete', not fre… [all …]
|
/external/autotest/client/site_tests/platform_MemCheck/ |
D | control | 5 - Total Memory 6 - Free Memory 9 - Virtual Memory 24 Total Memory 25 Free Memory 27 Virtual Memory Total 28 Memory Speed
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/AsmParser/ |
D | ARMAsmParser.cpp | 338 } Memory; member 413 Memory = o.Memory; in ARMOperand() 681 return Memory.OffsetRegNum == 0 && Memory.OffsetImm == 0 && in isMemNoOffset() 682 (alignOK || Memory.Alignment == 0); in isMemNoOffset() 688 if (!isMemory() || Memory.Alignment != 0) return false; in isAddrMode2() 690 if (Memory.OffsetRegNum) return true; in isAddrMode2() 692 if (!Memory.OffsetImm) return true; in isAddrMode2() 693 int64_t Val = Memory.OffsetImm->getValue(); in isAddrMode2() 706 if (!isMemory() || Memory.Alignment != 0) return false; in isAddrMode3() 708 if (Memory.ShiftType != ARM_AM::no_shift) return false; in isAddrMode3() [all …]
|
/external/v8/src/ |
D | frames-inl.h | 46 return FromAddress(Memory::Address_at(address() + offset)); in next() 118 return Memory::Object_at(fp() + receiverOffset); in receiver_slot_object() 122 return Memory::Object_at(fp() + BuiltinExitFrameConstants::kArgcOffset); in argc_slot_object() 126 return Memory::Object_at(fp() + BuiltinExitFrameConstants::kTargetOffset); in target_slot_object() 130 return Memory::Object_at(fp() + BuiltinExitFrameConstants::kNewTargetOffset); in new_target_slot_object() 139 return Memory::Object_at(GetExpressionAddress(index)); in GetExpression() 144 Memory::Object_at(GetExpressionAddress(index)) = value; in SetExpression() 149 return Memory::Address_at(fp() + StandardFrameConstants::kCallerFPOffset); in caller_fp() 154 return Memory::Address_at(ComputePCAddress(fp())); in caller_pc() 170 Memory::intptr_at(fp + TypedFrameConstants::kFrameTypeOffset); in IsArgumentsAdaptorFrame() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMJITInfo.cpp | 125 if (!sys::Memory::setRangeWritable((void*)StubAddr, 8)) { in ARMCompilationCallbackC() 130 if (!sys::Memory::setRangeExecutable((void*)StubAddr, 8)) { in ARMCompilationCallbackC() 181 if (!sys::Memory::setRangeWritable(Addr, 16)) { in emitFunctionStub() 188 sys::Memory::InvalidateInstructionCache(Addr, 16); in emitFunctionStub() 189 if (!sys::Memory::setRangeExecutable(Addr, 16)) { in emitFunctionStub() 196 if (!sys::Memory::setRangeWritable(Addr, 8)) { in emitFunctionStub() 201 sys::Memory::InvalidateInstructionCache(Addr, 8); in emitFunctionStub() 202 if (!sys::Memory::setRangeExecutable(Addr, 8)) { in emitFunctionStub() 216 if (!sys::Memory::setRangeWritable(Addr, 16)) { in emitFunctionStub() 229 sys::Memory::InvalidateInstructionCache(Addr, 16); in emitFunctionStub() [all …]
|
/external/llvm/lib/ExecutionEngine/ |
D | SectionMemoryManager.cpp | 87 sys::MemoryBlock MB = sys::Memory::allocateMappedMemory(RequiredSize, in allocateSection() 89 sys::Memory::MF_READ | in allocateSection() 90 sys::Memory::MF_WRITE, in allocateSection() 132 sys::Memory::MF_READ | sys::Memory::MF_EXEC); in finalizeMemory() 142 sys::Memory::MF_READ | sys::Memory::MF_EXEC); in finalizeMemory() 184 if (std::error_code EC = sys::Memory::protectMappedMemory(MB, Permissions)) in applyMemoryGroupPermissions() 208 sys::Memory::InvalidateInstructionCache(Block.base(), Block.size()); in invalidateInstructionCache() 214 sys::Memory::releaseMappedMemory(Block); in ~SectionMemoryManager()
|
/external/llvm/lib/Target/X86/AsmParser/ |
D | X86Operand.h | 30 Memory enumerator 108 assert(Kind == Memory && "Invalid access!"); in getMemDisp() 112 assert(Kind == Memory && "Invalid access!"); in getMemSegReg() 116 assert(Kind == Memory && "Invalid access!"); in getMemBaseReg() 120 assert(Kind == Memory && "Invalid access!"); in getMemIndexReg() 124 assert(Kind == Memory && "Invalid access!"); in getMemScale() 128 assert(Kind == Memory && "Invalid access!"); in getMemModeSize() 208 bool isMem() const override { return Kind == Memory; } in isMem() 210 return Kind == Memory && Mem.Size == 0; in isMemUnsized() 213 return Kind == Memory && (!Mem.Size || Mem.Size == 8); in isMem8() [all …]
|
/external/llvm/include/llvm/ExecutionEngine/Orc/ |
D | OrcRemoteTargetServer.h | 144 sys::Memory::releaseMappedMemory(Alloc.second); in ~Allocator() 149 sys::MemoryBlock MB = sys::Memory::allocateMappedMemory( in allocate() 150 Size, nullptr, sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC); in allocate() 165 sys::Memory::protectMappedMemory(I->second, Flags)); in setProtections() 298 ResolverBlock = sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory( in handleEmitResolverBlock() 300 sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC)); in handleEmitResolverBlock() 307 return errorCodeToError(sys::Memory::protectMappedMemory( in handleEmitResolverBlock() 309 sys::Memory::MF_READ | sys::Memory::MF_EXEC)); in handleEmitResolverBlock() 315 sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory( in handleEmitTrampolineBlock() 317 sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC)); in handleEmitTrampolineBlock() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Support/Unix/ |
D | Memory.inc | 1 //===- Unix/Memory.cpp - Generic UNIX System Configuration ------*- C++ -*-===// 32 llvm::sys::Memory::AllocateRWX(size_t NumBytes, const MemoryBlock* NearBlock, 71 MakeErrMsg(ErrMsg, "Can't allocate RWX Memory"); 100 bool llvm::sys::Memory::ReleaseRWX(MemoryBlock &M, std::string *ErrMsg) { 103 return MakeErrMsg(ErrMsg, "Can't release RWX Memory"); 107 bool llvm::sys::Memory::setWritable (MemoryBlock &M, std::string *ErrMsg) { 110 sys::Memory::InvalidateInstructionCache(M.Address, M.Size); 119 bool llvm::sys::Memory::setExecutable (MemoryBlock &M, std::string *ErrMsg) { 122 sys::Memory::InvalidateInstructionCache(M.Address, M.Size); 131 bool llvm::sys::Memory::setRangeWritable(const void *Addr, size_t Size) { [all …]
|
/external/v8/src/x64/ |
D | assembler-x64-inl.h | 30 Memory::uint32_at(pc_) = x; in emitl() 37 Memory::uintptr_at(pc_) = value; in emitp() 46 Memory::uint64_at(pc_) = x; in emitq() 52 Memory::uint16_at(pc_) = x; in emitw() 276 return Memory::int32_at(pc) + pc + 4; in target_address_at() 283 Memory::int32_at(pc) = static_cast<int32_t>(target - pc - 4); in set_target_address_at() 303 Memory::Address_at(pc) = target; in deserialization_set_target_internal_reference_at() 317 return code_targets_[Memory::int32_at(pc)]; in code_target_object_handle_at() 322 return Memory::int32_at(pc) + in runtime_entry_at() 332 Memory::int32_at(pc_) -= static_cast<int32_t>(delta); in apply() [all …]
|