/dports/net-mgmt/kismet/kismet-2016-07-R1/ |
H A D | kismet_json.cc | 53 tk.tok_type = JSON_unknown; in JSON_parse() 94 tk.tok_type = JSON_quoted; in JSON_parse() 104 tk.tok_type = JSON_unknown; in JSON_parse() 112 tk.tok_type = JSON_start; in JSON_parse() 115 tk.tok_type = JSON_unknown; in JSON_parse() 123 tk.tok_type = JSON_end; in JSON_parse() 126 tk.tok_type = JSON_unknown; in JSON_parse() 145 tk.tok_type = JSON_arrend; in JSON_parse() 160 tk.tok_type = JSON_colon; in JSON_parse() 171 tk.tok_type = JSON_comma; in JSON_parse() [all …]
|
/dports/devel/arcanist-lib/arcanist-b2e715f/src/lint/linter/xhpast/rules/ |
H A D | ArcanistImplicitFallthroughXHPASTLinterRule.php | 150 $tok_type = $token->getTypeName(); 152 if ($tok_type === 'T_FUNCTION' || 153 $tok_type === 'T_CLASS' || 154 $tok_type === 'T_INTERFACE') { 160 if ($tok_type === ';') { 169 if ($tok_type === 'T_BREAK' || $tok_type === 'T_CONTINUE') { 177 if ($tok_type === 'T_RETURN' || 178 $tok_type === 'T_THROW' || 179 $tok_type === 'T_EXIT' ||
|
/dports/devel/arcanist/arcanist-b2e715f/src/lint/linter/xhpast/rules/ |
H A D | ArcanistImplicitFallthroughXHPASTLinterRule.php | 150 $tok_type = $token->getTypeName(); 152 if ($tok_type === 'T_FUNCTION' || 153 $tok_type === 'T_CLASS' || 154 $tok_type === 'T_INTERFACE') { 160 if ($tok_type === ';') { 169 if ($tok_type === 'T_BREAK' || $tok_type === 'T_CONTINUE') { 177 if ($tok_type === 'T_RETURN' || 178 $tok_type === 'T_THROW' || 179 $tok_type === 'T_EXIT' ||
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/krb5-src-0.2.4+1.18.2/krb5/src/lib/gssapi/generic/ |
H A D | util_token.c | 148 int tok_type) in g_make_token_header() argument 151 der_write_length(buf, ((tok_type == -1) ? 2 : 4) + mech->length + body_size); in g_make_token_header() 155 if (tok_type != -1) { in g_make_token_header() 156 *(*buf)++ = (unsigned char) ((tok_type>>8)&0xff); in g_make_token_header() 157 *(*buf)++ = (unsigned char) (tok_type&0xff); in g_make_token_header() 175 int tok_type, in g_verify_token_header() argument 217 if (tok_type != -1) { in g_verify_token_header() 221 if ((*buf++ != ((tok_type>>8)&0xff)) || in g_verify_token_header() 222 (*buf++ != (tok_type&0xff))) in g_verify_token_header()
|
/dports/security/krb5/krb5-1.19.2/src/lib/gssapi/generic/ |
H A D | util_token.c | 148 int tok_type) in g_make_token_header() argument 151 der_write_length(buf, ((tok_type == -1) ? 2 : 4) + mech->length + body_size); in g_make_token_header() 155 if (tok_type != -1) { in g_make_token_header() 156 *(*buf)++ = (unsigned char) ((tok_type>>8)&0xff); in g_make_token_header() 157 *(*buf)++ = (unsigned char) (tok_type&0xff); in g_make_token_header() 175 int tok_type, in g_verify_token_header() argument 217 if (tok_type != -1) { in g_verify_token_header() 221 if ((*buf++ != ((tok_type>>8)&0xff)) || in g_verify_token_header() 222 (*buf++ != (tok_type&0xff))) in g_verify_token_header()
|
/dports/science/py-dlib/dlib-19.22/tools/htmlify/ |
H A D | to_xml.cpp | 17 typedef cpp_tokenizer::kernel_1a_c tok_type; typedef 289 if (declaration[i].first == tok_type::KEYWORD && in looks_like_function_declaration() 295 if (declaration[i].first == tok_type::OTHER && in looks_like_function_declaration() 302 if (declaration[i].first == tok_type::OTHER) in looks_like_function_declaration() 339 tok_type tok; in process_file() 423 while (type != tok_type::END_OF_FILE) in process_file() 898 if (declaration[i].first == tok_type::KEYWORD && in get_function_name() 913 if (declaration[i].first == tok_type::OTHER && in get_function_name() 936 … if (declaration[i].first == tok_type::IDENTIFIER || declaration[i].first == tok_type::KEYWORD) in get_function_name() 1063 else if (decl[i].first == tok_type::NUMBER) in pretty_print_declaration() [all …]
|
/dports/science/dlib-cpp/dlib-19.22/tools/htmlify/ |
H A D | to_xml.cpp | 17 typedef cpp_tokenizer::kernel_1a_c tok_type; typedef 289 if (declaration[i].first == tok_type::KEYWORD && in looks_like_function_declaration() 295 if (declaration[i].first == tok_type::OTHER && in looks_like_function_declaration() 302 if (declaration[i].first == tok_type::OTHER) in looks_like_function_declaration() 339 tok_type tok; in process_file() 423 while (type != tok_type::END_OF_FILE) in process_file() 898 if (declaration[i].first == tok_type::KEYWORD && in get_function_name() 913 if (declaration[i].first == tok_type::OTHER && in get_function_name() 936 … if (declaration[i].first == tok_type::IDENTIFIER || declaration[i].first == tok_type::KEYWORD) in get_function_name() 1063 else if (decl[i].first == tok_type::NUMBER) in pretty_print_declaration() [all …]
|
/dports/devel/upnp/pupnp-release-1.14.12/upnp/src/genlib/net/http/ |
H A D | httpparser.c | 227 assert(tok_type); in scanner_get_token() 321 *tok_type = token_type; in scanner_get_token() 520 token_type_t tok_type; in skip_blank_lines() local 555 token_type_t tok_type; in skip_lws() local 613 token_type_t tok_type; in match_non_ws_string() local 679 token_type_t tok_type; in match_raw_value() local 981 tok_type != in vfmatch() 1044 tok_type != in vfmatch() 1055 tok_type != in vfmatch() 1092 tok_type != in vfmatch() [all …]
|
/dports/textproc/agrep/agrep-2.04/ |
H A D | parse.c | 139 if (**s == NUL) tok_type(rn) = EOS; /* end of string */ 143 tok_type(rn) = LITERAL; 149 tok_type(rn) = LITERAL; 154 tok_type(rn) = LPAREN; 157 tok_type(rn) = RPAREN; 160 tok_type(rn) = OPSTAR; 163 tok_type(rn) = OPALT; 166 tok_type(rn) = OPOPT; 171 tok_type(rn) = LITERAL; 270 switch (tok_type(next_token)) { [all …]
|
/dports/databases/sqsh/sqsh-2.5/src/ |
H A D | sqsh_tok.c | 120 sg_tok->tok_type = SQSH_T_EOF; 175 sg_tok->tok_type = SQSH_T_REDIR_OUT; 187 sg_tok->tok_type = SQSH_T_REDIR_DUP; 229 sg_tok->tok_type = SQSH_T_REDIR_OUT; 242 sg_tok->tok_type = SQSH_T_EOF; 251 sg_tok->tok_type = SQSH_T_REDIR_IN; 265 sg_tok->tok_type = SQSH_T_WORD; 290 sg_tok->tok_type = SQSH_T_WORD;
|
/dports/x11/kanshi/kanshi-v1.2.0/ |
H A D | parser.c | 151 parser->tok_type = KANSHI_TOKEN_LBRACKET; in parser_next_token() 157 parser->tok_type = KANSHI_TOKEN_NEWLINE; in parser_next_token() 162 parser->tok_type = KANSHI_TOKEN_STR; in parser_next_token() 167 parser->tok_type = KANSHI_TOKEN_NEWLINE; in parser_next_token() 170 parser->tok_type = KANSHI_TOKEN_STR; in parser_next_token() 183 if (parser->tok_type != want) { in parser_expect_token() 307 switch (parser->tok_type) { in parse_profile_output() 370 token_type_str(parser->tok_type)); in parse_profile_output() 407 switch (parser->tok_type) { in parse_profile() 419 token_type_str(parser->tok_type)); in parse_profile() [all …]
|
/dports/security/p11-kit/p11-kit-0.24.0/common/ |
H A D | test-lexer.c | 48 int tok_type; member 68 if (expected[i].tok_type != lexer.tok_type) in check_lex_msg() 71 expected[i].tok_type, lexer.tok_type); in check_lex_msg() 72 switch (lexer.tok_type) { in check_lex_msg() 108 if (TOK_EOF != expected[i].tok_type) in check_lex_msg()
|
H A D | lexer.c | 73 switch (lexer->tok_type) { in clear_state() 87 lexer->tok_type = TOK_EOF; in clear_state() 121 lexer->tok_type = TOK_PEM; in p11_lexer_next() 169 lexer->tok_type = TOK_SECTION; in p11_lexer_next() 193 lexer->tok_type = TOK_FIELD; in p11_lexer_next() 221 switch (lexer->tok_type) { in p11_lexer_msg()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pylint/pylint/checkers/ |
H A D | raw_metrics.py | 102 tok_type = tokens[i][0] 107 tok_type = tokens[i][0] 110 if tok_type == tokenize.STRING: 112 elif tok_type == tokenize.COMMENT: 114 elif tok_type in JUNK: 121 elif i < len(tokens) and tok_type == tokenize.NEWLINE:
|
/dports/devel/universal-ctags/ctags-p5.9.20211128.0/Units/parser-yacc.r/not-union.d/ |
H A D | input.y | 28 static int tok_type = -1; variable 225 tok_type = DCOND; in yylex() 229 tok_type = SCOND; in yylex() 233 tok_type = DPORT; in yylex() 237 tok_type = SPORT; in yylex() 263 tok_type = AUTOBOUND; in yylex() 266 yylval = (void*)parse_hostcond(curtok, tok_type == SPORT || tok_type == DPORT); in yylex()
|
/dports/biology/bcftools/bcftools-1.14/ |
H A D | filter.c | 475 if ( rtok->tok_type!=TOK_EQ && rtok->tok_type!=TOK_NE ) in filters_cmp_id() 2588 tok->tok_type = TOK_VAL; in filters_init1() 3236 …if ( i+1<nout && (out[i].tok_type==TOK_LT || out[i].tok_type==TOK_BT) && out[i+1].tok_type==TOK_EQ… in filter_init() 3245 if ( out[i].tok_type==TOK_OR || out[i].tok_type==TOK_OR_VEC ) in filter_init() 3247 if ( out[i].tok_type==TOK_AND || out[i].tok_type==TOK_AND_VEC ) in filter_init() 3249 if ( out[i].tok_type==TOK_EQ || out[i].tok_type==TOK_NE ) in filter_init() 3267 if ( out[i].tok_type==TOK_LIKE || out[i].tok_type==TOK_NLIKE ) in filter_init() 3324 if ( out[i+1].tok_type==TOK_EQ || out[i+1].tok_type==TOK_NE ) ival = i - 1; in filter_init() 3351 if ( out[i+1].tok_type==TOK_EQ || out[i+1].tok_type==TOK_NE ) ival = i - 1; in filter_init() 3354 else if ( out[i+2].tok_type==TOK_EQ || out[i+2].tok_type==TOK_NE ) ival = ++i; in filter_init() [all …]
|
/dports/biology/bio-mocha/bcftools-1.14/ |
H A D | filter.c | 475 if ( rtok->tok_type!=TOK_EQ && rtok->tok_type!=TOK_NE ) in filters_cmp_id() 2588 tok->tok_type = TOK_VAL; in filters_init1() 3236 …if ( i+1<nout && (out[i].tok_type==TOK_LT || out[i].tok_type==TOK_BT) && out[i+1].tok_type==TOK_EQ… in filter_init() 3245 if ( out[i].tok_type==TOK_OR || out[i].tok_type==TOK_OR_VEC ) in filter_init() 3247 if ( out[i].tok_type==TOK_AND || out[i].tok_type==TOK_AND_VEC ) in filter_init() 3249 if ( out[i].tok_type==TOK_EQ || out[i].tok_type==TOK_NE ) in filter_init() 3267 if ( out[i].tok_type==TOK_LIKE || out[i].tok_type==TOK_NLIKE ) in filter_init() 3324 if ( out[i+1].tok_type==TOK_EQ || out[i+1].tok_type==TOK_NE ) ival = i - 1; in filter_init() 3351 if ( out[i+1].tok_type==TOK_EQ || out[i+1].tok_type==TOK_NE ) ival = i - 1; in filter_init() 3354 else if ( out[i+2].tok_type==TOK_EQ || out[i+2].tok_type==TOK_NE ) ival = ++i; in filter_init() [all …]
|
/dports/biology/py-pysam/pysam-0.18.0/bcftools/ |
H A D | filter.c | 475 if ( rtok->tok_type!=TOK_EQ && rtok->tok_type!=TOK_NE ) in filters_cmp_id() 2588 tok->tok_type = TOK_VAL; in filters_init1() 3236 …if ( i+1<nout && (out[i].tok_type==TOK_LT || out[i].tok_type==TOK_BT) && out[i+1].tok_type==TOK_EQ… in filter_init() 3245 if ( out[i].tok_type==TOK_OR || out[i].tok_type==TOK_OR_VEC ) in filter_init() 3247 if ( out[i].tok_type==TOK_AND || out[i].tok_type==TOK_AND_VEC ) in filter_init() 3249 if ( out[i].tok_type==TOK_EQ || out[i].tok_type==TOK_NE ) in filter_init() 3267 if ( out[i].tok_type==TOK_LIKE || out[i].tok_type==TOK_NLIKE ) in filter_init() 3324 if ( out[i+1].tok_type==TOK_EQ || out[i+1].tok_type==TOK_NE ) ival = i - 1; in filter_init() 3351 if ( out[i+1].tok_type==TOK_EQ || out[i+1].tok_type==TOK_NE ) ival = i - 1; in filter_init() 3354 else if ( out[i+2].tok_type==TOK_EQ || out[i+2].tok_type==TOK_NE ) ival = ++i; in filter_init() [all …]
|
H A D | filter.c.pysam.c | 477 if ( rtok->tok_type!=TOK_EQ && rtok->tok_type!=TOK_NE ) in filters_cmp_id() 2590 tok->tok_type = TOK_VAL; in filters_init1() 3238 …if ( i+1<nout && (out[i].tok_type==TOK_LT || out[i].tok_type==TOK_BT) && out[i+1].tok_type==TOK_EQ… in filter_init() 3247 if ( out[i].tok_type==TOK_OR || out[i].tok_type==TOK_OR_VEC ) in filter_init() 3249 if ( out[i].tok_type==TOK_AND || out[i].tok_type==TOK_AND_VEC ) in filter_init() 3251 if ( out[i].tok_type==TOK_EQ || out[i].tok_type==TOK_NE ) in filter_init() 3269 if ( out[i].tok_type==TOK_LIKE || out[i].tok_type==TOK_NLIKE ) in filter_init() 3326 if ( out[i+1].tok_type==TOK_EQ || out[i+1].tok_type==TOK_NE ) ival = i - 1; in filter_init() 3353 if ( out[i+1].tok_type==TOK_EQ || out[i+1].tok_type==TOK_NE ) ival = i - 1; in filter_init() 3356 else if ( out[i+2].tok_type==TOK_EQ || out[i+2].tok_type==TOK_NE ) ival = ++i; in filter_init() [all …]
|
/dports/security/pbc/pbc-0.5.14/pbc/ |
H A D | oldpbc.c | 58 static int tok_type; 121 tok_type = t_none; 129 tok_type = t_none; 174 tok_type = t_int; 192 tok_type = t_id; 214 tok_type = t_set; 217 tok_type = t_pow; 220 tok_type = t_mul; 223 tok_type = t_div; 278 switch(tok_type) { [all …]
|
/dports/comms/nmealib/nmealib/src/ |
H A D | tok.c | 123 int tok_type = NMEA_TOKS_COMPARE; in nmea_scanf() local 135 switch(tok_type) in nmea_scanf() 139 tok_type = NMEA_TOKS_PERCENT; in nmea_scanf() 146 tok_type = NMEA_TOKS_WIDTH; in nmea_scanf() 151 tok_type = NMEA_TOKS_TYPE; in nmea_scanf() 177 tok_type = NMEA_TOKS_COMPARE; in nmea_scanf()
|
/dports/devel/py-asttokens/asttokens-2.0.5/asttokens/ |
H A D | util.py | 21 def token_repr(tok_type, string): argument 24 return '%s:%s' % (token.tok_name[tok_type], repr(string).lstrip('u')) 45 def match_token(token, tok_type, tok_str=None): argument 47 return token.type == tok_type and (tok_str is None or token.string == tok_str) 50 def expect_token(token, tok_type, tok_str=None): argument 55 if not match_token(token, tok_type, tok_str): 57 token_repr(tok_type, tok_str), str(token),
|
/dports/graphics/qgis-ltr/qgis-3.16.16/external/nmea/ |
H A D | tok.c | 153 int tok_type = NMEA_TOKS_COMPARE; in nmea_scanf() local 165 switch ( tok_type ) in nmea_scanf() 169 tok_type = NMEA_TOKS_PERCENT; in nmea_scanf() 176 tok_type = NMEA_TOKS_WIDTH; in nmea_scanf() 185 tok_type = NMEA_TOKS_TYPE; in nmea_scanf() 214 tok_type = NMEA_TOKS_COMPARE; in nmea_scanf()
|
/dports/graphics/qgis/qgis-3.22.3/external/nmea/ |
H A D | tok.c | 153 int tok_type = NMEA_TOKS_COMPARE; in nmea_scanf() local 165 switch ( tok_type ) in nmea_scanf() 169 tok_type = NMEA_TOKS_PERCENT; in nmea_scanf() 176 tok_type = NMEA_TOKS_WIDTH; in nmea_scanf() 185 tok_type = NMEA_TOKS_TYPE; in nmea_scanf() 214 tok_type = NMEA_TOKS_COMPARE; in nmea_scanf()
|
/dports/databases/py-gdbm/Python-3.8.12/Tools/scripts/ |
H A D | highlight.py | 35 tok_type = tokenize.COMMENT 38 prev_tok_type, prev_tok_str = tok_type, tok_str 39 tok_type, tok_str, (srow, scol), (erow, ecol), logical_lineno = tok 41 if tok_type == tokenize.COMMENT: 43 elif tok_type == tokenize.OP and tok_str[:1] not in '{}[](),.:;@': 45 elif tok_type == tokenize.STRING: 49 elif tok_type == tokenize.NAME:
|