Home
last modified time | relevance | path

Searched refs:td (Results 1 – 25 of 778) sorted by relevance

12345678910>>...32

/external/eigen/doc/
DTopicLinearAlgebraDecompositions.dox30 <td>PartialPivLU</td>
31 <td>Invertible</td>
32 <td>Fast</td>
33 <td>Depends on condition number</td>
34 <td>-</td>
35 <td>-</td>
36 <td>Yes</td>
37 <td>Excellent</td>
38 <td>Blocking, Implicit MT</td>
42 <td>FullPivLU</td>
[all …]
DQuickReference.dox16td>\link Core_Module Core \endlink</td><td>\code#include <Eigen/Core>\endcode</td><td>Matrix and A…
17td>\link Geometry_Module Geometry \endlink</td><td>\code#include <Eigen/Geometry>\endcode</td><td>…
18td>\link LU_Module LU \endlink</td><td>\code#include <Eigen/LU>\endcode</td><td>Inverse, determina…
19 …><td>\link Cholesky_Module Cholesky \endlink</td><td>\code#include <Eigen/Cholesky>\endcode</td><t…
20td>\link Householder_Module Householder \endlink</td><td>\code#include <Eigen/Householder>\endcode…
21 <tr><td>\link SVD_Module SVD \endlink</td><td>\code#include <Eigen/SVD>\endcode</td><td>SVD decompo…
22td>\link QR_Module QR \endlink</td><td>\code#include <Eigen/QR>\endcode</td><td>QR decomposition w…
23td>\link Eigenvalues_Module Eigenvalues \endlink</td><td>\code#include <Eigen/Eigenvalues>\endcode…
24td>\link Sparse_modules Sparse \endlink</td><td>\code#include <Eigen/Sparse>\endcode</td><td>%Spar…
25 <tr><td></td><td>\code#include <Eigen/Dense>\endcode</td><td>Includes Core, Geometry, LU, Cholesky,…
[all …]
DSparseQuickReference.dox13 <tr><td>Constructor</td>
14 <td>
19 </td> <td> Default is ColMajor</td> </tr>
21 <td> Resize/Reserve</td>
22 <td>
27 </td>
28td> Note that when calling reserve(), it is not required that nnz is the exact number of nonzero e…
31 <td> Assignment </td>
32 <td>
40 </td>
[all …]
DTutorialBlockOperations.dox18 <tr><th>\b %Block \b operation</td>
21 <tr><td>%Block of size <tt>(p,q)</tt>, starting at <tt>(i,j)</tt></td>
22 <td>\code
23 matrix.block(i,j,p,q);\endcode </td>
24 <td>\code
25 matrix.block<p,q>(i,j);\endcode </td>
41 <tr><td>
43 </td>
44 <td>
46 </td></tr></table>
[all …]
DTutorialSparse.dox11td>\link SparseCore_Module SparseCore \endlink</td><td>\code#include <Eigen/SparseCore>\endcode</t…
12td>\link SparseCholesky_Module SparseCholesky \endlink</td><td>\code#include <Eigen/SparseCholesky…
13 <tr><td>\link SparseLU_Module SparseLU \endlink</td><td>\code #include<Eigen/SparseLU> \endcode</td>
14 <td>%Sparse LU factorization to solve general square sparse systems</td></tr>
15td>\link SparseQR_Module SparseQR \endlink</td><td>\code #include<Eigen/SparseQR>\endcode </td><td
16td>\link IterativeLinearSolvers_Module IterativeLinearSolvers \endlink</td><td>\code#include <Eige…
17 <tr><td>\link Sparse_Module Sparse \endlink</td><td>\code#include <Eigen/Sparse>\endcode</td><td>In…
38 <tr><td> 0</td><td>3</td><td> 0</td><td>0</td><td> 0</td></tr>
39 <tr><td>22</td><td>0</td><td> 0</td><td>0</td><td>17</td></tr>
40 <tr><td> 7</td><td>5</td><td> 0</td><td>1</td><td> 0</td></tr>
[all …]
DTutorialGeometry.dox35 <tr><td>
36 \ref Rotation2D "2D rotation" from an angle</td><td>\code
37 Rotation2D<float> rot2(angle_in_radian);\endcode</td></tr>
38 <tr class="alt"><td>
39 3D rotation as an \ref AngleAxis "angle + axis"</td><td>\code
41 <span class="note">The axis vector must be normalized.</span></td></tr>
42 <tr><td>
43 3D rotation as a \ref Quaternion "quaternion"</td><td>\code
44 Quaternion<float> q; q = AngleAxis<float>(angle_in_radian, axis);\endcode</td></tr>
45 <tr class="alt"><td>
[all …]
/external/fio/
Dbackend.c144 static int __check_min_rate(struct thread_data *td, struct timeval *now, in __check_min_rate() argument
157 if (!td->o.ratemin[ddir] && !td->o.rate_iops_min[ddir]) in __check_min_rate()
163 if (mtime_since(&td->start, now) < 2000) in __check_min_rate()
166 iops += td->this_io_blocks[ddir]; in __check_min_rate()
167 bytes += td->this_io_bytes[ddir]; in __check_min_rate()
168 ratemin += td->o.ratemin[ddir]; in __check_min_rate()
169 rate_iops += td->o.rate_iops[ddir]; in __check_min_rate()
170 rate_iops_min += td->o.rate_iops_min[ddir]; in __check_min_rate()
175 if (td->rate_bytes[ddir] || td->rate_blocks[ddir]) { in __check_min_rate()
176 spent = mtime_since(&td->lastrate[ddir], now); in __check_min_rate()
[all …]
Dmemory.c15 void fio_unpin_memory(struct thread_data *td) in fio_unpin_memory() argument
17 if (td->pinned_mem) { in fio_unpin_memory()
18 dprint(FD_MEM, "unpinning %llu bytes\n", td->o.lockmem); in fio_unpin_memory()
19 if (munlock(td->pinned_mem, td->o.lockmem) < 0) in fio_unpin_memory()
21 munmap(td->pinned_mem, td->o.lockmem); in fio_unpin_memory()
22 td->pinned_mem = NULL; in fio_unpin_memory()
26 int fio_pin_memory(struct thread_data *td) in fio_pin_memory() argument
30 if (!td->o.lockmem) in fio_pin_memory()
33 dprint(FD_MEM, "pinning %llu bytes\n", td->o.lockmem); in fio_pin_memory()
40 if ((td->o.lockmem + 128 * 1024 * 1024) > phys_mem) { in fio_pin_memory()
[all …]
Dio_u.c36 static void mark_random_map(struct thread_data *td, struct io_u *io_u) in mark_random_map() argument
38 unsigned int min_bs = td->o.rw_min_bs; in mark_random_map()
53 static uint64_t last_block(struct thread_data *td, struct fio_file *f, in last_block() argument
68 if (td->o.zone_range) in last_block()
69 max_size = td->o.zone_range; in last_block()
71 if (td->o.min_bs[ddir] > td->o.ba[ddir]) in last_block()
72 max_size -= td->o.min_bs[ddir] - td->o.ba[ddir]; in last_block()
74 max_blocks = max_size / (uint64_t) td->o.ba[ddir]; in last_block()
86 static int __get_next_rand_offset(struct thread_data *td, struct fio_file *f, in __get_next_rand_offset() argument
91 if (td->o.random_generator == FIO_RAND_GEN_TAUSWORTHE) { in __get_next_rand_offset()
[all …]
Dioengines.c88 static struct ioengine_ops *dlopen_ioengine(struct thread_data *td, in dlopen_ioengine() argument
99 td_vmsg(td, -1, dlerror(), "dlopen"); in dlopen_ioengine()
125 td_vmsg(td, -1, dlerror(), "dlsym"); in dlopen_ioengine()
134 struct ioengine_ops *load_ioengine(struct thread_data *td, const char *name) in load_ioengine() argument
151 ops = dlopen_ioengine(td, name); in load_ioengine()
174 void free_ioengine(struct thread_data *td) in free_ioengine() argument
176 dprint(FD_IO, "free ioengine %s\n", td->io_ops->name); in free_ioengine()
178 if (td->eo && td->io_ops->options) { in free_ioengine()
179 options_free(td->io_ops->options, td->eo); in free_ioengine()
180 free(td->eo); in free_ioengine()
[all …]
Dlibfio.c80 static void reset_io_counters(struct thread_data *td) in reset_io_counters() argument
85 td->stat_io_bytes[ddir] = 0; in reset_io_counters()
86 td->this_io_bytes[ddir] = 0; in reset_io_counters()
87 td->stat_io_blocks[ddir] = 0; in reset_io_counters()
88 td->this_io_blocks[ddir] = 0; in reset_io_counters()
89 td->rate_bytes[ddir] = 0; in reset_io_counters()
90 td->rate_blocks[ddir] = 0; in reset_io_counters()
92 td->zone_bytes = 0; in reset_io_counters()
94 td->last_was_sync = 0; in reset_io_counters()
95 td->rwmix_issues = 0; in reset_io_counters()
[all …]
Dfilesetup.c27 static inline void clear_error(struct thread_data *td) in clear_error() argument
29 td->error = 0; in clear_error()
30 td->verror[0] = '\0'; in clear_error()
36 static int extend_file(struct thread_data *td, struct fio_file *f) in extend_file() argument
53 if (td_read(td) || in extend_file()
54 (td_write(td) && td->o.overwrite && !td->o.file_append) || in extend_file()
55 (td_write(td) && td->io_ops->flags & FIO_NOEXTEND)) in extend_file()
57 if (td_write(td) && !td->o.overwrite && !td->o.file_append) in extend_file()
62 if ((td_io_unlink_file(td, f) < 0) && (errno != ENOENT)) { in extend_file()
63 td_verror(td, errno, "unlink"); in extend_file()
[all …]
Dinit.c373 static void set_cmd_options(struct thread_data *td) in set_cmd_options() argument
375 struct thread_options *o = &td->o; in set_cmd_options()
387 struct thread_data *td; in get_new_job() local
403 td = &threads[thread_number++]; in get_new_job()
404 *td = *parent; in get_new_job()
406 td->io_ops = NULL; in get_new_job()
408 td->eo = NULL; in get_new_job()
410 td->o.uid = td->o.gid = -1U; in get_new_job()
412 dup_files(td, parent); in get_new_job()
413 fio_options_mem_dupe(td); in get_new_job()
[all …]
Deta.c34 static void check_str_update(struct thread_data *td) in check_str_update() argument
36 char c = __run_str[td->thread_number - 1]; in check_str_update()
38 switch (td->runstate) { in check_str_update()
40 if (td->error) in check_str_update()
42 else if (td->sig) in check_str_update()
54 if (td_rw(td)) { in check_str_update()
55 if (td_random(td)) { in check_str_update()
56 if (td->o.rwmix[DDIR_READ] == 100) in check_str_update()
58 else if (td->o.rwmix[DDIR_WRITE] == 100) in check_str_update()
63 if (td->o.rwmix[DDIR_READ] == 100) in check_str_update()
[all …]
/external/pdfium/third_party/libtiff/
Dtif_write.c52 register TIFFDirectory *td; in TIFFWriteScanline() local
67 td = &tif->tif_dir; in TIFFWriteScanline()
72 if (row >= td->td_imagelength) { /* extend image */ in TIFFWriteScanline()
73 if (td->td_planarconfig == PLANARCONFIG_SEPARATE) { in TIFFWriteScanline()
78 td->td_imagelength = row+1; in TIFFWriteScanline()
84 if (td->td_planarconfig == PLANARCONFIG_SEPARATE) { in TIFFWriteScanline()
85 if (sample >= td->td_samplesperpixel) { in TIFFWriteScanline()
88 (unsigned long) sample, (unsigned long) td->td_samplesperpixel); in TIFFWriteScanline()
91 strip = sample*td->td_stripsperimage + row/td->td_rowsperstrip; in TIFFWriteScanline()
93 strip = row / td->td_rowsperstrip; in TIFFWriteScanline()
[all …]
Dtif_print.c238 TIFFDirectory *td = &tif->tif_dir; in TIFFPrintDirectory() local
255 if (td->td_subfiletype & FILETYPE_REDUCEDIMAGE) { in TIFFPrintDirectory()
259 if (td->td_subfiletype & FILETYPE_PAGE) { in TIFFPrintDirectory()
263 if (td->td_subfiletype & FILETYPE_MASK) in TIFFPrintDirectory()
266 (long) td->td_subfiletype, (long) td->td_subfiletype); in TIFFPrintDirectory()
270 (unsigned long) td->td_imagewidth, (unsigned long) td->td_imagelength); in TIFFPrintDirectory()
273 (unsigned long) td->td_imagedepth); in TIFFPrintDirectory()
278 (unsigned long) td->td_tilewidth, (unsigned long) td->td_tilelength); in TIFFPrintDirectory()
281 (unsigned long) td->td_tiledepth); in TIFFPrintDirectory()
286 td->td_xresolution, td->td_yresolution); in TIFFPrintDirectory()
[all …]
Dtif_tile.c40 TIFFDirectory *td = &tif->tif_dir; in TIFFComputeTile() local
41 uint32 dx = td->td_tilewidth; in TIFFComputeTile()
42 uint32 dy = td->td_tilelength; in TIFFComputeTile()
43 uint32 dz = td->td_tiledepth; in TIFFComputeTile()
46 if (td->td_imagedepth == 1) in TIFFComputeTile()
49 dx = td->td_imagewidth; in TIFFComputeTile()
51 dy = td->td_imagelength; in TIFFComputeTile()
53 dz = td->td_imagedepth; in TIFFComputeTile()
55 uint32 xpt = TIFFhowmany_32(td->td_imagewidth, dx); in TIFFComputeTile()
56 uint32 ypt = TIFFhowmany_32(td->td_imagelength, dy); in TIFFComputeTile()
[all …]
Dtif_aux.c92 TIFFDefaultTransferFunction(TIFFDirectory* td) in TIFFDefaultTransferFunction() argument
94 uint16 **tf = td->td_transferfunction; in TIFFDefaultTransferFunction()
98 if (td->td_bitspersample >= sizeof(tmsize_t) * 8 - 2) in TIFFDefaultTransferFunction()
101 n = ((tmsize_t)1)<<td->td_bitspersample; in TIFFDefaultTransferFunction()
111 if (td->td_samplesperpixel - td->td_extrasamples > 1) { in TIFFDefaultTransferFunction()
133 TIFFDefaultRefBlackWhite(TIFFDirectory* td) in TIFFDefaultRefBlackWhite() argument
137 if (!(td->td_refblackwhite = (float *)_TIFFmalloc(6*sizeof (float)))) in TIFFDefaultRefBlackWhite()
139 if (td->td_photometric == PHOTOMETRIC_YCBCR) { in TIFFDefaultRefBlackWhite()
144 td->td_refblackwhite[0] = 0.0F; in TIFFDefaultRefBlackWhite()
145 td->td_refblackwhite[1] = td->td_refblackwhite[3] = in TIFFDefaultRefBlackWhite()
[all …]
Dtif_dir.c90 setExtraSamples(TIFFDirectory* td, va_list ap, uint32* v) in setExtraSamples() argument
99 if ((uint16) *v > td->td_samplesperpixel) in setExtraSamples()
118 td->td_extrasamples = (uint16) *v; in setExtraSamples()
119 _TIFFsetShortArray(&td->td_sampleinfo, va, td->td_extrasamples); in setExtraSamples()
132 TIFFDirectory* td = &tif->tif_dir; in checkInkNamesString() local
133 uint16 i = td->td_samplesperpixel; in checkInkNamesString()
150 td->td_samplesperpixel, in checkInkNamesString()
151 td->td_samplesperpixel-i); in checkInkNamesString()
160 TIFFDirectory* td = &tif->tif_dir; in _TIFFVSetField() local
181 td->td_subfiletype = (uint32) va_arg(ap, uint32); in _TIFFVSetField()
[all …]
/external/opencv3/3rdparty/libtiff/
Dtif_write.c52 register TIFFDirectory *td; in TIFFWriteScanline() local
67 td = &tif->tif_dir; in TIFFWriteScanline()
72 if (row >= td->td_imagelength) { /* extend image */ in TIFFWriteScanline()
73 if (td->td_planarconfig == PLANARCONFIG_SEPARATE) { in TIFFWriteScanline()
78 td->td_imagelength = row+1; in TIFFWriteScanline()
84 if (td->td_planarconfig == PLANARCONFIG_SEPARATE) { in TIFFWriteScanline()
85 if (sample >= td->td_samplesperpixel) { in TIFFWriteScanline()
88 (unsigned long) sample, (unsigned long) td->td_samplesperpixel); in TIFFWriteScanline()
91 strip = sample*td->td_stripsperimage + row/td->td_rowsperstrip; in TIFFWriteScanline()
93 strip = row / td->td_rowsperstrip; in TIFFWriteScanline()
[all …]
Dtif_print.c236 TIFFDirectory *td = &tif->tif_dir; in TIFFPrintDirectory() local
253 if (td->td_subfiletype & FILETYPE_REDUCEDIMAGE) { in TIFFPrintDirectory()
257 if (td->td_subfiletype & FILETYPE_PAGE) { in TIFFPrintDirectory()
261 if (td->td_subfiletype & FILETYPE_MASK) in TIFFPrintDirectory()
264 (long) td->td_subfiletype, (long) td->td_subfiletype); in TIFFPrintDirectory()
268 (unsigned long) td->td_imagewidth, (unsigned long) td->td_imagelength); in TIFFPrintDirectory()
271 (unsigned long) td->td_imagedepth); in TIFFPrintDirectory()
276 (unsigned long) td->td_tilewidth, (unsigned long) td->td_tilelength); in TIFFPrintDirectory()
279 (unsigned long) td->td_tiledepth); in TIFFPrintDirectory()
284 td->td_xresolution, td->td_yresolution); in TIFFPrintDirectory()
[all …]
Dtif_tile.c40 TIFFDirectory *td = &tif->tif_dir; in TIFFComputeTile() local
41 uint32 dx = td->td_tilewidth; in TIFFComputeTile()
42 uint32 dy = td->td_tilelength; in TIFFComputeTile()
43 uint32 dz = td->td_tiledepth; in TIFFComputeTile()
46 if (td->td_imagedepth == 1) in TIFFComputeTile()
49 dx = td->td_imagewidth; in TIFFComputeTile()
51 dy = td->td_imagelength; in TIFFComputeTile()
53 dz = td->td_imagedepth; in TIFFComputeTile()
55 uint32 xpt = TIFFhowmany_32(td->td_imagewidth, dx); in TIFFComputeTile()
56 uint32 ypt = TIFFhowmany_32(td->td_imagelength, dy); in TIFFComputeTile()
[all …]
Dtif_aux.c92 TIFFDefaultTransferFunction(TIFFDirectory* td) in TIFFDefaultTransferFunction() argument
94 uint16 **tf = td->td_transferfunction; in TIFFDefaultTransferFunction()
98 if (td->td_bitspersample >= sizeof(tmsize_t) * 8 - 2) in TIFFDefaultTransferFunction()
101 n = ((tmsize_t)1)<<td->td_bitspersample; in TIFFDefaultTransferFunction()
111 if (td->td_samplesperpixel - td->td_extrasamples > 1) { in TIFFDefaultTransferFunction()
133 TIFFDefaultRefBlackWhite(TIFFDirectory* td) in TIFFDefaultRefBlackWhite() argument
137 if (!(td->td_refblackwhite = (float *)_TIFFmalloc(6*sizeof (float)))) in TIFFDefaultRefBlackWhite()
139 if (td->td_photometric == PHOTOMETRIC_YCBCR) { in TIFFDefaultRefBlackWhite()
144 td->td_refblackwhite[0] = 0.0F; in TIFFDefaultRefBlackWhite()
145 td->td_refblackwhite[1] = td->td_refblackwhite[3] = in TIFFDefaultRefBlackWhite()
[all …]
Dtif_dir.c90 setExtraSamples(TIFFDirectory* td, va_list ap, uint32* v) in setExtraSamples() argument
99 if ((uint16) *v > td->td_samplesperpixel) in setExtraSamples()
118 td->td_extrasamples = (uint16) *v; in setExtraSamples()
119 _TIFFsetShortArray(&td->td_sampleinfo, va, td->td_extrasamples); in setExtraSamples()
132 TIFFDirectory* td = &tif->tif_dir; in checkInkNamesString() local
133 uint16 i = td->td_samplesperpixel; in checkInkNamesString()
150 td->td_samplesperpixel, in checkInkNamesString()
151 td->td_samplesperpixel-i); in checkInkNamesString()
160 TIFFDirectory* td = &tif->tif_dir; in _TIFFVSetField() local
179 td->td_subfiletype = (uint32) va_arg(ap, uint32); in _TIFFVSetField()
[all …]
/external/fio/engines/
Dnet.c39 struct thread_data *td; member
225 static int set_window_size(struct thread_data *td, int fd) in set_window_size() argument
228 struct netio_options *o = td->eo; in set_window_size()
244 td_verror(td, errno, "rcvbuf window size"); in set_window_size()
250 td_verror(td, errno, "sndbuf window size"); in set_window_size()
255 td_verror(td, -EINVAL, "setsockopt window size"); in set_window_size()
260 static int set_mss(struct thread_data *td, int fd) in set_mss() argument
263 struct netio_options *o = td->eo; in set_mss()
274 td_verror(td, errno, "setsockopt TCP_MAXSEG"); in set_mss()
278 td_verror(td, -EINVAL, "setsockopt TCP_MAXSEG"); in set_mss()
[all …]

12345678910>>...32