Home
last modified time | relevance | path

Searched refs:vars (Results 1 – 25 of 216) sorted by relevance

123456789

/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_enum.cc58 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 …]
Dcpp_extension.cc95 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 …]
Dcpp_message.cc219 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/protobuf/src/google/protobuf/compiler/java/
Djava_extension.cc90 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 …]
Djava_service.cc185 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 …]
Djava_enum.cc84 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()
Djava_message.cc165 map<string, string> vars; in GenerateStaticVariables() local
166 vars["identifier"] = UniqueFileScopeIdentifier(descriptor_); in GenerateStaticVariables()
167 vars["index"] = SimpleItoa(descriptor_->index()); in GenerateStaticVariables()
168 vars["classname"] = ClassName(descriptor_); in GenerateStaticVariables()
170 vars["parent"] = UniqueFileScopeIdentifier( in GenerateStaticVariables()
176 vars["private"] = ""; in GenerateStaticVariables()
178 vars["private"] = "private "; in GenerateStaticVariables()
182 printer->Print(vars, in GenerateStaticVariables()
187 printer->Print(vars, in GenerateStaticVariables()
204 map<string, string> vars; in GenerateStaticVariableInitializers() local
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/
Dmmx.h381 #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/
Dmmxtest.c188 #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/jmonkeyengine/engine/src/core/com/jme3/bounding/
DBoundingBox.java123 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 …]
DIntersection.java90 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/javanano/
Djavanano_enum.cc73 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/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_enum.cc73 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/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/
DRobolectricInternals.java80 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/protobuf/src/google/protobuf/io/
Dprinter_unittest.cc122 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 …]
Dprinter.cc121 map<string, string> vars; in Print() local
122 vars[variable] = value; in Print()
123 Print(vars, text); in Print()
129 map<string, string> vars; in Print() local
130 vars[variable1] = value1; in Print()
131 vars[variable2] = value2; in Print()
132 Print(vars, text); in Print()
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DElemExsltFunction.java70 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()
DElemApplyTemplates.java202 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 …]
DElemCallTemplate.java199 VariableStack vars = xctxt.getVarStack(); in execute() local
201 int thisframe = vars.getStackFrame(); in execute()
202 int nextFrame = vars.link(m_template.m_frameSize); in execute()
208 vars.clearLocalSlots(0, m_template.m_inArgsSize); in execute()
213 vars.setStackFrame(thisframe); in execute()
226 vars.setLocalVariable(ewp.m_index, obj, nextFrame); in execute()
229 vars.setStackFrame(nextFrame); in execute()
256 vars.unlink(thisframe); in execute()
/external/jmonkeyengine/engine/src/test/jme3test/app/
DTestTempVars.java93 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()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/
DLightControl.java126 TempVars vars = TempVars.get(); in spatialTolight() local
129 …((DirectionalLight) light).setDirection(vars.vect1.set(spatial.getWorldTranslation()).multLocal(-1… in spatialTolight()
131 vars.release(); in spatialTolight()
141 TempVars vars = TempVars.get(); in lightToSpatial() local
146 …Vector3f vecDiff = vars.vect1.set(pLight.getPosition()).subtractLocal(spatial.getWorldTranslation(… in lightToSpatial()
152 vars.vect1.set(dLight.getDirection()).multLocal(-1.0f); in lightToSpatial()
153 Vector3f vecDiff = vars.vect1.subtractLocal(spatial.getWorldTranslation()); in lightToSpatial()
156 vars.release(); in lightToSpatial()
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DLine.java112 TempVars vars = TempVars.get(); in distanceSquared() local
114 Vector3f compVec1 = vars.vect1; in distanceSquared()
115 Vector3f compVec2 = vars.vect2; in distanceSquared()
122 vars.release(); in distanceSquared()
135 TempVars vars = TempVars.get(); in orthogonalLineFit() local
137 Vector3f compVec1 = vars.vect1; in orthogonalLineFit()
138 Vector3f compVec2 = vars.vect2; in orthogonalLineFit()
139 Matrix3f compMat1 = vars.tempMat3; in orthogonalLineFit()
140 Eigen3f compEigen1 = vars.eigen; in orthogonalLineFit()
185 vars.release(); in orthogonalLineFit()
/external/jmonkeyengine/engine/src/core/com/jme3/collision/bih/
DBIHNode.java154 TempVars vars = TempVars.get(); in intersectWhere() local
155 ArrayList<BIHStackData> stack = vars.bihStack; in intersectWhere()
232 vars.release(); in intersectWhere()
244 TempVars vars = TempVars.get(); in intersectBrute() local
246 Vector3f v1 = vars.vect1, in intersectBrute()
247 v2 = vars.vect2, in intersectBrute()
248 v3 = vars.vect3; in intersectBrute()
252 ArrayList<BIHStackData> stack = vars.bihStack; in intersectBrute()
292 vars.release(); in intersectBrute()
303 TempVars vars = TempVars.get(); in intersectWhere() local
[all …]
/external/chromium/chrome/browser/policy/
Dpolicy_path_parser_unittest.cc37 FilePath::StringType vars(FILE_PATH_LITERAL("${user_name}${machine_name}")); in TEST_F() local
38 FilePath::StringType vars_result = path_parser::ExpandPathVariables(vars); in TEST_F()
45 vars = FILE_PATH_LITERAL("${machine_name}${machine_name}"); in TEST_F()
46 vars_result = path_parser::ExpandPathVariables(vars); in TEST_F()
52 vars =FILE_PATH_LITERAL("${user_name}${machine_name}"); in TEST_F()
53 vars_result = path_parser::ExpandPathVariables(vars); in TEST_F()
/external/apache-xml/src/main/java/org/apache/xpath/axes/
DBasicTestIterator.java148 org.apache.xpath.VariableStack vars; in nextNode() local
152 vars = m_execContext.getVarStack(); in nextNode()
155 savedStart = vars.getStackFrame(); in nextNode()
157 vars.setStackFrame(m_stackFrame); in nextNode()
162 vars = null; in nextNode()
201 vars.setStackFrame(savedStart); in nextNode()

123456789