Home
last modified time | relevance | path

Searched refs:fda (Results 1 – 25 of 1336) sorted by relevance

12345678910>>...54

/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/lib/api/fd/
H A Darray.c17 fda->nr = fda->nr_alloc = 0; in fdarray__init()
49 struct fdarray *fda = calloc(1, sizeof(*fda)); in fdarray__new() local
60 return fda; in fdarray__new()
73 free(fda); in fdarray__delete()
80 if (fda->nr == fda->nr_alloc && in fdarray__add()
81 fdarray__grow(fda, fda->nr_autogrow) < 0) in fdarray__add()
84 fda->entries[fda->nr].fd = fd; in fdarray__add()
85 fda->entries[fda->nr].events = revents; in fdarray__add()
86 fda->priv[fda->nr].flags = flags; in fdarray__add()
87 fda->nr++; in fdarray__add()
[all …]
H A Darray.h38 void fdarray__init(struct fdarray *fda, int nr_autogrow);
39 void fdarray__exit(struct fdarray *fda);
42 void fdarray__delete(struct fdarray *fda);
44 int fdarray__add(struct fdarray *fda, int fd, short revents, enum fdarray_flags flags);
45 int fdarray__poll(struct fdarray *fda, int timeout);
46 int fdarray__filter(struct fdarray *fda, short revents,
47 void (*entry_destructor)(struct fdarray *fda, int fd, void *arg),
49 int fdarray__grow(struct fdarray *fda, int extra);
50 int fdarray__fprintf(struct fdarray *fda, FILE *fp);
52 static inline int fdarray__available_entries(struct fdarray *fda) in fdarray__available_entries() argument
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/tools/lib/api/fd/
H A Darray.c17 fda->nr = fda->nr_alloc = 0; in fdarray__init()
49 struct fdarray *fda = calloc(1, sizeof(*fda)); in fdarray__new() local
60 return fda; in fdarray__new()
73 free(fda); in fdarray__delete()
80 if (fda->nr == fda->nr_alloc && in fdarray__add()
81 fdarray__grow(fda, fda->nr_autogrow) < 0) in fdarray__add()
84 fda->entries[fda->nr].fd = fd; in fdarray__add()
85 fda->entries[fda->nr].events = revents; in fdarray__add()
86 fda->priv[fda->nr].flags = flags; in fdarray__add()
87 fda->nr++; in fdarray__add()
[all …]
H A Darray.h38 void fdarray__init(struct fdarray *fda, int nr_autogrow);
39 void fdarray__exit(struct fdarray *fda);
42 void fdarray__delete(struct fdarray *fda);
44 int fdarray__add(struct fdarray *fda, int fd, short revents, enum fdarray_flags flags);
45 int fdarray__poll(struct fdarray *fda, int timeout);
46 int fdarray__filter(struct fdarray *fda, short revents,
47 void (*entry_destructor)(struct fdarray *fda, int fd, void *arg),
49 int fdarray__grow(struct fdarray *fda, int extra);
50 int fdarray__fprintf(struct fdarray *fda, FILE *fp);
52 static inline int fdarray__available_entries(struct fdarray *fda) in fdarray__available_entries() argument
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/lib/api/fd/
H A Darray.c17 fda->nr = fda->nr_alloc = 0; in fdarray__init()
49 struct fdarray *fda = calloc(1, sizeof(*fda)); in fdarray__new() local
60 return fda; in fdarray__new()
73 free(fda); in fdarray__delete()
80 if (fda->nr == fda->nr_alloc && in fdarray__add()
81 fdarray__grow(fda, fda->nr_autogrow) < 0) in fdarray__add()
84 fda->entries[fda->nr].fd = fd; in fdarray__add()
85 fda->entries[fda->nr].events = revents; in fdarray__add()
86 fda->priv[fda->nr].flags = flags; in fdarray__add()
87 fda->nr++; in fdarray__add()
[all …]
H A Darray.h38 void fdarray__init(struct fdarray *fda, int nr_autogrow);
39 void fdarray__exit(struct fdarray *fda);
42 void fdarray__delete(struct fdarray *fda);
44 int fdarray__add(struct fdarray *fda, int fd, short revents, enum fdarray_flags flags);
45 int fdarray__poll(struct fdarray *fda, int timeout);
46 int fdarray__filter(struct fdarray *fda, short revents,
47 void (*entry_destructor)(struct fdarray *fda, int fd, void *arg),
49 int fdarray__grow(struct fdarray *fda, int extra);
50 int fdarray__fprintf(struct fdarray *fda, FILE *fp);
52 static inline int fdarray__available_entries(struct fdarray *fda) in fdarray__available_entries() argument
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/perf/tests/
H A Dfdarray.c11 fda->nr = fda->nr_alloc; in fdarray__init_revents()
13 for (fd = 0; fd < fda->nr; ++fd) { in fdarray__init_revents()
14 fda->entries[fd].fd = fda->nr - fd; in fdarray__init_revents()
36 if (fda == NULL) { in test__fdarray__filter()
43 if (nr_fds != fda->nr_alloc) { in test__fdarray__filter()
45 nr_fds, fda->nr_alloc); in test__fdarray__filter()
53 nr_fds, fda->nr_alloc); in test__fdarray__filter()
87 fdarray__delete(fda); in test__fdarray__filter()
97 if (fda == NULL) { in test__fdarray__add()
134 if (fda->entries == NULL) { in test__fdarray__add()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/tools/perf/tests/
H A Dfdarray.c11 fda->nr = fda->nr_alloc; in fdarray__init_revents()
13 for (fd = 0; fd < fda->nr; ++fd) { in fdarray__init_revents()
14 fda->entries[fd].fd = fda->nr - fd; in fdarray__init_revents()
36 if (fda == NULL) { in test__fdarray__filter()
43 if (nr_fds != fda->nr_alloc) { in test__fdarray__filter()
45 nr_fds, fda->nr_alloc); in test__fdarray__filter()
53 nr_fds, fda->nr_alloc); in test__fdarray__filter()
87 fdarray__delete(fda); in test__fdarray__filter()
97 if (fda == NULL) { in test__fdarray__add()
134 if (fda->entries == NULL) { in test__fdarray__add()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/perf/tests/
H A Dfdarray.c11 fda->nr = fda->nr_alloc; in fdarray__init_revents()
13 for (fd = 0; fd < fda->nr; ++fd) { in fdarray__init_revents()
14 fda->entries[fd].fd = fda->nr - fd; in fdarray__init_revents()
36 if (fda == NULL) { in test__fdarray__filter()
43 if (nr_fds != fda->nr_alloc) { in test__fdarray__filter()
45 nr_fds, fda->nr_alloc); in test__fdarray__filter()
53 nr_fds, fda->nr_alloc); in test__fdarray__filter()
87 fdarray__delete(fda); in test__fdarray__filter()
97 if (fda == NULL) { in test__fdarray__add()
134 if (fda->entries == NULL) { in test__fdarray__add()
[all …]
/dports/emulators/bochs/bochs-2.7/iodev/hdimage/
H A Dcdrom_amigaos.cc97 fda = NULL; in cdrom_amigaos_c()
110 if (fda) Close(fda); in cdrom_amigaos_c()
135 if(fda) in ~cdrom_amigaos_c()
136 Close(fda); in ~cdrom_amigaos_c()
137 fda = NULL; in ~cdrom_amigaos_c()
165 if(fda) Close(fda); in insert_cdrom()
168 if(fda){ in insert_cdrom()
204 if(fda) in eject_cdrom()
206 Close(fda); in eject_cdrom()
207 fda = NULL; in eject_cdrom()
[all …]
/dports/archivers/zutils/zutils-1.10/
H A Dzutils.cc173 int fda[2]; // pipe from feeder in set_data_feeder() local
182 if( close( fda[0] ) != 0 || in set_data_feeder()
186 if( close( fda[1] ) != 0 ) in set_data_feeder()
198 close( fda[0] ) == 0 && close( fda[1] ) == 0 && in set_data_feeder()
218 close( fda[0] ); close( fda[1] ); close( fda2[1] ); in set_data_feeder()
224 int fda[2]; // pipe from feeder in set_data_feeder() local
225 if( pipe( fda ) < 0 ) in set_data_feeder()
228 *infdp = fda[0]; in set_data_feeder()
232 if( close( fda[0] ) != 0 || in set_data_feeder()
235 if( close( fda[1] ) != 0 ) in set_data_feeder()
[all …]
H A Dztest.cc111 int fda[2]; // pipe from feeder in ztest_stdin() local
112 if( pipe( fda ) < 0 ) in ztest_stdin()
118 if( close( fda[0] ) != 0 || in ztest_stdin()
119 !feed_data( "", infd, fda[1], magic_data, magic_size ) ) in ztest_stdin()
121 if( close( fda[1] ) != 0 ) in ztest_stdin()
131 if( dup2( fda[0], STDIN_FILENO ) >= 0 && in ztest_stdin()
132 close( fda[0] ) == 0 && close( fda[1] ) == 0 ) in ztest_stdin()
154 close( fda[0] ); close( fda[1] ); in ztest_stdin()
H A Dzdiff.cc166 int fda[2]; // pipe from feeder to compressor in set_data_feeder() local
167 if( pipe( fda ) < 0 ) in set_data_feeder()
172 if( close( fda[0] ) != 0 || in set_data_feeder()
173 !feed_data( filename, infd, fda[1], magic_data, magic_size ) ) in set_data_feeder()
175 if( close( fda[1] ) != 0 ) in set_data_feeder()
193 if( dup2( fda[0], STDIN_FILENO ) >= 0 && in set_data_feeder()
195 close( fda[0] ) == 0 && close( fda[1] ) == 0 && in set_data_feeder()
215 close( fda[0] ); close( fda[1] ); in set_data_feeder()
H A Dzupdate.cc209 int fda[2]; // pipe between decompressor and compressor in zupdate_file() local
210 if( pipe( fda ) < 0 ) in zupdate_file()
216 if( dup2( fda[1], STDOUT_FILENO ) >= 0 && in zupdate_file()
217 close( fda[0] ) == 0 && close( fda[1] ) == 0 ) in zupdate_file()
240 if( dup2( fda[0], STDIN_FILENO ) >= 0 && in zupdate_file()
241 close( fda[0] ) == 0 && close( fda[1] ) == 0 ) in zupdate_file()
263 close( fda[0] ); close( fda[1] ); in zupdate_file()
/dports/lang/fpc-source/fpc-3.2.2/tests/test/
H A Dtprop.pp13 fda: tdynarr;
16 property da: tdynarr read fda write fda;
42 if (length(c.fda)<>4) or
43 (c.fda[0]<>245) or
44 (c.fda[1]<>1) or
45 (c.fda[2]<>38) or
46 (c.fda[3]<>115) then
/dports/net/bird2/bird-2.0.8/filter/
H A Df-util.c44 #define CA_KEY(n) n->name, n->fda.type
52 struct f_dynamic_attr fda; member
67 struct ca_storage *cas = HASH_FIND(ca_hash, CA, ca->name, ca->fda->type); in ca_free()
71 ca->fda = NULL; in ca_free()
73 uint id = EA_CUSTOM_ID(cas->fda.ea_code); in ca_free()
86 ca->name, ca->fda->ea_code, ca->fda->type, ca->fda->f_type); in ca_dump()
156 cas->fda = f_new_dynamic_attr(ea_type, f_type, EA_CUSTOM(id)); in ca_lookup()
166 ca->fda = &(cas->fda); in ca_lookup()
/dports/emulators/yuzu/yuzu-0b47f7a46/externals/libzip/libzip/regress/
H A Dcan_clone_file.c88 int fda, fdb, ret; in main()
91 if ((fda = mkstemp(namea)) < 0) { in main()
97 (void)close(fda); in main()
101 if (write(fda, "test\n", 5) < 0) { in main()
103 (void)close(fda); in main()
109 range.src_fd = fda; in main()
114 (void)close(fda); in main()
/dports/archivers/libzip/libzip-1.7.3/regress/
H A Dcan_clone_file.c91 int fda, fdb, ret; in main()
94 if ((fda = mkstemp(namea)) < 0) { in main()
100 (void)close(fda); in main()
104 if (write(fda, "test\n", 5) < 0) { in main()
106 (void)close(fda); in main()
112 range.src_fd = fda; in main()
117 (void)close(fda); in main()
/dports/math/ploticus-nox11/pl240src/src/
H A Dproc_boxplot.c183 stats[N_OBS] = fda( irow, pf[0], axis ); in PLP_boxplot()
184 stats[MEAN] = fda( irow, pf[1], axis ); in PLP_boxplot()
185 stats[SD] = fda( irow, pf[2], axis ); in PLP_boxplot()
186 stats[MIN] = fda( irow, pf[3], axis ); in PLP_boxplot()
187 stats[MAX] = fda( irow, pf[4], axis ); in PLP_boxplot()
190 stats[N_OBS] = fda( irow, pf[0], axis ); in PLP_boxplot()
191 stats[PCTL25] = fda( irow, pf[2], axis ); in PLP_boxplot()
192 stats[MEDIAN] = fda( irow, pf[3], axis ); in PLP_boxplot()
193 stats[PCTL75] = fda( irow, pf[4], axis ); in PLP_boxplot()
194 …if( tailmode[0] == '5' ) { stats[PCTL5] = fda( irow, pf[1], axis ); stats[PCTL95] = fda( irow, pf[… in PLP_boxplot()
[all …]
/dports/math/ploticus/pl240src/src/
H A Dproc_boxplot.c183 stats[N_OBS] = fda( irow, pf[0], axis );
184 stats[MEAN] = fda( irow, pf[1], axis );
185 stats[SD] = fda( irow, pf[2], axis );
186 stats[MIN] = fda( irow, pf[3], axis );
187 stats[MAX] = fda( irow, pf[4], axis );
190 stats[N_OBS] = fda( irow, pf[0], axis );
191 stats[PCTL25] = fda( irow, pf[2], axis );
192 stats[MEDIAN] = fda( irow, pf[3], axis );
193 stats[PCTL75] = fda( irow, pf[4], axis );
194 …if( tailmode[0] == '5' ) { stats[PCTL5] = fda( irow, pf[1], axis ); stats[PCTL95] = fda( irow, pf[…
[all …]
/dports/emulators/qemu5/qemu-5.2.0/tests/qemu-iotests/
H A D172109 echo === Using -fda/-fdb options ===
111 check_floppy_qtree -fda "$TEST_IMG"
113 check_floppy_qtree -fda "$TEST_IMG" -fdb "$TEST_IMG.2"
148 check_floppy_qtree -fda "$TEST_IMG" -drive if=none,file="$TEST_IMG.2" -global isa-fdc.driveB=none0
152 check_floppy_qtree -fda "$TEST_IMG" -drive if=none,file="$TEST_IMG.2" -global isa-fdc.driveA=none0
155 check_floppy_qtree -fda "$TEST_IMG" -drive if=none,file="$TEST_IMG.2" -global floppy.drive=none0
162 check_floppy_qtree -fda "$TEST_IMG" -drive if=none,file="$TEST_IMG.2" -device floppy,drive=none0
163 check_floppy_qtree -fda "$TEST_IMG" -drive if=none,file="$TEST_IMG.2" -device floppy,drive=none0,un…
169 check_floppy_qtree -fda "$TEST_IMG" -drive if=none,file="$TEST_IMG.2" -device floppy,drive=none0,un…
216 check_floppy_qtree -fda "" -device floppy,drive=floppy0
[all …]
/dports/emulators/qemu/qemu-6.2.0/tests/qemu-iotests/
H A D172110 echo === Using -fda/-fdb options ===
112 check_floppy_qtree -fda "$TEST_IMG"
114 check_floppy_qtree -fda "$TEST_IMG" -fdb "$TEST_IMG.2"
140 check_floppy_qtree -fda "$TEST_IMG" -drive if=none,file="$TEST_IMG.2" -global floppy.drive=none0
147 check_floppy_qtree -fda "$TEST_IMG" -drive if=none,file="$TEST_IMG.2" -device floppy,drive=none0
148 check_floppy_qtree -fda "$TEST_IMG" -drive if=none,file="$TEST_IMG.2" -device floppy,drive=none0,un…
154 check_floppy_qtree -fda "$TEST_IMG" -drive if=none,file="$TEST_IMG.2" -device floppy,drive=none0,un…
188 check_floppy_qtree -fda "" -device floppy,drive=floppy0
189 check_floppy_qtree -fda "" -global floppy.drive=floppy0
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/tests/qemu-iotests/
H A D172110 echo === Using -fda/-fdb options ===
112 check_floppy_qtree -fda "$TEST_IMG"
114 check_floppy_qtree -fda "$TEST_IMG" -fdb "$TEST_IMG.2"
140 check_floppy_qtree -fda "$TEST_IMG" -drive if=none,file="$TEST_IMG.2" -global floppy.drive=none0
147 check_floppy_qtree -fda "$TEST_IMG" -drive if=none,file="$TEST_IMG.2" -device floppy,drive=none0
148 check_floppy_qtree -fda "$TEST_IMG" -drive if=none,file="$TEST_IMG.2" -device floppy,drive=none0,un…
154 check_floppy_qtree -fda "$TEST_IMG" -drive if=none,file="$TEST_IMG.2" -device floppy,drive=none0,un…
188 check_floppy_qtree -fda "" -device floppy,drive=floppy0
189 check_floppy_qtree -fda "" -global floppy.drive=floppy0
/dports/emulators/qemu60/qemu-6.0.0/tests/qemu-iotests/
H A D172110 echo === Using -fda/-fdb options ===
112 check_floppy_qtree -fda "$TEST_IMG"
114 check_floppy_qtree -fda "$TEST_IMG" -fdb "$TEST_IMG.2"
140 check_floppy_qtree -fda "$TEST_IMG" -drive if=none,file="$TEST_IMG.2" -global floppy.drive=none0
147 check_floppy_qtree -fda "$TEST_IMG" -drive if=none,file="$TEST_IMG.2" -device floppy,drive=none0
148 check_floppy_qtree -fda "$TEST_IMG" -drive if=none,file="$TEST_IMG.2" -device floppy,drive=none0,un…
154 check_floppy_qtree -fda "$TEST_IMG" -drive if=none,file="$TEST_IMG.2" -device floppy,drive=none0,un…
188 check_floppy_qtree -fda "" -device floppy,drive=floppy0
189 check_floppy_qtree -fda "" -global floppy.drive=floppy0
/dports/news/golded+/golded-plus/golded+/goldlib/gall/
H A Dgftnnlfd.cpp148 _FDFdn fda; in fetchdata() local
149 while(read(fd, &fda, sizeof(_FDFdn)) == sizeof(_FDFdn)) { in fetchdata()
150 if(not fda.erased) { in fetchdata()
151 …if((fda.zone == data.addr.zone) and (fda.net == data.addr.net) and (fda.node == data.addr.node) an… in fetchdata()
152 strnp2cc(data.name, fda.user, 36); in fetchdata()
153 strnp2cc(data.system, fda.name, 30); in fetchdata()
154 strnp2cc(data.phone, fda.telephone, 40); in fetchdata()
155 strnp2cc(data.location, fda.location, 40); in fetchdata()
156 switch(fda.maxbaud) { in fetchdata()
174 getstatus(data.status, fda.status); in fetchdata()
[all …]

12345678910>>...54