Home
last modified time | relevance | path

Searched refs:decorator (Results 1 – 5 of 5) sorted by relevance

/system/tools/aidl/
Daidl_const_expressions.cpp550 const ConstantValueDecorator& decorator) const { in ValueString()
582 return decorator(type, value_); in ValueString()
591 return decorator(type, final_string_value_); in ValueString()
597 return decorator(type, final_string_value_); in ValueString()
610 return decorator(type, std::to_string(static_cast<int8_t>(final_value_))); in ValueString()
616 return decorator(type, std::to_string(static_cast<int32_t>(final_value_))); in ValueString()
618 return decorator(type, std::to_string(final_value_)); in ValueString()
620 return decorator(type, final_value_ ? "true" : "false"); in ValueString()
636 value_string = value->ValueString(base_type, decorator); in ValueString()
658 return decorator(type, value_strings); in ValueString()
[all …]
Daidl_to_cpp_common.h90 const std::string& backing_type, ::ConstantValueDecorator decorator);
125 const ::ConstantValueDecorator& decorator; member
Daidl_to_cpp_common.cpp246 const std::string& backing_type, ConstantValueDecorator decorator) { in GenerateEnumClassDecl() argument
254 out << " = " << enumerator->ValueString(enum_decl.GetBackingType(), decorator) << ",\n"; in GenerateEnumClassDecl()
528 first_field->ValueString(decorator) + ")"; in PrivateFields()
610 first_field->ValueString(decorator) + ")"; in PublicFields()
Daidl_language.h291 const ConstantValueDecorator& decorator) const;
549 std::string ValueString(const ConstantValueDecorator& decorator) const;
689 string ValueString(const AidlTypeSpecifier& type, const ConstantValueDecorator& decorator) const;
844 string ValueString(const ConstantValueDecorator& decorator) const {
845 return value_->ValueString(GetType(), decorator);
1118 const ConstantValueDecorator& decorator) const;
Daidl_language.cpp378 const ConstantValueDecorator& decorator) const { in AnnotationParams()
385 raw_params.emplace(param_name, param->ValueString(param_type->type, decorator)); in AnnotationParams()
945 std::string AidlVariableDeclaration::ValueString(const ConstantValueDecorator& decorator) const { in ValueString()
947 return default_value_->ValueString(GetType(), decorator); in ValueString()
1570 const ConstantValueDecorator& decorator) const { in ValueString()
1571 return GetValue()->ValueString(backing_type, decorator); in ValueString()