HomeSort by relevance Sort by last modified time
    Searched defs:Memory (Results 1 - 25 of 37) sorted by null

1 2

  /libcore/luni/src/test/java/libcore/io/
MemoryTest.java 42 Memory.pokeIntArray(ptr, values, 0, values.length, false);
47 Memory.pokeIntArray(ptr, values, 0, values.length, true);
53 Memory.pokeIntArray(ptr + i * scale, values, i, 1, true);
62 assertEquals(expectedValues[i], Memory.peekInt(ptr + SizeOf.INT * i, swap));
83 Memory.pokeLongArray(ptr, values, 0, values.length, false);
88 Memory.pokeLongArray(ptr, values, 0, values.length, true);
94 Memory.pokeLongArray(ptr + i * scale, values, i, 1, true);
103 assertEquals(expectedValues[i], Memory.peekLong(ptr + SizeOf.LONG * i, swap));
121 Memory.pokeShortArray(ptr, values, 0, values.length, false);
126 Memory.pokeShortArray(ptr, values, 0, values.length, true)
    [all...]
  /art/cmdline/
memory_representation.h 28 // An integral representation of bytes of memory.
31 struct Memory {
34 static Memory<kDivisor> FromBytes(size_t bytes) {
36 return Memory<kDivisor>(bytes);
39 Memory() : Value(0u) {}
40 Memory(size_t value) : Value(value) { // NOLINT [runtime/explicit] [5]
52 str = "Memory<" + std::to_string(kDivisor) + '>';
62 std::ostream& operator<<(std::ostream& stream, Memory<kDivisor> memory) {
63 return stream << memory.Value << '*' << kDivisor
    [all...]
  /external/llvm/include/llvm/IR/
PredIteratorCache.h 33 /// Memory - This is the space that holds cached preds.
34 BumpPtrAllocator Memory;
53 Entry = Memory.Allocate<BasicBlock *>(PredCache.size());
73 Memory.Reset();
  /external/llvm/include/llvm/Support/
Memory.h 1 //===- llvm/Support/Memory.h - Memory Support -------------------*- C++ -*-===//
10 // This file declares the llvm::sys::Memory class.
24 /// This class encapsulates the notion of a memory block which has an address
25 /// and a size. It is used by the Memory class (a friend) as the result of
26 /// various memory allocation operations.
27 /// @see Memory
28 /// @brief Memory block abstraction.
37 void *Address; ///< Address of first byte of memory area
38 size_t Size; ///< Size, in bytes of the memory are
    [all...]
  /external/v8/src/
v8memory.h 11 // Memory provides an interface to 'raw' memory. It encapsulates the casts
14 class Memory {
  /libcore/ojluni/src/main/java/java/nio/
DirectByteBuffer.java 32 import libcore.io.Memory;
41 * Stores the details of the memory backing a DirectByteBuffer. This could be a pointer
44 * whether the underlying memory is "accessible". The notion of "accessibility" is usually
46 * memory as defined by the underlying system.
190 return Memory.peekByte(a);
218 Memory.peekByteArray(ix(pos),
225 Memory.pokeByte(a, x);
265 Memory.pokeByteArray(ix(pos),
309 return (char) Memory.peekShort(position, !nativeByteOrder);
320 char x = (char) Memory.peekShort(ix(position), !nativeByteOrder)
    [all...]
ByteBufferAsDoubleBuffer.java 28 import libcore.io.Memory;
47 // in art which return the address of the first usable byte of the underlying memory, i.e,
141 Memory.memmove(this, ix(0), this, ix(pos), rem << 3);
ByteBufferAsFloatBuffer.java 28 import libcore.io.Memory;
46 // in art which return the address of the first usable byte of the underlying memory, i.e,
140 Memory.memmove(this, ix(0), this, ix(pos), rem << 2);
ByteBufferAsIntBuffer.java 28 import libcore.io.Memory;
46 // in art which return the address of the first usable byte of the underlying memory, i.e,
140 Memory.memmove(this, ix(0), this, ix(pos), rem << 2);
ByteBufferAsLongBuffer.java 28 import libcore.io.Memory;
46 // in art which return the address of the first usable byte of the underlying memory, i.e,
140 Memory.memmove(this, ix(0), this, ix(pos), rem << 3);
ByteBufferAsShortBuffer.java 28 import libcore.io.Memory;
46 // in art which return the address of the first usable byte of the underlying memory, i.e,
139 Memory.memmove(this, ix(0), this, ix(pos), rem << 1);
HeapByteBuffer.java 31 import libcore.io.Memory;
201 Memory.unsafeBulkGet(dst, dstOffset, length * 2, hb, ix(pos), 2, !nativeByteOrder);
225 Memory.unsafeBulkPut(hb, ix(pos), length * 2, src, srcOffset, 2, !nativeByteOrder);
253 Memory.unsafeBulkGet(dst, dstOffset, length * 2, hb, ix(pos), 2, !nativeByteOrder);
277 Memory.unsafeBulkPut(hb, ix(pos), length * 2, src, srcOffset, 2, !nativeByteOrder);
305 Memory.unsafeBulkGet(dst, dstOffset, length * 4, hb, ix(pos), 4, !nativeByteOrder);
329 Memory.unsafeBulkPut(hb, ix(pos), length * 4, src, srcOffset, 4, !nativeByteOrder);
358 Memory.unsafeBulkGet(dst, dstOffset, length * 8, hb, ix(pos), 8, !nativeByteOrder);
382 Memory.unsafeBulkPut(hb, ix(pos), length * 8, src, srcOffset, 8, !nativeByteOrder);
410 Memory.unsafeBulkGet(dst, dstOffset, length * 4, hb, ix(pos), 4, !nativeByteOrder)
    [all...]
ByteBufferAsCharBuffer.java 28 import libcore.io.Memory;
46 // in art which return the address of the first usable byte of the underlying memory, i.e,
144 Memory.memmove(this, ix(0), this, ix(pos), rem << 1);
ByteBuffer.java 31 import libcore.io.Memory;
91 * their impact upon the memory footprint of an application might not be
99 * directly into memory. An implementation of the Java platform may optionally
102 * of memory then an attempt to access that region will not change the buffer's
554 // Use the buffer object (and the raw memory address) if it's a direct buffer. Note that
570 Memory.memmove(dstObject, dstOffset, srcObject, srcOffset, n);
    [all...]
  /frameworks/base/wifi/java/android/net/wifi/nan/
TlvBufferUtils.java 19 import libcore.io.Memory;
191 Memory.pokeShort(mArray, mPosition, data, ByteOrder.BIG_ENDIAN);
209 Memory.pokeInt(mArray, mPosition, data, ByteOrder.BIG_ENDIAN);
266 Memory.pokeShort(mArray, mPosition, (short) type, ByteOrder.BIG_ENDIAN);
273 Memory.pokeShort(mArray, mPosition, (short) length, ByteOrder.BIG_ENDIAN);
343 return Memory.peekShort(mRefArray, mOffset, ByteOrder.BIG_ENDIAN);
358 return Memory.peekInt(mRefArray, mOffset, ByteOrder.BIG_ENDIAN);
466 type = Memory.peekShort(mArray, mOffset, ByteOrder.BIG_ENDIAN);
474 length = Memory.peekShort(mArray, mOffset, ByteOrder.BIG_ENDIAN);
  /external/google-breakpad/src/processor/
synth_minidump.h 38 // streams, memory regions, strings, and so on --- each is a Section
39 // that eventually gets appended to the minidump. Dump, Memory,
46 // using google_breakpad::SynthMinidump::Memory;
51 // Memory stack1(minidump, 0x569eb0a9);
91 // the stream directory; memory ranges should be listed in the
92 // memory list; threads should be placed in the thread list; and so
98 // references to a Memory and a Context, it does not add them to the
101 // cited from more than one place; for example, Memory ranges are
103 // memory list stream.
132 class Memory;
    [all...]
  /frameworks/base/core/java/android/os/
FileBridge.java 28 import libcore.io.Memory;
98 final int cmd = Memory.peekInt(temp, 0, ByteOrder.BIG_ENDIAN);
101 int len = Memory.peekInt(temp, 4, ByteOrder.BIG_ENDIAN);
164 Memory.pokeInt(mTemp, 0, cmd, ByteOrder.BIG_ENDIAN);
169 if (Memory.peekInt(mTemp, 0, ByteOrder.BIG_ENDIAN) == cmd) {
180 Memory.pokeInt(mTemp, 0, CMD_WRITE, ByteOrder.BIG_ENDIAN);
181 Memory.pokeInt(mTemp, 4, byteCount, ByteOrder.BIG_ENDIAN);
ParcelFileDescriptor.java 37 import libcore.io.Memory;
498 * @param name Name for the shared memory area that may back the file descriptor.
501 * @throws IOException if there is an error while creating the shared memory area.
738 Memory.pokeInt(buf, writePtr, status, ByteOrder.BIG_ENDIAN);
772 final int status = Memory.peekInt(buf, 0, ByteOrder.BIG_ENDIAN);
    [all...]
  /frameworks/base/media/java/android/media/
ImageUtils.java 24 import libcore.io.Memory;
153 // carefully to avoid memory corruption. Check if we have enough bytes to
267 Memory.memmove(dstBuffer, dstOffset, srcBuffer, srcOffset, srcByteCount);
  /libcore/luni/src/main/java/libcore/io/
Memory.java 26 * Unsafe access to memory.
28 public final class Memory {
29 private Memory() { }
  /external/clang/lib/Lex/
PreprocessingRecord.cpp 34 char *Memory
36 memcpy(Memory, FileName.data(), FileName.size());
37 Memory[FileName.size()] = 0;
38 this->FileName = StringRef(Memory, FileName.size());
  /external/llvm/lib/Target/X86/AsmParser/
X86Operand.h 30 Memory
108 assert(Kind == Memory && "Invalid access!");
112 assert(Kind == Memory && "Invalid access!");
116 assert(Kind == Memory && "Invalid access!");
120 assert(Kind == Memory && "Invalid access!");
124 assert(Kind == Memory && "Invalid access!");
128 assert(Kind == Memory && "Invalid access!");
208 bool isMem() const override { return Kind == Memory; }
210 return Kind == Memory && Mem.Size == 0;
213 return Kind == Memory && (!Mem.Size || Mem.Size == 8)
    [all...]
  /external/vixl/src/vixl/a64/
simulator-a64.h 236 // Representation of memory, with typed getters and setters for access.
237 class Memory {
401 case 8: register_.Insert(index, Memory::Read<uint8_t>(addr)); break;
402 case 16: register_.Insert(index, Memory::Read<uint16_t>(addr)); break;
403 case 32: register_.Insert(index, Memory::Read<uint32_t>(addr)); break;
404 case 64: register_.Insert(index, Memory::Read<uint64_t>(addr)); break;
412 case 8: Memory::Write(addr, static_cast<uint8_t>(value)); break;
413 case 16: Memory::Write(addr, static_cast<uint16_t>(value)); break;
414 case 32: Memory::Write(addr, static_cast<uint32_t>(value)); break;
415 case 64: Memory::Write(addr, value); break
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/memory/
vktMemoryPipelineBarrierTests.cpp 77 namespace memory namespace in namespace:vkt
602 vk::Move<vk::VkDeviceMemory> memory (vk::allocateMemory(vkd, device, &allocationInfo));
604 VK_CHECK(vkd.bindBufferMemory(device, buffer, *memory, 0));
606 return memory;
613 // Try next memory type/heap if out of memory
624 TCU_FAIL("Failed to allocate memory for buffer");
652 vk::Move<vk::VkDeviceMemory> memory (vk::allocateMemory(vkd, device, &allocationInfo));
654 VK_CHECK(vkd.bindImageMemory(device, image, *memory, 0));
656 return memory;
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ddk/
miniport.h 165 } Memory;
210 // for memory resource requirement greater than MAXULONG

Completed in 1021 milliseconds

1 2