/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/toybox/toys/posix/ |
find.c | 134 // Return numeric value with explicit sign 137 char sign = 0; local 140 if (*str == '+' || *str == '-') sign = *(str++); 145 if (sign == '+') return val > myval; 146 if (sign == '-') return val < myval;
|
/external/tremolo/Tremolo/ |
codebook.c | 106 int sign=val&0x80000000; local 115 if(sign)mant= -mant;
|
/external/valgrind/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/webp/src/dsp/ |
dec_mips32.c | 25 const int sign = x >> 31; local 26 return (x ^ sign) - sign;
|
enc_mips32.c | 167 "sra %[sign], %[temp0], 15 \n\t" \ 168 "xor %[coeff], %[temp0], %[sign] \n\t" \ 169 "subu %[coeff], %[coeff], %[sign] \n\t" \ 183 "xor %[level], %[level], %[sign] \n\t" \ 184 "subu %[level], %[level], %[sign] \n\t" \ 193 int sign, coeff, level, i; local 225 [sign]"=&r"(sign), [coeff]"=&r"(coeff), [all...] |
/frameworks/av/drm/mediadrm/plugins/mock/ |
MockDrmCryptoPlugin.cpp | 629 status_t MockDrmPlugin::sign(Vector<uint8_t> const &sessionId, function in class:android::MockDrmPlugin 635 ALOGD("MockDrmPlugin::sign(sessionId=%s, keyId=%s, message=%s)",
|
/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. * 116 /* set sign according to dn2[] = k_cn*cn[] + k_dn*dn[] */ 123 sign[i] = 32767; /* sign = +1 (Q12) */ 127 sign[i] = -32768; /* sign = -1 (Q12) */ 210 psign = sign; 271 if (sign[ix] > 0) 281 if (sign[iy] > 0 [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
PasspointMatchInfo.java | 192 int sign = tuple.getStatus() == HSConnectionCapabilityElement.ProtoStatus.Open ? local 209 score += elementScore * sign;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
vp9_entropymv.h | 83 vp9_prob sign; member in struct:__anon30660 111 unsigned int sign[2]; member in struct:__anon30662
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_encodemv.c | 35 const int sign = comp < 0; local 36 const int mag = sign ? -comp : comp; 44 // Sign 45 vp9_write(w, sign, mvcomp->sign); 83 sign_cost[0] = vp9_cost_zero(mvcomp->sign); 84 sign_cost[1] = vp9_cost_one(mvcomp->sign); 175 update_mv(w, comp_counts->sign, &comp->sign, MV_UPDATE_PROB);
|
/libcore/benchmarks/src/benchmarks/regression/ |
SignatureBenchmark.java | 86 this.signature = signer.sign(); 106 signer.sign();
|
/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/test/java/org/apache/harmony/security/tests/java/security/ |
SignatureSpiTest.java | 361 signature.sign(buf, 2, 1);
|
/libcore/ojluni/src/main/java/java/lang/ |
StrictMath.java | 90 * same sign as the argument.</ul> 112 * same sign as the argument.</ul> 125 * same sign as the argument.</ul> 148 * same sign as the argument.</ul> 265 * with the same sign as the argument. 268 * same sign as the argument. 287 * zero, its sign is the same as the sign of the first argument. 354 double sign) { 382 if (sign*a > 0.0 431 double sign = FpUtils.rawCopySign(1.0, a); \/\/ preserve sign info local [all...] |
/ndk/sources/android/support/src/wcstox/ |
floatscan.c | 87 static long double decfloat(FILE *f, int c, int bits, int emin, int sign, int pok) 161 if (!x[0]) return sign * 0.0; 165 return sign * (long double)x[0]; 168 return sign * LDBL_MAX * LDBL_MAX; 172 return sign * LDBL_MIN * LDBL_MIN; 189 if (rp == 9) return sign * (long double)x[0]; 190 if (rp < 9) return sign * (long double)x[0] / p10s[8-rp]; 193 return sign * (long double)x[0] * p10s[rp-10]; 281 y *= sign; 302 frac += 0.25*sign; 446 int sign = 1; local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.ops/string_compare/ |
size_size_string_size_size.pass.cpp | 22 int sign(int x) function 38 assert(sign(s.compare(pos1, n1, str, pos2, n2)) == sign(x)); 55 assert(sign(s.compare(pos1, n1, str, pos2)) == sign(x)); [all...] |
/ndk/sources/host-tools/ndk-stack/binutils/ |
addr2line.c | 228 bfd_vma sign = (bfd_vma) 1 << (bed->s->arch_size - 1); 230 pc &= (sign << 1) - 1; 232 pc = (pc ^ sign) - sign; 225 bfd_vma sign = (bfd_vma) 1 << (bed->s->arch_size - 1); local
|
/system/extras/verity/ |
KeystoreSigner.java | 149 public void sign(PrivateKey privateKey) throws Exception { method in class:BootKeystore 151 byte[] rawSignature = Utils.sign(privateKey, innerKeystore); 203 ks.sign(Utils.loadDERPrivateKeyFromFile(privkeyFname));
|
/toolchain/binutils/binutils-2.25/bfd/ |
cpu-ia64-opc.c | 189 BFD_HOST_64_BIT val = 0, sign; local 198 /* sign extend: */ 199 sign = (BFD_HOST_64_BIT) 1 << (total - 1); 200 val = (val ^ sign) - sign; 425 BFD_HOST_U_64_BIT sign = 0; local 429 sign = 0x4; 440 *code |= (sign | value) << self->field[0].shift;
|
elf32-d10v.c | 345 bfd_vma sign; local 346 sign = howto->dst_mask & (~howto->dst_mask >> 1 | ~(-(bfd_vma) 1 >> 1)); 347 sign = sign >> howto->bitpos << howto->rightshift; 348 val = (val ^ sign) - sign;
|
/toolchain/binutils/binutils-2.25/binutils/ |
addr2line.c | 238 bfd_vma sign = (bfd_vma) 1 << (bed->s->arch_size - 1); 240 pc &= (sign << 1) - 1; 242 pc = (pc ^ sign) - sign; 235 bfd_vma sign = (bfd_vma) 1 << (bed->s->arch_size - 1); local
|
resres.c | 120 static const bfd_byte sign[] = local 148 set_windres_bfd_content (&wrbfd, sign, sec_length, 4-(sec_length & 3)); 149 set_windres_bfd_content (&wrbfd, sign, 0, sizeof (sign));
|
/toolchain/binutils/binutils-2.25/opcodes/ |
epiphany-asm.c | 96 int sign = 0; 102 sign = 1; bits = 3; break; 104 sign = 1; bits = 11; break; 106 sign = 0; bits = 3; break; 108 /* Load/store displacement is a sign-magnitude 12 bit value. */ 109 sign = 0; bits = 11; break; 117 errmsg = (sign ? cgen_parse_signed_integer (cd, strp, opindex, valuep) 123 if (sign) 95 int sign = 0; local
|