/libcore/luni/src/main/java/libcore/io/ |
SizeOf.java | 19 public final class SizeOf { 27 private SizeOf() {
|
HeapBufferIterator.java | 63 position += SizeOf.INT; 68 final int byteCount = intCount * SizeOf.INT; 69 Memory.unsafeBulkGet(dst, dstOffset, byteCount, buffer, offset + position, SizeOf.INT, order.needsSwap); 75 position += SizeOf.SHORT;
|
NioBufferIterator.java | 61 position += SizeOf.INT; 67 position += SizeOf.INT * intCount; 72 position += SizeOf.SHORT;
|
/external/dexmaker/src/dx/java/com/android/dx/dex/ |
SizeOf.java | 19 public final class SizeOf { 20 private SizeOf() {}
|
/libcore/dex/src/main/java/com/android/dex/ |
SizeOf.java | 19 public final class SizeOf { 20 private SizeOf() {}
|
Dex.java | 338 int position = tableOfContents.fieldIds.off + (SizeOf.MEMBER_ID_ITEM * fieldIndex); 339 position += SizeOf.USHORT; // declaringClassIndex 340 position += SizeOf.USHORT; // typeIndex 379 int position = tableOfContents.fieldIds.off + (SizeOf.MEMBER_ID_ITEM * fieldIndex); 380 position += SizeOf.USHORT; // declaringClassIndex 390 int position = tableOfContents.methodIds.off + (SizeOf.MEMBER_ID_ITEM * methodIndex); 400 int position = tableOfContents.methodIds.off + (SizeOf.MEMBER_ID_ITEM * methodIndex); 401 position += SizeOf.USHORT; // declaringClassIndex 402 position += SizeOf.USHORT; // protoIndex 412 int position = tableOfContents.methodIds.off + (SizeOf.MEMBER_ID_ITEM * methodIndex) [all...] |
/libcore/luni/src/main/java/java/nio/ |
ByteArrayBuffer.java | 20 import libcore.io.SizeOf; 115 int byteCount = checkGetBounds(SizeOf.CHAR, dst.length, dstOffset, charCount); 116 Memory.unsafeBulkGet(dst, dstOffset, byteCount, backingArray, arrayOffset + position, SizeOf.CHAR, order.needsSwap); 121 int byteCount = checkGetBounds(SizeOf.DOUBLE, dst.length, dstOffset, doubleCount); 122 Memory.unsafeBulkGet(dst, dstOffset, byteCount, backingArray, arrayOffset + position, SizeOf.DOUBLE, order.needsSwap); 127 int byteCount = checkGetBounds(SizeOf.FLOAT, dst.length, dstOffset, floatCount); 128 Memory.unsafeBulkGet(dst, dstOffset, byteCount, backingArray, arrayOffset + position, SizeOf.FLOAT, order.needsSwap); 133 int byteCount = checkGetBounds(SizeOf.INT, dst.length, dstOffset, intCount); 134 Memory.unsafeBulkGet(dst, dstOffset, byteCount, backingArray, arrayOffset + position, SizeOf.INT, order.needsSwap); 139 int byteCount = checkGetBounds(SizeOf.LONG, dst.length, dstOffset, longCount) [all...] |
ByteBufferAsCharBuffer.java | 19 import libcore.io.SizeOf; 45 super(byteBuffer.capacity() / SizeOf.CHAR); 66 byteBuffer.limit(limit * SizeOf.CHAR); 67 byteBuffer.position(position * SizeOf.CHAR); 91 return byteBuffer.getChar(position++ * SizeOf.CHAR); 97 return byteBuffer.getChar(index * SizeOf.CHAR); 102 byteBuffer.limit(limit * SizeOf.CHAR); 103 byteBuffer.position(position * SizeOf.CHAR); 145 byteBuffer.putChar(position++ * SizeOf.CHAR, c); 152 byteBuffer.putChar(index * SizeOf.CHAR, c) [all...] |
ByteBufferAsDoubleBuffer.java | 19 import libcore.io.SizeOf; 45 super(byteBuffer.capacity() / SizeOf.DOUBLE); 66 byteBuffer.limit(limit * SizeOf.DOUBLE); 67 byteBuffer.position(position * SizeOf.DOUBLE); 91 return byteBuffer.getDouble(position++ * SizeOf.DOUBLE); 97 return byteBuffer.getDouble(index * SizeOf.DOUBLE); 102 byteBuffer.limit(limit * SizeOf.DOUBLE); 103 byteBuffer.position(position * SizeOf.DOUBLE); 145 byteBuffer.putDouble(position++ * SizeOf.DOUBLE, c); 152 byteBuffer.putDouble(index * SizeOf.DOUBLE, c) [all...] |
ByteBufferAsFloatBuffer.java | 19 import libcore.io.SizeOf; 44 super(byteBuffer.capacity() / SizeOf.FLOAT); 65 byteBuffer.limit(limit * SizeOf.FLOAT); 66 byteBuffer.position(position * SizeOf.FLOAT); 90 return byteBuffer.getFloat(position++ * SizeOf.FLOAT); 96 return byteBuffer.getFloat(index * SizeOf.FLOAT); 101 byteBuffer.limit(limit * SizeOf.FLOAT); 102 byteBuffer.position(position * SizeOf.FLOAT); 144 byteBuffer.putFloat(position++ * SizeOf.FLOAT, c); 151 byteBuffer.putFloat(index * SizeOf.FLOAT, c) [all...] |
ByteBufferAsIntBuffer.java | 19 import libcore.io.SizeOf; 45 super(byteBuffer.capacity() / SizeOf.INT); 66 byteBuffer.limit(limit * SizeOf.INT); 67 byteBuffer.position(position * SizeOf.INT); 91 return byteBuffer.getInt(position++ * SizeOf.INT); 97 return byteBuffer.getInt(index * SizeOf.INT); 102 byteBuffer.limit(limit * SizeOf.INT); 103 byteBuffer.position(position * SizeOf.INT); 145 byteBuffer.putInt(position++ * SizeOf.INT, c); 152 byteBuffer.putInt(index * SizeOf.INT, c) [all...] |
ByteBufferAsLongBuffer.java | 19 import libcore.io.SizeOf; 45 super(byteBuffer.capacity() / SizeOf.LONG); 66 byteBuffer.limit(limit * SizeOf.LONG); 67 byteBuffer.position(position * SizeOf.LONG); 91 return byteBuffer.getLong(position++ * SizeOf.LONG); 97 return byteBuffer.getLong(index * SizeOf.LONG); 102 byteBuffer.limit(limit * SizeOf.LONG); 103 byteBuffer.position(position * SizeOf.LONG); 145 byteBuffer.putLong(position++ * SizeOf.LONG, c); 152 byteBuffer.putLong(index * SizeOf.LONG, c) [all...] |
ByteBufferAsShortBuffer.java | 19 import libcore.io.SizeOf; 44 super(byteBuffer.capacity() / SizeOf.SHORT); 65 byteBuffer.limit(limit * SizeOf.SHORT); 66 byteBuffer.position(position * SizeOf.SHORT); 90 return byteBuffer.getShort(position++ * SizeOf.SHORT); 96 return byteBuffer.getShort(index * SizeOf.SHORT); 101 byteBuffer.limit(limit * SizeOf.SHORT); 102 byteBuffer.position(position * SizeOf.SHORT); 144 byteBuffer.putShort(position++ * SizeOf.SHORT, c); 151 byteBuffer.putShort(index * SizeOf.SHORT, c) [all...] |
DirectByteBuffer.java | 23 import libcore.io.SizeOf; 114 int byteCount = checkGetBounds(SizeOf.CHAR, dst.length, dstOffset, charCount); 120 int byteCount = checkGetBounds(SizeOf.DOUBLE, dst.length, dstOffset, doubleCount); 126 int byteCount = checkGetBounds(SizeOf.FLOAT, dst.length, dstOffset, floatCount); 132 int byteCount = checkGetBounds(SizeOf.INT, dst.length, dstOffset, intCount); 138 int byteCount = checkGetBounds(SizeOf.LONG, dst.length, dstOffset, longCount); 144 int byteCount = checkGetBounds(SizeOf.SHORT, dst.length, dstOffset, shortCount); 162 int newPosition = position + SizeOf.CHAR; 172 checkIndex(index, SizeOf.CHAR); 177 int newPosition = position + SizeOf.DOUBLE [all...] |
/art/runtime/mirror/ |
array-inl.h | 27 inline size_t Array::SizeOf() const { 31 size_t header_size = sizeof(Object) + (component_size == sizeof(int64_t) ? 8 : 4);
|
/libcore/luni/src/main/java/java/io/ |
DataOutputStream.java | 23 import libcore.io.SizeOf; 180 out.write(scratch, 0, SizeOf.INT); 181 written += SizeOf.INT; 186 out.write(scratch, 0, SizeOf.LONG); 187 written += SizeOf.LONG; 192 out.write(scratch, 0, SizeOf.SHORT); 193 written += SizeOf.SHORT;
|
/art/runtime/ |
jobject_comparator.cc | 46 size_t count1 = obj1->SizeOf(); 47 size_t count2 = obj2->SizeOf();
|
/libcore/luni/src/test/java/libcore/io/ |
MemoryTest.java | 32 int scale = SizeOf.INT; 62 assertEquals(expectedValues[i], Memory.peekInt(ptr + SizeOf.INT * i, swap)); 73 int scale = SizeOf.LONG; 103 assertEquals(expectedValues[i], Memory.peekLong(ptr + SizeOf.LONG * i, swap)); 111 int scale = SizeOf.SHORT; 141 assertEquals(expectedValues[i], Memory.peekShort(ptr + SizeOf.SHORT * i, swap));
|
/dalvik/dx/src/com/android/dx/dex/file/ |
HeaderItem.java | 20 import com.android.dex.SizeOf; 45 return SizeOf.HEADER_ITEM; 72 out.annotate(4, "header_size: " + Hex.u4(SizeOf.HEADER_ITEM)); 88 out.writeInt(SizeOf.HEADER_ITEM);
|
StringIdItem.java | 19 import com.android.dex.SizeOf; 81 return SizeOf.STRING_ID_ITEM;
|
TypeIdItem.java | 19 import com.android.dex.SizeOf; 47 return SizeOf.TYPE_ID_ITEM;
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
HeaderItem.java | 20 import com.android.dx.dex.SizeOf; 45 return SizeOf.HEADER_ITEM; 72 out.annotate(4, "header_size: " + Hex.u4(SizeOf.HEADER_ITEM)); 88 out.writeInt(SizeOf.HEADER_ITEM);
|
StringIdItem.java | 19 import com.android.dx.dex.SizeOf; 81 return SizeOf.STRING_ID_ITEM;
|
TypeIdItem.java | 19 import com.android.dx.dex.SizeOf; 47 return SizeOf.TYPE_ID_ITEM;
|
/external/clang/test/SemaTemplate/ |
instantiate-static-var.cpp | 49 static const int value = sizeof(Helper(T())); 63 static const int value = sizeof(typeid(Helper())); 88 struct SizeOf { 89 static const int value = sizeof(T); 93 Y3().Foo(X3<SizeOf<char>::value>());
|