HomeSort by relevance Sort by last modified time
    Searched refs:initializer (Results 1 - 25 of 553) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
FieldWriter.java 27 private Optional<Snippet> initializer; field in class:FieldWriter
31 this.initializer = Optional.absent();
34 public void setInitializer(Snippet initializer) {
35 this.initializer = Optional.of(initializer);
38 public void setInitializer(String initializer, Object... args) {
39 this.initializer = Optional.of(Snippet.format(initializer, args));
45 if (initializer.isPresent()) {
47 initializer.get().write(appendable, context)
    [all...]
  /device/generic/goldfish-opengl/tests/gles_android_wrapper/
glesv1_emul_ifc.cpp 32 ApiInitializer *initializer = new ApiInitializer(solib); local
33 ctx->initDispatchByName(ApiInitializer::s_getProc, initializer);
35 delete initializer;
glesv2_emul_ifc.cpp 32 ApiInitializer *initializer = new ApiInitializer(solib); local
33 ctx->initDispatchByName(ApiInitializer::s_getProc, initializer);
35 delete initializer;
  /external/chromium-trace/catapult/devil/devil/utils/lazy/
weak_constant_test.py 35 """Ensure that the first read calls the initializer."""
36 initializer = mock.Mock(return_value='initializer called')
37 test_constant = lazy.WeakConstant(initializer)
39 'initializer called',
41 initializer.assert_called_once_with()
45 initializer = mock.Mock(return_value='initializer called')
46 test_constant = lazy.WeakConstant(initializer)
48 test_constant._val = 'initializer not called
    [all...]
  /external/deqp-deps/glslang/gtests/
Settings.h 46 GlslangInitializer* initializer; member in struct:glslangtest::GTestSettings
main.cpp 40 #include "Initializer.h"
47 std::unique_ptr<glslangtest::GlslangInitializer> initializer(
50 glslangtest::GlobalTestSettings.initializer = initializer.get();
76 glslangtest::GlobalTestSettings.initializer = nullptr;
  /external/clang/test/OpenMP/
declare_reduction_ast_print.c 13 #pragma omp declare reduction(fun : float : omp_out += omp_in) initializer(omp_priv = omp_orig + 15)
14 // CHECK: #pragma omp declare reduction (fun : float : omp_out += omp_in) initializer(omp_priv = omp_orig + 15)
27 #pragma omp declare reduction(fun : struct SSS : omp_out = omp_in) initializer(init(&omp_priv, omp_orig))
28 // CHECK: #pragma omp declare reduction (fun : struct SSS : omp_out = omp_in) initializer(init(&omp_priv, omp_orig))
32 #pragma omp declare reduction(fun : struct SSS : omp_out = omp_in) initializer(init(&omp_priv, omp_orig))
33 // CHECK: #pragma omp declare reduction (fun : struct SSS : omp_out = omp_in) initializer(init(&omp_priv, omp_orig))
35 #pragma omp declare reduction(fun : struct SSS : omp_out = omp_in) initializer(init(&omp_priv, omp_orig))
36 // CHECK: #pragma omp declare reduction (fun : struct SSS : omp_out = omp_in) initializer(init(&omp_priv, omp_orig))
declare_reduction_ast_print.cpp 13 // CHECK: #pragma omp declare reduction (fun : int : omp_out += omp_in) initializer(omp_priv = omp_orig + 15)
18 #pragma omp declare reduction(fun : T : omp_out += omp_in) initializer(omp_priv = omp_orig + 15)
19 // CHECK: #pragma omp declare reduction (fun : T : omp_out += omp_in) initializer(omp_priv = omp_orig + 15)
26 #pragma omp declare reduction(fun : SSS < int > : omp_out = omp_in) initializer(init(omp_priv, omp_orig))
27 // CHECK: #pragma omp declare reduction (fun : SSS<int> : omp_out = omp_in) initializer(init(omp_priv, omp_orig))
30 // CHECK: #pragma omp declare reduction (fun : int : omp_out += omp_in) initializer(omp_priv = omp_orig + 15);
32 // CHECK: #pragma omp declare reduction (fun : int : omp_out += omp_in) initializer(omp_priv = omp_orig + 15);
38 // CHECK: #pragma omp declare reduction (fun : T : omp_out += omp_in) initializer(omp_priv = omp_orig + 15);
40 // CHECK: #pragma omp declare reduction (fun : T : omp_out += omp_in) initializer(omp_priv = omp_orig + 15);
46 #pragma omp declare reduction(fun : T : omp_out += omp_in) initializer(omp_priv = omp_orig + 15
    [all...]
declare_reduction_codegen.c 41 #pragma omp declare reduction(fun : float : omp_out += omp_in) initializer(omp_priv = 15 + omp_orig)
84 #pragma omp declare reduction(fun : struct SSS : omp_out = omp_in) initializer(init(&omp_priv, omp_orig))
105 #pragma omp declare reduction(fun : struct SSS : omp_out = omp_in) initializer(init(&omp_priv, omp_orig))
123 #pragma omp declare reduction(fun : struct SSS : omp_out = omp_in) initializer(init(&omp_priv, omp_orig))
declare_reduction_messages.c 24 #pragma omp declare reduction(fun : long : omp_out += omp_in) { // expected-error {{expected 'initializer'}} expected-warning {{extra tokens at the end of '#pragma omp declare reduction' are ignored}}
25 #pragma omp declare reduction(fun : unsigned : omp_out += temp)) // expected-error {{expected 'initializer'}} expected-warning {{extra tokens at the end of '#pragma omp declare reduction' are ignored}} expected-error {{only 'omp_in' or 'omp_out' variables are allowed in combiner expression}}
31 #pragma omp declare reduction(fun1 : long : omp_out += omp_in) initializer // expected-error {{expected '(' after 'initializer'}}
32 #pragma omp declare reduction(fun2 : long : omp_out += omp_in) initializer { // expected-error {{expected '(' after 'initializer'}} expected-error {{expected expression}} expected-warning {{extra tokens at the end of '#pragma omp declare reduction' are ignored}}
33 #pragma omp declare reduction(fun3 : long : omp_out += omp_in) initializer[ // expected-error {{expected '(' after 'initializer'}} expected-error {{expected expression}} expected-warning {{extra tokens at the end of '#pragma omp declare reduction' are ignored}}
34 #pragma omp declare reduction(fun4 : long : omp_out += omp_in) initializer() // expected-error {{expected expression}}
35 #pragma omp declare reduction(fun5 : long : omp_out += omp_in) initializer(temp) // expected-error {{only 'omp_priv' or 'omp_orig' variables are allowed in initial (…)
    [all...]
declare_reduction_codegen.cpp 46 #pragma omp declare reduction(fun : T : omp_out ^= omp_in) initializer(omp_priv = 24 + omp_orig)
67 #pragma omp declare reduction(fun : SSS < int > : omp_out = omp_in) initializer(init(omp_priv, omp_orig))
88 #pragma omp declare reduction(fun : T : omp_out += omp_in) initializer(omp_priv = 15 * omp_orig)
90 #pragma omp declare reduction(fun : T : omp_out /= omp_in) initializer(omp_priv = 11 - omp_orig)
  /external/guice/core/src/com/google/inject/internal/
ProcessedBindingData.java 48 for (Runnable initializer : uninitializedBindings) {
49 initializer.run();
70 for (Runnable initializer : delayedUninitializedBindings) {
71 initializer.run();
  /external/tensorflow/tensorflow/contrib/framework/python/ops/
checkpoint_ops.py 38 initializer=None,
59 initializer: Initializer function that accepts a 1-D tensor as the arg to
68 A variable initializer function.
71 if initializer is None:
72 initializer = init_ops.zeros_initializer()
85 initializer=initializer,
100 initializer=None,
145 initializer: Initializer function to initialize missing values. Accepts
    [all...]
  /external/mockito/src/main/java/org/mockito/internal/configuration/plugins/
PluginLoader.java 16 private final PluginInitializer initializer; field in class:PluginLoader
18 PluginLoader(DefaultMockitoPlugins plugins, PluginInitializer initializer) {
20 this.initializer = initializer;
57 PreferredType preferredPlugin = initializer.loadImpl(preferredPluginType);
61 AlternateType alternatePlugin = initializer.loadImpl(alternatePluginType);
  /external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/expr/
ArrayCreationExpr.java 44 private ArrayInitializerExpr initializer; field in class:ArrayCreationExpr
49 public ArrayCreationExpr(Type type, List<ArrayCreationLevel> levels, ArrayInitializerExpr initializer) {
52 setInitializer(initializer);
55 public ArrayCreationExpr(Range range, Type type, List<ArrayCreationLevel> levels, ArrayInitializerExpr initializer) {
59 setInitializer(initializer);
84 return initializer;
92 public ArrayCreationExpr setInitializer(ArrayInitializerExpr initializer) {
93 this.initializer = initializer;
94 setAsParentNodeOf(this.initializer);
    [all...]
  /external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/expr/
ArrayCreationExpr.java 39 private ArrayInitializerExpr initializer; field in class:ArrayCreationExpr
48 public ArrayCreationExpr(Type type, int arrayCount, ArrayInitializerExpr initializer) {
51 setInitializer(initializer);
55 public ArrayCreationExpr(int beginLine, int beginColumn, int endLine, int endColumn, Type type, int arrayCount, ArrayInitializerExpr initializer) {
59 setInitializer(initializer);
97 return initializer;
113 public void setInitializer(ArrayInitializerExpr initializer) {
114 this.initializer = initializer;
115 setAsParentNodeOf(this.initializer);
    [all...]
  /external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/
VariableDeclarator.java 65 private Expression initializer; field in class:VariableDeclarator
81 public VariableDeclarator(Type type, String variableName, Expression initializer) {
82 this(null, type, new SimpleName(variableName), initializer);
89 * @param initializer What this variable should be initialized to. An {@link com.github.javaparser.ast.expr.AssignExpr}
93 public VariableDeclarator(Type type, SimpleName name, Expression initializer) {
94 this(null, type, name, initializer);
101 public VariableDeclarator(TokenRange tokenRange, Type type, SimpleName name, Expression initializer) {
105 setInitializer(initializer);
154 return Optional.ofNullable(initializer);
177 * Sets the initializer expressio
    [all...]
  /external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/
ArrayCreationExpr.java 62 private ArrayInitializerExpr initializer; field in class:ArrayCreationExpr
69 public ArrayCreationExpr(Type elementType, NodeList<ArrayCreationLevel> levels, ArrayInitializerExpr initializer) {
70 this(null, elementType, levels, initializer);
90 public ArrayCreationExpr(TokenRange tokenRange, Type elementType, NodeList<ArrayCreationLevel> levels, ArrayInitializerExpr initializer) {
94 setInitializer(initializer);
112 return Optional.ofNullable(initializer);
121 * Sets the initializer
123 * @param initializer the initializer, can be null
127 public ArrayCreationExpr setInitializer(final ArrayInitializerExpr initializer) {
    [all...]
  /external/tensorflow/tensorflow/python/training/
checkpoint_ops.py 38 initializer,
51 provided initializer. Then, uses the `LoadAndRemapMatrix` op to create a
76 initializer: Callable initializer function that accepts a 1-D tensor as the
114 initialized with the given `initializer`.
177 init_vals = initializer([
193 init_row_oov_val = initializer([num_row_oov_buckets, new_col_vocab_size])
198 init_col_oov_val = initializer(
217 initializer=None,
219 r"""Returns a var initializer for loading and remapping a 2-D (matrix) tensor
    [all...]
device_setter_test.py 47 self.assertDeviceEqual("/job:ps/task:0/cpu:0", v.initializer.device)
49 self.assertDeviceEqual("/job:ps/task:1", w.initializer.device)
67 self.assertDeviceEqual("/job:ps/task:0", v.initializer.device)
69 self.assertDeviceEqual("/job:ps/task:1", w.initializer.device)
83 self.assertDeviceEqual("/job:ps/task:0", v.initializer.device)
85 self.assertDeviceEqual("/job:moon", w.initializer.device)
87 self.assertDeviceEqual("/job:ps/task:1", x.initializer.device)
99 self.assertDeviceEqual("/cpu:0", v.initializer.device)
101 self.assertDeviceEqual("/job:moon/cpu:0", w.initializer.device)
114 self.assertDeviceEqual("/job:ps/task:0", v.initializer.device
    [all...]
checkpoint_ops_test.py 46 initializer = init_ops.constant_initializer(
51 initializer=initializer)
81 del dtype, partition_info # Unused by this unit-testing initializer.
85 self.initializer = _init_val_initializer
103 initializer=self.initializer,
124 """Tests for the output layer initializer in the linear multi-class case."""
136 initializer=self.initializer))
    [all...]
  /external/perfetto/src/base/
thread_task_runner.cc 56 std::function<void(UnixTaskRunner*)> initializer = local
67 std::move(initializer));
74 std::function<void(UnixTaskRunner*)> initializer) {
76 task_runner.PostTask(std::bind(std::move(initializer), &task_runner));
  /external/mockito/src/test/java/org/mockito/internal/configuration/plugins/
PluginLoaderTest.java 26 @Mock PluginInitializer initializer; field in class:PluginLoaderTest
32 when(initializer.loadImpl(FooPlugin.class)).thenReturn(new FooPlugin());
43 willReturn(null).given(initializer).loadImpl(FooPlugin.class);
45 willReturn(expected).given(initializer).loadImpl(BarPlugin.class);
56 willReturn(null).given(initializer).loadImpl(FooPlugin.class);
57 willReturn(null).given(initializer).loadImpl(BarPlugin.class);
71 when(initializer.loadImpl(Foo.class)).thenThrow(cause);
  /external/javapoet/src/main/java/com/squareup/javapoet/
FieldSpec.java 38 public final CodeBlock initializer; field in class:FieldSpec
46 this.initializer = (builder.initializer == null)
48 : builder.initializer;
60 if (!initializer.isEmpty()) {
62 codeWriter.emit(initializer);
105 builder.initializer = initializer.isEmpty() ? null : initializer;
116 private CodeBlock initializer = null field in class:FieldSpec.Builder
160 public Builder initializer(String format, Object... args) { method in class:FieldSpec.Builder
164 public Builder initializer(CodeBlock codeBlock) { method in class:FieldSpec.Builder
    [all...]
  /external/ImageMagick/Magick++/fuzz/
build_fuzzers.sh 22 initializer=${info##*:}
24 if [ "$initializer" != "" ]; then
25 encoder_flags="$encoder_flags -DFUZZ_IMAGEMAGICK_ENCODER_INITIALIZER=$initializer"

Completed in 4654 milliseconds

1 2 3 4 5 6 7 8 91011>>