Home
last modified time | relevance | path

Searched refs:dfile (Results 1 – 25 of 1439) sorted by relevance

12345678910>>...58

/dports/dns/dnsperf/dnsperf-2.7.0/src/
H A Ddatafile.c123 if (dfile->at && dfile->at < dfile->have) { in read_more()
124 memmove(dfile->databuf, &dfile->databuf[dfile->at], dfile->have - dfile->at); in read_more()
125 dfile->have -= dfile->at; in read_more()
127 } else if (dfile->at == dfile->have) { in read_more()
132 n = read(dfile->fd, &dfile->databuf[dfile->have], sizeof(dfile->databuf) - dfile->have - 1); in read_more()
138 dfile->databuf[dfile->have] = 0; in read_more()
140 if (dfile->is_file && dfile->have == dfile->size) { in read_more()
155 cur = &dfile->databuf[dfile->at]; in read_one_line()
162 nrem = dfile->have - dfile->at; in read_one_line()
179 if (dfile->have - dfile->at > 0) { in read_one_line()
[all …]
/dports/dns/bind911/bind-9.11.37/contrib/dnsperf-2.1.0.0-1/
H A Ddatafile.c66 dfile = isc_mem_get(mctx, sizeof(*dfile)); in perf_datafile_open()
74 dfile->size = 0; in perf_datafile_open()
79 isc_buffer_init(&dfile->data, dfile->databuf, BUFFER_SIZE); in perf_datafile_open()
93 return dfile; in perf_datafile_open()
106 if (dfile->fd >= 0 && dfile->fd != STDIN_FILENO) in perf_datafile_close()
109 isc_mem_put(dfile->mctx, dfile, sizeof(*dfile)); in perf_datafile_close()
145 if (!dfile->is_file && dfile->pipe_fd >= 0) { in read_more()
164 isc_buffer_usedlength(&dfile->data) == dfile->size) in read_more()
229 if (dfile->maxruns > 0 && dfile->maxruns == dfile->nruns) { in perf_datafile_next()
240 if (dfile->maxruns != dfile->nruns) { in perf_datafile_next()
[all …]
/dports/devel/taskflow/taskflow-3.2.0/3rd-party/tbb/examples/parallel_for/tachyon/src/
H A Dparse.cpp195 fscanf(dfile,"%s",data); in GetString()
206 FILE * dfile; in readmodel() local
210 dfile=NULL; in readmodel()
213 if (dfile==NULL) { in readmodel()
219 fclose(dfile); in readmodel()
231 fclose(dfile); in readmodel()
272 fscanf(dfile, "%f", &a); in GetScenedefs()
347 return GetBox(dfile); in GetObject()
350 return GetVol(dfile); in GetObject()
353 return GetTri(dfile); in GetObject()
[all …]
/dports/devel/tbb/oneTBB-2020.3/examples/parallel_for/tachyon/src/
H A Dparse.cpp195 fscanf(dfile,"%s",data); in GetString()
206 FILE * dfile; in readmodel() local
210 dfile=NULL; in readmodel()
213 if (dfile==NULL) { in readmodel()
219 fclose(dfile); in readmodel()
231 fclose(dfile); in readmodel()
272 fscanf(dfile, "%f", &a); in GetScenedefs()
347 return GetBox(dfile); in GetObject()
350 return GetVol(dfile); in GetObject()
353 return GetTri(dfile); in GetObject()
[all …]
/dports/devel/onetbb/oneTBB-2021.4.0/examples/parallel_for/tachyon/src/
H A Dparse.cpp198 FILE *dfile; in readmodel() local
202 dfile = nullptr; in readmodel()
205 if (dfile == nullptr) { in readmodel()
211 fclose(dfile); in readmodel()
223 fclose(dfile); in readmodel()
263 fscanf(dfile, "%f", &a); in GetScenedefs()
267 fscanf(dfile, "%f", &b); in GetScenedefs()
427 fscanf(dfile, "%f", &a); in GetTexBody()
431 fscanf(dfile, "%f", &b); in GetTexBody()
435 fscanf(dfile, "%f", &c); in GetTexBody()
[all …]
/dports/textproc/link-grammar/link-grammar-5.8.0/link-grammar/dict-file/
H A Dread-dialect.c155 while ((*dfile->pin != '\0') && strchr(dfile->delims, *dfile->pin) == NULL) in get_label()
156 dfile->pin++; in get_label()
158 dfile->delim = *dfile->pin; in get_label()
159 if (*dfile->pin == '\n') dfile->eol = true; in get_label()
186 dfile->pin++; in get_label()
201 dfile->fname, suppress_0(dfile->line_number, buf), in require_delimiter()
210 while ((*dfile->pin != '\n') && (*dfile->pin != '\0') && in skip_space()
213 dfile->pin++; in skip_space()
263 else if ((*dfile->pin != '%') && (*dfile->pin != '\n')) in dialect_read_from_str()
270 if ((dfile->delim == '\n') || (dfile->delim == '\0') || in dialect_read_from_str()
[all …]
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/pcmcia/
H A Ddevlist2h.awk98 printf("/*\n") > dfile
100 > dfile
101 printf(" *\n") > dfile
104 printf(" */\n") > dfile
177 print $0 > dfile
182 printf("\n") > dfile
197 printf("};\n\n") > dfile
213 printf("0") > dfile
214 printf(",\n") > dfile
237 printf("};\n") > dfile
[all …]
/dports/graphics/tachyon/tachyon/src/
H A Dwinbmp.c16 fputc((num ) & 0xFF, dfile); in write_le_int32()
17 fputc((num >> 8 ) & 0xFF, dfile); in write_le_int32()
18 fputc((num >> 16) & 0xFF, dfile); in write_le_int32()
19 fputc((num >> 24) & 0xFF, dfile); in write_le_int32()
23 fputc((num ) & 0xFF, dfile); in write_le_int16()
29 FILE * dfile; in writebmp() local
40 fputc('B', dfile); in writebmp()
41 fputc('M', dfile); in writebmp()
43 write_le_int16(dfile, 0); in writebmp()
44 write_le_int16(dfile, 0); in writebmp()
[all …]
/dports/graphics/tachyon/tachyon/demosrc/
H A Dnffparse.c45 fscanf(dfile,"%s",data); in NFFGetString()
64 FILE * dfile; in ParseNFF() local
73 dfile=fopen(nffname,"r"); in ParseNFF()
74 if (dfile==NULL) { in ParseNFF()
97 NFFGetString(dfile, "at"); in NFFGetScenedefs()
103 NFFGetString(dfile, "up"); in NFFGetScenedefs()
104 NFFGetVector(dfile, &Cup); in NFFGetScenedefs()
150 NFFGetVector(dfile, &ctr); in NFFGetLight()
213 fscanf(dfile, "%f", &a); in NFFGetSphere()
226 NFFGetVector(dfile, &v0); in NFFGetPolygon()
[all …]
H A Dac3dparse.c48 while ((!feof(dfile)) && ((c = fgetc(dfile)) != '"')); in GetAC3DString()
51 while ((!feof(dfile)) && ((c = fgetc(dfile)) != '"')) { in GetAC3DString()
80 fscanf(dfile,"%s",data); in GetString()
91 FILE * dfile; in ParseAC3D() local
96 dfile=NULL; in ParseAC3D()
98 dfile=fopen(modelfile,"r"); in ParseAC3D()
99 if (dfile==NULL) { in ParseAC3D()
106 fclose(dfile); in ParseAC3D()
122 fclose(dfile); in ParseAC3D()
226 fscanf(dfile, "%d", &e); in GetMaterial()
[all …]
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/lib/erl_interface/test/erl_eterm_SUITE_data/
H A Dcnode.c84 fprintf(dfile, "s = %d\n", s); fflush(dfile); in MAIN()
97 fprintf(dfile, "ref = %p\n", ref); fflush(dfile); in MAIN()
100 fprintf(dfile, "s = %d\n", s); fflush(dfile); in MAIN()
105 fprintf(dfile, "pid = %p\n", emsg); fflush(dfile); in MAIN()
107 fprintf(dfile, "s2 = %d\n", s); fflush(dfile); in MAIN()
138 fprintf(dfile, "s = %d\n", s); fflush(dfile); in MAIN()
140 fprintf(dfile, "s = %d\n", s); fflush(dfile); in MAIN()
144 fprintf(dfile, "s = %d\n", s); fflush(dfile); in MAIN()
157 fprintf(dfile, "enc1 s = %d\n", s); fflush(dfile); in MAIN()
159 fprintf(dfile, "enc2 s = %d\n", s); fflush(dfile); in MAIN()
[all …]
/dports/lang/erlang-runtime21/otp-OTP-21.3.8.24/lib/erl_interface/test/erl_eterm_SUITE_data/
H A Dcnode.c84 fprintf(dfile, "s = %d\n", s); fflush(dfile); in MAIN()
97 fprintf(dfile, "ref = %p\n", ref); fflush(dfile); in MAIN()
100 fprintf(dfile, "s = %d\n", s); fflush(dfile); in MAIN()
105 fprintf(dfile, "pid = %p\n", emsg); fflush(dfile); in MAIN()
107 fprintf(dfile, "s2 = %d\n", s); fflush(dfile); in MAIN()
138 fprintf(dfile, "s = %d\n", s); fflush(dfile); in MAIN()
140 fprintf(dfile, "s = %d\n", s); fflush(dfile); in MAIN()
144 fprintf(dfile, "s = %d\n", s); fflush(dfile); in MAIN()
157 fprintf(dfile, "enc1 s = %d\n", s); fflush(dfile); in MAIN()
159 fprintf(dfile, "enc2 s = %d\n", s); fflush(dfile); in MAIN()
[all …]
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/podulebus/
H A Dpodulelist2h.awk36 dfile="podule_data.h"
45 printf("/*\n") > dfile
47 > dfile
48 printf(" *\n") > dfile
51 printf(" */\n") > dfile
157 print $0 > dfile
162 printf("\n") > dfile
172 printf(" ") > dfile
182 printf("\n") > dfile
188 printf("\t") > dfile
[all …]
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/videomode/
H A Ddevlist2h.awk34 dfile="ediddevs_data.h"
43 printf("/*\n") > dfile
45 > dfile
46 printf(" *\n") > dfile
49 printf(" */\n") > dfile
150 print $0 > dfile
155 printf("\n") > dfile
159 printf("\t{") > dfile
164 printf("};\n") > dfile
167 printf("\n") > dfile
[all …]
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/eisa/
H A Ddevlist2h.awk34 dfile="eisadevs_data.h"
43 printf("/*\n") > dfile
45 > dfile
46 printf(" *\n") > dfile
152 print $0 > dfile
157 printf("\n") > dfile
164 > dfile
167 > dfile
174 > dfile
176 > dfile
[all …]
/dports/mail/libmilter/sendmail-8.16.1/contrib/
H A Dre-mqueue.pl145 while ($dfile = pop(@dfiles)) {
147 ($qfile = $dfile) =~ s/^d/q/;
148 ($xfile = $dfile) =~ s/^d/x/;
169 if (-e "$queueB/$dfile") {
196 if (! -e $dfile) {
207 if (link("$dfile", "$queueB/$dfile") == 0) {
209 &syslog('err', 'link(%s, %s/%s): %s', $dfile, $queueB, $dfile, $bang);
210 print STDERR "$0: link($dfile, $queueB/$dfile): $bang\n";
217 unlink("$queueB/$dfile");
225 unlink("$queueB/$dfile");
[all …]
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/acpi/
H A Ddevlist2h.awk33 dfile="acpidevs_data.h"
41 printf("/*\n") > dfile
43 > dfile
44 printf(" *\n") > dfile
46 printf(" *\t%s\n", VERSION) > dfile
47 printf(" */\n") > dfile
65 printf("\n") > dfile
69 printf("\t{\n") > dfile
72 printf("\t},\n") > dfile
74 printf("};\n") > dfile
[all …]
/dports/science/hdf/hdf-4.2.15/hdf/src/
H A Ddff.c84 ndfclose(intf * dfile) in ndfclose() argument
86 return (DFclose((DF *) * dfile)); in ndfclose()
156 ndfdel(intf * dfile, intf * tag, intf * ref) in ndfdel() argument
215 ndfread(intf * dfile, _fcd ptr, intf * len) in ndfread() argument
231 ndfseek(intf * dfile, intf * offset) in ndfseek() argument
263 ndfupdate(intf * dfile) in ndfupdate() argument
265 return (DFupdate((DF *) * dfile)); in ndfupdate()
342 ret = DFfind((DF *) * dfile, ptr1); in ndffind()
378 ndfnewref(intf * dfile) in ndfnewref() argument
394 ndfnumber(intf * dfile, intf * tag) in ndfnumber() argument
[all …]
H A Ddfstubs.c144 DFclose(DF * dfile) in DFclose() argument
173 dfile = 0; in DFclose()
770 DFupdate(DF * dfile) in DFupdate() argument
1160 DF *dfile; in DFIfind()
1272 DFIemptyDD(dfile) in DFIemptyDD() argument
1273 DF *dfile; in DFIemptyDD()
1350 DF *dfile; in DFIread()
1356 ((int32) DF_TELL(dfile->file) - dfile->up_dd->offset);
1378 DF *dfile; in DFIseek()
1381 CKSEEK(dfile->file, (long) dfile->up_dd->offset + offset, 0, -1);
[all …]
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/tc/
H A Ddevlist2h.awk34 dfile="tcdevs_data.h"
43 printf("/*\n") > dfile
45 > dfile
46 printf(" *\n") > dfile
49 printf(" */\n") > dfile
119 print $0 > dfile
124 printf("\n") > dfile
130 > dfile
132 > dfile
134 > dfile
[all …]
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/
H A Ddevlist2h.awk45 printf("/*\n") > dfile
47 > dfile
48 printf(" *\n") > dfile
51 printf(" */\n") > dfile
184 print $0 > dfile
189 printf("\n") > dfile
194 > dfile
207 printf("};\n") > dfile
209 printf("\n") > dfile
241 printf("\n") > dfile
[all …]
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/mca/
H A Ddevlist2h.awk37 dfile="mcadevs_data.h"
49 printf("/*\n") > dfile
51 > dfile
52 printf(" *\n") > dfile
54 printf(" *\t%s\n", VERSION) > dfile
55 printf(" */\n") > dfile
95 print $0 > dfile
110 products[i, 2]) > dfile
112 printf(" { 0, NULL, }\n") > dfile
113 printf("};\n") > dfile
[all …]
/dports/security/klee/klee-2.2/tools/klee-replay/
H A Dfile-creator.c53 struct stat64 *s = dfile->stat; in create_link()
57 create_file(-1, buf, dfile, tmpdir); in create_link()
105 struct stat64 *s = dfile->stat; in create_char_dev()
106 unsigned flen = dfile->size; in create_char_dev()
107 char* contents = dfile->contents; in create_char_dev()
231 unsigned flen = dfile->size; in create_pipe()
232 char* contents = dfile->contents; in create_pipe()
291 struct stat64 *s = dfile->stat; in create_reg_file()
292 char* contents = dfile->contents; in create_reg_file()
293 unsigned flen = dfile->size; in create_reg_file()
[all …]
/dports/science/hdf/hdf-4.2.15/hdf/test/
H A Dtstubsf.f32 integer dfile local
101 if (dfile .eq. 0) then
110 ret = dfclose(dfile)
122 ret = dfclose(dfile)
134 if (dfile .eq. 0) then
190 ret = dfread(dfile, in, 5)
223 ret = dfwrite(dfile, in, 5)
258 nd = dfnumber(dfile, t255)
284 ret = dfupdate(dfile)
306 ret = dfnewref(dfile)
[all …]
/dports/security/openssl-unsafe/openssl-c9ba19c/util/
H A Dcopy-if-different.pl37 my $dfile;
40 $dfile = $_;
41 $dfile =~ s|^.*[/\\]([^/\\]*)$|$1|;
42 $dfile = "$dest/$dfile";
46 $dfile = $dest;
50 if (-f $dfile)
53 sysopen(OUT, $dfile, O_RDONLY|O_BINARY)
54 || die "Can't Open $dfile";
63 print "NOT copying: $_ to $dfile\n";
69 || die "Can't Open $dfile";
[all …]

12345678910>>...58