Home
last modified time | relevance | path

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

/system/tools/aidl/
Daidl_const_expressions.cpp332 const ConstantValueDecorator& decorator) const { in ValueString()
356 return decorator(type, final_string_value_); in ValueString()
362 return decorator(type, final_string_value_); in ValueString()
375 return decorator(type, std::to_string(static_cast<int8_t>(final_value_))); in ValueString()
381 return decorator(type, std::to_string(static_cast<int32_t>(final_value_))); in ValueString()
383 return decorator(type, std::to_string(final_value_)); in ValueString()
385 return decorator(type, final_value_ ? "true" : "false"); in ValueString()
400 const string value_string = value->ValueString(array_base, decorator); in ValueString()
412 return decorator(type, "{" + Join(value_strings, ", ") + "}"); in ValueString()
426 return decorator(type, std::to_string(parsed_value)); in ValueString()
[all …]
Daidl_language.cpp218 const ConstantValueDecorator& decorator) const { in AnnotationParams()
232 raw_params.emplace(param_name, param->ValueString(type, decorator)); in AnnotationParams()
237 std::string AidlAnnotation::ToString(const ConstantValueDecorator& decorator) const { in ToString()
242 for (const auto& [name, value] : AnnotationParams(decorator)) { in ToString()
532 std::string AidlVariableDeclaration::ValueString(const ConstantValueDecorator& decorator) const { in ValueString()
534 return default_value_->ValueString(GetType(), decorator); in ValueString()
891 const ConstantValueDecorator& decorator) const { in ValueString()
892 return GetValue()->ValueString(backing_type, decorator); in ValueString()
Daidl_language.h207 string ToString(const ConstantValueDecorator& decorator) const;
209 const ConstantValueDecorator& decorator) const;
348 std::string ValueString(const ConstantValueDecorator& decorator) const;
447 string ValueString(const AidlTypeSpecifier& type, const ConstantValueDecorator& decorator) const;
532 string ValueString(const ConstantValueDecorator& decorator) const { in ValueString() argument
533 return value_->ValueString(GetType(), decorator); in ValueString()
768 const ConstantValueDecorator& decorator) const;