Home
last modified time | relevance | path

Searched refs:type_name (Results 1 – 25 of 403) sorted by relevance

12345678910>>...17

/third_party/skia/third_party/externals/tint/src/resolver/
Dstorage_class_layout_validation_test.cc42 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 …]
Ddependency_graph_test.cc480 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/vixl/tools/test_generator/
Ddata_types.py43 def __init__(self, name, type_name): argument
45 self.type_name = type_name
92 def __init__(self, name, type_name, variants, default): argument
93 super().__init__(name, type_name)
108 return self.type_name
115 return "{type_name} {name};".format(type_name=self.type_name,
123 return code.format(type_name=self.type_name, name=self.name)
135 def __init__(self, name, type_name, operand_list): argument
136 super().__init__(name, type_name)
151 return "const " + self.type_name + "&"
[all …]
/third_party/json/docs/examples/
Dtype_name.cpp19 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/skia/third_party/externals/tint/src/sem/
Darray.cc47 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/
DMessageBuilderContext.php55 $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));
/third_party/node/deps/v8/tools/v8windbg/src/
Dv8-debug-helper-interop.cc47 StructField::StructField(std::u16string field_name, std::u16string type_name, in StructField() argument
51 type_name(type_name), in StructField()
62 Property::Property(std::u16string property_name, std::u16string type_name, in Property() argument
67 type_name(type_name), in Property()
98 if (dest_prop.type_name.empty() || source_prop.num_struct_fields > 0) { in GetPropertiesAsVector()
122 const char* type_name, bool is_compressed) { in GetHeapObject() argument
135 heap_addresses, type_name); in GetHeapObject()
145 const std::string& type_name = props->guessed_types[type_index]; in GetHeapObject() local
147 ConvertToU16String(("guessed type " + type_name).c_str()), in GetHeapObject()
148 ConvertToU16String(is_compressed ? kTaggedValue : type_name), in GetHeapObject()
[all …]
Dobject-inspection.cc30 _bstr_t type_name; in Create() local
32 RETURN_IF_FAIL(sp_type->GetName(type_name.GetAddress())); in Create()
39 static_cast<const char*>(type_name) == std::string(kTaggedValue); in Create()
42 is_compressed ? kObject : static_cast<const char*>(type_name); in Create()
189 const std::u16string& type_name, in GetModelForBasicField() argument
193 if (type_name == ConvertToU16String(uncompressed_type_name)) { in GetModelForBasicField()
197 Extension::Current()->GetTypeFromV8Module(sp_ctx, type_name.c_str()); in GetModelForBasicField()
217 uint8_t shift_bits, const std::u16string& type_name, in GetModelForBitField() argument
222 Extension::Current()->GetTypeFromV8Module(sp_ctx, type_name.c_str()); in GetModelForBitField()
281 address + field.offset, field.type_name, field.uncompressed_type_name, in GetModelForStruct()
[all …]
Dv8-debug-helper-interop.h32 StructField(std::u16string field_name, std::u16string type_name,
49 std::u16string type_name; member
72 Property(std::u16string property_name, std::u16string type_name,
92 std::u16string type_name; member
130 const char* type_name, bool is_compressed);
/third_party/protobuf/src/google/protobuf/
Dany_lite.cc61 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/
Dwrite_read_test.def4 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 ;
Dpipe_test.def4 type_name = short ;
8 type_name = float ;
12 type_name = double ;
Dbenchmark.tpl77 +]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 */
Dbenchmark.def4 type_name = short ;
9 type_name = int ;
14 type_name = float ;
/third_party/json/tests/src/
Dunit-convenience.cpp111 CHECK(std::string(json(json::value_t::null).type_name()) == "null");
112 CHECK(std::string(json(json::value_t::object).type_name()) == "object");
113 CHECK(std::string(json(json::value_t::array).type_name()) == "array");
114 CHECK(std::string(json(json::value_t::number_integer).type_name()) == "number");
115 CHECK(std::string(json(json::value_t::number_unsigned).type_name()) == "number");
116 CHECK(std::string(json(json::value_t::number_float).type_name()) == "number");
117 CHECK(std::string(json(json::value_t::binary).type_name()) == "binary");
118 CHECK(std::string(json(json::value_t::boolean).type_name()) == "boolean");
119 CHECK(std::string(json(json::value_t::string).type_name()) == "string");
120 CHECK(std::string(json(json::value_t::discarded).type_name()) == "discarded");
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/
Dgstvktrash.c167 #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/
Dgstlv2.c175 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/json/include/nlohmann/detail/conversions/
Dfrom_json.hpp41 … JSON_THROW(type_error::create(302, concat("type must be null, but is ", j.type_name()), &j)); in from_json()
79 … JSON_THROW(type_error::create(302, concat("type must be number, but is ", j.type_name()), &j)); in get_arithmetic_value()
88 … JSON_THROW(type_error::create(302, concat("type must be boolean, but is ", j.type_name()), &j)); in from_json()
98 … JSON_THROW(type_error::create(302, concat("type must be string, but is ", j.type_name()), &j)); in from_json()
114 … JSON_THROW(type_error::create(302, concat("type must be string, but is ", j.type_name()), &j)); in from_json()
156 … JSON_THROW(type_error::create(302, concat("type must be array, but is ", j.type_name()), &j)); in from_json()
173 … JSON_THROW(type_error::create(302, concat("type must be array, but is ", j.type_name()), &j)); in from_json()
270 … JSON_THROW(type_error::create(302, concat("type must be array, but is ", j.type_name()), &j));
289 … JSON_THROW(type_error::create(302, concat("type must be array, but is ", j.type_name()), &j));
300 … JSON_THROW(type_error::create(302, concat("type must be binary, but is ", j.type_name()), &j)); in from_json()
[all …]
/third_party/libdrm/tests/util/
Dkms.c51 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/mesa3d/src/gallium/frontends/clover/llvm/codegen/
Dcommon.cpp72 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/json/docs/mkdocs/docs/api/basic_json/
Dtype_name.md1 # <small>nlohmann::basic_json::</small>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/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/
Dconsistency_tools.py156 def get_codes_for_command_and_type(self, cmd_name, type_name): argument
163 return self.input_type_to_codes.get(type_name, set())
540 def compute(type_name): argument
544 types = self.directly_referenced(type_name)
567 def directly_referenced(self, type_name): argument
571 if type_name not in self._directly_referenced:
572 members = self.db.getMemberElems(type_name)
575 … self._directly_referenced[type_name] = set(type_elem.text for (member, type_elem) in types
579 self._directly_referenced[type_name] = set()
582 self.graph.add_node(type_name)
[all …]
/third_party/rust/crates/bindgen/bindgen/ir/
Denum_ty.rs83 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/
Dser.rs128 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/
Dfuzzers.rs43 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 …]

12345678910>>...17