| /external/python/cpython2/Demo/tkinter/matt/ |
| radiobutton-simple.py | 8 # the "variable" option of radiobuttons seems to be the easiest. 10 # note how each button has a value it sets the variable to as it gets hit. 26 # 'variable' is the name of the variable that all these radio buttons share 27 # 'value' is the value this variable takes on when the radio button is selected 31 variable=self.flavor, value="chocolate", 37 variable=self.flavor, value="strawberry", 43 variable=self.flavor, value="lemon",
|
| /external/devlib/devlib/utils/ |
| uboot.py | 70 variable, value = line.split('=', 1) 71 result[variable.strip()] = value.strip() 74 def setenv(self, variable, value, force=False): 77 command = 'setenv{} {} {}'.format(force_str, variable, value) 79 command = 'setenv{} {}'.format(force_str, variable)
|
| /external/deqp/framework/randomshaders/ |
| rsgShaderGenerator.cpp | 65 void createAssignment (BlockStatement& block, const Variable* dstVar, const Variable* srcVar) 101 const Variable* outVar = entry->getVariable(); 104 if (outVar->getStorage() != Variable::STORAGE_SHADER_OUT) 114 Variable* inVar = state.getVariableManager().allocate(outVar->getType(), Variable::STORAGE_SHADER_IN, inVarName.c_str()); 130 Variable* inColorVariable = state.getVariableManager().allocate(fragColorEntry->getVariable()->getType(), Variable::STORAGE_SHADER_IN, "v_color"); 197 Variable* variable = m_state.getVariableManager().allocate(input->getVariable()->getType(), Variable::STORAGE_SHADER_ (…) local 231 Variable* variable = *i; local 277 Variable* variable = *i; local [all...] |
| rsgShader.cpp | 58 ShaderInput::ShaderInput (const Variable* variable, ConstValueRangeAccess valueRange) 59 : m_variable (variable) 60 , m_min (variable->getType().getScalarSize()) 61 , m_max (variable->getType().getScalarSize()) 63 ValueAccess(variable->getType(), &m_min[0]) = valueRange.getMin().value(); 64 ValueAccess(variable->getType(), &m_max[0]) = valueRange.getMax().value(); 81 void Shader::getOutputs (vector<const Variable*>& outputs) const 84 const vector<Variable*>& globalVars = m_globalScope.getDeclaredVariables(); 85 for (vector<Variable*>::const_iterator i = globalVars.begin(); i != globalVars.end(); i++ [all...] |
| /external/tensorflow/tensorflow/compiler/tf2xla/ |
| xla_op_kernel.cc | 139 "depends on a parameter to the computation, on a variable, or on a " 293 XlaResource* variable = expression->resource(); local 294 TF_RET_CHECK(variable != nullptr); 295 TF_RET_CHECK(variable->kind() == XlaResource::kVariable); 296 if (!variable->initialized()) { 297 return errors::InvalidArgument("Read of uninitialized variable ", 298 variable->name()); 300 if (variable->type() != type) { 302 "Type mismatch for read of variable ", variable->name(), ". Expected " 325 XlaResource* variable = expression->resource(); local 418 XlaResource* variable = expression->resource(); local [all...] |
| /development/scripts/ |
| boardconfig_usage_analysis.py | 107 variable = mo.group(1) 108 if variable in white_list: 111 if variable not in variables: 112 variables[variable] = set() 114 variables[variable].add(board_config_mk[len(TOP) + 1:]) 118 # count variable usage in makefiles 119 def find_usage(variable, makefiles): 120 re_usage = re.compile('\$\(' + variable + '\)') 163 ' This variable is defined in how many BoardConfig*.mk\'s\n' 166 ' This variable is used by how many makefiles under system/, frameworks/ and external/ folders\n [all...] |
| /external/tensorflow/tensorflow/python/keras/_impl/keras/ |
| losses_test.py | 67 y_a = keras.backend.variable(np.random.random((5, 6, 7))) 68 y_b = keras.backend.variable(np.random.random((5, 6, 7))) 75 y_a = keras.backend.variable(np.random.random((6, 7))) 76 y_b = keras.backend.variable(np.random.random((6, 7))) 83 y_a = keras.backend.variable(np.random.randint(0, 7, (5, 6))) 84 y_b = keras.backend.variable(np.random.random((5, 6, 7))) 88 y_a = keras.backend.variable(np.random.randint(0, 7, (6,))) 89 y_b = keras.backend.variable(np.random.random((6, 7))) 100 y_pred = keras.backend.variable(np.array([[0.3, 0.2, 0.1], 102 y_true = keras.backend.variable(np.array([[0, 1, 0], [1, 0, 0]]) [all...] |
| backend_test.py | 46 keras_output = keras_op(keras.backend.variable(inputs, dtype=dtype), 73 keras_output = keras_op(keras.backend.variable(input_a, dtype=dtype), 74 keras.backend.variable(input_b, dtype=dtype), 140 y1 = keras.backend.variable(1) 141 y2 = keras.backend.variable(2) 150 x = keras.backend.variable(1) 163 x = keras.backend.variable(1) 167 x = keras.backend.variable(1) 171 xs = [keras.backend.variable(1) for _ in range(3)] 183 x = keras.backend.variable(0. [all...] |
| metrics_test.py | 31 y_a = keras.backend.variable(np.random.random((6, 7))) 32 y_b = keras.backend.variable(np.random.random((6, 7))) 41 y_a = keras.backend.variable(np.random.randint(0, 7, (6,))) 42 y_b = keras.backend.variable(np.random.random((6, 7))) 47 y_pred = keras.backend.variable(np.array([[0.3, 0.2, 0.1], 49 y_true = keras.backend.variable(np.array([[1], [0]])) 62 y_pred = keras.backend.variable(np.array([[0.3, 0.2, 0.1], 64 y_true = keras.backend.variable(np.array([[0, 1, 0], [1, 0, 0]])) 91 self.true_positives = keras.backend.variable(value=0, dtype='int32')
|
| /prebuilts/go/darwin-x86/src/cmd/vet/ |
| shadow.go | 7 A shadowed variable is a variable declared in an inner scope 8 with the same name and type as a variable in an outer scope, 9 and where the outer variable is mentioned after the inner one 20 n, err := f.Read(buf) // shadows the function variable 'err' 60 // given variable (types.Object) is mentioned. It is lexically defined: it spans 62 // A variable is considered shadowed (if *strictShadowing is off) only if the 63 // shadowing variable is declared within the span of the shadowed variable. 64 // In other words, if a variable is shadowed but not used after the shadowe [all...] |
| /prebuilts/go/linux-x86/src/cmd/vet/ |
| shadow.go | 7 A shadowed variable is a variable declared in an inner scope 8 with the same name and type as a variable in an outer scope, 9 and where the outer variable is mentioned after the inner one 20 n, err := f.Read(buf) // shadows the function variable 'err' 60 // given variable (types.Object) is mentioned. It is lexically defined: it spans 62 // A variable is considered shadowed (if *strictShadowing is off) only if the 63 // shadowing variable is declared within the span of the shadowed variable. 64 // In other words, if a variable is shadowed but not used after the shadowe [all...] |
| /external/icu/android_icu4j/src/main/java/android/icu/impl/ |
| UnicodeRegex.java | 217 String variable = entry.getKey(), 223 if (variable.equals(variable2)) { 226 String altered2 = definition2.replace(variable, definition); 228 unused.remove(variable); 375 String variable = null; 400 if (variable != null) { 403 variable = linePart.substring(0,equalsPos).trim(); 404 if (variables.containsKey(variable)) { 405 throw new IllegalArgumentException("Duplicate variable definition in " + line); 409 if (variable == null) [all...] |
| /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
| UnicodeRegex.java | 215 String variable = entry.getKey(), 221 if (variable.equals(variable2)) { 224 String altered2 = definition2.replace(variable, definition); 226 unused.remove(variable); 373 String variable = null; 398 if (variable != null) { 401 variable = linePart.substring(0,equalsPos).trim(); 402 if (variables.containsKey(variable)) { 403 throw new IllegalArgumentException("Duplicate variable definition in " + line); 407 if (variable == null) [all...] |
| /external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/body/ |
| FieldDeclaration.java | 69 public FieldDeclaration(EnumSet<Modifier> modifiers, Type elementType, VariableDeclarator variable) { 73 aux.add(variable); 108 * @param variable 109 * variable declarator 113 VariableDeclarator variable) { 115 variables.add(variable); 132 VariableDeclarator variable = new VariableDeclarator(id); local 133 return create(modifiers, type, variable); 189 * @throws IllegalStateException if there is more than 1 variable identifier or if this field isn't attached to a 194 throw new IllegalStateException("You can use this only when the field declares only 1 variable name") 201 VariableDeclarator variable = getVariables().get(0); local 233 VariableDeclarator variable = getVariables().get(0); local [all...] |
| /build/make/core/ |
| dumpvar.mk | 24 # DUMP_MANY_VARS: the list of variable names. 25 # DUMP_VAR_PREFIX: an optional prefix of the variable name added to the output.
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
| test_dictcomps.py | 13 >>> g = "Global variable"
15 {0: 'Global variable', 1: 'Global variable', 2: 'Global variable', 3: 'Global variable', 4: 'Global variable', 5: 'Global variable', 6: 'Global variable', 7: 'Global variable', 8: 'Global variable', 9: 'Global variable'} [all...] |
| /external/clang/test/CXX/temp/temp.spec/ |
| cxx1y-variable-template-no-body.cpp | 13 template double pi_var0; // expected-error {{explicit instantiation of 'pi_var0' does not refer to a function template, variable template, member function, member class, or static data member}} 17 template double pi_var = 5; // expected-error {{variable cannot be defined in an explicit instantiation; if this declaration is meant to be a variable definition, remove the 'template' keyword}} 22 template int pi0 = 10; // expected-error {{variable cannot be defined in an explicit instantiation; if this declaration is meant to be a variable definition, remove the 'template' keyword}} \ 33 template<> double pi1<double> = 1.5; // expected-error {{variable template specialization of 'pi1' must originally be declared in the global scope}} 35 expected-error {{variable template specialization of 'pi1' must originally be declared in the global scope}}
|
| /external/clang/test/PCH/ |
| pragma-diag-section.cpp | 29 T b = a; // expected-warning {{variable 'a' is uninitialized}} \ 31 expected-note@28 {{initialize the variable 'a' to silence}}
|
| /external/clang/test/SemaCXX/ |
| err_init_conversion_failed.cpp | 4 char variable = (void)0; local 5 // expected-error@-1{{cannot initialize a variable}}
|
| /external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/ |
| JavaParserSymbolDeclaration.java | 46 private boolean variable; field in class:JavaParserSymbolDeclaration 49 private JavaParserSymbolDeclaration(Node wrappedNode, String name, TypeSolver typeSolver, boolean field, boolean parameter, boolean variable) { 53 this.variable = variable;
|
| /external/libcxx/buildcmds/ |
| Android.mk | 36 -Wno-unused-variable \
|
| /external/protobuf/src/google/protobuf/compiler/objectivec/ |
| objectivec_field.h | 85 string variable(const char* key) const { function in class:google::protobuf::compiler::objectivec::FieldGenerator 90 const string& field_flags = variable("fieldflags"); 93 string generated_objc_name() const { return variable("name"); } 94 string raw_field_name() const { return variable("raw_field_name"); }
|
| /system/chre/build/ |
| common.mk | 8 $(warning The OPT_LEVEL variable is unset. Defaulting to 0.) 13 $(error "The OUTPUT_NAME variable must be set to the name of the desired \
|
| /test/vts-testcase/kernel/api/qtaguid/ |
| Android.mk | 31 -Wno-unused-variable \
|
| /external/tensorflow/tensorflow/core/kernels/ |
| resource_variable_ops.cc | 19 // - acquire the variable's mutex (in "shared" mode); 21 // the reference count on the variable's TensorBuffer; 22 // - release the variable's mutex; 25 // - acquire the variable's mutex (in "exclusive" mode); 26 // - check the reference count of variable's TensorBuffer and 27 // if it is >1, make a deep copy of the variable's Tensor; 28 // - mutate the variable's Tensor; 29 // - and release the variable's mutex. 33 // buffer. Write operations are serialized by the variable's mutex. 39 // * For sparse reads (gather), we hold the variable's mutex (still i 82 Var* variable = nullptr; variable 144 Var* variable = nullptr; variable 221 Var* variable = nullptr; variable 350 Var* variable = nullptr; variable 413 Var* variable = nullptr; variable [all...] |