Home
last modified time | relevance | path

Searched refs:type_string (Results 1 – 3 of 3) sorted by relevance

/system/core/init/
Dproperty_type.cpp31 bool CheckType(const std::string& type_string, const std::string& value) { in CheckType() argument
37 auto type_strings = Split(type_string, " "); in CheckType()
Dproperty_type.h25 bool CheckType(const std::string& type_string, const std::string& value);
/system/tools/aidl/
Daidl_language.cpp411 const std::string& type_string = type.GetName(); in As() local
431 AIDL_ERROR(this) << "Default value must be a literal array of " << type_string << "."; in As()
437 if (type_string == "boolean") return decorator(type, value_); in As()
440 if (type_string == "char") return decorator(type, value_); in As()
446 if (type_string == "double") { in As()
451 if (is_float_literal && type_string == "float") { in As()
461 if (type_string == "byte") { in As()
466 if (type_string == "int") { in As()
471 if (type_string == "long") { in As()
478 if (type_string == "byte") { in As()
[all …]