Home
last modified time | relevance | path

Searched refs:ci (Results 1 – 25 of 32) sorted by relevance

12

/libcore/ojluni/src/test/java/lang/invoke/VarHandles/
DVarHandleTestByteArrayAsChar.java207 int ci = 1; in testArrayNPE() local
210 char x = (char) vh.get(array, ci); in testArrayNPE()
214 vh.set(array, ci, VALUE_1); in testArrayNPE()
218 char x = (char) vh.getVolatile(array, ci); in testArrayNPE()
222 char x = (char) vh.getAcquire(array, ci); in testArrayNPE()
226 char x = (char) vh.getOpaque(array, ci); in testArrayNPE()
230 vh.setVolatile(array, ci, VALUE_1); in testArrayNPE()
234 vh.setRelease(array, ci, VALUE_1); in testArrayNPE()
238 vh.setOpaque(array, ci, VALUE_1); in testArrayNPE()
248 int ci = 1; in testArrayNPE() local
[all …]
DVarHandleTestByteArrayAsShort.java207 int ci = 1; in testArrayNPE() local
210 short x = (short) vh.get(array, ci); in testArrayNPE()
214 vh.set(array, ci, VALUE_1); in testArrayNPE()
218 short x = (short) vh.getVolatile(array, ci); in testArrayNPE()
222 short x = (short) vh.getAcquire(array, ci); in testArrayNPE()
226 short x = (short) vh.getOpaque(array, ci); in testArrayNPE()
230 vh.setVolatile(array, ci, VALUE_1); in testArrayNPE()
234 vh.setRelease(array, ci, VALUE_1); in testArrayNPE()
238 vh.setOpaque(array, ci, VALUE_1); in testArrayNPE()
248 int ci = 1; in testArrayNPE() local
[all …]
DVarHandleTestByteArrayAsInt.java207 int ci = 1; in testArrayNPE() local
210 int x = (int) vh.get(array, ci); in testArrayNPE()
214 vh.set(array, ci, VALUE_1); in testArrayNPE()
218 int x = (int) vh.getVolatile(array, ci); in testArrayNPE()
222 int x = (int) vh.getAcquire(array, ci); in testArrayNPE()
226 int x = (int) vh.getOpaque(array, ci); in testArrayNPE()
230 vh.setVolatile(array, ci, VALUE_1); in testArrayNPE()
234 vh.setRelease(array, ci, VALUE_1); in testArrayNPE()
238 vh.setOpaque(array, ci, VALUE_1); in testArrayNPE()
242 boolean r = vh.compareAndSet(array, ci, VALUE_1, VALUE_2); in testArrayNPE()
[all …]
DVarHandleTestByteArrayAsLong.java207 int ci = 1; in testArrayNPE() local
210 long x = (long) vh.get(array, ci); in testArrayNPE()
214 vh.set(array, ci, VALUE_1); in testArrayNPE()
218 long x = (long) vh.getVolatile(array, ci); in testArrayNPE()
222 long x = (long) vh.getAcquire(array, ci); in testArrayNPE()
226 long x = (long) vh.getOpaque(array, ci); in testArrayNPE()
230 vh.setVolatile(array, ci, VALUE_1); in testArrayNPE()
234 vh.setRelease(array, ci, VALUE_1); in testArrayNPE()
238 vh.setOpaque(array, ci, VALUE_1); in testArrayNPE()
242 boolean r = vh.compareAndSet(array, ci, VALUE_1, VALUE_2); in testArrayNPE()
[all …]
DVarHandleTestByteArrayAsDouble.java207 int ci = 1; in testArrayNPE() local
210 double x = (double) vh.get(array, ci); in testArrayNPE()
214 vh.set(array, ci, VALUE_1); in testArrayNPE()
218 double x = (double) vh.getVolatile(array, ci); in testArrayNPE()
222 double x = (double) vh.getAcquire(array, ci); in testArrayNPE()
226 double x = (double) vh.getOpaque(array, ci); in testArrayNPE()
230 vh.setVolatile(array, ci, VALUE_1); in testArrayNPE()
234 vh.setRelease(array, ci, VALUE_1); in testArrayNPE()
238 vh.setOpaque(array, ci, VALUE_1); in testArrayNPE()
242 boolean r = vh.compareAndSet(array, ci, VALUE_1, VALUE_2); in testArrayNPE()
[all …]
DVarHandleTestByteArrayAsFloat.java207 int ci = 1; in testArrayNPE() local
210 float x = (float) vh.get(array, ci); in testArrayNPE()
214 vh.set(array, ci, VALUE_1); in testArrayNPE()
218 float x = (float) vh.getVolatile(array, ci); in testArrayNPE()
222 float x = (float) vh.getAcquire(array, ci); in testArrayNPE()
226 float x = (float) vh.getOpaque(array, ci); in testArrayNPE()
230 vh.setVolatile(array, ci, VALUE_1); in testArrayNPE()
234 vh.setRelease(array, ci, VALUE_1); in testArrayNPE()
238 vh.setOpaque(array, ci, VALUE_1); in testArrayNPE()
242 boolean r = vh.compareAndSet(array, ci, VALUE_1, VALUE_2); in testArrayNPE()
[all …]
DX-VarHandleTestByteArrayView.java.template239 int ci = 1;
242 $type$ x = ($type$) vh.get(array, ci);
246 vh.set(array, ci, VALUE_1);
250 $type$ x = ($type$) vh.getVolatile(array, ci);
254 $type$ x = ($type$) vh.getAcquire(array, ci);
258 $type$ x = ($type$) vh.getOpaque(array, ci);
262 vh.setVolatile(array, ci, VALUE_1);
266 vh.setRelease(array, ci, VALUE_1);
270 vh.setOpaque(array, ci, VALUE_1);
275 boolean r = vh.compareAndSet(array, ci, VALUE_1, VALUE_2);
[all …]
DVarHandleTestAccessLong.java1171 final int ci = i; in testArrayIndexOutOfBounds() local
1174 long x = (long) vh.get(array, ci); in testArrayIndexOutOfBounds()
1178 vh.set(array, ci, 0x0123456789ABCDEFL); in testArrayIndexOutOfBounds()
1182 long x = (long) vh.getVolatile(array, ci); in testArrayIndexOutOfBounds()
1186 vh.setVolatile(array, ci, 0x0123456789ABCDEFL); in testArrayIndexOutOfBounds()
1190 long x = (long) vh.getAcquire(array, ci); in testArrayIndexOutOfBounds()
1194 vh.setRelease(array, ci, 0x0123456789ABCDEFL); in testArrayIndexOutOfBounds()
1198 long x = (long) vh.getOpaque(array, ci); in testArrayIndexOutOfBounds()
1202 vh.setOpaque(array, ci, 0x0123456789ABCDEFL); in testArrayIndexOutOfBounds()
1206 boolean r = vh.compareAndSet(array, ci, 0x0123456789ABCDEFL, 0xCAFEBABECAFEBABEL); in testArrayIndexOutOfBounds()
[all …]
DVarHandleTestAccessShort.java1171 final int ci = i; in testArrayIndexOutOfBounds() local
1174 short x = (short) vh.get(array, ci); in testArrayIndexOutOfBounds()
1178 vh.set(array, ci, (short)0x0123); in testArrayIndexOutOfBounds()
1182 short x = (short) vh.getVolatile(array, ci); in testArrayIndexOutOfBounds()
1186 vh.setVolatile(array, ci, (short)0x0123); in testArrayIndexOutOfBounds()
1190 short x = (short) vh.getAcquire(array, ci); in testArrayIndexOutOfBounds()
1194 vh.setRelease(array, ci, (short)0x0123); in testArrayIndexOutOfBounds()
1198 short x = (short) vh.getOpaque(array, ci); in testArrayIndexOutOfBounds()
1202 vh.setOpaque(array, ci, (short)0x0123); in testArrayIndexOutOfBounds()
1206 boolean r = vh.compareAndSet(array, ci, (short)0x0123, (short)0x4567); in testArrayIndexOutOfBounds()
[all …]
DVarHandleTestAccessByte.java1171 final int ci = i; in testArrayIndexOutOfBounds() local
1174 byte x = (byte) vh.get(array, ci); in testArrayIndexOutOfBounds()
1178 vh.set(array, ci, (byte)0x01); in testArrayIndexOutOfBounds()
1182 byte x = (byte) vh.getVolatile(array, ci); in testArrayIndexOutOfBounds()
1186 vh.setVolatile(array, ci, (byte)0x01); in testArrayIndexOutOfBounds()
1190 byte x = (byte) vh.getAcquire(array, ci); in testArrayIndexOutOfBounds()
1194 vh.setRelease(array, ci, (byte)0x01); in testArrayIndexOutOfBounds()
1198 byte x = (byte) vh.getOpaque(array, ci); in testArrayIndexOutOfBounds()
1202 vh.setOpaque(array, ci, (byte)0x01); in testArrayIndexOutOfBounds()
1206 boolean r = vh.compareAndSet(array, ci, (byte)0x01, (byte)0x23); in testArrayIndexOutOfBounds()
[all …]
DVarHandleTestAccessChar.java1171 final int ci = i; in testArrayIndexOutOfBounds() local
1174 char x = (char) vh.get(array, ci); in testArrayIndexOutOfBounds()
1178 vh.set(array, ci, '\u0123'); in testArrayIndexOutOfBounds()
1182 char x = (char) vh.getVolatile(array, ci); in testArrayIndexOutOfBounds()
1186 vh.setVolatile(array, ci, '\u0123'); in testArrayIndexOutOfBounds()
1190 char x = (char) vh.getAcquire(array, ci); in testArrayIndexOutOfBounds()
1194 vh.setRelease(array, ci, '\u0123'); in testArrayIndexOutOfBounds()
1198 char x = (char) vh.getOpaque(array, ci); in testArrayIndexOutOfBounds()
1202 vh.setOpaque(array, ci, '\u0123'); in testArrayIndexOutOfBounds()
1206 boolean r = vh.compareAndSet(array, ci, '\u0123', '\u4567'); in testArrayIndexOutOfBounds()
[all …]
DVarHandleTestAccessInt.java1171 final int ci = i; in testArrayIndexOutOfBounds() local
1174 int x = (int) vh.get(array, ci); in testArrayIndexOutOfBounds()
1178 vh.set(array, ci, 0x01234567); in testArrayIndexOutOfBounds()
1182 int x = (int) vh.getVolatile(array, ci); in testArrayIndexOutOfBounds()
1186 vh.setVolatile(array, ci, 0x01234567); in testArrayIndexOutOfBounds()
1190 int x = (int) vh.getAcquire(array, ci); in testArrayIndexOutOfBounds()
1194 vh.setRelease(array, ci, 0x01234567); in testArrayIndexOutOfBounds()
1198 int x = (int) vh.getOpaque(array, ci); in testArrayIndexOutOfBounds()
1202 vh.setOpaque(array, ci, 0x01234567); in testArrayIndexOutOfBounds()
1206 boolean r = vh.compareAndSet(array, ci, 0x01234567, 0x89ABCDEF); in testArrayIndexOutOfBounds()
[all …]
DVarHandleTestAccessBoolean.java1145 final int ci = i; in testArrayIndexOutOfBounds() local
1148 boolean x = (boolean) vh.get(array, ci); in testArrayIndexOutOfBounds()
1152 vh.set(array, ci, true); in testArrayIndexOutOfBounds()
1156 boolean x = (boolean) vh.getVolatile(array, ci); in testArrayIndexOutOfBounds()
1160 vh.setVolatile(array, ci, true); in testArrayIndexOutOfBounds()
1164 boolean x = (boolean) vh.getAcquire(array, ci); in testArrayIndexOutOfBounds()
1168 vh.setRelease(array, ci, true); in testArrayIndexOutOfBounds()
1172 boolean x = (boolean) vh.getOpaque(array, ci); in testArrayIndexOutOfBounds()
1176 vh.setOpaque(array, ci, true); in testArrayIndexOutOfBounds()
1180 boolean r = vh.compareAndSet(array, ci, true, false); in testArrayIndexOutOfBounds()
[all …]
DVarHandleTestAccessDouble.java1097 final int ci = i; in testArrayIndexOutOfBounds() local
1100 double x = (double) vh.get(array, ci); in testArrayIndexOutOfBounds()
1104 vh.set(array, ci, 1.0d); in testArrayIndexOutOfBounds()
1108 double x = (double) vh.getVolatile(array, ci); in testArrayIndexOutOfBounds()
1112 vh.setVolatile(array, ci, 1.0d); in testArrayIndexOutOfBounds()
1116 double x = (double) vh.getAcquire(array, ci); in testArrayIndexOutOfBounds()
1120 vh.setRelease(array, ci, 1.0d); in testArrayIndexOutOfBounds()
1124 double x = (double) vh.getOpaque(array, ci); in testArrayIndexOutOfBounds()
1128 vh.setOpaque(array, ci, 1.0d); in testArrayIndexOutOfBounds()
1132 boolean r = vh.compareAndSet(array, ci, 1.0d, 2.0d); in testArrayIndexOutOfBounds()
[all …]
DVarHandleTestAccessFloat.java1097 final int ci = i; in testArrayIndexOutOfBounds() local
1100 float x = (float) vh.get(array, ci); in testArrayIndexOutOfBounds()
1104 vh.set(array, ci, 1.0f); in testArrayIndexOutOfBounds()
1108 float x = (float) vh.getVolatile(array, ci); in testArrayIndexOutOfBounds()
1112 vh.setVolatile(array, ci, 1.0f); in testArrayIndexOutOfBounds()
1116 float x = (float) vh.getAcquire(array, ci); in testArrayIndexOutOfBounds()
1120 vh.setRelease(array, ci, 1.0f); in testArrayIndexOutOfBounds()
1124 float x = (float) vh.getOpaque(array, ci); in testArrayIndexOutOfBounds()
1128 vh.setOpaque(array, ci, 1.0f); in testArrayIndexOutOfBounds()
1132 boolean r = vh.compareAndSet(array, ci, 1.0f, 2.0f); in testArrayIndexOutOfBounds()
[all …]
DVarHandleTestAccessString.java1078 final int ci = i; in testArrayIndexOutOfBounds() local
1081 String x = (String) vh.get(array, ci); in testArrayIndexOutOfBounds()
1085 vh.set(array, ci, "foo"); in testArrayIndexOutOfBounds()
1089 String x = (String) vh.getVolatile(array, ci); in testArrayIndexOutOfBounds()
1093 vh.setVolatile(array, ci, "foo"); in testArrayIndexOutOfBounds()
1097 String x = (String) vh.getAcquire(array, ci); in testArrayIndexOutOfBounds()
1101 vh.setRelease(array, ci, "foo"); in testArrayIndexOutOfBounds()
1105 String x = (String) vh.getOpaque(array, ci); in testArrayIndexOutOfBounds()
1109 vh.setOpaque(array, ci, "foo"); in testArrayIndexOutOfBounds()
1113 boolean r = vh.compareAndSet(array, ci, "foo", "bar"); in testArrayIndexOutOfBounds()
[all …]
DX-VarHandleTestAccess.java.template1711 final int ci = i;
1714 $type$ x = ($type$) vh.get(array, ci);
1718 vh.set(array, ci, $value1$);
1722 $type$ x = ($type$) vh.getVolatile(array, ci);
1726 vh.setVolatile(array, ci, $value1$);
1730 $type$ x = ($type$) vh.getAcquire(array, ci);
1734 vh.setRelease(array, ci, $value1$);
1738 $type$ x = ($type$) vh.getOpaque(array, ci);
1742 vh.setOpaque(array, ci, $value1$);
1747 boolean r = vh.compareAndSet(array, ci, $value1$, $value2$);
[all …]
DVarHandleTestMethodHandleAccessDouble.java710 final int ci = i; in testArrayIndexOutOfBounds() local
714 double x = (double) hs.get(am).invokeExact(array, ci); in testArrayIndexOutOfBounds()
720 hs.get(am).invokeExact(array, ci, 1.0d); in testArrayIndexOutOfBounds()
726 boolean r = (boolean) hs.get(am).invokeExact(array, ci, 1.0d, 2.0d); in testArrayIndexOutOfBounds()
732 double r = (double) hs.get(am).invokeExact(array, ci, 2.0d, 1.0d); in testArrayIndexOutOfBounds()
738 double o = (double) hs.get(am).invokeExact(array, ci, 1.0d); in testArrayIndexOutOfBounds()
744 double o = (double) hs.get(am).invokeExact(array, ci, 3.0d); in testArrayIndexOutOfBounds()
DVarHandleTestMethodHandleAccessFloat.java710 final int ci = i; in testArrayIndexOutOfBounds() local
714 float x = (float) hs.get(am).invokeExact(array, ci); in testArrayIndexOutOfBounds()
720 hs.get(am).invokeExact(array, ci, 1.0f); in testArrayIndexOutOfBounds()
726 boolean r = (boolean) hs.get(am).invokeExact(array, ci, 1.0f, 2.0f); in testArrayIndexOutOfBounds()
732 float r = (float) hs.get(am).invokeExact(array, ci, 2.0f, 1.0f); in testArrayIndexOutOfBounds()
738 float o = (float) hs.get(am).invokeExact(array, ci, 1.0f); in testArrayIndexOutOfBounds()
744 float o = (float) hs.get(am).invokeExact(array, ci, 3.0f); in testArrayIndexOutOfBounds()
DVarHandleTestMethodHandleAccessByte.java944 final int ci = i; in testArrayIndexOutOfBounds() local
948 byte x = (byte) hs.get(am).invokeExact(array, ci); in testArrayIndexOutOfBounds()
954 hs.get(am).invokeExact(array, ci, (byte)0x01); in testArrayIndexOutOfBounds()
960 boolean r = (boolean) hs.get(am).invokeExact(array, ci, (byte)0x01, (byte)0x23); in testArrayIndexOutOfBounds()
966 byte r = (byte) hs.get(am).invokeExact(array, ci, (byte)0x23, (byte)0x01); in testArrayIndexOutOfBounds()
972 byte o = (byte) hs.get(am).invokeExact(array, ci, (byte)0x01); in testArrayIndexOutOfBounds()
978 byte o = (byte) hs.get(am).invokeExact(array, ci, (byte)0x45); in testArrayIndexOutOfBounds()
984 byte o = (byte) hs.get(am).invokeExact(array, ci, (byte)0x45); in testArrayIndexOutOfBounds()
DVarHandleTestMethodHandleAccessChar.java944 final int ci = i; in testArrayIndexOutOfBounds() local
948 char x = (char) hs.get(am).invokeExact(array, ci); in testArrayIndexOutOfBounds()
954 hs.get(am).invokeExact(array, ci, '\u0123'); in testArrayIndexOutOfBounds()
960 boolean r = (boolean) hs.get(am).invokeExact(array, ci, '\u0123', '\u4567'); in testArrayIndexOutOfBounds()
966 char r = (char) hs.get(am).invokeExact(array, ci, '\u4567', '\u0123'); in testArrayIndexOutOfBounds()
972 char o = (char) hs.get(am).invokeExact(array, ci, '\u0123'); in testArrayIndexOutOfBounds()
978 char o = (char) hs.get(am).invokeExact(array, ci, '\u89AB'); in testArrayIndexOutOfBounds()
984 char o = (char) hs.get(am).invokeExact(array, ci, '\u89AB'); in testArrayIndexOutOfBounds()
DVarHandleTestMethodHandleAccessInt.java944 final int ci = i; in testArrayIndexOutOfBounds() local
948 int x = (int) hs.get(am).invokeExact(array, ci); in testArrayIndexOutOfBounds()
954 hs.get(am).invokeExact(array, ci, 0x01234567); in testArrayIndexOutOfBounds()
960 boolean r = (boolean) hs.get(am).invokeExact(array, ci, 0x01234567, 0x89ABCDEF); in testArrayIndexOutOfBounds()
966 int r = (int) hs.get(am).invokeExact(array, ci, 0x89ABCDEF, 0x01234567); in testArrayIndexOutOfBounds()
972 int o = (int) hs.get(am).invokeExact(array, ci, 0x01234567); in testArrayIndexOutOfBounds()
978 int o = (int) hs.get(am).invokeExact(array, ci, 0xCAFEBABE); in testArrayIndexOutOfBounds()
984 int o = (int) hs.get(am).invokeExact(array, ci, 0xCAFEBABE); in testArrayIndexOutOfBounds()
DVarHandleTestMethodHandleAccessLong.java944 final int ci = i; in testArrayIndexOutOfBounds() local
948 long x = (long) hs.get(am).invokeExact(array, ci); in testArrayIndexOutOfBounds()
954 hs.get(am).invokeExact(array, ci, 0x0123456789ABCDEFL); in testArrayIndexOutOfBounds()
960 … boolean r = (boolean) hs.get(am).invokeExact(array, ci, 0x0123456789ABCDEFL, 0xCAFEBABECAFEBABEL); in testArrayIndexOutOfBounds()
966 … long r = (long) hs.get(am).invokeExact(array, ci, 0xCAFEBABECAFEBABEL, 0x0123456789ABCDEFL); in testArrayIndexOutOfBounds()
972 long o = (long) hs.get(am).invokeExact(array, ci, 0x0123456789ABCDEFL); in testArrayIndexOutOfBounds()
978 long o = (long) hs.get(am).invokeExact(array, ci, 0xDEADBEEFDEADBEEFL); in testArrayIndexOutOfBounds()
984 long o = (long) hs.get(am).invokeExact(array, ci, 0xDEADBEEFDEADBEEFL); in testArrayIndexOutOfBounds()
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestZoneTextPrinterParser.java249 private void parseText(Set<String> zids, Locale locale, TextStyle style, boolean ci) { in parseText() argument
251 DateTimeFormatter fmt = getFormatter(locale, style, ci); in parseText()
259 parse(fmt, zid, expected, zid, locale, style, ci); in parseText()
262 parse(fmt, zid, expected, names[i], locale, style, ci); in parseText()
269 Locale locale, TextStyle style, boolean ci) { in parse() argument
270 if (ci) { in parse()
284 ci ? "ci" : " ", in parse()
289 private DateTimeFormatter getFormatter(Locale locale, TextStyle style, boolean ci) { in getFormatter() argument
291 if (ci) { in getFormatter()
/libcore/ojluni/src/main/java/java/util/
DServiceLoader.java260 int ci = ln.indexOf('#'); in parseLine() local
261 if (ci >= 0) ln = ln.substring(0, ci); in parseLine()

12