/external/protobuf/src/google/protobuf/compiler/cpp/ |
cpp_message_field.cc | 48 map<string, string>* variables, 50 SetCommonFieldVariables(descriptor, variables, options); 51 (*variables)["type"] = FieldMessageTypeName(descriptor); 53 (*variables)["non_null_ptr_to_name"] = 54 StrCat("this->", (*variables)["name"], "_"); 56 (*variables)["stream_writer"] = 57 (*variables)["declared_type"] + 63 (*variables)["release_name"] = 66 (*variables)["full_name"] = descriptor->full_name(); 68 (*variables)["dependent_type"] = "T::" + DependentTypeName(descriptor) [all...] |
cpp_field.cc | 62 map<string, string>* variables, 64 (*variables)["name"] = FieldName(descriptor); 65 (*variables)["index"] = SimpleItoa(descriptor->index()); 66 (*variables)["number"] = SimpleItoa(descriptor->number()); 67 (*variables)["classname"] = ClassName(FieldScope(descriptor), false); 68 (*variables)["declared_type"] = DeclaredTypeMethodName(descriptor->type()); 72 // (*variables)["non_null_ptr_to_name"] differently. 73 (*variables)["non_null_ptr_to_name"] = 76 (*variables)["tag_size"] = SimpleItoa( 78 (*variables)["deprecation"] = descriptor->options().deprecated( [all...] |
cpp_map_field.cc | 48 map<string, string>* variables, 50 SetCommonFieldVariables(descriptor, variables, options); 51 (*variables)["type"] = FieldMessageTypeName(descriptor); 52 (*variables)["stream_writer"] = 53 (*variables)["declared_type"] + 57 (*variables)["full_name"] = descriptor->full_name(); 63 (*variables)["key_cpp"] = PrimitiveTypeName(key->cpp_type()); 66 (*variables)["val_cpp"] = FieldMessageTypeName(val); 67 (*variables)["wrapper"] = "EntryWrapper"; 70 (*variables)["val_cpp"] = ClassName(val->enum_type(), true) [all...] |
cpp_string_field.cc | 49 map<string, string>* variables, 51 SetCommonFieldVariables(descriptor, variables, options); 52 (*variables)["default"] = DefaultValue(descriptor); 53 (*variables)["default_length"] = 59 (*variables)["default_variable"] = default_variable_string; 60 (*variables)["default_value_init"] = 63 (*variables)["pointer_type"] = 67 (*variables)["release_name"] = 70 (*variables)["full_name"] = descriptor->full_name(); 72 (*variables)["string_piece"] = "::std::string" [all...] |
/build/make/tools/ |
product_debug.py | 42 def render_variables(variables): 43 variables = dict(variables) 44 del variables["FILE"] 45 variables = list(variables.iteritems()) 46 variables.sort(lambda a, b: cmp(a[0], b[0])) 47 return ("<table id='variables'>" 49 for key,val in variables]) 52 def linkify_inherit(variables, text, func_name) [all...] |
/external/icu/icu4c/source/i18n/ |
rbt_data.cpp | 28 variables(0), variablesAreOwned(TRUE) 34 variables = 0; 59 variables = 0; 60 if (other.variables != 0) { 61 variables = (UnicodeFunctor **)uprv_malloc(variablesLength * sizeof(UnicodeFunctor *)); 63 if (variables == 0) { 68 variables[i] = other.variables[i]->clone(); 69 if (variables[i] == NULL) { 78 delete variables[n] [all...] |
/art/tools/checker/match/ |
line.py | 34 def getVariable(name, variables, pos): 35 if name in variables: 36 return variables[name] 38 Logger.testFailed("Missing definition of variable \"{}\"".format(name), pos, variables) 40 def setVariable(name, value, variables, pos): 41 if name not in variables: 42 return variables.copyWith(name, value) 44 Logger.testFailed("Multiple definitions of variable \"{}\"".format(name), pos, variables) 46 def matchWords(checkerWord, stringWord, variables, pos): 53 pattern = re.escape(getVariable(expression.name, variables, pos) [all...] |
file.py | 23 MatchInfo = namedtuple("MatchInfo", ["scope", "variables"]) 26 def __init__(self, assertion, lineNo, variables): 29 self.variables = variables 46 def findMatchingLine(assertion, c1Pass, scope, variables, excludeLines=[]): 52 Returns the index of the `c1Pass` line matching the assertion and variables 59 newVariables = MatchLines(assertion, c1Pass.body[i], variables) 62 raise MatchFailedException(assertion, scope.start, variables) 64 def matchDagGroup(assertions, c1Pass, scope, variables): 78 match = findMatchingLine(assertion, c1Pass, scope, variables, matchedLines [all...] |
/external/protobuf/src/google/protobuf/compiler/javanano/ |
javanano_extension.cc | 81 map<string, string>* variables) { 82 (*variables)["extends"] = ClassName(params, descriptor->containing_type()); 83 (*variables)["name"] = RenameJavaKeywords(UnderscoresToCamelCase(descriptor)); 85 (*variables)["repeated"] = repeated ? "Repeated" : ""; 86 (*variables)["type"] = GetTypeConstantName(descriptor->type()); 90 (*variables)["ext_type"] = "MessageTyped"; 95 (*variables)["class"] = message_type; 98 (*variables)["tag_params"] = tag; 100 (*variables)["ext_type"] = "PrimitiveTyped"; 102 (*variables)["class"] = BoxedPrimitiveTypeName(java_type) [all...] |
javanano_field.cc | 154 map<string, string>* variables) { 155 (*variables)["oneof_name"] = 157 (*variables)["oneof_capitalized_name"] = 159 (*variables)["oneof_index"] = 161 (*variables)["set_oneof_case"] = 162 "this." + (*variables)["oneof_name"] + 164 (*variables)["clear_oneof_case"] = 165 "this." + (*variables)["oneof_name"] + "Case_ = 0"; 166 (*variables)["has_oneof_case"] = 167 "this." + (*variables)["oneof_name"] + "Case_ == " [all...] |
javanano_map_field.cc | 87 const FieldDescriptor* descriptor, map<string, string>* variables) { 90 (*variables)["name"] = 92 (*variables)["number"] = SimpleItoa(descriptor->number()); 93 (*variables)["key_type"] = TypeName(params, key, false); 94 (*variables)["boxed_key_type"] = TypeName(params,key, true); 95 (*variables)["key_desc_type"] = 97 (*variables)["key_tag"] = SimpleItoa(internal::WireFormat::MakeTag(key)); 98 (*variables)["value_type"] = TypeName(params, value, false); 99 (*variables)["boxed_value_type"] = TypeName(params, value, true); 100 (*variables)["value_desc_type"] [all...] |
/external/tensorflow/tensorflow/contrib/gan/python/features/python/ |
clip_weights_test.py | 25 from tensorflow.python.ops import variables 35 self.variables = [variables.Variable(2.0)] 37 'VarTuple', ['discriminator_variables'])(self.variables) 40 loss = self.variables[0] 43 opt_clip = clip_weights.clip_variables(opt, self.variables, 0.1) 47 train_op1 = opt.minimize(loss, var_list=self.variables) 48 train_op2 = opt_clip.minimize(loss, var_list=self.variables) 51 sess.run(variables.global_variables_initializer()) 52 self.assertEqual(2.0, self.variables[0].eval() [all...] |
/external/protobuf/src/google/protobuf/compiler/java/ |
java_map_field.cc | 83 map<string, string>* variables) { 84 SetCommonFieldVariables(descriptor, info, variables); 87 (*variables)["type"] = 91 (*variables)["key_type"] = TypeName(key, name_resolver, false); 92 (*variables)["boxed_key_type"] = TypeName(key, name_resolver, true); 93 (*variables)["key_wire_type"] = WireType(key); 94 (*variables)["key_default_value"] = DefaultValue(key, true, name_resolver); 97 (*variables)["value_type"] = "int"; 98 (*variables)["boxed_value_type"] = "java.lang.Integer"; 99 (*variables)["value_wire_type"] = WireType(value) [all...] |
java_map_field_lite.cc | 83 map<string, string>* variables) { 84 SetCommonFieldVariables(descriptor, info, variables); 87 (*variables)["type"] = 91 (*variables)["key_type"] = TypeName(key, name_resolver, false); 92 (*variables)["boxed_key_type"] = TypeName(key, name_resolver, true); 93 (*variables)["key_wire_type"] = WireType(key); 94 (*variables)["key_default_value"] = DefaultValue(key, true, name_resolver); 97 (*variables)["value_type"] = "int"; 98 (*variables)["boxed_value_type"] = "java.lang.Integer"; 99 (*variables)["value_wire_type"] = WireType(value) [all...] |
java_primitive_field.cc | 64 map<string, string>* variables) { 65 SetCommonFieldVariables(descriptor, info, variables); 67 (*variables)["type"] = PrimitiveTypeName(GetJavaType(descriptor)); 68 (*variables)["boxed_type"] = BoxedPrimitiveTypeName(GetJavaType(descriptor)); 69 (*variables)["field_type"] = (*variables)["type"]; 70 (*variables)["field_list_type"] = "java.util.List<" + 71 (*variables)["boxed_type"] + ">"; 72 (*variables)["empty_list"] = "java.util.Collections.emptyList()"; 73 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver) [all...] |
/external/tensorflow/tensorflow/python/training/ |
session_manager_test.py | 31 from tensorflow.python.ops import variables 44 v = variables.VariableV1([1.0, 2.0, 3.0], name="v") 46 ready_op=variables.report_uninitialized_variables()) 48 "", init_op=variables.global_variables_initializer()) 54 v = variables.VariableV1(p, name="v") 56 ready_op=variables.report_uninitialized_variables()) 59 init_op=variables.global_variables_initializer(), 65 v = variables.VariableV1([125], name="v") 67 ready_op=variables.report_uninitialized_variables()) 84 v = variables.VariableV1([1.0, 2.0, 3.0], name="v" [all...] |
/external/protobuf/src/google/protobuf/compiler/objectivec/ |
objectivec_enum_field.cc | 49 map<string, string>* variables) { 51 (*variables)["storage_type"] = type; 57 (*variables)["property_type"] = "enum " + type; 59 (*variables)["enum_verifier"] = type + "_IsValidValue"; 60 (*variables)["enum_desc_func"] = type + "_EnumDescriptor"; 62 (*variables)["dataTypeSpecific_name"] = "enumDescFunc"; 63 (*variables)["dataTypeSpecific_value"] = (*variables)["enum_desc_func"]; 66 (*variables)["owning_message_class"] = ClassName(msg_descriptor);
|
objectivec_message_field.cc | 48 map<string, string>* variables) { 50 (*variables)["type"] = message_type; 51 (*variables)["containing_class"] = ClassName(descriptor->containing_type()); 52 (*variables)["storage_type"] = message_type; 53 (*variables)["group_or_message"] = 56 (*variables)["dataTypeSpecific_value"] = "GPBStringifySymbol(" + message_type + ")";
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/ |
VariableDeclarationExpr.java | 51 * A declaration of variables. 68 private NodeList<VariableDeclarator> variables; field in class:VariableDeclarationExpr 90 public VariableDeclarationExpr(final NodeList<VariableDeclarator> variables) { 91 this(null, EnumSet.noneOf(Modifier.class), new NodeList<>(), variables); 94 public VariableDeclarationExpr(final EnumSet<Modifier> modifiers, final NodeList<VariableDeclarator> variables) { 95 this(null, modifiers, new NodeList<>(), variables); 99 public VariableDeclarationExpr(final EnumSet<Modifier> modifiers, final NodeList<AnnotationExpr> annotations, final NodeList<VariableDeclarator> variables) { 100 this(null, modifiers, annotations, variables); 107 public VariableDeclarationExpr(TokenRange tokenRange, EnumSet<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<VariableDeclarator> variables) { 111 setVariables(variables); [all...] |
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/body/ |
FieldDeclaration.java | 43 private List<VariableDeclarator> variables; field in class:FieldDeclaration 56 public FieldDeclaration(int modifiers, Type type, List<VariableDeclarator> variables) { 59 setVariables(variables); 62 public FieldDeclaration(int modifiers, List<AnnotationExpr> annotations, Type type, List<VariableDeclarator> variables) { 66 setVariables(variables); 69 public FieldDeclaration(int beginLine, int beginColumn, int endLine, int endColumn, int modifiers, List<AnnotationExpr> annotations, Type type, List<VariableDeclarator> variables) { 73 setVariables(variables); 101 return variables; 113 public void setVariables(List<VariableDeclarator> variables) { 114 this.variables = variables [all...] |
/external/proguard/src/proguard/classfile/attribute/preverification/ |
FullFrame.java | 35 public VerificationType[] variables; field in class:FullFrame 49 * Creates a FullFrame with the given variables and stack. 52 VerificationType[] variables, 56 variables.length, 57 variables, 64 * Creates a FullFrame with the given variables and stack. 68 VerificationType[] variables, 74 this.variables = variables; 81 * Applies the given verification type visitor to all variables [all...] |
/external/tensorflow/tensorflow/python/kernel_tests/ |
variables_test.py | 38 from tensorflow.python.ops import variables 48 v = variables.VariableV1(0.0) 54 var0 = variables.VariableV1(0.0) 61 var1 = variables.VariableV1(1.1) 74 self.evaluate(variables.global_variables_initializer()) 82 rnd = variables.Variable(random_ops.random_uniform([3, 6]), name="rnd") 88 dep = variables.Variable(rnd.initialized_value(), name="dep") 98 depdep = variables.Variable(added_val, name="depdep") 104 self.evaluate(variables.global_variables_initializer()) 112 for _ in variables.Variable(0.0) [all...] |
/external/tensorflow/tensorflow/contrib/tensor_forest/python/kernel_tests/ |
scatter_add_ndim_op_test.py | 23 from tensorflow.python.ops import variables 30 input_data = variables.VariableV1( 36 variables.global_variables_initializer().run() 43 input_data = variables.VariableV1([[[1., 2., 3.], [4., 5., 6.]], 49 variables.global_variables_initializer().run() 56 input_data = variables.VariableV1(init_val) 61 variables.global_variables_initializer().run() 67 input_data = variables.VariableV1(init_val) 71 variables.global_variables_initializer().run() 78 input_data = variables.VariableV1([[[1., 2., 3.], [4., 5., 6.]] [all...] |
/external/v8/tools/testrunner/local/ |
statusfile_unittest.py | 35 variables = {} 36 variables.update(TEST_VARIABLES) 37 return variables 63 variables = make_variables() 64 variables.update(statusfile.VARIABLES) 68 'system==linux and mode==release', variables)) 71 'system==linux or variant==default', variables)) 74 'system==linux and mode==debug', variables)) 78 'system==linux and mode==foo', variables)) [all...] |
/device/linaro/hikey/factory-images/ |
generate-factory-images-package.sh | 17 source $ANDROID_BUILD_TOP/device/common/clear-factory-images-variables.sh
|