Home
last modified time | relevance | path

Searched refs:supplier (Results 1 – 25 of 50) sorted by relevance

12

/external/apache-commons-bcel/docs/
Dclassfile.mdl60 supplier "Logical View::AccessFlags"
80 supplier "Logical View::FieldOrMethod"
87 supplier "Logical View::FieldOrMethod"
97 supplier "Logical View::Attribute"
121 supplier "Logical View::Attribute"
129 supplier "Logical View::Attribute"
137 supplier "Logical View::Attribute"
145 supplier "Logical View::Attribute"
163 supplier "Logical View::Constant"
171 supplier "Logical View::Attribute"
[all …]
Dgeneric.mdl60 supplier "Logical View::AccessFlags"
114 supplier "Logical View::AccessFlags"
135 supplier "Logical View::AccessFlags"
157 supplier "Logical View::Instruction"
162 supplier "Logical View::InstructionTargeter"
170 supplier "Logical View::BranchInstruction"
183 supplier "Logical View::Select"
191 supplier "Logical View::Select"
209 supplier "Logical View::InstructionTargeter"
217 supplier "Logical View::BranchInstruction"
[all …]
/external/guava/guava/src/com/google/common/base/
DSuppliers.java50 Function<? super F, T> function, Supplier<F> supplier) { in compose() argument
52 Preconditions.checkNotNull(supplier); in compose()
53 return new SupplierComposition<F, T>(function, supplier); in compose()
59 final Supplier<F> supplier; field in Suppliers.SupplierComposition
61 SupplierComposition(Function<? super F, T> function, Supplier<F> supplier) { in SupplierComposition() argument
63 this.supplier = supplier; in SupplierComposition()
67 return function.apply(supplier.get()); in get()
73 return function.equals(that.function) && supplier.equals(that.supplier); in equals()
79 return Objects.hashCode(function, supplier); in hashCode()
83 return "Suppliers.compose(" + function + ", " + supplier + ")"; in toString()
DFunctions.java328 public static <T> Function<Object, T> forSupplier(Supplier<T> supplier) { in forSupplier() argument
329 return new SupplierFunction<T>(supplier); in forSupplier()
335 private final Supplier<T> supplier; field in Functions.SupplierFunction
337 private SupplierFunction(Supplier<T> supplier) { in SupplierFunction() argument
338 this.supplier = checkNotNull(supplier); in SupplierFunction()
342 return supplier.get(); in apply()
348 return this.supplier.equals(that.supplier); in equals()
354 return supplier.hashCode(); in hashCode()
358 return "forSupplier(" + supplier + ")"; in toString()
DPresent.java57 @Override public T or(Supplier<? extends T> supplier) { in or() argument
58 checkNotNull(supplier); in or()
DAbsent.java59 @Override public T or(Supplier<? extends T> supplier) { in or() argument
60 return checkNotNull(supplier.get(), in or()
/external/guava/guava/src/com/google/common/util/concurrent/
DStriped.java221 private static <L> Striped<L> lazy(int stripes, Supplier<L> supplier) {
223 ? new SmallLazyStriped<L>(stripes, supplier)
224 : new LargeLazyStriped<L>(stripes, supplier);
316 private CompactStriped(int stripes, Supplier<L> supplier) {
322 array[i] = supplier.get();
343 final Supplier<L> supplier;
347 SmallLazyStriped(int stripes, Supplier<L> supplier) {
351 this.supplier = supplier;
363 L created = supplier.get();
412 final Supplier<L> supplier;
[all …]
/external/google-breakpad/src/processor/
Dstackwalker_address_list_unittest.cc87 EXPECT_CALL(supplier, GetCStringSymbolData(_, _, _, _, _)) in StackwalkerAddressListTest()
92 EXPECT_CALL(supplier, FreeSymbolData(_)).Times(AnyNumber()); in StackwalkerAddressListTest()
99 char *buffer = supplier.CopySymbolDataAndOwnTheCopy(info, &buffer_size); in SetModuleSymbols()
100 EXPECT_CALL(supplier, GetCStringSymbolData(module, NULL, _, _, _)) in SetModuleSymbols()
123 MockSymbolSupplier supplier; member in StackwalkerAddressListTest
128 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver); in TEST_F()
162 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver); in TEST_F()
Dstackwalker_mips_unittest.cc95 EXPECT_CALL(supplier, GetCStringSymbolData(_, _, _, _, _)) in StackwalkerMIPSFixture()
100 EXPECT_CALL(supplier, FreeSymbolData(_)).Times(AnyNumber()); in StackwalkerMIPSFixture()
110 char* buffer = supplier.CopySymbolDataAndOwnTheCopy(info, &buffer_size); in SetModuleSymbols()
111 EXPECT_CALL(supplier, GetCStringSymbolData(module, &system_info, _, _, _)) in SetModuleSymbols()
139 MockSymbolSupplier supplier; member in StackwalkerMIPSFixture
182 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver); in TEST_F()
205 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver); in TEST_F()
261 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver); in TEST_F()
336 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver); in TEST_F()
407 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver); in TEST_F()
[all …]
Dminidump_processor_unittest.cc325 TestSymbolSupplier supplier; in TEST_F() local
327 MinidumpProcessor processor(&supplier, &resolver); in TEST_F()
357 MockSymbolSupplier supplier; in TEST_F() local
359 MinidumpProcessor processor(&supplier, &resolver); in TEST_F()
364 EXPECT_CALL(supplier, GetCStringSymbolData( in TEST_F()
368 EXPECT_CALL(supplier, GetCStringSymbolData( in TEST_F()
374 EXPECT_CALL(supplier, FreeSymbolData(_)).Times(AnyNumber()); in TEST_F()
378 ASSERT_TRUE(Mock::VerifyAndClearExpectations(&supplier)); in TEST_F()
382 EXPECT_CALL(supplier, GetCStringSymbolData( in TEST_F()
386 EXPECT_CALL(supplier, GetCStringSymbolData( in TEST_F()
[all …]
Dstackwalker_amd64_unittest.cc93 EXPECT_CALL(supplier, GetCStringSymbolData(_, _, _, _, _)) in StackwalkerAMD64Fixture()
98 EXPECT_CALL(supplier, FreeSymbolData(_)).Times(AnyNumber()); in StackwalkerAMD64Fixture()
108 char *buffer = supplier.CopySymbolDataAndOwnTheCopy(info, &buffer_size); in SetModuleSymbols()
109 EXPECT_CALL(supplier, GetCStringSymbolData(module, &system_info, _, _, _)) in SetModuleSymbols()
137 MockSymbolSupplier supplier; member in StackwalkerAMD64Fixture
182 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver); in TEST_F()
206 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver); in TEST_F()
267 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver); in TEST_F()
342 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver); in TEST_F()
414 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver); in TEST_F()
[all …]
Dstackwalker_arm_unittest.cc95 EXPECT_CALL(supplier, GetCStringSymbolData(_, _, _, _, _)) in StackwalkerARMFixture()
100 EXPECT_CALL(supplier, FreeSymbolData(_)).Times(AnyNumber()); in StackwalkerARMFixture()
110 char *buffer = supplier.CopySymbolDataAndOwnTheCopy(info, &buffer_size); in SetModuleSymbols()
111 EXPECT_CALL(supplier, GetCStringSymbolData(module, &system_info, _, _, _)) in SetModuleSymbols()
139 MockSymbolSupplier supplier; member in StackwalkerARMFixture
175 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver); in TEST_F()
195 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver); in TEST_F()
248 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver); in TEST_F()
319 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver); in TEST_F()
385 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver); in TEST_F()
[all …]
Dstackwalker_arm64_unittest.cc94 EXPECT_CALL(supplier, GetCStringSymbolData(_, _, _, _, _)) in StackwalkerARM64Fixture()
99 EXPECT_CALL(supplier, FreeSymbolData(_)).Times(AnyNumber()); in StackwalkerARM64Fixture()
109 char *buffer = supplier.CopySymbolDataAndOwnTheCopy(info, &buffer_size); in SetModuleSymbols()
110 EXPECT_CALL(supplier, GetCStringSymbolData(module, &system_info, _, _, _)) in SetModuleSymbols()
138 MockSymbolSupplier supplier; member in StackwalkerARM64Fixture
172 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver); in TEST_F()
225 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver); in TEST_F()
297 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver); in TEST_F()
364 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver); in TEST_F()
427 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver); in TEST_F()
[all …]
Dstackwalker_x86_unittest.cc102 EXPECT_CALL(supplier, GetCStringSymbolData(_, _, _, _, _)) in StackwalkerX86Fixture()
107 EXPECT_CALL(supplier, FreeSymbolData(_)).Times(AnyNumber()); in StackwalkerX86Fixture()
117 char *buffer = supplier.CopySymbolDataAndOwnTheCopy(info, &buffer_size); in SetModuleSymbols()
118 EXPECT_CALL(supplier, GetCStringSymbolData(module, &system_info, _, _, _)) in SetModuleSymbols()
150 MockSymbolSupplier supplier; member in StackwalkerX86Fixture
192 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver); in TEST_F()
215 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver); in TEST_F()
257 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver); in TEST_F()
321 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver); in TEST_F()
387 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver); in TEST_F()
[all …]
/external/guava/guava-tests/test/com/google/common/hash/
DChecksumHashFunctionTest.java67 private static void assertChecksum(Supplier<Checksum> supplier, String input) { in assertChecksum() argument
70 Checksum checksum = supplier.get(); in assertChecksum()
75 HashFunction func = new ChecksumHashFunction(supplier, 32, toString); in assertChecksum()
80 private static void assertHash32(int expected, Supplier<Checksum> supplier, String input) { in assertHash32() argument
83 HashFunction func = new ChecksumHashFunction(supplier, 32, toString); in assertHash32()
/external/guava/guava/src/com/google/common/cache/
DLongAddables.java35 Supplier<LongAddable> supplier;
38 supplier = new Supplier<LongAddable>() {
45 supplier = new Supplier<LongAddable>() {
52 SUPPLIER = supplier;
/external/caliper/caliper/src/main/java/com/google/caliper/config/
DCaliperConfigLoader.java67 ByteSource supplier = Util.resourceSupplier(CaliperConfig.class, "default-config.properties"); in loadOrCreate() local
68 tryCopyIfNeeded(supplier, configFile); in loadOrCreate()
72 user = Util.loadProperties(supplier); in loadOrCreate()
89 private static void tryCopyIfNeeded(ByteSource supplier, File rcFile) { in tryCopyIfNeeded() argument
92 supplier.copyTo(Files.asByteSink(rcFile)); in tryCopyIfNeeded()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/snappy/
DSnappyCompressorInputStream.java180 offset = (int) ByteUtils.fromLittleEndian(supplier, 2); in fill()
198 offset = (int) ByteUtils.fromLittleEndian(supplier, 4) & 0x7fffffff; in fill()
229 length = (int) ByteUtils.fromLittleEndian(supplier, 2); in readLiteralLength()
232 length = (int) ByteUtils.fromLittleEndian(supplier, 3); in readLiteralLength()
235 length = (int) ByteUtils.fromLittleEndian(supplier, 4); in readLiteralLength()
/external/desugar/test/java/com/google/devtools/build/android/desugar/
DDesugarMainClassTest.java45 Supplier<Path> supplier = in testLambdaDumpDirSpecifiedInProgramFail() local
52 Desugar.verifyLambdaDumpDirectoryRegistered(supplier.get()); in testLambdaDumpDirSpecifiedInProgramFail()
66 Supplier<Path> supplier = in testLambdaDumpDirPassSpecifiedInCmdPass() local
74 Path dumpDirectory = supplier.get(); in testLambdaDumpDirPassSpecifiedInCmdPass()
/external/mockito/src/test/java/org/mockito/internal/runners/
DDefaultInternalRunnerTest.java26 private final Supplier<MockitoTestListener> supplier = new Supplier<MockitoTestListener>() { field in DefaultInternalRunnerTest
34 new DefaultInternalRunner(SuccessTest.class, supplier) in does_not_fail_when_tests_succeeds()
44 new DefaultInternalRunner(TestFailOnInitialization.class, supplier) in does_not_fail_second_test_when_first_test_fail()
53 new DefaultInternalRunner(SuccessTest.class, supplier) in does_not_fail_second_test_when_first_test_fail()
/external/guava/guava-tests/test/com/google/common/base/
DSuppliersTest.java241 @Override public Supplier<Boolean> apply(Supplier<Boolean> supplier) { in testExpiringMemoizedSupplierThreadSafe()
243 supplier, Long.MAX_VALUE, TimeUnit.NANOSECONDS); in testExpiringMemoizedSupplierThreadSafe()
254 @Override public Supplier<Boolean> apply(Supplier<Boolean> supplier) { in testMemoizedSupplierThreadSafe()
255 return Suppliers.memoize(supplier); in testMemoizedSupplierThreadSafe()
272 final Supplier<Boolean> supplier = new Supplier<Boolean>() { in testSupplierThreadSafe() local
313 final Supplier<Boolean> memoizedSupplier = memoizer.apply(supplier); in testSupplierThreadSafe()
373 Supplier<Integer> supplier = Suppliers.ofInstance(14); in testSupplierFunction() local
377 assertEquals(14, (int) supplierFunction.apply(supplier)); in testSupplierFunction()
/external/junit-params/src/main/java/junitparams/internal/
DNonParameterisedFrameworkMethod.java38 public void run(MethodBlockSupplier supplier, RunNotifier notifier) { in run() argument
39 runMethodInvoker(notifier, supplier.getMethodBlock(this), getDescription()); in run()
DInstanceFrameworkMethod.java54 public void run(MethodBlockSupplier supplier, RunNotifier notifier) { in run() argument
55 runMethodInvoker(notifier, supplier.getMethodBlock(this), getInstanceDescription()); in run()
/external/google-breakpad/src/google_breakpad/processor/
Dstack_frame_symbolizer.h71 StackFrameSymbolizer(SymbolSupplier* supplier,
96 SymbolSupplier* supplier() { return supplier_; } in supplier() function
Dminidump_processor.h53 MinidumpProcessor(SymbolSupplier* supplier,
59 MinidumpProcessor(SymbolSupplier* supplier,

12