Searched defs:td (Results 26 - 50 of 114) sorted by relevance

12345

/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_query.c174 struct pipe_query_data_timestamp_disjoint td; local
176 td.frequency = 1000000;
177 td.disjoint = sq->end != sq->start;
178 memcpy(vresult, &td,
/external/clang/test/SemaCXX/
H A Ddecl-expr-ambiguity.cpp28 typedef T td(int(p)); typedef
/external/fio/
H A Dcgroup.c22 static char *find_cgroup_mnt(struct thread_data *td) argument
31 td_verror(td, errno, "setmntent /proc/mounts");
50 static void add_cgroup(struct thread_data *td, const char *name, argument
71 if (td->o.cgroup_nodelete)
100 static char *get_cgroup_root(struct thread_data *td, char *mnt) argument
104 if (td->o.cgroup)
105 sprintf(str, "%s%s%s", mnt, FIO_OS_PATH_SEPARATOR, td->o.cgroup);
107 sprintf(str, "%s%s%s", mnt, FIO_OS_PATH_SEPARATOR, td->o.name);
112 static int write_int_to_file(struct thread_data *td, const char *path, argument
122 td_verror(td, errn
132 cgroup_write_pid(struct thread_data *td, const char *root) argument
142 cgroup_del_pid(struct thread_data *td, char *mnt) argument
147 cgroup_setup(struct thread_data *td, struct flist_head *clist, char **mnt) argument
189 cgroup_shutdown(struct thread_data *td, char **mnt) argument
[all...]
H A Dioengines.c88 static struct ioengine_ops *dlopen_ioengine(struct thread_data *td, argument
99 td_vmsg(td, -1, dlerror(), "dlopen");
125 td_vmsg(td, -1, dlerror(), "dlsym");
134 struct ioengine_ops *load_ioengine(struct thread_data *td, const char *name) argument
151 ops = dlopen_ioengine(td, name);
174 void free_ioengine(struct thread_data *td) argument
176 dprint(FD_IO, "free ioengine %s\n", td->io_ops->name);
178 if (td->eo && td->io_ops->options) {
179 options_free(td
191 close_ioengine(struct thread_data *td) argument
203 td_io_prep(struct thread_data *td, struct io_u *io_u) argument
222 td_io_getevents(struct thread_data *td, unsigned int min, unsigned int max, struct timespec *t) argument
265 td_io_queue(struct thread_data *td, struct io_u *io_u) argument
364 td_io_init(struct thread_data *td) argument
384 td_io_commit(struct thread_data *td) argument
410 td_io_open_file(struct thread_data *td, struct fio_file *f) argument
491 td_io_close_file(struct thread_data *td, struct fio_file *f) argument
509 td_io_get_file_size(struct thread_data *td, struct fio_file *f) argument
517 do_sync_file_range(struct thread_data *td, struct fio_file *f) argument
530 do_io_u_sync(struct thread_data *td, struct io_u *io_u) argument
556 do_io_u_trim(struct thread_data *td, struct io_u *io_u) argument
577 struct thread_data td; local
[all...]
H A Dblktrace.c18 static int refill_fifo(struct thread_data *td, struct fifo *fifo, int fd) argument
30 td_verror(td, errno, "read blktrace file");
44 static int trace_fifo_get(struct thread_data *td, struct fifo *fifo, int fd, argument
48 int ret = refill_fifo(td, fifo, fd);
60 static int discard_pdu(struct thread_data *td, struct fifo *fifo, int fd, argument
67 return trace_fifo_get(td, fifo, fd, NULL, t->pdu_len);
111 static int lookup_device(struct thread_data *td, char *path, unsigned int maj, argument
136 found = lookup_device(td, full_path, maj, min);
151 if (td->o.replay_redirect) {
154 td
177 trace_add_open_close_event(struct thread_data *td, int fileno, enum file_log_act action) argument
190 trace_add_file(struct thread_data *td, __u32 device) argument
233 store_ipo(struct thread_data *td, unsigned long long offset, unsigned int bytes, int rw, unsigned long long ttime, int fileno) argument
278 handle_trace_discard(struct thread_data *td, struct blk_io_trace *t, unsigned long long ttime, unsigned long *ios) argument
308 handle_trace_fs(struct thread_data *td, struct blk_io_trace *t, unsigned long long ttime, unsigned long *ios, unsigned int *bs) argument
331 handle_trace(struct thread_data *td, struct blk_io_trace *t, unsigned long long ttime, unsigned long *ios, unsigned int *bs) argument
367 load_blktrace(struct thread_data *td, const char *filename, int need_swap) argument
[all...]
H A Dlibfio.c79 static void reset_io_counters(struct thread_data *td) argument
84 td->stat_io_bytes[ddir] = 0;
85 td->this_io_bytes[ddir] = 0;
86 td->stat_io_blocks[ddir] = 0;
87 td->this_io_blocks[ddir] = 0;
88 td->rate_bytes[ddir] = 0;
89 td->rate_blocks[ddir] = 0;
91 td->zone_bytes = 0;
93 td->last_was_sync = 0;
94 td
103 clear_io_state(struct thread_data *td) argument
120 reset_all_stats(struct thread_data *td) argument
167 td_set_runstate(struct thread_data *td, int runstate) argument
177 td_bump_runstate(struct thread_data *td, int new_state) argument
185 td_restore_runstate(struct thread_data *td, int old_state) argument
192 struct thread_data *td; local
224 struct thread_data *td; local
[all...]
/external/fio/engines/
H A De4defrag.c39 struct thread_data *td; member in struct:e4defrag_options
68 static int fio_e4defrag_init(struct thread_data *td) argument
71 struct e4defrag_options *o = td->eo;
83 td_verror(td, ENOMEM, "io_queue_init");
88 if (td->o.directory)
89 len = sprintf(donor_name, "%s/", td->o.directory);
94 td_verror(td, errno, "io_queue_init");
101 long long len = td->o.file_size_high - td->o.start_offset;
102 r = fallocate(ed->donor_fd, 0, td
120 fio_e4defrag_cleanup(struct thread_data *td) argument
131 fio_e4defrag_queue(struct thread_data *td, struct io_u *io_u) argument
[all...]
H A Dguasi.c42 static int fio_guasi_prep(struct thread_data fio_unused *td, struct io_u *io_u) argument
51 static struct io_u *fio_guasi_event(struct thread_data *td, int event) argument
53 struct guasi_data *ld = td->io_ops->data;
82 static int fio_guasi_getevents(struct thread_data *td, unsigned int min, argument
85 struct guasi_data *ld = td->io_ops->data;
116 static int fio_guasi_queue(struct thread_data *td, struct io_u *io_u) argument
118 struct guasi_data *ld = td->io_ops->data;
120 fio_ro_check(td, io_u);
123 if (ld->queued_nr == (int) td->o.iodepth)
131 static void fio_guasi_queued(struct thread_data *td, struc argument
149 fio_guasi_commit(struct thread_data *td) argument
189 fio_guasi_cancel(struct thread_data fio_unused *td, struct io_u *io_u) argument
199 fio_guasi_cleanup(struct thread_data *td) argument
216 fio_guasi_init(struct thread_data *td) argument
[all...]
H A Dsolarisaio.c22 static int fio_solarisaio_cancel(struct thread_data fio_unused *td, argument
28 static int fio_solarisaio_prep(struct thread_data fio_unused *td, argument
31 struct solarisaio_data *sd = td->io_ops->data;
75 static int fio_solarisaio_getevents(struct thread_data *td, unsigned int min, argument
78 struct solarisaio_data *sd = td->io_ops->data;
101 static struct io_u *fio_solarisaio_event(struct thread_data *td, int event) argument
103 struct solarisaio_data *sd = td->io_ops->data;
108 static int fio_solarisaio_queue(struct thread_data fio_unused *td, argument
111 struct solarisaio_data *sd = td->io_ops->data;
116 fio_ro_check(td, io_
156 fio_solarisaio_cleanup(struct thread_data *td) argument
186 fio_solarisaio_init(struct thread_data *td) argument
[all...]
H A Dsplice.c29 static int fio_splice_read_old(struct thread_data *td, struct io_u *io_u) argument
31 struct spliceio_data *sd = td->io_ops->data;
73 static int fio_splice_read(struct thread_data *td, struct io_u *io_u) argument
75 struct spliceio_data *sd = td->io_ops->data;
89 td_verror(td, errno, "mmap io_u");
113 td_verror(td, errno, "splice-from-fd");
137 td_verror(td, errno, "vmsplice");
140 td_verror(td, ENODATA, "vmsplice");
154 td_verror(td, errno, "munnap io_u");
167 static int fio_splice_write(struct thread_data *td, struc argument
202 fio_spliceio_queue(struct thread_data *td, struct io_u *io_u) argument
248 fio_spliceio_cleanup(struct thread_data *td) argument
259 fio_spliceio_init(struct thread_data *td) argument
[all...]
H A Dbinject.c62 static unsigned int binject_read_commands(struct thread_data *td, void *p, argument
71 for_each_file(td, f, i) {
78 td_verror(td, errno, "read");
93 static int fio_binject_getevents(struct thread_data *td, unsigned int min, argument
96 struct binject_data *bd = td->io_ops->data;
106 for_each_file(td, f, i) {
123 ret = poll(bd->pfds, td->o.nr_files, -1);
127 td_verror(td, errno, "poll");
132 if (pollin_events(bd->pfds, td->o.nr_files))
139 events = binject_read_commands(td, bu
173 fio_binject_doio(struct thread_data *td, struct io_u *io_u) argument
186 fio_binject_prep(struct thread_data *td, struct io_u *io_u) argument
216 fio_binject_queue(struct thread_data *td, struct io_u *io_u) argument
235 fio_binject_event(struct thread_data *td, int event) argument
242 binject_open_ctl(struct thread_data *td) argument
253 binject_unmap_dev(struct thread_data *td, struct binject_file *bf) argument
275 binject_map_dev(struct thread_data *td, struct binject_file *bf, int fd) argument
330 fio_binject_close_file(struct thread_data *td, struct fio_file *f) argument
344 fio_binject_open_file(struct thread_data *td, struct fio_file *f) argument
377 fio_binject_cleanup(struct thread_data *td) argument
390 fio_binject_init(struct thread_data *td) argument
435 fio_binject_init(struct thread_data fio_unused *td) argument
[all...]
H A Dlibaio.c25 struct thread_data *td; member in struct:libaio_options
44 static int fio_libaio_prep(struct thread_data fio_unused *td, struct io_u *io_u) argument
58 static struct io_u *fio_libaio_event(struct thread_data *td, int event) argument
60 struct libaio_data *ld = td->io_ops->data;
119 static int fio_libaio_getevents(struct thread_data *td, unsigned int min, argument
122 struct libaio_data *ld = td->io_ops->data;
123 struct libaio_options *o = td->eo;
124 unsigned actual_min = td->o.iodepth_batch_complete == 0 ? 0 : min;
147 static int fio_libaio_queue(struct thread_data *td, struct io_u *io_u) argument
149 struct libaio_data *ld = td
184 fio_libaio_queued(struct thread_data *td, struct io_u **io_us, unsigned int nr) argument
203 fio_libaio_commit(struct thread_data *td) argument
235 fio_libaio_cancel(struct thread_data *td, struct io_u *io_u) argument
242 fio_libaio_cleanup(struct thread_data *td) argument
255 fio_libaio_init(struct thread_data *td) argument
[all...]
H A Dposixaio.c63 static int fio_posixaio_cancel(struct thread_data fio_unused *td, argument
75 static int fio_posixaio_prep(struct thread_data fio_unused *td, argument
93 static int fio_posixaio_getevents(struct thread_data *td, unsigned int min, argument
96 struct posixaio_data *pd = td->io_ops->data;
114 io_u_qiter(&td->io_u_all, io_u, i) {
162 static struct io_u *fio_posixaio_event(struct thread_data *td, int event) argument
164 struct posixaio_data *pd = td->io_ops->data;
169 static int fio_posixaio_queue(struct thread_data *td, argument
172 struct posixaio_data *pd = td->io_ops->data;
176 fio_ro_check(td, io_
221 fio_posixaio_cleanup(struct thread_data *td) argument
231 fio_posixaio_init(struct thread_data *td) argument
[all...]
H A Drbd.c25 struct thread_data *td; member in struct:rbd_options
64 static int _fio_setup_rbd_data(struct thread_data *td, argument
69 if (td->io_ops->data)
78 rbd_data->aio_events = malloc(td->o.iodepth * sizeof(struct io_u *));
82 memset(rbd_data->aio_events, 0, td->o.iodepth * sizeof(struct io_u *));
93 static int _fio_rbd_connect(struct thread_data *td) argument
95 struct rbd_data *rbd_data = td->io_ops->data;
96 struct rbd_options *o = td->eo;
196 static struct io_u *fio_rbd_event(struct thread_data *td, int event) argument
198 struct rbd_data *rbd_data = td
203 fio_rbd_getevents(struct thread_data *td, unsigned int min, unsigned int max, struct timespec *t) argument
236 fio_rbd_queue(struct thread_data *td, struct io_u *io_u) argument
303 fio_rbd_init(struct thread_data *td) argument
320 fio_rbd_cleanup(struct thread_data *td) argument
332 fio_rbd_setup(struct thread_data *td) argument
400 fio_rbd_open(struct thread_data *td, struct fio_file *f) argument
405 fio_rbd_io_u_free(struct thread_data *td, struct io_u *io_u) argument
415 fio_rbd_io_u_init(struct thread_data *td, struct io_u *io_u) argument
[all...]
H A Dsg.c64 static int fio_sgio_getevents(struct thread_data *td, unsigned int min, argument
67 struct sgio_data *sd = td->io_ops->data;
76 for_each_file(td, f, i) {
96 ret = poll(sd->pfds, td->o.nr_files, -1);
100 td_verror(td, errno, "poll");
105 if (pollin_events(sd->pfds, td->o.nr_files))
115 for_each_file(td, f, i) {
121 td_verror(td, errno, "read");
147 for_each_file(td, f, i) {
159 static int fio_sgio_ioctl_doio(struct thread_data *td, argument
194 fio_sgio_doio(struct thread_data *td, struct io_u *io_u, int do_sync) argument
204 fio_sgio_prep(struct thread_data *td, struct io_u *io_u) argument
246 fio_sgio_queue(struct thread_data *td, struct io_u *io_u) argument
273 fio_sgio_event(struct thread_data *td, int event) argument
280 fio_sgio_get_bs(struct thread_data *td, unsigned int *bs) argument
308 fio_sgio_cleanup(struct thread_data *td) argument
322 fio_sgio_init(struct thread_data *td) argument
348 fio_sgio_type_check(struct thread_data *td, struct fio_file *f) argument
384 fio_sgio_open(struct thread_data *td, struct fio_file *f) argument
423 fio_sgio_init(struct thread_data fio_unused *td) argument
[all...]
H A Dsync.c34 static int fio_syncio_prep(struct thread_data *td, struct io_u *io_u) argument
45 td_verror(td, errno, "lseek");
52 static int fio_io_end(struct thread_data *td, struct io_u *io_u, int ret) argument
67 td_verror(td, io_u->error, "xfer");
73 static int fio_pvsyncio_queue(struct thread_data *td, struct io_u *io_u) argument
75 struct syncio_data *sd = td->io_ops->data;
80 fio_ro_check(td, io_u);
90 do_io_u_trim(td, io_u);
93 ret = do_io_u_sync(td, io_u);
95 return fio_io_end(td, io_
99 fio_psyncio_queue(struct thread_data *td, struct io_u *io_u) argument
119 fio_syncio_queue(struct thread_data *td, struct io_u *io_u) argument
139 fio_vsyncio_getevents(struct thread_data *td, unsigned int min, unsigned int max, struct timespec fio_unused *t) argument
156 fio_vsyncio_event(struct thread_data *td, int event) argument
163 fio_vsyncio_append(struct thread_data *td, struct io_u *io_u) argument
190 fio_vsyncio_queue(struct thread_data *td, struct io_u *io_u) argument
230 fio_vsyncio_end(struct thread_data *td, ssize_t bytes) argument
270 fio_vsyncio_commit(struct thread_data *td) argument
300 fio_vsyncio_init(struct thread_data *td) argument
314 fio_vsyncio_cleanup(struct thread_data *td) argument
[all...]
H A Dwindowsaio.c39 static int fio_windowsaio_getevents(struct thread_data *td, unsigned int min,
41 static struct io_u *fio_windowsaio_event(struct thread_data *td, int event);
42 static int fio_windowsaio_queue(struct thread_data *td,
44 static void fio_windowsaio_cleanup(struct thread_data *td);
46 static int fio_windowsaio_init(struct thread_data *td);
47 static int fio_windowsaio_open_file(struct thread_data *td, struct fio_file *f);
48 static int fio_windowsaio_close_file(struct thread_data fio_unused *td, struct fio_file *f);
50 static int fio_windowsaio_init(struct thread_data *td) argument
62 wd->aio_events = malloc(td->o.iodepth * sizeof(struct io_u*));
87 td
130 fio_windowsaio_cleanup(struct thread_data *td) argument
151 fio_windowsaio_open_file(struct thread_data *td, struct fio_file *f) argument
220 fio_windowsaio_close_file(struct thread_data fio_unused *td, struct fio_file *f) argument
252 fio_windowsaio_event(struct thread_data *td, int event) argument
258 fio_windowsaio_getevents(struct thread_data *td, unsigned int min, unsigned int max, struct timespec *t) argument
308 fio_windowsaio_queue(struct thread_data *td, struct io_u *io_u) argument
400 fio_windowsaio_io_u_free(struct thread_data *td, struct io_u *io_u) argument
411 fio_windowsaio_io_u_init(struct thread_data *td, struct io_u *io_u) argument
[all...]
/external/opencv/otherlibs/highgui/
H A Dgrfmt_jpeg.h135 char td, ta; // DC & AC huffman tables member in struct:GrFmtJpegReader::cmp_info
/external/chromium_org/components/nacl/renderer/
H A Dhistogram.cc150 base::TimeDelta td,
152 HistogramTimeSmall(name, static_cast<int64_t>(td.InMilliseconds()));
156 static_cast<int64_t>(td.InMilliseconds() / size_in_MB));
161 base::TimeDelta td,
163 HistogramTimeMedium(name, static_cast<int64_t>(td.InMilliseconds()));
167 static_cast<int64_t>(td.InMilliseconds() / size_in_MB));
149 HistogramStartupTimeSmall(const std::string& name, base::TimeDelta td, int64_t nexe_size) argument
160 HistogramStartupTimeMedium(const std::string& name, base::TimeDelta td, int64_t nexe_size) argument
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLViewSourceDocument.cpp205 RefPtrWillBeRawPtr<HTMLTableCellElement> td = HTMLTableCellElement::create(tdTag, *this); local
206 td->setAttribute(classAttr, "line-number");
207 td->setIntegralAttribute(valueAttr, ++m_lineNumber);
208 trow->parserAppendChild(td);
211 td = HTMLTableCellElement::create(tdTag, *this);
212 td->setAttribute(classAttr, "line-content");
213 trow->parserAppendChild(td);
214 m_current = m_td = td;
/external/chromium_org/third_party/boringssl/src/crypto/dh/
H A Ddh_test.c431 const rfc5114_td *td = rfctd + i; local
433 dhA = td->get_param(NULL);
434 dhB = td->get_param(NULL);
438 dhA->priv_key = BN_bin2bn(td->xA, td->xA_len, NULL);
439 dhA->pub_key = BN_bin2bn(td->yA, td->yA_len, NULL);
441 dhB->priv_key = BN_bin2bn(td->xB, td->xB_len, NULL);
442 dhB->pub_key = BN_bin2bn(td
[all...]
/external/clang/test/CXX/basic/basic.types/
H A Dp10.cpp130 TrivDtor td[3]; member in struct:ArrGood
/external/clang/test/CodeGen/
H A Dpragma-weak.c56 #pragma weak td // expected-warning {{weak identifier 'td' never declared}} macro
57 typedef int td; typedef
/external/freetype/src/gzip/
H A Dinfcodes.c58 local inflate_codes_statef *inflate_codes_new( /* bl, bd, tl, td, z) */ argument
61 inflate_huft *td, /* need separate declaration for Borland C++ */
73 c->dtree = td;
H A Dinftrees.c327 local int inflate_trees_dynamic( /* nl, nd, c, bl, bd, tl, td, hp, z) */ argument
334 inflate_huft * FAR *td, /* distance tree result */
363 r = huft_build(c + nl, nd, 0, cpdist, cpdext, td, bd, hp, &hn, v);
409 local int inflate_trees_fixed( /* bl, bd, tl, td, z) */ argument
413 const inflate_huft * FAR *td, /* distance tree result */
466 *td = fixed_td;

Completed in 3868 milliseconds

12345