Home
last modified time | relevance | path

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

/system/tools/aidl/
Daidl_const_expressions.cpp372 const ConstantValueDecorator& decorator) const { in ValueString()
396 return decorator(type, final_string_value_); in ValueString()
402 return decorator(type, final_string_value_); in ValueString()
415 return decorator(type, std::to_string(static_cast<int8_t>(final_value_))); in ValueString()
421 return decorator(type, std::to_string(static_cast<int32_t>(final_value_))); in ValueString()
423 return decorator(type, std::to_string(final_value_)); in ValueString()
425 return decorator(type, final_value_ ? "true" : "false"); in ValueString()
440 const string value_string = value->ValueString(array_base, decorator); in ValueString()
452 return decorator(type, "{" + Join(value_strings, ", ") + "}"); in ValueString()
466 return decorator(type, std::to_string(parsed_value)); in ValueString()
[all …]
Daidl_language.cpp208 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()
568 std::string AidlVariableDeclaration::ValueString(const ConstantValueDecorator& decorator) const { in ValueString()
570 return default_value_->ValueString(GetType(), decorator); in ValueString()
974 const ConstantValueDecorator& decorator) const { in ValueString()
975 return GetValue()->ValueString(backing_type, decorator); in ValueString()
Daidl_language.h184 string ToString(const ConstantValueDecorator& decorator) const;
186 const ConstantValueDecorator& decorator) const;
354 std::string ValueString(const ConstantValueDecorator& decorator) const;
469 string ValueString(const AidlTypeSpecifier& type, const ConstantValueDecorator& decorator) const;
558 string ValueString(const ConstantValueDecorator& decorator) const { in ValueString() argument
559 return value_->ValueString(GetType(), decorator); in ValueString()
797 const ConstantValueDecorator& decorator) const;
/system/bt/gd/docs/testing/
Dcert_test.md229 A Python decorator is used to indicate a test's association with a Bluetooth SIG