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

1 2 3

  /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 91 if (CurrentToken->isOneOf(tok::r_paren, tok::r_square, tok::r_brace) ||
92 (CurrentToken->isOneOf(tok::colon, tok::question) && InExprContext))
100 if (CurrentToken->Previous->isOneOf(tok::pipepipe, tok::ampamp) &&
142 (Left->Previous->isOneOf(tok::kw_static_assert, tok::kw_decltype,
180 Left->Previous && Left->Previous->isOneOf(tok::kw_for, tok::kw_catch);
190 bool ProbablyFunctionType = CurrentToken->isOneOf(tok::star, tok::amp);
206 Prev->isOneOf(tok::star, tok::amp, tok::ampamp) &&
215 CurrentToken->Previous->Previous->isOneOf(tok::l_paren,
237 Tok->isOneOf(tok::star, tok::amp, tok::ampamp))
267 if (CurrentToken->isOneOf(tok::r_square, tok::r_brace)
    [all...]
ContinuationIndenter.cpp 111 Previous.Previous->isOneOf(tok::l_brace, tok::l_paren, tok::comma))
165 !Current.isOneOf(tok::r_paren, tok::r_brace))
198 !Previous.isOneOf(tok::kw_return, tok::lessless, tok::at) &&
199 !Previous.isOneOf(TT_InlineASMColon, TT_ConditionalExpr) &&
265 Previous.is(tok::l_brace) && !Current.isOneOf(tok::r_brace, tok::comment))
356 Previous.isOneOf(tok::l_paren, TT_TemplateOpener, tok::l_square) &&
359 !Previous.Previous->isOneOf(tok::kw_for, tok::kw_while,
399 Previous.Previous->isOneOf(tok::kw_if, tok::kw_for)) {
404 } else if (!Current.isOneOf(tok::comment, tok::caret) &&
409 } else if ((Previous.isOneOf(TT_BinaryOperator, TT_ConditionalExpr
    [all...]
FormatToken.h 291 template <typename A, typename B> bool isOneOf(A K1, B K2) const {
295 bool isOneOf(A K1, B K2, Ts... Ks) const {
296 return is(K1) || isOneOf(K2, Ks...);
321 return isOneOf(tok::kw_public, tok::kw_protected, tok::kw_private) &&
337 return isOneOf(tok::l_paren, tok::l_brace, tok::l_square,
342 return isOneOf(tok::r_paren, tok::r_brace, tok::r_square,
348 return isOneOf(tok::arrow, tok::period, tok::arrowstar) &&
349 !isOneOf(TT_DesignatedInitializerPeriod, TT_TrailingReturnArrow,
UnwrappedLineParser.cpp 350 ProbablyBracedList = NextTok->isOneOf(tok::comma, tok::r_square);
354 bool NextIsObjCMethod = NextTok->isOneOf(tok::plus, tok::minus) &&
367 NextTok->isOneOf(Keywords.kw_of, Keywords.kw_in)) ||
368 NextTok->isOneOf(tok::comma, tok::period, tok::colon,
414 assert(FormatTok->isOneOf(tok::l_brace, TT_MacroBlockBegin) &&
671 !FormatTok->isOneOf(Keywords.kw_in, Keywords.kw_of, Keywords.kw_as,
690 return FormatTok->isOneOf(
738 Previous->isOneOf(tok::r_square, tok::r_paren,
903 if (FormatTok->isOneOf(Keywords.kw_signals, Keywords.kw_qsignals,
944 if (FormatTok->isOneOf(Keywords.kw_NS_ENUM, Keywords.kw_NS_OPTIONS
    [all...]
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...]
FormatTokenLexer.cpp 144 return Tok->isOneOf(tok::period, tok::l_paren, tok::comma, tok::l_brace,
147 Tok->isOneOf(tok::kw_return, tok::kw_do, tok::kw_case, tok::kw_throw,
161 if (Prev->isOneOf(tok::plusplus, tok::minusminus))
178 if (!RegexToken->isOneOf(tok::slash, tok::slashequal))
490 FormatTok->isOneOf(tok::kw_struct, tok::kw_union, tok::kw_delete,
495 FormatTok->isOneOf(tok::kw_struct, tok::kw_union,
FormatToken.cpp 84 if (!LBrace || !LBrace->isOneOf(tok::l_brace, TT_ArrayInitializerLSquare) ||
149 !Token->isOneOf(tok::l_brace, TT_ArrayInitializerLSquare))
TokenAnnotator.h 103 return !Last->isOneOf(tok::semi, tok::comment);
SortJavaScriptImports.cpp 330 if (!Current || !Current->isOneOf(Keywords.kw_import, tok::kw_export))
  /external/clang/include/clang/Lex/
Token.h 96 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2) const {
100 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2, Ts... Ks) const {
101 return is(K1) || isOneOf(K2, Ks...);
  /external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/collection/
IsIn.java 99 * <pre>assertThat("foo", isOneOf("bar", "foo"))</pre>
108 public static <T> Matcher<T> isOneOf(T... elements) {
  /external/clang/lib/Parse/
ParseTentative.cpp 183 while (Tok.isOneOf(tok::l_square, tok::kw___attribute, tok::kw___declspec,
199 if (Tok.isOneOf(tok::identifier, tok::coloncolon, tok::kw_decltype,
293 if (Tok.isOneOf(tok::kw_asm, tok::kw___attribute))
434 if (Tok.isOneOf(tok::equal, tok::kw_asm, tok::kw___attribute) ||
528 (Tok.isOneOf(tok::greater, tok::comma) ||
695 if (Tok.isOneOf(tok::coloncolon, tok::identifier))
699 if (Tok.isOneOf(tok::star, tok::amp, tok::caret, tok::ampamp) ||
703 while (Tok.isOneOf(tok::kw_const, tok::kw_volatile, tok::kw_restrict,
873 if ((Tok.isOneOf(tok::identifier, tok::kw_operator) ||
903 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) &&
147 } while (Tok.isOneOf(tok::kw_export, tok::kw_template));
386 } else if (Tok.isOneOf(tok::greater, tok::greatergreater)) {
503 assert(Tok.isOneOf(tok::kw_class, tok::kw_typename) &&
525 } else if (Tok.isOneOf(tok::equal, tok::comma, tok::greater,
586 bool Replace = Tok.isOneOf(tok::kw_typename, tok::kw_struct);
596 } else if (Next.isOneOf(tok::identifier, tok::comma, tok::greater,
622 } else if (Tok.isOneOf(tok::equal, tok::comma, tok::greater,
819 (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) &&
198 assert(Tok.isOneOf(tok::l_brace, tok::equal) &&
518 assert(Tok.isOneOf(tok::l_brace, tok::colon, tok::kw_try)
835 if (Tok.isOneOf(tok::identifier, tok::kw_template)) {
    [all...]
ParseExpr.cpp 506 if (!NextToken.isOneOf(tok::equal, tok::arrow, tok::period))
    [all...]
ParseDecl.cpp 290 IsIdentifierArg = Next.isOneOf(tok::r_paren, tok::comma);
    [all...]
ParseStmt.cpp 129 WantTypeSpecifiers = nextTok.isOneOf(tok::l_paren, tok::less, tok::l_square,
132 nextTok.isOneOf(tok::l_paren, tok::identifier, tok::arrow, tok::period);
134 nextTok.isOneOf(tok::l_paren, tok::semi, tok::identifier, tok::l_brace);
    [all...]
  /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 732 if (ContainsCodeCompletionTok && Tok.isOneOf(tok::eof, tok::eod))
735 assert(Tok.isOneOf(tok::l_paren, tok::comma) &&
750 if (Tok.isOneOf(tok::eof, tok::eod)) { // "#if f(<eof>" & "#if f(\n"
    [all...]
  /prebuilts/tools/common/m2/repository/org/hamcrest/hamcrest-library/1.1/
hamcrest-library-1.1.jar 
  /prebuilts/misc/common/robolectric/lib/
hamcrest-library-1.3.jar 
  /prebuilts/tools/common/m2/repository/org/hamcrest/hamcrest-library/1.3/
hamcrest-library-1.3.jar 

Completed in 367 milliseconds

1 2 3