Searched defs:supplier (Results 1 - 25 of 39) sorted by relevance

12

/external/caliper/caliper/src/main/java/com/google/caliper/config/
H A DCaliperConfigLoader.java67 ByteSource supplier = Util.resourceSupplier(CaliperConfig.class, "default-config.properties");
68 tryCopyIfNeeded(supplier, configFile);
72 user = Util.loadProperties(supplier);
89 private static void tryCopyIfNeeded(ByteSource supplier, File rcFile) { argument
92 supplier.copyTo(Files.asByteSink(rcFile));
/external/google-breakpad/src/processor/
H A Dstack_frame_symbolizer.cc52 SymbolSupplier* supplier,
53 SourceLineResolverInterface* resolver) : supplier_(supplier),
81 // Module needs to fetch symbol file. First check to see if supplier exists.
86 // Start fetching symbol from supplier.
51 StackFrameSymbolizer( SymbolSupplier* supplier, SourceLineResolverInterface* resolver) argument
H A Dstackwalker_address_list_unittest.cc87 EXPECT_CALL(supplier, GetCStringSymbolData(_, _, _, _, _))
92 EXPECT_CALL(supplier, FreeSymbolData(_)).Times(AnyNumber());
95 // Set the Breakpad symbol information that supplier should return for
99 char *buffer = supplier.CopySymbolDataAndOwnTheCopy(info, &buffer_size);
100 EXPECT_CALL(supplier, GetCStringSymbolData(module, NULL, _, _, _))
123 MockSymbolSupplier supplier; member in class:StackwalkerAddressListTest
128 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver);
162 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver);
H A Dstackwalker_amd64_unittest.cc93 EXPECT_CALL(supplier, GetCStringSymbolData(_, _, _, _, _))
98 EXPECT_CALL(supplier, FreeSymbolData(_)).Times(AnyNumber());
104 // Set the Breakpad symbol information that supplier should return for
108 char *buffer = supplier.CopySymbolDataAndOwnTheCopy(info, &buffer_size);
109 EXPECT_CALL(supplier, GetCStringSymbolData(module, &system_info, _, _, _))
137 MockSymbolSupplier supplier; member in class:StackwalkerAMD64Fixture
158 // This should succeed even without a resolver or supplier.
182 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver);
206 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver);
267 StackFrameSymbolizer frame_symbolizer(&supplier,
[all...]
H A Dstackwalker_arm64_unittest.cc94 EXPECT_CALL(supplier, GetCStringSymbolData(_, _, _, _, _))
99 EXPECT_CALL(supplier, FreeSymbolData(_)).Times(AnyNumber());
105 // Set the Breakpad symbol information that supplier should return for
109 char *buffer = supplier.CopySymbolDataAndOwnTheCopy(info, &buffer_size);
110 EXPECT_CALL(supplier, GetCStringSymbolData(module, &system_info, _, _, _))
138 MockSymbolSupplier supplier; member in class:StackwalkerARM64Fixture
152 // This should succeed even without a resolver or supplier.
172 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver);
225 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver);
297 StackFrameSymbolizer frame_symbolizer(&supplier,
[all...]
H A Dstackwalker_arm_unittest.cc95 EXPECT_CALL(supplier, GetCStringSymbolData(_, _, _, _, _))
100 EXPECT_CALL(supplier, FreeSymbolData(_)).Times(AnyNumber());
106 // Set the Breakpad symbol information that supplier should return for
110 char *buffer = supplier.CopySymbolDataAndOwnTheCopy(info, &buffer_size);
111 EXPECT_CALL(supplier, GetCStringSymbolData(module, &system_info, _, _, _))
139 MockSymbolSupplier supplier; member in class:StackwalkerARMFixture
154 // This should succeed even without a resolver or supplier.
175 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver);
195 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver);
248 StackFrameSymbolizer frame_symbolizer(&supplier,
[all...]
H A Dstackwalker_mips_unittest.cc95 EXPECT_CALL(supplier, GetCStringSymbolData(_, _, _, _, _))
100 EXPECT_CALL(supplier, FreeSymbolData(_)).Times(AnyNumber());
106 // Set the Breakpad symbol information that supplier should return for
110 char* buffer = supplier.CopySymbolDataAndOwnTheCopy(info, &buffer_size);
111 EXPECT_CALL(supplier, GetCStringSymbolData(module, &system_info, _, _, _))
139 MockSymbolSupplier supplier; member in class:StackwalkerMIPSFixture
157 // This should succeed, even without a resolver or supplier.
182 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver);
205 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver);
261 StackFrameSymbolizer frame_symbolizer(&supplier,
[all...]
H A Dstackwalker_x86_unittest.cc102 EXPECT_CALL(supplier, GetCStringSymbolData(_, _, _, _, _))
107 EXPECT_CALL(supplier, FreeSymbolData(_)).Times(AnyNumber());
113 // Set the Breakpad symbol information that supplier should return for
117 char *buffer = supplier.CopySymbolDataAndOwnTheCopy(info, &buffer_size);
118 EXPECT_CALL(supplier, GetCStringSymbolData(module, &system_info, _, _, _))
150 MockSymbolSupplier supplier; member in class:StackwalkerX86Fixture
168 // This should succeed, even without a resolver or supplier.
192 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver);
215 StackFrameSymbolizer frame_symbolizer(&supplier, &resolver);
257 StackFrameSymbolizer frame_symbolizer(&supplier,
[all...]
H A Dminidump_processor_unittest.cc325 TestSymbolSupplier supplier; local
327 MinidumpProcessor processor(&supplier, &resolver);
354 // This test case verifies that the symbol supplier is only consulted
357 MockSymbolSupplier supplier; local
359 MinidumpProcessor processor(&supplier, &resolver);
364 EXPECT_CALL(supplier, GetCStringSymbolData(
368 EXPECT_CALL(supplier, GetCStringSymbolData(
374 EXPECT_CALL(supplier, FreeSymbolData(_)).Times(AnyNumber());
378 ASSERT_TRUE(Mock::VerifyAndClearExpectations(&supplier));
381 // symbol files, even with the same symbol supplier
398 TestSymbolSupplier supplier; local
[all...]
H A Dminidump_processor.cc50 MinidumpProcessor::MinidumpProcessor(SymbolSupplier *supplier, argument
52 : frame_symbolizer_(new StackFrameSymbolizer(supplier, resolver)),
57 MinidumpProcessor::MinidumpProcessor(SymbolSupplier *supplier, argument
60 : frame_symbolizer_(new StackFrameSymbolizer(supplier, resolver)),
/external/guava/guava-tests/test/com/google/common/hash/
H A DChecksumHashFunctionTest.java67 private static void assertChecksum(Supplier<Checksum> supplier, String input) { argument
70 Checksum checksum = supplier.get();
75 HashFunction func = new ChecksumHashFunction(supplier, 32, toString);
80 private static void assertHash32(int expected, Supplier<Checksum> supplier, String input) { argument
83 HashFunction func = new ChecksumHashFunction(supplier, 32, toString);
/external/google-breakpad/src/google_breakpad/processor/
H A Dstack_frame_symbolizer.h32 // Helper class that encapsulates the logic of how symbol supplier interacts
71 StackFrameSymbolizer(SymbolSupplier* supplier,
96 SymbolSupplier* supplier() { return supplier_; } function in class:google_breakpad::StackFrameSymbolizer
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
H A DCacheLoader.java124 * Returns a cache loader based on an <i>existing</i> supplier instance. Note that there's no need
125 * to create a <i>new</i> supplier just to pass it in here; just subclass {@code CacheLoader} and
128 * @param supplier the supplier to be used for loading values; must never return {@code null}
133 public static <V> CacheLoader<Object, V> from(Supplier<V> supplier) { argument
134 return new SupplierToCacheLoader<V>(supplier);
/external/guava/guava/src/com/google/common/base/
H A DAbsent.java59 @Override public T or(Supplier<? extends T> supplier) { argument
60 return checkNotNull(supplier.get(),
H A DOptional.java152 * Returns the contained instance if it is present; {@code supplier.get()} otherwise. If the
153 * supplier returns {@code null}, a {@link NullPointerException} is thrown.
155 * @throws NullPointerException if the supplier returns {@code null}
158 public abstract T or(Supplier<? extends T> supplier); argument
H A DPresent.java57 @Override public T or(Supplier<? extends T> supplier) { argument
58 checkNotNull(supplier);
H A DFunctions.java323 * supplier}, regardless of its input.
328 public static <T> Function<Object, T> forSupplier(Supplier<T> supplier) { argument
329 return new SupplierFunction<T>(supplier);
335 private final Supplier<T> supplier; field in class:Functions.SupplierFunction
337 private SupplierFunction(Supplier<T> supplier) { argument
338 this.supplier = checkNotNull(supplier);
342 return supplier.get();
348 return this.supplier.equals(that.supplier);
[all...]
H A DSuppliers.java43 * Returns a new supplier which is the composition of the provided function
44 * and supplier. In other words, the new supplier's value will be computed by
45 * retrieving the value from {@code supplier}, and then applying
46 * {@code function} to that value. Note that the resulting supplier will not
47 * call {@code supplier} or invoke {@code function} until it is called.
50 Function<? super F, T> function, Supplier<F> supplier) {
52 Preconditions.checkNotNull(supplier);
53 return new SupplierComposition<F, T>(function, supplier);
59 final Supplier<F> supplier; field in class:Suppliers.SupplierComposition
49 compose( Function<? super F, T> function, Supplier<F> supplier) argument
61 SupplierComposition(Function<? super F, T> function, Supplier<F> supplier) argument
[all...]
/external/guava/guava/src/com/google/common/cache/
H A DCacheLoader.java158 * Returns a cache loader based on an <i>existing</i> supplier instance. Note that there's no need
159 * to create a <i>new</i> supplier just to pass it in here; just subclass {@code CacheLoader} and
162 * @param supplier the supplier to be used for loading values; must never return {@code null}
167 public static <V> CacheLoader<Object, V> from(Supplier<V> supplier) { argument
168 return new SupplierToCacheLoader<V>(supplier);
/external/guava/guava-gwt/src/com/google/common/base/
H A DGwtSerializationDependencies.java61 @Override public T or(Supplier<? extends T> supplier) { argument
/external/guava/guava/src/com/google/common/util/concurrent/
H A DStriped.java221 private static <L> Striped<L> lazy(int stripes, Supplier<L> supplier) { argument
223 ? new SmallLazyStriped<L>(stripes, supplier)
224 : new LargeLazyStriped<L>(stripes, supplier);
316 private CompactStriped(int stripes, Supplier<L> supplier) { argument
322 array[i] = supplier.get();
343 final Supplier<L> supplier; field in class:Striped.SmallLazyStriped
347 SmallLazyStriped(int stripes, Supplier<L> supplier) { argument
351 this.supplier = supplier;
363 L created = supplier
412 final Supplier<L> supplier; field in class:Striped.LargeLazyStriped
415 LargeLazyStriped(int stripes, Supplier<L> supplier) argument
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.equinox.security_1.0.200.v20100503.jar ... .core.runtime.IConfigurationElement element Throwable e String supplier String message } org/eclipse/equinox/internal/security/auth/ConfigurationFederator. ...
H A Dorg.eclipse.osgi_3.6.1.R36x_v20100806.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.osgi_3.6.2.R36x_v20101103.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.equinox.frameworkadmin.equinox_1.0.200.v20100505.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 652 milliseconds

12