Home
last modified time | relevance | path

Searched refs:Memory (Results 1 - 25 of 146) sorted by relevance

123456

/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DCLMemory.h6 // CLMemory.h: Defines the abstract cl::Memory class, which is a memory object
24 class Memory : public _cl_mem, public Object class
36 ~Memory() override;
51 static Memory *Cast(cl_mem memobj);
56 Memory(const Buffer &buffer,
64 Memory(const Buffer &buffer,
71 Memory(const Image &image,
77 Memory *parent,
97 inline const Context &Memory::getContext() const in getContext()
102 inline const Memory
[all...]
H A DCLMemory.cpp6 // CLMemory.cpp: Implements the cl::Memory class.
21 MemFlags InheritMemFlags(MemFlags flags, Memory *parent) in InheritMemFlags()
46 cl_int Memory::setDestructorCallback(MemoryCB pfnNotify, void *userData) in setDestructorCallback()
52 cl_int Memory::getInfo(MemInfo name, size_t valueSize, void *value, size_t *valueSizeRet) const in getInfo()
98 valPointer = Memory::CastNative(mParent.get()); in getInfo()
122 // as described in the Memory Object Info table and param_value is not NULL. in getInfo()
139 Memory::~Memory() in ~Memory()
152 Memory::Memory(cons function in cl::Memory
168 Memory::Memory(const Buffer &buffer, Memory() function in cl::Memory
185 Memory::Memory(const Image &image, Memory() function in cl::Memory
[all...]
H A DCLImage.h18 class Image final : public Memory
48 Memory *parent,
60 return Memory::IsValid(image) && IsTypeValid(image->cast<Memory>().getType()); in IsValid()
H A DCLBuffer.h16 class Buffer final : public Memory
53 return Memory::IsValid(buffer) && buffer->cast<Memory>().getType() == MemObjectType::Buffer; in IsValid()
/third_party/node/deps/v8/src/codegen/arm/
H A Dassembler-arm-inl.h76 if (Assembler::IsMovW(Memory<int32_t>(pc_))) { in target_address_address()
78 } else if (Assembler::IsLdrPcImmediateOffset(Memory<int32_t>(pc_))) { in target_address_address()
81 DCHECK(Assembler::IsBOrBlPcImmediateOffset(Memory<int32_t>(pc_))); in target_address_address()
147 return Memory<Address>(pc_); in target_internal_reference()
178 Memory<Address>(pc_) = kNullAddress; in WipeOut()
220 Memory<Address>(constant_pool_entry) = target; in deserialization_set_special_target_at()
229 Memory<Address>(pc) = target; in deserialization_set_target_internal_reference_at()
233 return IsLdrPcImmediateOffset(Memory<int32_t>(pc)); in is_constant_pool_load()
238 DCHECK(Assembler::IsLdrPcImmediateOffset(Memory<int32_t>(pc))); in constant_pool_entry_address()
239 Instr instr = Memory<int32_ in constant_pool_entry_address()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DMemory.cpp1 //===- Memory.cpp - Memory Handling Support ---------------------*- C++ -*-===//
14 #include "llvm/Support/Memory.h"
24 #include "Unix/Memory.inc"
27 #include "Windows/Memory.inc"
35 raw_ostream &operator<<(raw_ostream &OS, const Memory::ProtectionFlags &PF) { in operator <<()
36 assert((PF & ~(Memory::MF_READ | Memory::MF_WRITE | Memory::MF_EXEC)) == 0 && in operator <<()
39 return OS << (PF & Memory in operator <<()
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DInstancingTest.cpp23 Memory enumerator
347 TEST_INDEXED(0, TriFan, Memory, Angle)
349 TEST_INDEXED(1, TriFan, Memory, Angle)
351 TEST_INDEXED(0, TriFan, Memory, Ext)
353 TEST_INDEXED(1, TriFan, Memory, Ext)
355 TEST_INDEXED(0, Quad, Memory, Angle)
357 TEST_INDEXED(1, Quad, Memory, Angle)
359 TEST_INDEXED(0, Point, Memory, Angle)
361 TEST_INDEXED(1, Point, Memory, Angle)
363 TEST_INDEXED(0, Quad, Memory, Ex
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/AsmParser/
H A DX86Operand.h32 enum KindTy { Token, Register, Immediate, Memory, Prefix, DXRegister } Kind; enumerator
131 case Memory:
132 OS << "Memory: ModeSize=" << Mem.ModeSize;
176 assert(Kind == Memory && "Invalid access!"); in getMemDisp()
180 assert(Kind == Memory && "Invalid access!"); in getMemSegReg()
184 assert(Kind == Memory && "Invalid access!"); in getMemBaseReg()
188 assert(Kind == Memory && "Invalid access!"); in getMemIndexReg()
192 assert(Kind == Memory && "Invalid access!"); in getMemScale()
196 assert(Kind == Memory && "Invalid access!"); in getMemModeSize()
200 assert(Kind == Memory in getMemFrontendSize()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
H A DOrcABISupport.cpp156 auto StubsMem = sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory( in emitIndirectStubsBlock()
158 sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC)); in emitIndirectStubsBlock()
177 if (auto EC = sys::Memory::protectMappedMemory( in emitIndirectStubsBlock()
178 StubsBlock, sys::Memory::MF_READ | sys::Memory::MF_EXEC)) in emitIndirectStubsBlock()
238 auto StubsMem = sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory( in emitIndirectStubsBlock()
240 sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC)); in emitIndirectStubsBlock()
258 if (auto EC = sys::Memory in emitIndirectStubsBlock()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.cpp54 if (auto EC = sys::Memory::releaseMappedMemory(Slab)) in allocate()
64 if (auto EC = sys::Memory::protectMappedMemory(Block, Prot)) in allocate()
66 if (Prot & sys::Memory::MF_EXEC) in allocate()
67 sys::Memory::InvalidateInstructionCache(Block.base(), in allocate()
81 const sys::Memory::ProtectionFlags ReadWrite = in allocate()
82 static_cast<sys::Memory::ProtectionFlags>(sys::Memory::MF_READ | in allocate()
83 sys::Memory::MF_WRITE); in allocate()
103 sys::Memory::allocateMappedMemory(TotalSize, nullptr, ReadWrite, EC); in allocate()
H A DMachOLinkGraphBuilder.cpp92 auto Prot = static_cast<sys::Memory::ProtectionFlags>( in getCommonSection()
93 sys::Memory::MF_READ | sys::Memory::MF_WRITE); in getCommonSection()
157 sys::Memory::ProtectionFlags Prot; in createNormalizedSections()
159 Prot = static_cast<sys::Memory::ProtectionFlags>(sys::Memory::MF_READ | in createNormalizedSections()
160 sys::Memory::MF_EXEC); in createNormalizedSections()
162 Prot = static_cast<sys::Memory::ProtectionFlags>(sys::Memory::MF_READ | in createNormalizedSections()
163 sys::Memory in createNormalizedSections()
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
H A DReadOnlySequenceFactory.cs77 /// https://github.com/dotnet/corefx/blob/e99ec129cfd594d53f4390bf97d1d736cff6f860/src/System.Memory/tests/ReadOnlyBuffer/ReadOnlySequenceFactory.byte.cs
104 var memory = new Memory<byte>(chars).Slice(length, length); in CreateSegments()
118 return new ReadOnlySequence<byte>(first, 0, last, last.Memory.Length); in CreateSegments()
123 public BufferSegment(Memory<byte> memory) in BufferSegment()
125 Memory = memory; in BufferSegment()
128 public BufferSegment Append(Memory<byte> memory) in Append()
132 RunningIndex = RunningIndex + Memory.Length in Append()
/third_party/node/deps/v8/src/execution/
H A Dframes-inl.h52 return FromAddress(base::Memory<Address>(address() + offset)); in next()
56 return base::Memory<Address>(address() + StackHandlerConstants::kNextOffset); in next_address()
132 return Object(base::Memory<Address>(fp() + receiverOffset)); in receiver_slot_object()
137 base::Memory<Address>(fp() + BuiltinExitFrameConstants::kArgcOffset)); in argc_slot_object()
142 base::Memory<Address>(fp() + BuiltinExitFrameConstants::kTargetOffset)); in target_slot_object()
146 return Object(base::Memory<Address>( in new_target_slot_object()
154 return Object(base::Memory<Address>(GetExpressionAddress(index))); in GetExpression()
158 base::Memory<Address>(GetExpressionAddress(index)) = value.ptr(); in SetExpression()
162 return base::Memory<Address>(fp() + StandardFrameConstants::kCallerFPOffset); in caller_fp()
179 base::Memory<intptr_ in IsConstructFrame()
[all...]
H A Dframes.cc52 base::Memory<Address>(raw + StackHandlerConstants::kPaddingOffset); in AddressOf()
295 intptr_t marker = Memory<intptr_t>( in IsInterpreterFramePc()
301 Memory<Address>(state->fp + StandardFrameConstants::kFunctionOffset)); in IsInterpreterFramePc()
341 Memory<intptr_t>(fp + CommonFrameConstants::kContextOrFrameTypeOffset); in IsNoFrameBytecodeHandlerPc()
437 Memory<Address>(fp + CommonFrameConstants::kContextOrFrameTypeOffset); in SafeStackFrameIterator()
503 Memory<Address>(frame->fp() + EntryFrameConstants::kCallerFPOffset); in IsValidCaller()
609 intptr_t marker = Memory<intptr_t>( in ComputeType()
622 Memory<Address>(state->fp + StandardFrameConstants::kFunctionOffset)); in ComputeType()
753 state->fp = Memory<Address>(fp() + CommonFrameConstants::kCallerFPOffset); in ComputeCallerState()
770 Address fp = Memory<Addres in GetCallerState()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
H A DOrcRemoteTargetServer.h24 #include "llvm/Support/Memory.h"
118 sys::Memory::releaseMappedMemory(Alloc.second); in ~Allocator()
123 sys::MemoryBlock MB = sys::Memory::allocateMappedMemory( in allocate()
124 Size, nullptr, sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC); in allocate()
139 sys::Memory::protectMappedMemory(I->second, Flags)); in setProtections()
284 ResolverBlock = sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory( in handleEmitResolverBlock()
286 sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC)); in handleEmitResolverBlock()
293 return errorCodeToError(sys::Memory in handleEmitResolverBlock()
[all...]
H A DIndirectionUtils.h22 #include "llvm/Support/Memory.h"
123 ResolverBlock = sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory( in LocalTrampolinePool()
125 sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC)); in LocalTrampolinePool()
134 EC = sys::Memory::protectMappedMemory(ResolverBlock.getMemoryBlock(), in LocalTrampolinePool()
135 sys::Memory::MF_READ | in LocalTrampolinePool()
136 sys::Memory::MF_EXEC); in LocalTrampolinePool()
148 sys::OwningMemoryBlock(sys::Memory::allocateMappedMemory( in grow()
150 sys::Memory::MF_READ | sys::Memory in grow()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
H A DSectionMemoryManager.cpp1 //===- SectionMemoryManager.cpp - Memory manager for MCJIT/RtDyld *- C++ -*-==//
106 sys::Memory::MF_READ | sys::Memory::MF_WRITE, ec); in allocateSection()
146 sys::Memory::MF_READ | sys::Memory::MF_EXEC); in finalizeMemory()
155 ec = applyMemoryGroupPermissions(RODataMem, sys::Memory::MF_READ); in finalizeMemory()
223 sys::Memory::InvalidateInstructionCache(Block.base(), in invalidateInstructionCache()
240 // into sys::Memory.
247 return sys::Memory::allocateMappedMemory(NumBytes, NearBlock, Flags, EC);
252 return sys::Memory
[all...]
/third_party/node/deps/v8/src/codegen/
H A Dhandler-table.cc71 return Memory<int32_t>(raw_encoded_data_ + offset * sizeof(int32_t)); in GetRangeStart()
78 return Memory<int32_t>(raw_encoded_data_ + offset * sizeof(int32_t)); in GetRangeEnd()
86 Memory<int32_t>(raw_encoded_data_ + offset * sizeof(int32_t))); in GetRangeHandler()
93 return Memory<int32_t>(raw_encoded_data_ + offset * sizeof(int32_t)); in GetRangeData()
102 Memory<int32_t>(raw_encoded_data_ + offset * sizeof(int32_t))); in GetRangePrediction()
109 return Memory<int32_t>(raw_encoded_data_ + offset * sizeof(int32_t)); in GetReturnOffset()
117 Memory<int32_t>(raw_encoded_data_ + offset * sizeof(int32_t))); in GetReturnHandler()
122 Memory<int32_t>(raw_encoded_data_ + offset * sizeof(int32_t)) = value; in SetRangeStart()
127 Memory<int32_t>(raw_encoded_data_ + offset * sizeof(int32_t)) = value; in SetRangeEnd()
135 Memory<int32_ in SetRangeHandler()
[all...]
/third_party/curl/docs/examples/
H A Dhttp2-pushinmemory.c39 struct Memory { struct
48 struct Memory *mem = (struct Memory *)userp; in write_cb()
65 static struct Memory files[MAX_FILES];
68 static void init_memory(struct Memory *chunk) in init_memory()
/third_party/node/deps/v8/src/sandbox/
H A Dexternal-pointer-inl.h40 base::Memory<ExternalPointer_t>(field_address) = index; in InitExternalPointerField()
49 base::Memory<ExternalPointer_t>(field_address) = encoded_value; in InitExternalPointerField()
61 return base::Memory<ExternalPointer_t>(field_address); in ReadRawExternalPointerField()
76 ExternalPointer_t index = base::Memory<ExternalPointer_t>(field_address); in WriteExternalPointerField()
87 base::Memory<ExternalPointer_t>(field_address) = encoded_value; in WriteExternalPointerField()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DMemory.h1 //===- llvm/Support/Memory.h - Memory Support -------------------*- C++ -*-===//
9 // This file declares the llvm::sys::Memory class.
28 /// and a size. It is used by the Memory class (a friend) as the result of
30 /// @see Memory
31 /// Memory block abstraction.
46 friend class Memory;
53 class Memory { class
153 Memory::releaseMappedMemory(M); in ~OwningMemoryBlock()
165 /// Debugging output for Memory
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp849 struct MemoryOp Memory; member
1042 if(!Memory.OffsetImm || Memory.OffsetRegNum) return false; in isThumbMemPC()
1043 if(Memory.BaseRegNum != ARM::PC) return false; in isThumbMemPC()
1044 Val = Memory.OffsetImm->getValue(); in isThumbMemPC()
1293 if (Memory.BaseRegNum && in isMVEMem()
1294 !ARMMCRegisterClasses[ARM::GPRRegClassID].contains(Memory.BaseRegNum) && in isMVEMem()
1295 !ARMMCRegisterClasses[ARM::MQPRRegClassID].contains(Memory.BaseRegNum)) in isMVEMem()
1297 if (Memory.OffsetRegNum && in isMVEMem()
1299 Memory in isMVEMem()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
H A DPredIteratorCache.h32 /// Memory - This is the space that holds cached preds.
33 BumpPtrAllocator Memory; member in llvm::PredIteratorCache
52 Entry = Memory.Allocate<BasicBlock *>(PredCache.size()); in GetPreds()
74 Memory.Reset(); in clear()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DMemory.h1 //===- llvm/Support/Memory.h - Memory Support -------------------*- C++ -*-===//
10 // This file declares the llvm::sys::Memory class.
25 /// and a size. It is used by the Memory class (a friend) as the result of
27 /// @see Memory
28 /// @brief Memory block abstraction.
39 friend class Memory;
46 class Memory { class
174 Memory::releaseMappedMemory(M); in ~OwningMemoryBlock()
/third_party/node/test/fixtures/wpt/wasm/jsapi/
H A Dbad-imports.js138 [WebAssembly.Memory, "WebAssembly.Memory"],
139 [WebAssembly.Memory.prototype, "WebAssembly.Memory.prototype"],
140 [Object.create(WebAssembly.Memory.prototype), "Object.create(WebAssembly.Memory.prototype)"],
141 [new WebAssembly.Memory({"initial": 256}), "WebAssembly.Memory object (too large)"],

Completed in 22 milliseconds

123456