Home
last modified time | relevance | path

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

/frameworks/libs/native_bridge_support/android_api/
Dgen_known_trampolines.py30 def _get_type_str(guest_api, type_name, is_return_type): argument
31 if type_name == 'void':
34 type = guest_api['types'][type_name]
55 raise Exception('%s: unknown integer type size %d' % (type_name, size))
63 raise Exception('%s: unknown fp type size %d' % (type_name, size))
71 raise Exception('%s: unknown complex type size %d' % (type_name, size))
91 raise Exception("%s: unknown type kind '%s'" % (type_name, kind))
130 type_name = guest_api['symbols'][symbol]['type']
131 params_str = _get_type_str(guest_api, type_name, False)
200 type_name = descr['type']
[all …]
Dapi_analysis.py127 def _is_type_allowed_in_trampoline(self, type_name): argument
129 if (type_name == 'void'):
131 type_desc = self.guest_types[type_name]
402 type_name = descr['type']
403 if guest_api['types'][type_name]['kind'] == 'function':
414 type_name = descr['type']
415 if guest_api['types'][type_name]['kind'] != 'function':
/frameworks/libs/binary_translation/kernel_api/tools/
Dapi_analysis.py125 def _is_type_allowed_in_trampoline(self, type_name): argument
127 if (type_name == 'void'):
129 type_desc = self.guest_types[type_name]
400 type_name = descr['type']
401 if (guest_api['types'][type_name]['kind'] == 'function'):
412 type_name = descr['type']
413 if guest_api['types'][type_name]['kind'] != 'function':
/frameworks/base/tools/streaming_proto/
Dstream_proto_utils.cpp66 return field.type_name(); in get_proto_type()
72 return field.type_name(); in get_proto_type()
/frameworks/libs/binary_translation/intrinsics/common_to_x86/
Dgen_text_asm_intrinsics.cc101 for (const char* type_name : AsmCallInfo::OutputArgumentsTypeNames) { in GenerateFunctionHeader() local
102 prefix += prefix_of_prefix + std::string(type_name); in GenerateFunctionHeader()
108 for (const char* type_name : AsmCallInfo::InputArgumentsTypeNames) { in GenerateFunctionHeader() local
109 ins.push_back(std::string(type_name) + " in" + std::to_string(ins.size())); in GenerateFunctionHeader()
171 for (const char* type_name : AsmCallInfo::OutputArgumentsTypeNames) { in GenerateOutputVariables() local
172 fprintf(out, "%*s%s out%zd;\n", indent, "", type_name, id++); in GenerateOutputVariables()
215 const char* type_name = TypeTraits<Type>::kName; in GenerateInShadows() local
223 type_name = TypeTraits<uint32_t>::kName; in GenerateInShadows()
240 type_name, in GenerateInShadows()
498 const char* type_name = TypeTraits<Type>::kName; in GenerateOutShadows() local
[all …]
/frameworks/av/services/audiopolicy/engineconfigurable/tools/
DdomainGeneratorPolicy.py124 type_name = criterion.get('type')
126 logging.info("Importing type_name {}".format(type_name))
130 if criterion_type_name == type_name:
/frameworks/base/libs/androidfw/
DLoadedArsc.cpp345 const auto type_name = type_string_pool_.string8At(type_idx); in CollectConfigurations() local
346 if (UNLIKELY(IsIOError(type_name))) { in CollectConfigurations()
347 return base::unexpected(GetIOError(type_name.error())); in CollectConfigurations()
349 if (type_name.has_value()) { in CollectConfigurations()
350 if (strncmp(type_name->data(), "mipmap", type_name->size()) == 0) { in CollectConfigurations()
378 const std::u16string& type_name, const std::u16string& entry_name) const { in FindEntryByName() argument
380 type_name.data(), type_name.size()); in FindEntryByName()
/frameworks/libs/binary_translation/tools/nogrod/
Dmain.cc320 TypeInfoClassField(const std::string& name, const std::string& type_name, uint32_t offset_bits) in TypeInfoClassField() argument
321 : name_(name), type_name_(type_name), offset_bits_(offset_bits) {} in TypeInfoClassField()
327 const std::string& type_name() const { return type_name_; } in type_name() function in __anon1b844caf0111::TypeInfoClassField
356 void AddField(const std::string& name, const std::string& type_name, uint32_t offset_bits) { in AddField() argument
357 fields_.push_back(TypeInfoClassField(name, type_name, offset_bits)); in AddField()
389 field_obj["type"] = field.type_name(); in GetJson()
787 std::string type_name = member_type_info->name(); in ParseClass() local
791 type_info->AddField(name.value_or(""), type_name, offset * CHAR_BIT); in ParseClass()
1055 const std::string& type_name, in error_unsuccessful_dedup() argument
1067 type_name.c_str(), in error_unsuccessful_dedup()
[all …]
/frameworks/base/cmds/idmap2/libidmap2/
DFabricatedOverlay.cpp193 StringPiece type_name; in Build() local
196 &type_name, &entry_name)) { in Build()
201 if (type_name.empty()) { in Build()
216 auto type = package->second.find(type_name); in Build()
218 type = package->second.insert(std::make_pair(type_name, EntryMap())).first; in Build()
/frameworks/base/tools/aapt2/optimize/
DObfuscator.h53 const ResourceNamedType& type_name, const ResourceTableEntryView& entry,
DObfuscator.cpp155 const ResourceNamedType& type_name, const ResourceTableEntryView& entry, in ObfuscateResourceName() argument
158 ResourceName resource_name({}, type_name, entry.name); in ObfuscateResourceName()
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener.cpp445 std::stringstream type_name; in FlattenTypes() local
446 type_name << "?" << expected_type_id; in FlattenTypes()
447 type_pool_.MakeRef(type_name.str()); in FlattenTypes()
/frameworks/base/libs/androidfw/include/androidfw/
DLoadedArsc.h172 base::expected<uint32_t, NullOrIOError> FindEntryByName(const std::u16string& type_name,
/frameworks/proto_logging/stats/stats_log_api_gen/
DCollation.cpp411 field.type_name(), field.name().c_str()); in collate_atom()
414 field.type_name(), field.name().c_str()); in collate_atom()
/frameworks/base/tools/incident_section_gen/
Dmain.cpp565 text << field->type_name(); in generateCsv()
/frameworks/libs/native_bridge_support/android_api/libvulkan/proxy/
Dvulkan_xml.go635 for type_name := range types {
638 typе := types[type_name]
Dgen_vulkan.go3078 type_name := typе.Name(cpp_types.FirstArch)
3083 type_name = fmt.Sprintf("GuestType<%s>", type_name)
3087 type_name = typе.BaseName(cpp_types.FirstArch)
3090 type_name = "ToHostAddr"
3094 return type_name
Dvulkan_xml_test.go31 <type category="test">Here is <name>type_name</name></type>
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp441 const char* type_name, const bool add_to_zip) { in AddDumps() argument
464 dump_file_from_fd(type_name, name.c_str(), fd); in AddDumps()