/dports/net/yaz/yaz-5.31.1/src/ |
H A D | pquery.c | 24 const char *lex_buf; member 77 li->lex_buf = *qptr; in query_token() 222 if (*li->lex_buf < '0' || *li->lex_buf > '9') in p_query_parse_attr() 232 if (li->lex_buf[i] < '0' || li->lex_buf[i] > '9') in p_query_parse_attr() 423 if (*li->lex_buf == '1') in rpn_proximity() 427 else if (*li->lex_buf == 'v' || *li->lex_buf == 'n') in rpn_proximity() 440 if (*li->lex_buf >= '0' && *li->lex_buf <= '9') in rpn_proximity() 453 if (*li->lex_buf == '1') in rpn_proximity() 468 if (*li->lex_buf >= '0' && *li->lex_buf <= '9') in rpn_proximity() 500 if (*li->lex_buf >= '0' && *li->lex_buf <= '9') in rpn_proximity() [all …]
|
/dports/devel/tigcc/tigcc-0.96.b8_10/gnu/binutils-2.16.1/binutils/ |
H A D | nlmheader.y | 630 static char *lex_buf; variable 642 lex_buf = xmalloc (lex_size + 1); in nlmlex_buf_init() 648 #define BUF_FINISH() ((void) (lex_buf[lex_pos] = '\0')) 653 ? lex_buf[lex_pos++] = (c) \ 662 lex_buf = xrealloc (lex_buf, lex_size + 1); in nlmlex_buf_add() 665 return lex_buf[lex_pos++] = c; in nlmlex_buf_add() 745 nlmlex_file_push (lex_buf); in yylex() 773 if (lex_buf[0] == keyword_tokens[i].keyword[0] in yylex() 786 current.name, current.lineno, lex_buf); in yylex() 828 yylval.string = xstrdup (lex_buf); in yylex() [all …]
|
H A D | nlmheader.c | 1842 static char *lex_buf; variable 1854 lex_buf = xmalloc (lex_size + 1); in nlmlex_buf_init() 1860 #define BUF_FINISH() ((void) (lex_buf[lex_pos] = '\0')) 1865 ? lex_buf[lex_pos++] = (c) \ 1874 lex_buf = xrealloc (lex_buf, lex_size + 1); in nlmlex_buf_add() 1877 return lex_buf[lex_pos++] = c; in nlmlex_buf_add() 1957 nlmlex_file_push (lex_buf); in yylex() 1985 if (lex_buf[0] == keyword_tokens[i].keyword[0] in yylex() 1998 current.name, current.lineno, lex_buf); in yylex() 2040 yylval.string = xstrdup (lex_buf); in yylex() [all …]
|
/dports/lang/gnatdroid-binutils-x86/binutils-2.27/binutils/ |
H A D | nlmheader.y | 629 static char *lex_buf; variable 641 lex_buf = xmalloc (lex_size + 1); in nlmlex_buf_init() 647 #define BUF_FINISH() ((void) (lex_buf[lex_pos] = '\0')) 652 ? lex_buf[lex_pos++] = (c) \ 661 lex_buf = xrealloc (lex_buf, lex_size + 1); in nlmlex_buf_add() 664 return lex_buf[lex_pos++] = c; in nlmlex_buf_add() 744 nlmlex_file_push (lex_buf); in yylex() 772 if (lex_buf[0] == keyword_tokens[i].keyword[0] in yylex() 785 current.name, current.lineno, lex_buf); in yylex() 827 yylval.string = xstrdup (lex_buf); in yylex() [all …]
|
H A D | nlmheader.c | 2366 static char *lex_buf; variable 2378 lex_buf = xmalloc (lex_size + 1); in nlmlex_buf_init() 2384 #define BUF_FINISH() ((void) (lex_buf[lex_pos] = '\0')) 2389 ? lex_buf[lex_pos++] = (c) \ 2398 lex_buf = xrealloc (lex_buf, lex_size + 1); in nlmlex_buf_add() 2401 return lex_buf[lex_pos++] = c; in nlmlex_buf_add() 2481 nlmlex_file_push (lex_buf); in yylex() 2509 if (lex_buf[0] == keyword_tokens[i].keyword[0] in yylex() 2522 current.name, current.lineno, lex_buf); in yylex() 2564 yylval.string = xstrdup (lex_buf); in yylex() [all …]
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/binutils/binutils/ |
H A D | nlmheader.y | 630 static char *lex_buf; variable 642 lex_buf = xmalloc (lex_size + 1); in nlmlex_buf_init() 648 #define BUF_FINISH() ((void) (lex_buf[lex_pos] = '\0')) 653 ? lex_buf[lex_pos++] = (c) \ 662 lex_buf = xrealloc (lex_buf, lex_size + 1); in nlmlex_buf_add() 665 return lex_buf[lex_pos++] = c; in nlmlex_buf_add() 745 nlmlex_file_push (lex_buf); in yylex() 773 if (lex_buf[0] == keyword_tokens[i].keyword[0] in yylex() 786 current.name, current.lineno, lex_buf); in yylex() 828 yylval.string = xstrdup (lex_buf); in yylex() [all …]
|
H A D | nlmheader.c | 1841 static char *lex_buf; variable 1853 lex_buf = xmalloc (lex_size + 1); in nlmlex_buf_init() 1859 #define BUF_FINISH() ((void) (lex_buf[lex_pos] = '\0')) 1864 ? lex_buf[lex_pos++] = (c) \ 1873 lex_buf = xrealloc (lex_buf, lex_size + 1); in nlmlex_buf_add() 1876 return lex_buf[lex_pos++] = c; in nlmlex_buf_add() 1956 nlmlex_file_push (lex_buf); in yylex() 1984 if (lex_buf[0] == keyword_tokens[i].keyword[0] in yylex() 1997 current.name, current.lineno, lex_buf); in yylex() 2039 yylval.string = xstrdup (lex_buf); in yylex() [all …]
|
/dports/lang/gnatdroid-binutils/binutils-2.27/binutils/ |
H A D | nlmheader.y | 629 static char *lex_buf; variable 641 lex_buf = xmalloc (lex_size + 1); in nlmlex_buf_init() 647 #define BUF_FINISH() ((void) (lex_buf[lex_pos] = '\0')) 652 ? lex_buf[lex_pos++] = (c) \ 661 lex_buf = xrealloc (lex_buf, lex_size + 1); in nlmlex_buf_add() 664 return lex_buf[lex_pos++] = c; in nlmlex_buf_add() 744 nlmlex_file_push (lex_buf); in yylex() 772 if (lex_buf[0] == keyword_tokens[i].keyword[0] in yylex() 785 current.name, current.lineno, lex_buf); in yylex() 827 yylval.string = xstrdup (lex_buf); in yylex() [all …]
|
H A D | nlmheader.c | 2366 static char *lex_buf; variable 2378 lex_buf = xmalloc (lex_size + 1); in nlmlex_buf_init() 2384 #define BUF_FINISH() ((void) (lex_buf[lex_pos] = '\0')) 2389 ? lex_buf[lex_pos++] = (c) \ 2398 lex_buf = xrealloc (lex_buf, lex_size + 1); in nlmlex_buf_add() 2401 return lex_buf[lex_pos++] = c; in nlmlex_buf_add() 2481 nlmlex_file_push (lex_buf); in yylex() 2509 if (lex_buf[0] == keyword_tokens[i].keyword[0] in yylex() 2522 current.name, current.lineno, lex_buf); in yylex() 2564 yylval.string = xstrdup (lex_buf); in yylex() [all …]
|
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/binutils/binutils/ |
H A D | nlmheader.y | 630 static char *lex_buf; variable 642 lex_buf = xmalloc (lex_size + 1); in nlmlex_buf_init() 648 #define BUF_FINISH() ((void) (lex_buf[lex_pos] = '\0')) 653 ? lex_buf[lex_pos++] = (c) \ 662 lex_buf = xrealloc (lex_buf, lex_size + 1); in nlmlex_buf_add() 665 return lex_buf[lex_pos++] = c; in nlmlex_buf_add() 745 nlmlex_file_push (lex_buf); in yylex() 773 if (lex_buf[0] == keyword_tokens[i].keyword[0] in yylex() 786 current.name, current.lineno, lex_buf); in yylex() 828 yylval.string = xstrdup (lex_buf); in yylex() [all …]
|
H A D | nlmheader.c | 1841 static char *lex_buf; variable 1853 lex_buf = xmalloc (lex_size + 1); in nlmlex_buf_init() 1859 #define BUF_FINISH() ((void) (lex_buf[lex_pos] = '\0')) 1864 ? lex_buf[lex_pos++] = (c) \ 1873 lex_buf = xrealloc (lex_buf, lex_size + 1); in nlmlex_buf_add() 1876 return lex_buf[lex_pos++] = c; in nlmlex_buf_add() 1956 nlmlex_file_push (lex_buf); in yylex() 1984 if (lex_buf[0] == keyword_tokens[i].keyword[0] in yylex() 1997 current.name, current.lineno, lex_buf); in yylex() 2039 yylval.string = xstrdup (lex_buf); in yylex() [all …]
|
/dports/lang/sdcc/sdcc-4.0.0/support/sdbinutils/binutils/ |
H A D | nlmheader.y | 629 static char *lex_buf; variable 641 lex_buf = xmalloc (lex_size + 1); in nlmlex_buf_init() 647 #define BUF_FINISH() ((void) (lex_buf[lex_pos] = '\0')) 652 ? lex_buf[lex_pos++] = (c) \ 661 lex_buf = xrealloc (lex_buf, lex_size + 1); in nlmlex_buf_add() 664 return lex_buf[lex_pos++] = c; in nlmlex_buf_add() 744 nlmlex_file_push (lex_buf); in yylex() 772 if (lex_buf[0] == keyword_tokens[i].keyword[0] in yylex() 785 current.name, current.lineno, lex_buf); in yylex() 827 yylval.string = xstrdup (lex_buf); in yylex() [all …]
|
H A D | nlmheader.c | 2308 static char *lex_buf; variable 2320 lex_buf = xmalloc (lex_size + 1); in nlmlex_buf_init() 2326 #define BUF_FINISH() ((void) (lex_buf[lex_pos] = '\0')) 2331 ? lex_buf[lex_pos++] = (c) \ 2340 lex_buf = xrealloc (lex_buf, lex_size + 1); in nlmlex_buf_add() 2343 return lex_buf[lex_pos++] = c; in nlmlex_buf_add() 2423 nlmlex_file_push (lex_buf); in yylex() 2451 if (lex_buf[0] == keyword_tokens[i].keyword[0] in yylex() 2464 current.name, current.lineno, lex_buf); in yylex() 2506 yylval.string = xstrdup (lex_buf); in yylex() [all …]
|
/dports/devel/djgpp-binutils/binutils-2.17/binutils/ |
H A D | nlmheader.y | 630 static char *lex_buf; variable 642 lex_buf = xmalloc (lex_size + 1); in nlmlex_buf_init() 648 #define BUF_FINISH() ((void) (lex_buf[lex_pos] = '\0')) 653 ? lex_buf[lex_pos++] = (c) \ 662 lex_buf = xrealloc (lex_buf, lex_size + 1); in nlmlex_buf_add() 665 return lex_buf[lex_pos++] = c; in nlmlex_buf_add() 745 nlmlex_file_push (lex_buf); in yylex() 773 if (lex_buf[0] == keyword_tokens[i].keyword[0] in yylex() 786 current.name, current.lineno, lex_buf); in yylex() 828 yylval.string = xstrdup (lex_buf); in yylex() [all …]
|
H A D | nlmheader.c | 2203 static char *lex_buf; variable 2215 lex_buf = xmalloc (lex_size + 1); in nlmlex_buf_init() 2221 #define BUF_FINISH() ((void) (lex_buf[lex_pos] = '\0')) 2226 ? lex_buf[lex_pos++] = (c) \ 2235 lex_buf = xrealloc (lex_buf, lex_size + 1); in nlmlex_buf_add() 2238 return lex_buf[lex_pos++] = c; in nlmlex_buf_add() 2318 nlmlex_file_push (lex_buf); in yylex() 2346 if (lex_buf[0] == keyword_tokens[i].keyword[0] in yylex() 2359 current.name, current.lineno, lex_buf); in yylex() 2401 yylval.string = xstrdup (lex_buf); in yylex() [all …]
|
/dports/security/razorback-yaraNugget/yaraNugget-0.5.0/libyara/ |
H A D | lex.l | 109 yyextra->lex_buf_ptr = yyextra->lex_buf; 155 … strncpy(f, yyextra->lex_buf, sizeof(buffer) - (f - buffer)); 166 fh = fopen(yyextra->lex_buf, "r"); 172 fh = fopen(yyextra->lex_buf, "r"); 178 … if ((error_code = yr_push_file_name(context, yyextra->lex_buf)) != ERROR_SUCCESS) 194 … snprintf(buffer, sizeof(buffer), "can't open include file: %s", yyextra->lex_buf); 290 strcpy(s->c_string, yyextra->lex_buf); 339 strcpy(s->c_string, yyextra->lex_buf); 369 yyextra->lex_buf_ptr = yyextra->lex_buf; 375 yyextra->lex_buf_ptr = yyextra->lex_buf;
|
H A D | lex.c | 1237 yyextra->lex_buf_ptr = yyextra->lex_buf; 1290 … strncpy(f, yyextra->lex_buf, sizeof(buffer) - (f - buffer)); 1301 fh = fopen(yyextra->lex_buf, "r"); 1307 fh = fopen(yyextra->lex_buf, "r"); 1313 … if ((error_code = yr_push_file_name(context, yyextra->lex_buf)) != ERROR_SUCCESS) 1329 … snprintf(buffer, sizeof(buffer), "can't open include file: %s", yyextra->lex_buf); 1452 strcpy(s->c_string, yyextra->lex_buf); 1528 strcpy(s->c_string, yyextra->lex_buf); 1574 yyextra->lex_buf_ptr = yyextra->lex_buf; 1583 yyextra->lex_buf_ptr = yyextra->lex_buf;
|
/dports/security/clamav/clamav-0.104.2/libclamav/ |
H A D | yara_lexer.l | 166 yyextra->lex_buf_ptr = yyextra->lex_buf; 211 strlcpy(f, yyextra->lex_buf, sizeof(buffer) - (f - buffer)); 224 f = yyextra->lex_buf; 227 fh = fopen(yyextra->lex_buf, "r"); 232 f = yyextra->lex_buf; 235 fh = fopen(yyextra->lex_buf, "r"); 263 "can't open include file: %s", yyextra->lex_buf); 413 memcpy(s->c_string, yyextra->lex_buf, yyextra->lex_buf_len + 1); 501 strlcpy(s->c_string, yyextra->lex_buf, s->length + 1); 538 yyextra->lex_buf_ptr = yyextra->lex_buf; [all …]
|
H A D | yara_lexer.c | 1297 yyextra->lex_buf_ptr = yyextra->lex_buf; 1347 strlcpy(f, yyextra->lex_buf, sizeof(buffer) - (f - buffer)); 1360 f = yyextra->lex_buf; 1363 fh = fopen(yyextra->lex_buf, "r"); 1368 f = yyextra->lex_buf; 1371 fh = fopen(yyextra->lex_buf, "r"); 1399 "can't open include file: %s", yyextra->lex_buf); 1570 memcpy(s->c_string, yyextra->lex_buf, yyextra->lex_buf_len + 1); 1679 strlcpy(s->c_string, yyextra->lex_buf, s->length + 1); 1727 yyextra->lex_buf_ptr = yyextra->lex_buf; [all …]
|
/dports/security/clamav-lts/clamav-0.103.5/libclamav/ |
H A D | yara_lexer.l | 166 yyextra->lex_buf_ptr = yyextra->lex_buf; 211 strlcpy(f, yyextra->lex_buf, sizeof(buffer) - (f - buffer)); 224 f = yyextra->lex_buf; 227 fh = fopen(yyextra->lex_buf, "r"); 232 f = yyextra->lex_buf; 235 fh = fopen(yyextra->lex_buf, "r"); 263 "can't open include file: %s", yyextra->lex_buf); 413 memcpy(s->c_string, yyextra->lex_buf, yyextra->lex_buf_len + 1); 501 strlcpy(s->c_string, yyextra->lex_buf, s->length + 1); 538 yyextra->lex_buf_ptr = yyextra->lex_buf; [all …]
|
H A D | yara_lexer.c | 1297 yyextra->lex_buf_ptr = yyextra->lex_buf; 1347 strlcpy(f, yyextra->lex_buf, sizeof(buffer) - (f - buffer)); 1360 f = yyextra->lex_buf; 1363 fh = fopen(yyextra->lex_buf, "r"); 1368 f = yyextra->lex_buf; 1371 fh = fopen(yyextra->lex_buf, "r"); 1399 "can't open include file: %s", yyextra->lex_buf); 1570 memcpy(s->c_string, yyextra->lex_buf, yyextra->lex_buf_len + 1); 1679 strlcpy(s->c_string, yyextra->lex_buf, s->length + 1); 1727 yyextra->lex_buf_ptr = yyextra->lex_buf; [all …]
|
/dports/net-mgmt/icinga2/icinga2-2.13.2/tools/mkclass/ |
H A D | class_lexer.ll | 28 struct lex_buf { 33 static void lb_init(lex_buf *lb) 39 /*static void lb_cleanup(lex_buf *lb) 44 static void lb_append_char(lex_buf *lb, char new_char) 64 static char *lb_steal(lex_buf *lb) 84 lex_buf string_buf;
|
/dports/lang/slisp/slisp-1.2/src/ |
H A D | lexer.c | 41 static int lex_buf[LEX_BUF_MAX]; variable 43 #define xgetc() (lex_bufp > lex_buf ? *--lex_bufp : fgetc(input_file)) 55 lex_bufp = lex_buf; in init_lex()
|
/dports/security/yara/yara-4.1.1/libyara/ |
H A D | lexer.l | 220 yyextra->lex_buf_ptr = yyextra->lex_buf; 250 is_absolute_path(yyextra->lex_buf)) 252 include_path = yyextra->lex_buf; 275 strlcpy(f, yyextra->lex_buf, sizeof(buffer) - (f - buffer)); 280 include_path = yyextra->lex_buf; 346 yyextra->lex_buf); 581 memcpy(s->c_string, yyextra->lex_buf, yyextra->lex_buf_len + 1); 668 strlcpy(s->c_string, yyextra->lex_buf, s->length + 1); 714 yyextra->lex_buf_ptr = yyextra->lex_buf; 723 yyextra->lex_buf_ptr = yyextra->lex_buf;
|
H A D | lexer.c | 1656 yyextra->lex_buf_ptr = yyextra->lex_buf; 1691 is_absolute_path(yyextra->lex_buf)) 1693 include_path = yyextra->lex_buf; 1716 strlcpy(f, yyextra->lex_buf, sizeof(buffer) - (f - buffer)); 1721 include_path = yyextra->lex_buf; 1787 yyextra->lex_buf); 2054 memcpy(s->c_string, yyextra->lex_buf, yyextra->lex_buf_len + 1); 2163 strlcpy(s->c_string, yyextra->lex_buf, s->length + 1); 2220 yyextra->lex_buf_ptr = yyextra->lex_buf; 2231 yyextra->lex_buf_ptr = yyextra->lex_buf;
|