/third_party/boost/boost/atomic/detail/ |
D | aligned_variable.hpp | 30 #define BOOST_ATOMIC_DETAIL_ALIGNED_VAR(var_alignment, var_type, var_name) \ argument 31 alignas(var_alignment) var_type var_name 33 #define BOOST_ATOMIC_DETAIL_ALIGNED_VAR_TPL(var_alignment, var_type, var_name) \ argument 34 alignas(var_alignment) var_type var_name 39 #define BOOST_ATOMIC_DETAIL_ALIGNED_VAR(var_alignment, var_type, var_name) \ argument 42 var_type var_name; \ 43 boost::type_with_alignment< var_alignment >::type BOOST_JOIN(var_name, _aligner); \ 46 #define BOOST_ATOMIC_DETAIL_ALIGNED_VAR_TPL(var_alignment, var_type, var_name) \ argument 49 var_type var_name; \ 50 typename boost::type_with_alignment< var_alignment >::type BOOST_JOIN(var_name, _aligner); \
|
/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/mesa3d/src/mesa/state_tracker/ |
D | st_nir_builtins.c | 106 char var_name[15]; in st_nir_make_passthrough_shader() local 111 snprintf(var_name, sizeof(var_name), "sys_%u", input_locations[i]); in st_nir_make_passthrough_shader() 113 glsl_int_type(), var_name); in st_nir_make_passthrough_shader() 115 snprintf(var_name, sizeof(var_name), "in_%u", input_locations[i]); in st_nir_make_passthrough_shader() 116 in = nir_variable_create(b.shader, nir_var_shader_in, vec4, var_name); in st_nir_make_passthrough_shader() 122 snprintf(var_name, sizeof(var_name), "out_%u", output_locations[i]); in st_nir_make_passthrough_shader() 124 nir_variable_create(b.shader, nir_var_shader_out, in->type, var_name); in st_nir_make_passthrough_shader()
|
/third_party/json/test/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/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/mindspore/mindspore/lite/micro/coder/opcoders/custom/ |
D | custom_coder.cc | 103 int CustomCoder::TransformParams(Serializer *code, std::string var_name) { in TransformParams() argument 109 (*code) << "\t\tCustomParameter " << var_name << ";\n"; in TransformParams() 114 (*code) << "\t\tstrcpy(" << var_name << ".type, " in TransformParams() 123 (*code) << "\t\tstrcpy(" << var_name << ".attr_name[" << i << "], " in TransformParams() 126 (*code) << "\t\t" << var_name << ".attr_data[" << i << "] = " in TransformParams() 128 (*code) << "\t\tstrcpy(" << var_name << ".attr_data[" << i++ << "], " in TransformParams() 132 (*code) << "\t\t" << var_name << ".attr_num = " << attrs_.size() << ";\n"; in TransformParams() 136 void CustomCoder::FreeParams(Serializer *code, std::string var_name) { in FreeParams() argument 139 (*code) << "\t\tfree(" << var_name << ".attr_data[" << i++ << "]);\n"; in FreeParams()
|
D | custom_coder.h | 40 int TransformParams(Serializer *code, std::string var_name); 41 void FreeParams(Serializer *code, std::string var_name);
|
/third_party/mesa3d/src/util/ |
D | debug.c | 76 env_var_as_boolean(const char *var_name, bool default_value) in env_var_as_boolean() argument 78 const char *str = getenv(var_name); in env_var_as_boolean() 101 env_var_as_unsigned(const char *var_name, unsigned default_value) in env_var_as_unsigned() argument 103 char *str = getenv(var_name); in env_var_as_unsigned()
|
D | debug.h | 45 env_var_as_boolean(const char *var_name, bool default_value); 47 env_var_as_unsigned(const char *var_name, unsigned default_value);
|
/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);
|
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/parse/ |
D | function_block.h | 53 void WriteVariable(const std::string &var_name, const AnfNodePtr &node); 54 AnfNodePtr ReadVariable(const std::string &var_name); 68 void AddGlobalVar(const std::string &var_name) { (void)global_vars_.insert(var_name); } in AddGlobalVar() argument 69 …bool IsGlobalVar(const std::string &var_name) { return global_vars_.find(var_name) != global_vars_… in IsGlobalVar() argument
|
D | function_block.cc | 45 static bool CanBeIsolatedNode(const std::string &var_name, const AnfNodePtr &node) { in CanBeIsolatedNode() argument 58 return !var_name.empty() && var_name != "_"; in CanBeIsolatedNode() 71 void FunctionBlock::WriteVariable(const std::string &var_name, const AnfNodePtr &node) { in WriteVariable() argument 73 …func_graph_ ? func_graph_->ToString() : "FG(Null)") << " write var `" << var_name << "` with node " in WriteVariable() 75 auto [iter, is_new_name] = assigned_vars_.emplace(var_name, std::make_pair(node, false)); in WriteVariable() 85 auto is_isolated = CanBeIsolatedNode(var_name, hidden_node); in WriteVariable() 89 … << node->DebugString(2) << " with the same name, var_name: " << var_name << ", block: " << this in WriteVariable() 489 auto &var_name = var.first; in FindIsolatedNodes() local 490 if (used.find(node) == used.end() && CanBeIsolatedNode(var_name, node)) { in FindIsolatedNodes() 491 …INFO) << "Isolated node found(NoUse), node: " << node->DebugString(2) << ", var_name: " << var_name in FindIsolatedNodes()
|
/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/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/boost/boost/test/utils/runtime/env/ |
D | fetch.hpp | 41 sys_read_var( cstring var_name ) in sys_read_var() argument 44 char const* res = getenv( var_name.begin() ); in sys_read_var() 56 sys_read_var( cstring var_name )
|
/third_party/boost/libs/compute/cmake/ |
D | FindTBB.cmake | 170 macro(TBB_CORRECT_LIB_DIR var_name) 172 string(REPLACE em64t "${_TBB_ARCHITECTURE}" ${var_name} ${${var_name}}) 174 string(REPLACE ia32 "${_TBB_ARCHITECTURE}" ${var_name} ${${var_name}}) 175 string(REPLACE vc7.1 "${_TBB_COMPILER}" ${var_name} ${${var_name}}) 176 string(REPLACE vc8 "${_TBB_COMPILER}" ${var_name} ${${var_name}}) 177 string(REPLACE vc9 "${_TBB_COMPILER}" ${var_name} ${${var_name}}) 178 string(REPLACE vc10 "${_TBB_COMPILER}" ${var_name} ${${var_name}})
|
/third_party/ffmpeg/libavfilter/ |
D | vf_scale_vaapi.c | 186 #define STRING_OPTION(var_name, func_name, default_value) do { \ in scale_vaapi_init() argument 187 if (ctx->var_name ## _string) { \ in scale_vaapi_init() 188 int var = av_ ## func_name ## _from_name(ctx->var_name ## _string); \ in scale_vaapi_init() 190 av_log(avctx, AV_LOG_ERROR, "Invalid %s.\n", #var_name); \ in scale_vaapi_init() 193 ctx->var_name = var; \ in scale_vaapi_init() 195 ctx->var_name = default_value; \ in scale_vaapi_init()
|
D | vf_tonemap_vaapi.c | 341 #define STRING_OPTION(var_name, func_name, default_value) do { \ in tonemap_vaapi_init() argument 342 if (ctx->var_name ## _string) { \ in tonemap_vaapi_init() 343 int var = av_ ## func_name ## _from_name(ctx->var_name ## _string); \ in tonemap_vaapi_init() 345 av_log(avctx, AV_LOG_ERROR, "Invalid %s.\n", #var_name); \ in tonemap_vaapi_init() 348 ctx->var_name = var; \ in tonemap_vaapi_init() 350 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/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/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/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))
|