Home
last modified time | relevance | path

Searched refs:yyin (Results 1 – 25 of 64) sorted by relevance

123

/freebsd-13-stable/contrib/one-true-awk/
HDmain.c42 extern FILE *yyin; /* lex input file */
141 yyin = NULL; in main()
233 if (yyin == NULL) { in pgetc()
237 yyin = stdin; in pgetc()
238 else if ((yyin = fopen(pfile[curpfile], "r")) == NULL) in pgetc()
242 if ((c = getc(yyin)) != EOF) in pgetc()
244 if (yyin != stdin) in pgetc()
245 fclose(yyin); in pgetc()
246 yyin = NULL; in pgetc()
/freebsd-13-stable/contrib/ipfilter/tools/
HDlex_var.h23 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
27 if ( c == EOF && ferror( yyin ) ) \
32 else if ( ((result = fread( buf, 1, 1, yyin )) == 0) \
33 && ferror( yyin ) ) \
41 getc(yyin)) == 10 ? (pos++, yylineno++, yytchar) : \
50 getc(yyin)) == 10 ? (pos++, yylineno++, yytchar) : \
/freebsd-13-stable/usr.sbin/autofs/
HDcommon.c64 extern FILE *yyin;
305 yyin = auto_popen(AUTO_INCLUDE_PATH, n->n_key + 1, NULL); in node_expand_includes()
306 assert(yyin != NULL); in node_expand_includes()
314 error = auto_pclose(yyin); in node_expand_includes()
315 yyin = NULL; in node_expand_includes()
911 linelen = getline(&line, &linecap, yyin); in parse_map_keys_yyin()
970 yyin = auto_popen(path, key, NULL); in parse_special_map()
971 assert(yyin != NULL); in parse_special_map()
979 error = auto_pclose(yyin); in parse_special_map()
980 yyin = NULL; in parse_special_map()
[all …]
/freebsd-13-stable/usr.bin/bc/
HDscan.l285 yyin = fopen(filename, "r");
287 if (yyin == NULL)
302 if (yyin != NULL && yyin != stdin)
303 fclose(yyin);
306 yyin = fopen(filename, "r");
308 if (yyin == NULL)
313 yyin = stdin;
333 if (yyin == stdin && interactive && use_el) {
358 (c = getc(yyin)) != EOF && c != '\n'; ++num)
362 if (c == EOF && ferror(yyin))
/freebsd-13-stable/crypto/heimdal/lib/sl/
HDslc-lex.c137 #define YY_NEW_FILE yyrestart(yyin )
162 extern FILE *yyin, *yyout;
315 yy_create_buffer(yyin,YY_BUF_SIZE ); \
325 yy_create_buffer(yyin,YY_BUF_SIZE ); \
336 FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; variable
608 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
612 if ( c == EOF && ferror( yyin ) ) \
619 while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
627 clearerr(yyin); \
703 if ( ! yyin )
[all …]
/freebsd-13-stable/crypto/heimdal/lib/com_err/
HDlex.c137 #define YY_NEW_FILE yyrestart(yyin )
162 extern FILE *yyin, *yyout;
315 yy_create_buffer(yyin,YY_BUF_SIZE ); \
325 yy_create_buffer(yyin,YY_BUF_SIZE ); \
336 FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; variable
629 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
633 if ( c == EOF && ferror( yyin ) ) \
640 while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
648 clearerr(yyin); \
724 if ( ! yyin )
[all …]
HDcompile_et.c46 extern FILE *yyin;
220 yyin = fopen(filename, "r"); in main()
221 if(yyin == NULL) in main()
/freebsd-13-stable/tools/build/bootstrap-m4/
HDinittokenizer.c129 #define YY_NEW_FILE yyrestart( yyin )
161 extern FILE *yyin, *yyout;
312 yy_create_buffer( yyin, YY_BUF_SIZE ); \
321 yy_create_buffer( yyin, YY_BUF_SIZE ); \
333 FILE *yyin = NULL, *yyout = NULL; variable
611 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
615 if ( c == EOF && ferror( yyin ) ) \
622 while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
630 clearerr(yyin); \
702 if ( ! yyin )
[all …]
/freebsd-13-stable/sbin/veriexec/
HDmanifest_lexer.l122 fclose(yyin);
128 yyin = fropen(&str_buf, read_string_buf);
129 if (yyin) {
135 return yyin;
/freebsd-13-stable/crypto/heimdal/lib/asn1/
HDmain.c40 extern FILE *yyin;
117 yyin = stdin; in main()
120 yyin = fopen (file, "r"); in main()
121 if (yyin == NULL) in main()
195 fclose(yyin); in main()
HDlex.c137 #define YY_NEW_FILE yyrestart(yyin )
162 extern FILE *yyin, *yyout;
315 yy_create_buffer(yyin,YY_BUF_SIZE ); \
325 yy_create_buffer(yyin,YY_BUF_SIZE ); \
336 FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; variable
952 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
956 if ( c == EOF && ferror( yyin ) ) \
963 while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
971 clearerr(yyin); \
1047 if ( ! yyin )
[all …]
/freebsd-13-stable/contrib/ncurses/ncurses/tinfo/
HDcomp_scan.c104 static FILE *yyin; /* scanner's input file descriptor */ variable
120 yyin = fp; in _nc_reset_input()
170 if (!yyin) { in next_char()
212 _nc_curr_file_pos = ftell(yyin); in next_char()
214 if (fgets(result + used, (int) (allocated - used), yyin) != 0) { in next_char()
285 return (yyin ? ftell(yyin) : (bufptr ? bufptr - bufstart : 0)); in stream_pos()
292 return ((yyin ? feof(yyin) : (bufptr && *bufptr == '\0')) in end_of_stream()
388 yyin = 0; in _nc_get_token()
/freebsd-13-stable/usr.bin/lex/
HDinitscan.c128 #define YY_NEW_FILE yyrestart( yyin )
160 extern FILE *yyin, *yyout;
311 yy_create_buffer( yyin, YY_BUF_SIZE ); \
320 yy_create_buffer( yyin, YY_BUF_SIZE ); \
329 FILE *yyin = NULL, *yyout = NULL; variable
2114 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
2118 if ( c == EOF && ferror( yyin ) ) \
2125 while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
2133 clearerr(yyin); \
2208 if ( ! yyin )
[all …]
/freebsd-13-stable/usr.bin/iscsictl/
HDparse.y47 extern FILE *yyin;
414 yyin = fopen(path, "r"); in conf_new_from_file()
415 if (yyin == NULL) in conf_new_from_file()
419 yyrestart(yyin); in conf_new_from_file()
422 fclose(yyin); in conf_new_from_file()
/freebsd-13-stable/contrib/unbound/util/
HDconfiglexer.c129 #define YY_NEW_FILE yyrestart( yyin )
161 extern FILE *yyin, *yyout;
311 yy_create_buffer( yyin, YY_BUF_SIZE ); \
320 yy_create_buffer( yyin, YY_BUF_SIZE ); \
329 FILE *yyin = NULL, *yyout = NULL; variable
4493 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
4624 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
4628 if ( c == EOF && ferror( yyin ) ) \
4635 while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
4643 clearerr(yyin); \
[all …]
/freebsd-13-stable/contrib/netbsd-tests/lib/libcurses/director/
HDdirector.c125 extern FILE *yyin; in main()
267 if ((yyin = fopen(argv[0], "r")) == NULL) in main()
276 fclose(yyin); in main()
HDtestlang_conf.l197 yyin = fopen(inc_file, "r" );
199 if (!yyin)
202 yypush_buffer_state(yy_create_buffer(yyin, YY_BUF_SIZE));
/freebsd-13-stable/contrib/com_err/
HDcompile_et.c46 extern FILE *yyin;
220 yyin = fopen(filename, "r"); in main()
221 if(yyin == NULL) in main()
/freebsd-13-stable/usr.sbin/bluetooth/hcsecd/
HDparser.y200 extern FILE *yyin; in read_config_file()
207 if ((yyin = fopen(config_file, "r")) == NULL) { in read_config_file()
219 fclose(yyin); in read_config_file()
220 yyin = NULL; in read_config_file()
/freebsd-13-stable/contrib/openbsm/bin/auditdistd/
HDparse.y55 extern FILE *yyin;
791 yyin = fopen(config, "r"); in yy_config_parse()
792 if (yyin == NULL) { in yy_config_parse()
800 yyrestart(yyin); in yy_config_parse()
802 fclose(yyin); in yy_config_parse()
/freebsd-13-stable/sbin/ipf/common/
HDlexer.c26 FILE *yyin; variable
81 c = fgetc(yyin); in yygetc()
83 c = fgetc(yyin); in yygetc()
86 c = fgetc(yyin); in yygetc()
730 yyin = stdin; in main()
/freebsd-13-stable/usr.sbin/bluetooth/bthidd/
HDparser.y74 extern FILE *yyin;
289 if ((yyin = fopen(config_file, "r")) == NULL) { in read_config_file()
303 fclose(yyin); in read_config_file()
304 yyin = NULL; in read_config_file()
/freebsd-13-stable/contrib/flex/src/
HDflex.skl76 #define yyin M4_YY_PREFIX[[in]]
302 #define yyin YY_G(yyin_r)
367 #define YY_NEW_FILE yyrestart( yyin M4_YY_CALL_LAST_ARG )
408 extern FILE *yyin, *yyout;
528 * just pointing yyin at a new input file.
580 * instead of setting up a fresh yyin. A bit of a hack ...
620 yy_create_buffer( yyin, YY_BUF_SIZE M4_YY_CALL_LAST_ARG); \
629 yy_create_buffer( yyin, YY_BUF_SIZE M4_YY_CALL_LAST_ARG); \
636 %% [1.0] yytext/yyin/yyout/yy_state_type/yylineno etc. def's & init go here
1221 if ( ! yyin )
[all …]
/freebsd-13-stable/sbin/hastd/
HDparse.y55 extern FILE *yyin;
889 yyin = fopen(config, "r"); in yy_config_parse()
890 if (yyin == NULL) { in yy_config_parse()
898 yyrestart(yyin); in yy_config_parse()
900 fclose(yyin); in yy_config_parse()
/freebsd-13-stable/sys/contrib/dev/acpica/compiler/
HDaslsupport.l313 fclose (yyin); in AslPopInputFileStack()
364 Fnode->File = yyin; in AslPushInputFileStack()
390 yyin = InputFile; in AslPushInputFileStack()

123