/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_enum.cc | 58 map<string, string> vars; in GenerateDefinition() local 59 vars["classname"] = classname_; in GenerateDefinition() 60 vars["short_name"] = descriptor_->name(); in GenerateDefinition() 62 printer->Print(vars, "enum $classname$ {\n"); in GenerateDefinition() 69 vars["name"] = descriptor_->value(i)->name(); in GenerateDefinition() 70 vars["number"] = SimpleItoa(descriptor_->value(i)->number()); in GenerateDefinition() 71 vars["prefix"] = (descriptor_->containing_type() == NULL) ? in GenerateDefinition() 75 printer->Print(vars, "$prefix$$name$ = $number$"); in GenerateDefinition() 88 vars["min_name"] = min_value->name(); in GenerateDefinition() 89 vars["max_name"] = max_value->name(); in GenerateDefinition() [all …]
|
D | cpp_extension.cc | 95 map<string, string> vars; in GenerateDeclaration() local 96 vars["extendee" ] = ExtendeeClassName(descriptor_); in GenerateDeclaration() 97 vars["number" ] = SimpleItoa(descriptor_->number()); in GenerateDeclaration() 98 vars["type_traits" ] = type_traits_; in GenerateDeclaration() 99 vars["name" ] = descriptor_->name(); in GenerateDeclaration() 100 vars["field_type" ] = SimpleItoa(static_cast<int>(descriptor_->type())); in GenerateDeclaration() 101 vars["packed" ] = descriptor_->options().packed() ? "true" : "false"; in GenerateDeclaration() 102 vars["constant_name"] = FieldConstantName(descriptor_); in GenerateDeclaration() 108 vars["qualifier"] = "extern"; in GenerateDeclaration() 110 vars["qualifier"] = dllexport_decl_ + " " + vars["qualifier"]; in GenerateDeclaration() [all …]
|
D | cpp_message.cc | 219 map<string, string> vars; in GenerateFieldAccessorDeclarations() local 220 SetCommonFieldVariables(field, &vars); in GenerateFieldAccessorDeclarations() 221 vars["constant_name"] = FieldConstantName(field); in GenerateFieldAccessorDeclarations() 224 printer->Print(vars, "inline int $name$_size() const$deprecation$;\n"); in GenerateFieldAccessorDeclarations() 226 printer->Print(vars, "inline bool has_$name$() const$deprecation$;\n"); in GenerateFieldAccessorDeclarations() 229 printer->Print(vars, "inline void clear_$name$()$deprecation$;\n"); in GenerateFieldAccessorDeclarations() 230 printer->Print(vars, "static const int $constant_name$ = $number$;\n"); in GenerateFieldAccessorDeclarations() 256 map<string, string> vars; in GenerateFieldAccessorDefinitions() local 257 SetCommonFieldVariables(field, &vars); in GenerateFieldAccessorDefinitions() 261 printer->Print(vars, in GenerateFieldAccessorDefinitions() [all …]
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_enum.cc | 58 map<string, string> vars; in GenerateDefinition() local 59 vars["classname"] = classname_; in GenerateDefinition() 60 vars["short_name"] = descriptor_->name(); in GenerateDefinition() 62 printer->Print(vars, "enum $classname$ {\n"); in GenerateDefinition() 69 vars["name"] = descriptor_->value(i)->name(); in GenerateDefinition() 70 vars["number"] = SimpleItoa(descriptor_->value(i)->number()); in GenerateDefinition() 71 vars["prefix"] = (descriptor_->containing_type() == NULL) ? in GenerateDefinition() 75 printer->Print(vars, "$prefix$$name$ = $number$"); in GenerateDefinition() 88 vars["min_name"] = min_value->name(); in GenerateDefinition() 89 vars["max_name"] = max_value->name(); in GenerateDefinition() [all …]
|
D | cpp_extension.cc | 95 map<string, string> vars; in GenerateDeclaration() local 96 vars["extendee" ] = ExtendeeClassName(descriptor_); in GenerateDeclaration() 97 vars["number" ] = SimpleItoa(descriptor_->number()); in GenerateDeclaration() 98 vars["type_traits" ] = type_traits_; in GenerateDeclaration() 99 vars["name" ] = descriptor_->name(); in GenerateDeclaration() 100 vars["field_type" ] = SimpleItoa(static_cast<int>(descriptor_->type())); in GenerateDeclaration() 101 vars["packed" ] = descriptor_->options().packed() ? "true" : "false"; in GenerateDeclaration() 102 vars["constant_name"] = FieldConstantName(descriptor_); in GenerateDeclaration() 108 vars["qualifier"] = "extern"; in GenerateDeclaration() 110 vars["qualifier"] = options_.dllexport_decl + " " + vars["qualifier"]; in GenerateDeclaration() [all …]
|
/external/chromium_org/third_party/angle/tests/compiler_tests/ |
D | VariablePacker_test.cpp | 11 TVariableInfoList vars; in TEST() local 14 EXPECT_TRUE(packer.CheckVariablesWithinPackingLimits(kMaxRows, vars)); in TEST() 43 vars.clear(); in TEST() 44 vars.push_back(TVariableInfo(type, 1)); in TEST() 45 EXPECT_TRUE(packer.CheckVariablesWithinPackingLimits(kMaxRows, vars)); in TEST() 49 vars.clear(); in TEST() 50 vars.push_back(TVariableInfo(type, num_vars)); in TEST() 51 EXPECT_TRUE(packer.CheckVariablesWithinPackingLimits(kMaxRows, vars)); in TEST() 54 vars.clear(); in TEST() 55 vars.push_back(TVariableInfo(type, num_vars + 1)); in TEST() [all …]
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_extension.cc | 90 map<string, string> vars; in Generate() local 91 vars["name"] = UnderscoresToCamelCase(descriptor_); in Generate() 92 vars["containing_type"] = ClassName(descriptor_->containing_type()); in Generate() 93 vars["number"] = SimpleItoa(descriptor_->number()); in Generate() 94 vars["constant_name"] = FieldConstantName(descriptor_); in Generate() 95 vars["lite"] = HasDescriptorMethods(descriptor_->file()) ? "" : "Lite"; in Generate() 101 vars["type"] = ClassName(descriptor_->message_type()); in Generate() 104 vars["type"] = ClassName(descriptor_->enum_type()); in Generate() 107 vars["type"] = BoxedPrimitiveTypeName(java_type); in Generate() 111 printer->Print(vars, in Generate() [all …]
|
D | java_service.cc | 185 map<string, string> vars; in GenerateCallMethod() local 186 vars["index"] = SimpleItoa(i); in GenerateCallMethod() 187 vars["method"] = UnderscoresToCamelCase(method); in GenerateCallMethod() 188 vars["input"] = ClassName(method->input_type()); in GenerateCallMethod() 189 vars["output"] = ClassName(method->output_type()); in GenerateCallMethod() 190 printer->Print(vars, in GenerateCallMethod() 230 map<string, string> vars; in GenerateCallBlockingMethod() local 231 vars["index"] = SimpleItoa(i); in GenerateCallBlockingMethod() 232 vars["method"] = UnderscoresToCamelCase(method); in GenerateCallBlockingMethod() 233 vars["input"] = ClassName(method->input_type()); in GenerateCallBlockingMethod() [all …]
|
D | java_enum.cc | 84 map<string, string> vars; in Generate() local 85 vars["name"] = canonical_values_[i]->name(); in Generate() 86 vars["index"] = SimpleItoa(canonical_values_[i]->index()); in Generate() 87 vars["number"] = SimpleItoa(canonical_values_[i]->number()); in Generate() 88 printer->Print(vars, in Generate() 99 map<string, string> vars; in Generate() local 100 vars["classname"] = descriptor_->name(); in Generate() 101 vars["name"] = aliases_[i].value->name(); in Generate() 102 vars["canonical_name"] = aliases_[i].canonical_value->name(); in Generate() 103 printer->Print(vars, in Generate()
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
D | mmx.h | 381 #define movq(vars, vard) \ argument 385 : "y" (vars)) 396 #define movd(vars, vard) \ argument 400 : "y" (vars)) 407 #define paddd(vars, vard) mmx_m2m(paddd, vars, vard) argument 411 #define paddw(vars, vard) mmx_m2m(paddw, vars, vard) argument 415 #define paddb(vars, vard) mmx_m2m(paddb, vars, vard) argument 422 #define paddsw(vars, vard) mmx_m2m(paddsw, vars, vard) argument 426 #define paddsb(vars, vard) mmx_m2m(paddsb, vars, vard) argument 433 #define paddusw(vars, vard) mmx_m2m(paddusw, vars, vard) argument [all …]
|
/external/valgrind/main/VEX/test/ |
D | mmxtest.c | 188 #define movq(vars, vard) \ argument 192 : "X" (vars)) 203 #define movd(vars, vard) \ argument 207 : "X" (vars)) 214 #define paddd(vars, vard) mmx_m2m(paddd, vars, vard) argument 218 #define paddw(vars, vard) mmx_m2m(paddw, vars, vard) argument 222 #define paddb(vars, vard) mmx_m2m(paddb, vars, vard) argument 229 #define paddsw(vars, vard) mmx_m2m(paddsw, vars, vard) argument 233 #define paddsb(vars, vard) mmx_m2m(paddsb, vars, vard) argument 240 #define paddusw(vars, vard) mmx_m2m(paddusw, vars, vard) argument [all …]
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/java/ |
D | java_extension.cc | 94 map<string, string> &vars = *vars_pointer; in InitTemplateVars() local 95 vars["scope"] = scope; in InitTemplateVars() 96 vars["name"] = UnderscoresToCamelCase(descriptor); in InitTemplateVars() 97 vars["containing_type"] = ClassName(descriptor->containing_type()); in InitTemplateVars() 98 vars["number"] = SimpleItoa(descriptor->number()); in InitTemplateVars() 99 vars["constant_name"] = FieldConstantName(descriptor); in InitTemplateVars() 100 vars["index"] = SimpleItoa(descriptor->index()); in InitTemplateVars() 101 vars["default"] = in InitTemplateVars() 103 vars["type_constant"] = TypeName(GetType(descriptor)); in InitTemplateVars() 104 vars["packed"] = descriptor->options().packed() ? "true" : "false"; in InitTemplateVars() [all …]
|
D | java_service.cc | 194 map<string, string> vars; in GenerateCallMethod() local 195 vars["index"] = SimpleItoa(i); in GenerateCallMethod() 196 vars["method"] = UnderscoresToCamelCase(method); in GenerateCallMethod() 197 vars["input"] = ClassName(method->input_type()); in GenerateCallMethod() 198 vars["output"] = ClassName(method->output_type()); in GenerateCallMethod() 199 printer->Print(vars, in GenerateCallMethod() 239 map<string, string> vars; in GenerateCallBlockingMethod() local 240 vars["index"] = SimpleItoa(i); in GenerateCallBlockingMethod() 241 vars["method"] = UnderscoresToCamelCase(method); in GenerateCallBlockingMethod() 242 vars["input"] = ClassName(method->input_type()); in GenerateCallBlockingMethod() [all …]
|
D | java_enum.cc | 86 map<string, string> vars; in Generate() local 87 vars["name"] = canonical_values_[i]->name(); in Generate() 88 vars["index"] = SimpleItoa(canonical_values_[i]->index()); in Generate() 89 vars["number"] = SimpleItoa(canonical_values_[i]->number()); in Generate() 91 printer->Print(vars, in Generate() 102 map<string, string> vars; in Generate() local 103 vars["classname"] = descriptor_->name(); in Generate() 104 vars["name"] = aliases_[i].value->name(); in Generate() 105 vars["canonical_name"] = aliases_[i].canonical_value->name(); in Generate() 107 printer->Print(vars, in Generate() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/bounding/ |
D | BoundingBox.java | 123 TempVars vars = TempVars.get(); in computeFromTris() local 125 …Vector3f min = vars.vect1.set(new Vector3f(Float.POSITIVE_INFINITY, Float.POSITIVE_INFINITY, Float… in computeFromTris() 126 …Vector3f max = vars.vect2.set(new Vector3f(Float.NEGATIVE_INFINITY, Float.NEGATIVE_INFINITY, Float… in computeFromTris() 145 vars.release(); in computeFromTris() 153 TempVars vars = TempVars.get(); in computeFromTris() local 155 Vector3f vect1 = vars.vect1; in computeFromTris() 156 Vector3f vect2 = vars.vect2; in computeFromTris() 157 Triangle triangle = vars.triangle; in computeFromTris() 180 vars.release(); in computeFromTris() 223 TempVars vars = TempVars.get(); in containAABB() local [all …]
|
D | Intersection.java | 90 TempVars vars = TempVars.get(); in intersect() local 93 Vector3f tmp0 = vars.vect1, in intersect() 94 tmp1 = vars.vect2, in intersect() 95 tmp2 = vars.vect3; in intersect() 97 Vector3f e0 = vars.vect4, in intersect() 98 e1 = vars.vect5, in intersect() 99 e2 = vars.vect6; in intersect() 135 vars.release(); in intersect() 146 vars.release(); in intersect() 157 vars.release(); in intersect() [all …]
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
D | javamicro_enum.cc | 73 map<string, string> vars; in Generate() local 74 vars["name"] = canonical_values_[i]->name(); in Generate() 75 vars["canonical_value"] = SimpleItoa(canonical_values_[i]->number()); in Generate() 76 printer->Print(vars, in Generate() 83 map<string, string> vars; in Generate() local 84 vars["name"] = aliases_[i].value->name(); in Generate() 85 vars["canonical_name"] = aliases_[i].canonical_value->name(); in Generate() 86 printer->Print(vars, in Generate()
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/ |
D | printer.cc | 120 map<string, string> vars; in Print() local 121 vars[variable] = value; in Print() 122 Print(vars, text); in Print() 128 map<string, string> vars; in Print() local 129 vars[variable1] = value1; in Print() 130 vars[variable2] = value2; in Print() 131 Print(vars, text); in Print() 138 map<string, string> vars; in Print() local 139 vars[variable1] = value1; in Print() 140 vars[variable2] = value2; in Print() [all …]
|
D | printer_unittest.cc | 122 map<string, string> vars; in TEST() local 124 vars["foo"] = "World"; in TEST() 125 vars["bar"] = "$foo$"; in TEST() 126 vars["abcdefg"] = "1234"; in TEST() 128 printer.Print(vars, "Hello $foo$!\nbar = $bar$\n"); in TEST() 130 printer.Print(vars, "$abcdefg$\nA literal dollar sign: $$"); in TEST() 132 vars["foo"] = "blah"; in TEST() 133 printer.Print(vars, "\nNow foo = $foo$."); in TEST() 179 map<string, string> vars; in TEST() local 181 vars["newline"] = "\n"; in TEST() [all …]
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_enum.cc | 73 map<string, string> vars; in Generate() local 74 vars["name"] = RenameJavaKeywords(canonical_values_[i]->name()); in Generate() 75 vars["canonical_value"] = SimpleItoa(canonical_values_[i]->number()); in Generate() 76 printer->Print(vars, in Generate() 83 map<string, string> vars; in Generate() local 84 vars["name"] = RenameJavaKeywords(aliases_[i].value->name()); in Generate() 85 vars["canonical_name"] = aliases_[i].canonical_value->name(); in Generate() 86 printer->Print(vars, in Generate()
|
/external/protobuf/src/google/protobuf/io/ |
D | printer_unittest.cc | 122 map<string, string> vars; in TEST() local 124 vars["foo"] = "World"; in TEST() 125 vars["bar"] = "$foo$"; in TEST() 126 vars["abcdefg"] = "1234"; in TEST() 128 printer.Print(vars, "Hello $foo$!\nbar = $bar$\n"); in TEST() 130 printer.Print(vars, "$abcdefg$\nA literal dollar sign: $$"); in TEST() 132 vars["foo"] = "blah"; in TEST() 133 printer.Print(vars, "\nNow foo = $foo$."); in TEST() 179 map<string, string> vars; in TEST() local 181 vars["newline"] = "\n"; in TEST() [all …]
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/ |
D | RobolectricInternals.java | 80 Vars vars = ALL_VARS.get(); in directlyOn() local 82 if (vars.callDirectly != null) { in directlyOn() 83 Object expectedInstance = vars.callDirectly; in directlyOn() 84 vars.callDirectly = null; in directlyOn() 88 vars.callDirectly = shadowedObject; in directlyOn() 93 Vars vars = ALL_VARS.get(); in shouldCallDirectly() local 94 if (vars.callDirectly != null) { in shouldCallDirectly() 95 if (vars.callDirectly != directInstance) { in shouldCallDirectly() 96 Object expectedInstance = vars.callDirectly; in shouldCallDirectly() 97 vars.callDirectly = null; in shouldCallDirectly() [all …]
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
D | ElemExsltFunction.java | 70 VariableStack vars = xctxt.getVarStack(); in execute() local 74 int thisFrame = vars.getStackFrame(); in execute() 75 int nextFrame = vars.link(m_frameSize); in execute() 84 vars.clearLocalSlots(0, m_inArgsSize); in execute() 87 vars.setStackFrame(thisFrame); in execute() 94 vars.setLocalVariable(param.getIndex(), args[i], nextFrame); in execute() 98 vars.setStackFrame(nextFrame); in execute() 107 vars.setStackFrame(nextFrame); in execute() 111 vars.unlink(thisFrame); in execute()
|
D | ElemApplyTemplates.java | 202 VariableStack vars = xctxt.getVarStack(); in transformSelectedNodes() local 204 int thisframe = vars.getStackFrame(); in transformSelectedNodes() 238 argsFrame = vars.link(nParams); in transformSelectedNodes() 239 vars.setStackFrame(thisframe); in transformSelectedNodes() 246 vars.setLocalVariable(i, obj, argsFrame); in transformSelectedNodes() 248 vars.setStackFrame(argsFrame); in transformSelectedNodes() 322 currentFrameBottom = vars.getStackFrame(); // See comment with unlink, below in transformSelectedNodes() 323 vars.link(template.m_frameSize); in transformSelectedNodes() 342 XObject obj = vars.getLocalVariable(i, argsFrame); in transformSelectedNodes() 343 vars.setLocalVariable(paramIndex, obj); in transformSelectedNodes() [all …]
|
/external/jmonkeyengine/engine/src/test/jme3test/app/ |
D | TestTempVars.java | 93 TempVars vars = TempVars.get(); in recursiveMethod() local 95 vars.vect1.set(0.1f, 0.2f, 0.3f); in recursiveMethod() 101 sumCompute.addLocal(vars.vect1); in recursiveMethod() 103 vars.release(); in recursiveMethod() 107 TempVars vars = TempVars.get(); in methodThatUsesTempVars() local 109 vars.vect1.set(0.1f, 0.2f, 0.3f); in methodThatUsesTempVars() 110 sumCompute.addLocal(vars.vect1); in methodThatUsesTempVars() 112 vars.release(); in methodThatUsesTempVars()
|