/external/webp/src/enc/ |
H A D | frame_enc.c | 243 const int sign = c < 0; local 244 int v = sign ? -c : c; 298 VP8PutBitUniform(bw, sign);
|
/external/ImageMagick/MagickCore/ |
H A D | draw.c | 1649 % "at" sign (@) and the contents of the file are drawn on the image. You 5967 double sign = x < 0.0 ? -1.0 : 1.0; 5968 return((sign*x) >= DrawEpsilon ? 1.0/x : sign*(1.0/DrawEpsilon)); 5942 double sign = x < 0.0 ? -1.0 : 1.0; local
|
H A D | enhance.c | 845 static void Contrast(const int sign,double *red,double *green,double *blue) 862 brightness+=0.5*sign*(0.5*(sin((double) (MagickPI*(brightness-0.5)))+1.0)- 881 sign; 903 sign=sharpen != MagickFalse ? 1 : -1; 919 Contrast(sign,&red,&green,&blue); 961 Contrast(sign,&red,&green,&blue); 838 Contrast(const int sign,double *red,double *green,double *blue) argument 874 sign; local
|
H A D | nt-base.c | 676 sign; 684 sign=1; 686 sign=-1; 690 return(sign*y); 665 sign; local
|
/external/aac/libDRCdec/src/ |
H A D | drcDec_reader.cpp | 209 int sign, magn; local 213 sign = FDKreadBits(hBs, 1); 218 if (sign) gainInitial = -gainInitial; 221 sign = FDKreadBits(hBs, 1); 222 if (sign == 0) 231 sign = FDKreadBits(hBs, 1); 232 if (sign == 0) 548 int sign, bsGainOffset, bsAttenuationScaling, bsAmplificationScaling; local 593 sign = FDKreadBits(hBs, 1); 598 if (sign) { [all...] |
/external/aac/libSBRdec/src/ |
H A D | hbe.cpp | 1451 int sign = -1, k, z, addrshift, codecTemp_e; local 1713 sign = -1; 1858 sign = 1; 1936 sign = 1; 2031 FIXP_DBL sin_twid = sign * twid_m_new[stretch - 2 - modstretch4][1];
|
/external/aac/libSBRenc/src/ |
H A D | env_est.cpp | 444 INT sign; local 446 sign = nrgVal > 0 ? 1 : -1; 448 nrgVal *= sign; 464 sign * panTable[ampRes][panIndex];
|
/external/capstone/arch/ARM/ |
H A D | ARMInstPrinter.c | 1032 ARM_AM_AddrOpc sign = getAM3Op((unsigned int)MCOperand_getImm(MO3)); local 1043 SStream_concat0(O, ARM_AM_getAddrOpcStr(sign)); 1047 if (!sign) { 1060 if (AlwaysPrintImm0 || ImmOffs || (sign == ARM_AM_sub)) { 1062 SStream_concat(O, ", #%s0x%x", ARM_AM_getAddrOpcStr(sign), ImmOffs); 1064 SStream_concat(O, ", #%s%u", ARM_AM_getAddrOpcStr(sign), ImmOffs); 1068 if (!sign) {
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktShaderCommonFunctionTests.cpp | 124 return getUlpDiff(tcu::Float32::construct(tcu::Float32(b).sign(), 0, 0).asFloat(), b); 126 return getUlpDiff(a, tcu::Float32::construct(tcu::Float32(a).sign(), 0, 0).asFloat()); 225 return (float32Representation.sign() == +1) ? (largestRepresentableValue) : (-largestRepresentableValue); 230 const tcu::Float32 targetRepresentation(tcu::Float32::constructBits(float32Representation.sign(), 381 *significand = tcu::Float32::construct(fpValue.sign(), -1, fpValue.mantissa()).asFloat(); 386 *significand = fpValue.sign() < 0 ? -0.0f : 0.0f; 397 return mant.sign() < 0 ? -0.0f : 0.0f; 401 return tcu::Float32::construct(mant.sign(), exponent+mant.exponent(), mant.mantissa()).asFloat(); 767 : CommonFunctionCase (testCtx, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "sign", shaderType) 771 m_spec.source = "out0 = sign(in 1019 const deUint32 sign = rnd.getUint32() & 0x1u; local 1116 const deUint32 sign = rnd.getUint32() & 0x1u; local 2167 const int sign = rnd.getBool() ? -1 : +1; local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderBuiltinVarTests.cpp | 503 float sign = m_depthClampEnable ? -1.0f : 1.0f; local 506 bufferData[ndx * scale] = (float)ndx / 256.0f * sign;
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fShaderCommonFunctionTests.cpp | 116 return getUlpDiff(tcu::Float32::construct(tcu::Float32(b).sign(), 0, 0).asFloat(), b); 118 return getUlpDiff(a, tcu::Float32::construct(tcu::Float32(a).sign(), 0, 0).asFloat()); 505 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "sign", shaderType) 509 m_spec.source = "out0 = sign(in0);"; 815 const deUint32 sign = rnd.getUint32() & 0x1u; local 816 const deUint32 value = (sign << 31) | (exp << 23) | mantissa; 896 const deUint32 sign = rnd.getUint32() & 0x1u; local 897 const deUint32 value = (sign << 31) | (exp << 23) | mantissa; 1228 const bool isNeg = tcu::Float32(in0).sign() < 0; 1231 // \note: trunc() function definition is a bit broad on negative zeros. Ignore result sign i [all...] |
H A D | es3fTextureUnitTests.cpp | 505 float sign = rnd.getBool() ? 1.0f : -1.0f; local 506 transData[i] = rnd.getFloat(0.7f, 1.4f) * sign;
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fShaderCommonFunctionTests.cpp | 120 return getUlpDiff(tcu::Float32::construct(tcu::Float32(b).sign(), 0, 0).asFloat(), b); 122 return getUlpDiff(a, tcu::Float32::construct(tcu::Float32(a).sign(), 0, 0).asFloat()); 221 return (float32Representation.sign() == +1) ? (largestRepresentableValue) : (-largestRepresentableValue); 226 const tcu::Float32 targetRepresentation(tcu::Float32::constructBits(float32Representation.sign(), 583 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "sign", shaderType) 587 m_spec.source = "out0 = sign(in0);"; 893 const deUint32 sign = rnd.getUint32() & 0x1u; local 894 const deUint32 value = (sign << 31) | (exp << 23) | mantissa; 976 const deUint32 sign = rnd.getUint32() & 0x1u; local 977 const deUint32 value = (sign << 3 [all...] |
/external/eigen/unsupported/test/mpreal/ |
H A D | mpreal.h | 131 // (b) sign is not set, add (x)->_mpfr_sign = 1;
450 // returns +inf iff sign>=0 otherwise -inf
451 friend const mpreal const_infinity(int sign, mp_prec_t prec);
1939 inline mpreal& mpreal::setSign(int sign, mp_rnd_t RoundingMode)
argument 1941 mpfr_setsign(mpfr_ptr(), mpfr_srcptr(), (sign < 0 ? 1 : 0), RoundingMode);
1958 inline mpreal& mpreal::setInf(int sign)
1960 mpfr_set_inf(mpfr_ptr(), sign);
1972 inline mpreal& mpreal::setZero(int sign)
1975 mpfr_set_zero(mpfr_ptr(), sign);
1978 setSign(sign);
[all...] |
/external/freetype/src/autofit/ |
H A D | aflatin.c | 2686 FT_Int sign = 0; local 2697 sign = 1; 2863 if ( sign )
|
H A D | aflatin2.c | 1658 FT_Int sign = 0; local 1671 sign = 1; 1807 if ( sign )
|
/external/icu/icu4c/source/i18n/ |
H A D | timezone.cpp | 471 // Invert sign because UNIX semantics are backwards 1303 int32_t sign, hour, min, sec; local 1304 if (parseCustomID(id, sign, hour, min, sec)) { 1306 formatCustomID(hour, min, sec, (sign < 0), customID); 1307 int32_t offset = sign * ((hour * 60 + min) * 60 + sec) * 1000; 1319 int32_t sign, hour, min, sec; local 1320 if (parseCustomID(id, sign, hour, min, sec)) { 1321 formatCustomID(hour, min, sec, (sign < 0), normalized); 1329 TimeZone::parseCustomID(const UnicodeString& id, int32_t& sign, argument 1341 sign [all...] |
/external/icu/icu4c/source/test/intltest/ |
H A D | tztest.cpp | 1034 UChar sign = 0x002B; local 1036 sign = 0x002D; 1045 rv += (UChar)(sign); 1079 UChar sign = 0x002B; local 1081 sign = 0x002D; 1091 rv += (UChar)(sign);
|
/external/libopus/celt/ |
H A D | bands.c | 918 int sign=0; local 923 sign = x[0]<0; 924 ec_enc_bits(ec, sign, 1); 926 sign = ec_dec_bits(ec, 1); 932 x[0] = sign ? -NORM_SCALING : NORM_SCALING; 1285 int sign=0; local 1302 /* Here we only need to encode a sign for the side. */ 1303 sign = x2[0]*y2[1] - x2[1]*y2[0] < 0; 1304 ec_enc_bits(ec, sign, 1); 1306 sign [all...] |
/external/llvm/lib/Support/ |
H A D | APInt.cpp | 566 // If the sign bits don't match, then (LHS < RHS) if LHS is negative 616 assert(slen && "String is only a sign, needs a value."); 841 // Get the sign bit from the highest order bit 851 // Extract the mantissa by clearing the top 12 bits (sign + exponent). 899 // we are using. Note that the sign bit is gone since we constructed the 928 uint64_t sign = isNeg ? (1ULL << (APINT_BITS_PER_WORD - 1)) : 0; local 933 T.I = sign | (exp << 52) | mantissa; 980 // Read and sign-extend any partial word. 1101 // Adjust the top significant word for sign bit fill, if negative 1118 // Deal with sign extensio [all...] |
/external/mdnsresponder/mDNSShared/ |
H A D | DebugServices.c | 1199 char sign; // +, - or space member in struct:DebugSNPrintF_format 1236 else if (c == ' ') F.sign = ' '; 1291 F.sign = 0; 1310 if ((long_long_compat) n < 0) { n = (unsigned_long_long_compat)-(long_long_compat)n; F.sign = '-'; } 1312 if ((long) n < 0) { n = (unsigned long)-(long)n; F.sign = '-'; } 1314 else if (F.forceSign) F.sign = '+'; 1328 F.sign = 0; 1337 if (F.sign) --F.precision; 1346 if (F.sign) { *--s = F.sign; [all...] |
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/ |
H A D | builder_misc.cpp | 47 uint32_t sign, exp, mant; local 50 // Extract the sign, exponent, and mantissa 52 sign = (uf & 0x80000000) >> 31; 61 sign = 1; // set the sign bit for NANs 106 uint32_t tmpVal = (sign << 15) | (exp << 10) | mant; 129 uint32_t sign = (val & 0x8000) << 16; local 143 result = sign | exp | mant; 750 /// @brief Generate a VPSHUFB operation (sign extend 8 8bit values to 32 758 // use avx2 byte sign exten [all...] |
/external/pcre/dist2/src/sljit/ |
H A D | sljitNativeARM_32.c | 1463 sljit_sw sign; local 1481 sign = 1; 1485 sign = 0; 1489 GETPUT_ARG_DATA_TRANSFER(sign, 0, reg, TMP_REG3, argw);
|
/external/pdfium/third_party/libopenjpeg20/ |
H A D | jp2.c | 1933 OPJ_UINT32 sign; local 1990 sign = image->comps[0].sgnd; 1991 jp2->bpc = depth_0 + (sign << 7); 1994 sign = image->comps[i].sgnd; 2261 38U); /* 0 is valid, ignore sign for check */
|
/external/python/cpython2/Objects/ |
H A D | floatobject.c | 730 /* ensure the remainder has the same sign as the denominator */ 738 it has the same sign as the denominator; we'd like to do 769 /* ensure the remainder has the same sign as the denominator */ 778 it has the same sign as the denominator; we'd like to do 791 /* div is zero - get the same sign as the true quotient */ 793 floordiv = div * vx / wx; /* zero w/ sign of vx/wx */ 860 * both cases, we need to add the appropriate sign if w is 880 /* use correct sign if iw is odd */ 1097 int decpt, sign, val, halfway_case; local 1166 buf = _Py_dg_dtoa(x, 3, ndigits+halfway_case, &decpt, &sign, 1457 int half_eps, digit, round_up, sign=1; local 2316 unsigned char sign; local 2421 unsigned char sign; local 2550 unsigned char sign; local 2628 unsigned char sign; local [all...] |