Home
last modified time | relevance | path

Searched refs:sgn (Results 1 – 25 of 35) sorted by relevance

12

/third_party/libsnd/src/ALAC/
Ddp_enc.c80 int32_t sg, sgn ; in pc_block() local
143 sgn = sign_of_int (b3) ; in pc_block()
144 a3 -= sgn ; in pc_block()
145 del0 -= (4 - 3) * ((sgn * b3) >> denshift) ; in pc_block()
149 sgn = sign_of_int (b2) ; in pc_block()
150 a2 -= sgn ; in pc_block()
151 del0 -= (4 - 2) * ((sgn * b2) >> denshift) ; in pc_block()
155 sgn = sign_of_int (b1) ; in pc_block()
156 a1 -= sgn ; in pc_block()
157 del0 -= (4 - 1) * ((sgn * b1) >> denshift) ; in pc_block()
[all …]
Ddp_dec.c58 int32_t sum1, sg, sgn, top, dd ; in unpc_block() local
137 sgn = sign_of_int (ib3) ; in unpc_block()
138 ia3 -= sgn ; in unpc_block()
139 del0 -= (4 - 3) * ((sgn * ib3) >> denshift) ; in unpc_block()
143 sgn = sign_of_int (ib2) ; in unpc_block()
144 ia2 -= sgn ; in unpc_block()
145 del0 -= (4 - 2) * ((sgn * ib2) >> denshift) ; in unpc_block()
149 sgn = sign_of_int (ib1) ; in unpc_block()
150 ia1 -= sgn ; in unpc_block()
151 del0 -= (4 - 1) * ((sgn * ib1) >> denshift) ; in unpc_block()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
DICUDurationTest.java81 ICUTestDuration(int sgn, int y, int months, int d, int h, int m, float s) { in ICUTestDuration() argument
82 sign = sgn; in ICUTestDuration()
92 private ICUTestDuration(int sgn, Map<Field, Number> f) { in ICUTestDuration() argument
93 sign = sgn; in ICUTestDuration()
156 private static final ICUTestDuration newDuration(int sgn, int d, int h, int m, float s) { in newDuration() argument
157 return new ICUTestDuration(sgn, -1, -1, d, h, m, s); in newDuration()
159 private static final ICUTestDuration newDuration(int sgn, int h, int m, float s) { in newDuration() argument
160 return new ICUTestDuration(sgn, -1, -1, -1, h, m, s); in newDuration()
162 private static final ICUTestDuration newDuration(int sgn, float s) { in newDuration() argument
163 return new ICUTestDuration(sgn, -1, -1, -1, -1, -1, s); in newDuration()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/duration/
DICUDurationTest.java84 ICUTestDuration(int sgn, int y, int months, int d, int h, int m, float s) { in ICUTestDuration() argument
85 sign = sgn; in ICUTestDuration()
95 private ICUTestDuration(int sgn, Map<Field, Number> f) { in ICUTestDuration() argument
96 sign = sgn; in ICUTestDuration()
159 private static final ICUTestDuration newDuration(int sgn, int d, int h, int m, float s) { in newDuration() argument
160 return new ICUTestDuration(sgn, -1, -1, d, h, m, s); in newDuration()
162 private static final ICUTestDuration newDuration(int sgn, int h, int m, float s) { in newDuration() argument
163 return new ICUTestDuration(sgn, -1, -1, -1, h, m, s); in newDuration()
165 private static final ICUTestDuration newDuration(int sgn, float s) { in newDuration() argument
166 return new ICUTestDuration(sgn, -1, -1, -1, -1, -1, s); in newDuration()
/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_inlines.h107 bool flt = false, bool sgn = false)
110 case 1: return sgn ? TYPE_S8 : TYPE_U8;
111 case 2: return flt ? TYPE_F16 : (sgn ? TYPE_S16 : TYPE_U16);
112 case 8: return flt ? TYPE_F64 : (sgn ? TYPE_S64 : TYPE_U64);
116 return flt ? TYPE_F32 : (sgn ? TYPE_S32 : TYPE_U32);
/third_party/boost/boost/random/detail/
Dsigned_unsigned_tools.hpp27 template<class T, bool sgn = std::numeric_limits<T>::is_signed && std::numeric_limits<T>::is_bounde…
57 template<class T1, class T2, bool sgn = (std::numeric_limits<T2>::is_signed && (std::numeric_limits…
/third_party/boost/boost/math/special_functions/detail/
Dbessel_jy_derivatives_series.hpp200 int sgn; in bessel_y_derivative_small_z_series() local
201 prefix = boost::math::lgamma(-v, &sgn, pol) + (v - 1) * log(x / 2) - constants::ln_two<T>(); in bessel_y_derivative_small_z_series()
202 prefix = exp(prefix) * sgn / boost::math::constants::pi<T>(); in bessel_y_derivative_small_z_series()
Dbessel_jy_series.hpp197 int sgn; in bessel_y_small_z_series() local
198 prefix = boost::math::lgamma(-v, &sgn, pol) + p; in bessel_y_small_z_series()
199 prefix = exp(prefix) * sgn / constants::pi<T>(); in bessel_y_small_z_series()
Dhypergeometric_1F1_bessel.hpp409 int sgn = boost::math::sign(result); in hypergeometric_1F1_AS_13_3_7_tricomi() local
411 result = sgn * prefix_sgn * exp(prefix); in hypergeometric_1F1_AS_13_3_7_tricomi()
/third_party/ffmpeg/libavcodec/
Dg726.c65 static inline int sgn(int value) in sgn() function
212 pk0 = (c->sez + dq) ? sgn(c->sez + dq) : 0; in g726_decode()
213 dq0 = dq ? sgn(dq) : 0; in g726_decode()
229 c->b[i] += 128*dq0*sgn(-c->dq[i].sign) - (c->b[i]>>8); in g726_decode()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/
Dfast_trigonometry.inl122 T sgn = sign(y) * sign(x); local
123 return abs(fastAtan(y / x)) * sgn;
/third_party/alsa-lib/src/pcm/
Dpcm_plug.c230 static int check_linear_format(const snd_pcm_format_mask_t *format_mask, int wid, int sgn, int ed) in check_linear_format() argument
240 f = snd_pcm_build_linear_format(wid, pw, sgn, ed); in check_linear_format()
245 sgn = !sgn; in check_linear_format()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c3204 struct svga_shader_signature *sgn = &emit->signature; in emit_passthrough_control_point_signature() local
3212 sgnEntry = &sgn->inputs[sgn->header.numInputSignatures++]; in emit_passthrough_control_point_signature()
3220 sgnEntry = &sgn->outputs[sgn->header.numOutputSignatures++]; in emit_passthrough_control_point_signature()
3614 struct svga_shader_signature *sgn = &emit->signature; in emit_input_declaration() local
3618 &sgn->patchConstants[sgn->header.numPatchConstantSignatures++]; in emit_input_declaration()
3628 &sgn->inputs[sgn->header.numInputSignatures++]; in emit_input_declaration()
3735 struct svga_shader_signature *sgn = &emit->signature; in emit_output_declaration() local
3737 &sgn->outputs[sgn->header.numOutputSignatures++]; in emit_output_declaration()
4092 struct svga_shader_signature *sgn = &emit->signature; in emit_gs_output_declarations() local
4099 sgnEntry = &sgn->outputs[sgn->header.numOutputSignatures++]; in emit_gs_output_declarations()
[all …]
/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DlangtagRegex.txt52 | sgn $s (?: BE $s (?: fr | nl) | CH $s de )
/third_party/icu/ohos_icu4j/src/main/tests/resources/ohos/global/icu/dev/test/translit/
DlangtagRegex.txt51 | sgn $s (?: BE $s (?: fr | nl) | CH $s de )
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_texture_shared_exponent.txt610 value = -1^sgn * 2^(exp-bias) * 1.frac
612 where sgn is the sign bit (so 1 for sgn negative because -1^-1
623 value = -1^sgn * 2^(exp-bias+1) * 0.frac
662 where there is no sgn since all values are non-negative, exp is
/third_party/openGLES/extensions/EXT/
DEXT_texture_shared_exponent.txt610 value = -1^sgn * 2^(exp-bias) * 1.frac
612 where sgn is the sign bit (so 1 for sgn negative because -1^-1
623 value = -1^sgn * 2^(exp-bias+1) * 0.frac
662 where there is no sgn since all values are non-negative, exp is
/third_party/skia/third_party/externals/swiftshader/src/Shader/
DShaderCore.hpp330 void sgn(Vector4f &dst, const Vector4f &src);
370 void sgn(Float4 &dst, const Float4 &src);
DShaderCore.cpp1535 void ShaderCore::sgn(Vector4f &dst, const Vector4f &src) in sgn() function in sw::ShaderCore
1537 sgn(dst.x, src.x); in sgn()
1538 sgn(dst.y, src.y); in sgn()
1539 sgn(dst.z, src.z); in sgn()
1540 sgn(dst.w, src.w); in sgn()
1790 void ShaderCore::sgn(Float4 &dst, const Float4 &src) in sgn() function in sw::ShaderCore
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/audio/kernels/
Daudio_utils.cc470 float sgn(T val) { in sgn() function
485 x_mu = sgn(x_mu) * expm1(fabs(x_mu) * log1p(mu)) / mu; in Decoding()
/third_party/gettext/gettext-tools/doc/
DISO_639-2258 sgn Sign Languages FS
/third_party/mesa3d/src/amd/llvm/
Dac_llvm_build.c803 LLVMValueRef sgn; in build_cube_select() local
819 sgn = LLVMBuildSelect( in build_cube_select()
822 out_st[0] = LLVMBuildFMul(builder, tmp, sgn, ""); in build_cube_select()
826 sgn = LLVMBuildSelect(builder, is_ma_y, sgn_ma, LLVMConstReal(f32, -1.0), ""); in build_cube_select()
827 out_st[1] = LLVMBuildFMul(builder, tmp, sgn, ""); in build_cube_select()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DREADME.txt91 Here's another example (the sgn function):
/third_party/quickjs/
Dlibbf.c2486 int shift, e, sgn; in bf_set_float64() local
2489 sgn = u.u >> 63; in bf_set_float64()
2496 bf_set_inf(a, sgn); in bf_set_float64()
2500 bf_set_zero(a, sgn); in bf_set_float64()
2523 a->sign = sgn; in bf_set_float64()
/third_party/quickjs/doc/
Djsbignum.texi89 Return @math{sgn(b) \lfloor a/{|b|} \rfloor} (Euclidian

12