/netbsd-current/external/bsd/tcpdump/dist/ |
H A D | af.c | 31 const struct tok af_values[] = { 53 const struct tok bsd_af_values[] = {
|
H A D | l2vpn.c | 36 const struct tok l2vpn_encaps_values[] = { 71 const struct tok mpls_pw_types_values[] = {
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/ARCMigrate/ |
H A D | Transforms.cpp | 155 Token tok; local 156 lexer.LexFromRawLexer(tok); 157 if (tok.isNot(tok::semi)) { 162 return findSemiAfterLocation(tok.getLocation(), Ctx, /*IsDecl*/true); 165 return tok.getLocation(); 403 Token tok; local 404 lexer.LexFromRawLexer(tok); 405 if (tok.isNot(tok 484 Token tok; local [all...] |
/netbsd-current/external/bsd/tradcpp/dist/ |
H A D | eval.c | 94 enum tokens tok; member in struct:__anon7 109 enum tokens tok; member in struct:__anon8 132 enum tokens tok; member in struct:token 142 token_create(const struct place *p, enum tokens tok, int val) argument 148 t->tok = tok; 174 switch (t->tok) { 209 isuop(enum tokens tok) argument 211 switch (tok) { 225 isbop(enum tokens tok) argument 245 isop(enum tokens tok) argument 261 getprec(enum tokens tok) argument 596 token(struct place *p, enum tokens tok, int val) argument [all...] |
/netbsd-current/external/apache2/llvm/dist/clang/lib/Parse/ |
H A D | ParseExprCXX.cpp | 29 static int SelectDigraphErrorMessage(tok::TokenKind Kind) { 32 case tok::unknown: return 0; 34 case tok::kw_addrspace_cast: return 1; 35 case tok::kw_const_cast: return 2; 36 case tok::kw_dynamic_cast: return 3; 37 case tok::kw_reinterpret_cast: return 4; 38 case tok::kw_static_cast: return 5; 54 Token &ColonToken, tok::TokenKind Kind, bool AtDigraph) { 68 ColonToken.setKind(tok::coloncolon); 71 DigraphToken.setKind(tok [all...] |
H A D | ParseOpenMP.cpp | 218 if (Tok.is(tok::kw_operator)) { 224 case tok::plus: // '+' 227 case tok::minus: // '-' 230 case tok::star: // '*' 233 case tok::amp: // '&' 236 case tok::pipe: // '|' 239 case tok::caret: // '^' 242 case tok::ampamp: // '&&' 245 case tok::pipepipe: // '||' 248 case tok [all...] |
/netbsd-current/external/apache2/llvm/dist/clang/lib/Lex/ |
H A D | PPExpressions.cpp | 112 if (PeekTok.is(tok::l_paren)) { 118 if (PeekTok.is(tok::code_completion)) { 149 if (PeekTok.isNot(tok::r_paren)) { 151 << "'defined'" << tok::r_paren; 152 PP.Diag(LParenLoc, diag::note_matching) << tok::l_paren; 235 if (PeekTok.is(tok::code_completion)) { 285 case tok::eod: 286 case tok::r_paren: 290 case tok::numeric_constant: { 362 case tok [all...] |
/netbsd-current/external/bsd/ntp/dist/libjsmn/example/ |
H A D | jsondump.c | 58 jsmntok_t *tok; local 65 tok = malloc(sizeof(*tok) * tokcount); 66 if (tok == NULL) { 96 r = jsmn_parse(&p, js, jslen, tok, tokcount); 100 tok = realloc(tok, sizeof(*tok) * tokcount); 101 if (tok == NULL) { 108 dump(js, tok, [all...] |
H A D | simple.c | 16 static int jsoneq(const char *json, jsmntok_t *tok, const char *s) { argument 17 if (tok->type == JSMN_STRING && (int) strlen(s) == tok->end - tok->start && 18 strncmp(json + tok->start, s, tok->end - tok->start) == 0) {
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/Format/ |
H A D | UnwrappedLineFormatter.cpp | 25 return Line.startsWith(tok::kw_extern) && Next && Next->isStringLiteral() && 26 NextNext && NextNext->is(tok::l_brace); 87 if ((!Line.First->is(tok::comment) || IndentForLevel[Line.Level] == -1) && 104 RootToken.Next && RootToken.Next->is(tok::colon))) { 147 if (!Line->startsWith(tok::r_brace)) 232 I[1]->First->is(tok::r_brace)) 236 if (TheLine->Last->is(tok::l_brace) && TheLine->First == TheLine->Last && 238 bool EmptyBlock = I[1]->First->is(tok::r_brace); 241 if (Tok && Tok->is(tok::comment)) 249 if (Tok && Tok->is(tok [all...] |
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Lex/ |
H A D | Token.h | 65 tok::TokenKind Kind; 92 tok::TokenKind getKind() const { return Kind; } 93 void setKind(tok::TokenKind K) { Kind = K; } 96 /// "if (Tok.is(tok::l_brace)) {...}". 97 bool is(tok::TokenKind K) const { return Kind == K; } 98 bool isNot(tok::TokenKind K) const { return Kind != K; } 99 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2) const { 103 bool isOneOf(tok::TokenKind K1, tok [all...] |
/netbsd-current/usr.sbin/gspa/gspa/ |
H A D | gsp_lex.c | 85 int c, tok, x, len; local 101 tok = '.'; 111 tok = ID; 114 tok = REGISTER; 125 tok = NUMBER; 139 tok = ID; 141 tok = NUMBER; 143 tok = 0; /* eof */ 148 tok = 0; 159 tok [all...] |
/netbsd-current/external/apache2/llvm/dist/clang/lib/AST/ |
H A D | CommentParser.cpp | 29 /// Re-lexes a sequence of tok::text tokens. 99 if (P.Tok.is(tok::newline)) { 103 if (P.Tok.isNot(tok::text)) { 109 if (P.Tok.isNot(tok::text)) { 136 Result.setKind(tok::text); 311 assert(Tok.is(tok::backslash_command) || Tok.is(tok::at_command)); 318 Tok.is(tok::backslash_command) ? CMK_Backslash : CMK_At; 373 else if (Tok.is(tok::newline)) { 403 assert(Tok.is(tok [all...] |
/netbsd-current/external/gpl3/gcc.old/dist/gcc/config/vms/ |
H A D | vms-c.c | 67 int tok; local 70 tok = pragma_lex (&x); 72 if (tok == CPP_EOF) 78 if (tok != CPP_NAME) 112 int tok; local 114 tok = pragma_lex (&x); 115 if (tok == CPP_NAME) 138 tok = pragma_lex (&x); 146 if (tok != CPP_EOF) 196 int tok; local 260 enum cpp_ttype tok; local 296 enum cpp_ttype tok; local [all...] |
/netbsd-current/external/gpl3/gcc/dist/gcc/config/vms/ |
H A D | vms-c.cc | 67 int tok; local 70 tok = pragma_lex (&x); 72 if (tok == CPP_EOF) 78 if (tok != CPP_NAME) 112 int tok; local 114 tok = pragma_lex (&x); 115 if (tok == CPP_NAME) 138 tok = pragma_lex (&x); 146 if (tok != CPP_EOF) 196 int tok; local 260 enum cpp_ttype tok; local 296 enum cpp_ttype tok; local [all...] |
/netbsd-current/external/bsd/mdocml/dist/ |
H A D | mdoc.c | 83 mdoc_tail_alloc(struct roff_man *mdoc, int line, int pos, enum roff_tok tok) argument 87 p = roff_node_alloc(mdoc, line, pos, ROFFT_TAIL, tok); 94 enum roff_tok tok, struct roff_node *body) 100 p = roff_node_alloc(mdoc, line, pos, ROFFT_BODY, tok); 111 enum roff_tok tok, struct mdoc_arg *args) 115 p = roff_node_alloc(mdoc, line, pos, ROFFT_BLOCK, tok); 120 switch (tok) { 138 enum roff_tok tok, struct mdoc_arg *args) 142 p = roff_node_alloc(mdoc, line, pos, ROFFT_ELEM, tok); 147 switch (tok) { 93 mdoc_endbody_alloc(struct roff_man *mdoc, int line, int pos, enum roff_tok tok, struct roff_node *body) argument 110 mdoc_block_alloc(struct roff_man *mdoc, int line, int pos, enum roff_tok tok, struct mdoc_arg *args) argument 137 mdoc_elem_alloc(struct roff_man *mdoc, int line, int pos, enum roff_tok tok, struct mdoc_arg *args) argument 310 enum roff_tok tok; local [all...] |
H A D | manpath.c | 173 size_t linesz, tok, toklen; local 192 for (tok = 0; tok < sizeof(toks)/sizeof(toks[0]); tok++) { 193 toklen = strlen(toks[tok]); 196 strncmp(cp, toks[tok], toklen) == 0) { 204 switch (tok) { 241 size_t len, tok; local 243 for (tok = 0; tok < sizeo [all...] |
/netbsd-current/external/mit/isl/dist/ |
H A D | isl_schedule_read.c | 77 struct isl_token *tok; local 89 tok = isl_stream_next_token(s); 90 if (!tok) { 94 str = isl_token_get_str(ctx, tok); 97 isl_token_free(tok); 128 struct isl_token *tok; local 140 tok = isl_stream_next_token(s); 141 if (!tok) { 145 str = isl_token_get_str(ctx, tok); 148 isl_token_free(tok); 185 struct isl_token *tok; local 254 struct isl_token *tok; local 305 struct isl_token *tok; local 356 struct isl_token *tok; local 407 struct isl_token *tok; local 509 struct isl_token *tok; local 639 struct isl_token *tok; local [all...] |
/netbsd-current/common/lib/libc/string/ |
H A D | strsep.c | 74 char *tok; local 81 for (tok = s;;) { 91 return (tok);
|
/netbsd-current/lib/libc/string/ |
H A D | strtok_r.c | 55 char *tok; local 78 tok = s - 1; 94 return (tok);
|
H A D | wcstok.c | 58 wchar_t *tok; local 81 tok = s - 1; 97 return (tok);
|
H A D | stresep.c | 70 char *tok; local 78 for (tok = s;;) { 94 return tok;
|
/netbsd-current/sys/arch/hpc/stand/libsa/ |
H A D | strtok.cpp | 45 char *tok; local 65 tok = s - 1; 81 return (tok);
|
/netbsd-current/external/gpl3/gcc.old/dist/gcc/ |
H A D | input.c | 1989 const cpp_token *tok, 1993 location_t tok_loc = tok->src_loc; 2043 const cpp_token *tok; local 2044 tok = cpp_get_token_with_location (parser, &loc); 2045 ASSERT_NE (tok, NULL); 2046 ASSERT_EQ (tok->type, CPP_NAME); 2047 ASSERT_TOKEN_AS_TEXT_EQ (parser, tok, "test_name"); 2048 ASSERT_TOKEN_LOC_EQ (tok, tmp.get_filename (), 1, 1, 9); 2050 tok = cpp_get_token_with_location (parser, &loc); 2051 ASSERT_NE (tok, NUL 1988 assert_token_loc_eq(const location &loc, const cpp_token *tok, const char *exp_filename, int exp_linenum, int exp_start_col, int exp_finish_col) argument 2273 const cpp_token *tok; local 2289 const cpp_token *tok; local 2441 const cpp_token *tok = test.get_token (); local 2490 const cpp_token *tok = test.get_token (); local 2542 const cpp_token *tok = test.get_token (); local 2588 const cpp_token *tok = test.get_token (); local 2624 const cpp_token *tok = test.get_token (); local 2664 const cpp_token *tok = test.get_token (); local 2700 const cpp_token *tok = test.get_token (); local 2769 const cpp_token *tok = test.get_token (); local 2833 const cpp_token *tok = test.get_token (); local 2883 const cpp_token *tok = test.get_token (); local 2924 const cpp_token *tok = test.get_token (); local 2966 const cpp_token *tok = test.get_token (); local 3040 const cpp_token *tok = test.get_token (); local 3143 const cpp_token *tok = test.get_token (); local 3217 const cpp_token *tok = test.get_token (); local 3264 const cpp_token *tok = test.get_token (); local 3296 const cpp_token *tok = test.get_token (); local 3335 const cpp_token *tok = test.get_token (); local 3364 const cpp_token *tok = test.get_token (); local 3388 const cpp_token *tok = test.get_token (); local 3428 const cpp_token *tok = test.get_token (); local 3461 const cpp_token *tok = test.get_token (); local 3491 const cpp_token *tok = test.get_token (); local [all...] |
/netbsd-current/external/gpl3/gcc/dist/gcc/ |
H A D | input.cc | 2149 const cpp_token *tok, 2153 location_t tok_loc = tok->src_loc; 2203 const cpp_token *tok; local 2204 tok = cpp_get_token_with_location (parser, &loc); 2205 ASSERT_NE (tok, NULL); 2206 ASSERT_EQ (tok->type, CPP_NAME); 2207 ASSERT_TOKEN_AS_TEXT_EQ (parser, tok, "test_name"); 2208 ASSERT_TOKEN_LOC_EQ (tok, tmp.get_filename (), 1, 1, 9); 2210 tok = cpp_get_token_with_location (parser, &loc); 2211 ASSERT_NE (tok, NUL 2148 assert_token_loc_eq(const location &loc, const cpp_token *tok, const char *exp_filename, int exp_linenum, int exp_start_col, int exp_finish_col) argument 2433 const cpp_token *tok; local 2449 const cpp_token *tok; local 2601 const cpp_token *tok = test.get_token (); local 2650 const cpp_token *tok = test.get_token (); local 2702 const cpp_token *tok = test.get_token (); local 2748 const cpp_token *tok = test.get_token (); local 2784 const cpp_token *tok = test.get_token (); local 2824 const cpp_token *tok = test.get_token (); local 2860 const cpp_token *tok = test.get_token (); local 2929 const cpp_token *tok = test.get_token (); local 2993 const cpp_token *tok = test.get_token (); local 3043 const cpp_token *tok = test.get_token (); local 3084 const cpp_token *tok = test.get_token (); local 3126 const cpp_token *tok = test.get_token (); local 3200 const cpp_token *tok = test.get_token (); local 3303 const cpp_token *tok = test.get_token (); local 3377 const cpp_token *tok = test.get_token (); local 3424 const cpp_token *tok = test.get_token (); local 3456 const cpp_token *tok = test.get_token (); local 3495 const cpp_token *tok = test.get_token (); local 3524 const cpp_token *tok = test.get_token (); local 3548 const cpp_token *tok = test.get_token (); local 3588 const cpp_token *tok = test.get_token (); local 3621 const cpp_token *tok = test.get_token (); local 3651 const cpp_token *tok = test.get_token (); local [all...] |