/external/angle/src/libANGLE/renderer/ |
D | gen_angle_format_table.py | 126 struct_name = '' 131 struct_name += 'R{}'.format(bits['R']) 133 struct_name += 'G{}'.format(bits['G']) 135 struct_name += 'B{}'.format(bits['B']) 137 struct_name += 'A{}'.format(bits['A']) 139 struct_name += 'L{}'.format(bits['L']) 141 struct_name += 'D{}'.format(bits['D']) + component_suffix 143 struct_name += 'S{}'.format(bits['S']) 145 struct_name += 'X{}'.format(bits['X']) 148 struct_name += component_suffix [all …]
|
/external/libchrome/ipc/ |
D | param_traits_write_macros.h | 15 #define IPC_STRUCT_BEGIN_WITH_PARENT(struct_name, parent) \ argument 16 IPC_STRUCT_TRAITS_BEGIN(struct_name) 25 #define IPC_STRUCT_TRAITS_BEGIN(struct_name) \ argument 26 void ParamTraits<struct_name>::Write(base::Pickle* m, const param_type& p) {
|
D | param_traits_read_macros.h | 15 #define IPC_STRUCT_BEGIN_WITH_PARENT(struct_name, parent) \ argument 16 IPC_STRUCT_TRAITS_BEGIN(struct_name) 25 #define IPC_STRUCT_TRAITS_BEGIN(struct_name) \ argument 26 bool ParamTraits<struct_name>::Read( \
|
D | param_traits_log_macros.h | 17 #define IPC_STRUCT_BEGIN_WITH_PARENT(struct_name, parent) \ argument 18 IPC_STRUCT_TRAITS_BEGIN(struct_name) 27 #define IPC_STRUCT_TRAITS_BEGIN(struct_name) \ argument 28 void ParamTraits<struct_name>::Log(const param_type& p, std::string* l) { \
|
D | struct_destructor_macros.h | 13 #define IPC_STRUCT_BEGIN_WITH_PARENT(struct_name, parent) \ argument 14 struct_name::~struct_name() {}
|
D | struct_constructor_macros.h | 15 #define IPC_STRUCT_BEGIN_WITH_PARENT(struct_name, parent) \ argument 16 struct_name::struct_name() : parent()
|
D | ipc_message_macros.h | 211 #define IPC_STRUCT_BEGIN(struct_name) \ argument 212 IPC_STRUCT_BEGIN_WITH_PARENT(struct_name, IPC::NoParams) 215 #define IPC_STRUCT_BEGIN_WITH_PARENT(struct_name, parent) \ argument 216 struct struct_name; \ 217 IPC_STRUCT_TRAITS_BEGIN(struct_name) \ 219 struct IPC_MESSAGE_EXPORT struct_name : parent { \ 220 struct_name(); \ 221 struct_name(const struct_name&) = default; \ 222 struct_name(struct_name&&) = default; \ 223 struct_name& operator=(const struct_name&) = default; \ [all …]
|
D | param_traits_macros.h | 11 #define IPC_STRUCT_TRAITS_BEGIN(struct_name) \ argument 14 struct IPC_MESSAGE_EXPORT ParamTraits<struct_name> { \ 15 typedef struct_name param_type; \
|
D | ipc_message_null_macros.h | 19 #define IPC_STRUCT_BEGIN_WITH_PARENT(struct_name, parent) argument 22 #define IPC_STRUCT_TRAITS_BEGIN(struct_name) argument
|
/external/mesa3d/src/amd/compiler/tests/ |
D | framework.h | 59 #define _BEGIN_TEST(name, struct_name) static void struct_name(); static __attribute__((constructor… argument 60 tests[#name] = (TestDef){#name, ACO_TEST_BUILD_ROOT "/" __FILE__, &struct_name};\ 62 static void struct_name() {\
|
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
D | core_reloc.c | 7 #define STRUCT_TO_CHAR_PTR(struct_name) (const char *)&(struct struct_name) argument 9 #define FLAVORS_DATA(struct_name) STRUCT_TO_CHAR_PTR(struct_name) { \ argument 33 #define NESTING_DATA(struct_name) STRUCT_TO_CHAR_PTR(struct_name) { \ argument 56 #define ARRAYS_DATA(struct_name) STRUCT_TO_CHAR_PTR(struct_name) { \ argument 86 #define PRIMITIVES_DATA(struct_name) STRUCT_TO_CHAR_PTR(struct_name) { \ argument 150 #define INTS_DATA(struct_name) STRUCT_TO_CHAR_PTR(struct_name) { \ argument
|
/external/tensorflow/tensorflow/lite/tools/serialization/ |
D | option_writer_generator.cc | 307 const std::string& struct_name) { in GenerateImportForOp() argument 309 if (struct_name == "TfLiteResizeBilinearParams") { in GenerateImportForOp() 316 if (struct_name == "TfLiteReshapeParams") { in GenerateImportForOp() 326 struct_name.c_str()); in GenerateImportForOp() 452 auto struct_name = struct_name_it->second; in GenerateImport() local 454 option_func_it->second(), struct_name); in GenerateImport()
|
/external/mesa3d/src/intel/perf/ |
D | gen_perf_mdapi.c | 208 #define MDAPI_QUERY_ADD_COUNTER(query, struct_name, field_name, type_name) \ argument 210 (uint8_t *) &struct_name.field_name - \ 211 (uint8_t *) &struct_name, \ 212 sizeof(struct_name.field_name), \ 214 #define MDAPI_QUERY_ADD_ARRAY_COUNTER(ctx, query, struct_name, field_name, idx, type_name) \ argument 217 (uint8_t *) &struct_name.field_name[idx] - \ 218 (uint8_t *) &struct_name, \ 219 sizeof(struct_name.field_name[0]), \
|
/external/grpc-grpc/third_party/nanopb/generator/ |
D | nanopb_generator.py | 231 def __init__(self, struct_name, desc, field_options): argument 234 self.struct_name = struct_name 332 self.ctype = self.struct_name + self.name + 't' 480 … return 'extern const %s %s_default%s;' % (ctype, self.struct_name + self.name, array_decl) 482 … return 'const %s %s_default%s = %s;' % (ctype, self.struct_name + self.name, array_decl, default) 486 identifier = '%s_%s_tag' % (self.struct_name, self.name) 507 result += '%s, ' % self.struct_name 520 result += '&%s_default)' % (self.struct_name + self.name) 533 check.append('pb_membersize(%s, %s[0])' % (self.struct_name, self.name)) 536 check.append('pb_membersize(%s, %s)' % (self.struct_name, self.name)) [all …]
|
/external/nanopb-c/generator/ |
D | nanopb_generator.py | 267 def __init__(self, struct_name, desc, field_options): argument 270 self.struct_name = struct_name 390 self.ctype = self.struct_name + self.name + 't' 547 … return 'extern const %s %s_default%s;' % (ctype, self.struct_name + self.name, array_decl) 549 … return 'const %s %s_default%s = %s;' % (ctype, self.struct_name + self.name, array_decl, default) 553 identifier = '%s_%s_tag' % (self.struct_name, self.name) 585 result += '%s, ' % self.struct_name 598 result += '&%s_default)' % (self.struct_name + self.name) 611 check.append('pb_membersize(%s, %s[0])' % (self.struct_name, self.name)) 614 check.append('pb_membersize(%s, %s)' % (self.struct_name, self.name)) [all …]
|
/external/flatbuffers/src/ |
D | idl_gen_python.cpp | 915 auto struct_name = NormalizedName(struct_def); in InitializeFromBuf() local 919 code += GenIndents(2) + instance_name + " = " + struct_name + "()"; in InitializeFromBuf() 929 auto struct_name = NormalizedName(struct_def); in InitializeFromObjForObject() local 933 code += GenIndents(2) + "x = " + struct_name + "T()"; in InitializeFromObjForObject() 1114 auto struct_name = MakeUpperCamel(struct_def); in GenUnPack() local 1134 auto struct_name = MakeUpperCamel(struct_def); in GenPackForStruct() local 1138 code += GenIndents(2) + "return Create" + struct_name + "(builder"; in GenPackForStruct() 1155 auto struct_name = NormalizedName(struct_def); in GenPackForStructVectorField() local 1162 code_prefix += GenIndents(3) + struct_name + "Start" + in GenPackForStructVectorField() 1181 code_prefix += GenIndents(3) + struct_name + "Start" + in GenPackForStructVectorField() [all …]
|
D | idl_gen_csharp.cpp | 1427 auto struct_name = GenTypeName_ObjectAPI(struct_def.name, opts); in GenPackUnPack_ObjectAPI() local 1429 code += " public " + struct_name + " UnPack() {\n"; in GenPackUnPack_ObjectAPI() 1430 code += " var _o = new " + struct_name + "();\n"; in GenPackUnPack_ObjectAPI() 1435 code += " public void UnPackTo(" + struct_name + " _o) {\n"; in GenPackUnPack_ObjectAPI() 1508 " Pack(FlatBufferBuilder builder, " + struct_name + " _o) {\n"; in GenPackUnPack_ObjectAPI()
|
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
D | ASTStructExtractor.cpp | 30 const char *struct_name, in ASTStructExtractor() argument 34 m_struct_name(struct_name) { in ASTStructExtractor()
|
D | ASTStructExtractor.h | 51 ASTStructExtractor(clang::ASTConsumer *passthrough, const char *struct_name,
|
/external/rust/crates/structopt-derive/src/ |
D | lib.rs | 389 struct_name: &Ident, in gen_from_clap() 397 #struct_name #field_block in gen_from_clap() 869 let struct_name = &input.ident; in impl_structopt() localVariable 872 impl ::structopt::StructOpt for #struct_name { in impl_structopt() 881 impl ::structopt::StructOptInternal for #struct_name {} in impl_structopt() 888 }) => impl_structopt_for_struct(struct_name, &fields.named, &input.attrs), in impl_structopt() 889 Enum(ref e) => impl_structopt_for_enum(struct_name, &e.variants, &input.attrs), in impl_structopt()
|
/external/rust/crates/bindgen/src/codegen/ |
D | impl_debug.rs | 13 let struct_name = item.canonical_name(ctx); in gen_debug_impl() localVariable 14 let mut format_string = format!("{} {{{{ ", struct_name); in gen_debug_impl()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/ |
D | gen_llvm_types.py | 129 struct_name = match.group(3).strip() 132 'name' : struct_name,
|
/external/rust/cxx/macro/src/ |
D | derive.rs | 133 let struct_name = ident.to_string(); in struct_debug() localVariable 140 formatter.debug_struct(#struct_name) in struct_debug()
|
/external/bcc/tools/ |
D | trace.py | 347 self.struct_name = "%s_data_t" % self.probe_name 378 return text % (self.struct_name, time_str, cpu_str, data_fields, 504 self.struct_name, time_str, cpu_str, data_fields,
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm.c | 116 const char *struct_name) in create_jit_dvbuffer_type() argument 145 create_jit_texture_type(struct gallivm_state *gallivm, const char *struct_name) in create_jit_texture_type() argument 214 create_jit_sampler_type(struct gallivm_state *gallivm, const char *struct_name) in create_jit_sampler_type() argument 252 create_jit_image_type(struct gallivm_state *gallivm, const char *struct_name) in create_jit_image_type() argument 310 const char *struct_name) in create_jit_context_type() argument 374 const char *struct_name) in create_gs_jit_context_type() argument 466 const char *struct_name) in create_jit_vertex_buffer_type() argument 505 char struct_name[24]; in create_jit_vertex_header() local 507 snprintf(struct_name, 23, "vertex_header%d", data_elems); in create_jit_vertex_header() 552 const char *struct_name) in create_tcs_jit_context_type() argument [all …]
|