/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | relocator.cpp | 40 // General instruction, jump instruction, and table/lookup switches 393 // exception table, if any, of "rc->mb". 395 ExceptionTable table(_method()); 396 for (int index = 0; index < table.length(); index ++) { 397 if (table.start_pc(index) > bci) { 398 table.set_start_pc(index, table.start_pc(index) + delta); 399 table.set_end_pc(index, table.end_pc(index) + delta); 400 } else if (bci < table 429 LocalVariableTableElement* table = method()->localvariable_table_start(); local [all...] |
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | bitMap.cpp | 474 BitMap::idx_t *table = NEW_C_HEAP_ARRAY(idx_t, 256, mtInternal); local 476 table[i] = num_set_bits(i); 479 intptr_t res = Atomic::cmpxchg_ptr((intptr_t) table, 484 FREE_C_HEAP_ARRAY(bm_word_t, table, mtInternal);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/ |
H A D | DecoderStateTables.java | 235 // %10000000 to %10000001 CII UTF-8 no add to table small length 238 // %10000010 CII UTF-8 no add to table medium length 241 // %10000011 CII UTF-8 no add to table large length 246 // %10000100 to %10000101 CII UTF-16 no add to table small length 249 // %10000110 CII UTF-16 no add to table medium length 252 // %10000111 CII UTF-16 no add to table large length 257 // %10001000 to %10001011 CII RA no add to table 262 // %10001100 to %10001111 CII EA no add to table 265 // UTF-8 string, add to table 267 // %10010000 to %10010001 CII add to table smal 752 constructTable(int[] table, int[][] ranges) argument [all...] |
H A D | Decoder.java | 170 * The prefix table of the vocabulary. 175 * The element name table of the vocabulary. 180 * The attribute name table of the vocabulary. 185 * The character content chunk table of the vocabulary. 190 * The attribute value table of the vocabulary. 210 * True if an entry is required to be added to a table 215 * The vocabulary table index to an indexed non identifying string. 220 * The vocabulary table index of identifying string or the identifier of 918 protected final String decodeIdentifyingNonEmptyStringOnFirstBit(StringArray table) throws FastInfosetException, IOException { argument 925 _identifier = table [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/internet/ |
H A D | MimeUtility.java | 1051 // no mapping table, or charset parameter is null 1073 // no mapping table or charset param is null 1160 // Load the JDK-to-MIME charset mapping table 1163 // Load the MIME-to-JDK charset mapping table 1232 private static void loadMappings(LineInputStream is, Hashtable table) { argument 1245 // end of this table 1258 table.put(key.toLowerCase(), value);
|
/openjdk7/jdk/src/share/native/java/util/zip/ |
H A D | zip_util.h | 172 * In-memory hash table cell. 222 jint *table; /* Hash chain heads: indexes into entries */ member in struct:jzfile
|
H A D | zip_util.c | 515 free(zip->table); zip->table = NULL; 560 jint *table; local 661 table = zip->table = malloc(tablelen * sizeof(table[0])); 662 if (entries == NULL || table == NULL) goto Catch; 664 table[j] = ZIP_ENDCHAIN; 701 /* Add the entry to the hash table */ 703 entries[i].next = table[hs [all...] |
/openjdk7/jdk/src/share/classes/sun/security/ssl/ |
H A D | SSLSessionImpl.java | 621 private Hashtable<SecureKey, Object> table = new Hashtable<>(); field in class:SSLSessionImpl 633 Object oldValue = table.put(secureKey, value); 659 return table.get(secureKey); 673 Object value = table.remove(secureKey); 693 for (e = table.keys(); e.hasMoreElements(); ) {
|
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/inspector/ |
H A D | XMBeanAttributes.java | 61 import javax.swing.table.DefaultTableCellRenderer; 62 import javax.swing.table.DefaultTableModel; 63 import javax.swing.table.TableCellEditor; 64 import javax.swing.table.TableCellRenderer; 65 import javax.swing.table.TableColumn; 66 import javax.swing.table.TableColumnModel; 67 import javax.swing.table.TableModel; 76 refresh attributes and empty table methods since a UI thread can call 125 //repainting an obsolete table, just ignore the call. 151 //repainting an obsolete table, jus 817 getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) argument 878 getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) argument [all...] |
H A D | XMBeanNotifications.java | 29 import javax.swing.table.*; 136 //repainting an obsolete table, just ignore the call. 168 //repainting an obsolete table, just ignore the call. 433 JTable table, 548 // implements javax.swing.table.TableCellEditor 551 JTable table, 568 table, val, isSelected, row, column); 574 table, 432 getTableCellRendererComponent( JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) argument 550 getTableCellEditorComponent( JTable table, Object value, boolean isSelected, int row, int column) argument
|
/openjdk7/jdk/test/sun/nio/cs/ |
H A D | EUC_TW_OLD.java | 139 * CNS -> Unicode table 10555 protected char convToUnicode(byte byte1, byte byte2, String table) argument 10563 if (index < 0 || index >= table.length()) 10565 return table.charAt(index); 10568 protected char[] convToSurrogate(byte byte1, byte byte2, String table) argument 10579 if (index < 0 || index >= table.length()) 10582 surr[0] = table.charAt(index); 10583 surr[1] = table.charAt(index + 1); 32438 searchTab(char code, char [] table) argument 32464 searchTabSurr(char code1, char code2, char [] table) argument [all...] |
/openjdk7/jdk/src/share/classes/java/lang/invoke/ |
H A D | MethodType.java | 1038 // The table, resized as necessary. Length MUST Always be a power of two. 1039 private Entry[] table; field in class:MethodType.WeakInternSet 1047 // The load factor for the hash table. 1064 table = newTable(DEFAULT_INITIAL_CAPACITY); 1098 * @param length length of table (power of 2) 1099 * @return index in table 1106 * Expunges stale entries from the table. 1112 int i = indexFor(entry.hash, table.length); 1113 Entry prev = table[i]; 1119 table[ [all...] |
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | Locale.java | 978 private static final String[] getISO2Table(String table) { argument 979 int len = table.length() / 5; 982 isoTable[i] = table.substring(j, j + 2); 1410 * <table> 1434 * </table> 1439 * <table> 1449 * </table> 1527 private static final String getISO3Code(String iso2Code, String table) { argument 1533 int tableLength = table.length(); 1539 if (table [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/ |
H A D | WindowsLookAndFeel.java | 185 * (see AbstractComponent.getUIClassID). This table must 191 protected void initClassDefaults(UIDefaults table) argument 193 super.initClassDefaults(table); 234 table.putDefaults(uiDefaults); 238 * Load the SystemColors into the defaults table. The keys 240 * the public fields in SystemColor. If the table is being 245 protected void initSystemColorDefaults(UIDefaults table) argument 280 loadSystemColors(table, defaultSystemColors, isNativeLookAndFeel()); 284 * Initialize the defaults table with the name of the ResourceBundle 287 private void initResourceBundle(UIDefaults table) { argument 293 initComponentDefaults(UIDefaults table) argument 1592 initVistaComponentDefaults(UIDefaults table) argument 2132 createValue(UIDefaults table) argument 2175 createValue(UIDefaults table) argument 2355 createValue(UIDefaults table) argument 2370 getXPValue(UIDefaults table) argument 2374 getClassicValue(UIDefaults table) argument 2378 recursiveCreateValue(Object value, UIDefaults table) argument 2402 getXPValue(UIDefaults table) argument 2418 getXPValue(UIDefaults table) argument 2442 getXPValue(UIDefaults table) argument 2447 getClassicValue(UIDefaults table) argument [all...] |
/openjdk7/jdk/make/tools/src/build/tools/generatecharacter/ |
H A D | GenerateCharacter.java | 84 most character property data is stored in a special multi-level table whose 87 The first table is indexed by the k1 high-order bits of the character code. 89 the second table, and so on. Eventually the kn low-order bits of the character 94 The default specification is [9, 4, 3, 0]. This particular table format was 95 designed by conducting an exhaustive search of table formats to minimize the 97 values (the second table must have short values). Another good choice is 98 [10, 6, 0], which produces a larger table but allows particularly fast table 103 the values in the table can be preshifted (generally possible if the table 1131 genTable(StringBuffer result, String name, long[] table, int extract, int bits, int size, boolean preshifted, int shift, boolean hexFormat, boolean properties, boolean hexComment) argument [all...] |
/openjdk7/hotspot/src/share/vm/prims/ |
H A D | jvmtiImpl.cpp | 663 LocalVariableTableElement* table = method_oop->localvariable_table_start(); local 665 int start_bci = table[i].start_bci; 666 int end_bci = start_bci + table[i].length; 670 if (_index == (jint) table[i].slot && start_bci <= vf_bci && vf_bci <= end_bci) { 671 signature_idx = (int) table[i].descriptor_cp_index;
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/dtdparser/ |
H A D | DTDParser.java | 599 private void expandEntityInLiteral(String name, SimpleHashtable table, argument 603 Object entity = table.get(name); 621 fatal((table == params) ? "V-022" : "P-014", 2310 // NOTE: JDK 1.1 has a fixed size string intern table,
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/ |
H A D | Names.java | 29 * Access to the compiler's name table. STandard names are defined, 153 public final Name.Table table; field in class:Names 157 table = createTable(options); 280 table.dispose(); 284 return table.fromChars(cs, start, len); 288 return table.fromString(s); 292 return table.fromUtf(cs); 296 return table.fromUtf(cs, start, len);
|
/openjdk7/jdk/src/share/demo/jvmti/hprof/ |
H A D | hprof_table.c | 44 * Each table has a unique lock, all accesses are protected. 47 * (Also see HARE trick below, which makes the TableIndex unique per table). 53 * The storage for the Key and Info cannot move, the table itself can. 55 * The hash table will only be allocated if we have keys, and will resize 56 * when the table needs to resize. The hash buckets just provide the 113 char name[48]; /* Name of table. */ 114 void *table; /* Pointer to array of elements. */ member in struct:LookupTable 119 TableIndex table_size; /* Current size of table. */ 126 TableIndex freed_start; /* First freed in table */ 127 int resizes; /* Count of table resize [all...] |
/openjdk7/jdk/src/share/classes/sun/swing/ |
H A D | SwingUtilities2.java | 46 import javax.swing.table.TableCellRenderer; 47 import javax.swing.table.TableColumnModel; 118 * Used to tell a text component, being used as an editor for table 688 * item at the given row of the table. (Column must be 0). 693 public static boolean pointOutsidePrefSize(JTable table, int row, int column, Point p) { argument 694 if (table.convertColumnIndexToModel(column) != 0 || row == -1) { 697 TableCellRenderer tcr = table.getCellRenderer(row, column); 698 Object value = table.getValueAt(row, column); 699 Component cell = tcr.getTableCellRendererComponent(table, value, false, 702 Rectangle cellBounds = table [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicTableUI.java | 40 import javax.swing.table.*; 67 protected JTable table; field in class:BasicTableUI 226 private void moveWithinTableRange(JTable table, int dx, int dy) { argument 227 leadRow = clipToRange(leadRow+dy, 0, table.getRowCount()); 228 leadColumn = clipToRange(leadColumn+dx, 0, table.getColumnCount()); 237 * This method uses the table's notion of selection, which is 241 * It depends on certain table properties (such as whether or not 247 private boolean moveWithinSelectedRange(JTable table, int dx, int dy, argument 253 // find out how many items the table is showing as selected 258 boolean rs = table 2120 getAdjustedLead(JTable table, boolean row, ListSelectionModel model) argument 2129 getAdjustedLead(JTable table, boolean row) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/text/html/ |
H A D | AccessibleHTML.java | 710 // Handle table caption as a special case since it's the 711 // only table child that is not a table row. 1406 * Any time one of the rows or columns becomes invalid the table is 1416 * Allocation of the table by row x column. There may be holes (eg 1455 // children are table rows. 1548 * Returns the number of rows in the table. 1558 * Returns the number of columns in the table. 1696 * Returns the caption for the table. 1698 * @return the caption for the table 1807 setAccessibleRowHeader(AccessibleTable table) argument 1826 setAccessibleColumnHeader(AccessibleTable table) argument 2278 setAccessibleRowHeader(AccessibleTable table) argument 2297 setAccessibleColumnHeader(AccessibleTable table) argument [all...] |
/openjdk7/hotspot/src/share/vm/classfile/ |
H A D | classLoader.cpp | 641 // class, so that it can extract the manifest from it. This table 738 void copy_table(char** top, char* end, PackageHashtable* table); 743 PackageHashtable* table) { 744 // Copy (relocate) the table to the shared space. 751 for (PackageInfo* pp = table->bucket(i); 761 // Copy the table data (the strings) to the shared space. 767 for (PackageInfo* pp = table->bucket(i); 828 // Insert into hash table 922 // add to package table 934 assert(_package_hash_table == NULL, "One package info table allowe 742 copy_table(char** top, char* end, PackageHashtable* table) argument 1135 unsigned short *table; /* Hash chain heads: indexes into entries */ member in struct:real_jzfile13 1168 real_jzentry12 **table; /* hash table of entries */ member in struct:real_jzfile12 [all...] |
/openjdk7/hotspot/src/share/vm/oops/ |
H A D | methodOop.cpp | 113 // exception table holds quadruple entries of the form (beg_bci, end_bci, handler_bci, klass_index) 114 // access exception table 115 ExceptionTable table(mh()); 116 int length = table.length(); 120 //reacquire the table in case a GC happened 121 ExceptionTable table(mh()); 122 int beg_bci = table.start_pc(i); 123 int end_bci = table.end_pc(i); 124 assert(beg_bci <= end_bci, "inconsistent exception table"); 127 int handler_bci = table 497 CheckedExceptionElement* table = h_this->checked_exceptions_start(); // recompute on each iteration, not gc safe local [all...] |
/openjdk7/hotspot/src/share/vm/opto/ |
H A D | parse2.cpp | 242 int _table_index; // index into method data table 348 jint* table = NEW_RESOURCE_ARRAY(jint, len*2); 351 table[j+j+0] = iter().get_int_table(2+j+j); 352 table[j+j+1] = iter().get_dest_table(2+j+j+1); 354 qsort( table, len, 2*sizeof(table[0]), jint_cmp ); 362 jint match_int = table[j+j+0]; 363 int dest = table[j+j+1]; 374 jint highest = table[2*(len-1)]; 397 // Don't make jump table i 324 assert(rp < len+2, �); if( makes_backward_branch && UseLoopSafepoints ) add_safepoint(); jump_switch_ranges(lookup, &ranges[0], &ranges[rp]); } void Parse::do_lookupswitch() { Node *lookup = pop(); int default_dest = iter().get_dest_table(0); int len = iter().get_int_table(1); if (len < 1) { maybe_add_safepoint(default_dest); merge(default_dest); return; } jint* table = NEW_RESOURCE_ARRAY(jint, len*2); { for( int j = 0; j < len; j++ ) { table[j+j+0] = iter().get_int_table(2+j+j); table[j+j+1] = iter().get_dest_table(2+j+j+1); } qsort( table, len, 2*sizeof(table[0]), jint_cmp ); } int rnum = len*2+1; bool makes_backward_branch = false; SwitchRange* ranges = NEW_RESOURCE_ARRAY(SwitchRange, rnum); int rp = -1; for( int j = 0; j < len; j++ ) { jint match_int = table[j+j+0]; int dest = table[j+j+1]; int next_lo = rp < 0 ? min_jint : ranges[rp].hi()+1; int table_index = method_data_update() ? j : NullTableIndex; makes_backward_branch |= (dest <= bci()); if( match_int != next_lo ) { ranges[++rp].setRange(next_lo, match_int-1, default_dest, NullTableIndex); } if( rp < 0 || !ranges[rp].adjoin(match_int, dest, table_index) ) { ranges[++rp].set(match_int, dest, table_index); } } jint highest = table[2*(len-1)]; assert(ranges[rp].hi() == highest, �); if( highest != max_jint && !ranges[rp].adjoinRange(highest+1, max_jint, default_dest, NullTableIndex) ) { ranges[++rp].setRange(highest+1, max_jint, default_dest, NullTableIndex); } assert(rp < rnum, �); if( makes_backward_branch && UseLoopSafepoints ) add_safepoint(); jump_switch_ranges(lookup, &ranges[0], &ranges[rp]); } bool Parse::create_jump_tables(Node* key_val, SwitchRange* lo, SwitchRange* hi) { if (!UseJumpTables) return false; if (!Matcher::has_match_rule(Op_Jump)) return false; if (method_data_update()) return false; bool needs_guard = false; int default_dest; int64 total_outlier_size = 0; int64 hi_size = ((int64)hi->hi()) - ((int64)hi->lo()) + 1; int64 lo_size = ((int64)lo->hi()) - ((int64)lo->lo()) + 1; if (lo->dest() == hi->dest()) { total_outlier_size = hi_size + lo_size; default_dest = lo->dest(); } else if (lo_size > hi_size) argument [all...] |