Searched refs:col (Results 1 - 25 of 108) sorted by relevance

12345

/openjdk7/langtools/test/tools/javac/
H A DT6366196.java46 public static void positiveTest(int line, int col) { argument
47 if (Position.encodePosition(line, col) == Position.NOPOS) {
48 throw new Error("test failed at line = " + line + ", column = " + col);
50 System.out.println("test passed at line = " + line + ", column = " + col);
54 public static void negativeTest(int line, int col) { argument
55 if (Position.encodePosition(line, col) != Position.NOPOS) {
56 throw new Error("test failed at line = " + line + ", column = " + col);
58 System.out.println("test passed at line = " + line + ", column = " + col);
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/
H A DVariableGridLayout.java90 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...]
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/
H A DCompilerException.java49 final int col = _msg.indexOf(':');
51 if (col > -1)
52 return(_msg.substring(col));
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/parser/
H A DDocCommentScanner.java76 private int col; field in class:DocCommentScanner
124 bp++; ch = buf[bp]; col++;
127 bp++; ch = buf[bp]; col++;
134 bp++; ch = buf[bp]; col++;
148 col--;
161 col = 0;
165 col = 0;
169 col = (col / TabInc * TabInc) + TabInc;
172 col
[all...]
/openjdk7/jdk/test/java/text/Collator/
H A DBug6970930.java49 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);
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DTableView.java118 int getColumnSpan(int col) { argument
119 return columnSpans[col];
241 int col = 0;
242 for (int cell = 0; cell < rv.getViewCount(); cell++, col++) {
245 for (; rv.isFilled(col); col++);
251 int colLimit = col + colSpan;
253 for (int j = col; j < colLimit; j++) {
254 if (i != row || j != col) {
260 col
281 addFill(int row, int col) argument
461 checkSingleColumnCell(int axis, int col, View v) argument
472 checkMultiColumnCell(int axis, int col, int ncols, View v) argument
604 fillColumn(int col) argument
608 isFilled(int col) argument
839 setGridLocation(int row, int col) argument
859 int col; field in class:TableView.TableCell
877 setGridLocation(int row, int col) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/binary/
H A DBinaryPattern.java98 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);
/openjdk7/jdk/src/share/classes/java/text/
H A DBreakDictionary.java269 int col;
271 col = columnMap.elementAt((char)ch);
273 col = supplementaryCharColumnMap.getValue(ch);
275 return getNextState(row, col);
285 * @param col The column number of the input character (0 means "not a
289 public final short getNextState(int row, int col) { argument
290 if (cellIsPopulated(row, col)) {
297 return internalAt(rowIndex[row], col + rowIndexShifts[row]);
308 private final boolean cellIsPopulated(int row, int col) { argument
313 return col
335 internalAt(int row, int col) argument
[all...]
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/DES/
H A DPerformanceTest.java46 StringBuffer col; field in class:PerformanceTest
89 col = new StringBuffer();
97 col.append(crypts[i]+"/"+modes[j]+"/"+paddings[k]);
98 int len = 32 - col.length();
100 col.append(" "); {
116 col.append(dataSizes[l]);
117 len = 40 - col.length();
119 col.append(" ");
123 col.append(rounds[m]);
124 len = 50 - col
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/bugspot/
H A DRegisterPanel.java67 public String getColumnName(int col) {
68 switch (col) {
74 throw new RuntimeException("Index " + col + " out of bounds");
77 public Object getValueAt(int row, int col) {
80 switch (col) {
95 throw new RuntimeException("Index (" + col + ", " + row + ") out of bounds");
98 public boolean isCellEditable(int row, int col) {
99 if (col == 0) return false;
/openjdk7/jdk/test/sun/text/resources/Collator/
H A DBug4248694.java43 Collator col = Collator.getInstance ();
63 Arrays.sort (data, col);
H A DBug4804273.java43 Collator col = Collator.getInstance ();
102 Arrays.sort (data, col);
H A DBug4848897.java43 Collator col = Collator.getInstance ();
59 Arrays.sort (data, col);
/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/
H A Djccolor.c143 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 Djdcolor.c132 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...]
/openjdk7/jdk/test/java/awt/Focus/NonFocusableWindowTest/
H A DNoEventsTest.java178 public NoEventsTest(int row, int col, boolean focusable, boolean resizable) { argument
179 super("Frame" + row + "" + col);
180 TestPanel panel = new TestPanel(row, col);
183 col = NoEventsTest.DEF_COL;
191 setBounds(NoEventsTest.DEF_LEFT + DEF_WIDTH*col, DEF_TOP + DEF_HEIGHT*row, DEF_WIDTH, DEF_HEIGHT);
202 public TestWindow(int row, int col, boolean focusable, Frame owner) { argument
204 setName("Window" + row + "" + col);
205 TestPanel panel = new TestPanel(row, col);
208 col = NoEventsTest.DEF_COL;
217 setBounds(NoEventsTest.DEF_LEFT + NoEventsTest.DEF_WIDTH*col, NoEventsTes
225 TestDialog(int row, int col, boolean focusable, boolean resizable, Frame owner) argument
280 TestPanel(int row, int col) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DTableView.java86 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...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DPosition.java86 * @param col number of character on line (first is 1)
90 * @throws IllegalArgumentException if line or col is less than 1
92 public static int encodePosition(int line, int col) { argument
95 if (col < 1)
98 if (line > MAXLINE || col > MAXCOLUMN) {
101 return (line << LINESHIFT) + col;
271 int col = 0;
272 while (col < column) {
275 col = (col / TabIn
[all...]
/openjdk7/jdk/src/share/demo/jfc/TableExample/
H A DTableExample3.java112 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);
/openjdk7/jdk/test/javax/swing/JTable/6937798/
H A Dbug6937798.java136 public Object getValueAt(int row, int col) {
137 return data[row][col];
144 public Class getColumnClass(int col) {
145 return getValueAt(0, col).getClass();
152 public boolean isCellEditable(int row, int col) {
153 return (col == 4);
/openjdk7/jdk/test/java/awt/font/TextLayout/
H A DUnderlinePositionTest.java81 int col = bi.getRGB(x, y);
82 if (col == badrgb) {
83 throw new RuntimeException("Got " + col);
/openjdk7/jdk/src/share/classes/javax/swing/table/
H A DDefaultTableCellRenderer.java243 Color col;
244 col = DefaultLookup.getColor(this, ui, "Table.focusCellForeground");
245 if (col != null) {
246 super.setForeground(col);
248 col = DefaultLookup.getColor(this, ui, "Table.focusCellBackground");
249 if (col != null) {
250 super.setBackground(col);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/
H A DProcessListPanel.java58 public String getColumnName(int col) {
59 switch (col) {
65 throw new RuntimeException("Index " + col + " out of bounds");
69 public Object getValueAt(int row, int col) {
72 switch (col) {
78 throw new RuntimeException("Index (" + col + ", " + row + ") out of bounds");
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/api/impl/s2j/
H A DElementCollectionAdapter.java89 JVar $col = block.decl(core.getRawType(), "col" + hashCode());
90 acc.toRawValue(block,$col);
91 JForEach loop = block.forEach(elementType, "v" + hashCode()/*unique string handling*/, $col);
109 JClass col = cm.ref(ArrayList.class).narrow(elementType);
110 JVar $t = block.decl(col,uniqueName+"_col",JExpr._new(col));
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/model/
H A DCElementPropertyInfo.java88 super(name, collection.col, source, customizations, locator);
194 private final boolean col,val; field in class:CElementPropertyInfo.CollectionMode
196 CollectionMode(boolean col,boolean val) { argument
197 this.col = col;
201 public boolean isRepeated() { return col; }

Completed in 88 milliseconds

12345