/third_party/benchmark/test/ |
D | output_test.h | 159 #define CHECK_RESULT_VALUE_IMPL(entry, getfn, var_type, var_name, relationship, value) \ argument 161 (entry.getfn< var_type >(var_name), (value)) << "\n" \ 164 << "expected (" << #var_type << ")" << (var_name) \ 165 << "=" << (entry).getfn< var_type >(var_name) \ 170 #define CHECK_FLOAT_RESULT_VALUE_IMPL(entry, getfn, var_type, var_name, relationship, value, eps_fa… argument 172 (entry.getfn< var_type >(var_name), (value), (eps_factor) * (value)) << "\n" \ 175 << "expected (" << #var_type << ")" << (var_name) \ 176 << "=" << (entry).getfn< var_type >(var_name) \ 181 << "but delta was " << ((entry).getfn< var_type >(var_name) - (value)) \ 182 << " (" << (((entry).getfn< var_type >(var_name) - (value)) \ [all …]
|
/third_party/jerryscript/jerry-core/jmem/ |
D | jmem.h | 202 #define JMEM_DEFINE_LOCAL_ARRAY(var_name, number, type) \ argument 204 size_t var_name ## ___size = (size_t) (number) * sizeof (type); \ 205 type *var_name = (type *) (jmem_heap_alloc_block (var_name ## ___size)); 211 #define JMEM_FINALIZE_LOCAL_ARRAY(var_name) \ argument 212 if (var_name != NULL) \ 214 JERRY_ASSERT (var_name ## ___size != 0); \ 216 jmem_heap_free_block (var_name, var_name ## ___size); \ 220 JERRY_ASSERT (var_name ## ___size == 0); \
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_nir_builtins.c | 107 char var_name[15]; in st_nir_make_passthrough_shader() local 112 snprintf(var_name, sizeof(var_name), "sys_%u", input_locations[i]); in st_nir_make_passthrough_shader() 114 glsl_int_type(), var_name); in st_nir_make_passthrough_shader() 116 snprintf(var_name, sizeof(var_name), "in_%u", input_locations[i]); in st_nir_make_passthrough_shader() 117 in = nir_variable_create(b.shader, nir_var_shader_in, vec4, var_name); in st_nir_make_passthrough_shader() 123 snprintf(var_name, sizeof(var_name), "out_%u", output_locations[i]); in st_nir_make_passthrough_shader() 125 nir_variable_create(b.shader, nir_var_shader_out, in->type, var_name); in st_nir_make_passthrough_shader()
|
/third_party/json/tests/thirdparty/doctest/ |
D | doctest_compatibility.h | 17 #define INFO_WITH_TEMP_IMPL(x, var_name) const auto var_name = x; INFO(var_name) // lvalue! argument 21 #define CHECK_THROWS_WITH_STD_STR_IMPL(expr, str, var_name) \ argument 23 std::string var_name = str; \ 24 CHECK_THROWS_WITH(expr, var_name.c_str()); \
|
/third_party/gn/src/gn/ |
D | config_values_generator.cc | 20 const char* var_name, in GetStringList() argument 24 const Value* value = scope->GetValue(var_name, true); in GetStringList() 32 const char* var_name, in GetDirList() argument 37 const Value* value = scope->GetValue(var_name, true); in GetDirList() 48 const char* var_name, in GetFrameworksList() argument 52 const Value* value = scope->GetValue(var_name, true); in GetFrameworksList()
|
D | target_generator.h | 78 bool FillGenericConfigs(const char* var_name, 80 bool FillGenericDeps(const char* var_name, LabelTargetVector* dest); 82 bool FillOhosComponentDeps(const char* var_name, LabelTargetVector* dest, 84 bool FillGenericDepsWithWholeArchive(const char* var_name, LabelTargetVector* dest,
|
D | target_generator.cc | 433 bool TargetGenerator::FillGenericConfigs(const char* var_name, in FillGenericConfigs() argument 435 const Value* value = scope_->GetValue(var_name, true); in FillGenericConfigs() 444 bool TargetGenerator::FillGenericDeps(const char* var_name, LabelTargetVector* dest) { in FillGenericDeps() argument 445 const Value* value = scope_->GetValue(var_name, true); in FillGenericDeps() 454 bool TargetGenerator::FillGenericDepsWithWholeArchive(const char* var_name, LabelTargetVector* dest, in FillGenericDepsWithWholeArchive() argument 456 const Value* value = scope_->GetValue(var_name, true); in FillGenericDepsWithWholeArchive() 465 bool TargetGenerator::FillOhosComponentDeps(const char* var_name, LabelTargetVector* dest, in FillOhosComponentDeps() argument 468 const Value* value = scope_->GetValue(var_name, true); in FillOhosComponentDeps()
|
/third_party/mesa3d/src/compiler/glsl/tests/ |
D | lower_jump_cases.py | 75 def gt_zero(var_name): argument 77 return ['expression', 'bool', '<', const_float(0), ['var_ref', var_name]] 100 def simple_if(var_name, then_statements, else_statements = None): argument 115 return [['if', gt_zero(var_name), then_statements, else_statements]] 124 def declare_temp(var_type, var_name): argument 129 return [['declare', ['temporary'], var_type, var_name]] 131 def assign_x(var_name, value): argument 136 return [['assign', ['x'], ['var_ref', var_name], value]]
|
/third_party/mesa3d/src/freedreno/registers/ |
D | gen_header.py | 57 def ctype(self, var_name): argument 60 val = var_name 63 val = var_name 66 val = var_name 69 val = var_name 72 val = "((int32_t)(%s * %d.0))" % (var_name, 1 << self.radix) 75 val = "((uint32_t)(%s * %d.0))" % (var_name, 1 << self.radix) 78 val = "fui(%s)" % var_name 81 val = "_mesa_float_to_half(%s)" % var_name 84 val = var_name [all …]
|
/third_party/mesa3d/src/util/ |
D | debug.c | 118 env_var_as_boolean(const char *var_name, bool default_value) in env_var_as_boolean() argument 120 const char *str = getenv(var_name); in env_var_as_boolean() 143 env_var_as_unsigned(const char *var_name, unsigned default_value) in env_var_as_unsigned() argument 145 char *str = getenv(var_name); in env_var_as_unsigned()
|
D | debug.h | 49 env_var_as_boolean(const char *var_name, bool default_value); 51 env_var_as_unsigned(const char *var_name, unsigned default_value);
|
/third_party/ffmpeg/libavfilter/ |
D | vf_scale_vaapi.c | 184 #define STRING_OPTION(var_name, func_name, default_value) do { \ in scale_vaapi_init() argument 185 if (ctx->var_name ## _string) { \ in scale_vaapi_init() 186 int var = av_ ## func_name ## _from_name(ctx->var_name ## _string); \ in scale_vaapi_init() 188 av_log(avctx, AV_LOG_ERROR, "Invalid %s.\n", #var_name); \ in scale_vaapi_init() 191 ctx->var_name = var; \ in scale_vaapi_init() 193 ctx->var_name = default_value; \ in scale_vaapi_init()
|
D | vf_tonemap_vaapi.c | 344 #define STRING_OPTION(var_name, func_name, default_value) do { \ in tonemap_vaapi_init() argument 345 if (ctx->var_name ## _string) { \ in tonemap_vaapi_init() 346 int var = av_ ## func_name ## _from_name(ctx->var_name ## _string); \ in tonemap_vaapi_init() 348 av_log(avctx, AV_LOG_ERROR, "Invalid %s.\n", #var_name); \ in tonemap_vaapi_init() 351 ctx->var_name = var; \ in tonemap_vaapi_init() 353 ctx->var_name = default_value; \ in tonemap_vaapi_init()
|
/third_party/protobuf/src/google/protobuf/io/ |
D | printer.cc | 357 std::string var_name{ in WriteVariable() local 360 if (std::isdigit(var_name[0])) { in WriteVariable() 361 GOOGLE_CHECK_EQ(var_name.size(), 1); // No need for multi-digits in WriteVariable() 362 int idx = var_name[0] - '1'; // Start counting at 1 in WriteVariable() 375 auto it = vars.find(var_name); in WriteVariable() 377 GOOGLE_LOG(FATAL) << " Unknown variable: " << var_name << "."; in WriteVariable()
|
/third_party/skia/third_party/externals/tint/test/intrinsics/ |
D | intrinsics.wgsl.tmpl | 36 "var_name" "sb_rw" 50 "var_name" "sb_ro" 64 "var_name" "ub" 167 {{- /* 'var_name' - name of the variable of the structure type */ -}} 173 {{- $var_name := .Get "var_name" -}} 183 {{ $args.Put $i (printf "&%v.arg_%v" $var_name $i) -}} 186 {{ $args.Put $i (printf "%v.arg_%v" $var_name $i) -}}
|
/third_party/python/Tools/scripts/ |
D | stable_abi.py | 187 def generator(var_name, default_path): argument 190 func.var_name = var_name 191 func.arg_name = '--' + var_name.replace('_', '-') 540 gen.arg_name, dest=gen.var_name, 583 filename = getattr(args, gen.var_name) 589 results[gen.var_name] = generate_or_check(manifest, args, filename, gen)
|
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/ |
D | scoped_set_env.cc | 49 ScopedSetEnv::ScopedSetEnv(const char* var_name, const char* new_value) in ScopedSetEnv() argument 50 : var_name_(var_name), was_unset_(false) { in ScopedSetEnv()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_nir_passes.h | 41 const char *var_name, 48 const char *var_name,
|
/third_party/skia/third_party/externals/abseil-cpp/absl/copts/ |
D | generate_copts.py | 95 for var_name, arg_list in sorted(COPT_VARS.items()): 97 f.write(copt_list(var_name, arg_list, style))
|
/third_party/node/benchmark/napi/string/ |
D | binding.c | 23 #define DECLARE_BINDING(CapName, lowercase_name, var_name) \ argument 39 env, (var_name), NAPI_AUTO_LENGTH, &js_string)); \
|
/third_party/skia/third_party/externals/icu/source/python/icutools/databuilder/renderers/ |
D | makefile.py | 89 var_name = "%s_CONTENT" % request.name.upper() 92 name = var_name, 102 VAR_NAME = var_name,
|
/third_party/icu/icu4c/source/python/icutools/databuilder/renderers/ |
D | makefile.py | 89 var_name = "%s_CONTENT" % request.name.upper() 92 name = var_name, 102 VAR_NAME = var_name,
|
/third_party/python/Lib/distutils/ |
D | util.py | 199 var_name = match.group(1) 200 if var_name in local_vars: 201 return str(local_vars[var_name]) 203 return os.environ[var_name]
|
/third_party/libphonenumber/tools/cpp/src/cpp-build/ |
D | generate_geocoding_data.cc | 345 void WritePrefixDescriptions(const string& var_name, in WritePrefixDescriptions() argument 349 const string prefixes_name = var_name + "_prefixes"; in WritePrefixDescriptions() 360 const string desc_name = var_name + "_descriptions"; in WritePrefixDescriptions() 372 const string possible_lengths_name = var_name + "_possible_lengths"; in WritePrefixDescriptions() 383 WritePrefixDescriptionsDefinition(var_name, prefixes_name, desc_name, in WritePrefixDescriptions()
|
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
D | function.cc | 949 bool FunctionEmitter::EmitPipelineInput(std::string var_name, in EmitPipelineInput() argument 970 if (!EmitPipelineInput(var_name, var_type, decos, index_prefix, vec_ty, in EmitPipelineInput() 984 if (!EmitPipelineInput(var_name, var_type, decos, index_prefix, elem_ty, in EmitPipelineInput() 1002 if (!EmitPipelineInput(var_name, var_type, &member_decos, index_prefix, in EmitPipelineInput() 1017 const auto param_name = namer_.MakeDerivedName(var_name + "_param"); in EmitPipelineInput() 1031 const ast::Expression* store_dest = builder_.Expr(var_name); in EmitPipelineInput() 1086 bool FunctionEmitter::EmitPipelineOutput(std::string var_name, in EmitPipelineOutput() argument 1106 if (!EmitPipelineOutput(var_name, var_type, decos, index_prefix, vec_ty, in EmitPipelineOutput() 1121 if (!EmitPipelineOutput(var_name, var_type, decos, index_prefix, elem_ty, in EmitPipelineOutput() 1140 if (!EmitPipelineOutput(var_name, var_type, &member_decos, index_prefix, in EmitPipelineOutput() [all …]
|