/third_party/mesa3d/src/gallium/frontends/nine/ |
D | nine_shader.c | 527 #define IS_VS (tx->processor == PIPE_SHADER_VERTEX) 528 #define IS_PS (tx->processor == PIPE_SHADER_FRAGMENT) 530 #define FAILURE_VOID(cond) if ((cond)) {tx->failure=1;return;} 548 nine_record_outputs(struct shader_translator *tx, BYTE Usage, BYTE UsageIndex, in nine_record_outputs() argument 551 tx->output_info[tx->num_outputs].output_semantic = Usage; in nine_record_outputs() 552 tx->output_info[tx->num_outputs].output_semantic_index = UsageIndex; in nine_record_outputs() 553 tx->output_info[tx->num_outputs].mask = mask; in nine_record_outputs() 554 tx->output_info[tx->num_outputs].output_index = output_index; in nine_record_outputs() 555 tx->num_outputs++; in nine_record_outputs() 558 static struct ureg_src nine_float_constant_src(struct shader_translator *tx, int idx) in nine_float_constant_src() argument [all …]
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
D | adjtimex.c | 30 struct timex tx; in adjtimex_0100() local 31 tx.offset = ADJ_OFFSET; in adjtimex_0100() 32 tx.tick = ADJ_TICK; in adjtimex_0100() 33 tx.maxerror = ADJ_MAXERROR; in adjtimex_0100() 34 tx.esterror = ADJ_ESTERROR; in adjtimex_0100() 35 tx.constant = ADJ_TIMECONST; in adjtimex_0100() 36 tx.freq = ADJ_FREQUENCY; in adjtimex_0100() 37 tx.status = ADJ_STATUS; in adjtimex_0100() 38 tx.precision = 1; in adjtimex_0100() 39 tx.tolerance = 1; in adjtimex_0100() [all …]
|
D | clock_adjtime.c | 37 struct timex tx; in clock_adjtime_0100() local 38 memset(&tx, 0, sizeof(tx)); in clock_adjtime_0100() 40 int result = clock_adjtime(CLOCK_REALTIME, &tx); in clock_adjtime_0100() 52 struct timex tx = {ADJ_OFFSET_SS_READ}; in clock_adjtime_0200() local 54 int result = clock_adjtime(CLOCK_MONOTONIC, &tx); in clock_adjtime_0200() 66 struct timex tx; in clock_adjtime_0300() local 67 memset(&tx, 0, sizeof(tx)); in clock_adjtime_0300() 69 int result = clock_adjtime(CLOCK_PROCESS_CPUTIME_ID, &tx); in clock_adjtime_0300() 81 struct timex tx = {0}; in clock_adjtime_0400() local 82 memset(&tx, 0, sizeof(tx)); in clock_adjtime_0400() [all …]
|
/third_party/ltp/testcases/kernel/syscalls/clock_adjtime/ |
D | clock_adjtime.h | 99 union tx{ union 102 } tx; member 109 return &t->tx.kern_old_timex; in tst_timex_get() 111 return &t->tx.kern_timex; in tst_timex_get() 128 #define TIMEX_SHOW(tx, mode, fmt) \ argument 142 tx.modes, \ 143 tx.offset, \ 144 tx.freq, \ 145 tx.maxerror, \ 146 tx.esterror, \ [all …]
|
/third_party/mesa3d/src/gallium/drivers/nouveau/ |
D | nouveau_buffer.c | 158 struct nouveau_transfer *tx, bool permit_pb) in nouveau_transfer_staging() argument 160 const unsigned adj = tx->base.box.x & NOUVEAU_MIN_BUFFER_MAP_ALIGN_MASK; in nouveau_transfer_staging() 161 const unsigned size = align(tx->base.box.width, 4) + adj; in nouveau_transfer_staging() 167 tx->map = align_malloc(size, NOUVEAU_MIN_BUFFER_MAP_ALIGN); in nouveau_transfer_staging() 168 if (tx->map) in nouveau_transfer_staging() 169 tx->map += adj; in nouveau_transfer_staging() 171 tx->mm = in nouveau_transfer_staging() 172 nouveau_mm_allocate(nv->screen->mm_GART, size, &tx->bo, &tx->offset); in nouveau_transfer_staging() 173 if (tx->bo) { in nouveau_transfer_staging() 174 tx->offset += adj; in nouveau_transfer_staging() [all …]
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_transfer.c | 383 struct nvc0_transfer *tx; in nvc0_miptree_transfer_map() local 401 tx = CALLOC_STRUCT(nvc0_transfer); in nvc0_miptree_transfer_map() 402 if (!tx) in nvc0_miptree_transfer_map() 405 pipe_resource_reference(&tx->base.resource, res); in nvc0_miptree_transfer_map() 407 tx->base.level = level; in nvc0_miptree_transfer_map() 408 tx->base.usage = usage; in nvc0_miptree_transfer_map() 409 tx->base.box = *box; in nvc0_miptree_transfer_map() 412 tx->nblocksx = box->width << mt->ms_x; in nvc0_miptree_transfer_map() 413 tx->nblocksy = box->height << mt->ms_y; in nvc0_miptree_transfer_map() 415 tx->nblocksx = util_format_get_nblocksx(res->format, box->width); in nvc0_miptree_transfer_map() [all …]
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_transfer.c | 381 struct nv50_transfer *tx; in nv50_miptree_transfer_map() local 389 tx = CALLOC_STRUCT(nv50_transfer); in nv50_miptree_transfer_map() 390 if (!tx) in nv50_miptree_transfer_map() 393 pipe_resource_reference(&tx->base.resource, res); in nv50_miptree_transfer_map() 395 tx->base.level = level; in nv50_miptree_transfer_map() 396 tx->base.usage = usage; in nv50_miptree_transfer_map() 397 tx->base.box = *box; in nv50_miptree_transfer_map() 400 tx->nblocksx = box->width << mt->ms_x; in nv50_miptree_transfer_map() 401 tx->nblocksy = box->height << mt->ms_y; in nv50_miptree_transfer_map() 403 tx->nblocksx = util_format_get_nblocksx(res->format, box->width); in nv50_miptree_transfer_map() [all …]
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_miptree.c | 288 struct nv30_transfer *tx; in nv30_miptree_transfer_map() local 292 tx = CALLOC_STRUCT(nv30_transfer); in nv30_miptree_transfer_map() 293 if (!tx) in nv30_miptree_transfer_map() 295 pipe_resource_reference(&tx->base.resource, pt); in nv30_miptree_transfer_map() 296 tx->base.level = level; in nv30_miptree_transfer_map() 297 tx->base.usage = usage; in nv30_miptree_transfer_map() 298 tx->base.box = *box; in nv30_miptree_transfer_map() 299 tx->base.stride = align(util_format_get_nblocksx(pt->format, box->width) * in nv30_miptree_transfer_map() 301 tx->base.layer_stride = util_format_get_nblocksy(pt->format, box->height) * in nv30_miptree_transfer_map() 302 tx->base.stride; in nv30_miptree_transfer_map() [all …]
|
/third_party/node/deps/ngtcp2/ngtcp2/lib/ |
D | ngtcp2_strm.c | 44 strm->tx.acked_offset = NULL; in ngtcp2_strm_init() 45 strm->tx.cont_acked_offset = 0; in ngtcp2_strm_init() 46 strm->tx.streamfrq = NULL; in ngtcp2_strm_init() 47 strm->tx.offset = 0; in ngtcp2_strm_init() 48 strm->tx.max_offset = max_tx_offset; in ngtcp2_strm_init() 49 strm->tx.last_max_stream_data_ts = UINT64_MAX; in ngtcp2_strm_init() 50 strm->tx.loss_count = 0; in ngtcp2_strm_init() 51 strm->tx.last_lost_pkt_num = -1; in ngtcp2_strm_init() 72 if (strm->tx.streamfrq) { in ngtcp2_strm_free() 73 for (it = ngtcp2_ksl_begin(strm->tx.streamfrq); !ngtcp2_ksl_it_end(&it); in ngtcp2_strm_free() [all …]
|
/third_party/ltp/testcases/kernel/syscalls/clock_gettime/ |
D | leapsec01.c | 63 static void adjtimex_status(struct timex *tx, int status) in adjtimex_status() argument 77 tx->modes = ADJ_STATUS; in adjtimex_status() 78 tx->status = status; in adjtimex_status() 79 ret = adjtimex(tx); in adjtimex_status() 80 now.tv_sec = tx->time.tv_sec; in adjtimex_status() 81 now.tv_nsec = tx->time.tv_usec * 1000; in adjtimex_status() 83 if ((tx->status & status) != status) in adjtimex_status() 126 struct timex tx; in run_leapsec() local 147 adjtimex_status(&tx, STA_PLL); in run_leapsec() 148 adjtimex_status(&tx, 0); in run_leapsec() [all …]
|
/third_party/ffmpeg/libavcodec/mips/ |
D | vp9dsp_init_mips.c | 31 #define init_intra_pred_msa(tx, sz) \ in vp9dsp_intrapred_init_msa() argument 32 dsp->intra_pred[tx][VERT_PRED] = ff_vert_##sz##_msa; \ in vp9dsp_intrapred_init_msa() 33 dsp->intra_pred[tx][HOR_PRED] = ff_hor_##sz##_msa; \ in vp9dsp_intrapred_init_msa() 34 dsp->intra_pred[tx][DC_PRED] = ff_dc_##sz##_msa; \ in vp9dsp_intrapred_init_msa() 35 dsp->intra_pred[tx][LEFT_DC_PRED] = ff_dc_left_##sz##_msa; \ in vp9dsp_intrapred_init_msa() 36 dsp->intra_pred[tx][TOP_DC_PRED] = ff_dc_top_##sz##_msa; \ in vp9dsp_intrapred_init_msa() 37 dsp->intra_pred[tx][DC_128_PRED] = ff_dc_128_##sz##_msa; \ in vp9dsp_intrapred_init_msa() 38 dsp->intra_pred[tx][DC_127_PRED] = ff_dc_127_##sz##_msa; \ in vp9dsp_intrapred_init_msa() 39 dsp->intra_pred[tx][DC_129_PRED] = ff_dc_129_##sz##_msa; \ in vp9dsp_intrapred_init_msa() 40 dsp->intra_pred[tx][TM_VP8_PRED] = ff_tm_##sz##_msa; \ in vp9dsp_intrapred_init_msa() [all …]
|
/third_party/node/deps/openssl/openssl/crypto/rc4/asm/ |
D | rc4-586.pl | 77 $tx="ecx"; 87 &add (&LB($yy),&LB($tx)); 89 &mov (&DWP(0,$dat,$yy,4),$tx); 91 &add ($ty,$tx); 96 &mov ($tx,&DWP(0,$dat,$xx,4)); 98 &mov ($tx,&wparam(3)); # reload [re-biased] out 115 &add (&LB($yy),&LB($tx)); 122 &mov (&DWP(0,$dat,$yy,4),$tx); 125 &add (&LB($ty),&LB($tx)); 127 &mov ($tx,&DWP(0,$dat,@XX[1],4)); [all …]
|
D | rc4-c64xplus.pl | 31 ($KEYB,$YY,$TX,$tx,$SUM,$dat)=map("B$_",(5,7,8,9,1,2)); 70 LDBU *${KEYA}[$XX],$tx 76 ||[!B0] ADD4 $tx,$YY,$YY 77 ||[!B0] MVD $tx,$TX 78 ADD4 $TY,$TX,$SUM ; [0,0] $TX is not replaced by $tx yet! 144 LDBU *${KEYA}[$XX],$tx 152 ||[!B0] ADD4 $tx,$YY,$YY 153 ||[!B0] MV $tx,$TX
|
/third_party/openssl/crypto/rc4/asm/ |
D | rc4-586.pl | 77 $tx="ecx"; 87 &add (&LB($yy),&LB($tx)); 89 &mov (&DWP(0,$dat,$yy,4),$tx); 91 &add ($ty,$tx); 96 &mov ($tx,&DWP(0,$dat,$xx,4)); 98 &mov ($tx,&wparam(3)); # reload [re-biased] out 115 &add (&LB($yy),&LB($tx)); 122 &mov (&DWP(0,$dat,$yy,4),$tx); 125 &add (&LB($ty),&LB($tx)); 127 &mov ($tx,&DWP(0,$dat,@XX[1],4)); [all …]
|
D | rc4-c64xplus.pl | 31 ($KEYB,$YY,$TX,$tx,$SUM,$dat)=map("B$_",(5,7,8,9,1,2)); 70 LDBU *${KEYA}[$XX],$tx 76 ||[!B0] ADD4 $tx,$YY,$YY 77 ||[!B0] MVD $tx,$TX 78 ADD4 $TY,$TX,$SUM ; [0,0] $TX is not replaced by $tx yet! 144 LDBU *${KEYA}[$XX],$tx 152 ||[!B0] ADD4 $tx,$YY,$YY 153 ||[!B0] MV $tx,$TX
|
/third_party/skia/experimental/lowp-basic/ |
D | bilerp-study.cpp | 38 static float golden_bilerp(float tx, float ty, int16_t p00, int16_t p10, int16_t p01, int16_t p11) { in golden_bilerp() argument 39 return (1.0f-tx) * (1.0f-ty) * p00 in golden_bilerp() 40 + (1.0f-tx) * ty * p01 in golden_bilerp() 41 + (1.0f-ty) * tx * p10 in golden_bilerp() 42 + tx * ty * p11; in golden_bilerp() 46 float tx, float ty, int16_t p00, int16_t p10, int16_t p01, int16_t p11) { in golden_bilerp2() argument 48 double dtx(tx), dty(ty); in golden_bilerp2() 57 float tx, float ty, int16_t p00, int16_t p10, int16_t p01, int16_t p11) { in full_res_bilerp() argument 58 int32_t ftx(floor(tx * 65536.0f + 0.5f)); in full_res_bilerp() 69 static int16_t bilerp_1(float tx, float ty, int16_t p00, int16_t p10, int16_t p01, int16_t p11) { in bilerp_1() argument [all …]
|
/third_party/glslang/Test/ |
D | hlsl.getdimensions.dx10.frag | 64 // 1D, float tx, uint params 76 // 1DArray, float tx, uint params 88 // 2D, float tx, uint params 100 // 2Darray, float tx, uint params 112 // 3D, float tx, uint params 124 // Cube, float tx, uint params 136 // Cubearray, float tx, uint params 148 // 2DMS, float tx, uint params 151 // 2DMS, int tx, uint params 154 // 2DMS, uint tx, uint params [all …]
|
/third_party/libwebsockets/lib/roles/ws/ext/ |
D | extension-permessage-deflate.c | 181 (void)deflateEnd(&priv->tx); in lws_extension_callback_pm_deflate() 388 n = deflateInit2(&priv->tx, priv->args[PMD_COMP_LEVEL], in lws_extension_callback_pm_deflate() 414 assert(!priv->tx.avail_in); in lws_extension_callback_pm_deflate() 421 priv->tx.next_in = (unsigned char *)pmdrx->eb_in.token; in lws_extension_callback_pm_deflate() 422 priv->tx.avail_in = (uInt)pmdrx->eb_in.len; in lws_extension_callback_pm_deflate() 425 priv->tx.next_out = priv->buf_tx_deflated + LWS_PRE + 5; in lws_extension_callback_pm_deflate() 426 pmdrx->eb_out.token = priv->tx.next_out; in lws_extension_callback_pm_deflate() 427 priv->tx.avail_out = (uInt)(1 << priv->args[PMD_TX_BUF_PWR2]); in lws_extension_callback_pm_deflate() 431 deflatePending(&priv->tx, &pen, &penbits); in lws_extension_callback_pm_deflate() 434 if (!priv->tx.avail_in && (len & LWS_WRITE_NO_FIN)) { in lws_extension_callback_pm_deflate() [all …]
|
/third_party/musl/src/linux/ |
D | adjtime.c | 9 struct timex tx = { 0 }; in adjtime() local 15 tx.offset = in->tv_sec*1000000 + in->tv_usec; in adjtime() 16 tx.modes = ADJ_OFFSET_SINGLESHOT; in adjtime() 18 if (adjtimex(&tx) < 0) return -1; in adjtime() 20 out->tv_sec = tx.offset / 1000000; in adjtime() 21 if ((out->tv_usec = tx.offset % 1000000) < 0) { in adjtime()
|
/third_party/musl/porting/liteos_a/user/src/linux/ |
D | adjtime.c | 10 struct timex tx = { 0 }; in adjtime() local 17 tx.offset = in->tv_sec*1000000 + in->tv_usec; in adjtime() 18 tx.modes = ADJ_OFFSET_SINGLESHOT; in adjtime() 20 if (adjtimex(&tx) < 0) return -1; in adjtime() 22 out->tv_sec = tx.offset / 1000000; in adjtime() 23 if ((out->tv_usec = tx.offset % 1000000) < 0) { in adjtime()
|
/third_party/nghttp2/src/ |
D | h2load_quic.cc | 637 if (quic.tx.send_blocked) { in write_quic() 643 if (quic.tx.send_blocked) { in write_quic() 658 uint8_t *bufpos = quic.tx.data.get(); in write_quic() 718 if (bufpos - quic.tx.data.get()) { in write_quic() 719 auto data = quic.tx.data.get(); in write_quic() 720 auto datalen = bufpos - quic.tx.data.get(); in write_quic() 737 auto data = quic.tx.data.get(); in write_quic() 738 auto datalen = bufpos - quic.tx.data.get(); in write_quic() 752 bufpos = quic.tx.data.get(); in write_quic() 765 auto data = quic.tx.data.get(); in write_quic() [all …]
|
/third_party/node/deps/openssl/openssl/crypto/md5/asm/ |
D | md5-sparcv9.pl | 38 $tx="%g3"; 75 sllx @X[$j+1],$shl1,$tx 77 sllx $tx,$shl2,$tx 79 or $tx,@X[$j],@X[$j] 92 srlx @X[$j],32,$tx ! extract X[`2*$j+1`] 100 add $tx,$t2,$t2 ! X[`2*$j+1`]+K[`$i+1`] 114 srlx @X[0],32,$tx ! extract X[1] 122 add $tx,$t2,$t2 ! X[1]+K[`$i+1`] 136 $code.=<<___ if ($j&1 && ($xi=$tx)); 161 $code.=<<___ if ($j&1 && ($xi=$tx)); [all …]
|
/third_party/openssl/crypto/md5/asm/ |
D | md5-sparcv9.pl | 38 $tx="%g3"; 75 sllx @X[$j+1],$shl1,$tx 77 sllx $tx,$shl2,$tx 79 or $tx,@X[$j],@X[$j] 92 srlx @X[$j],32,$tx ! extract X[`2*$j+1`] 100 add $tx,$t2,$t2 ! X[`2*$j+1`]+K[`$i+1`] 114 srlx @X[0],32,$tx ! extract X[1] 122 add $tx,$t2,$t2 ! X[1]+K[`$i+1`] 136 $code.=<<___ if ($j&1 && ($xi=$tx)); 161 $code.=<<___ if ($j&1 && ($xi=$tx)); [all …]
|
/third_party/skia/gm/ |
D | tilemodes.cpp | 168 static sk_sp<SkShader> make_bm(SkTileMode tx, SkTileMode ty) { in make_bm() argument 171 return bm.makeShader(tx, ty, SkSamplingOptions()); in make_bm() 174 static sk_sp<SkShader> make_grad(SkTileMode tx, SkTileMode ty) { in make_grad() argument 183 return SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), tx); in make_grad() 185 … return SkGradientShader::MakeRadial(center, rad, colors, nullptr, SK_ARRAY_COUNT(colors), tx); in make_grad() 188 SK_ARRAY_COUNT(colors), tx, 135, 225, 0, nullptr); in make_grad() 273 [img](SkPaint* paint, SkTileMode tx, SkTileMode ty) { in __anon082b38340202() 275 paint->setShader(img->makeShader(tx, ty, SkSamplingOptions(SkFilterMode::kNearest))); in __anon082b38340202() 277 [img](SkPaint* paint, SkTileMode tx, SkTileMode ty) { in __anon082b38340302() 279 paint->setShader(img->makeShader(tx, ty, SkSamplingOptions(SkFilterMode::kLinear))); in __anon082b38340302() [all …]
|
/third_party/ffmpeg/tests/checkasm/ |
D | vp9dsp.c | 57 int tx, mode, bit_depth; in check_ipred() local 80 for (tx = 0; tx < 4; tx++) { in check_ipred() 81 int size = 4 << tx; in check_ipred() 84 if (check_func(dsp.intra_pred[tx][mode], "vp9_%s_%dx%d_%dbpp", in check_ipred() 179 static void ftx_2d(double *out, const double *in, enum TxfmMode tx, in ftx_2d() argument 212 double scaling_factor = scaling_factors[tx][txtp]; in ftx_2d() 219 ftx1d_tbl[tx][txtp][0](temp_out, &in[i * sz], sz); in ftx_2d() 227 ftx1d_tbl[tx][txtp][1](&out[i * sz], &temp[i * sz], sz); in ftx_2d() 230 static void ftx(int16_t *buf, enum TxfmMode tx, in ftx() argument 243 ftx_2d(outd, ind, tx, txtp, sz); in ftx() [all …]
|