Home
last modified time | relevance | path

Searched refs:type_name (Results 1 - 25 of 290) sorted by relevance

12345678910>>...12

/third_party/skia/third_party/externals/tint/src/resolver/
H A 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("Oute in TEST_F()
[all...]
H A 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(sourc in Add()
[all...]
/third_party/json/docs/examples/
H A Dtype_name.cpp18 // call type_name() in main()
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/vixl/tools/test_generator/
H A Ddata_types.py40 type_name C++ type for the operand.
43 def __init__(self, name, type_name):
45 self.type_name = type_name
92 def __init__(self, name, type_name, variants, default):
93 super().__init__(name, type_name)
108 return self.type_name
115 return "{type_name} {name};".format(type_name=self.type_name,
[all...]
/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DMessageBuilderContext.php55 $number, $type_name = null) variable
71 $field->setMessageType($type_name);
74 $field->setEnumType($type_name);
83 public function optional($name, $type, $number, $type_name = null) variable
90 $type_name));
94 public function repeated($name, $type, $number, $type_name = null) variable
101 $type_name));
105 public function required($name, $type, $number, $type_name = null) variable
112 $type_name));
H A DFieldDescriptorProto.php33 * If type_name is set, this need not be set. If both this and type_name
46 * Generated from protobuf field <code>optional string type_name = 6;</code>
48 protected $type_name = null; variable
51 * resolved in the same manner as type_name.
120 * If type_name is set, this need not be set. If both this and type_name
122 * @type string $type_name
130 * resolved in the same manner as type_name.
269 * If type_name i
345 $this->type_name = $var; global() variable
[all...]
/third_party/skia/third_party/externals/tint/src/sem/
H A 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()
53 // Note: implicit_stride is not part of the type_name string as this is in type_name()
55 return type_name; in type_name()
/third_party/node/deps/v8/tools/v8windbg/src/
H A 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()
135 heap_addresses, type_name); in GetHeapObject()
145 const std::string& type_name in GetHeapObject() local
120 GetHeapObject(WRL::ComPtr<IDebugHostContext> sp_context, uint64_t tagged_ptr, uint64_t referring_pointer, const char* type_name, bool is_compressed) GetHeapObject() argument
[all...]
H A 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()
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()
222 Extension::Current()->GetTypeFromV8Module(sp_ctx, type_name.c_str()); in GetModelForBitField()
281 address + field.offset, field.type_name, fiel in GetModelForStruct()
188 GetModelForBasicField(const uint64_t address, const std::u16string& type_name, const std::string& uncompressed_type_name, WRL::ComPtr<IDebugHostContext>& sp_ctx, IModelObject** result) GetModelForBasicField() argument
216 GetModelForBitField(uint64_t address, const uint8_t num_bits, uint8_t shift_bits, const std::u16string& type_name, WRL::ComPtr<IDebugHostContext>& sp_ctx, IModelObject** result) GetModelForBitField() argument
299 GetModelForNativeArray(const uint64_t address, const std::u16string& type_name, size_t count, WRL::ComPtr<IDebugHostContext>& sp_ctx, IModelObject** result) GetModelForNativeArray() argument
653 _bstr_t type_name; global() variable
[all...]
H A Dv8-debug-helper-interop.h32 StructField(std::u16string field_name, std::u16string type_name,
49 std::u16string type_name; member
51 // In some cases, |type_name| may be a simple type representing a compressed
54 // decompressed. Otherwise, |uncompressed_type_name| will match |type_name|.
72 Property(std::u16string property_name, std::u16string type_name,
92 std::u16string type_name; member
94 // In some cases, |type_name| may be a simple type representing a compressed
97 // decompressed. Otherwise, |uncompressed_type_name| will match |type_name|.
130 const char* type_name, bool is_compressed);
/third_party/json/tests/src/
H A 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())
[all...]
/third_party/protobuf/src/google/protobuf/
H A Dany_lite.cc61 StringPiece type_name) { in InternalPackFrom()
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()
59 InternalPackFrom(const MessageLite& message, StringPiece type_url_prefix, StringPiece type_name) InternalPackFrom() argument
/third_party/json/include/nlohmann/detail/conversions/
H A 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()), in from_json()
[all...]
/third_party/libdrm/tests/util/
H A Dkms.c51 struct type_name { struct
57 const struct type_name *table, in util_lookup_type_name()
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/rust/crates/bindgen/bindgen/ir/
H A Denum_ty.rs83 let type_name = ty.spelling(); in from_ty()
84 let type_name = if type_name.is_empty() { in from_ty()
87 Some(type_name) in from_ty()
89 let type_name = type_name.as_deref(); in from_ty()
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/mesa3d/src/gallium/frontends/clover/llvm/codegen/
H A Dcommon.cpp72 const std::string &type_name, in create_arg_info()
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()
71 create_arg_info(const std::string &arg_name, const std::string &type_name, const std::string &type_qualifier, const uint64_t address_qualifier, const std::string &access_qualifier) create_arg_info() argument
[all...]
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/
H A Dconsistency_tools.py182 def get_codes_for_command_and_type(self, cmd_name, type_name):
184 an input argument of type type_name.
191 return self.input_type_to_codes.get(type_name, set())
659 def compute(type_name):
660 """Compute and return all types referenced by type_name, recursively, that satisfy the predicate.
663 types = self.directly_referenced(type_name)
686 def directly_referenced(self, type_name):
687 """Get all types referenced directly by type_name that satisfy the predicate.
690 if type_name not in self._directly_referenced:
691 members = self.db.getMemberElems(type_name)
[all...]
/third_party/rust/crates/serde/serde_derive/src/
H A Dser.rs123 fn type_name(&self) -> String { in type_name() functions
219 let type_name = cattrs.name().serialize_name(); in serialize_unit_struct()
222 _serde::Serializer::serialize_unit_struct(__serializer, #type_name) in serialize_unit_struct()
231 let type_name = cattrs.name().serialize_name(); in serialize_newtype_struct()
248 #func(__serializer, #type_name, #field_expr) in serialize_newtype_struct()
260 let type_name = cattrs.name().serialize_name(); in serialize_tuple_struct()
285 let #let_mut __serde_state = _serde::Serializer::serialize_tuple_struct(__serializer, #type_name, #len)?; in serialize_tuple_struct()
304 let type_name = cattrs.name().serialize_name(); in serialize_struct_tag_field()
307 #func(&mut __serde_state, #tag, #type_name)?; in serialize_struct_tag_field()
322 let type_name in serialize_struct_as_struct()
[all...]
/third_party/mesa3d/src/mapi/glapi/gen/
H A Dtypeexpr.py98 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):
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/rust/crates/bindgen/bindgen-tests/tests/quickchecking/src/
H A Dfuzzers.rs43 pub type_name: BaseTypeC,
85 pub type_name: BaseTypeC,
101 pub type_name: BaseTypeC,
117 pub type_name: BaseTypeC,
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/compiler/glsl/
H A Dast_array_index.cpp173 const char *type_name = "error"; in _mesa_ast_array_index_to_hir() local
186 type_name = "matrix"; in _mesa_ast_array_index_to_hir()
191 type_name = "vector"; in _mesa_ast_array_index_to_hir()
201 type_name = "array"; in _mesa_ast_array_index_to_hir()
208 type_name, bound); in _mesa_ast_array_index_to_hir()
210 _mesa_glsl_error(& loc, state, "%s index must be >= 0", type_name); in _mesa_ast_array_index_to_hir()
/third_party/mesa3d/src/gallium/frontends/clover/core/
H A Dbinary.hpp64 arg_info(const std::string &arg_name, const std::string &type_name, in arg_info()
68 arg_name(arg_name), type_name(type_name), in arg_info()
72 arg_info() : arg_name(""), type_name(""), type_qualifier(0), in arg_info()
76 std::string type_name; member
/third_party/protobuf/src/google/protobuf/util/
H A Dtype_resolver_util.cc77 std::string type_name; variable
78 Status status = ParseTypeUrl(type_url, &type_name);
83 const Descriptor* descriptor = pool_->FindMessageTypeByName(type_name);
86 "Invalid type URL, unknown type: " + type_name);
94 std::string type_name; variable
95 Status status = ParseTypeUrl(type_url, &type_name);
100 const EnumDescriptor* descriptor = pool_->FindEnumTypeByName(type_name);
103 "Invalid type URL, unknown type: " + type_name);
308 Status ParseTypeUrl(const std::string& type_url, std::string* type_name) { in ParseTypeUrl() argument
315 *type_name in ParseTypeUrl()
[all...]
/third_party/mesa3d/src/amd/registers/
H A Dparse_kernel_headers.py815 type_name = None
818 type_name = type_map[0];
822 type_name = type_map[reg_index - 1]
824 if type_name is not None:
825 if type_name not in enums:
827 .format(gfx_level, type_name, name, field), file=sys.stderr)
829 new['enum_ref'] = type_name
/third_party/skia/third_party/externals/dawn/generator/
H A Ddawn_json_generator.py619 def as_MethodSuffix(type_name, method_name):
620 assert not type_name.native and not method_name.native
621 return type_name.CamelCase() + method_name.CamelCase()
674 def as_cEnum(type_name, value_name):
675 assert not type_name.native and not value_name.native
676 return c_prefix + type_name.CamelCase() + '_' + value_name.CamelCase()
678 def as_cMethod(type_name, method_name):
680 if type_name != None:
681 assert not type_name.native
682 c_method += type_name
[all...]

Completed in 14 milliseconds

12345678910>>...12