/external/chromium_org/third_party/skia/src/core/ |
SkFloatBits.cpp | 18 Floor and Cast are very similar, but Cast applies its sign after all other 81 // apply the sign after we check for overflow 84 // apply the sign before we right-shift 111 // apply the sign after we check for overflow 114 // apply the sign before we right-shift 141 // apply the sign after we check for overflow 144 // apply the sign before we right-shift 162 // record the sign and make value positive 163 int sign = SkExtractSign(value); local 164 value = SkApplySign(value, sign); 196 int sign = SkExtractSign(value); local [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_format_r11g11b10f.h | 58 int sign = (f32.ui >> 16) & 0x8000; local 74 if (sign) 77 } else if (sign) { 144 int sign = (f32.ui >> 16) & 0x8000; local 160 if (sign) 163 } else if (sign) {
|
/external/skia/src/core/ |
SkFloatBits.cpp | 18 Floor and Cast are very similar, but Cast applies its sign after all other 81 // apply the sign after we check for overflow 84 // apply the sign before we right-shift 111 // apply the sign after we check for overflow 114 // apply the sign before we right-shift 141 // apply the sign after we check for overflow 144 // apply the sign before we right-shift 162 // record the sign and make value positive 163 int sign = SkExtractSign(value); local 164 value = SkApplySign(value, sign); 196 int sign = SkExtractSign(value); local [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
c1035pf.cpp | 264 Word16 sign[], // (i) : sign of d[n] 268 Word16 indx[] // (o) : index of 10 pulses (sign+position) 288 // read sign 289 j = sign[i]; 316 // sign of 1st pulse == sign of 2nd pulse 330 // sign of 1st pulse != sign of 2nd pulse 401 Word16 sign[], /* (i) : sign of d[n] * 659 Word16 dn[L_CODE], sign[L_CODE]; local [all...] |
/frameworks/base/core/jni/android/opengl/ |
poly_clip.cpp | 41 #define CLIP_AND_SWAP(elem, sign, k, p, q, r) { \ 42 poly_clip_to_halfspace(p, q, &v->elem-(float *)v, sign, sign*k); \ 49 * copying the portion satisfying sign*s[index] < k*sw into q, 59 void poly_clip_to_halfspace(Poly* p, Poly* q, int index, float sign, float k) 72 tu = sign*COORD(u, index) - u->sw*k; 76 tv = sign*COORD(v, index) - v->sw*k;
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
dtoa.h | 37 WTF_EXPORT void dtoa(DtoaBuffer result, double dd, bool& sign, int& exponent, unsigned& precision); 38 WTF_EXPORT void dtoaRoundSF(DtoaBuffer result, double dd, int ndigits, bool& sign, int& exponent, unsigned& precision); 39 WTF_EXPORT void dtoaRoundDP(DtoaBuffer result, double dd, int ndigits, bool& sign, int& exponent, unsigned& precision); 41 // Size = 80 for sizeof(DtoaBuffer) + some sign bits, decimal point, 'e', exponent digits.
|
/external/dropbear/libtommath/ |
bn_mp_gcd.c | 42 u.sign = v.sign = MP_ZPOS; 95 c->sign = MP_ZPOS;
|
bn_mp_sqr.c | 51 b->sign = MP_ZPOS;
|
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
Ray.java | 215 float sign; local 217 sign = 1; 219 sign = -1f; 227 float dirDotDiffxEdge2 = sign * direction.dot(diff.cross(edge2, edge2)); 229 float dirDotEdge1xDiff = sign 234 float diffDotNorm = -sign * diff.dot(norm); 290 float sign; local 292 sign = 1; 294 sign = -1f; 305 float dirDotDiffxEdge2 = sign * (direction.x * diffEdge2 [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
InputGameInterface.java | 104 final float magnitude = magnitudeRamp * Utils.sign(offset) * SLIDER_FILTER * mMovementSensitivity; 105 sliderOffset = magnitudeRamp * Utils.sign(offset); 152 int sign = Utils.sign(x); local 153 x = x - (sign * ROLL_DECAY * timeDelta); 154 if (Utils.sign(x) != sign) { 160 int sign = Utils.sign(y); local 161 y = y - (sign * ROLL_DECAY * timeDelta) [all...] |
/libcore/luni/src/main/java/java/lang/ |
StrictMath.java | 923 * Returns a double with the given magnitude and the sign of {@code sign}. 924 * If {@code sign} is NaN, the sign of the result is positive. 927 public static double copySign(double magnitude, double sign) { 934 long signBits = Double.doubleToRawLongBits((sign != sign) ? 1.0 : sign); 940 * Returns a float with the given magnitude and the sign of {@code sign} 1018 long sign = bits & Double.SIGN_MASK; local 1072 int sign = bits & Float.SIGN_MASK; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
lp_bld_type.h | 97 unsigned sign:1; member in struct:lp_type 183 res_type.sign = TRUE; 199 res_type.sign = TRUE; 214 res_type.sign = TRUE; 229 res_type.sign = TRUE; 285 res_type.sign = TRUE; 343 type.sign = TRUE; 359 type.sign = TRUE; 375 type.sign = FALSE;
|
lp_bld_conv.c | 122 /* Sign bit */ 124 LLVMValueRef sign = LLVMBuildShl(builder, justsign, i32_16, ""); local 127 LLVMValueRef sign_inf = LLVMBuildOr(builder, sign, infnanexp, ""); 164 src_type.sign = FALSE; 385 src_type.sign == 1 && 392 dst_type.sign == 0 && 411 int16_type.sign = 1; 415 int32_type.sign = 1; 440 src_type.sign == 1 && 447 dst_type.sign == 0 & [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
intnum.h | 107 * \param sign signed (1) or unsigned (0) LEB128 format 114 (const unsigned char *ptr, int sign, /*@out@*/ unsigned long *size); 119 * \param sign signed (1) or unsigned (0) source 125 (unsigned char *ptr, int sign, size_t srcsize, int bigendian); 207 /** Simple sign check. 279 * \param sign signedness of LEB128 encoding (0=unsigned, 1=signed) 284 unsigned char *ptr, int sign); 288 * \param sign signedness of LEB128 encoding (0=unsigned, 1=signed) 292 unsigned long yasm_intnum_size_leb128(const yasm_intnum *intn, int sign);
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_type.h | 97 unsigned sign:1; member in struct:lp_type 183 res_type.sign = TRUE; 199 res_type.sign = TRUE; 214 res_type.sign = TRUE; 229 res_type.sign = TRUE; 285 res_type.sign = TRUE; 343 type.sign = TRUE; 359 type.sign = TRUE; 375 type.sign = FALSE;
|
lp_bld_conv.c | 122 /* Sign bit */ 124 LLVMValueRef sign = LLVMBuildShl(builder, justsign, i32_16, ""); local 127 LLVMValueRef sign_inf = LLVMBuildOr(builder, sign, infnanexp, ""); 164 src_type.sign = FALSE; 385 src_type.sign == 1 && 392 dst_type.sign == 0 && 411 int16_type.sign = 1; 415 int32_type.sign = 1; 440 src_type.sign == 1 && 447 dst_type.sign == 0 & [all...] |
/external/speex/libspeex/ |
vq.c | 109 /*Finds the indices of the n-best entries in a codebook with sign*/ 112 int i,j,k, sign, used; local 121 sign=0; 125 sign=1; 142 if (sign)
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/ |
cor_h_vec_opt.s | 20 @ Word16 sign[], /* (i) sign vector */ 28 @r3 ---- sign[] 45 @r3 --- sign[], r4 --- i, r7 --- p0 71 ADD r9, r3, r2, LSL #1 @address of sign[pos] 73 LDRSH r10, [r9], #2 @sign[pos] 74 LDRSH r11, [r9] @sign[pos + 1] 118 ADD r9, r3, r2, LSL #1 @address of sign[pos] 120 LDRSH r10, [r9], #2 @sign[pos] 121 LDRSH r11, [r9] @sign[pos + 1 [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/ |
cor_h_vec_neon.s | 21 @ Word16 sign[], /* (i) sign vector */ 29 @r3 ---- sign[] 45 @r3 --- sign[], r4 --- i, r7 --- p0 72 ADD r9, r3, r2, LSL #1 @address of sign[pos] 74 LDRSH r10, [r9], #2 @sign[pos] 75 LDRSH r11, [r9] @sign[pos + 1] 119 ADD r9, r3, r2, LSL #1 @address of sign[pos] 121 LDRSH r10, [r9], #2 @sign[pos] 122 LDRSH r11, [r9] @sign[pos + 1 [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
vlc_decode.cpp | 872 pTcoef->sign = (code >> (12 - tab->len)) & 1; 886 if (!pTcoef->sign) 918 /* sign bit */ 919 pTcoef->sign = (code >> (12 - tab->len)) & 1; 970 /* sign bit */ 971 pTcoef->sign = (code >> (12 - tab->len)) & 1; 1008 pTcoef->sign = 1; 1013 pTcoef->sign = 0; 1054 pTcoef->sign = (code >> (12 - tab->len)) & 1; 1067 if (!pTcoef->sign) [all...] |
/frameworks/opt/net/voip/src/jni/rtp/ |
G711Codec.cpp | 52 int sign = (sample >> 8) & 0x80; local 62 ulaws[i] = ~(sign | (exponent << 4) | mantissa); 103 int sign = (sample >> 8) & 0x80; local 112 alaws[i] = (sign | (exponent << 4) | mantissa) ^ 0xD5;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.monetary/locale.moneypunct/locale.moneypunct.members/ |
neg_format.pass.cpp | 60 assert(p.field[1] == std::money_base::sign); 68 assert(p.field[1] == std::money_base::sign); 76 assert(p.field[1] == std::money_base::sign); 84 assert(p.field[1] == std::money_base::sign);
|
pos_format.pass.cpp | 60 assert(p.field[1] == std::money_base::sign); 68 assert(p.field[1] == std::money_base::sign); 76 assert(p.field[1] == std::money_base::sign); 84 assert(p.field[1] == std::money_base::sign);
|
/external/chromium_org/v8/src/ |
conversions-inl.h | 102 return d.Sign() * static_cast<int32_t>(d.Significand() >> -exponent); 105 return d.Sign() * static_cast<int32_t>(d.Significand() << exponent); 256 // Ignore leading sign; skip following spaces. 465 enum Sign { 471 Sign sign = NONE; 474 // Ignore leading sign. 477 sign = POSITIVE; 481 sign = NEGATIVE; 496 return (sign == NEGATIVE) ? -V8_INFINITY : V8_INFINITY [all...] |
/external/llvm/lib/Support/ |
APFloat.cpp | 115 appropriate sign. */ 598 sign = rhs.sign; 621 sign = Negative; 760 sign != rhs.sign) 780 sign = 0; 791 sign = false; 1165 /* Handle overflow. Sign is preserved. We either become infinity or [all...] |