Home
last modified time | relevance | path

Searched refs:literal (Results 1 – 8 of 8) sorted by relevance

/system/tools/aidl/
Dast_java_unittest.cpp54 std::string literal = "public void foo() {}"; in TEST() local
55 LiteralClassElement ce(literal); in TEST()
57 EXPECT_EQ(literal, actual); in TEST()
61 EXPECT_EQ(literal, written); in TEST()
Dast_cpp_unittest.cpp262 std::string literal = "void foo() {}"; in TEST_F() local
263 LiteralDecl decl(literal); in TEST_F()
265 EXPECT_EQ(literal, actual); in TEST_F()
268 EXPECT_EQ(literal, written); in TEST_F()
Dgenerate_cpp.cpp101 string literal; in BuildArgList() local
110 literal = CppNameOf(a->GetType(), typenames); in BuildArgList()
113 literal = literal + "*"; in BuildArgList()
123 literal = "const " + literal + "&"; in BuildArgList()
127 literal += " " + a->GetName(); in BuildArgList()
132 literal = "&" + varName; in BuildArgList()
134 literal = "std::move(" + varName + ")"; in BuildArgList()
136 literal = varName; in BuildArgList()
139 method_arguments.push_back(literal); in BuildArgList()
143 string literal; in BuildArgList() local
[all …]
Daidl_language_y.yy107 %token<token> C_STR "string literal"
115 %token<character> CHARVALUE "char literal"
116 %token<token> FLOATVALUE "float literal"
117 %token<token> HEXVALUE "hex literal"
118 %token<token> INTVALUE "int literal"
/system/tools/hidl/
DConstantExpression.cpp414 std::string literal(rawValue(castKind)); in cppValue() local
424 literal = "static_cast<" + in cppValue()
426 + ">(" + literal + "ull)"; in cppValue()
429 if (castKind == SK(UINT32) || castKind == SK(UINT64)) literal += "u"; in cppValue()
430 if (castKind == SK(UINT64) || castKind == SK(INT64)) literal += "ll"; in cppValue()
433 return literal + descriptionSuffix(); in cppValue()
442 std::string literal; in javaValue() local
446 literal = rawValue(SK(INT64)) + "L"; in javaValue()
449 literal = rawValue(SK(INT64)) + "L"; in javaValue()
452 literal = rawValue(SK(INT32)); in javaValue()
[all …]
Dhidl-gen_y.yy248 %token<str> STRING_LITERAL "string literal"
754 std::cerr << "ERROR: Could not parse literal: "
/system/tools/hidl/test/hidl_test/
Dstatic_test.cpp150 static_assert(IExpression::Precedence::literal == (4), "");
/system/media/audio_utils/
DDoxyfile249 # When you need a literal { or } or , in the value part of an alias you have to