/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 | 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/tensorflow/tensorflow/python/kernel_tests/ |
D | 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/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/tensorflow/tensorflow/python/keras/ |
D | metrics_confusion_matrix_test.py | 33 from tensorflow.python.ops import variables 43 self.assertEqual(len(fp_obj.variables), 1) 49 self.assertEqual(len(fp_obj2.variables), 1) 54 self.evaluate(variables.variables_initializer(fp_obj.variables)) 68 self.evaluate(variables.variables_initializer(fp_obj.variables)) 79 self.evaluate(variables.variables_initializer(fp_obj.variables)) 93 self.evaluate(variables.variables_initializer(fp_obj.variables)) 123 self.assertEqual(len(fn_obj.variables), 1) 129 self.assertEqual(len(fn_obj2.variables), 1) 134 self.evaluate(variables.variables_initializer(fn_obj.variables)) [all …]
|
D | metrics_test.py | 39 from tensorflow.python.ops import variables 55 self.assertEqual(len(m.variables), 1) 56 self.evaluate(variables.variables_initializer(m.variables)) 78 self.evaluate(variables.variables_initializer(m.variables)) 118 self.evaluate(variables.variables_initializer(m.variables)) 136 self.evaluate(variables.variables_initializer(m.variables)) 173 self.assertEqual(len(m.variables), 2) 174 self.evaluate(variables.variables_initializer(m.variables)) 202 self.assertEqual(len(m2.variables), 2) 207 self.evaluate(variables.variables_initializer(m.variables)) [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/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/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/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/swiftshader/third_party/llvm-7.0/llvm/utils/lit/lit/ |
D | BooleanExpression.py | 23 def evaluate(string, variables, triple=""): argument 25 parser = BooleanExpression(string, set(variables), triple) 32 def __init__(self, string, variables, triple=""): argument 34 self.variables = variables 35 self.variables.add('true') 99 self.value = (self.token in self.variables or 137 variables = {'its-true', 'false-lol-true', 'under_score', 139 self.assertTrue(BooleanExpression.evaluate('true', variables)) 140 self.assertTrue(BooleanExpression.evaluate('its-true', variables)) 141 self.assertTrue(BooleanExpression.evaluate('false-lol-true', variables)) [all …]
|