Home
last modified time | relevance | path

Searched refs:MemoryMode (Results 1 – 8 of 8) sorted by relevance

/libcore/ojluni/src/test/java/lang/invoke/VarHandles/
DVarHandleBaseByteArrayTest.java41 enum MemoryMode { enum in VarHandleBaseByteArrayTest
49 MemoryMode(int bit, boolean value) { in MemoryMode() method in VarHandleBaseByteArrayTest.MemoryMode
58 static int bitSet(MemoryMode... modes) { in bitSet()
62 for (MemoryMode m : modes) { in bitSet()
68 static EnumSet<MemoryMode> enumSet(int bitSet) { in enumSet()
69 EnumSet<MemoryMode> es = EnumSet.noneOf(MemoryMode.class); in enumSet()
70 for (MemoryMode m : values()) { in enumSet()
83 public Source(T s, MemoryMode... modes) { in Source()
85 memoryModes = MemoryMode.bitSet(modes); in Source()
90 return s.getClass().getCanonicalName() + " " + MemoryMode.enumSet(memoryModes); in toString()
[all …]
DVarHandleTestByteArrayAsShort.java63 … for (MemoryMode endianess : Arrays.asList(MemoryMode.BIG_ENDIAN, MemoryMode.LITTLE_ENDIAN)) { in setupVarHandleSources()
65 ByteOrder bo = endianess == MemoryMode.BIG_ENDIAN in setupVarHandleSources()
69 endianess, MemoryMode.READ_WRITE); in setupVarHandleSources()
74 endianess, MemoryMode.READ_WRITE); in setupVarHandleSources()
160 if (MemoryMode.READ_WRITE.isSet(bav.memoryModes)) { in accessTestCaseProvider()
388 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayUnsupported()
643 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayIndexOutOfBounds()
735 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayMisalignedAccess()
875 …bb.order(MemoryMode.BIG_ENDIAN.isSet(vhs.memoryModes) ? ByteOrder.BIG_ENDIAN : ByteOrder.LITTLE_EN… in testArrayReadOnly()
882 short v = MemoryMode.BIG_ENDIAN.isSet(vhs.memoryModes) in testArrayReadOnly()
DVarHandleTestByteArrayAsChar.java63 … for (MemoryMode endianess : Arrays.asList(MemoryMode.BIG_ENDIAN, MemoryMode.LITTLE_ENDIAN)) { in setupVarHandleSources()
65 ByteOrder bo = endianess == MemoryMode.BIG_ENDIAN in setupVarHandleSources()
69 endianess, MemoryMode.READ_WRITE); in setupVarHandleSources()
74 endianess, MemoryMode.READ_WRITE); in setupVarHandleSources()
160 if (MemoryMode.READ_WRITE.isSet(bav.memoryModes)) { in accessTestCaseProvider()
388 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayUnsupported()
643 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayIndexOutOfBounds()
735 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayMisalignedAccess()
875 …bb.order(MemoryMode.BIG_ENDIAN.isSet(vhs.memoryModes) ? ByteOrder.BIG_ENDIAN : ByteOrder.LITTLE_EN… in testArrayReadOnly()
882 char v = MemoryMode.BIG_ENDIAN.isSet(vhs.memoryModes) in testArrayReadOnly()
DVarHandleTestByteArrayAsFloat.java63 … for (MemoryMode endianess : Arrays.asList(MemoryMode.BIG_ENDIAN, MemoryMode.LITTLE_ENDIAN)) { in setupVarHandleSources()
65 ByteOrder bo = endianess == MemoryMode.BIG_ENDIAN in setupVarHandleSources()
69 endianess, MemoryMode.READ_WRITE); in setupVarHandleSources()
74 endianess, MemoryMode.READ_WRITE); in setupVarHandleSources()
160 if (MemoryMode.READ_WRITE.isSet(bav.memoryModes)) { in accessTestCaseProvider()
431 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayUnsupported()
689 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayIndexOutOfBounds()
868 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayMisalignedAccess()
1305 …bb.order(MemoryMode.BIG_ENDIAN.isSet(vhs.memoryModes) ? ByteOrder.BIG_ENDIAN : ByteOrder.LITTLE_EN… in testArrayReadOnly()
1312 float v = MemoryMode.BIG_ENDIAN.isSet(vhs.memoryModes) in testArrayReadOnly()
DVarHandleTestByteArrayAsDouble.java63 … for (MemoryMode endianess : Arrays.asList(MemoryMode.BIG_ENDIAN, MemoryMode.LITTLE_ENDIAN)) { in setupVarHandleSources()
65 ByteOrder bo = endianess == MemoryMode.BIG_ENDIAN in setupVarHandleSources()
69 endianess, MemoryMode.READ_WRITE); in setupVarHandleSources()
74 endianess, MemoryMode.READ_WRITE); in setupVarHandleSources()
160 if (MemoryMode.READ_WRITE.isSet(bav.memoryModes)) { in accessTestCaseProvider()
431 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayUnsupported()
689 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayIndexOutOfBounds()
868 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayMisalignedAccess()
1305 …bb.order(MemoryMode.BIG_ENDIAN.isSet(vhs.memoryModes) ? ByteOrder.BIG_ENDIAN : ByteOrder.LITTLE_EN… in testArrayReadOnly()
1312 double v = MemoryMode.BIG_ENDIAN.isSet(vhs.memoryModes) in testArrayReadOnly()
DVarHandleTestByteArrayAsLong.java63 … for (MemoryMode endianess : Arrays.asList(MemoryMode.BIG_ENDIAN, MemoryMode.LITTLE_ENDIAN)) { in setupVarHandleSources()
65 ByteOrder bo = endianess == MemoryMode.BIG_ENDIAN in setupVarHandleSources()
69 endianess, MemoryMode.READ_WRITE); in setupVarHandleSources()
74 endianess, MemoryMode.READ_WRITE); in setupVarHandleSources()
160 if (MemoryMode.READ_WRITE.isSet(bav.memoryModes)) { in accessTestCaseProvider()
477 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayUnsupported()
735 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayIndexOutOfBounds()
1006 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayMisalignedAccess()
1709 …bb.order(MemoryMode.BIG_ENDIAN.isSet(vhs.memoryModes) ? ByteOrder.BIG_ENDIAN : ByteOrder.LITTLE_EN… in testArrayReadOnly()
1716 long v = MemoryMode.BIG_ENDIAN.isSet(vhs.memoryModes) in testArrayReadOnly()
DVarHandleTestByteArrayAsInt.java63 … for (MemoryMode endianess : Arrays.asList(MemoryMode.BIG_ENDIAN, MemoryMode.LITTLE_ENDIAN)) { in setupVarHandleSources()
65 ByteOrder bo = endianess == MemoryMode.BIG_ENDIAN in setupVarHandleSources()
69 endianess, MemoryMode.READ_WRITE); in setupVarHandleSources()
74 endianess, MemoryMode.READ_WRITE); in setupVarHandleSources()
160 if (MemoryMode.READ_WRITE.isSet(bav.memoryModes)) { in accessTestCaseProvider()
477 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayUnsupported()
735 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayIndexOutOfBounds()
1006 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes); in testArrayMisalignedAccess()
1709 …bb.order(MemoryMode.BIG_ENDIAN.isSet(vhs.memoryModes) ? ByteOrder.BIG_ENDIAN : ByteOrder.LITTLE_EN… in testArrayReadOnly()
1716 int v = MemoryMode.BIG_ENDIAN.isSet(vhs.memoryModes) in testArrayReadOnly()
DX-VarHandleTestByteArrayView.java.template63 … for (MemoryMode endianess : Arrays.asList(MemoryMode.BIG_ENDIAN, MemoryMode.LITTLE_ENDIAN)) {
65 ByteOrder bo = endianess == MemoryMode.BIG_ENDIAN
69 endianess, MemoryMode.READ_WRITE);
74 endianess, MemoryMode.READ_WRITE);
192 if (MemoryMode.READ_WRITE.isSet(bav.memoryModes)) {
616 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes);
1073 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes);
1356 boolean readOnly = MemoryMode.READ_ONLY.isSet(bs.memoryModes);
2077 …bb.order(MemoryMode.BIG_ENDIAN.isSet(vhs.memoryModes) ? ByteOrder.BIG_ENDIAN : ByteOrder.LITTLE_EN…
2084 $type$ v = MemoryMode.BIG_ENDIAN.isSet(vhs.memoryModes)