Home
last modified time | relevance | path

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

12345678910>>...26

/third_party/flatbuffers/grpc/src/compiler/
Dgo_generator.cc74 std::map<grpc::string, grpc::string> vars, in GenerateError() argument
76 printer->Print(vars, "if $Error_Check$ {\n"); in GenerateError()
78 vars["Return"] = multiple_return ? "nil, err" : "err"; in GenerateError()
79 printer->Print(vars, "return $Return$\n"); in GenerateError()
86 std::map<grpc::string, grpc::string> vars) { in GenerateImports() argument
87 vars["filename"] = file->filename(); in GenerateImports()
90 printer->Print(vars, "//source: $filename$\n\n"); in GenerateImports()
91 printer->Print(vars, "package $Package$\n\n"); in GenerateImports()
94 printer->Print(vars, "$context$ \"context\"\n"); in GenerateImports()
96 printer->Print(vars, "$grpc$ \"google.golang.org/grpc\"\n"); in GenerateImports()
[all …]
Dcpp_generator.cc87 std::map<grpc::string, grpc::string> vars; in PrintIncludes() local
89 vars["l"] = params.use_system_headers ? '<' : '"'; in PrintIncludes()
90 vars["r"] = params.use_system_headers ? '>' : '"'; in PrintIncludes()
94 vars["l"] += s; in PrintIncludes()
96 vars["l"] += '/'; in PrintIncludes()
101 vars["h"] = *i; in PrintIncludes()
102 printer->Print(vars, "#include $l$$h$$r$\n"); in PrintIncludes()
112 std::map<grpc::string, grpc::string> vars; in GetHeaderPrologue() local
114 vars["filename"] = file->filename(); in GetHeaderPrologue()
115 vars["filename_identifier"] = FilenameIdentifier(file->filename()); in GetHeaderPrologue()
[all …]
Djava_generator.cc52 grpc_generator::Printer* printer, VARS& vars) { in GenerateImports() argument
53 vars["filename"] = file->filename(); in GenerateImports()
55 vars, in GenerateImports()
58 printer->Print(vars, "//source: $filename$.fbs\n\n"); in GenerateImports()
59 printer->Print(vars, "package $Package$;\n\n"); in GenerateImports()
60 vars["Package"] = vars["Package"] + "."; in GenerateImports()
118 static inline string JavaClassName(VARS& vars, const string& name) { in JavaClassName() argument
120 return vars["Package"] + name; in JavaClassName()
260 static void GrpcWriteDocCommentBody(Printer* printer, VARS& vars, in GrpcWriteDocCommentBody() argument
272 vars["line"] = lines[i]; in GrpcWriteDocCommentBody()
[all …]
Dts_generator.cc71 auto vars = *dictonary; in GenerateImports() local
84 vars["OUTPUT"] = output; in GenerateImports()
85 vars["INPUT"] = input; in GenerateImports()
89 vars["OUTPUT_DIR"] = in GenerateImports()
91 vars["Output_alias"] = GenerateNamespace( in GenerateImports()
94 vars, "import { $OUTPUT$ as $Output_alias$ } from '$OUTPUT_DIR$';\n"); in GenerateImports()
98 vars["INPUT_DIR"] = in GenerateImports()
100 vars["Input_alias"] = in GenerateImports()
103 vars, "import { $INPUT$ as $Input_alias$ } from '$INPUT_DIR$';\n"); in GenerateImports()
119 auto vars = *dictonary; in GetStreamType() local
[all …]
Dswift_generator.cc50 auto vars = *dictonary; in GenerateClientFuncName() local
52 printer->Print(vars, in GenerateClientFuncName()
61 printer->Print(vars, in GenerateClientFuncName()
71 printer->Print(vars, in GenerateClientFuncName()
78 printer->Print(vars, in GenerateClientFuncName()
88 auto vars = *dictonary; in GenerateClientFuncBody() local
89 vars["Interceptor"] = in GenerateClientFuncBody()
93 vars, in GenerateClientFuncBody()
105 vars, in GenerateClientFuncBody()
118 vars, in GenerateClientFuncBody()
[all …]
Dpython_generator.cc52 auto vars = *dictonary; in GenerateStub() local
53 printer->Print(vars, "class $ServiceName$Stub(object):\n"); in GenerateStub()
66 vars["MethodName"] = method->name(); in GenerateStub()
67 vars["MethodType"] = GenerateMethodType(&*method); in GenerateStub()
68 printer->Print(vars, "self.$MethodName$ = channel.$MethodType$(\n"); in GenerateStub()
70 printer->Print(vars, "\"/$PATH$$ServiceName$/$MethodName$\"\n"); in GenerateStub()
83 auto vars = *dictonary; in GenerateServicer() local
84 printer->Print(vars, "class $ServiceName$Servicer(object):\n"); in GenerateServicer()
91 vars["MethodName"] = method->name(); in GenerateServicer()
92 vars["MethodInput"] = GenerateMethodInput(&*method); in GenerateServicer()
[all …]
/third_party/grpc/src/compiler/
Dcpp_generator.cc68 std::map<std::string, std::string> vars; in PrintIncludes() local
70 vars["l"] = use_system_headers ? '<' : '"'; in PrintIncludes()
71 vars["r"] = use_system_headers ? '>' : '"'; in PrintIncludes()
74 vars["l"] += search_path; in PrintIncludes()
76 vars["l"] += '/'; in PrintIncludes()
81 vars["h"] = *i; in PrintIncludes()
82 printer->Print(vars, "#include $l$$h$$r$\n"); in PrintIncludes()
92 std::map<std::string, std::string> vars; in GetHeaderPrologue() local
94 vars["filename"] = file->filename(); in GetHeaderPrologue()
95 vars["filename_identifier"] = FilenameIdentifier(file->filename()); in GetHeaderPrologue()
[all …]
Dobjective_c_generator.cc42 map< ::std::string, ::std::string> vars) { in PrintProtoRpcDeclarationAsPragma() argument
43 vars["client_stream"] = method->client_streaming() ? "stream " : ""; in PrintProtoRpcDeclarationAsPragma()
44 vars["server_stream"] = method->server_streaming() ? "stream " : ""; in PrintProtoRpcDeclarationAsPragma()
46 printer->Print(vars, in PrintProtoRpcDeclarationAsPragma()
84 const map< ::std::string, ::std::string>& vars) { in PrintMethodSignature() argument
88 printer->Print(vars, "- ($return_type$)$method_name$With"); in PrintMethodSignature()
92 printer->Print(vars, "Request:($request_class$ *)request"); in PrintMethodSignature()
97 printer->Print(vars, in PrintMethodSignature()
102 printer->Print(vars, in PrintMethodSignature()
109 map< ::std::string, ::std::string> vars) { in PrintSimpleSignature() argument
[all …]
/third_party/node/deps/npm/node_modules/hosted-git-info/
Dgit-host.js41 var vars = extend({}, opts)
42 vars.path = vars.path ? vars.path.replace(/^[/]+/g, '') : ''
46 if (self[key] != null && vars[key] == null) vars[key] = self[key]
48 var rawAuth = vars.auth
49 var rawcommittish = vars.committish
50 var rawFragment = vars.fragment
51 var rawPath = vars.path
52 var rawProject = vars.project
53 Object.keys(vars).forEach(function (key) {
54 var value = vars[key]
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
DVariablePacker_test.cpp80 std::vector<sh::ShaderVariable> vars; in TEST() local
83 EXPECT_TRUE(CheckVariablesInPackingLimits(kMaxRows, vars)); in TEST()
91 vars.clear(); in TEST()
92 vars.push_back(sh::ShaderVariable(type)); in TEST()
93 EXPECT_TRUE(CheckVariablesInPackingLimits(kMaxRows, vars)); in TEST()
97 vars.clear(); in TEST()
98 vars.push_back(CreateShaderVariable(type, num_vars)); in TEST()
99 EXPECT_TRUE(CheckVariablesInPackingLimits(kMaxRows, vars)); in TEST()
102 vars.clear(); in TEST()
103 vars.push_back(CreateShaderVariable(type, num_vars + 1)); in TEST()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/compiler_tests/
DVariablePacker_test.cpp80 std::vector<sh::ShaderVariable> vars; in TEST() local
83 EXPECT_TRUE(CheckVariablesInPackingLimits(kMaxRows, vars)); in TEST()
91 vars.clear(); in TEST()
92 vars.push_back(sh::ShaderVariable(type)); in TEST()
93 EXPECT_TRUE(CheckVariablesInPackingLimits(kMaxRows, vars)); in TEST()
97 vars.clear(); in TEST()
98 vars.push_back(CreateShaderVariable(type, num_vars)); in TEST()
99 EXPECT_TRUE(CheckVariablesInPackingLimits(kMaxRows, vars)); in TEST()
102 vars.clear(); in TEST()
103 vars.push_back(CreateShaderVariable(type, num_vars + 1)); in TEST()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/render/
Dmmx.h319 #define movq(vars, vard) \ argument
323 : "X" (vars))
334 #define movd(vars, vard) \ argument
338 : "X" (vars))
345 #define paddd(vars, vard) mmx_m2m(paddd, vars, vard) argument
349 #define paddw(vars, vard) mmx_m2m(paddw, vars, vard) argument
353 #define paddb(vars, vard) mmx_m2m(paddb, vars, vard) argument
360 #define paddsw(vars, vard) mmx_m2m(paddsw, vars, vard) argument
364 #define paddsb(vars, vard) mmx_m2m(paddsb, vars, vard) argument
371 #define paddusw(vars, vard) mmx_m2m(paddusw, vars, vard) argument
[all …]
/third_party/gstreamer/gstplugins_good/gst/goom/
Dmmx.h404 #define movq(vars, vard) \ argument
408 : "X" (vars))
419 #define movd(vars, vard) \ argument
423 : "X" (vars))
430 #define paddd(vars, vard) mmx_m2m(paddd, vars, vard) argument
434 #define paddw(vars, vard) mmx_m2m(paddw, vars, vard) argument
438 #define paddb(vars, vard) mmx_m2m(paddb, vars, vard) argument
445 #define paddsw(vars, vard) mmx_m2m(paddsw, vars, vard) argument
449 #define paddsb(vars, vard) mmx_m2m(paddsb, vars, vard) argument
456 #define paddusw(vars, vard) mmx_m2m(paddusw, vars, vard) argument
[all …]
/third_party/gstreamer/gstplugins_good/gst/deinterlace/tvtime/
Dmmx.h401 #define movq(vars, vard) \ argument
405 : "X" (vars))
416 #define movd(vars, vard) \ argument
420 : "X" (vars))
427 #define paddd(vars, vard) mmx_m2m(paddd, vars, vard) argument
431 #define paddw(vars, vard) mmx_m2m(paddw, vars, vard) argument
435 #define paddb(vars, vard) mmx_m2m(paddb, vars, vard) argument
442 #define paddsw(vars, vard) mmx_m2m(paddsw, vars, vard) argument
446 #define paddsb(vars, vard) mmx_m2m(paddsb, vars, vard) argument
453 #define paddusw(vars, vard) mmx_m2m(paddusw, vars, vard) argument
[all …]
Dsse.h404 #define movaps(vars, vard) \ argument
408 : "X" (vars))
426 #define movups(vars, vard) \ argument
430 : "X" (vars))
450 #define movhps(vars, vard) \ argument
454 : "X" (vars))
462 #define movlps(vars, vard) \ argument
466 : "X" (vars))
475 #define movss(vars, vard) \ argument
479 : "X" (vars))
[all …]
/third_party/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_extension.cc62 std::map<string, string> vars; in GenerateMembersHeader() local
63 vars["method_name"] = method_name_; in GenerateMembersHeader()
65 vars["storage_attribute"] = " NS_RETURNS_NOT_RETAINED"; in GenerateMembersHeader()
67 vars["storage_attribute"] = ""; in GenerateMembersHeader()
71 vars["comments"] = BuildCommentsString(location, true); in GenerateMembersHeader()
73 vars["comments"] = ""; in GenerateMembersHeader()
77 vars["deprecated_attribute"] = GetOptionalDeprecatedAttribute(descriptor_, descriptor_->file()); in GenerateMembersHeader()
78 printer->Print(vars, in GenerateMembersHeader()
85 std::map<string, string> vars; in GenerateStaticVariablesInitialization() local
86 vars["root_class_and_method_name"] = root_class_and_method_name_; in GenerateStaticVariablesInitialization()
[all …]
/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_extension.cc67 std::map<std::string, std::string>& vars = *vars_pointer; in InitTemplateVars() local
68 vars["scope"] = scope; in InitTemplateVars()
69 vars["name"] = UnderscoresToCamelCaseCheckReserved(descriptor); in InitTemplateVars()
70 vars["containing_type"] = in InitTemplateVars()
72 vars["number"] = StrCat(descriptor->number()); in InitTemplateVars()
73 vars["constant_name"] = FieldConstantName(descriptor); in InitTemplateVars()
74 vars["index"] = StrCat(descriptor->index()); in InitTemplateVars()
75 vars["default"] = descriptor->is_repeated() in InitTemplateVars()
78 vars["type_constant"] = FieldTypeName(GetType(descriptor)); in InitTemplateVars()
79 vars["packed"] = descriptor->is_packed() ? "true" : "false"; in InitTemplateVars()
[all …]
Djava_service.cc211 std::map<std::string, std::string> vars; in GenerateCallMethod() local
212 vars["index"] = StrCat(i); in GenerateCallMethod()
213 vars["method"] = UnderscoresToCamelCase(method); in GenerateCallMethod()
214 vars["input"] = name_resolver_->GetImmutableClassName(method->input_type()); in GenerateCallMethod()
215 vars["output"] = GetOutput(method); in GenerateCallMethod()
217 vars, in GenerateCallMethod()
258 std::map<std::string, std::string> vars; in GenerateCallBlockingMethod() local
259 vars["index"] = StrCat(i); in GenerateCallBlockingMethod()
260 vars["method"] = UnderscoresToCamelCase(method); in GenerateCallBlockingMethod()
261 vars["input"] = name_resolver_->GetImmutableClassName(method->input_type()); in GenerateCallBlockingMethod()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/visualtest/src/
Dvariator_common.c81 SDLVisualTest_SUTOptionValue* vars; in SDLVisualTest_MakeStrFromVariation() local
107 vars = variation->vars; in SDLVisualTest_MakeStrFromVariation()
119 if(vars[i].bool_value) in SDLVisualTest_MakeStrFromVariation()
133 if(vars[i].enumerated.on) in SDLVisualTest_MakeStrFromVariation()
135 enum_index = vars[i].enumerated.index; in SDLVisualTest_MakeStrFromVariation()
143 if(vars[i].integer.on) in SDLVisualTest_MakeStrFromVariation()
146 options[i].name, vars[i].integer.value); in SDLVisualTest_MakeStrFromVariation()
152 if(vars[i].string.on) in SDLVisualTest_MakeStrFromVariation()
155 options[i].name, vars[i].string.value); in SDLVisualTest_MakeStrFromVariation()
169 SDLVisualTest_SUTOptionValue* vars; in SDLVisualTest_InitVariation() local
[all …]
/third_party/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_message.cc115 std::map<string, string> vars; in Generate() local
116 vars["class_name"] = class_name(); in Generate()
117 vars["access_level"] = class_access_level(); in Generate()
124 vars, in Generate()
128 printer->Print(vars, "pb::IExtendableMessage<$class_name$>\n"); in Generate()
131 printer->Print(vars, "pb::IMessage<$class_name$>\n"); in Generate()
141 vars, in Generate()
149 …printer->Print(vars, "internal pb::ExtensionSet<$class_name$> _extensions;\n"); // CustomOptions c… in Generate()
151 printer->Print(vars, "private pb::ExtensionSet<$class_name$> _extensions;\n"); in Generate()
156 printer->Print(vars, in Generate()
[all …]
/third_party/skia/infra/bots/recipes/
Dskpbench.py44 is_vulkan = 'Vulkan' in api.vars.builder_name
45 is_metal = 'Metal' in api.vars.builder_name
46 is_android = 'Android' in api.vars.builder_name
47 is_apple_m1 = 'AppleM1' in api.vars.builder_name
48 is_all_paths_volatile = 'AllPathsVolatile' in api.vars.builder_name
49 is_mskp = 'Mskp' in api.vars.builder_name
50 is_ddl = 'DDL' in api.vars.builder_name
51 is_9x9 = '9x9' in api.vars.builder_name
57 app = api.vars.build_dir.join('skpbench')
60 skpbench_dir = api.vars.workdir.join('skia', 'tools', 'skpbench')
[all …]
Dperf_pathkit.py29 api.vars.setup()
31 out_dir = api.vars.swarming_out_dir
40 if 'asmjs' in api.vars.builder_name:
44 base_dir = api.vars.build_dir
46 if 'asmjs' in api.vars.builder_name:
62 if 'asmjs' in api.vars.builder_name:
66 '--builder', api.vars.builder_name,
69 '--bot_id', api.vars.swarming_bot_id,
70 '--task_id', api.vars.swarming_task_id,
72 '--config', api.vars.configuration,
[all …]
/third_party/flutter/skia/infra/bots/recipes/
Dskpbench.py46 if 'Android' in api.vars.builder_name:
47 app = api.vars.build_dir.join('skpbench')
50 skpbench_dir = api.vars.slave_dir.join('skia', 'tools', 'skpbench')
51 table = api.path.join(api.vars.swarming_out_dir, 'table')
53 if 'Vulkan' in api.vars.builder_name:
64 if 'DDL' in api.vars.builder_name:
69 if 'DDLRecord' in api.vars.builder_name:
71 if '9x9' in api.vars.builder_name:
75 if 'Android' in api.vars.builder_name:
79 if 'CCPR' in api.vars.builder_name:
[all …]
Dperf_pathkit.py26 api.vars.setup()
28 out_dir = api.vars.swarming_out_dir
38 if 'asmjs' in api.vars.builder_name:
42 base_dir = api.vars.build_dir
44 if 'asmjs' in api.vars.builder_name:
95 if 'asmjs' in api.vars.builder_name:
100 '--builder', api.vars.builder_name,
104 '--bot_id', api.vars.swarming_bot_id,
105 '--task_id', api.vars.swarming_task_id,
107 '--config', api.vars.configuration,
[all …]
Dtest_pathkit.py26 api.vars.setup()
28 out_dir = api.vars.swarming_out_dir
38 if 'asmjs' in api.vars.builder_name:
42 base_dir = api.vars.build_dir
44 if 'asmjs' in api.vars.builder_name:
47 if 'Debug' in api.vars.builder_name:
101 if 'asmjs' in api.vars.builder_name:
106 '--builder', api.vars.builder_name,
110 '--bot_id', api.vars.swarming_bot_id,
111 '--task_id', api.vars.swarming_task_id,
[all …]

12345678910>>...26