/libcore/ojluni/src/main/java/javax/crypto/spec/ |
D | DESKeySpec.java | 44 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()
|
D | DESedeKeySpec.java | 44 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/ojluni/annotations/sdk/nullability/java/util/ |
D | HashMap.annotated.java | 45 … 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 …]
|
D | NavigableMap.annotated.java | 43 …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()
|
D | Map.annotated.java | 38 public boolean containsKey(@libcore.util.Nullable java.lang.Object key); in containsKey() 42 @libcore.util.Nullable public V get(@libcore.util.Nullable java.lang.Object key); in get() 44 …lable public V put(@libcore.util.NullFromTypeParam K key, @libcore.util.NullFromTypeParam V value); in put() 46 @libcore.util.Nullable public V remove(@libcore.util.Nullable java.lang.Object key); in remove() 62 …va.lang.Object key, @libcore.util.Nullable V defaultValue) { throw new RuntimeException("Stub!"); } in getOrDefault() 68 …mTypeParam K key, @libcore.util.NullFromTypeParam V value) { throw new RuntimeException("Stub!"); } in putIfAbsent() 70 …Object key, @libcore.util.Nullable java.lang.Object value) { throw new RuntimeException("Stub!"); } in remove() 72 …le V oldValue, @libcore.util.NullFromTypeParam V newValue) { throw new RuntimeException("Stub!"); } in replace() 74 …mTypeParam K key, @libcore.util.NullFromTypeParam V value) { throw new RuntimeException("Stub!"); } in replace() 76 ….util.NonNull java.util.function.Function<? super @libcore.util.NullFromTypeParam K,? extends @lib… in computeIfAbsent() [all …]
|
D | TreeMap.annotated.java | 44 …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/luni/src/test/java/libcore/javax/crypto/ |
D | MockKeyAgreementSpi.java | 35 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()
|
D | MockCipherSpi.java | 40 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 …]
|
D | MockMacSpi.java | 38 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/ |
D | MockKeyAgreementSpi.java | 34 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()
|
D | ExemptionMechanismTest.java | 129 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 …]
|
D | MockMacSpi.java | 30 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()
|
D | KeyAgreementSpiTest.java | 48 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
|
/libcore/ojluni/src/main/java/java/util/ |
D | NavigableMap.java | 111 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()
|
D | Map.java | 164 boolean containsKey(Object key); in containsKey() 212 V get(Object key); in get() 240 V put(K key, V value); in put() 272 V remove(Object key); in remove() 586 default V getOrDefault(Object key, V defaultValue) { in getOrDefault() 741 default V putIfAbsent(K key, V value) { in putIfAbsent() 784 default boolean remove(Object key, Object value) { in remove() 836 default boolean replace(K key, V oldValue, V newValue) { in replace() 884 default V replace(K key, V value) { in replace() 966 default V computeIfAbsent(K key, in computeIfAbsent() [all …]
|
/libcore/luni/src/main/java/libcore/util/ |
D | DebugInfo.java | 42 public DebugInfo addStringEntry(String key, String value) { in addStringEntry() 53 public DebugInfo addStringEntry(String key, int value) { in addStringEntry() 65 public DebugEntry getDebugEntry(String key) { in getDebugEntry() 81 private final String key; field in DebugInfo.DebugEntry 85 public DebugEntry(String key, String stringValue) { in DebugEntry()
|
D | BasicLruCache.java | 49 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/prefs/ |
D | AbstractPreferences.java | 246 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 …]
|
D | Preferences.java | 546 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/ |
D | LocaleObjectCache.java | 51 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/ojluni/src/main/java/java/util/concurrent/ |
D | ConcurrentMap.java | 88 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/ |
D | PreferencesTest.java | 281 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/ |
D | PBEKeyTest.java | 43 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/ |
D | AbstractWatchService.java | 71 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/ |
D | Provider.annotated.java | 61 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 …]
|