Searched defs:bindings (Results 1 - 25 of 69) sorted by relevance

123

/external/guice/extensions/grapher/src/com/google/inject/grapher/
H A DAliasCreator.java34 * @param bindings bindings that make up the dependency graph
37 Iterable<Alias> createAliases(Iterable<Binding<?>> bindings); argument
H A DEdgeCreator.java31 Iterable<Edge> getEdges(Iterable<Binding<?>> bindings); argument
H A DNodeCreator.java30 Iterable<Node> getNodes(Iterable<Binding<?>> bindings); argument
H A DProviderAliasCreator.java33 @Override public Iterable<Alias> createAliases(Iterable<Binding<?>> bindings) { argument
35 for (Binding<?> binding : bindings) {
H A DDefaultEdgeCreator.java42 @Override public Iterable<Edge> getEdges(Iterable<Binding<?>> bindings) { argument
45 for (Binding<?> binding : bindings) {
H A DDefaultNodeCreator.java40 @Override public Iterable<Node> getNodes(Iterable<Binding<?>> bindings) { argument
43 for (Binding<?> binding : bindings) {
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
H A DMessages.java68 * @param bindings An array of objects to be inserted into the message
71 public static String bind(String message, Object[] bindings) { argument
72 return MessageFormat.format(message, bindings);
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
H A DBindingCollector.java29 * Utility class for collecting factory bindings. Used for configuring {@link FactoryProvider2}.
35 private final Map<Key<?>, TypeLiteral<?>> bindings = Maps.newHashMap(); field in class:BindingCollector
38 if (bindings.containsKey(key)) {
43 bindings.put(key, target);
49 return Collections.unmodifiableMap(bindings);
54 return bindings.hashCode();
59 return (obj instanceof BindingCollector) && bindings.equals(((BindingCollector) obj).bindings);
H A DFactoryModuleBuilder.java206 private final BindingCollector bindings = new BindingCollector(); field in class:FactoryModuleBuilder
312 bindings.addBinding(source, target);
334 Provider<F> provider = new FactoryProvider2<F>(factoryInterface, bindings);
/external/mesa3d/src/gallium/state_trackers/clover/core/
H A Dformat.cpp151 unsigned bindings = (PIPE_BIND_SAMPLER_VIEW | local
160 dev->pipe, f.second, target, 1, bindings);
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
H A DModuleDescriptor.java45 abstract ImmutableSet<ContributionBinding> bindings(); method in class:ModuleDescriptor
71 ImmutableSet.Builder<ContributionBinding> bindings = ImmutableSet.builder();
74 bindings.add(
78 bindings.add(
94 bindings.build(),
H A DResolvedBindings.java32 * The collection of bindings that have been resolved for a binding key.
39 * The binding key for which the {@link #bindings()} have been resolved.
44 * The component in which the bindings in {@link #ownedBindings()},
51 * The contribution bindings for {@link #bindingKey()} that were resolved in
59 * The members-injection bindings for {@link #bindingKey()} that were resolved in
67 * All bindings for {@link #bindingKey()}, regardless of in which component they were resolved.
69 ImmutableSet<? extends Binding> bindings() { method in class:ResolvedBindings
83 * All bindings for {@link #bindingKey()} that were resolved in {@link #owningComponent()}.
99 * All contribution bindings, regardless of owning component.
110 * The contribution bindings tha
[all...]
H A DBinding.java75 * Returns the framework class associated with bindings of this type.
108 static Optional<String> bindingPackageFor(Iterable<? extends Binding> bindings) { argument
110 for (Binding binding : bindings) {
H A DContributionBinding.java71 /** Represents map bindings. */
73 /** Represents set bindings. */
161 * {@link ListenableFuture} are considered {@linkplain #PROVISION provision bindings}.
172 * A predicate that passes for bindings of a given kind.
223 Iterable<? extends B> bindings) {
226 for (B binding : bindings) {
236 * @throws IllegalArgumentException if the given bindings are not all of one type
238 static ContributionType contributionTypeFor(Iterable<ContributionBinding> bindings) { argument
239 checkNotNull(bindings);
240 checkArgument(!Iterables.isEmpty(bindings), "n
222 contributionTypesFor( Iterable<? extends B> bindings) argument
[all...]
H A DBindingGraph.java87 * their bindings are used in this graph. For graphs representing top-level {@link Component
220 // Collect transitive module bindings.
222 for (ContributionBinding binding : moduleDescriptor.bindings()) {
264 Iterable<? extends B> bindings) {
267 for (B binding : bindings) {
298 * Looks up the bindings associated with a given dependency request and returns them.
300 * <p>Requests for {@code Map<K, V>} for which there are only bindings for
304 * <p>If there are no explicit bindings for a contribution, looks for implicit
316 // Map<K, Provider<V>> or Map<K, Producer<V>>, and grab their explicit bindings.
331 // If the key is Set<Produced<T>>, then we look up bindings b
263 explicitBindingsByKey( Iterable<? extends B> bindings) argument
[all...]
/external/mesa3d/src/gallium/drivers/nv30/
H A Dnv30_format.h5 unsigned bindings; member in struct:nv30_format_info
H A Dnv30_screen.c242 unsigned bindings)
262 bindings &= ~(PIPE_BIND_TRANSFER_READ |
266 return (nv30_format_info(pscreen, format)->bindings & bindings) == bindings;
238 nv30_screen_is_format_supported(struct pipe_screen *pscreen, enum pipe_format format, enum pipe_texture_target target, unsigned sample_count, unsigned bindings) argument
/external/mesa3d/src/gallium/drivers/nvc0/
H A Dnvc0_screen.c40 unsigned bindings)
47 if (!util_format_is_supported(format, bindings))
54 if (bindings & PIPE_BIND_RENDER_TARGET)
61 bindings &= ~(PIPE_BIND_TRANSFER_READ |
65 return (nvc0_format_table[format].usage & bindings) == bindings;
36 nvc0_screen_is_format_supported(struct pipe_screen *pscreen, enum pipe_format format, enum pipe_texture_target target, unsigned sample_count, unsigned bindings) argument
/external/skia/src/gpu/gl/
H A DGrGLProgram.cpp72 const GrTextureAccess** bindings = textureBindings->push_back_n(numTextures); local
75 bindings[i] = &processor.textureAccess(i);
/external/chromium-libpac/test/
H A Dproxy_resolver_v8_unittest.cc20 // Javascript bindings for ProxyResolverV8, which returns mock values.
21 // Each time one of the bindings is called into, we push the input into a
85 // This is the same as ProxyResolverV8, but it uses mock bindings in place of
86 // the default bindings, and has a helper function to load PAC scripts from
243 MockJSBindings* bindings = resolver.mock_js_bindings(); local
244 EXPECT_EQ(0U, bindings->alerts.size());
245 ASSERT_EQ(1U, bindings->errors.size());
247 bindings->errors[0]);
272 MockJSBindings* bindings = resolver.mock_js_bindings(); local
273 EXPECT_EQ(0U, bindings
322 MockJSBindings* bindings = resolver.mock_js_bindings(); local
398 MockJSBindings* bindings = resolver.mock_js_bindings(); local
446 MockJSBindings* bindings = resolver.mock_js_bindings(); local
538 MockJSBindings* bindings = resolver.mock_js_bindings(); local
[all...]
/external/deqp/external/vulkancts/framework/vulkan/
H A DvkBuilderUtil.cpp71 // Create new layout bindings with pImmutableSamplers updated
72 std::vector<VkDescriptorSetLayoutBinding> bindings = m_bindings; local
78 bindings[samplerInfo.bindingIndex].pImmutableSamplers = &m_immutableSamplers[samplerInfo.samplerBaseIndex];
86 (deUint32)bindings.size(), // bindingCount
87 (bindings.empty()) ? (DE_NULL) : (bindings.data()), // pBinding
/external/guice/core/test/com/google/inject/
H A DDuplicateBindingsTest.java40 * A suite of tests for duplicate bindings.
57 List<Key<?>> bindings = Lists.newArrayList(injector.getAllBindings().keySet());
58 removeBasicBindings(bindings);
61 assertTrue(bindings.remove(Key.get(Foo.class, named("instance"))));
62 assertTrue(bindings.remove(Key.get(Foo.class, named("pInstance"))));
63 assertTrue(bindings.remove(Key.get(Foo.class, named("pKey"))));
64 assertTrue(bindings.remove(Key.get(Foo.class, named("linkedKey"))));
65 assertTrue(bindings.remove(Key.get(FooImpl.class)));
66 assertTrue(bindings.remove(Key.get(Foo.class, named("constructor"))));
67 assertTrue(bindings
326 removeBasicBindings(Collection<Key<?>> bindings) argument
[all...]
/external/guice/extensions/mini/src/com/google/inject/mini/
H A DMiniGuice.java48 private final Map<Key, Provider<?>> bindings = new HashMap<Key, Provider<?>>(); field in class:MiniGuice
88 Provider<?> provider = miniGuice.bindings.get(key);
94 for (final Map.Entry<Key, Provider<?>> binding : bindings.entrySet()) {
105 bindings.putAll(providerBindings);
121 Provider<?> provider = bindings.get(key);
123 bindings.put(key, new Provider<Object>() {
172 if (bindings.containsKey(key)) {
277 if (bindings.put(key, provider) != null) {
285 parameters[i] = bindings.get(parameterKeys[i]).get();
/external/mesa3d/src/gallium/drivers/nv50/
H A Dnv50_screen.c51 unsigned bindings)
60 if (!util_format_is_supported(format, bindings))
71 if (bindings & PIPE_BIND_RENDER_TARGET)
78 bindings &= ~(PIPE_BIND_TRANSFER_READ |
82 return (nv50_format_table[format].usage & bindings) == bindings;
471 /* max TIC (bits 4:8) & TSC bindings, per program type */
47 nv50_screen_is_format_supported(struct pipe_screen *pscreen, enum pipe_format format, enum pipe_texture_target target, unsigned sample_count, unsigned bindings) argument
/external/mesa3d/src/mesa/state_tracker/
H A Dst_format.c1523 * The bindings parameter typically has PIPE_BIND_SAMPLER_VIEW set, plus
1529 * \param bindings bitmask of PIPE_BIND_x flags.
1535 unsigned bindings)
1543 && (bindings & ~PIPE_BIND_SAMPLER_VIEW)) {
1551 target, sample_count, bindings))
1563 target, sample_count, bindings);
1596 uint bindings; local
1604 bindings = PIPE_BIND_SAMPLER_VIEW;
1607 bindings |= PIPE_BIND_DEPTH_STENCIL;
1609 bindings |
1532 st_choose_format(struct pipe_screen *screen, GLenum internalFormat, GLenum format, GLenum type, enum pipe_texture_target target, unsigned sample_count, unsigned bindings) argument
[all...]

Completed in 1878 milliseconds

123