Home
last modified time | relevance | path

Searched refs:table (Results 1 – 22 of 22) sorted by relevance

/libcore/luni/src/main/java/java/lang/
DThreadLocal.java62 Object[] table = values.table; in get() local
64 if (this.reference == table[index]) { in get()
65 return (T) table[index + 1]; in get()
166 private Object[] table; field in ThreadLocal.Values
196 this.table = fromParent.table.clone(); in Values()
211 Object[] table = this.table; in inheritValues() local
212 for (int i = table.length - 2; i >= 0; i -= 2) { in inheritValues()
213 Object k = table[i]; in inheritValues()
229 table[i + 1] = key.childValue(fromParent.table[i + 1]); in inheritValues()
232 table[i] = TOMBSTONE; in inheritValues()
[all …]
/libcore/luni/src/main/java/java/util/
DListResourceBundle.java29 HashMap<String, Object> table; field in ListResourceBundle
53 Iterator<String> local = table.keySet().iterator(); in getKeys()
65 if (!table.containsKey(next)) { in getKeys()
95 Iterator<String> it = table.keySet().iterator(); in getKeys()
114 return table.get(key);
118 if (table == null) {
120 table = new HashMap<String, Object>(contents.length / 3 * 4 + 3);
125 table.put((String) content[0], content[1]);
138 return table.keySet();
DHashtable.java78 private transient HashtableEntry<K, V>[] table; field in Hashtable
110 table = (HashtableEntry<K, V>[]) EMPTY_TABLE; in Hashtable()
129 table = tab; in Hashtable()
223 result.makeTable(table.length); in clone()
271 HashtableEntry<K, V>[] tab = table; in get()
299 HashtableEntry<K, V>[] tab = table; in containsKey()
323 HashtableEntry[] tab = table; in containsValue()
372 HashtableEntry<K, V>[] tab = table; in put()
406 HashtableEntry<K, V>[] tab = table; in constructorPut()
446 HashtableEntry<K, V>[] oldTable = table; in ensureCapacity()
[all …]
DHashMap.java94 transient HashMapEntry<K, V>[] table; field in HashMap
130 table = (HashMapEntry<K, V>[]) EMPTY_TABLE; in HashMap()
150 table = tab; in HashMap()
245 result.makeTable(table.length); in clone()
306 HashMapEntry<K, V>[] tab = table; in get()
335 HashMapEntry<K, V>[] tab = table; in containsKey()
355 HashMapEntry[] tab = table; in containsValue()
395 HashMapEntry<K, V>[] tab = table; in put()
458 HashMapEntry<K, V>[] tab = table; in constructorPut()
480 table[index] = new HashMapEntry<K, V>(key, value, hash, table[index]); in addNewEntry()
[all …]
DLinkedHashMap.java192 key, value, hash, table[index], header, oldTail); in addNewEntry()
193 table[index] = oldTail.nxt = header.prv = newTail; in addNewEntry()
251 HashMapEntry<K, V>[] tab = table; in get()
DHashSet.java188 stream.writeInt(backingMap.table.length); in writeObject()
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
DmySSLSession.java26 private Hashtable table; field in mySSLSession
37 table = new Hashtable(); in mySSLSession()
128 Object obj1 = table.put(s, obj); in putValue()
142 Object obj = table.remove(s); in removeValue()
153 return table.get(s); in getValue()
159 Enumeration enumeration = table.keys(); in getValueNames()
/libcore/sqlite-jdbc/src/main/java/SQLite/
DBusyHandler.java19 public boolean busy(String table, int count); in busy() argument
DDatabase.java656 public Blob open_blob(String db, String table, String column, in open_blob() argument
660 _open_blob(db, table, column, row, rw, blob); in open_blob()
710 private native void _open_blob(String db, String table, String column, in _open_blob() argument
/libcore/luni/src/main/java/java/sql/
DDatabaseMetaData.java585 String table, int scope, boolean nullable) throws SQLException; in getBestRowIdentifier() argument
660 String table, String columnNamePattern) throws SQLException; in getColumnPrivileges() argument
1022 public ResultSet getExportedKeys(String catalog, String schema, String table) in getExportedKeys() argument
1131 public ResultSet getImportedKeys(String catalog, String schema, String table) in getImportedKeys() argument
1203 public ResultSet getIndexInfo(String catalog, String schema, String table, in getIndexInfo() argument
1488 public ResultSet getPrimaryKeys(String catalog, String schema, String table) in getPrimaryKeys() argument
2102 String table) throws SQLException; in getVersionColumns() argument
/libcore/luni/src/main/java/org/apache/xml/utils/
DNamespaceSupport2.java575 Hashtable table; in processName() local
581 table = elementNameTable; in processName()
585 table = attributeNameTable; in processName()
591 name = (String[])table.get(qName); in processName()
632 table.put(name[2], name); in processName()
/libcore/luni/src/main/java/org/xml/sax/helpers/
DNamespaceSupport.java642 Hashtable table; in processName() local
649 table = attributeNameTable; in processName()
651 table = elementNameTable; in processName()
657 name = (String[])table.get(qName); in processName()
706 table.put(name[2], name); in processName()
/libcore/luni/src/main/java/org/apache/xalan/templates/
DElemNumber.java1592 protected String int2singlealphaCount(long val, CharArrayWrapper table) in int2singlealphaCount() argument
1595 int radix = table.getLength(); in int2singlealphaCount()
1603 …return (new Character(table.getChar((int)val - 1))).toString(); // index into table is off one, s… in int2singlealphaCount()
1625 char[] table = new char[radix]; in int2alphaCount() local
1632 table[i + 1] = aTable.getChar(i); in int2alphaCount()
1635 table[0] = aTable.getChar(i); in int2alphaCount()
1701 buf[charPos--] = table[lookupIndex]; // left to right or top to bottom in int2alphaCount()
1730 char[] table = null; in tradAlphaCount() local
1816 table = new char[THEletters.getLength() + 1]; in tradAlphaCount()
1822 table[j + 1] = THEletters.getChar(j); in tradAlphaCount()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DSecurity2Test.java139 private void addOrIncrementTable(Hashtable<String, Integer> table, String key) { in addOrIncrementTable() argument
140 if (table.containsKey(key)) { in addOrIncrementTable()
141 Integer before = (Integer) table.get(key); in addOrIncrementTable()
142 table.put(key, new Integer(before.intValue() + 1)); in addOrIncrementTable()
144 table.put(key, new Integer(1)); in addOrIncrementTable()
/libcore/luni/src/main/java/java/util/concurrent/
DConcurrentHashMap.java288 transient volatile HashEntry<K,V>[] table; field in ConcurrentHashMap.Segment
314 table = newTable; in setTable()
321 HashEntry<K,V>[] tab = table; in getFirst()
373 HashEntry<K,V>[] tab = table; in containsValue()
431 HashEntry<K,V>[] tab = table; in put()
457 HashEntry<K,V>[] oldTable = table; in rehash()
517 table = newTable; in rehash()
527 HashEntry<K,V>[] tab = table; in remove()
561 HashEntry<K,V>[] tab = table; in clear()
1093 currentTable = seg.table; in advance()
[all …]
/libcore/sqlite-jdbc/src/main/java/SQLite/JDBC2z/
DJDBCDatabaseMetaData.java685 String table, in getColumnPrivileges() argument
726 String table, int scope, in getBestRowIdentifier() argument
741 SQLite.Shell.sql_quote(table) + ")")); in getBestRowIdentifier()
744 SQLite.Shell.sql_quote(table) + ")")); in getBestRowIdentifier()
841 String table) throws SQLException { in getVersionColumns() argument
860 String table) throws SQLException { in getPrimaryKeys() argument
871 SQLite.Shell.sql_quote(table) + ")")); in getPrimaryKeys()
926 row[2] = table; in getPrimaryKeys()
943 SQLite.Shell.sql_quote(table) + ")")); in getPrimaryKeys()
969 row[2] = table; in getPrimaryKeys()
[all …]
DJDBCConnection.java90 public boolean busy(String table, int count) { in busy() argument
/libcore/luni/src/main/java/java/text/
DDateFormat.java741 private static Hashtable<Integer, Field> table = new Hashtable<Integer, Field>(); field in DateFormat.Field
853 if (calendarField != -1 && table.get(Integer.valueOf(calendarField)) == null) { in Field()
854 table.put(Integer.valueOf(calendarField), this); in Field()
884 return table.get(Integer.valueOf(calendarField)); in ofCalendarField()
/libcore/luni/src/test/java/tests/java/sql/
DDatabaseMetaDataTest.java2187 String table = rs.getString("TABLE_NAME"); in crossCheckGetColumnsAndResultSetMetaData() local
2190 "SELECT * FROM " + schema+"."+table); in crossCheckGetColumnsAndResultSetMetaData()
2209 table, rs.getString("TABLE_NAME")); in crossCheckGetColumnsAndResultSetMetaData()
/libcore/sqlite-jdbc/src/main/native/
Dsqlite_jni.c421 busyhandler(void *udata, const char *table, int count) in busyhandler() argument
437 trans2utf(env, h->haveutf, h->enc, table, &tabstr); in busyhandler()
4292 jstring dbname, jstring table, in Java_SQLite_Database__1open_1blob() argument
4316 trans2iso(env, h->haveutf, h->enc, table, &tbl); in Java_SQLite_Database__1open_1blob()
/libcore/luni/src/test/java/tests/SQLite/
DDatabaseTest.java1820 public boolean busy(String table, int count) { in busy() argument
/libcore/expectations/
Dknownfailures.txt985 …description: "Callback never made for authorization. Results of private table are returned without…