Home
last modified time | relevance | path

Searched refs:expression (Results 1 – 25 of 27) sorted by relevance

12

/system/tools/xsdc/src/com/android/xsdc/cpp/
DCppSimpleType.java52 StringBuilder expression = new StringBuilder(); in getParsingExpression() local
54 expression.append( in getParsingExpression()
56 expression.append("for (auto& token : android::base::Split(raw, \" \")) {\n"); in getParsingExpression()
57 expression.append(String.format("value.push_back(std::move(%s));\n", in getParsingExpression()
59 expression.append("}\n"); in getParsingExpression()
61 expression.append( in getParsingExpression()
65 return expression.toString(); in getParsingExpression()
/system/tools/xsdc/src/com/android/xsdc/java/
DJavaSimpleType.java61 StringBuilder expression = new StringBuilder(); in getParsingExpression() local
63 expression.append( in getParsingExpression()
65 expression.append("for (String token : raw.split(\"\\\\s+\")) {\n"); in getParsingExpression()
66 expression.append(String.format("value.add(%s);\n", in getParsingExpression()
68 expression.append("}\n"); in getParsingExpression()
70 expression.append( in getParsingExpression()
74 return expression.toString(); in getParsingExpression()
/system/tools/aidl/
Dast_java.cpp155 void StatementBlock::Add(Expression* expression) { in Add() argument
156 this->statements.push_back(new ExpressionStatement(expression)); in Add()
159 ExpressionStatement::ExpressionStatement(Expression* e) : expression(e) {} in ExpressionStatement()
162 this->expression->Write(to); in Write()
209 Expression* expression = (Expression*)va_arg(args, void*); in init() local
210 this->arguments.push_back(expression); in init()
249 Expression* expression = (Expression*)va_arg(args, void*); in init() local
250 this->arguments.push_back(expression); in init()
268 Cast::Cast(const std::string& t, Expression* e) : type(t), expression(e) {} in Cast()
272 expression->Write(to); in Write()
[all …]
Dast_java.h150 void Add(Expression* expression);
154 Expression* expression; member
156 explicit ExpressionStatement(Expression* expression);
225 Expression* expression = nullptr; member
228 Cast(const std::string& type, Expression* expression);
244 Expression* expression = nullptr; member
254 Expression* expression; member
256 explicit ReturnStatement(Expression* expression);
288 Expression* expression; member
291 explicit SwitchStatement(Expression* expression);
Dast_cpp.cpp38 LiteralDecl::LiteralDecl(const std::string& expression) : expression_(expression) {} in LiteralDecl() argument
307 SwitchStatement::SwitchStatement(const std::string& expression) in SwitchStatement() argument
308 : switch_expression_(expression) {} in SwitchStatement()
366 IfStatement::IfStatement(AstNode* expression, bool invert_expression) in IfStatement() argument
367 : expression_(expression), in IfStatement()
382 Statement::Statement(unique_ptr<AstNode> expression) in Statement() argument
383 : expression_(std::move(expression)) {} in Statement()
385 Statement::Statement(AstNode* expression) : expression_(expression) {} in Statement() argument
387 Statement::Statement(const string& expression) in Statement() argument
388 : expression_(new LiteralExpression(expression)) {} in Statement()
[all …]
Dast_cpp.h54 explicit LiteralDecl(const std::string& expression);
213 void AddLiteral(const std::string& expression, bool add_semicolon = true);
270 explicit SwitchStatement(const std::string& expression);
320 explicit IfStatement(AstNode* expression,
338 explicit Statement(std::unique_ptr<AstNode> expression);
339 explicit Statement(AstNode* expression); // Takes possession.
340 explicit Statement(const std::string& expression);
366 explicit LiteralExpression(const std::string& expression);
Dgenerate_java_binder.cpp271 ifstatement->expression = new Comparison(obj, "==", NULL_VALUE); in make_as_interface()
295 instOfStatement->expression = new Comparison(iinNotNull, "&&", instOfCheck); in make_as_interface()
363 lencheck->expression = new Comparison(len, "<", new LiteralExpression("0")); in generate_new_array()
652 checklen->expression = new Comparison(v, "==", NULL_VALUE); in generate_proxy_method()
/system/tools/hidl/c2hal/
DEnumVarDeclaration.cpp24 EnumVarDeclaration::EnumVarDeclaration(const std::string &name, Expression *expression) in EnumVarDeclaration() argument
25 : Declaration(""), mExpression(expression) in EnumVarDeclaration()
DDefine.cpp39 void Define::setExpression(Expression* expression) { in setExpression() argument
40 mExpression = expression; in setExpression()
DEnumVarDeclaration.h31 EnumVarDeclaration(const std::string &name, Expression *expression);
DDefine.h41 void setExpression(Expression* expression);
DAST.h55 void setExpression(Expression *expression);
DAST.cpp106 void AST::setExpression(Expression *expression) { in setExpression() argument
107 mExpression = expression; in setExpression()
Dc2hal_y.yy128 %type<expression> array
130 %type<expression> expr
166 android::Expression *expression;
/system/tools/hidl/test/java_test/
DAndroid.bp22 "android.hardware.tests.expression@1.0",
45 "android.hardware.tests.expression-V1.0-java",
/system/update_engine/
Dpylintrc115 # Python expression which should return a note less than 10 (10 is the highest
198 # A regular expression matching names used for dummy variables (i.e. not used).
278 # Regular expression which should only match correct function names.
286 # Regular expression which should only match correct variable names
292 # Regular expression which should only match correct module level names
298 # Regular expression which should only match correct instance attribute names
304 # Regular expression which should only match correct argument names
310 # Regular expression which should only match correct class attribute
316 # Regular expression which should only match correct list comprehension /
317 # generator expression variable names
[all …]
/system/keymaster/android_keymaster/
Dkeymaster_configuration.cpp48 uint32_t match_to_uint32(const char* expression, const regmatch_t& match) { in match_to_uint32() argument
53 std::string s(expression + match.rm_so, len); in match_to_uint32()
/system/tools/hidl/test/hidl_test/
DAndroid.bp28 "android.hardware.tests.expression@1.0",
Dstatic_test.cpp10 using ::android::hardware::tests::expression::V1_0::IExpression;
/system/tools/hidl/
DConstantExpression.h116 const std::string& expression() const;
DArrayType.cpp139 base += "/* " + mSizes[i]->expression() + " */"; in getJavaType()
DConstantExpression.cpp468 const std::string& ConstantExpression::expression() const { in expression() function in android::ConstantExpression
/system/extras/perfprofd/
DAndroid.bp34 "-Wno-gnu-statement-expression",
/system/sepolicy/tools/sepolicy-analyze/
DREADME12 (i.e. default boolean values yield a true conditional expression).
/system/extras/simpleperf/
DAndroid.bp35 "-Wno-gnu-statement-expression",

12