Home
last modified time | relevance | path

Searched refs:cfile (Results 1 – 22 of 22) sorted by relevance

/minix3/external/bsd/dhcp/dist/client/
H A Dclparse.c41 static void parse_client_default_duid(struct parse *cfile);
42 static void parse_client6_lease_statement(struct parse *cfile);
44 static struct dhc6_ia *parse_client6_ia_na_statement(struct parse *cfile);
45 static struct dhc6_ia *parse_client6_ia_ta_statement(struct parse *cfile);
46 static struct dhc6_ia *parse_client6_ia_pd_statement(struct parse *cfile);
47 static struct dhc6_addr *parse_client6_iaaddr_statement(struct parse *cfile);
48 static struct dhc6_addr *parse_client6_iaprefix_statement(struct parse *cfile);
181 token = peek_token(&val, NULL, cfile); in read_client_conf()
184 parse_client_statement(cfile, NULL, &top_level_config); in read_client_conf()
223 struct parse *cfile; in read_client_conf_file() local
[all …]
/minix3/external/bsd/dhcp/dist/common/
H A Dparse.c92 void skip_to_semi (cfile) in skip_to_semi() argument
93 struct parse *cfile; in skip_to_semi()
95 skip_to_rbrace (cfile, 0);
98 void skip_to_rbrace (cfile, brace_count) in skip_to_rbrace() argument
99 struct parse *cfile; in skip_to_rbrace()
109 token = peek_token (&val, (unsigned *)0, cfile);
111 skip_token(&val, (unsigned *)0, cfile);
120 skip_token(&val, (unsigned *)0, cfile);
126 skip_token(&val, (unsigned *)0, cfile);
129 token = next_token (&val, (unsigned *)0, cfile);
[all …]
H A Dconflex.c39 static enum dhcp_token read_whitespace(int c, struct parse *cfile);
45 isc_result_t new_parse (cfile, file, inbuf, buflen, name, eolp) in new_parse() argument
46 struct parse **cfile; in new_parse()
99 *cfile = tmp;
107 isc_result_t end_parse (cfile) in end_parse() argument
108 struct parse **cfile; in end_parse()
111 if ((*cfile)->file != -1) {
112 munmap((*cfile)->inbuf, (*cfile)->bufsiz);
113 close((*cfile)->file);
116 if ((*cfile)->saved_state != NULL) {
[all …]
H A Dresolv.c44 struct parse *cfile; local
56 cfile = NULL;
57 status = new_parse(&cfile, file, NULL, 0, path_resolv_conf, 1);
58 if (status != ISC_R_SUCCESS || cfile == NULL)
62 token = next_token (&val, (unsigned *)0, cfile);
72 dn = parse_host_name (cfile);
94 (unsigned *)0, cfile);
97 parse_warn (cfile,
99 skip_to_semi (cfile);
101 skip_token(&val, (unsigned *)0, cfile);
[all …]
/minix3/external/bsd/dhcp/dist/server/
H A Dconfpars.c39 static int parse_binding_value(struct parse *cfile,
80 struct parse *cfile; in read_conf_file() local
132 cfile = (struct parse *)0; in read_conf_file()
170 status = new_parse(&cfile, -1, fbuf, ulen, filename, 0); /* XXX */ in read_conf_file()
172 status = new_parse(&cfile, file, NULL, 0, filename, 0); in read_conf_file()
174 if (status != ISC_R_SUCCESS || cfile == NULL) in read_conf_file()
178 status = lease_file_subparse (cfile); in read_conf_file()
180 status = conf_file_subparse (cfile, group, group_type); in read_conf_file()
181 end_parse (&cfile); in read_conf_file()
194 struct parse *cfile = (struct parse *)0; in trace_conf_input() local
[all …]
H A Dldap.c96 ldap_parse_class (struct ldap_config_stack *item, struct parse *cfile) in ldap_parse_class() argument
109 x_strncat (cfile->inbuf, "class \"", LDAP_BUFFER_SIZE); in ldap_parse_class()
110 x_strncat (cfile->inbuf, tempbv[0]->bv_val, LDAP_BUFFER_SIZE); in ldap_parse_class()
111 x_strncat (cfile->inbuf, "\" {\n", LDAP_BUFFER_SIZE); in ldap_parse_class()
119 ldap_parse_subclass (struct ldap_config_stack *item, struct parse *cfile) in ldap_parse_subclass() argument
143 x_strncat (cfile->inbuf, "subclass ", LDAP_BUFFER_SIZE); in ldap_parse_subclass()
144 x_strncat (cfile->inbuf, classdata[0]->bv_val, LDAP_BUFFER_SIZE); in ldap_parse_subclass()
145 x_strncat (cfile->inbuf, " ", LDAP_BUFFER_SIZE); in ldap_parse_subclass()
146 x_strncat (cfile->inbuf, tempbv[0]->bv_val, LDAP_BUFFER_SIZE); in ldap_parse_subclass()
147 x_strncat (cfile->inbuf, " {\n", LDAP_BUFFER_SIZE); in ldap_parse_subclass()
[all …]
H A Dmdb.c759 void new_address_range (cfile, low, high, subnet, pool, lpchain) in new_address_range() argument
760 struct parse *cfile; in new_address_range()
866 parse_warn (cfile,
1009 void new_shared_network_interface (cfile, share, name) in new_shared_network_interface() argument
1010 struct parse *cfile; in new_shared_network_interface()
1018 parse_warn (cfile,
/minix3/external/bsd/dhcp/dist/dhcpctl/
H A Domshell.c52 int parse_allow_deny (struct option_cache **oc, struct parse *cfile, int flag) in parse_allow_deny() argument
93 struct parse *cfile; in main() local
180 status = new_parse (&cfile, -1, buf, strlen(buf), "<STDIN>", 1); in main()
183 token = next_token (&val, (unsigned *)0, cfile); in main()
186 parse_warn (cfile, "unknown token: %s", val); in main()
187 skip_to_semi (cfile); in main()
209 skip_to_semi (cfile); in main()
213 token = next_token (&val, (unsigned *)0, cfile); in main()
226 skip_to_semi (cfile); in main()
230 token = next_token (&val, (unsigned *)0, cfile); in main()
[all …]
/minix3/usr.bin/sort/
H A Dmsort.c205 struct mfile *flistb[MERGE_FNUM], **flist = flistb, *cfile; in merge_sort_fstack() local
214 cfile = &fstack[i]; in merge_sort_fstack()
215 if (cfile->rec == NULL) { in merge_sort_fstack()
216 cfile->rec = allocrec(NULL, DEFLLEN); in merge_sort_fstack()
217 cfile->end = (u_char *)cfile->rec + DEFLLEN; in merge_sort_fstack()
219 rewind(cfile->fp); in merge_sort_fstack()
222 c = cfile->get(cfile->fp, cfile->rec, cfile->end, ftbl); in merge_sort_fstack()
228 sz = (cfile->end - (u_char *)cfile->rec) * 2; in merge_sort_fstack()
229 cfile->rec = allocrec(cfile->rec, sz); in merge_sort_fstack()
230 cfile->end = (u_char *)cfile->rec + sz; in merge_sort_fstack()
[all …]
/minix3/usr.bin/ftp/
H A Druserpass.c56 static FILE *cfile; variable
93 cfile = fopen(netrc, "r"); in ruserpass()
94 if (cfile == NULL) { in ruserpass()
156 fstat(fileno(cfile), &stb) >= 0 && in ruserpass()
168 if (fstat(fileno(cfile), &stb) >= 0 in ruserpass()
181 (void)fclose(cfile); in ruserpass()
184 while ((c = getc(cfile)) != EOF) in ruserpass()
200 for (i = 0; i < 8 && (c = getc(cfile)) != EOF && in ruserpass()
212 while ((c = getc(cfile)) != EOF && c != '\n'); in ruserpass()
229 if ((c = getc(cfile)) == EOF) { in ruserpass()
[all …]
/minix3/external/bsd/bind/dist/bin/tests/system/smartsign/
H A Dtests.sh28 cfile=child.db
71 czoneout=`$SIGNER -Sg -e now+1d -X now+2d -r $RANDFILE -o $czone $cfile 2>&1`
107 czoneout=`$SIGNER -Sxg -e now+1d -X now+2d -r $RANDFILE -o $czone -f ${cfile}2.signed $cfile 2>&1`
145 grep "key id = $ckactive" $cfile.signed > /dev/null || {
149 grep "key id = $ckpublished" $cfile.signed > /dev/null || {
153 grep "key id = $ckrevoked" $cfile.signed > /dev/null || {
157 grep "key id = $czactive" $cfile.signed > /dev/null || {
161 grep "key id = $czpublished" $cfile.signed > /dev/null || {
165 grep "key id = $czinactive" $cfile.signed > /dev/null || {
170 grep "key id = $ckprerevoke" $cfile.signed > /dev/null && {
[all …]
/minix3/crypto/external/bsd/heimdal/dist/lib/sl/
H A Dslc-gram.y108 FILE *cfile, *hfile; variable
305 space(cfile, level); in cprint()
306 vfprintf(cfile, fmt, ap); in cprint()
331 fprintf(cfile, "\"%s\", ", a->u.value); in gen_command()
332 fprintf(cfile, "%s_wrap, ", f); in gen_command()
335 fprintf(cfile, "\"%s %s\", ", a->u.value, b->u.value); in gen_command()
337 fprintf(cfile, "\"%s\", ", a->u.value); in gen_command()
340 fprintf(cfile, "\"%s\"", b->u.value); in gen_command()
342 fprintf(cfile, "NULL"); in gen_command()
343 fprintf(cfile, " },\n"); in gen_command()
[all …]
/minix3/external/bsd/bind/dist/bin/tests/system/metadata/
H A Dtests.sh23 czone=child.parent.nil cfile=child.db
42 $SIGNER -Sg -o $czone $cfile > /dev/null 2>&1
52 }' < ${cfile}.signed > sigs
60 }' < ${cfile}.signed > keys
127 $SIGNER -Sg -o $czone -f ${cfile}.new ${cfile}.signed > /dev/null 2>&1
/minix3/external/bsd/bind/dist/bin/tests/
H A Dt_api.pl76 local($cfile) = @_;
79 if ((-f $cfile) && (-s _)) {
80 open(XXX, "< $cfile");
/minix3/external/bsd/libevent/dist/
H A Dcompile259 cfile=
282 cfile=$1
295 if test -z "$ofile" || test -z "$cfile"; then
305 cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
/minix3/external/bsd/flex/dist/
H A Dcompile260 cfile=
283 cfile=$1
296 if test -z "$ofile" || test -z "$cfile"; then
306 cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
/minix3/external/bsd/nvi/dist/dist/
H A Dcompile259 cfile=
282 cfile=$1
295 if test -z "$ofile" || test -z "$cfile"; then
305 cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
/minix3/external/bsd/dhcp/dist/
H A Dcompile264 cfile=
287 cfile=$1
300 if test -z "$ofile" || test -z "$cfile"; then
310 cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
/minix3/external/bsd/bind/dist/unit/atf-src/admin/
H A Dcompile259 cfile=
282 cfile=$1
295 if test -z "$ofile" || test -z "$cfile"; then
305 cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
/minix3/external/bsd/file/dist/
H A Dcompile264 cfile=
287 cfile=$1
300 if test -z "$ofile" || test -z "$cfile"; then
310 cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
/minix3/crypto/external/bsd/openssl/dist/util/
H A Dmkerr.pl364 my $cfile = $csrc{$lib};
536 if (open(IN,"<$cfile")) {
582 open (OUT,">$cfile") || die "Can't open $cfile for writing";
585 /* $cfile */
/minix3/external/bsd/dhcp/dist/includes/
H A Ddhcpd.h1953 isc_result_t save_parse_state(struct parse *cfile);
1954 isc_result_t restore_parse_state(struct parse *cfile);
1958 struct parse *cfile);
1960 struct parse *cfile);
2007 void parse_address_range6(struct parse *cfile, struct group *group,
2009 void parse_prefix6(struct parse *cfile, struct group *group,
2011 void parse_fixed_prefix6(struct parse *cfile, struct host_decl *host_decl);
2015 void parse_server_duid(struct parse *cfile);
2016 void parse_server_duid_conf(struct parse *cfile);
2086 int parse_option_data(struct expression **expr, struct parse *cfile,
[all …]