/external/llvm/lib/MC/MCParser/ |
D | ELFAsmParser.cpp | 170 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseDirectiveSymbolAttribute() 184 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSymbolAttribute() 197 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseSectionSwitch() 214 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSize() 222 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveSize() 394 if (IsPush && getLexer().isNot(AsmToken::String)) { in ParseSectionArguments() 397 if (getLexer().isNot(AsmToken::Comma)) in ParseSectionArguments() 404 if (getLexer().isNot(AsmToken::String)) { in ParseSectionArguments() 406 || getLexer().isNot(AsmToken::Hash)) in ParseSectionArguments() 425 if (getLexer().isNot(AsmToken::Comma)) { in ParseSectionArguments() [all …]
|
D | DarwinAsmParser.cpp | 377 if (getLexer().isNot(AsmToken::EndOfStatement)) in parseSectionSwitch() 412 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveDesc() 420 if (getLexer().isNot(AsmToken::EndOfStatement)) in parseDirectiveDesc() 456 if (getLexer().isNot(AsmToken::EndOfStatement)) in parseDirectiveIndirectSymbol() 469 if (getLexer().isNot(AsmToken::String)) in parseDirectiveDumpOrLoad() 474 if (getLexer().isNot(AsmToken::EndOfStatement)) in parseDirectiveDumpOrLoad() 492 if (getLexer().isNot(AsmToken::String)) in parseDirectiveLinkerOption() 505 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveLinkerOption() 524 if (getLexer().isNot(AsmToken::Comma)) in parseDirectiveLsym() 532 if (getLexer().isNot(AsmToken::EndOfStatement)) in parseDirectiveLsym() [all …]
|
D | COFFAsmParser.cpp | 268 if (getLexer().isNot(AsmToken::EndOfStatement)) { in ParseDirectiveSymbolAttribute() 282 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSymbolAttribute() 303 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseSectionSwitch() 349 if (getLexer().isNot(AsmToken::String)) in ParseDirectiveSection() 374 if (getLexer().isNot(AsmToken::Comma)) in ParseDirectiveSection() 382 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveSection() 414 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveScl() 427 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveType() 446 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveSecRel32() 461 if (getLexer().isNot(AsmToken::EndOfStatement)) in ParseDirectiveSecIdx() [all …]
|
D | AsmParser.cpp | 632 while (Lexer.isNot(AsmToken::Eof)) { in Run() 699 while (Lexer.isNot(AsmToken::EndOfStatement) && Lexer.isNot(AsmToken::Eof)) in eatToEndOfStatement() 710 while (Lexer.isNot(AsmToken::EndOfStatement) && Lexer.isNot(AsmToken::Eof)) in parseStringToEndOfStatement() 720 while (Lexer.isNot(AsmToken::EndOfStatement) && in parseStringToComma() 721 Lexer.isNot(AsmToken::Comma) && Lexer.isNot(AsmToken::Eof)) in parseStringToComma() 736 if (Lexer.isNot(AsmToken::RParen)) in parseParenExpr() 751 if (Lexer.isNot(AsmToken::RBrac)) in parseBracketExpr() 819 if (Lexer.isNot(AsmToken::RParen)) { in parsePrimaryExpr() 1022 if (Lexer.isNot(AsmToken::Identifier)) in parseExpression() 1668 if (getLexer().isNot(AsmToken::Integer)) { in parseCppHashLineFilenameComment() [all …]
|
/external/clang/lib/Parse/ |
D | ParsePragma.cpp | 419 if (Tok.isNot(tok::l_brace)) { in HandlePragmaCaptured() 513 while (Tok.isNot(tok::eof)) in HandlePragmaMSPragma() 521 if (Tok.isNot(tok::l_paren)) { in HandlePragmaMSSection() 527 if (Tok.isNot(tok::string_literal)) { in HandlePragmaMSSection() 585 if (Tok.isNot(tok::r_paren)) { in HandlePragmaMSSection() 590 if (Tok.isNot(tok::eof)) { in HandlePragmaMSSection() 602 if (Tok.isNot(tok::l_paren)) { in HandlePragmaMSSegment() 631 else if (Tok.isNot(tok::r_paren)) { in HandlePragmaMSSegment() 637 } else if (Tok.isNot(tok::r_paren)) { in HandlePragmaMSSegment() 645 if (Tok.isNot(tok::r_paren)) { in HandlePragmaMSSegment() [all …]
|
D | ParseOpenMP.cpp | 78 if (Tok.isNot(tok::annot_pragma_openmp_end)) { in ParseOpenMPDeclarativeDirective() 158 if (Tok.isNot(tok::annot_pragma_openmp_end)) { in ParseOpenMPDeclarativeOrExecutableDirective() 226 while (Tok.isNot(tok::annot_pragma_openmp_end)) { in ParseOpenMPDeclarativeOrExecutableDirective() 299 while (Tok.isNot(tok::r_paren) && Tok.isNot(tok::annot_pragma_openmp_end)) { in ParseOpenMPSimpleVarList() 317 } else if (Tok.isNot(tok::comma) && Tok.isNot(tok::r_paren) && in ParseOpenMPSimpleVarList() 318 Tok.isNot(tok::annot_pragma_openmp_end)) { in ParseOpenMPSimpleVarList() 527 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in ParseOpenMPSimpleClause() 528 Tok.isNot(tok::annot_pragma_openmp_end)) in ParseOpenMPSimpleClause() 582 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::comma) && in ParseOpenMPSingleExprWithArgClause() 583 Tok.isNot(tok::annot_pragma_openmp_end)) in ParseOpenMPSingleExprWithArgClause() [all …]
|
D | ParseObjc.cpp | 109 if (Tok.isNot(tok::identifier)) { in ParseObjCAtClassDeclaration() 195 if (Tok.isNot(tok::identifier)) { in ParseObjCAtInterfaceDeclaration() 276 if (Tok.isNot(tok::identifier)) { in ParseObjCAtInterfaceDeclaration() 293 if (Tok.isNot(tok::less)) in ParseObjCAtInterfaceDeclaration() 373 if (Tok.isNot(tok::at)) { in ParseObjCInterfaceDeclList() 623 if (Tok.isNot(tok::comma)) in ParseObjCPropertyAttribute() 794 if (Tok.isNot(tok::identifier)) in ParseObjCTypeQualifierList() 991 if (!SelIdent && Tok.isNot(tok::colon)) { // missing selector name. in ParseObjCMethodDecl() 1000 if (Tok.isNot(tok::colon)) { in ParseObjCMethodDecl() 1057 if (Tok.isNot(tok::identifier)) { in ParseObjCMethodDecl() [all …]
|
D | ParseTentative.cpp | 150 if (NextToken().isNot(tok::l_paren)) { in TryConsumeDeclarationSpecifier() 159 if (Tok.isNot(tok::l_paren)) in TryConsumeDeclarationSpecifier() 190 if (Tok.isNot(tok::l_paren)) in TryConsumeDeclarationSpecifier() 204 if (Tok.isNot(tok::identifier) && Tok.isNot(tok::annot_template_id)) in TryConsumeDeclarationSpecifier() 238 if (Tok.isNot(tok::l_paren)) { in TryParseSimpleDeclaration() 251 if (Tok.isNot(tok::semi) && (!AllowForRangeDecl || Tok.isNot(tok::colon))) in TryParseSimpleDeclaration() 505 if (Tok.isNot(tok::l_square) || NextToken().isNot(tok::l_square)) in isCXX11AttributeSpecifier() 565 while (Tok.isNot(tok::r_square)) { in isCXX11AttributeSpecifier() 848 if (Tok.isNot(tok::r_paren)) in TryParseDeclarator() 1155 if (Next.isNot(tok::coloncolon) && Next.isNot(tok::less)) { in isCXXDeclarationSpecifier() [all …]
|
D | ParseInit.cpp | 170 if (Tok.isNot(tok::identifier)) { in ParseInitializerWithPotentialDesignator() 216 NextToken().isNot(tok::period) && in ParseInitializerWithPotentialDesignator() 306 if (getLangOpts().ObjC1 && Tok.isNot(tok::ellipsis) && in ParseInitializerWithPotentialDesignator() 307 Tok.isNot(tok::r_square)) { in ParseInitializerWithPotentialDesignator() 316 if (Tok.isNot(tok::ellipsis)) { in ParseInitializerWithPotentialDesignator() 407 if (Tok.isNot(tok::comma)) break; in ParseBraceInitializer() 443 if (Tok.isNot(tok::comma)) { in ParseBraceInitializer() 450 if (Tok.isNot(tok::comma)) break; in ParseBraceInitializer()
|
D | ParseStmt.cpp | 185 if (Next.isNot(tok::coloncolon)) { in ParseStatementOrDeclarationAfterAttributes() 200 if (Tok.isNot(tok::identifier)) in ParseStatementOrDeclarationAfterAttributes() 424 if (Tok.isNot(tok::l_brace)) in ParseSEHTryBlock() 494 if (Tok.isNot(tok::l_brace)) in ParseSEHExceptBlock() 515 if (Tok.isNot(tok::l_brace)) in ParseSEHFinallyBlock() 738 if (Tok.isNot(tok::r_brace)) { in ParseCaseStatement() 790 if (Tok.isNot(tok::r_brace)) { in ParseDefaultStatement() 927 if (Tok.isNot(tok::identifier)) { in ParseCompoundStatementBody() 950 while (Tok.isNot(tok::r_brace) && !isEofOrEom()) { in ParseCompoundStatementBody() 957 if (Tok.isNot(tok::kw___extension__)) { in ParseCompoundStatementBody() [all …]
|
D | ParseCXXInlineMethods.cpp | 356 if (Tok.isNot(tok::eof) || Tok.getEofData() != Param) { in ParseLexedMethodDeclaration() 371 while (Tok.isNot(tok::eof)) in ParseLexedMethodDeclaration() 440 if (Tok.isNot(tok::eof) || Tok.getEofData() != LM.Method) in ParseLexedMethodDeclaration() 453 while (Tok.isNot(tok::eof)) in ParseLexedMethodDeclaration() 525 while (Tok.isNot(tok::eof)) in ParseLexedMethodDef() 540 while (Tok.isNot(tok::eof)) in ParseLexedMethodDef() 563 while (Tok.isNot(tok::eof)) in ParseLexedMethodDef() 639 if (Tok.isNot(tok::eof)) { in ParseLexedMemberInitializer() 649 while (Tok.isNot(tok::eof)) in ParseLexedMemberInitializer() 769 if (Tok.isNot(tok::colon)) { in ConsumeAndStoreFunctionPrologue() [all …]
|
D | ParseExpr.cpp | 270 if (Tok.isNot(tok::colon)) { in ParseRHSOfBinaryExpression() 732 assert(Tok.isNot(tok::kw_decltype) && Tok.isNot(tok::kw___super)); in ParseCastExpression() 850 if (Tok.isNot(tok::identifier) && in ParseCastExpression() 926 Validator->WantRemainingKeywords = Tok.isNot(tok::r_paren); in ParseCastExpression() 1038 if (Tok.isNot(tok::identifier)) in ParseCastExpression() 1137 if (Tok.isNot(tok::l_paren) && in ParseCastExpression() 1138 (!getLangOpts().CPlusPlus11 || Tok.isNot(tok::l_brace))) in ParseCastExpression() 1457 if (Tok.isNot(tok::r_paren)) { in ParsePostfixExpressionSuffix() 1473 } else if (Tok.isNot(tok::r_paren)) { in ParsePostfixExpressionSuffix() 1625 if (Tok.isNot(tok::l_paren)) { in ParseExprAfterUnaryExprOrTypeTrait() [all …]
|
/external/clang/lib/Format/ |
D | UnwrappedLineParser.cpp | 387 } while (Tok->Tok.isNot(tok::eof) && !LBraceStack.empty()); in calculateBraceTypes() 432 if (I->Tok->isNot(tok::period)) in isGoogScope() 613 return Tok.isNot(tok::semi) && Tok.isNot(tok::l_brace) && in tokenCanStartNewLine() 614 Tok.isNot(tok::l_square) && in tokenCanStartNewLine() 617 Tok.isNot(tok::period) && Tok.isNot(tok::periodstar) && in tokenCanStartNewLine() 618 Tok.isNot(tok::arrow) && Tok.isNot(tok::arrowstar) && in tokenCanStartNewLine() 619 Tok.isNot(tok::less) && Tok.isNot(tok::greater) && in tokenCanStartNewLine() 620 Tok.isNot(tok::slash) && Tok.isNot(tok::percent) && in tokenCanStartNewLine() 621 Tok.isNot(tok::lessless) && Tok.isNot(tok::greatergreater) && in tokenCanStartNewLine() 622 Tok.isNot(tok::equal) && Tok.isNot(tok::plusequal) && in tokenCanStartNewLine() [all …]
|
D | ContinuationIndenter.cpp | 55 (Previous.isNot(TT_CtorInitializerComma) || in startsNextParameter() 103 Previous.isNot(TT_DictLiteral) && Previous.BlockKind == BK_BracedInit && in canBreak() 112 if (Previous.opensScope() && Previous.isNot(tok::l_brace) && in canBreak() 148 (Current.is(TT_ConditionalExpr) && Previous.isNot(tok::question)))) || in mustBreak() 185 Previous.Previous->isNot(TT_BinaryOperator); // For >>. in mustBreak() 189 Current.isNot(TT_BinaryOperator) && // For >>. in mustBreak() 201 if (Current.is(tok::lessless) && Current.isNot(TT_OverloadedOperator) && in mustBreak() 212 if (Previous.is(TT_LeadingJavaAnnotation) && Current.isNot(tok::l_paren) && in mustBreak() 213 Current.isNot(TT_LeadingJavaAnnotation)) in mustBreak() 317 Previous.isNot(TT_ObjCMethodExpr) && in addTokenOnCurrentLine() [all …]
|
D | TokenAnnotator.cpp | 52 Left->Previous && Left->Previous->Tok.isNot(tok::kw_template); in parseAngle() 83 Line.First->isNot(tok::kw_template)) in parseAngle() 166 CurrentToken->is(tok::identifier) && Next->isNot(tok::equal)) { in parseParens() 250 Contexts.back().CanBeExpression && Left->isNot(TT_LambdaLSquare) && in parseSquare() 251 CurrentToken->isNot(tok::l_brace) && in parseSquare() 376 } else if (Left->ParameterCount == 0 && Current->isNot(tok::comment)) { in updateParameterCount() 479 !Contexts.back().IsExpression && Line.First->isNot(TT_ObjCProperty) && in consumeToken() 565 if (CurrentToken->isNot(tok::comment) || CurrentToken->Next) in parseIncludeDirective() 771 (!Current.Previous || Current.Previous->isNot(tok::kw_operator))) { in modifyContext() 786 Previous->Previous && Previous->Previous->isNot(tok::equal)) in modifyContext() [all …]
|
/external/clang/lib/Lex/ |
D | Pragma.cpp | 184 if (Tok.isNot(tok::l_paren)) { in Handle_Pragma() 194 if (Tok.isNot(tok::r_paren) && Tok.isNot(tok::eof)) in Handle_Pragma() 215 if (Tok.isNot(tok::r_paren)) { in Handle_Pragma() 308 if (Tok.isNot(tok::l_paren)) { in HandleMicrosoft__pragma() 317 while (Tok.isNot(tok::eof)) { in HandleMicrosoft__pragma() 390 if (Tok.isNot(tok::raw_identifier)) { in HandlePragmaPoison() 489 while (DependencyTok.isNot(tok::eod)) { in HandlePragmaDependency() 509 if (Tok.isNot(tok::l_paren)) { in ParsePragmaPushOrPopMacro() 517 if (Tok.isNot(tok::string_literal)) { in ParsePragmaPushOrPopMacro() 533 if (Tok.isNot(tok::r_paren)) { in ParsePragmaPushOrPopMacro() [all …]
|
D | MacroArgs.cpp | 105 for (; ArgPtr->isNot(tok::eof); ++ArgPtr) in getArgLength() 135 for (; ArgTok->isNot(tok::eof); ++ArgTok) in ArgNeedsPreexpansion() 176 } while (Result.back().isNot(tok::eof)); in getPreExpArgument() 210 for (; ArgToks->isNot(tok::eof); ++ArgToks) { in StringifyArgument() 308 if (StringifiedArgs[ArgNo].isNot(tok::string_literal)) in getStringifiedArgument()
|
D | PPDirectives.cpp | 99 assert(Tmp.isNot(tok::eof) && "EOF seen while discarding directive tokens"); in DiscardUntilEndOfDirective() 100 } while (Tmp.isNot(tok::eod)); in DiscardUntilEndOfDirective() 246 if (MacroNameTok.isNot(tok::eod)) { in ReadMacroName() 271 if (Tmp.isNot(tok::eod)) { in CheckEndOfDirective() 340 if (Tok.isNot(tok::hash) || !Tok.isAtStartOfLine()) in SkipExcludedConditionalBlock() 355 if (Tok.isNot(tok::raw_identifier)) { in SkipExcludedConditionalBlock() 945 if (DigitTok.isNot(tok::numeric_constant)) { in GetLineValue() 948 if (DigitTok.isNot(tok::eod)) in GetLineValue() 1033 else if (StrTok.isNot(tok::string_literal)) { in HandleLineDirective() 1169 else if (StrTok.isNot(tok::string_literal)) { in HandleDigitDirective() [all …]
|
/external/clang/lib/ARCMigrate/ |
D | Transforms.cpp | 163 if (tok.isNot(tok::semi)) { in findSemiAfterLocation() 413 if (tok.isNot(tok::at)) return false; in rewritePropertyAttribute() 415 if (tok.isNot(tok::raw_identifier)) return false; in rewritePropertyAttribute() 419 if (tok.isNot(tok::l_paren)) return false; in rewritePropertyAttribute() 431 if (tok.isNot(tok::raw_identifier)) return false; in rewritePropertyAttribute() 445 } while (tok.isNot(tok::comma) && tok.isNot(tok::r_paren)); in rewritePropertyAttribute() 453 if (toAttr.empty() && AttrLoc.isValid() && AfterTok.isNot(tok::unknown)) { in rewritePropertyAttribute() 494 if (tok.isNot(tok::at)) return false; in addPropertyAttribute() 496 if (tok.isNot(tok::raw_identifier)) return false; in addPropertyAttribute() 501 if (tok.isNot(tok::l_paren)) { in addPropertyAttribute() [all …]
|
/external/clang/lib/Frontend/Rewrite/ |
D | InclusionRewriter.cpp | 287 } while (!DirectiveToken.is(tok::eod) && DirectiveToken.isNot(tok::eof)); in CommentOutDirective() 318 if (Tok.isNot(tok::l_paren)) in HandleHasInclude() 349 } while (Tok.isNot(tok::greater)); in HandleHasInclude() 354 if (Tok.isNot(tok::string_literal)) in HandleHasInclude() 365 if (Tok.isNot(tok::r_paren)) in HandleHasInclude() 419 while (RawToken.isNot(tok::eof)) { in Process() 518 } while (RawToken.isNot(tok::eod)); in Process() 538 } while (RawToken.isNot(tok::eod) && RawToken.isNot(tok::eof)); in Process() 583 } while (Tok.isNot(tok::eof)); in RewriteIncludesInInput()
|
D | RewriteMacros.cpp | 85 } while (RawTok.isNot(tok::eof)); in LexRawTokensFromMainFile() 114 while (RawTok.isNot(tok::eof) || PPTok.isNot(tok::eof)) { in RewriteMacrosInInput() 147 while (!RawTok.isAtStartOfLine() && RawTok.isNot(tok::eof)) in RewriteMacrosInInput()
|
/external/llvm/lib/Target/Mips/AsmParser/ |
D | MipsAsmParser.cpp | 2577 if (Tok.isNot(AsmToken::Identifier)) in parseRelocOperand() 2593 if (nextTok.isNot(AsmToken::Identifier)) in parseRelocOperand() 2692 if (Tok.isNot(AsmToken::LParen)) { in parseMemOperand() 2723 if (Parser.getTok().isNot(AsmToken::RParen)) { in parseMemOperand() 2878 if (Token.isNot(AsmToken::Dollar)) { in parseAnyRegister() 3017 if (Parser.getTok().isNot(AsmToken::Dollar)) in parseRegisterList() 3065 if (!Parser.getTok().isNot(AsmToken::Minus) && in parseRegisterList() 3066 !Parser.getTok().isNot(AsmToken::Comma)) { in parseRegisterList() 3072 if (Parser.getTok().isNot(AsmToken::Dollar)) in parseRegisterList() 3106 if (Parser.getTok().isNot(AsmToken::Dollar)) in parseMovePRegPair() [all …]
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | CharMatcherTest.java | 25 import static com.google.common.base.CharMatcher.isNot; 117 doTestSetBits(isNot('a')); in testSetBits() 145 doTestEmpty(isNot('a')); in testEmpty() 160 doTestNull(isNot('a')); in testNull() 209 doTestNoMatches(isNot('a'), "aaaa"); in testNoMatches() 237 doTestAllMatches(isNot('a'), "bcde"); in testAllMatches() 311 doTestGeneral(isNot('a'), 'b', 'a'); in testGeneral() 474 assertEqualsSame(expected, in, isNot('x').collapseFrom(in, replacement)); in doTestCollapse() 485 assertSame(inout, isNot('x').collapseFrom(inout, '_')); in doTestCollapseWithNoChange() 528 assertEquals(out, isNot('x').trimFrom(in)); in doTestTrimFrom() [all …]
|
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
D | CharMatcherTest.java | 25 import static com.google.common.base.CharMatcher.isNot; 97 doTestEmpty(isNot('a')); in testEmpty() 140 doTestNoMatches(isNot('a'), "aaaa"); in testNoMatches() 168 doTestAllMatches(isNot('a'), "bcde"); in testAllMatches() 242 doTestGeneral(isNot('a'), 'b', 'a'); in testGeneral() 405 assertEqualsSame(expected, in, isNot('x').collapseFrom(in, replacement)); in doTestCollapse() 416 assertSame(inout, isNot('x').collapseFrom(inout, '_')); in doTestCollapseWithNoChange() 459 assertEquals(out, isNot('x').trimFrom(in)); in doTestTrimFrom() 494 assertEquals(out, isNot('x').trimLeadingFrom(in)); in doTestTrimLeadingFrom() 528 assertEquals(out, isNot('x').trimTrailingFrom(in)); in doTestTrimTrailingFrom() [all …]
|
/external/llvm/include/llvm/MC/MCParser/ |
D | MCAsmLexer.h | 73 bool isNot(TokenKind K) const { return Kind != K; } in isNot() function 184 bool isNot(AsmToken::TokenKind K) const { return CurTok.isNot(K); } in isNot() function
|