/libcore/luni/src/main/java/java/math/ |
Conversion.java | 55 int sign = val.sign; local 59 if (sign == 0) { 65 if (sign < 0) { 76 int resLengthInChars = (int) (val.abs().bitLength() / bitsForRadixDigit + ((sign < 0) ? 1 124 if (sign == -1) { 139 int sign = val.sign; local 146 if (sign == 0) { 176 // +1 - one char for sign if needed [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
DERGeneralizedTime.java | 156 char sign = stime.charAt(signPos); local 157 if (sign == '-' || sign == '+') 168 sign = stime.charAt(signPos); 169 if (sign == '-' || sign == '+') 183 String sign = "+"; local 188 sign = "-"; 198 hours += sign.equals("+") ? 1 : -1; 206 return "GMT" + sign + convert(hours) + ":" + convert(minutes) [all...] |
/external/dropbear/libtommath/ |
bn_mp_div.c | 73 n = a->sign; 74 n2 = (a->sign == b->sign ? MP_ZPOS : MP_NEG); 77 c->sign = (mp_iszero(c) == MP_YES) ? MP_ZPOS : n2; 81 d->sign = (mp_iszero(d) == MP_YES) ? MP_ZPOS : n; 147 /* fix the sign */ 148 neg = (a->sign == b->sign) ? MP_ZPOS : MP_NEG; 149 x.sign = y.sign = MP_ZPOS [all...] |
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/valgrind/main/VEX/useful/ |
fp_80_64.c | 75 S is the sign bit. For runs X----X, at least one of the Xs must be 77 there is an explicitly represented leading 1, and a sign bit, 91 sign bit, giving 64 in total. 107 UChar sign; local 109 sign = toUChar( (f64[7] >> 7) & 1 ); 130 f80[9] = toUChar( sign << 7 ); 161 f80[9] = toUChar( (sign << 7) | ((bexp >> 8) & 0xFF) ); 178 f80[9] = toUChar( (sign << 7) | 0x7F ); 196 f80[9] = toUChar( (sign << 7) | 0x7F ); 205 f80[9] = toUChar( (sign << 7) | 0x7F ) 248 UChar sign; local [all...] |
/external/valgrind/main/VEX/switchback/ |
test_emfloat.c | 183 * If SIGN is true, p is a signed. 512 u8 sign; /* Mantissa sign */ member in struct:__anon16581 526 uchar sign); 528 uchar sign); 690 ** sign determines the sign of the zero. 693 uchar sign) 698 dest->sign=sign; [all...] |
/external/skia/legacy/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 164 // record the sign and make value positive 165 int sign = SkExtractSign(value); local 166 value = SkApplySign(value, sign); 198 int sign = SkExtractSign(value); local [all...] |
/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;
|
/libcore/luni/src/main/java/java/util/ |
TimeZone.java | 196 char sign = '+'; local 198 sign = '-'; 203 builder.append(sign); 363 char sign = id.charAt(3); local 365 if (sign == '-') { 369 String cleanId = String.format("GMT%c%02d:%02d", sign, hour, minute);
|
/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...] |
/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...] |
/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/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++/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);
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
e_sqrtf.c | 29 int32_t sign = (int)0x80000000; local 42 if((ix&(~sign))==0) return x;/* sqrt(+-0) = +-0 */
|
/dalvik/vm/mterp/armv5te/ |
OP_CONST_4.S | 6 mov r1, r1, asr #28 @ r1<- sssssssB (sign-extended)
|
OP_CONST_WIDE_16.S | 3 FETCH_S(r0, 1) @ r0<- ssssBBBB (sign-extended)
|