Home
last modified time | relevance | path

Searched refs:tx (Results 1 – 25 of 317) sorted by relevance

12345678910>>...13

/external/mesa3d/src/gallium/state_trackers/nine/
Dnine_shader.c524 #define IS_VS (tx->processor == PIPE_SHADER_VERTEX)
525 #define IS_PS (tx->processor == PIPE_SHADER_FRAGMENT)
527 #define FAILURE_VOID(cond) if ((cond)) {tx->failure=1;return;}
545 nine_record_outputs(struct shader_translator *tx, BYTE Usage, BYTE UsageIndex, in nine_record_outputs() argument
548 tx->output_info[tx->num_outputs].output_semantic = Usage; in nine_record_outputs()
549 tx->output_info[tx->num_outputs].output_semantic_index = UsageIndex; in nine_record_outputs()
550 tx->output_info[tx->num_outputs].mask = mask; in nine_record_outputs()
551 tx->output_info[tx->num_outputs].output_index = output_index; in nine_record_outputs()
552 tx->num_outputs++; in nine_record_outputs()
556 tx_lconstf(struct shader_translator *tx, struct ureg_src *src, INT index) in tx_lconstf() argument
[all …]
/external/strace/tests-mx32/
Dadjtimex.c46 TAIL_ALLOC_OBJECT_CONST_PTR(struct timex, tx); in main()
47 memset(tx, 0, sizeof(*tx)); in main()
49 state = adjtimex(tx); in main()
55 (intmax_t) tx->offset, in main()
56 (intmax_t) tx->freq, in main()
57 (intmax_t) tx->maxerror, in main()
58 (intmax_t) tx->esterror); in main()
59 if (tx->status) in main()
60 printflags(adjtimex_status, (unsigned int) tx->status, NULL); in main()
71 (intmax_t) tx->constant, in main()
[all …]
/external/strace/tests-m32/
Dadjtimex.c46 TAIL_ALLOC_OBJECT_CONST_PTR(struct timex, tx); in main()
47 memset(tx, 0, sizeof(*tx)); in main()
49 state = adjtimex(tx); in main()
55 (intmax_t) tx->offset, in main()
56 (intmax_t) tx->freq, in main()
57 (intmax_t) tx->maxerror, in main()
58 (intmax_t) tx->esterror); in main()
59 if (tx->status) in main()
60 printflags(adjtimex_status, (unsigned int) tx->status, NULL); in main()
71 (intmax_t) tx->constant, in main()
[all …]
/external/strace/tests/
Dadjtimex.c46 TAIL_ALLOC_OBJECT_CONST_PTR(struct timex, tx); in main()
47 memset(tx, 0, sizeof(*tx)); in main()
49 state = adjtimex(tx); in main()
55 (intmax_t) tx->offset, in main()
56 (intmax_t) tx->freq, in main()
57 (intmax_t) tx->maxerror, in main()
58 (intmax_t) tx->esterror); in main()
59 if (tx->status) in main()
60 printflags(adjtimex_status, (unsigned int) tx->status, NULL); in main()
71 (intmax_t) tx->constant, in main()
[all …]
/external/libese/apps/boot/
Dboot.c68 struct EseSgBuffer tx[2]; in ese_boot_session_open() local
112 tx[0].base = &chan; in ese_boot_session_open()
113 tx[0].len = 1; in ese_boot_session_open()
114 tx[1].base = (uint8_t *)&kSelectApplet[1]; in ese_boot_session_open()
115 tx[1].len = sizeof(kSelectApplet) - 1; in ese_boot_session_open()
118 rx_len = ese_transceive_sg(ese, tx, 2, &rx, 1); in ese_boot_session_open()
172 struct EseSgBuffer tx[4]; in ese_boot_lock_xget() local
185 tx[0].base = &chan; in ese_boot_lock_xget()
186 tx[0].len = 1; in ese_boot_lock_xget()
187 tx[1].base = (uint8_t *)&kGetLockState[1]; in ese_boot_lock_xget()
[all …]
/external/strace/
Dprint_timex.c47 struct_timex tx; in MPERS_PRINTER_DECL() local
49 if (umove_or_printaddr(tcp, addr, &tx)) in MPERS_PRINTER_DECL()
53 printflags(adjtimex_modes, tx.modes, "ADJ_???"); in MPERS_PRINTER_DECL()
55 (intmax_t) tx.offset, (intmax_t) tx.freq, in MPERS_PRINTER_DECL()
56 (uintmax_t) tx.maxerror, (uintmax_t) tx.esterror); in MPERS_PRINTER_DECL()
57 printflags(adjtimex_status, tx.status, "STA_???"); in MPERS_PRINTER_DECL()
59 (intmax_t) tx.constant, (uintmax_t) tx.precision, in MPERS_PRINTER_DECL()
60 (intmax_t) tx.tolerance); in MPERS_PRINTER_DECL()
61 MPERS_FUNC_NAME(print_struct_timeval)(&tx.time); in MPERS_PRINTER_DECL()
63 (intmax_t) tx.tick, (intmax_t) tx.ppsfreq, (intmax_t) tx.jitter); in MPERS_PRINTER_DECL()
[all …]
/external/linux-kselftest/tools/testing/selftests/timers/
Dleap-a-day.c108 struct timex tx; in clear_time_state() local
117 tx.modes = ADJ_STATUS; in clear_time_state()
118 tx.status = STA_PLL; in clear_time_state()
119 ret = adjtimex(&tx); in clear_time_state()
122 tx.modes = ADJ_MAXERROR; in clear_time_state()
123 tx.maxerror = 0; in clear_time_state()
124 ret = adjtimex(&tx); in clear_time_state()
127 tx.modes = ADJ_STATUS; in clear_time_state()
128 tx.status = 0; in clear_time_state()
129 ret = adjtimex(&tx); in clear_time_state()
[all …]
Dvalid-adjtimex.c55 static int clock_adjtime(clockid_t id, struct timex *tx) in clock_adjtime() argument
57 return syscall(__NR_clock_adjtime, id, tx); in clock_adjtime()
64 struct timex tx; in clear_time_state() local
67 tx.modes = ADJ_STATUS; in clear_time_state()
68 tx.status = 0; in clear_time_state()
69 ret = adjtimex(&tx); in clear_time_state()
128 struct timex tx; in validate_freq() local
134 memset(&tx, 0, sizeof(struct timex)); in validate_freq()
139 tx.modes = ADJ_FREQUENCY; in validate_freq()
140 tx.freq = valid_freq[i]; in validate_freq()
[all …]
Dleapcrash.c43 struct timex tx; in clear_time_state() local
52 tx.modes = ADJ_STATUS; in clear_time_state()
53 tx.status = STA_PLL; in clear_time_state()
54 ret = adjtimex(&tx); in clear_time_state()
56 tx.modes = ADJ_STATUS; in clear_time_state()
57 tx.status = 0; in clear_time_state()
58 ret = adjtimex(&tx); in clear_time_state()
73 struct timex tx; in main() local
105 tx.modes = 0; in main()
106 adjtimex(&tx); in main()
[all …]
Dset-tai.c41 struct timex tx; in set_tai() local
43 memset(&tx, 0, sizeof(tx)); in set_tai()
45 tx.modes = ADJ_TAI; in set_tai()
46 tx.constant = offset; in set_tai()
48 return adjtimex(&tx); in set_tai()
53 struct timex tx; in get_tai() local
55 memset(&tx, 0, sizeof(tx)); in get_tai()
57 adjtimex(&tx); in get_tai()
58 return tx.tai; in get_tai()
Dchange_skew.c49 struct timex tx; in change_skew_test() local
52 tx.modes = ADJ_FREQUENCY; in change_skew_test()
53 tx.freq = ppm << 16; in change_skew_test()
55 ret = adjtimex(&tx); in change_skew_test()
71 struct timex tx; in main() local
80 tx.modes = ADJ_OFFSET; in main()
81 tx.offset = 0; in main()
82 ret = adjtimex(&tx); in main()
97 tx.modes = ADJ_FREQUENCY; in main()
98 tx.offset = 0; in main()
[all …]
Dskew_consistency.c55 struct timex tx; in main() local
71 tx.modes = ADJ_FREQUENCY; in main()
72 tx.freq = ppm << 16; in main()
73 adjtimex(&tx); in main()
78 tx.modes = ADJ_FREQUENCY; in main()
79 tx.offset = 0; in main()
80 adjtimex(&tx); in main()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_transfer.c256 struct nv50_transfer *tx; in nv50_miptree_transfer_map() local
264 tx = CALLOC_STRUCT(nv50_transfer); in nv50_miptree_transfer_map()
265 if (!tx) in nv50_miptree_transfer_map()
268 pipe_resource_reference(&tx->base.resource, res); in nv50_miptree_transfer_map()
270 tx->base.level = level; in nv50_miptree_transfer_map()
271 tx->base.usage = usage; in nv50_miptree_transfer_map()
272 tx->base.box = *box; in nv50_miptree_transfer_map()
275 tx->nblocksx = box->width << mt->ms_x; in nv50_miptree_transfer_map()
276 tx->nblocksy = box->height << mt->ms_y; in nv50_miptree_transfer_map()
278 tx->nblocksx = util_format_get_nblocksx(res->format, box->width); in nv50_miptree_transfer_map()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_buffer.c142 struct nouveau_transfer *tx, bool permit_pb) in nouveau_transfer_staging() argument
144 const unsigned adj = tx->base.box.x & NOUVEAU_MIN_BUFFER_MAP_ALIGN_MASK; in nouveau_transfer_staging()
145 const unsigned size = align(tx->base.box.width, 4) + adj; in nouveau_transfer_staging()
151 tx->map = align_malloc(size, NOUVEAU_MIN_BUFFER_MAP_ALIGN); in nouveau_transfer_staging()
152 if (tx->map) in nouveau_transfer_staging()
153 tx->map += adj; in nouveau_transfer_staging()
155 tx->mm = in nouveau_transfer_staging()
156 nouveau_mm_allocate(nv->screen->mm_GART, size, &tx->bo, &tx->offset); in nouveau_transfer_staging()
157 if (tx->bo) { in nouveau_transfer_staging()
158 tx->offset += adj; in nouveau_transfer_staging()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_transfer.c356 struct nvc0_transfer *tx; in nvc0_miptree_transfer_map() local
374 tx = CALLOC_STRUCT(nvc0_transfer); in nvc0_miptree_transfer_map()
375 if (!tx) in nvc0_miptree_transfer_map()
378 pipe_resource_reference(&tx->base.resource, res); in nvc0_miptree_transfer_map()
380 tx->base.level = level; in nvc0_miptree_transfer_map()
381 tx->base.usage = usage; in nvc0_miptree_transfer_map()
382 tx->base.box = *box; in nvc0_miptree_transfer_map()
385 tx->nblocksx = box->width << mt->ms_x; in nvc0_miptree_transfer_map()
386 tx->nblocksy = box->height << mt->ms_y; in nvc0_miptree_transfer_map()
388 tx->nblocksx = util_format_get_nblocksx(res->format, box->width); in nvc0_miptree_transfer_map()
[all …]
/external/libese/apps/weaver/
Dweaver.c76 struct EseSgBuffer tx[2]; in ese_weaver_session_open() local
120 tx[0].base = &chan; in ese_weaver_session_open()
121 tx[0].len = 1; in ese_weaver_session_open()
122 tx[1].base = (uint8_t *)&kSelectApplet[1]; in ese_weaver_session_open()
123 tx[1].len = sizeof(kSelectApplet) - 1; in ese_weaver_session_open()
126 rx_len = ese_transceive_sg(ese, tx, 2, &rx, 1); in ese_weaver_session_open()
234 struct EseSgBuffer tx[5]; in ese_weaver_write() local
236 tx[0].base = &chan; in ese_weaver_write()
237 tx[0].len = 1; in ese_weaver_write()
238 tx[1].base = (uint8_t *)&kWrite[1]; in ese_weaver_write()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_miptree.c268 struct nv30_transfer *tx; in nv30_miptree_transfer_map() local
272 tx = CALLOC_STRUCT(nv30_transfer); in nv30_miptree_transfer_map()
273 if (!tx) in nv30_miptree_transfer_map()
275 pipe_resource_reference(&tx->base.resource, pt); in nv30_miptree_transfer_map()
276 tx->base.level = level; in nv30_miptree_transfer_map()
277 tx->base.usage = usage; in nv30_miptree_transfer_map()
278 tx->base.box = *box; in nv30_miptree_transfer_map()
279 tx->base.stride = align(util_format_get_nblocksx(pt->format, box->width) * in nv30_miptree_transfer_map()
281 tx->base.layer_stride = util_format_get_nblocksy(pt->format, box->height) * in nv30_miptree_transfer_map()
282 tx->base.stride; in nv30_miptree_transfer_map()
[all …]
/external/ltp/testcases/kernel/timers/leapsec/
Dleapsec_timer.c42 static void adjtimex_status(struct timex *tx, int status);
77 static void adjtimex_status(struct timex *tx, int status) in adjtimex_status() argument
90 tx->modes = ADJ_STATUS; in adjtimex_status()
91 tx->status = status; in adjtimex_status()
92 r = adjtimex(tx); in adjtimex_status()
93 now.tv_sec = tx->time.tv_sec; in adjtimex_status()
94 now.tv_nsec = tx->time.tv_usec * 1000; in adjtimex_status()
96 if ((tx->status & status) != status) in adjtimex_status()
151 struct timex tx; in run_leapsec() local
172 adjtimex_status(&tx, STA_PLL); in run_leapsec()
[all …]
/external/libese/tools/ese_replay/
Dpayload.c30 if (!buffer_init(&p->tx, tx_len)) in payload_init()
34 buffer_free(&p->tx); in payload_init()
40 buffer_free(&p->tx); in payload_free()
48 p->tx.len = 0; in payload_read()
50 while (buffer_read_hex(&p->tx, fp, true) && p->tx.len == 0) in payload_read()
52 if (p->tx.len == 0) in payload_read()
64 buffer_dump(&payload->tx, " ", "Transmit", 240, fp); in payload_dump()
/external/lmfit/demo/
Dsurface1.c23 double f( double tx, double tz, const double *p ) in f() argument
25 return p[0] + p[1]*tx + p[2]*tz; in f()
30 double *tx, *tz; member
32 double (*f)( double tx, double tz, const double *p );
45 fvec[i] = D->y[i] - D->f( D->tx[i], D->tz[i], par ); in evaluate_surface()
56 double tx[4] = { -1, -1, 1, 1 }; in main() local
60 data_struct data = { tx, tz, y, f }; in main()
86 ff = f(tx[i], tz[i], par); in main()
88 i, tx[i], tz[i], y[i], ff, y[i] - ff ); in main()
/external/walt/pywalt/pywalt/
Dminimization.py45 def minimize_lsq(tx, x, ty, y, tl, min_shift, max_shift, step): argument
63 xl = numpy.interp(tl + shift, tx, x)
81 (tx, x, ty, y) = evparser.load_xy(fname_evtest)
84 t0 = min(tx[0], ty[0])
85 tx = tx - t0
95 best_shift_coarse = minimize_lsq(tx, x, ty, y, tl, 0, 0.2, coarse_step)
99 best_shift_fine = minimize_lsq(tx, x, ty, y, tl, lmts[0], lmts[1], fine_step)
103 debug_plot(tx, x, ty, y, tl, best_shift_fine)
108 def debug_plot(tx, x, ty, y, tl, shift): argument
116 xx = numpy.interp(ty, tx, x)
[all …]
/external/ImageMagick/Magick++/
DChangeLog43 2003-12-04 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
52 2003-10-01 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
57 2003-09-17 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
64 2003-09-01 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
79 2003-08-31 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
84 2003-08-29 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
91 2003-08-12 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
102 2003-08-03 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
108 2003-07-09 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
115 2003-06-29 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
[all …]
/external/skia/src/core/
DSkMatrixPriv.h23 SkScalar tx = mx.getTranslateX(); in InverseMapRect() local
25 Sk4f trans(tx, ty, tx, ty); in InverseMapRect()
50 const SkScalar tx = mx.getTranslateX(); in MapPointsWithStride() local
52 Sk2s trans(tx, ty); in MapPointsWithStride()
76 const SkScalar tx = mx.getTranslateX(); in SetMappedRectFan() local
79 l += tx; in SetMappedRectFan()
81 r += tx; in SetMappedRectFan()
86 l = sx * l + tx; in SetMappedRectFan()
88 r = sx * r + tx; in SetMappedRectFan()
/external/libldac/src/
DldacBT_api.c165 hLdacBT->tx.mtu = mtu; in ldacBT_init_handle_encode()
166 hLdacBT->tx.pkt_hdr_sz = LDACBT_TX_HEADER_SIZE; in ldacBT_init_handle_encode()
167 hLdacBT->tx.tx_size = LDACBT_MTU_REQUIRED; in ldacBT_init_handle_encode()
168 hLdacBT->tx.pkt_type = _2_DH5; in ldacBT_init_handle_encode()
170 hLdacBT->tx.tx_size -= hLdacBT->tx.pkt_hdr_sz; in ldacBT_init_handle_encode()
171 if( hLdacBT->tx.tx_size > (hLdacBT->tx.mtu - hLdacBT->tx.pkt_hdr_sz) ){ in ldacBT_init_handle_encode()
173 hLdacBT->tx.tx_size = (hLdacBT->tx.mtu - hLdacBT->tx.pkt_hdr_sz); in ldacBT_init_handle_encode()
222 pCfg = ldacBT_get_config( hLdacBT->eqmid, hLdacBT->tx.pkt_type ); in ldacBT_init_handle_encode()
232 hLdacBT->tx.nfrm_in_pkt = hLdacBT->tx.tx_size / hLdacBT->frmlen_tx; in ldacBT_init_handle_encode()
277 hLdacBT->tgt_nfrm_in_pkt = hLdacBT->tx.nfrm_in_pkt; in ldacBT_init_handle_encode()
[all …]
/external/linux-kselftest/tools/testing/selftests/ptp/
Dtestptp.c54 static int clock_adjtime(clockid_t id, struct timex *tx) in clock_adjtime() argument
56 return syscall(__NR_clock_adjtime, id, tx); in clock_adjtime()
152 struct timex tx; in main() local
294 memset(&tx, 0, sizeof(tx)); in main()
295 tx.modes = ADJ_FREQUENCY; in main()
296 tx.freq = ppb_to_scaled_ppm(adjfreq); in main()
297 if (clock_adjtime(clkid, &tx)) { in main()
305 memset(&tx, 0, sizeof(tx)); in main()
306 tx.modes = ADJ_SETOFFSET; in main()
307 tx.time.tv_sec = adjtime; in main()
[all …]

12345678910>>...13