Home
last modified time | relevance | path

Searched refs:mappingFunction (Results 1 – 25 of 311) sorted by relevance

12345678910>>...13

/aosp_15_r20/external/vogar/src/vogar/target/junit/
H A DMappingAnnotatedBuilder.java31 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 DInPlaceOpsCollisions.java187 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 DMemoizer.java49 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 DSyncVk.cpp184 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 DSyncVk.h68 MapVkResultToApiType mappingFunction,
94 MapVkResultToApiType mappingFunction,
133 MapVkResultToApiType mappingFunction,
/aosp_15_r20/libcore/ojluni/src/main/java/java/util/concurrent/
H A DConcurrentMap.java326 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/
DConcurrentMap.java326 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/
DConcurrentMap.java326 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 DUtil.java30 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/
DTreeMap.java589 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 …]
DMap.java1061 Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument
1062 Objects.requireNonNull(mappingFunction); in computeIfAbsent()
1066 if ((newValue = mappingFunction.apply(key)) != null) { in computeIfAbsent()
DHashtable.java1025 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()
DProperties.java1476 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/
DTreeMap.java589 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 DTreeMap.java589 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 DMap.java1061 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 DHashtable.java1025 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 DProperties.java1476 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 DProvider.java546 …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/
DProvider.java546 …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/
DProvider.java546 …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/
DMap.java1061 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 DDelegatingIteratorForEachRemaining.java146 …(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/
DHashtable.java1025 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 DHashMap.annotated.java74 public V computeIfAbsent(K key, java.util.function.Function<? super K,? extends V> mappingFunction)… in computeIfAbsent() argument

12345678910>>...13