/external/skia/src/core/ |
SkCordic.cpp | 102 int32_t sign = SkExtractSign(a); local 105 return SkApplySign(SK_FixedPI>>1, sign); 110 z = SkApplySign(z, ~sign);
|
SkFloat.cpp | 65 // record the sign and make value positive 66 int sign = SkExtractSign(value); local 67 value = SkApplySign(value, sign); 96 int32_t packed = sign << 31; // set the sign-bit 105 SkASSERT(n == sign);
|
/external/skia/src/pathops/ |
SkDQuadIntersection.cpp | 100 double sign = (q1[oddMan].fY - origY) * adj - (q1[oddMan].fX - origX) * opp; local 101 if (approximately_zero(sign)) { 106 if (test * sign > 0 && !precisely_zero(test)) {
|
/external/skia/src/views/ |
SkTouchGesture.cpp | 30 // returns +1 or -1, depending on the sign of x 33 SkScalar sign = SK_Scalar1; local 35 sign = -sign; 37 return sign;
|
/external/tremolo/Tremolo/ |
codebook.c | 104 int sign=val&0x80000000; local 113 if(sign)mant= -mant;
|
/external/v8/src/ |
conversions.cc | 76 int sign; local 83 &sign, &length, &decimal_point); 85 if (sign) builder.AddCharacter('-'); 167 int sign; local 175 &sign, &decimal_rep_length, &decimal_point); 260 int sign; local 274 &sign, &decimal_rep_length, &decimal_point); 279 &sign, &decimal_rep_length, &decimal_point); 306 int sign; local 314 &sign, &decimal_rep_length, &decimal_point) [all...] |
/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...] |
/frameworks/av/drm/mediadrm/plugins/mock/ |
MockDrmCryptoPlugin.cpp | 529 status_t MockDrmPlugin::sign(Vector<uint8_t> const &sessionId, function in class:android::MockDrmPlugin 535 ALOGD("MockDrmPlugin::sign(sessionId=%s, keyId=%s, message=%s)",
|
/frameworks/av/media/libmediaplayerservice/ |
Drm.cpp | 557 status_t Drm::sign(Vector<uint8_t> const &sessionId, function in class:android::Drm 571 return mPlugin->sign(sessionId, keyId, message, signature);
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
c8_31pf.cpp | 89 /* define values/representation for output codevector and sign */ 118 sign[] Array of type Word16 -- sign of pulses 190 Word16 sign[], /* i : sign of d[n] */ 236 /* read sign */ 237 j = sign[i]; 268 /* sign of 1st pulse == sign of 2nd pulse */ 284 /* sign of 1st pulse != sign of 2nd pulse * 763 Word16 sign[L_CODE]; local [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
c2t64fx.c | 62 Word16 sign[L_SUBFR], vec[L_SUBFR], dn2[L_SUBFR]; local 69 * Find sign for each pulse position. * 113 /* set sign according to dn2[] = k_cn*cn[] + k_dn*dn[] */ 120 sign[i] = 32767; /* sign = +1 (Q12) */ 124 sign[i] = -32768; /* sign = -1 (Q12) */ 207 psign = sign; 268 if (sign[ix] > 0) 278 if (sign[iy] > 0 [all...] |
/frameworks/base/keystore/java/android/security/ |
KeyStore.java | 248 public byte[] sign(String key, byte[] data) { method in class:KeyStore 250 return mBinder.sign(key, data);
|
/libcore/benchmarks/src/benchmarks/regression/ |
SignatureBenchmark.java | 86 this.signature = signer.sign(); 106 signer.sign();
|
/libcore/luni/src/main/java/java/lang/ |
Math.java | 1154 long sign = bits & Double.SIGN_MASK; local 1207 int sign = bits & Float.SIGN_MASK; local [all...] |
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...] |
/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...] |
/libcore/luni/src/main/java/java/security/ |
Signature.java | 60 protected static final int SIGN = 2; 70 * possible states are {@link #UNINITIALIZED}, {@link #SIGN} or 281 state = SIGN; 299 state = SIGN; 314 public final byte[] sign() throws SignatureException { method in class:Signature 315 if (state != SIGN) { 343 public final int sign(byte[] outbuf, int offset, int len) method in class:Signature 349 if (state != SIGN) { 507 case SIGN: 508 return "SIGN"; [all...] |
/libcore/luni/src/main/java/java/util/ |
TimeZone.java | 215 char sign = '+'; local 217 sign = '-'; 222 builder.append(sign); 382 char sign = id.charAt(3); local 384 if (sign == '-') { 388 String cleanId = String.format("GMT%c%02d:%02d", sign, hour, minute);
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
SignatureSpiTest.java | 361 signature.sign(buf, 2, 1);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.ops/string_compare/ |
size_size_string_size_size.pass.cpp | 21 int sign(int x) function 37 assert(sign(s.compare(pos1, n1, str, pos2, n2)) == sign(x)); [all...] |
/packages/apps/Mms/src/com/android/mms/dom/smil/ |
TimeImpl.java | 85 int sign = 1; local 90 sign = -1; 92 mResolvedOffset = sign*parseClockValue(timeValue)/1000.0;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
AbstractDictDecoder.java | 179 final int sign = 0 == (bigramFlags & FormatSpec.FLAG_BIGRAM_ATTR_OFFSET_NEGATIVE) local 184 bigramAddress += sign * dictBuffer.readUnsignedByte(); 188 bigramAddress += sign * dictBuffer.readUnsignedShort(); 192 bigramAddress += sign * dictBuffer.readUnsignedInt24();
|
/bionic/libc/bionic/ |
libc_logging.cpp | 131 * NOTE: Does *not* handle a sign prefix. 235 char sign = '\0'; local 283 sign = c; 366 /* sign extension, if needed */ 386 if (sign != '\0' || prec != -1) { 387 __assert(__FILE__, __LINE__, "sign/precision unsupported");
|
/external/aac/libAACdec/src/ |
aacdec_hcrs.cpp | 503 No sign bits are decoded, because the table of the quantized spectral values 504 has got a valid sign at the quantized spectral lines. 569 /* if end of branch reached write out lines and count bits needed for sign, otherwise store node in codeword sideinfo */ 577 pResultBase[iQSC++] = (FIXP_DBL)*pQuantVal++; /* write out 2 or 4 lines into spectrum; no Sign bits available in this state */ 611 spectral values, which are different form zero. For those values sign bits are 614 If sign bit counter cntSign is different from zero, switch to next state to 615 decode sign Bits there. 616 If sign bit counter cntSign is zero, no sign bits are needed and codeword is 621 [on just one signle sign] is wrong, the next state will correct it 1287 INT sign; local [all...] |
/external/chromium/base/third_party/nspr/ |
prtime.cc | 729 int sign; local 743 sign = ((*rest == '+') ? 1 : -1); 744 rest++; /* move over sign */ 765 zone_offset *= sign; [all...] |