/third_party/decimal.js/test/modules/ |
H A D | Decimal.js | 157 var tx = function (fn, msg) { function 167 tx(function () {new Decimal(' NaN')}, "' NaN'"); 168 tx(function () {new Decimal('NaN ')}, "'NaN '"); 169 tx(function () {new Decimal(' NaN ')}, "' NaN '"); 170 tx(function () {new Decimal(' -NaN')}, "' -NaN'"); 171 tx(function () {new Decimal(' +NaN')}, "' +NaN'"); 172 tx(function () {new Decimal('-NaN ')}, "'-NaN '"); 173 tx(function () {new Decimal('+NaN ')}, "'+NaN '"); 174 tx(function () {new Decimal('.NaN')}, "'.NaN'"); 175 tx(functio [all...] |
H A D | config.js | 12 var tx = function (fn, msg) { function 29 tx(function () {Decimal.config()}, "config()"); 30 tx(function () {Decimal.config(null)}, "config(null)"); 31 tx(function () {Decimal.config(undefined)}, "config(undefined)"); 32 tx(function () {Decimal.config(0)}, "config(0)"); 33 tx(function () {Decimal.config('')}, "config('')"); 34 tx(function () {Decimal.config('hi')}, "config('hi')"); 35 tx(function () {Decimal.config('123')}, "config('123')"); 104 tx(function () {Decimal.config({precision: 0})}, "precision: 0"); 105 tx(functio [all...] |
H A D | toDP.js | 9 function tx(fn, msg) { function 484 tx(function () {new Decimal('12.345').toDP('2')}, ".toDP('2')"); 485 tx(function () {new Decimal('12.345').toDP(new Decimal('2'))}, ".toDP(new Decimal('2'))"); 486 tx(function () {new Decimal('12.345').toDP(null)}, ".toDP(null)"); 487 tx(function () {new Decimal('12.345').toDP(NaN)}, ".toDP(NaN)"); 488 tx(function () {new Decimal('12.345').toDP('NaN')}, ".toDP('NaN')"); 489 tx(function () {new Decimal('12.345').toDP([])}, ".toDP([])"); 490 tx(function () {new Decimal('12.345').toDP({})}, ".toDP({})"); 491 tx(function () {new Decimal('12.345').toDP('')}, ".toDP('')"); 492 tx(functio [all...] |
H A D | toPrecision.js | 9 function tx(fn, msg) { function 511 tx(function () {new Decimal(1.23).toPrecision('3')}, "(1.23).toPrecision('3')"); 512 tx(function () {new Decimal(1.23).toPrecision(new Decimal(3))}, "(1.23).toPrecision(new Decimal(3))"); 513 tx(function () {new Decimal(1.23).toPrecision(null)}, "(1.23).toPrecision(null)"); 514 tx(function () {new Decimal(1.23).toPrecision(NaN)}, "(1.23).toPrecision(NaN)"); 515 tx(function () {new Decimal(1.23).toPrecision('NaN')}, "(1.23).toPrecision('NaN')"); 516 tx(function () {new Decimal(1.23).toPrecision([])}, "(1.23).toPrecision([])"); 517 tx(function () {new Decimal(1.23).toPrecision({})}, "(1.23).toPrecision({})"); 518 tx(function () {new Decimal(1.23).toPrecision('')}, "(1.23).toPrecision('')"); 519 tx(functio [all...] |
H A D | toExponential.js | 9 function tx(fn, msg) { function 500 tx(function () {new Decimal('1.23').toExponential('3')}, "('1.23').toExponential('3')"); 501 tx(function () {new Decimal('1.23').toExponential(new Decimal('3'))}, "('1.23').toExponential(new Decimal('3'))"); 502 tx(function () {new Decimal('1.23').toExponential(null)}, "('1.23').toExponential(null)"); 503 tx(function () {new Decimal('1.23').toExponential(NaN)}, "('1.23').toExponential(NaN)"); 504 tx(function () {new Decimal('1.23').toExponential('NaN')}, "('1.23').toExponential('NaN')"); 505 tx(function () {new Decimal('1.23').toExponential([])}, "('1.23').toExponential([])"); 506 tx(function () {new Decimal('1.23').toExponential({})}, "('1.23').toExponential({})"); 507 tx(function () {new Decimal('1.23').toExponential('')}, "('1.23').toExponential('')"); 508 tx(functio [all...] |
H A D | toFraction.js | 9 function tx(fn, msg) { function 207 tx(function () {new Decimal('123.45').toFraction('')}, ".toFraction('')"); 208 tx(function () {new Decimal('123.45').toFraction(' ')}, ".toFraction(' ')"); 209 tx(function () {new Decimal('123.45').toFraction('\t')}, ".toFraction('\t')"); 210 tx(function () {new Decimal('123.45').toFraction(NaN)}, ".toFraction(NaN)"); 211 tx(function () {new Decimal('123.45').toFraction('NaN')}, ".toFraction('NaN')"); 212 tx(function () {new Decimal('123.45').toFraction('hello')}, ".toFraction('hello')"); 213 tx(function () {new Decimal('123.45').toFraction([])}, ".toFraction([])"); 214 tx(function () {new Decimal('123.45').toFraction({})}, ".toFraction({})"); 215 tx(functio [all...] |
H A D | toFixed.js | 9 function tx(fn, msg) { function 459 tx(function () {new Decimal(1.23).toFixed('3')}, "(1.23).toFixed('3')"); 460 tx(function () {new Decimal(1.23).toFixed(new Decimal('3'))}, "(1.23).toFixed(new Decimal('3'))"); 461 tx(function () {new Decimal(1.23).toFixed(null)}, "(1.23).toFixed(null)"); 462 tx(function () {new Decimal(1.23).toFixed(NaN)}, "(1.23).toFixed(NaN)"); 463 tx(function () {new Decimal(1.23).toFixed('NaN')}, "(1.23).toFixed('NaN')"); 464 tx(function () {new Decimal(1.23).toFixed([])}, "(1.23).toFixed([])"); 465 tx(function () {new Decimal(1.23).toFixed({})}, "(1.23).toFixed({})"); 466 tx(function () {new Decimal(1.23).toFixed('')}, "(1.23).toFixed('')"); 467 tx(functio [all...] |
H A D | toSD.js | 9 function tx(fn, msg) { function 524 tx(function () {new Decimal('12.345').toSD('3')}, ".toSD('3')"); 525 tx(function () {new Decimal('12.345').toSD(new Decimal('3'))}, ".toSD(new Decimal('3'))"); 526 tx(function () {new Decimal('12.345').toSD(NaN)}, ".toSD(NaN)"); 527 tx(function () {new Decimal('12.345').toSD(null)}, ".toSD(null)"); 529 tx(function () {new Decimal('12.345').toSD(NaN)}, ".toSD(NaN)"); 530 tx(function () {new Decimal('12.345').toSD('NaN')}, ".toSD('NaN')"); 531 tx(function () {new Decimal('12.345').toSD([])}, ".toSD([])"); 532 tx(function () {new Decimal('12.345').toSD({})}, ".toSD({})"); 533 tx(functio [all...] |
/third_party/mesa3d/src/gallium/frontends/nine/ |
H A 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 in nine_record_outputs() 558 nine_float_constant_src(struct shader_translator *tx, int idx) nine_float_constant_src() argument 588 nine_integer_constant_src(struct shader_translator *tx, int idx) nine_integer_constant_src() argument 613 nine_boolean_constant_src(struct shader_translator *tx, int idx) nine_boolean_constant_src() argument 643 tx_lconstf(struct shader_translator *tx, struct ureg_src *src, INT index) tx_lconstf() argument 660 tx_lconsti(struct shader_translator *tx, struct ureg_src *src, INT index) tx_lconsti() argument 677 tx_lconstb(struct shader_translator *tx, struct ureg_src *src, INT index) tx_lconstb() argument 695 tx_set_lconstf(struct shader_translator *tx, INT index, float f[4]) tx_set_lconstf() argument 719 tx_set_lconsti(struct shader_translator *tx, INT index, int i[4]) tx_set_lconsti() argument 744 tx_set_lconstb(struct shader_translator *tx, INT index, BOOL b) tx_set_lconstb() argument 770 tx_scratch(struct shader_translator *tx) tx_scratch() argument 782 tx_scratch_scalar(struct shader_translator *tx) tx_scratch_scalar() argument 798 tx_temp_alloc(struct shader_translator *tx, INT idx) tx_temp_alloc() argument 816 tx_addr_alloc(struct shader_translator *tx, INT idx) tx_addr_alloc() argument 826 TEX_if_fetch4(struct shader_translator *tx, struct ureg_dst dst, unsigned target, struct ureg_src src0, struct ureg_src src1, INT idx) TEX_if_fetch4() argument 854 apply_ps1x_projection(struct shader_translator *tx, struct ureg_dst dst, struct ureg_src src, INT idx) apply_ps1x_projection() argument 871 TEX_with_ps1x_projection(struct shader_translator *tx, struct ureg_dst dst, unsigned target, struct ureg_src src0, struct ureg_src src1, INT idx) TEX_with_ps1x_projection() argument 895 tx_texcoord_alloc(struct shader_translator *tx, INT idx) tx_texcoord_alloc() argument 905 tx_bgnloop(struct shader_translator *tx) tx_bgnloop() argument 915 tx_endloop(struct shader_translator *tx) tx_endloop() argument 925 tx_get_loopctr(struct shader_translator *tx, boolean loop_or_rep) tx_get_loopctr() argument 947 tx_get_loopal(struct shader_translator *tx) tx_get_loopal() argument 964 tx_cond(struct shader_translator *tx) tx_cond() argument 972 tx_elsecond(struct shader_translator *tx) tx_elsecond() argument 979 tx_endcond(struct shader_translator *tx) tx_endcond() argument 994 nine_get_position_input(struct shader_translator *tx) nine_get_position_input() argument 1006 tx_src_param(struct shader_translator *tx, const struct sm1_src_param *param) tx_src_param() argument 1284 _tx_dst_param(struct shader_translator *tx, const struct sm1_dst_param *param) _tx_dst_param() argument 1402 tx_dst_param(struct shader_translator *tx, const struct sm1_dst_param *param) tx_dst_param() argument 1412 tx_apply_dst0_modifiers(struct shader_translator *tx) tx_apply_dst0_modifiers() argument 1432 tx_dst_param_as_src(struct shader_translator *tx, const struct sm1_dst_param *param) tx_dst_param_as_src() argument 1475 NineTranslateInstruction_Mkxn(struct shader_translator *tx, const unsigned k, const unsigned n) NineTranslateInstruction_Mkxn() argument 3198 create_op_info_map(struct shader_translator *tx) create_op_info_map() argument 3224 NineTranslateInstruction_Generic(struct shader_translator *tx) NineTranslateInstruction_Generic() argument 3242 TOKEN_PEEK(struct shader_translator *tx) TOKEN_PEEK() argument 3248 TOKEN_NEXT(struct shader_translator *tx) TOKEN_NEXT() argument 3254 TOKEN_JUMP(struct shader_translator *tx) TOKEN_JUMP() argument 3263 sm1_parse_eof(struct shader_translator *tx) sm1_parse_eof() argument 3269 sm1_read_version(struct shader_translator *tx) sm1_read_version() argument 3288 sm1_parse_get_skip(struct shader_translator *tx) sm1_parse_get_skip() argument 3309 sm1_parse_comments(struct shader_translator *tx, BOOL print) sm1_parse_comments() argument 3327 sm1_parse_get_param(struct shader_translator *tx, DWORD *reg, DWORD *rel) sm1_parse_get_param() argument 3381 sm1_parse_immediate(struct shader_translator *tx, struct sm1_src_param *imm) sm1_parse_immediate() argument 3412 sm1_read_dst_param(struct shader_translator *tx, struct sm1_dst_param *dst, struct sm1_src_param *rel) sm1_read_dst_param() argument 3427 sm1_read_src_param(struct shader_translator *tx, struct sm1_src_param *src, struct sm1_src_param *rel) sm1_read_src_param() argument 3443 sm1_read_semantic(struct shader_translator *tx, struct sm1_semantic *sem) sm1_read_semantic() argument 3457 sm1_parse_instruction(struct shader_translator *tx) sm1_parse_instruction() argument 3559 tx_ctor(struct shader_translator *tx, struct pipe_screen *screen, struct nine_shader_info *info) tx_ctor() argument 3702 tx_dtor(struct shader_translator *tx) tx_dtor() argument 3716 shader_add_vs_viewport_transform(struct shader_translator *tx) shader_add_vs_viewport_transform() argument 3734 shader_add_ps_fog_stage(struct shader_translator *tx, struct ureg_src src_col) shader_add_ps_fog_stage() argument 3786 parse_shader(struct shader_translator *tx) parse_shader() argument 3948 struct shader_translator *tx; nine_translate_shader() local [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A 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 in adjtimex_0100() 58 struct timex tx; adjtimex_time64_0100() local [all...] |
H A 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}; clock_adjtime_0400() local 110 struct timex tx; clock_adjtime64_0100() local [all...] |
/third_party/ltp/testcases/kernel/syscalls/clock_adjtime/ |
H A 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) \ 142 tx.modes, \ 143 tx.offset, \ 144 tx.freq, \ 145 tx.maxerror, \ 146 tx [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/ |
H A D | nouveau_buffer.c | 158 struct nouveau_transfer *tx, bool permit_pb) in nouveau_transfer_staging() 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 in nouveau_transfer_staging() 157 nouveau_transfer_staging(struct nouveau_context *nv, struct nouveau_transfer *tx, bool permit_pb) nouveau_transfer_staging() argument 187 nouveau_transfer_read(struct nouveau_context *nv, struct nouveau_transfer *tx) nouveau_transfer_read() argument 208 nouveau_transfer_write(struct nouveau_context *nv, struct nouveau_transfer *tx, unsigned offset, unsigned size) nouveau_transfer_write() argument 279 nouveau_buffer_transfer_init(struct nouveau_transfer *tx, struct pipe_resource *resource, const struct pipe_box *box, unsigned usage) nouveau_buffer_transfer_init() argument 301 nouveau_buffer_transfer_del(struct nouveau_context *nv, struct nouveau_transfer *tx) nouveau_buffer_transfer_del() argument 321 struct nouveau_transfer tx; nouveau_buffer_cache() local 404 struct nouveau_transfer *tx = MALLOC_STRUCT(nouveau_transfer); nouveau_buffer_transfer_map() local 534 struct nouveau_transfer *tx = nouveau_transfer(transfer); nouveau_buffer_transfer_flush_region() local 538 nouveau_transfer_write(nouveau_context(pipe), tx, box->x, box->width); nouveau_buffer_transfer_flush_region() local 561 struct nouveau_transfer *tx = nouveau_transfer(transfer); nouveau_buffer_transfer_unmap() local 662 struct nouveau_transfer *tx = MALLOC_STRUCT(nouveau_transfer); nouveau_user_ptr_transfer_map() local 674 struct nouveau_transfer *tx = nouveau_transfer(transfer); nouveau_user_ptr_transfer_unmap() local 861 struct nouveau_transfer tx; nouveau_buffer_migrate() local [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A 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 in nvc0_miptree_transfer_map() 500 struct nvc0_transfer *tx = (struct nvc0_transfer *)transfer; nvc0_miptree_transfer_unmap() local [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
H A 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 in nv30_miptree_transfer_map() 378 struct nv30_transfer *tx = nv30_transfer(ptx); nv30_miptree_transfer_unmap() local [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A 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 in nv50_miptree_transfer_map() 472 struct nv50_transfer *tx = (struct nv50_transfer *)transfer; nv50_miptree_transfer_unmap() local [all...] |
/third_party/node/deps/ngtcp2/ngtcp2/lib/ |
H A 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 in ngtcp2_strm_free() [all...] |
/third_party/ffmpeg/libavcodec/loongarch/ |
H A D | vp9dsp_init_loongarch.c | 57 #define init_intra_pred1_lsx(tx, sz) \ 58 dsp->intra_pred[tx][VERT_PRED] = ff_vert_##sz##_lsx; \ 59 dsp->intra_pred[tx][HOR_PRED] = ff_hor_##sz##_lsx; \ 60 dsp->intra_pred[tx][DC_PRED] = ff_dc_##sz##_lsx; \ 61 dsp->intra_pred[tx][LEFT_DC_PRED] = ff_dc_left_##sz##_lsx; \ 62 dsp->intra_pred[tx][TOP_DC_PRED] = ff_dc_top_##sz##_lsx; \ 63 dsp->intra_pred[tx][DC_128_PRED] = ff_dc_128_##sz##_lsx; \ 64 dsp->intra_pred[tx][DC_127_PRED] = ff_dc_127_##sz##_lsx; \ 65 dsp->intra_pred[tx][DC_129_PRED] = ff_dc_129_##sz##_lsx; \ 66 dsp->intra_pred[tx][TM_VP8_PRE [all...] |
/third_party/ffmpeg/libavcodec/mips/ |
H A D | vp9dsp_init_mips.c | 32 #define init_intra_pred_msa(tx, sz) \ in vp9dsp_intrapred_init_msa() 33 dsp->intra_pred[tx][VERT_PRED] = ff_vert_##sz##_msa; \ in vp9dsp_intrapred_init_msa() 34 dsp->intra_pred[tx][HOR_PRED] = ff_hor_##sz##_msa; \ in vp9dsp_intrapred_init_msa() 35 dsp->intra_pred[tx][DC_PRED] = ff_dc_##sz##_msa; \ in vp9dsp_intrapred_init_msa() 36 dsp->intra_pred[tx][LEFT_DC_PRED] = ff_dc_left_##sz##_msa; \ in vp9dsp_intrapred_init_msa() 37 dsp->intra_pred[tx][TOP_DC_PRED] = ff_dc_top_##sz##_msa; \ in vp9dsp_intrapred_init_msa() 38 dsp->intra_pred[tx][DC_128_PRED] = ff_dc_128_##sz##_msa; \ in vp9dsp_intrapred_init_msa() 39 dsp->intra_pred[tx][DC_127_PRED] = ff_dc_127_##sz##_msa; \ in vp9dsp_intrapred_init_msa() 40 dsp->intra_pred[tx][DC_129_PRED] = ff_dc_129_##sz##_msa; \ in vp9dsp_intrapred_init_msa() 41 dsp->intra_pred[tx][TM_VP8_PRE in vp9dsp_intrapred_init_msa() [all...] |
/third_party/ltp/testcases/kernel/syscalls/clock_gettime/ |
H A 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, in run_leapsec() [all...] |
/third_party/skia/experimental/lowp-basic/ |
H A 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() 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() 58 int32_t ftx(floor(tx * 65536.0f + 0.5f)); in full_res_bilerp() 69 static int16_t bilerp_1(float tx, floa argument 45 golden_bilerp2( float tx, float ty, int16_t p00, int16_t p10, int16_t p01, int16_t p11) golden_bilerp2() argument 56 full_res_bilerp( float tx, float ty, int16_t p00, int16_t p10, int16_t p01, int16_t p11) full_res_bilerp() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/rc4/asm/ |
H A 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, [all...] |
/third_party/openssl/crypto/rc4/asm/ |
H A 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, [all...] |
/third_party/libwebsockets/lib/roles/ws/ext/ |
H A 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() 404 "pmd tx deflate buf"); 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, in lws_extension_callback_pm_deflate() [all...] |
/third_party/musl/porting/liteos_a/user/src/linux/ |
H A 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()
|