/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.jtt/src/org/graalvm/compiler/jtt/hotpath/ |
H A D | HP_life.java | 43 for (int col = 0; col < cols; ++col) { 44 boolean value = cell(row, col); 45 sum += (row * 15223242 + col * 21623234) ^ ((value ? 1 : 0) * 15323142); 55 private static boolean cell(int row, int col) { argument 56 return ((row >= 0) && (row < rows) && (col >= 0) && (col < cols) && cells[row * cols + col]); 64 for (int col [all...] |
/openjdk10/jdk/test/javax/sql/testng/test/rowset/ |
H A D | RowSetMetaDataTests.java | 54 public void test(Integer col) throws Exception { argument 55 rsmd.getCatalogName(col); 63 public void test01(Integer col) throws Exception { argument 64 rsmd.getColumnClassName(col); 72 public void test02(Integer col) throws Exception { argument 73 rsmd.getColumnDisplaySize(col); 81 public void test03(Integer col) throws Exception { argument 82 rsmd.getColumnLabel(col); 90 public void test04(Integer col) throws Exception { argument 91 rsmd.getColumnName(col); 99 test05(Integer col) argument 108 test06(Integer col) argument 117 test07(Integer col) argument 126 test08(Integer col) argument 135 test09(Integer col) argument 144 test10(Integer col) argument 153 test11(Integer col) argument 162 test12(Integer col) argument 171 test13(Integer col) argument 180 test14(Integer col) argument 189 test15(Integer col) argument 198 test16(Integer col) argument 207 test17(Integer col) argument 216 test18(Integer col) argument 225 test19(Integer col) argument 234 test20(Integer col) argument 243 test21(Integer col) argument 252 test22(Integer col) argument 261 test23(Integer col) argument 270 test24(Integer col) argument 279 test25(Integer col) argument 288 test26(Integer col) argument 297 test27(Integer col) argument 306 test28(Integer col) argument 315 test29(Integer col) argument 324 test30(Integer col) argument 333 test31(Integer col) argument 342 test32(Integer col) argument 351 test33(Integer col) argument 360 test34(Integer col) argument 369 test35(Integer col) argument 389 test37(Integer col) argument [all...] |
/openjdk10/langtools/test/tools/javac/ |
H A D | T6366196.java | 47 public static void positiveTest(int line, int col) { argument 48 if (Position.encodePosition(line, col) == Position.NOPOS) { 49 throw new Error("test failed at line = " + line + ", column = " + col); 51 System.out.println("test passed at line = " + line + ", column = " + col); 55 public static void negativeTest(int line, int col) { argument 56 if (Position.encodePosition(line, col) != Position.NOPOS) { 57 throw new Error("test failed at line = " + line + ", column = " + col); 59 System.out.println("test passed at line = " + line + ", column = " + col);
|
/openjdk10/jdk/src/jdk.jconsole/share/classes/sun/tools/jconsole/ |
H A D | VariableGridLayout.java | 90 for (int col = 0; col < ncols; col++) { 91 if (row * ncols + col < nComps) { 92 Component c = parent.getComponent(row * ncols + col); 98 for (int col = 0; col < ncols; col++) { 99 if (row * ncols + col < nComps) { 100 JComponent c = (JComponent)parent.getComponent(row * ncols + col); [all...] |
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/compiler/ |
H A D | CompilerException.java | 47 final int col = _msg.indexOf(':'); 49 if (col > -1) 50 return(_msg.substring(col));
|
/openjdk10/jdk/test/java/text/Collator/ |
H A D | APITest.java | 64 Collator col = null; 66 col = Collator.getInstance(Locale.ROOT); 69 doAssert(col.compare("ab", "abc") < 0, "ab < abc comparison failed"); 70 doAssert(col.compare("ab", "AB") < 0, "ab < AB comparison failed"); 71 doAssert(col.compare("black-bird", "blackbird") > 0, "black-bird > blackbird comparison failed"); 72 doAssert(col.compare("black bird", "black-bird") < 0, "black bird < black-bird comparison failed"); 73 doAssert(col.compare("Hello", "hello") > 0, "Hello > hello comparison failed"); 77 doAssert(col.getStrength() == Collator.TERTIARY, "collation object has the wrong strength"); 78 doAssert(col.getStrength() != Collator.PRIMARY, "collation object's strength is primary difference"); 81 col [all...] |
H A D | Bug6970930.java | 49 RuleBasedCollator col = null; 52 col = new RuleBasedCollator("< a < b"); 60 col.compare("foo", "bar"); // This line is necessary to reproduce the bug. 61 col.compare(s1, s2);
|
H A D | KoreanTest.java | 87 Collator col = Collator.getInstance(Locale.KOREA); field in class:KoreanTest 104 col.setStrength(Collator.SECONDARY); 111 col.setStrength(Collator.PRIMARY); 124 if ((value = col.compare(s[i][0], s[i][1])) > -1) { 135 if (!col.equals(s[i][0], s[i][1])) { 139 col.compare(s[i][0], s[i][1] + "."));
|
H A D | CollatorTest.java | 98 protected void doTest(Collator col, int strength, argument 113 col.setStrength(strength); 115 doTest(col, source[i], target[i], result[i]); 119 protected void doTest(Collator col, argument 128 int compareResult = col.compare(source, target); 129 CollationKey sortKey1 = col.getCollationKey(source); 130 CollationKey sortKey2 = col.getCollationKey(target);
|
/openjdk10/langtools/test/tools/javac/resolve/ |
H A D | Pos.java | 30 long col() default -1;
|
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/text/ |
H A D | TableView.java | 119 int getColumnSpan(int col) { argument 120 return columnSpans[col]; 242 int col = 0; 243 for (int cell = 0; cell < rv.getViewCount(); cell++, col++) { 246 for (; rv.isFilled(col); col++); 252 int colLimit = col + colSpan; 254 for (int j = col; j < colLimit; j++) { 255 if (i != row || j != col) { 261 col 282 addFill(int row, int col) argument 474 checkSingleColumnCell(int axis, int col, View v) argument 485 checkMultiColumnCell(int axis, int col, int ncols, View v) argument 620 fillColumn(int col) argument 624 isFilled(int col) argument 902 setGridLocation(int row, int col) argument 922 int col; field in class:TableView.TableCell 940 setGridLocation(int row, int col) argument [all...] |
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/xml/internal/rngom/binary/ |
H A D | BinaryPattern.java | 98 public final void fillChildren( Collection col ) { 99 fillChildren(getClass(),p1,col); 100 fillChildren(getClass(),p2,col); 112 private void fillChildren( Class c, Pattern p, Collection col ) { 115 bp.fillChildren(c,bp.p1,col); 116 bp.fillChildren(c,bp.p2,col); 118 col.add(p);
|
/openjdk10/jdk/src/java.base/share/classes/sun/text/ |
H A D | BreakDictionary.java | 234 int col; 236 col = columnMap.elementAt((char)ch); 238 col = supplementaryCharColumnMap.getValue(ch); 240 return getNextState(row, col); 250 * @param col The column number of the input character (0 means "not a 254 public final short getNextState(int row, int col) { argument 255 if (cellIsPopulated(row, col)) { 262 return internalAt(rowIndex[row], col + rowIndexShifts[row]); 273 private boolean cellIsPopulated(int row, int col) { argument 278 return col 300 internalAt(int row, int col) argument [all...] |
/openjdk10/jdk/test/com/sun/crypto/provider/Cipher/DES/ |
H A D | PerformanceTest.java | 42 StringBuffer col; field in class:PerformanceTest 87 col = new StringBuffer(); 95 col.append(crypts[i]+"/"+modes[j]+"/"+paddings[k]); 96 int len = 32 - col.length(); 98 col.append(" "); { 114 col.append(dataSizes[l]); 115 len = 40 - col.length(); 117 col.append(" "); 121 col.append(rounds[m]); 122 len = 50 - col [all...] |
/openjdk10/jdk/src/java.desktop/share/native/libjavajpeg/ |
H A D | jccolor.c | 143 register JDIMENSION col; local 152 for (col = 0; col < num_cols; col++) { 163 outptr0[col] = (JSAMPLE) 167 outptr1[col] = (JSAMPLE) 171 outptr2[col] = (JSAMPLE) 199 register JDIMENSION col; local 206 for (col = 0; col < num_col 237 register JDIMENSION col; local 289 register JDIMENSION col; local 318 register JDIMENSION col; local [all...] |
H A D | jdcolor.c | 132 register JDIMENSION col; local 148 for (col = 0; col < num_cols; col++) { 149 y = GETJSAMPLE(inptr0[col]); 150 cb = GETJSAMPLE(inptr1[col]); 151 cr = GETJSAMPLE(inptr2[col]); 225 register JDIMENSION col; local 231 for (col = 0; col < num_col 256 register JDIMENSION col; local [all...] |
/openjdk10/jdk/test/java/awt/Focus/NonFocusableWindowTest/ |
H A D | NoEventsTest.java | 179 public NoEventsTest(int row, int col, boolean focusable, boolean resizable) { argument 180 super("Frame" + row + "" + col); 181 TestPanel panel = new TestPanel(row, col); 184 col = NoEventsTest.DEF_COL; 192 setBounds(NoEventsTest.DEF_LEFT + DEF_WIDTH*col, DEF_TOP + DEF_HEIGHT*row, DEF_WIDTH, DEF_HEIGHT); 203 public TestWindow(int row, int col, boolean focusable, Frame owner) { argument 205 setName("Window" + row + "" + col); 206 TestPanel panel = new TestPanel(row, col); 209 col = NoEventsTest.DEF_COL; 218 setBounds(NoEventsTest.DEF_LEFT + NoEventsTest.DEF_WIDTH*col, NoEventsTes 226 TestDialog(int row, int col, boolean focusable, boolean resizable, Frame owner) argument 281 TestPanel(int row, int col) argument [all...] |
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/parser/ |
H A D | JavadocTokenizer.java | 77 int col; field in class:JavadocTokenizer.DocReader 123 bp++; ch = buf[bp]; col++; 126 bp++; ch = buf[bp]; col++; 133 bp++; ch = buf[bp]; col++; 147 col--; 157 bp++; col++; 171 col = 0; 175 col = 0; 179 col = (col / TabIn [all...] |
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/text/html/ |
H A D | TableView.java | 86 public int getColumnSpan(int col) { argument 87 if (col < columnSpans.length) { 88 return columnSpans[col]; 296 int col = 0; 297 for (int cell = 0; cell < rv.getViewCount(); cell++, col++) { 308 for (; rv.isFilled(col); col++); 317 int colLimit = col + colSpan; 319 for (int j = col; j < colLimit; j++) { 320 if (i != row || j != col) { 348 addFill(int row, int col) argument 459 checkSingleColumnCell(int axis, int col, View v) argument 469 checkMultiColumnCell(int axis, int col, int ncols, View v) argument 1127 private int col; field in class:TableView.ColumnIterator 1319 fillColumn(int col) argument 1323 isFilled(int col) argument [all...] |
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/util/ |
H A D | Position.java | 89 * @param col number of character on line (first is 1) 93 * @throws IllegalArgumentException if line or col is less than 1 95 public static int encodePosition(int line, int col) { argument 98 if (col < 1) 101 if (line > MAXLINE || col > MAXCOLUMN) { 104 return (line << LINESHIFT) + col; 278 int col = 0; 279 while (col < column) { 282 col = (col / TabIn [all...] |
/openjdk10/jdk/src/demo/share/jfc/TableExample/ |
H A D | TableExample3.java | 112 public Object getValueAt(int row, int col) { 113 return data[row][col]; 124 public Class getColumnClass(int col) { 125 return getValueAt(0, col).getClass(); 129 public boolean isCellEditable(int row, int col) { 130 return (col == 4);
|
/openjdk10/jdk/test/javax/swing/JTable/6937798/ |
H A D | bug6937798.java | 135 public Object getValueAt(int row, int col) { 136 return data[row][col]; 143 public Class getColumnClass(int col) { 144 return getValueAt(0, col).getClass(); 151 public boolean isCellEditable(int row, int col) { 152 return (col == 4);
|
/openjdk10/jdk/test/sun/text/resources/Collator/ |
H A D | Bug4804273.java | 47 Collator col = Collator.getInstance (); 106 Arrays.sort (data, col);
|
H A D | Bug4248694.java | 47 Collator col = Collator.getInstance (); 67 Arrays.sort (data, col);
|
H A D | Bug4848897.java | 44 Collator col = Collator.getInstance (); 60 Arrays.sort (data, col);
|