HomeSort by relevance Sort by last modified time
    Searched refs:isOneOf (Results 1 - 25 of 46) sorted by null

1 2

  /external/apache-http/src/org/apache/http/impl/
DefaultHttpRequestFactory.java 78 private static boolean isOneOf(final String[] methods, final String method) {
93 if (isOneOf(RFC2616_COMMON_METHODS, method)) {
95 } else if (isOneOf(RFC2616_ENTITY_ENC_METHODS, method)) {
97 } else if (isOneOf(RFC2616_SPECIAL_METHODS, method)) {
106 if (isOneOf(RFC2616_COMMON_METHODS, method)) {
108 } else if (isOneOf(RFC2616_ENTITY_ENC_METHODS, method)) {
110 } else if (isOneOf(RFC2616_SPECIAL_METHODS, method)) {
  /external/clang/lib/Format/
TokenAnnotator.cpp 78 if (CurrentToken->isOneOf(tok::r_paren, tok::r_square, tok::r_brace) ||
79 (CurrentToken->isOneOf(tok::colon, tok::question) && InExprContext))
87 if (CurrentToken->Previous->isOneOf(tok::pipepipe, tok::ampamp) &&
123 (Left->Previous->isOneOf(tok::kw_static_assert, tok::kw_decltype,
136 !Left->Previous->isOneOf(tok::identifier,
158 bool MightBeFunctionType = CurrentToken->isOneOf(tok::star, tok::amp);
174 Prev->isOneOf(tok::star, tok::amp, tok::ampamp) &&
183 CurrentToken->Previous->Previous->isOneOf(tok::l_paren,
222 if (CurrentToken->isOneOf(tok::r_square, tok::r_brace))
231 if (CurrentToken->isOneOf(tok::kw_const, tok::kw_auto) |
    [all...]
ContinuationIndenter.cpp 105 Previous.Previous->isOneOf(tok::l_brace, tok::l_paren, tok::comma))
153 !Current.isOneOf(tok::r_paren, tok::r_brace))
179 !Previous.isOneOf(tok::kw_return, tok::lessless, tok::at) &&
180 !Previous.isOneOf(TT_InlineASMColon, TT_ConditionalExpr) &&
246 Previous.is(tok::l_brace) && !Current.isOneOf(tok::r_brace, tok::comment))
337 !Previous.Previous->isOneOf(tok::kw_for, tok::kw_while, tok::kw_switch)))
367 Previous.Previous->isOneOf(tok::kw_if, tok::kw_for)) {
372 } else if (!Current.isOneOf(tok::comment, tok::caret) &&
376 } else if ((Previous.isOneOf(TT_BinaryOperator, TT_ConditionalExpr,
472 PreviousNonComment->isOneOf(TT_ObjCMethodExpr, TT_DictLiteral))
    [all...]
FormatToken.h 290 template <typename A, typename B> bool isOneOf(A K1, B K2) const {
294 bool isOneOf(A K1, B K2, Ts... Ks) const {
295 return is(K1) || isOneOf(K2, Ks...);
306 return isOneOf(tok::kw_public, tok::kw_protected, tok::kw_private) &&
322 return isOneOf(tok::l_paren, tok::l_brace, tok::l_square,
327 return isOneOf(tok::r_paren, tok::r_brace, tok::r_square,
333 return isOneOf(tok::arrow, tok::period, tok::arrowstar) &&
334 !isOneOf(TT_DesignatedInitializerPeriod, TT_TrailingReturnArrow,
UnwrappedLineFormatter.cpp 93 (RootToken.isOneOf(Keywords.kw_signals, Keywords.kw_qsignals) &&
231 if (TheLine->First->isOneOf(tok::kw_for, tok::kw_while)) {
236 if (TheLine->First->isOneOf(tok::kw_case, tok::kw_default)) {
278 if (I[1]->First->isOneOf(tok::semi, tok::kw_if, tok::kw_for, tok::kw_while,
293 I[1]->First->isOneOf(tok::kw_case, tok::kw_default))
304 if (Line->First->isOneOf(tok::kw_case, tok::kw_default, tok::r_brace))
306 if (Line->First->isOneOf(tok::kw_if, tok::kw_for, tok::kw_switch,
327 Line.First->isOneOf(tok::at, tok::minus, tok::plus))
332 if (Line.First->isOneOf(tok::kw_else, tok::kw_case) ||
335 if (Line.First->isOneOf(tok::kw_if, tok::kw_while, tok::kw_do, tok::kw_try
    [all...]
UnwrappedLineParser.cpp 342 ProbablyBracedList = NextTok->isOneOf(tok::comma, tok::r_square);
346 bool NextIsObjCMethod = NextTok->isOneOf(tok::plus, tok::minus) &&
358 NextTok->isOneOf(tok::comma, tok::period, tok::colon,
403 assert(FormatTok->isOneOf(tok::l_brace, TT_MacroBlockBegin) &&
789 if (FormatTok->isOneOf(Keywords.kw_signals, Keywords.kw_qsignals,
822 if (FormatTok->isOneOf(Keywords.kw_NS_ENUM, Keywords.kw_NS_OPTIONS,
983 (Line->Tokens.back().Tok->isOneOf(tok::identifier, tok::kw_operator,
1048 if (!FormatTok->isOneOf(tok::comma, tok::identifier)) {
1060 if (!FormatTok->isOneOf(tok::identifier, tok::kw_this))
    [all...]
TokenAnnotator.h 95 return !Last->isOneOf(tok::semi, tok::comment);
Format.cpp     [all...]
  /external/clang/include/clang/Lex/
Token.h 97 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2) const {
101 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2, Ts... Ks) const {
102 return is(K1) || isOneOf(K2, Ks...);
  /external/clang/lib/Parse/
ParseTentative.cpp 182 while (Tok.isOneOf(tok::l_square, tok::kw___attribute, tok::kw___declspec,
198 if (Tok.isOneOf(tok::identifier, tok::coloncolon, tok::kw_decltype,
292 if (Tok.isOneOf(tok::kw_asm, tok::kw___attribute))
373 if (Tok.isOneOf(tok::equal, tok::kw_asm, tok::kw___attribute))
450 (Tok.isOneOf(tok::greater, tok::comma) ||
626 if (Tok.isOneOf(tok::coloncolon, tok::identifier))
630 if (Tok.isOneOf(tok::star, tok::amp, tok::caret, tok::ampamp) ||
634 while (Tok.isOneOf(tok::kw_const, tok::kw_volatile, tok::kw_restrict,
804 if ((Tok.isOneOf(tok::identifier, tok::kw_operator) ||
834 if (Tok.isOneOf(tok::kw___attribute, tok::kw___declspec, tok::kw___cdecl
    [all...]
ParseTemplate.cpp 65 assert(Tok.isOneOf(tok::kw_export, tok::kw_template) &&
149 } while (Tok.isOneOf(tok::kw_export, tok::kw_template));
381 } else if (Tok.isOneOf(tok::greater, tok::greatergreater)) {
498 assert(Tok.isOneOf(tok::kw_class, tok::kw_typename) &&
520 } else if (Tok.isOneOf(tok::equal, tok::comma, tok::greater,
581 bool Replace = Tok.isOneOf(tok::kw_typename, tok::kw_struct);
591 } else if (Next.isOneOf(tok::identifier, tok::comma, tok::greater,
617 } else if (Tok.isOneOf(tok::equal, tok::comma, tok::greater,
815 (Next.isOneOf(tok::greater, tok::greatergreater,
    [all...]
ParseDeclCXX.cpp 696 assert(Tok.isOneOf(tok::kw_static_assert, tok::kw__Static_assert) &&
764 assert(Tok.isOneOf(tok::kw_decltype, tok::annot_decltype)
    [all...]
ParseCXXInlineMethods.cpp 32 assert(Tok.isOneOf(tok::l_brace, tok::colon, tok::kw_try, tok::equal) &&
191 assert(Tok.isOneOf(tok::l_brace, tok::equal) &&
511 assert(Tok.isOneOf(tok::l_brace, tok::colon, tok::kw_try)
826 if (Tok.isOneOf(tok::identifier, tok::kw_template)) {
    [all...]
ParseExpr.cpp 493 if (!NextToken.isOneOf(tok::equal, tok::arrow, tok::period))
    [all...]
ParseDecl.cpp 289 IsIdentifierArg = Next.isOneOf(tok::r_paren, tok::comma);
    [all...]
ParseStmt.cpp 122 WantTypeSpecifiers = nextTok.isOneOf(tok::l_paren, tok::less, tok::l_square,
125 nextTok.isOneOf(tok::l_paren, tok::identifier, tok::arrow, tok::period);
127 nextTok.isOneOf(tok::l_paren, tok::semi, tok::identifier, tok::l_brace);
    [all...]
ParseExprCXX.cpp 257 Tok.isOneOf(tok::kw_decltype, tok::annot_decltype)) {
490 assert(Tok.isOneOf(tok::coloncolon, tok::colon) &&
    [all...]
  /external/hamcrest/library/src/org/hamcrest/collection/
IsIn.java 42 public static <T> Matcher<T> isOneOf(T... elements) {
  /external/apache-http/src/org/apache/http/message/
BasicHeaderValueParser.java 309 private static boolean isOneOf(final char ch, final char[] chs) {
344 if (isOneOf(ch, delimiters)) {
375 if (!qouted && !escaped && isOneOf(ch, delimiters)) {
  /external/clang/lib/Lex/
TokenConcatenation.cpp 181 if (Tok.isOneOf(tok::equal, tok::equalequal))
187 assert(Tok.isOneOf(tok::annot_module_include, tok::annot_module_begin,
242 Tok.isOneOf(tok::wide_string_literal, tok::utf8_string_literal,
PPMacroExpansion.cpp 733 if (ContainsCodeCompletionTok && Tok.isOneOf(tok::eof, tok::eod))
736 assert(Tok.isOneOf(tok::l_paren, tok::comma) &&
751 if (Tok.isOneOf(tok::eof, tok::eod)) { // "#if f(<eof>" & "#if f(\n"
    [all...]
TokenLexer.cpp 188 if (CurTok.isOneOf(tok::hash, tok::hashat)) {
    [all...]
  /external/hamcrest/library/src/org/hamcrest/
Matchers.java 221 public static <T> org.hamcrest.Matcher<T> isOneOf(T... elements) {
222 return org.hamcrest.collection.IsIn.isOneOf(elements);
  /prebuilts/tools/common/m2/repository/org/hamcrest/hamcrest-library/1.1/
hamcrest-library-1.1.jar 
  /prebuilts/tools/common/m2/repository/org/hamcrest/hamcrest-library/1.3/
hamcrest-library-1.3.jar 

Completed in 5481 milliseconds

1 2