/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_message_field.cc | 48 map<string, string>* variables, in SetMessageVariables() argument 50 SetCommonFieldVariables(descriptor, variables, options); in SetMessageVariables() 51 (*variables)["type"] = FieldMessageTypeName(descriptor); in SetMessageVariables() 53 (*variables)["non_null_ptr_to_name"] = in SetMessageVariables() 54 StrCat("this->", (*variables)["name"], "_"); in SetMessageVariables() 56 (*variables)["stream_writer"] = in SetMessageVariables() 57 (*variables)["declared_type"] + in SetMessageVariables() 63 (*variables)["release_name"] = in SetMessageVariables() 66 (*variables)["full_name"] = descriptor->full_name(); in SetMessageVariables() 68 (*variables)["dependent_type"] = "T::" + DependentTypeName(descriptor); in SetMessageVariables() [all …]
|
D | cpp_field.cc | 62 map<string, string>* variables, in SetCommonFieldVariables() argument 64 (*variables)["name"] = FieldName(descriptor); in SetCommonFieldVariables() 65 (*variables)["index"] = SimpleItoa(descriptor->index()); in SetCommonFieldVariables() 66 (*variables)["number"] = SimpleItoa(descriptor->number()); in SetCommonFieldVariables() 67 (*variables)["classname"] = ClassName(FieldScope(descriptor), false); in SetCommonFieldVariables() 68 (*variables)["declared_type"] = DeclaredTypeMethodName(descriptor->type()); in SetCommonFieldVariables() 73 (*variables)["non_null_ptr_to_name"] = in SetCommonFieldVariables() 76 (*variables)["tag_size"] = SimpleItoa( in SetCommonFieldVariables() 78 (*variables)["deprecation"] = descriptor->options().deprecated() in SetCommonFieldVariables() 80 (*variables)["deprecated_attr"] = descriptor->options().deprecated() in SetCommonFieldVariables() [all …]
|
D | cpp_map_field.cc | 48 map<string, string>* variables, in SetMessageVariables() argument 50 SetCommonFieldVariables(descriptor, variables, options); in SetMessageVariables() 51 (*variables)["type"] = FieldMessageTypeName(descriptor); in SetMessageVariables() 52 (*variables)["stream_writer"] = in SetMessageVariables() 53 (*variables)["declared_type"] + in SetMessageVariables() 57 (*variables)["full_name"] = descriptor->full_name(); in SetMessageVariables() 63 (*variables)["key_cpp"] = PrimitiveTypeName(key->cpp_type()); in SetMessageVariables() 66 (*variables)["val_cpp"] = FieldMessageTypeName(val); in SetMessageVariables() 67 (*variables)["wrapper"] = "EntryWrapper"; in SetMessageVariables() 70 (*variables)["val_cpp"] = ClassName(val->enum_type(), true); in SetMessageVariables() [all …]
|
D | cpp_string_field.cc | 49 map<string, string>* variables, in SetStringVariables() argument 51 SetCommonFieldVariables(descriptor, variables, options); in SetStringVariables() 52 (*variables)["default"] = DefaultValue(descriptor); in SetStringVariables() 53 (*variables)["default_length"] = in SetStringVariables() 59 (*variables)["default_variable"] = default_variable_string; in SetStringVariables() 60 (*variables)["default_value_init"] = in SetStringVariables() 63 (*variables)["pointer_type"] = in SetStringVariables() 67 (*variables)["release_name"] = in SetStringVariables() 70 (*variables)["full_name"] = descriptor->full_name(); in SetStringVariables() 72 (*variables)["string_piece"] = "::std::string"; in SetStringVariables() [all …]
|
D | cpp_enum_field.cc | 49 map<string, string>* variables, in SetEnumVariables() argument 51 SetCommonFieldVariables(descriptor, variables, options); in SetEnumVariables() 53 (*variables)["type"] = ClassName(descriptor->enum_type(), true); in SetEnumVariables() 54 (*variables)["default"] = Int32ToString(default_value->number()); in SetEnumVariables() 55 (*variables)["full_name"] = descriptor->full_name(); in SetEnumVariables() 85 map<string, string> variables(variables_); in GenerateInlineAccessorDefinitions() local 86 variables["inline"] = is_inline ? "inline" : ""; in GenerateInlineAccessorDefinitions() 87 printer->Print(variables, in GenerateInlineAccessorDefinitions() 94 printer->Print(variables, in GenerateInlineAccessorDefinitions() 97 printer->Print(variables, in GenerateInlineAccessorDefinitions() [all …]
|
/external/tensorflow/tensorflow/python/training/ |
D | session_manager_test.py | 30 from tensorflow.python.ops import variables 42 v = variables.Variable([1.0, 2.0, 3.0], name="v") 44 ready_op=variables.report_uninitialized_variables()) 46 "", init_op=variables.global_variables_initializer()) 52 v = variables.Variable(p, name="v") 54 ready_op=variables.report_uninitialized_variables()) 57 init_op=variables.global_variables_initializer(), 63 v = variables.Variable([125], name="v") 65 ready_op=variables.report_uninitialized_variables()) 81 v = variables.Variable([1.0, 2.0, 3.0], name="v") [all …]
|
D | device_setter_test.py | 23 from tensorflow.python.ops import variables 40 v = variables.Variable([1, 2]) 41 w = variables.Variable([2, 1]) 59 v = variables.Variable([1, 2]) 60 w = variables.Variable([2, 1]) 71 v = variables.Variable([1, 2]) 73 w = variables.Variable([2, 1]) 75 x = variables.Variable([0, 1]) 88 v = variables.Variable([1, 2]) 90 w = variables.Variable([2, 1]) [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | variables_test.py | 36 from tensorflow.python.ops import variables 46 var0 = variables.Variable(0.0) 53 var1 = variables.Variable(1.1) 66 variables.global_variables_initializer().run() 73 rnd = variables.Variable(random_ops.random_uniform([3, 6]), name="rnd") 79 dep = variables.Variable(rnd.initialized_value(), name="dep") 89 depdep = variables.Variable(added_val, name="depdep") 95 variables.global_variables_initializer().run() 102 for _ in variables.Variable(0.0): 105 for _ in variables.Variable([0.0, 1.0]): [all …]
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_primitive_field_lite.cc | 64 map<string, string>* variables) { in SetPrimitiveVariables() argument 65 SetCommonFieldVariables(descriptor, info, variables); in SetPrimitiveVariables() 67 (*variables)["type"] = PrimitiveTypeName(GetJavaType(descriptor)); in SetPrimitiveVariables() 68 (*variables)["boxed_type"] = BoxedPrimitiveTypeName(GetJavaType(descriptor)); in SetPrimitiveVariables() 69 (*variables)["field_type"] = (*variables)["type"]; in SetPrimitiveVariables() 70 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver); in SetPrimitiveVariables() 71 (*variables)["default_init"] = IsDefaultValueJavaDefault(descriptor) ? in SetPrimitiveVariables() 73 (*variables)["capitalized_type"] = in SetPrimitiveVariables() 75 (*variables)["tag"] = SimpleItoa(WireFormat::MakeTag(descriptor)); in SetPrimitiveVariables() 76 (*variables)["tag_size"] = SimpleItoa( in SetPrimitiveVariables() [all …]
|
D | java_map_field.cc | 83 map<string, string>* variables) { in SetMessageVariables() argument 84 SetCommonFieldVariables(descriptor, info, variables); in SetMessageVariables() 87 (*variables)["type"] = in SetMessageVariables() 91 (*variables)["key_type"] = TypeName(key, name_resolver, false); in SetMessageVariables() 92 (*variables)["boxed_key_type"] = TypeName(key, name_resolver, true); in SetMessageVariables() 93 (*variables)["key_wire_type"] = WireType(key); in SetMessageVariables() 94 (*variables)["key_default_value"] = DefaultValue(key, true, name_resolver); in SetMessageVariables() 97 (*variables)["value_type"] = "int"; in SetMessageVariables() 98 (*variables)["boxed_value_type"] = "java.lang.Integer"; in SetMessageVariables() 99 (*variables)["value_wire_type"] = WireType(value); in SetMessageVariables() [all …]
|
D | java_map_field_lite.cc | 83 map<string, string>* variables) { in SetMessageVariables() argument 84 SetCommonFieldVariables(descriptor, info, variables); in SetMessageVariables() 87 (*variables)["type"] = in SetMessageVariables() 91 (*variables)["key_type"] = TypeName(key, name_resolver, false); in SetMessageVariables() 92 (*variables)["boxed_key_type"] = TypeName(key, name_resolver, true); in SetMessageVariables() 93 (*variables)["key_wire_type"] = WireType(key); in SetMessageVariables() 94 (*variables)["key_default_value"] = DefaultValue(key, true, name_resolver); in SetMessageVariables() 97 (*variables)["value_type"] = "int"; in SetMessageVariables() 98 (*variables)["boxed_value_type"] = "java.lang.Integer"; in SetMessageVariables() 99 (*variables)["value_wire_type"] = WireType(value); in SetMessageVariables() [all …]
|
D | java_primitive_field.cc | 64 map<string, string>* variables) { in SetPrimitiveVariables() argument 65 SetCommonFieldVariables(descriptor, info, variables); in SetPrimitiveVariables() 67 (*variables)["type"] = PrimitiveTypeName(GetJavaType(descriptor)); in SetPrimitiveVariables() 68 (*variables)["boxed_type"] = BoxedPrimitiveTypeName(GetJavaType(descriptor)); in SetPrimitiveVariables() 69 (*variables)["field_type"] = (*variables)["type"]; in SetPrimitiveVariables() 70 (*variables)["field_list_type"] = "java.util.List<" + in SetPrimitiveVariables() 71 (*variables)["boxed_type"] + ">"; in SetPrimitiveVariables() 72 (*variables)["empty_list"] = "java.util.Collections.emptyList()"; in SetPrimitiveVariables() 73 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver); in SetPrimitiveVariables() 74 (*variables)["default_init"] = IsDefaultValueJavaDefault(descriptor) ? in SetPrimitiveVariables() [all …]
|
D | java_string_field.cc | 65 map<string, string>* variables) { in SetPrimitiveVariables() argument 66 SetCommonFieldVariables(descriptor, info, variables); in SetPrimitiveVariables() 68 (*variables)["empty_list"] = "com.google.protobuf.LazyStringArrayList.EMPTY"; in SetPrimitiveVariables() 70 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver); in SetPrimitiveVariables() 71 (*variables)["default_init"] = in SetPrimitiveVariables() 73 (*variables)["capitalized_type"] = "String"; in SetPrimitiveVariables() 74 (*variables)["tag"] = SimpleItoa(WireFormat::MakeTag(descriptor)); in SetPrimitiveVariables() 75 (*variables)["tag_size"] = SimpleItoa( in SetPrimitiveVariables() 77 (*variables)["null_check"] = in SetPrimitiveVariables() 81 (*variables)["writeString"] = in SetPrimitiveVariables() [all …]
|
D | java_enum_field.cc | 61 map<string, string>* variables) { in SetEnumVariables() argument 62 SetCommonFieldVariables(descriptor, info, variables); in SetEnumVariables() 64 (*variables)["type"] = in SetEnumVariables() 66 (*variables)["mutable_type"] = in SetEnumVariables() 68 (*variables)["default"] = ImmutableDefaultValue(descriptor, name_resolver); in SetEnumVariables() 69 (*variables)["default_number"] = SimpleItoa( in SetEnumVariables() 71 (*variables)["tag"] = SimpleItoa(internal::WireFormat::MakeTag(descriptor)); in SetEnumVariables() 72 (*variables)["tag_size"] = SimpleItoa( in SetEnumVariables() 76 (*variables)["deprecation"] = descriptor->options().deprecated() in SetEnumVariables() 78 (*variables)["on_changed"] = "onChanged();"; in SetEnumVariables() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fProgramInterfaceDefinition.cpp | 222 for (int varNdx = 0; varNdx < (int)m_defaultBlock.variables.size(); ++varNdx) in isValid() 225 if (m_defaultBlock.variables[varNdx].layout.binding == -1 && in isValid() 226 containsMatchingSubtype(m_defaultBlock.variables[varNdx].varType, glu::isDataTypeAtomicCounter)) in isValid() 230 if (m_defaultBlock.variables[varNdx].varType.isStructType() && in isValid() 231 containsMatchingSubtype(m_defaultBlock.variables[varNdx].varType, glu::isDataTypeAtomicCounter)) in isValid() 236 if (m_defaultBlock.variables[varNdx].layout.matrixOrder != glu::MATRIXORDER_LAST) in isValid() 239 if (containsMatchingSubtype(m_defaultBlock.variables[varNdx].varType, glu::isDataTypeSampler)) in isValid() 241 …ut layoutWithLocationAndBinding(m_defaultBlock.variables[varNdx].layout.location, m_defaultBlock.v… in isValid() 243 if (m_defaultBlock.variables[varNdx].layout != layoutWithLocationAndBinding) in isValid() 262 … if (containsMatchingSubtype(m_defaultBlock.interfaceBlocks[interfaceNdx].variables, isOpaqueType)) in isValid() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | rbt_data.cpp | 28 variables(0), variablesAreOwned(TRUE) in TransliterationRuleData() 34 variables = 0; in TransliterationRuleData() 59 variables = 0; in TransliterationRuleData() 60 if (other.variables != 0) { in TransliterationRuleData() 61 variables = (UnicodeFunctor **)uprv_malloc(variablesLength * sizeof(UnicodeFunctor *)); in TransliterationRuleData() 63 if (variables == 0) { in TransliterationRuleData() 68 variables[i] = other.variables[i]->clone(); in TransliterationRuleData() 69 if (variables[i] == NULL) { in TransliterationRuleData() 78 delete variables[n]; in TransliterationRuleData() 80 uprv_free(variables); in TransliterationRuleData() [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/ |
D | VariableDeclarationExpr.java | 68 private NodeList<VariableDeclarator> variables; field in VariableDeclarationExpr 90 public VariableDeclarationExpr(final NodeList<VariableDeclarator> variables) { in VariableDeclarationExpr() argument 91 this(null, EnumSet.noneOf(Modifier.class), new NodeList<>(), variables); in VariableDeclarationExpr() 94 …eDeclarationExpr(final EnumSet<Modifier> modifiers, final NodeList<VariableDeclarator> variables) { in VariableDeclarationExpr() argument 95 this(null, modifiers, new NodeList<>(), variables); in VariableDeclarationExpr() 99 …ifiers, final NodeList<AnnotationExpr> annotations, final NodeList<VariableDeclarator> variables) { in VariableDeclarationExpr() argument 100 this(null, modifiers, annotations, variables); in VariableDeclarationExpr() 107 …odifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<VariableDeclarator> variables) { in VariableDeclarationExpr() argument 111 setVariables(variables); in VariableDeclarationExpr() 145 return variables; in getVariables() [all …]
|
/external/tensorflow/tensorflow/contrib/gan/python/features/python/ |
D | 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()) 54 self.assertLess(0.1, self.variables[0].eval()) [all …]
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_extension.cc | 81 map<string, string>* variables) { in SetVariables() argument 82 (*variables)["extends"] = ClassName(params, descriptor->containing_type()); in SetVariables() 83 (*variables)["name"] = RenameJavaKeywords(UnderscoresToCamelCase(descriptor)); in SetVariables() 85 (*variables)["repeated"] = repeated ? "Repeated" : ""; in SetVariables() 86 (*variables)["type"] = GetTypeConstantName(descriptor->type()); in SetVariables() 90 (*variables)["ext_type"] = "MessageTyped"; in SetVariables() 95 (*variables)["class"] = message_type; in SetVariables() 98 (*variables)["tag_params"] = tag; in SetVariables() 100 (*variables)["ext_type"] = "PrimitiveTyped"; in SetVariables() 102 (*variables)["class"] = BoxedPrimitiveTypeName(java_type); in SetVariables() [all …]
|
D | javanano_field.cc | 154 map<string, string>* variables) { in SetCommonOneofVariables() argument 155 (*variables)["oneof_name"] = in SetCommonOneofVariables() 157 (*variables)["oneof_capitalized_name"] = in SetCommonOneofVariables() 159 (*variables)["oneof_index"] = in SetCommonOneofVariables() 161 (*variables)["set_oneof_case"] = in SetCommonOneofVariables() 162 "this." + (*variables)["oneof_name"] + in SetCommonOneofVariables() 164 (*variables)["clear_oneof_case"] = in SetCommonOneofVariables() 165 "this." + (*variables)["oneof_name"] + "Case_ = 0"; in SetCommonOneofVariables() 166 (*variables)["has_oneof_case"] = in SetCommonOneofVariables() 167 "this." + (*variables)["oneof_name"] + "Case_ == " + in SetCommonOneofVariables() [all …]
|
D | javanano_map_field.cc | 87 const FieldDescriptor* descriptor, map<string, string>* variables) { in SetMapVariables() argument 90 (*variables)["name"] = in SetMapVariables() 92 (*variables)["number"] = SimpleItoa(descriptor->number()); in SetMapVariables() 93 (*variables)["key_type"] = TypeName(params, key, false); in SetMapVariables() 94 (*variables)["boxed_key_type"] = TypeName(params,key, true); in SetMapVariables() 95 (*variables)["key_desc_type"] = in SetMapVariables() 97 (*variables)["key_tag"] = SimpleItoa(internal::WireFormat::MakeTag(key)); in SetMapVariables() 98 (*variables)["value_type"] = TypeName(params, value, false); in SetMapVariables() 99 (*variables)["boxed_value_type"] = TypeName(params, value, true); in SetMapVariables() 100 (*variables)["value_desc_type"] = in SetMapVariables() [all …]
|
/external/protobuf/src/google/protobuf/compiler/csharp/ |
D | csharp_field_base.cc | 57 map<string, string>* variables) { in SetCommonFieldVariables() argument 70 (*variables)["access_level"] = "public"; in SetCommonFieldVariables() 71 (*variables)["tag"] = SimpleItoa(tag); in SetCommonFieldVariables() 72 (*variables)["tag_size"] = SimpleItoa(tag_size); in SetCommonFieldVariables() 73 (*variables)["tag_bytes"] = tag_bytes; in SetCommonFieldVariables() 75 (*variables)["property_name"] = property_name(); in SetCommonFieldVariables() 76 (*variables)["type_name"] = type_name(); in SetCommonFieldVariables() 77 (*variables)["name"] = name(); in SetCommonFieldVariables() 78 (*variables)["descriptor_name"] = descriptor_->name(); in SetCommonFieldVariables() 79 (*variables)["default_value"] = default_value(); in SetCommonFieldVariables() [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/ |
D | FieldDeclaration.java | 75 private NodeList<VariableDeclarator> variables; field in FieldDeclaration 85 public FieldDeclaration(EnumSet<Modifier> modifiers, NodeList<VariableDeclarator> variables) { in FieldDeclaration() argument 86 this(null, modifiers, new NodeList<>(), variables); in FieldDeclaration() 90 …odifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<VariableDeclarator> variables) { in FieldDeclaration() argument 91 this(null, modifiers, annotations, variables); in FieldDeclaration() 98 …odifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<VariableDeclarator> variables) { in FieldDeclaration() argument 101 setVariables(variables); in FieldDeclaration() 141 return variables; in getVariables() 156 public FieldDeclaration setVariables(final NodeList<VariableDeclarator> variables) { in setVariables() argument 157 assertNotNull(variables); in setVariables() [all …]
|
/external/tensorflow/tensorflow/contrib/bayesflow/python/kernel_tests/ |
D | variational_sgd_optimizer_test.py | 25 from tensorflow.python.ops import variables 34 var0 = variables.Variable([1.1, 2.1], dtype=dtype) 35 var1 = variables.Variable([3.0, 4.0], dtype=dtype) 47 variables.global_variables_initializer().run() 61 var0 = variables.Variable([1.1, 2.1], dtype=dtype) 62 var1 = variables.Variable([3.0, 4.0], dtype=dtype) 65 vara = variables.Variable([1.1, 2.1], dtype=dtype) 66 varb = variables.Variable([3.0, 4.0], dtype=dtype) 89 variables.global_variables_initializer().run() 118 var0 = variables.Variable([1.1, 2.1], dtype=dtype) [all …]
|
/external/tensorflow/tensorflow/contrib/tensor_forest/python/kernel_tests/ |
D | scatter_add_ndim_op_test.py | 23 from tensorflow.python.ops import variables 30 input_data = variables.Variable( 36 variables.global_variables_initializer().run() 43 input_data = variables.Variable([[[1., 2., 3.], [4., 5., 6.]], 49 variables.global_variables_initializer().run() 56 input_data = variables.Variable(init_val) 61 variables.global_variables_initializer().run() 67 input_data = variables.Variable(init_val) 71 variables.global_variables_initializer().run() 78 input_data = variables.Variable([[[1., 2., 3.], [4., 5., 6.]], [all …]
|