Home
last modified time | relevance | path

Searched defs:key (Results 1 – 25 of 315) sorted by relevance

12345678910>>...13

/libcore/ojluni/annotations/sdk/nullability/java/util/
DHashMap.annotated.java45 … public V get(@libcore.util.Nullable java.lang.Object key) { throw new RuntimeException("Stub!"); } in get()
47 …n containsKey(@libcore.util.Nullable java.lang.Object key) { throw new RuntimeException("Stub!"); } in containsKey()
49 …mTypeParam K key, @libcore.util.NullFromTypeParam V value) { throw new RuntimeException("Stub!"); } in put()
53 …blic V remove(@libcore.util.Nullable java.lang.Object key) { throw new RuntimeException("Stub!"); } in remove()
65 …va.lang.Object key, @libcore.util.Nullable V defaultValue) { throw new RuntimeException("Stub!"); } in getOrDefault()
67 …mTypeParam K key, @libcore.util.NullFromTypeParam V value) { throw new RuntimeException("Stub!"); } in putIfAbsent()
69 …Object key, @libcore.util.Nullable java.lang.Object value) { throw new RuntimeException("Stub!"); } in remove()
71 …le V oldValue, @libcore.util.NullFromTypeParam V newValue) { throw new RuntimeException("Stub!"); } in replace()
73 …mTypeParam K key, @libcore.util.NullFromTypeParam V value) { throw new RuntimeException("Stub!"); } in replace()
75 …nNull java.util.function.Function<? super @libcore.util.NullFromTypeParam K,? extends @libcore.uti… in computeIfAbsent()
[all …]
DNavigableMap.annotated.java43 …mTypeParam K, @libcore.util.NullFromTypeParam V> lowerEntry(@libcore.util.NullFromTypeParam K key); in lowerEntry()
45 @libcore.util.Nullable public K lowerKey(@libcore.util.NullFromTypeParam K key); in lowerKey()
47 …mTypeParam K, @libcore.util.NullFromTypeParam V> floorEntry(@libcore.util.NullFromTypeParam K key); in floorEntry()
49 @libcore.util.Nullable public K floorKey(@libcore.util.NullFromTypeParam K key); in floorKey()
51 …ypeParam K, @libcore.util.NullFromTypeParam V> ceilingEntry(@libcore.util.NullFromTypeParam K key); in ceilingEntry()
53 @libcore.util.Nullable public K ceilingKey(@libcore.util.NullFromTypeParam K key); in ceilingKey()
55 …TypeParam K, @libcore.util.NullFromTypeParam V> higherEntry(@libcore.util.NullFromTypeParam K key); in higherEntry()
57 @libcore.util.Nullable public K higherKey(@libcore.util.NullFromTypeParam K key); in higherKey()
DTreeMap.annotated.java44 …n containsKey(@libcore.util.Nullable java.lang.Object key) { throw new RuntimeException("Stub!"); } in containsKey()
48 … public V get(@libcore.util.Nullable java.lang.Object key) { throw new RuntimeException("Stub!"); } in get()
58 …mTypeParam K key, @libcore.util.NullFromTypeParam V value) { throw new RuntimeException("Stub!"); } in put()
60 …blic V remove(@libcore.util.Nullable java.lang.Object key) { throw new RuntimeException("Stub!"); } in remove()
74 …FromTypeParam V> lowerEntry(@libcore.util.NullFromTypeParam K key) { throw new RuntimeException("S… in lowerEntry()
76 …e public K lowerKey(@libcore.util.NullFromTypeParam K key) { throw new RuntimeException("Stub!"); } in lowerKey()
78 …FromTypeParam V> floorEntry(@libcore.util.NullFromTypeParam K key) { throw new RuntimeException("S… in floorEntry()
80 …e public K floorKey(@libcore.util.NullFromTypeParam K key) { throw new RuntimeException("Stub!"); } in floorKey()
82 …FromTypeParam V> ceilingEntry(@libcore.util.NullFromTypeParam K key) { throw new RuntimeException(… in ceilingEntry()
84 …public K ceilingKey(@libcore.util.NullFromTypeParam K key) { throw new RuntimeException("Stub!"); } in ceilingKey()
[all …]
/libcore/ojluni/src/main/java/javax/crypto/spec/
DDESKeySpec.java44 private byte[] key; field in DESKeySpec
130 public DESKeySpec(byte[] key) throws InvalidKeyException { in DESKeySpec()
153 public DESKeySpec(byte[] key, int offset) throws InvalidKeyException { in DESKeySpec()
186 public static boolean isParityAdjusted(byte[] key, int offset) in isParityAdjusted()
219 public static boolean isWeak(byte[] key, int offset) in isWeak()
DDESedeKeySpec.java44 private byte[] key; field in DESedeKeySpec
61 public DESedeKeySpec(byte[] key) throws InvalidKeyException { in DESedeKeySpec()
83 public DESedeKeySpec(byte[] key, int offset) throws InvalidKeyException { in DESedeKeySpec()
114 public static boolean isParityAdjusted(byte[] key, int offset) in isParityAdjusted()
/libcore/luni/src/test/java/libcore/javax/crypto/
DMockKeyAgreementSpi.java35 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
44 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
55 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
59 protected Key engineDoPhase(Key key, boolean lastPhase) throws InvalidKeyException, in engineDoPhase()
82 protected void engineInit(Key key, SecureRandom random) throws InvalidKeyException { in engineInit()
87 protected void engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random) in engineInit()
DMockCipherSpi.java40 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
49 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
104 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit()
110 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit()
116 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit()
124 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit()
130 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit()
136 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit()
144 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit()
150 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit()
[all …]
DMockMacSpi.java38 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
47 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
58 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
67 protected void engineInit(Key key, AlgorithmParameterSpec params) in engineInit()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DMockKeyAgreementSpi.java34 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
43 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
53 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
57 protected Key engineDoPhase(Key key, boolean lastPhase) throws InvalidKeyException, in engineDoPhase()
80 protected void engineInit(Key key, SecureRandom random) throws InvalidKeyException { in engineInit()
85 protected void engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random) in engineInit()
DExemptionMechanismTest.java129 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in testIsCryptoAllowed() local
161 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in testGenExemptionBlob() local
203 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_genExemptionBlob() local
241 Key key = new Mock_ExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_genExemptionBlob$B() local
281 Key key = new Mock_ExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_genExemptionBlob$BI() local
378 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_getName() local
393 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_getOutputSizeI() local
416 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_getProvider() local
431 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_initLjava_security_Key() local
465 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_initLjava_security_KeyLjava_security_AlgorithmParameters() local
[all …]
DMockMacSpi.java30 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
39 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
49 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
58 protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, in engineInit()
DKeyAgreementSpiTest.java48 protected Key engineDoPhase(Key key, boolean lastPhase) throws InvalidKeyException, in engineDoPhase()
71 protected void engineInit(Key key, SecureRandom random) throws InvalidKeyException { in engineInit()
76 protected void engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random) in engineInit()
107 Key key = null; in testKeyAgreementSpi01() local
DExemptionMechanismSpiTest.java66 protected void engineInit(Key key) throws InvalidKeyException, ExemptionMechanismException { in engineInit()
72 …protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, Inva… in engineInit()
78 …protected void engineInit(Key key, AlgorithmParameters params) throws InvalidKeyException, Invalid… in engineInit()
98 Key key = null; in testExemptionMechanismSpi01() local
/libcore/ojluni/src/main/java/java/util/
DNavigableMap.java111 Map.Entry<K,V> lowerEntry(K key); in lowerEntry()
125 K lowerKey(K key); in lowerKey()
140 Map.Entry<K,V> floorEntry(K key); in floorEntry()
154 K floorKey(K key); in floorKey()
169 Map.Entry<K,V> ceilingEntry(K key); in ceilingEntry()
183 K ceilingKey(K key); in ceilingKey()
198 Map.Entry<K,V> higherEntry(K key); in higherEntry()
212 K higherKey(K key); in higherKey()
DDictionary.java112 abstract public V get(Object key); in get()
141 abstract public V put(K key, V value); in put()
154 abstract public V remove(Object key); in remove()
/libcore/ojluni/src/main/java/java/util/prefs/
DAbstractPreferences.java246 public void put(String key, String value) { in put()
285 public String get(String key, String def) { in get()
317 public void remove(String key) { in remove()
366 public void putInt(String key, int value) { in putInt()
392 public int getInt(String key, int def) { in getInt()
421 public void putLong(String key, long value) { in putLong()
447 public long getLong(String key, long def) { in getLong()
476 public void putBoolean(String key, boolean value) { in putBoolean()
505 public boolean getBoolean(String key, boolean def) { in getBoolean()
534 public void putFloat(String key, float value) { in putFloat()
[all …]
DPreferences.java546 public abstract void put(String key, String value); in put()
569 public abstract String get(String key, String def); in get()
585 public abstract void remove(String key); in remove()
622 public abstract void putInt(String key, int value); in putInt()
654 public abstract int getInt(String key, int def); in getInt()
672 public abstract void putLong(String key, long value); in putLong()
704 public abstract long getLong(String key, long def); in getLong()
723 public abstract void putBoolean(String key, boolean value); in putBoolean()
759 public abstract boolean getBoolean(String key, boolean def); in getBoolean()
777 public abstract void putFloat(String key, float value); in putFloat()
[all …]
/libcore/ojluni/src/main/java/sun/util/locale/
DLocaleObjectCache.java51 public V get(K key) { in get()
85 protected V put(K key, V value) { in put()
99 protected abstract V createObject(K key); in createObject()
101 protected K normalizeKey(K key) { in normalizeKey()
106 private K key; field in LocaleObjectCache.CacheEntry
108 CacheEntry(K key, V value, ReferenceQueue<V> queue) { in CacheEntry()
/libcore/luni/src/main/java/libcore/util/
DBasicLruCache.java49 public final V get(K key) { in get()
88 public synchronized final V put(K key, V value) { in put()
104 K key = toEvict.getKey(); in trimToSize() local
116 protected void entryEvicted(K key, V value) {} in entryEvicted()
123 protected V create(K key) { in create()
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentMap.java88 default V getOrDefault(Object key, V defaultValue) { in getOrDefault()
159 V putIfAbsent(K key, V value); in putIfAbsent()
190 boolean remove(Object key, Object value); in remove()
222 boolean replace(K key, V oldValue, V newValue); in replace()
254 V replace(K key, V value); in replace()
327 default V computeIfAbsent(K key, in computeIfAbsent()
369 default V computeIfPresent(K key, in computeIfPresent()
417 default V compute(K key, in compute()
477 default V merge(K key, V value, in merge()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
DPreferencesTest.java281 public String get(String key, String deflt) { in get()
286 public boolean getBoolean(String key, boolean deflt) { in getBoolean()
291 public byte[] getByteArray(String key, byte[] deflt) { in getByteArray()
296 public double getDouble(String key, double deflt) { in getDouble()
301 public float getFloat(String key, float deflt) { in getFloat()
306 public int getInt(String key, int deflt) { in getInt()
311 public long getLong(String key, long deflt) { in getLong()
346 public void put(String key, String value) { in put()
351 public void putBoolean(String key, boolean value) { in putBoolean()
356 public void putByteArray(String key, byte[] value) { in putByteArray()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/interfaces/
DPBEKeyTest.java43 checkPBEKey key = new checkPBEKey(); in testField() local
50 checkPBEKey key = new checkPBEKey(); in test_getIterationCount() local
56 checkPBEKey key = new checkPBEKey(); in test_getPassword() local
62 checkPBEKey key = new checkPBEKey(); in test_getSalt() local
/libcore/ojluni/src/main/java/sun/nio/fs/
DAbstractWatchService.java71 final void enqueueKey(WatchKey key) { in enqueueKey()
87 private void checkKey(WatchKey key) { in checkKey()
98 WatchKey key = pendingKeys.poll(); in poll() local
108 WatchKey key = pendingKeys.poll(timeout, unit); in poll() local
118 WatchKey key = pendingKeys.take(); in take() local
/libcore/ojluni/annotations/mmodule/java/security/
DProvider.annotated.java61 public synchronized java.lang.Object put(java.lang.Object key, java.lang.Object value) { throw new … in put()
63 public synchronized java.lang.Object putIfAbsent(java.lang.Object key, java.lang.Object value) { th… in putIfAbsent()
65 public synchronized java.lang.Object remove(java.lang.Object key) { throw new RuntimeException("Stu… in remove()
67 public synchronized boolean remove(java.lang.Object key, java.lang.Object value) { throw new Runtim… in remove()
69 public synchronized boolean replace(java.lang.Object key, java.lang.Object oldValue, java.lang.Obje… in replace()
71 public synchronized java.lang.Object replace(java.lang.Object key, java.lang.Object value) { throw … in replace()
75 public synchronized java.lang.Object compute(java.lang.Object key, java.util.function.BiFunction<? … in compute()
77 public synchronized java.lang.Object computeIfAbsent(java.lang.Object key, java.util.function.Funct… in computeIfAbsent()
79 public synchronized java.lang.Object computeIfPresent(java.lang.Object key, java.util.function.BiFu… in computeIfPresent()
81 public synchronized java.lang.Object merge(java.lang.Object key, java.lang.Object value, java.util.… in merge()
[all …]
/libcore/ojluni/src/main/java/java/security/
DProvider.java327 public synchronized Object put(Object key, Object value) { in put()
354 public synchronized Object putIfAbsent(Object key, Object value) { in putIfAbsent()
380 public synchronized Object remove(Object key) { in remove()
405 public synchronized boolean remove(Object key, Object value) { in remove()
430 public synchronized boolean replace(Object key, Object oldValue, in replace()
457 public synchronized Object replace(Object key, Object value) { in replace()
513 public synchronized Object compute(Object key, in compute()
544 …public synchronized Object computeIfAbsent(Object key, Function<? super Object, ? extends Object> … in computeIfAbsent() argument
573 …public synchronized Object computeIfPresent(Object key, BiFunction<? super Object, ? super Object,… in computeIfPresent() argument
605 …public synchronized Object merge(Object key, Object value, BiFunction<? super Object, ? super Obj… in merge() argument
[all …]

12345678910>>...13