Home
last modified time | relevance | path

Searched refs:semi (Results 1 – 25 of 119) sorted by relevance

12345

/external/chromium_org/third_party/WebKit/Source/platform/
DContentType.cpp44 size_t semi = strippedType.find(';'); in parameter() local
45 if (semi != kNotFound) { in parameter()
46 size_t start = strippedType.find(parameterName, semi + 1, false); in parameter()
72 size_t semi = strippedType.find(';'); in type() local
73 if (semi != kNotFound) in type()
74 strippedType = strippedType.left(semi).stripWhiteSpace(); in type()
/external/clang/lib/Parse/
DParseDeclCXX.cpp96 SkipUntil(tok::semi); in ParseNamespace()
252 SkipUntil(tok::semi); in ParseNamespaceAlias()
262 ExpectAndConsume(tok::semi, diag::err_expected_semi_after_namespace_name, in ParseNamespaceAlias()
263 "", tok::semi); in ParseNamespaceAlias()
409 SkipUntil(tok::semi); in ParseUsingDirective()
427 ExpectAndConsume(tok::semi, in ParseUsingDirective()
430 "", tok::semi); in ParseUsingDirective()
479 SkipUntil(tok::semi); in ParseUsingDeclaration()
497 Tok.is(tok::identifier) && NextToken().is(tok::semi) && in ParseUsingDeclaration()
508 SkipUntil(tok::semi); in ParseUsingDeclaration()
[all …]
DParseStmt.cpp163 Next.is(tok::l_paren) || Next.is(tok::semi) || in ParseStatementOrDeclarationAfterAttributes()
171 if (Tok.is(tok::semi)) in ParseStatementOrDeclarationAfterAttributes()
207 case tok::semi: { // C99 6.8.3p3: expression[opt] ';' in ParseStatementOrDeclarationAfterAttributes()
314 if (Tok.is(tok::semi)) { in ParseStatementOrDeclarationAfterAttributes()
320 ExpectAndConsume(tok::semi, diag::err_expected_semi_after_stmt, SemiError); in ParseStatementOrDeclarationAfterAttributes()
340 if (Tok.is(tok::semi)) in ParseExprStatement()
578 } else if (Tok.is(tok::semi)) { in ParseCaseStatement()
654 } else if (Tok.is(tok::semi)) { in ParseDefaultStatement()
871 SkipUntil(tok::semi); in ParseCompoundStatementBody()
933 SkipUntil(tok::semi); in ParseParenExprOrCondition()
[all …]
DParser.cpp149 case tok::semi: in IsCommonTypo()
198 if (Tok.is(tok::semi) || Tok.is(tok::code_completion)) { in ExpectAndConsumeSemi()
204 NextToken().is(tok::semi)) { in ExpectAndConsumeSemi()
213 return ExpectAndConsume(tok::semi, DiagID); in ExpectAndConsumeSemi()
217 if (!Tok.is(tok::semi)) return; in ConsumeExtraSemi()
224 while ((Tok.is(tok::semi) && !Tok.isAtStartOfLine())) { in ConsumeExtraSemi()
347 case tok::semi: in SkipUntil()
662 case tok::semi: in ParseExternalDeclaration()
689 ExpectAndConsume(tok::semi, diag::err_expected_semi_after, in ParseExternalDeclaration()
807 Tok.is(tok::semi) || // int X(); -> not a function def in isDeclarationAfterDeclarator()
[all …]
DParseObjc.cpp89 SkipUntil(tok::semi); in ParseObjCAtDirectives()
111 SkipUntil(tok::semi); in ParseObjCAtClassDeclaration()
125 if (ExpectAndConsume(tok::semi, diag::err_expected_semi_after, "@class")) in ParseObjCAtClassDeclaration()
404 if (Tok.is(tok::semi)) in ParseObjCInterfaceDeclList()
417 if (Tok.is(tok::semi)) { in ParseObjCInterfaceDeclList()
461 SkipUntil(tok::semi); in ParseObjCInterfaceDeclList()
517 ExpectAndConsume(tok::semi, diag::err_expected_semi_decl_list); in ParseObjCInterfaceDeclList()
1293 if (Tok.is(tok::semi)) { in ParseObjCClassInstanceVariables()
1367 if (Tok.is(tok::semi)) { in ParseObjCClassInstanceVariables()
1419 if (Tok.is(tok::semi)) { // forward declaration of one protocol. in ParseObjCAtProtocolDeclaration()
[all …]
DParseDecl.cpp1421 if (Tok.is(tok::semi)) { in ParseSimpleDeclaration()
1479 case tok::semi: in MightBeDeclarator()
1516 if (Tok.is(tok::semi)) in SkipMalformedDecl()
1533 case tok::semi: in SkipMalformedDecl()
1634 SkipUntil(tok::semi); in ParseDeclGroup()
1732 if (Tok.is(tok::semi)) in ParseDeclGroup()
1748 SkipUntil(tok::semi, true, true); in ParseAsmAttributesAfterDeclarator()
1804 if (Tok.is(tok::semi) && in ParseDeclarationAfterDeclaratorAndAttributes()
1806 SkipUntil(tok::semi, true, true); in ParseDeclarationAfterDeclaratorAndAttributes()
1816 if (Tok.is(tok::semi)) { in ParseDeclarationAfterDeclaratorAndAttributes()
[all …]
DParseCXXInlineMethods.cpp77 SkipUntil(tok::semi); in ParseCXXInlineMethodDef()
105 SkipUntil(tok::semi); in ParseCXXInlineMethodDef()
107 ExpectAndConsume(tok::semi, diag::err_expected_semi_after, in ParseCXXInlineMethodDef()
108 Delete ? "delete" : "default", tok::semi); in ParseCXXInlineMethodDef()
636 case tok::semi: in ConsumeAndStoreUntil()
DParseTemplate.cpp124 if (Tok.is(tok::semi)) in ParseTemplateDeclarationOrSpecialization()
195 if (Tok.is(tok::semi)) { in ParseSingleDeclarationAfterTemplate()
220 if (Tok.is(tok::semi)) in ParseSingleDeclarationAfterTemplate()
279 SkipUntil(tok::semi, true, false); in ParseSingleDeclarationAfterTemplate()
DParseExprCXX.cpp1369 case tok::semi: in ParseThrowExpression()
1519 SkipUntil(tok::semi); in ParseCXXCondition()
2411 SkipUntil(tok::semi, /*StopAtSemi=*/true, /*DontConsume=*/true); in ParseCXXNewExpression()
2418 SkipUntil(tok::semi, /*StopAtSemi=*/true, /*DontConsume=*/true); in ParseCXXNewExpression()
2461 SkipUntil(tok::semi, /*StopAtSemi=*/true, /*DontConsume=*/true); in ParseCXXNewExpression()
2476 SkipUntil(tok::semi, /*StopAtSemi=*/true, /*DontConsume=*/true); in ParseCXXNewExpression()
2483 SkipUntil(tok::semi, /*StopAtSemi=*/true, /*DontConsume=*/true); in ParseCXXNewExpression()
DRAIIObjectsForParser.h381 tok::TokenKind FinalToken = tok::semi)
/external/clang/lib/Format/
DUnwrappedLineParser.cpp287 if (NextTok->isOneOf(tok::comma, tok::semi, tok::r_paren, in calculateBraceTypes()
299 case tok::semi: in calculateBraceTypes()
458 return Tok.isNot(tok::semi) && Tok.isNot(tok::l_brace) && in tokenCanStartNewLine()
580 case tok::semi: in parseStructuralElement()
671 case tok::semi: in parseBracedList()
691 if (FormatTok->Tok.isNot(tok::semi)) { in parseReturn()
704 case tok::semi: in parseReturn()
812 if (FormatTok->Tok.is(tok::semi)) in parseNamespace()
992 if (FormatTok->Tok.is(tok::semi)) in parseRecord()
1063 if (FormatTok->Tok.is(tok::semi)) { in parseObjCProtocol()
DTokenAnnotator.cpp608 } else if (Current.is(tok::semi)) { in determineTokenType()
652 Current.Next->isOneOf(tok::equal, tok::semi, tok::l_brace); in determineTokenType()
738 tok::comma, tok::semi, tok::kw_return, tok::colon, in determineStarAmpUsage()
862 else if (Current->is(tok::semi) || Current->Type == TT_InlineASMColon) in parse()
1029 if (Left.is(tok::semi)) in splitPenalty()
1117 if (Right.isOneOf(tok::r_paren, tok::semi, tok::comma)) in spaceRequiredBetween()
1175 tok::kw_delete, tok::semi); in spaceRequiredBetween()
1309 return !Right.isOneOf(tok::l_brace, tok::semi, tok::equal); in canBreakBefore()
1324 Left.isOneOf(tok::comma, tok::coloncolon, tok::semi, tok::l_brace, in canBreakBefore()
DFormat.cpp658 if ((Previous.isOneOf(tok::comma, tok::semi) && in addTokenToState()
689 if (TokenBefore && !TokenBefore->isOneOf(tok::comma, tok::semi) && in addTokenToState()
1232 if (Previous.is(tok::semi) && State.LineContainsContinuedForLoopSection) in mustBreak()
1240 if ((Previous.isOneOf(tok::comma, tok::semi) || Current.is(tok::question) || in mustBreak()
1724 if ((I + 1)->First->isOneOf(tok::semi, tok::kw_if, tok::kw_for, in tryMergeSimpleControlStatement()
1756 Tok->getNextNonComment()->is(tok::semi))) { in tryMergeSimpleBlock()
1864 (RootToken.Next->is(tok::semi) && !RootToken.Next->Next))) in formatFirstToken()
1870 if (PreviousToken && PreviousToken->isOneOf(tok::semi, tok::r_brace) && in formatFirstToken()
/external/bison/tests/
Dactions.at1551 : 'a' { semi; /* TEST:N:2 */ }
1553 | 'c' { if (0) {semi;} /* TEST:N:2 */ }
1554 | 'd' { semi; no_semi /* TEST:Y:2 */ }
1555 | 'e' { semi(); no_semi() /* TEST:Y:2 */ }
1556 | 'f' { semi[]; no_semi[] /* TEST:Y:2 */ }
1557 | 'g' { semi++; no_semi++ /* TEST:Y:2 */ }
1559 | 'i' { {semi;} no_semi /* TEST:Y:2 */ }
1562 : 'a' { semi; // TEST:N:1 ;
1564 } | 'c' { if (0) {semi;} // TEST:N:1 ;
1565 } | 'd' { semi; no_semi // TEST:Y:1 ;
[all …]
/external/oauth/core/src/main/java/net/oauth/
DOAuth.java80 int semi = contentType.indexOf(";"); in isFormEncoded() local
81 if (semi >= 0) { in isFormEncoded()
82 contentType = contentType.substring(0, semi); in isFormEncoded()
/external/ipsec-tools/src/libipsec/
Dpolicy_token.l84 semi \;
/external/icu4c/tools/toolutil/
Dppucd.cpp145 char *semi=line; in readLine() local
146 while((semi=strchr(semi, ';'))!=NULL) { *semi++=0; } in readLine()
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/gas/tests/
DMakefile.inc27 EXTRA_DIST += modules/parsers/gas/tests/gas-semi.asm
28 EXTRA_DIST += modules/parsers/gas/tests/gas-semi.hex
/external/ipsec-tools/src/racoon/
Dcftoken.l126 semi \;
/external/llvm/lib/TableGen/
DTGLexer.h40 colon, semi, // : ; enumerator
DTGParser.cpp397 case tgtok::semi: in ParseObjectName()
1517 case tgtok::semi: in ParseValue()
1824 if (Lex.getCode() != tgtok::semi) in ParseBodyItem()
1856 if (Lex.getCode() != tgtok::semi) in ParseBodyItem()
1872 if (Lex.getCode() == tgtok::semi) { in ParseBody()
2243 else if (Lex.getCode() != tgtok::semi) in ParseMultiClass()
2545 if (Lex.getCode() != tgtok::semi) in ParseDefm()
DTGLexer.cpp103 case ';': return tgtok::semi; in LexToken()
/external/chromium_org/v8/test/webkit/
Dbreak-ASI-expected.txt24 Test to make sure we don't incorrectly insert a semi colon after a break statement
/external/chromium_org/chrome/browser/ui/cocoa/
Dbackground_gradient_view.mm66 // If the background image is semi transparent then we need something
/external/eigen/doc/
DTopicLinearAlgebraDecompositions.dox243 …<dd>A selfadjoint matrix \f$ A \f$ is positive semi-definite if \f$ v^* A v \ge 0 \f$ for any non …
244 …In the same vein, it is negative semi-definite if \f$ v^* A v \le 0 \f$ for any non zero vector \f…

12345