/aosp_15_r20/external/vogar/src/vogar/target/junit/ |
H A D | MappingAnnotatedBuilder.java | 31 private final Function<Class<? extends Runner>, Class<? extends Runner>> mappingFunction; field in MappingAnnotatedBuilder 35 Function<Class<? extends Runner>, Class<? extends Runner>> mappingFunction) { in MappingAnnotatedBuilder() argument 37 this.mappingFunction = mappingFunction; in MappingAnnotatedBuilder() 46 runnerClass = mappingFunction.apply(runnerClass); in runnerForClass()
|
/aosp_15_r20/libcore/ojluni/src/test/java/util/Map/ |
H A D | InPlaceOpsCollisions.java | 187 Function<T, T> mappingFunction) { in testComputeIfAbsent() argument 191 T expectedVal = mappingFunction.apply(keys[0]); in testComputeIfAbsent() 196 retVal = map.computeIfAbsent(keys[i], mappingFunction); in testComputeIfAbsent() 245 BiFunction<T, T, T> mappingFunction) { in testComputeIfPresent() argument 250 T funcResult = mappingFunction.apply(keys[0], keys[0]); in testComputeIfPresent() 255 T retVal = map.computeIfPresent(keys[i], mappingFunction); in testComputeIfPresent() 306 BiFunction<IntKey, IntKey, IntKey> mappingFunction = (k, v) -> { in testComputeNonNull() local 315 IntKey retVal = map.compute(keys[i], mappingFunction); in testComputeNonNull() 346 BiFunction<Object, Object, Object> mappingFunction = (k, v) -> { in testComputeNull() local 358 Object retVal = map.compute(keys[i], mappingFunction); in testComputeNull() [all …]
|
/aosp_15_r20/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/concurrent/ |
H A D | Memoizer.java | 49 private final Function<? super I, ? extends Future<O>> mappingFunction; field in Memoizer 76 this.mappingFunction = k -> FutureTasks.run(() -> computable.compute(k)); in Memoizer() 105 this.mappingFunction = k -> FutureTasks.run(() -> function.apply(k)); in Memoizer() 124 final Future<O> future = cache.computeIfAbsent(arg, mappingFunction); in compute()
|
/aosp_15_r20/external/angle/src/libANGLE/renderer/vulkan/ |
H A D | SyncVk.cpp | 184 MapVkResultToApiType mappingFunction, in clientWait() argument 194 mappingFunction(status, angle::Result::Continue, resultOut); in clientWait() 202 auto clientWaitUnlocked = [renderer, context, mappingFunction, use = mUse, in clientWait() 213 mappingFunction(status, angleResult, resultOut); in clientWait() 487 MapVkResultToApiType mappingFunction, in clientWait() argument 497 mappingFunction(status, angle::Result::Continue, resultOut); in clientWait() 504 mappingFunction, timeout](void *resultOut) { in clientWait() 509 mappingFunction(status, angle::Result::Continue, resultOut); in clientWait()
|
H A D | SyncVk.h | 68 MapVkResultToApiType mappingFunction, 94 MapVkResultToApiType mappingFunction, 133 MapVkResultToApiType mappingFunction,
|
/aosp_15_r20/libcore/ojluni/src/main/java/java/util/concurrent/ |
H A D | ConcurrentMap.java | 326 Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument 327 Objects.requireNonNull(mappingFunction); in computeIfAbsent() 330 && (newValue = mappingFunction.apply(key)) != null in computeIfAbsent()
|
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/19/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ConcurrentMap.java | 326 Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument 327 Objects.requireNonNull(mappingFunction); in computeIfAbsent() 330 && (newValue = mappingFunction.apply(key)) != null in computeIfAbsent()
|
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/gensrcs/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ConcurrentMap.java | 326 Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument 327 Objects.requireNonNull(mappingFunction); in computeIfAbsent() 330 && (newValue = mappingFunction.apply(key)) != null in computeIfAbsent()
|
/aosp_15_r20/external/dagger2/java/dagger/internal/codegen/base/ |
H A D | Util.java | 30 Map<K, V> map, K key, Function<? super K, ? extends V> mappingFunction) { in reentrantComputeIfAbsent() argument 33 value = mappingFunction.apply(key); in reentrantComputeIfAbsent()
|
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/gensrcs/libcore/ojluni/src/main/java/java/util/ |
D | TreeMap.java | 589 public V computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument 590 Objects.requireNonNull(mappingFunction); in computeIfAbsent() 594 newValue = callMappingFunctionWithCheck(key, mappingFunction); in computeIfAbsent() 616 t.value = callMappingFunctionWithCheck(key, mappingFunction); in computeIfAbsent() 634 t.value = callMappingFunctionWithCheck(key, mappingFunction); in computeIfAbsent() 640 newValue = callMappingFunctionWithCheck(key, mappingFunction); in computeIfAbsent() 782 … private V callMappingFunctionWithCheck(K key, Function<? super K, ? extends V> mappingFunction) { in callMappingFunctionWithCheck() argument 784 V newValue = mappingFunction.apply(key); in callMappingFunctionWithCheck() 1852 public V computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument 1856 if (mappingFunction.apply(key) == null) return null; in computeIfAbsent() [all …]
|
D | Map.java | 1061 Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument 1062 Objects.requireNonNull(mappingFunction); in computeIfAbsent() 1066 if ((newValue = mappingFunction.apply(key)) != null) { in computeIfAbsent()
|
D | Hashtable.java | 1025 public synchronized V computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument 1026 Objects.requireNonNull(mappingFunction); in computeIfAbsent() 1041 V newValue = mappingFunction.apply(key); in computeIfAbsent()
|
D | Properties.java | 1476 Function<? super Object, ?> mappingFunction) { in computeIfAbsent() argument 1477 return map.computeIfAbsent(key, mappingFunction); in computeIfAbsent()
|
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/24/libcore/ojluni/src/main/java/java/util/ |
D | TreeMap.java | 589 public V computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument 590 Objects.requireNonNull(mappingFunction); in computeIfAbsent() 594 newValue = callMappingFunctionWithCheck(key, mappingFunction); in computeIfAbsent() 616 t.value = callMappingFunctionWithCheck(key, mappingFunction); in computeIfAbsent() 634 t.value = callMappingFunctionWithCheck(key, mappingFunction); in computeIfAbsent() 640 newValue = callMappingFunctionWithCheck(key, mappingFunction); in computeIfAbsent() 782 … private V callMappingFunctionWithCheck(K key, Function<? super K, ? extends V> mappingFunction) { in callMappingFunctionWithCheck() argument 784 V newValue = mappingFunction.apply(key); in callMappingFunctionWithCheck() 1852 public V computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument 1856 if (mappingFunction.apply(key) == null) return null; in computeIfAbsent() [all …]
|
/aosp_15_r20/libcore/ojluni/src/main/java/java/util/ |
H A D | TreeMap.java | 589 public V computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument 590 Objects.requireNonNull(mappingFunction); in computeIfAbsent() 594 newValue = callMappingFunctionWithCheck(key, mappingFunction); in computeIfAbsent() 616 t.value = callMappingFunctionWithCheck(key, mappingFunction); in computeIfAbsent() 634 t.value = callMappingFunctionWithCheck(key, mappingFunction); in computeIfAbsent() 640 newValue = callMappingFunctionWithCheck(key, mappingFunction); in computeIfAbsent() 782 … private V callMappingFunctionWithCheck(K key, Function<? super K, ? extends V> mappingFunction) { in callMappingFunctionWithCheck() argument 784 V newValue = mappingFunction.apply(key); in callMappingFunctionWithCheck() 1852 public V computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument 1856 if (mappingFunction.apply(key) == null) return null; in computeIfAbsent() [all …]
|
H A D | Map.java | 1061 Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument 1062 Objects.requireNonNull(mappingFunction); in computeIfAbsent() 1066 if ((newValue = mappingFunction.apply(key)) != null) { in computeIfAbsent()
|
H A D | Hashtable.java | 1025 public synchronized V computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument 1026 Objects.requireNonNull(mappingFunction); in computeIfAbsent() 1041 V newValue = mappingFunction.apply(key); in computeIfAbsent()
|
H A D | Properties.java | 1476 Function<? super Object, ?> mappingFunction) { in computeIfAbsent() argument 1477 return map.computeIfAbsent(key, mappingFunction); in computeIfAbsent()
|
/aosp_15_r20/libcore/ojluni/src/main/java/java/security/ |
H A D | Provider.java | 546 …ed Object computeIfAbsent(Object key, Function<? super Object, ? extends Object> mappingFunction) { in computeIfAbsent() argument 554 return implComputeIfAbsent(key, mappingFunction); in computeIfAbsent() 835 …bject implComputeIfAbsent(Object key, Function<? super Object, ? extends Object> mappingFunction) { in implComputeIfAbsent() argument 841 (Function<? super String, ? extends String>) mappingFunction); in implComputeIfAbsent() 843 return super.computeIfAbsent(key, mappingFunction); in implComputeIfAbsent()
|
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/13/libcore/ojluni/src/main/java/java/security/ |
D | Provider.java | 546 …ed Object computeIfAbsent(Object key, Function<? super Object, ? extends Object> mappingFunction) { in computeIfAbsent() argument 554 return implComputeIfAbsent(key, mappingFunction); in computeIfAbsent() 835 …bject implComputeIfAbsent(Object key, Function<? super Object, ? extends Object> mappingFunction) { in implComputeIfAbsent() argument 841 (Function<? super String, ? extends String>) mappingFunction); in implComputeIfAbsent() 843 return super.computeIfAbsent(key, mappingFunction); in implComputeIfAbsent()
|
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/gensrcs/libcore/ojluni/src/main/java/java/security/ |
D | Provider.java | 546 …ed Object computeIfAbsent(Object key, Function<? super Object, ? extends Object> mappingFunction) { in computeIfAbsent() argument 554 return implComputeIfAbsent(key, mappingFunction); in computeIfAbsent() 835 …bject implComputeIfAbsent(Object key, Function<? super Object, ? extends Object> mappingFunction) { in implComputeIfAbsent() argument 841 (Function<? super String, ? extends String>) mappingFunction); in implComputeIfAbsent() 843 return super.computeIfAbsent(key, mappingFunction); in implComputeIfAbsent()
|
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/23/libcore/ojluni/src/main/java/java/util/ |
D | Map.java | 1061 Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument 1062 Objects.requireNonNull(mappingFunction); in computeIfAbsent() 1066 if ((newValue = mappingFunction.apply(key)) != null) { in computeIfAbsent()
|
/aosp_15_r20/libcore/ojluni/src/test/java/util/Collections/ |
H A D | DelegatingIteratorForEachRemaining.java | 146 …(K key, Function<? super K, ? extends V> mappingFunction) { return delegate.computeIfAbsent(key, m… in computeIfAbsent() argument
|
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/18/libcore/ojluni/src/main/java/java/util/ |
D | Hashtable.java | 1025 public synchronized V computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument 1026 Objects.requireNonNull(mappingFunction); in computeIfAbsent() 1041 V newValue = mappingFunction.apply(key); in computeIfAbsent()
|
/aosp_15_r20/libcore/ojluni/annotations/flagged_api/java/util/ |
H A D | HashMap.annotated.java | 74 public V computeIfAbsent(K key, java.util.function.Function<? super K,? extends V> mappingFunction)… in computeIfAbsent() argument
|