Home
last modified time | relevance | path

Searched refs:x_sign (Results 1 – 5 of 5) sorted by relevance

/external/harfbuzz_ng/util/
Dview-cairo.cc39 int x_sign = font_opts->font_size_x < 0 ? -1 : +1; in render() local
62 w = MAX (w, x_sign * x_advance); in render()
88 x_sign < 0 ? w : 0, in render()
/external/XNNPACK/src/qs8-requantization/
Dq31-wasmsimd.c64 const v128_t x_sign = wasm_i32x4_lt(x, vzero); in xnn_qs8_requantize_q31__wasmsimd() local
69 const v128_t x_lo = wasm_v32x4_shuffle(x, x_sign, 0, 4, 1, 5); in xnn_qs8_requantize_q31__wasmsimd()
74 const v128_t x_hi = wasm_v32x4_shuffle(x, x_sign, 2, 6, 3, 7); in xnn_qs8_requantize_q31__wasmsimd()
/external/XNNPACK/src/qu8-requantization/
Dq31-wasmsimd.c64 const v128_t x_sign = wasm_i32x4_lt(x, vzero); in xnn_qu8_requantize_q31__wasmsimd() local
69 const v128_t x_lo = wasm_v32x4_shuffle(x, x_sign, 0, 4, 1, 5); in xnn_qu8_requantize_q31__wasmsimd()
74 const v128_t x_hi = wasm_v32x4_shuffle(x, x_sign, 2, 6, 3, 7); in xnn_qu8_requantize_q31__wasmsimd()
/external/mesa3d/src/compiler/nir/
Dnir_lower_int64.c691 nir_ssa_def *x_sign = NULL; in lower_2f() local
694 x_sign = nir_bcsel(b, COND_LOWER_CMP(b, ilt, x, nir_imm_int64(b, 0)), in lower_2f()
749 res = nir_fmul(b, res, x_sign); in lower_2f()
758 nir_ssa_def *x_sign = NULL; in lower_f2() local
761 x_sign = nir_fsign(b, x); in lower_f2()
779 res = nir_bcsel(b, nir_flt(b, x_sign, nir_imm_float(b, 0)), in lower_f2()
/external/python/cpython3/Modules/_decimal/libmpdec/
Dmpdecimal.c3050 int x_sign, n_sign; in mpd_qscaleb() local
3083 x_sign = (a->exp < 0) ? 1 : 0; in mpd_qscaleb()
3086 if (x_sign == n_sign) { in mpd_qscaleb()
3091 x_sign = (x >= n) ? x_sign : n_sign; in mpd_qscaleb()
3094 if (!x_sign && x > MPD_EXP_INF) x = MPD_EXP_INF; in mpd_qscaleb()
3095 if (x_sign && x > -MPD_EXP_CLAMP) x = -MPD_EXP_CLAMP; in mpd_qscaleb()
3096 exp = x_sign ? -((mpd_ssize_t)x) : (mpd_ssize_t)x; in mpd_qscaleb()