/third_party/skia/third_party/externals/tint/src/resolver/ |
D | storage_class_layout_validation_test.cc | 42 Global(Source{{78, 90}}, "a", ty.type_name("S"), ast::StorageClass::kStorage, in TEST_F() 73 Global(Source{{78, 90}}, "a", ty.type_name("S"), ast::StorageClass::kStorage, in TEST_F() 100 Member(Source{{56, 78}}, "inner", ty.type_name("Inner")), in TEST_F() 104 Global(Source{{78, 90}}, "a", ty.type_name("Outer"), in TEST_F() 143 Member(Source{{56, 78}}, "inner", ty.type_name("Inner"), in TEST_F() 148 Global(Source{{78, 90}}, "a", ty.type_name("Outer"), in TEST_F() 172 Member(Source{{56, 78}}, "inner", ty.type_name("Inner")), in TEST_F() 176 Global(Source{{78, 90}}, "a", ty.type_name("Outer"), in TEST_F() 208 Member(Source{{34, 56}}, "inner", ty.type_name("Inner"), in TEST_F() 213 Global(Source{{78, 90}}, "a", ty.type_name("Outer"), in TEST_F() [all …]
|
D | dependency_graph_test.cc | 480 auto* node = b.ty.type_name(source, symbol); in Add() 485 auto* node = b.ty.type_name(source, symbol); in Add() 496 auto* node = b.ty.type_name(source, symbol); in Add() 501 auto* node = b.ty.type_name(source, symbol); in Add() 506 auto* node = b.ty.type_name(source, symbol); in Add() 511 auto* node = b.ty.type_name(source, symbol); in Add() 522 auto* node = b.ty.type_name(source, symbol); in Add() 527 auto* node = b.ty.type_name(source, symbol); in Add() 537 auto* node = b.ty.type_name(source, symbol); in Add() 542 auto* node = b.ty.type_name(source, symbol); in Add() [all …]
|
/third_party/json/doc/examples/ |
D | type_name.cpp | 19 std::cout << j_null << " is a " << j_null.type_name() << '\n'; in main() 20 std::cout << j_boolean << " is a " << j_boolean.type_name() << '\n'; in main() 21 std::cout << j_number_integer << " is a " << j_number_integer.type_name() << '\n'; in main() 22 std::cout << j_number_unsigned << " is a " << j_number_unsigned.type_name() << '\n'; in main() 23 std::cout << j_number_float << " is a " << j_number_float.type_name() << '\n'; in main() 24 std::cout << j_object << " is an " << j_object.type_name() << '\n'; in main() 25 std::cout << j_array << " is an " << j_array.type_name() << '\n'; in main() 26 std::cout << j_string << " is a " << j_string.type_name() << '\n'; in main()
|
/third_party/json/test/src/ |
D | unit-convenience.cpp | 54 CHECK(std::string(json(json::value_t::null).type_name()) == "null"); 55 CHECK(std::string(json(json::value_t::object).type_name()) == "object"); 56 CHECK(std::string(json(json::value_t::array).type_name()) == "array"); 57 CHECK(std::string(json(json::value_t::number_integer).type_name()) == "number"); 58 CHECK(std::string(json(json::value_t::number_unsigned).type_name()) == "number"); 59 CHECK(std::string(json(json::value_t::number_float).type_name()) == "number"); 60 CHECK(std::string(json(json::value_t::binary).type_name()) == "binary"); 61 CHECK(std::string(json(json::value_t::boolean).type_name()) == "boolean"); 62 CHECK(std::string(json(json::value_t::string).type_name()) == "string"); 63 CHECK(std::string(json(json::value_t::discarded).type_name()) == "discarded");
|
/third_party/skia/third_party/externals/tint/src/sem/ |
D | array.cc | 47 std::string Array::type_name() const { in type_name() function in tint::sem::Array 48 std::string type_name = "__array" + element_->type_name(); in type_name() local 49 type_name += "_count_" + std::to_string(count_); in type_name() 50 type_name += "_align_" + std::to_string(align_); in type_name() 51 type_name += "_size_" + std::to_string(size_); in type_name() 52 type_name += "_stride_" + std::to_string(stride_); in type_name() 55 return type_name; in type_name()
|
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
D | MessageBuilderContext.php | 55 $number, $type_name = null) argument 71 $field->setMessageType($type_name); 74 $field->setEnumType($type_name); 83 public function optional($name, $type, $number, $type_name = null) argument 90 $type_name)); 94 public function repeated($name, $type, $number, $type_name = null) argument 101 $type_name)); 105 public function required($name, $type, $number, $type_name = null) argument 112 $type_name));
|
D | FieldDescriptorProto.php | 48 protected $type_name = null; variable in Google\\Protobuf\\Internal\\FieldDescriptorProto 318 return isset($this->type_name) ? $this->type_name : ''; 323 return isset($this->type_name); 328 unset($this->type_name); 345 $this->type_name = $var;
|
/third_party/protobuf/src/google/protobuf/ |
D | any_lite.cc | 61 StringPiece type_name) { in InternalPackFrom() argument 63 GetTypeUrl(type_name, type_url_prefix)); in InternalPackFrom() 68 bool AnyMetadata::InternalUnpackTo(StringPiece type_name, in InternalUnpackTo() argument 70 if (!InternalIs(type_name)) { in InternalUnpackTo() 96 bool AnyMetadata::InternalIs(StringPiece type_name) const { in InternalIs() 98 return type_url.size() >= type_name.size() + 1 && in InternalIs() 99 type_url[type_url.size() - type_name.size() - 1] == '/' && in InternalIs() 100 HasSuffixString(type_url, type_name); in InternalIs()
|
/third_party/libsnd/tests/ |
D | write_read_test.def | 4 type_name = char ; 14 type_name = short ; 24 type_name = "20bit" ; 34 type_name = "24bit" ; 44 type_name = int ; 56 type_name = float ; 66 type_name = double ;
|
D | pipe_test.def | 4 type_name = short ; 8 type_name = float ; 12 type_name = double ;
|
D | benchmark.tpl | 77 +]static void calc_[+ (get "type_name") +]_performance (int format, double read_rate, double write_… 223 calc_[+ (get "type_name") +]_performance (int format, double read_rate, double write_rate) 230 [+ (get "type_name") +] *[+ (get "type_name") +]_data ; 236 [+ (get "type_name") +]_data = data ; 239 [+ (get "type_name") +]_data [k] = [+ (get "multiplier") +] * sin (2 * M_PI * k / 32000.0) ; 242 printf (" Write %-5s to %s : ", "[+ (get "type_name") +]", subtype) ; 265 …{ if ((retval = sf_write_[+ (get "type_name") +] (file, [+ (get "type_name") +]_data, item_count))… 282 printf (" Read %-5s from %s : ", "[+ (get "type_name") +]", subtype) ; 297 …{ if ((retval = sf_read_[+ (get "type_name") +] (file, [+ (get "type_name") +]_data, item_count)) … 315 } /* calc_[+ (get "type_name") +]_performance */
|
D | benchmark.def | 4 type_name = short ; 9 type_name = int ; 14 type_name = float ;
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/ |
D | gstvktrash.c | 167 #define FREE_DESTROY_FUNC(func, type, type_name) \ argument 169 G_PASTE(_free_,type_name) (GstVulkanDevice * device, gpointer resource_handle) \ 178 G_PASTE(gst_vulkan_trash_new_free_,type_name) (GstVulkanFence * fence, \ 179 type type_name) \ 183 PUSH_NON_DISPATCHABLE_HANDLE_TO_GPOINTER(handle_data, type_name); \ 184 g_return_val_if_fail (type_name != VK_NULL_HANDLE, VK_NULL_HANDLE); \ 186 (GstVulkanTrashNotify) G_PASTE(_free_,type_name), handle_data); \ 201 #define FREE_WITH_VK_PARENT(func, type, type_name, parent_type) \ argument 202 struct G_PASTE(free_parent_info_,type_name) \ 208 G_PASTE(_free_,type_name) (GstVulkanDevice * device, struct G_PASTE(free_parent_info_,type_name) *i… [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/lv2/ |
D | gstlv2.c | 175 gchar *type_name; in lv2_plugin_discover() local 189 type_name = g_strdup (&p[3]); in lv2_plugin_discover() 191 type_name = g_strdup (plugin_uri); in lv2_plugin_discover() 193 g_strcanon (type_name, G_CSET_A_2_Z G_CSET_a_2_z G_CSET_DIGITS "-+", '-'); in lv2_plugin_discover() 196 if (g_type_from_name (type_name)) in lv2_plugin_discover() 203 GST_FIXME ("plugin %s has no audio pads", type_name); in lv2_plugin_discover() 208 type_name, audio_out); in lv2_plugin_discover() 213 " num_src_pads: %d)", type_name, audio_in, audio_out); in lv2_plugin_discover() 218 " num_src_pads: %d)", type_name, audio_in, audio_out); in lv2_plugin_discover() 228 GST_INFO ("plugin %s can%s do presets", type_name, in lv2_plugin_discover() [all …]
|
/third_party/libdrm/tests/util/ |
D | kms.c | 51 struct type_name { struct 57 const struct type_name *table, in util_lookup_type_name() argument 69 static const struct type_name encoder_type_names[] = { 87 static const struct type_name connector_status_names[] = { 99 static const struct type_name connector_type_names[] = {
|
/third_party/json/include/nlohmann/detail/conversions/ |
D | from_json.hpp | 31 … JSON_THROW(type_error::create(302, "type must be null, but is " + std::string(j.type_name()), j)); in from_json() 69 …SON_THROW(type_error::create(302, "type must be number, but is " + std::string(j.type_name()), j)); in get_arithmetic_value() 78 …ON_THROW(type_error::create(302, "type must be boolean, but is " + std::string(j.type_name()), j)); in from_json() 88 …JSON_THROW(type_error::create(302, "type must be string, but is " + std::string(j.type_name()), j)… in from_json() 104 …JSON_THROW(type_error::create(302, "type must be string, but is " + std::string(j.type_name()), j)… in from_json() 144 …JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()), j)); in from_json() 161 …JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()), j)); in from_json() 258 …JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()), j)); 277 …JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()), j)); 288 …JSON_THROW(type_error::create(302, "type must be binary, but is " + std::string(j.type_name()), j)… in from_json() [all …]
|
/third_party/json/doc/mkdocs/docs/api/basic_json/ |
D | type_name.md | 1 # basic_json::type_name 4 const char* type_name() const noexcept; 37 The following code exemplifies `type_name()` for all JSON types. 40 --8<-- "examples/type_name.cpp" 46 --8<-- "examples/type_name.output"
|
/third_party/rust/crates/tracing/tracing-subscriber/src/filter/ |
D | filter_fn.rs | 5 use core::{any::type_name, fmt, marker::PhantomData}; 283 type_name::<F>(), in is_enabled() 305 type_name::<F>(), in is_callsite_enabled() 354 .field("enabled", &format_args!("{}", type_name::<F>())) in fmt() 585 type_name::<F>(), in default_callsite_enabled() 612 type_name::<F>(), in is_enabled() 632 type_name::<F>(), in is_callsite_enabled() 633 type_name::<R>(), in is_callsite_enabled() 665 s.field("enabled", &format_args!("{}", type_name::<F>())); in fmt() 669 &format_args!("Some({})", type_name::<R>()), in fmt()
|
/third_party/mesa3d/src/gallium/frontends/clover/llvm/codegen/ |
D | common.cpp | 72 const std::string &type_name, in create_arg_info() argument 104 return binary::arg_info(arg_name, type_name, cl_type_qualifier, in create_arg_info() 172 const auto type_name = get_str_argument_metadata(f, arg, in make_kernel_args() local 174 if (type_name == "image2d_t" || type_name == "image3d_t") { in make_kernel_args() 178 args.emplace_back(get_image_type(type_name, access_qual), in make_kernel_args() 182 } else if (type_name == "sampler_t") { in make_kernel_args() 187 } else if (type_name == "__llvm_image_size") { in make_kernel_args() 195 } else if (type_name == "__llvm_image_format") { in make_kernel_args() 250 type_name, in make_kernel_args()
|
/third_party/rust/crates/bindgen/bindgen/ir/ |
D | enum_ty.rs | 83 let type_name = ty.spelling(); in from_ty() localVariable 84 let type_name = if type_name.is_empty() { in from_ty() localVariable 87 Some(type_name) in from_ty() 89 let type_name = type_name.as_deref(); in from_ty() localVariable 108 .enum_variant_behavior(type_name, &name, val) in from_ty() 124 callbacks.enum_variant_name(type_name, &name, val) in from_ty()
|
/third_party/rust/crates/serde/serde_derive/src/ |
D | ser.rs | 128 fn type_name(&self) -> String { in type_name() method 224 let type_name = cattrs.name().serialize_name(); in serialize_unit_struct() localVariable 227 _serde::Serializer::serialize_unit_struct(__serializer, #type_name) in serialize_unit_struct() 236 let type_name = cattrs.name().serialize_name(); in serialize_newtype_struct() localVariable 253 #func(__serializer, #type_name, #field_expr) in serialize_newtype_struct() 265 let type_name = cattrs.name().serialize_name(); in serialize_tuple_struct() localVariable 290 …t __serde_state = try!(_serde::Serializer::serialize_tuple_struct(__serializer, #type_name, #len)); in serialize_tuple_struct() 309 let type_name = cattrs.name().serialize_name(); in serialize_struct_tag_field() localVariable 312 try!(#func(&mut __serde_state, #tag, #type_name)); in serialize_struct_tag_field() 327 let type_name = cattrs.name().serialize_name(); in serialize_struct_as_struct() localVariable [all …]
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/quickchecking/src/ |
D | fuzzers.rs | 43 pub type_name: BaseTypeC, field 85 pub type_name: BaseTypeC, field 101 pub type_name: BaseTypeC, field 117 pub type_name: BaseTypeC, field 361 type_name: Arbitrary::arbitrary(g), in arbitrary() 376 self.type_name, in fmt() 494 type_name: Arbitrary::arbitrary(g), in arbitrary() 509 self.type_name, in fmt() 531 type_name: Arbitrary::arbitrary(g), in arbitrary() 546 self.type_name, in fmt() [all …]
|
/third_party/mesa3d/src/mapi/glapi/gen/ |
D | typeexpr.py | 98 for (type_name, type_size, integer) in basic_types: 101 tn.name = type_name 190 def set_base_type(self, type_name, signed, unsigned, const, extra_types): argument 191 te = type_expression.built_in_types.find_type( type_name ) 193 te = extra_types.find_type( type_name ) 196 raise RuntimeError('Unknown base type "%s".' % (type_name))
|
/third_party/protobuf/src/google/protobuf/util/ |
D | type_resolver_util.cc | 77 std::string type_name; in ResolveMessageType() local 78 Status status = ParseTypeUrl(type_url, &type_name); in ResolveMessageType() 83 const Descriptor* descriptor = pool_->FindMessageTypeByName(type_name); in ResolveMessageType() 86 "Invalid type URL, unknown type: " + type_name); in ResolveMessageType() 94 std::string type_name; in ResolveEnumType() local 95 Status status = ParseTypeUrl(type_url, &type_name); in ResolveEnumType() 100 const EnumDescriptor* descriptor = pool_->FindEnumTypeByName(type_name); in ResolveEnumType() 103 "Invalid type URL, unknown type: " + type_name); in ResolveEnumType() 308 Status ParseTypeUrl(const std::string& type_url, std::string* type_name) { in ParseTypeUrl() argument 315 *type_name = type_url.substr(url_prefix_.size() + 1); in ParseTypeUrl()
|
/third_party/gstreamer/gstplugins_bad/gst/frei0r/ |
D | gstfrei0rfilter.c | 269 gchar *type_name, *tmp; in gst_frei0r_filter_register() local 277 type_name = g_ascii_strdown (tmp, -1); in gst_frei0r_filter_register() 279 g_strcanon (type_name, G_CSET_A_2_Z G_CSET_a_2_z G_CSET_DIGITS "-+", '-'); in gst_frei0r_filter_register() 281 if (g_type_from_name (type_name)) { in gst_frei0r_filter_register() 282 GST_DEBUG ("Type '%s' already exists", type_name); in gst_frei0r_filter_register() 292 g_type_register_static (GST_TYPE_VIDEO_FILTER, type_name, &typeinfo, 0); in gst_frei0r_filter_register() 293 if (gst_element_register (plugin, type_name, GST_RANK_NONE, type)) in gst_frei0r_filter_register() 296 g_free (type_name); in gst_frei0r_filter_register()
|