Home
last modified time | relevance | path

Searched defs:type (Results 1 – 25 of 368) sorted by relevance

12345678910>>...15

/system/tools/aidl/
Daidl_to_cpp.cpp39 std::string RawParcelMethod(const AidlTypeSpecifier& type, const AidlTypenames& typenames, in RawParcelMethod()
145 std::string GetRawCppName(const AidlTypeSpecifier& type) { in GetRawCppName()
151 const auto& type = typenames.IsList(raw_type) ? (*raw_type.GetTypeParameters().at(0)) : raw_type; in WrapIfNullable() local
181 const auto& type = typenames.IsList(raw_type) ? (*raw_type.GetTypeParameters().at(0)) : raw_type; in GetCppName() local
209 const AidlTypeSpecifier& type, in ConstantValueDecorator()
218 std::string CppNameOf(const AidlTypeSpecifier& type, const AidlTypenames& typenames) { in CppNameOf()
243 bool IsNonCopyableType(const AidlTypeSpecifier& type, const AidlTypenames& typenames) { in IsNonCopyableType()
255 std::string ParcelReadMethodOf(const AidlTypeSpecifier& type, const AidlTypenames& typenames) { in ParcelReadMethodOf()
259 std::string ParcelReadCastOf(const AidlTypeSpecifier& type, const AidlTypenames& typenames, in ParcelReadCastOf()
271 std::string ParcelWriteMethodOf(const AidlTypeSpecifier& type, const AidlTypenames& typenames) { in ParcelWriteMethodOf()
[all …]
Daidl_to_rust.cpp44 const AidlTypeSpecifier& type, in ConstantValueDecoratorInternal()
105 std::string GetRawRustName(const AidlTypeSpecifier& type) { in GetRawRustName()
130 bool AutoConstructor(const AidlTypeSpecifier& type, const AidlTypenames& typenames) { in AutoConstructor()
135 std::string GetRustName(const AidlTypeSpecifier& type, const AidlTypenames& typenames, in GetRustName()
184 const AidlTypeSpecifier& type, in ConstantValueDecorator()
190 const AidlTypeSpecifier& type, in ConstantValueDecoratorRef()
196 std::string ArrayDefaultValue(const AidlTypeSpecifier& type) { in ArrayDefaultValue()
207 bool UsesOptionInNullableVector(const AidlTypeSpecifier& type, const AidlTypenames& typenames) { in UsesOptionInNullableVector()
238 std::string RustNameOf(const AidlTypeSpecifier& type, const AidlTypenames& typenames, in RustNameOf()
244 std::string RustNameOf(const AidlTypeSpecifier& type, const AidlTypenames& typenames, in RustNameOf()
[all …]
Dcheck_valid.cpp29 bool IsListOf(const AidlTypeSpecifier& type, TypePredicate pred) { in IsListOf()
33 bool IsArrayOf(const AidlTypeSpecifier& type, TypePredicate pred) { in IsArrayOf()
36 bool IsInterface(const AidlTypeSpecifier& type) { in IsInterface()
78 v.Check([&](const AidlTypeSpecifier& type) { in CheckValid()
90 v.Check([&](const AidlTypeSpecifier& type) { in CheckValid()
126 std::function<bool(const AidlDefinedType*)> dfs = [&](const AidlDefinedType* type) { in CheckValid()
Daidl_to_ndk.cpp57 const AidlTypeSpecifier& type, in ConstantValueDecorator()
87 const AidlDefinedType* type = types.TryGetDefinedType(aidl_name); in GetBaseTypeInfo() local
194 std::string NdkFullClassName(const AidlDefinedType& type, cpp::ClassNames name) { in NdkFullClassName()
240 std::function<std::string(const std::string& type, const std::string& name, bool isOut)> in NdkArgList()
245 std::string type = NdkNameOf(types, a->GetType(), mode); in NdkArgList() local
251 std::string type = NdkNameOf(types, method.GetType(), StorageMode::OUT_ARGUMENT); in NdkArgList() local
Daidl_to_ndk.h49 const AidlTypeSpecifier& type; member
64 inline std::string FormatArgForDecl(const std::string& type, const std::string& name, in FormatArgForDecl()
69 inline std::string FormatArgNameUnused(const std::string& type, const std::string& name, in FormatArgNameUnused()
/system/tools/hidl/
DScope.cpp38 void Scope::addType(NamedType* type) { in addType()
52 for (const auto* type : mTypes) { in validateUniqueNames() local
118 for (const NamedType *type : mTypes) { in definesInterfaces() local
178 for (const Type* type : mTypes) { in emitTypeDeclarations() local
187 for (const Type* type : mTypes) { in emitTypeDeclarations() local
194 for (const Type* type : mTypes) { in emitGlobalTypeDeclarations() local
200 for (const Type* type : mTypes) { in emitPackageTypeDeclarations() local
206 for (const Type* type : mTypes) { in emitPackageTypeHeaderDefinitions() local
212 for (const Type* type : mTypes) { in emitPackageHwDeclarations() local
222 for (const Type* type : mTypes) { in emitJavaTypeDeclarations() local
[all …]
DAST.cpp162 [&](Type* type) -> status_t { in constantExpressionRecursivePass()
179 [&](const Type* type) -> status_t { in constantExpressionRecursivePass()
193 [oldStage, newStage](Type* type) { in setParseStage()
205 [&](Type* type) -> status_t { in lookupTypes()
233 [&](Type* type) -> status_t { in gatherReferencedTypes()
253 [&](Type* type) -> status_t { in lookupConstantExpressions()
293 [&](const Type* type) -> status_t { in validateDefinedTypesUniqueNames()
337 [&](Type* type) { in topologicalReorder()
352 [&](const Type* type) -> status_t { in checkAcyclicConstantExpressions()
367 [](const Type* type) -> status_t { in checkForwardReferenceRestrictions()
[all …]
/system/chre/chpp/include/chpp/
Dservices.h50 #define chppAllocServiceRequestFixed(serviceState, type) \ argument
63 #define chppAllocServiceRequestTypedArray(serviceState, type, count, \ argument
77 #define chppAllocServiceNotificationTypedArray(type, count, arrayField) \ argument
89 #define chppAllocServiceNotificationFixed(type) \ argument
Dclients.h46 #define chppAllocClientRequestFixed(clientState, type) \ argument
59 #define chppAllocClientRequestTypedArray(clientState, type, count, arrayField) \ argument
72 #define chppAllocClientNotificationTypedArray(type, count, arrayField) \ argument
83 #define chppAllocClientNotificationFixed(type) \ argument
/system/tools/hidl/hidl2aidl/
DAidlTranslate.cpp67 static const std::string aidlTypePackage(const NamedType& type, AidlBackend backend) { in aidlTypePackage()
80 for (const EnumType* type : enumType.typeChain()) { in emitEnumStaticAssert() local
109 const NamedType* type = static_cast<const NamedType*>(field.field->get()); in namedTypeTranslation() local
152 static void h2aScalarChecks(Formatter& out, const Type& type, const std::string& inputAccess, in h2aScalarChecks()
209 static std::string wrapStaticCast(const std::string& payload, const Type& type, in wrapStaticCast()
227 static std::string wrapCppSource(const std::string& payload, const Type& type, const FQName& fqName, in wrapCppSource()
396 static const std::string declareAidlFunctionSignature(const NamedType* type, AidlBackend backend) { in declareAidlFunctionSignature()
406 static const std::string getHidlPackagePath(const NamedType* type) { in getHidlPackagePath()
410 static std::optional<const Interface*> getParentInterface(const NamedType* type) { in getParentInterface()
421 static const std::string hidlIncludeFile(const NamedType* type) { in hidlIncludeFile()
[all …]
DAidlType.cpp30 static std::string getPlaceholderType(const std::string& type) { in getPlaceholderType()
49 std::string AidlHelper::getAidlType(const Type& type, const FQName& relativeTo, in getAidlType()
68 std::optional<const ReplacedTypeInfo> type = getAidlReplacedType(namedType.fqName()); in getAidlType() local
/system/tools/xsdc/src/main/java/com/android/xsdc/cpp/
DCppCodeGenerator.java88 XsdType type = element.getType(); in CppCodeGenerator() local
230 XsdType type = element.getType(); in print() local
352 XsdType type = element.getType(); in printPrototype() local
424 XsdType type = resolveAttribute(attribute).getType(); in printClass() local
432 CppType type = elementTypes.get(i); in printClass() local
441 CppType type = attributeTypes.get(i); in printClass() local
461 CppType type = elementTypes.get(i); in printClass() local
471 CppType type = attributeTypes.get(i); in printClass() local
527 XsdType type = resolveAttribute(attribute).getType(); in printParser() local
539 CppSimpleType type = allAttributeTypes.get(i); in printParser() local
[all …]
/system/extras/simpleperf/nonlinux_support/include/linux/
Dioctl.h17 #define __IO(type, nr) argument
18 #define __IOR(type, nr, size) argument
19 #define __IOW(type, nr, size) argument
/system/tools/xsdc/src/main/java/com/android/xsdc/java/
DJavaCodeGenerator.java76 XsdType type = element.getType(); in JavaCodeGenerator() local
118 XsdType type = element.getType(); in print() local
241 XsdType type = resolveAttribute(attribute).getType(); in printClass() local
247 JavaType type = elementTypes.get(i); in printClass() local
256 JavaType type = attributeTypes.get(i); in printClass() local
267 JavaType type = elementTypes.get(i); in printClass() local
274 JavaType type = attributeTypes.get(i); in printClass() local
309 XsdType type = resolveAttribute(attribute).getType(); in printParser() local
322 JavaType type = allAttributeTypes.get(i); in printParser() local
347 JavaType type = allElementTypes.get(i); in printParser() local
[all …]
/system/extras/simpleperf/
DProbeEvents.cpp49 bool ProbeEvents::ParseProbeEventName(ProbeEventType type, const std::string& probe_cmd, in ParseProbeEventName()
130 bool ProbeEvents::IsProbeSupported(ProbeEventType type) { in IsProbeSupported()
145 bool ProbeEvents::AddProbe(ProbeEventType type, const std::string& probe_cmd) { in AddProbe()
192 bool ProbeEvents::WriteProbeCmd(ProbeEventType type, const std::string& probe_cmd) { in WriteProbeCmd()
206 std::optional<std::string>& ProbeEvents::GetProbeControlPath(ProbeEventType type) { in GetProbeControlPath()
/system/core/property_service/libpropertyinfoserializer/
Dtrie_builder.h34 const std::string* type; member
58 const std::string* type) { in AddPrefixContext()
69 const std::string* type) { in AddExactMatchContext()
83 const std::string* type() const { return property_entry_.type; } in type() function
84 void set_type(const std::string* type) { property_entry_.type = type; } in set_type()
/system/media/radio/src/
Dradio_metadata.c107 const radio_metadata_type_t type, in add_metadata()
221 radio_metadata_type_t type = radio_metadata_type_of_key(key); in radio_metadata_add_int() local
233 radio_metadata_type_t type = radio_metadata_type_of_key(key); in radio_metadata_add_text() local
246 radio_metadata_type_t type = radio_metadata_type_of_key(key); in radio_metadata_add_raw() local
256 radio_metadata_type_t type = radio_metadata_type_of_key(key); in radio_metadata_add_clock() local
291 radio_metadata_type_t type; in radio_metadata_add_metadata() local
378 radio_metadata_type_t *type, in radio_metadata_get_at_index()
405 radio_metadata_type_t *type, in radio_metadata_get_from_key()
/system/logging/liblog/include/private/
Dandroid_logger.h62 int8_t type; // EVENT_TYPE_LIST member
68 int8_t type; // EVENT_TYPE_FLOAT member
74 int8_t type; // EVENT_TYPE_INT member
86 int8_t type; // EVENT_TYPE_LONG member
109 int8_t type; // EVENT_TYPE_STRING; member
117 int8_t type; // EVENT_TYPE_STRING; member
/system/keymaster/android_keymaster/
Dkeymaster_tags.cpp178 #define DEFINE_KEYMASTER_TAG(type, name) TypedTag<type, KM_##name> name argument
244 #define DEFINE_KEYMASTER_ENUM_TAG(type, name, enumtype) TypedEnumTag<type, KM_##name, enumtype> name argument
/system/chre/chpp/
Dapp.c288 struct ChppAppState *context, uint8_t handle, enum ChppMessageType type) { in chppGetDispatchFunction()
467 enum ChppMessageType type) { in chppClientOrServiceStateOfHandle()
844 struct ChppAppHeader *chppAllocNotification(uint8_t type, size_t len) { in chppAllocNotification()
862 struct ChppAppHeader *chppAllocRequest(uint8_t type, in chppAllocRequest()
889 uint8_t type = requestHeader->type; in chppAllocResponse() local
984 uint8_t type = responseHeader->type; in chppTimestampIncomingResponse() local
1157 struct ChppAppState *appState, uint8_t index, enum ChppEndpointType type) { in getRegisteredEndpointState()
1168 enum ChppEndpointType type) { in getRegisteredEndpointOutReqCount()
1178 enum ChppEndpointType type) { in getRegisteredEndpointCount()
1184 enum ChppEndpointType type) { in chppRecalculateNextTimeout()
[all …]
/system/tools/xsdc/src/main/java/com/android/xsdc/tag/
DXsdAttribute.java24 final private XsdType type; field in XsdAttribute
27 public XsdAttribute(String name, QName ref, XsdType type, boolean required) in XsdAttribute()
/system/core/libkeyutils/
Dkeyutils.cpp37 key_serial_t add_key(const char* type, const char* description, const void* payload, in add_key()
50 long keyctl_search(key_serial_t ring_id, const char* type, const char* description, in keyctl_search()
63 long keyctl_restrict_keyring(key_serial_t keyring, const char* type, const char* restriction) { in keyctl_restrict_keyring()
/system/netd/server/
DIptablesRestoreController.cpp49 IptablesProcess(const IptablesRestoreController::IptablesProcessType type, in IptablesProcess()
89 const IptablesRestoreController::IptablesProcessType type; member in IptablesProcess
119 IptablesProcess* IptablesRestoreController::forkAndExec(const IptablesProcessType type) { in forkAndExec()
193 int IptablesRestoreController::sendCommand(const IptablesProcessType type, in sendCommand()
355 int IptablesRestoreController::getIpRestorePid(const IptablesProcessType type) { in getIpRestorePid()
/system/core/mini_keyctl/
Dmini_keyctl.cpp66 int Add(const std::string& type, const std::string& desc, const std::string& data, in Add()
85 int Padd(const std::string& type, const std::string& desc, const std::string& keyring) { in Padd()
141 std::string type = argv[2]; in main() local
148 std::string type = argv[2]; in main() local
/system/media/audio_route/
Daudio_route.c84 unsigned int type; member
136 enum mixer_ctl_type type) in ctl_values_alloc()
162 static bool is_supported_ctl_type(enum mixer_ctl_type type) in is_supported_ctl_type()
176 static size_t sizeof_ctl_type(enum mixer_ctl_type type) { in sizeof_ctl_type()
396 enum mixer_ctl_type type = mixer_ctl_get_type(ctl); in path_add_value() local
475 enum mixer_ctl_type type; in path_apply() local
495 enum mixer_ctl_type type; in path_reset() local
619 enum mixer_ctl_type type; in start_tag() local
832 enum mixer_ctl_type type; in alloc_mixer_state() local
876 enum mixer_ctl_type type; in free_mixer_state() local
[all …]

12345678910>>...15