/third_party/ffmpeg/libavformat/ |
H A D | avc.c | 364 int sign = -(v & 1); in get_se_golomb() local 365 return ((v >> 1) ^ sign) - sign; in get_se_golomb()
|
/third_party/libsnd/src/G72x/ |
H A D | g72x.c | 379 int sign, /* 0 for non-negative value */ in reconstruct() 391 return ((sign) ? -0x8000 : 0) ; in reconstruct() 396 return ((sign) ? (dq - 0x8000) : dq) ; in reconstruct() 378 reconstruct( int sign, int dqln, int y) reconstruct() argument
|
/third_party/node/test/fixtures/x509-escaping/ |
H A D | create-certs.js | 326 // Self-sign the certificate. 328 const signature = crypto.createSign(digest).update(tbsDer).sign(privateKey); 480 // Self-sign the certificate. 482 const signature = crypto.createSign(digest).update(tbsDer).sign(privateKey); 621 // Self-sign the certificate. 623 const signature = crypto.createSign(digest).update(tbsDer).sign(privateKey);
|
/third_party/node/test/fixtures/wpt/WebCryptoAPI/sign_verify/ |
H A D | ecdsa.js | 17 var promise = importVectorKeys(vector, ["verify"], ["sign"]) 44 var promise = importVectorKeys(vector, ["verify"], ["sign"]) 70 var promise = importVectorKeys(vector, ["verify"], ["sign"]) 96 var promise = importVectorKeys(vector, ["verify"], ["sign"]) 117 // Check for failures due to using publicKey to sign. 119 var promise = importVectorKeys(vector, ["verify"], ["sign"]) 123 return subtle.sign(algorithm, vector.publicKey, vector.plaintext) 125 assert_unreached("Should have thrown error for using publicKey to sign in " + vector.name + ": " + err.message + "'"); 129 }, vector.name + " using publicKey to sign"); 133 }, "importVectorKeys step: " + vector.name + " using publicKey to sign"); [all...] |
/third_party/python/Tools/peg_generator/pegen/ |
H A D | grammar.py | 225 def __init__(self, node: Plain, sign: str): 227 self.sign = sign 230 return f"{self.sign}{self.node}"
|
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
H A D | dec_mips32.c | 25 const int sign = x >> 31; in abs_mips32() local 26 return (x ^ sign) - sign; in abs_mips32()
|
/third_party/skia/src/pathops/ |
H A D | SkPathOpsQuad.cpp | 56 double sign = (fPts[oddMan].fY - origY) * adj - (fPts[oddMan].fX - origX) * opp; in hullIntersects() local 57 if (approximately_zero(sign)) { in hullIntersects() 64 if (test * sign > 0 && !precisely_zero(test)) { in hullIntersects() 136 // the sign of B -- and further suggesting that the greatest loss of precision
|
/third_party/protobuf/js/experimental/runtime/kernel/ |
H A D | writer.js | 406 const sign = highBits >> 31; 407 const encodedLowBits = (lowBits << 1) ^ sign; 408 const encodedHighBits = ((highBits << 1) | (lowBits >>> 31)) ^ sign;
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/ |
H A D | arg.cc | 160 // The printed value including the '-' sign if available. 164 // The printed value not including the '-' sign. 177 // Max size: 128 bit value as octal -> 43 digits, plus sign char 226 // [left_spaces][sign][base_indicator][zeroes][formatted][right_spaces] in ConvertIntImplInnerSlow() 233 string_view sign = SignColumn(as_digits.is_negative(), conv); in ConvertIntImplInnerSlow() local 234 ReducePadding(sign, &fill); in ConvertIntImplInnerSlow() 270 sink->Append(sign); in ConvertIntImplInnerSlow()
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | cms.rs | 172 pub fn sign<T>( in sign() functions 383 // sign cms message using public key cert in cms_sign_verify_generic_helper() 392 let mut cms = CmsContentInfo::sign(Some(&cert), Some(&key), None, Some(data), opt) in cms_sign_verify_generic_helper() 393 .expect("failed to CMS sign a message"); in cms_sign_verify_generic_helper() 443 // sign cms message using public key cert in cms_sign_verify_error() 445 let mut cms = CmsContentInfo::sign( in cms_sign_verify_error() 452 .expect("failed to CMS sign a message"); in cms_sign_verify_error()
|
/kernel/linux/linux-5.10/arch/m68k/ifpsp060/src/ |
H A D | fpsp.S | 442 set q_sn_bit, 0x7 # sign bit of quotient byte 513 set sign_bit, 0x7 # sign bit 1441 andi.w &0x7fff,%d0 # strip sign 1471 andi.w &0x7fff,%d0 # strip sign 1518 andi.w &0x7fff,%d0 # strip sign 2312 andi.w &0x7fff,%d0 # strip sign 2329 andi.w &0x7fff,%d0 # strip sign 2336 mov.w %d0,FP_SRC_EX(%a6) # insert exponent with cleared sign 2342 tst.b 0x2+FP_SRC(%a6) # is sign set? 2344 bset &15,%d0 # set sign [all...] |
H A D | ilsp.S | 85 # sign info for later. Separate out special cases like divide-by-zero # 88 # Restore sign info if signed instruction. Set the condition # 145 # save the sign of the divisor 147 tst.l %d7 # chk sign of divisor 148 slt NDIVISOR(%a6) # save sign of divisor 152 # save the sign of the dividend 155 tst.l %d5 # chk sign of hi(dividend) 156 slt NDIVIDEND(%a6) # save sign of dividend 199 tst.b NDIVIDEND(%a6) # remainder has same sign 636 clr.b %d5 # clear sign ta [all...] |
/kernel/linux/linux-6.6/arch/m68k/ifpsp060/src/ |
H A D | fpsp.S | 442 set q_sn_bit, 0x7 # sign bit of quotient byte 513 set sign_bit, 0x7 # sign bit 1441 andi.w &0x7fff,%d0 # strip sign 1471 andi.w &0x7fff,%d0 # strip sign 1518 andi.w &0x7fff,%d0 # strip sign 2312 andi.w &0x7fff,%d0 # strip sign 2329 andi.w &0x7fff,%d0 # strip sign 2336 mov.w %d0,FP_SRC_EX(%a6) # insert exponent with cleared sign 2342 tst.b 0x2+FP_SRC(%a6) # is sign set? 2344 bset &15,%d0 # set sign [all...] |
H A D | ilsp.S | 85 # sign info for later. Separate out special cases like divide-by-zero # 88 # Restore sign info if signed instruction. Set the condition # 145 # save the sign of the divisor 147 tst.l %d7 # chk sign of divisor 148 slt NDIVISOR(%a6) # save sign of divisor 152 # save the sign of the dividend 155 tst.l %d5 # chk sign of hi(dividend) 156 slt NDIVIDEND(%a6) # save sign of dividend 199 tst.b NDIVIDEND(%a6) # remainder has same sign 636 clr.b %d5 # clear sign ta [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/math/ |
H A D | BigDecimal.java | 77 /* 1998.07.11 allow 1E6 (no sign) <sigh>; new double/float conversion */ 177 * always expressed as the single digit <code>'0'</code> (that is, with no sign, decimal point, or exponent part). 442 * The <code>BigDecimal</code> will contain only decimal digits, prefixed with a leading minus sign (hyphen) if the 465 * scale</code> decimal digits if the scale is positive), prefixed with a leading minus sign (hyphen) if the <code> 545 /* Handle and step past sign */ in BigDecimal() 550 bad(inchars); // nothing after sign in BigDecimal() 556 bad(inchars); // nothing after sign in BigDecimal() 594 // 1998.07.11: sign no longer required in BigDecimal() 706 /* Looks good. Set the sign indicator and form, as needed. */ in BigDecimal() 766 * sign (hyphe [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/normalizer/ |
H A D | BasicTest.java | 231 * The Tibetan vowel sign AA, 0f71, was messed up prior to 1809 private static int sign(int value) { in sign() method in BasicTest 1844 // Angstrom sign = A ring 1988 if(sign(result)!=sign(refResult)) { in TestCompareDebug() 1989 errln("Normalizer::compare( " + i +", "+j + ", " +k+"( " +opt[k].name+"))=" + result +" should be same sign as " + refResult); in TestCompareDebug() 2005 if(sign(result)!=sign(refResult)) { in TestCompareDebug() 2006 errln("Normalizer::compare( " + i +", "+j + ", "+k+"( " +opt[k].name+"))=" + result +" should be same sign as " + refResult); in TestCompareDebug() 2038 if(sign(resul in TestCompare() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
H A D | BasicTest.java | 228 * The Tibetan vowel sign AA, 0f71, was messed up prior to 1806 private static int sign(int value) { in sign() method in BasicTest 1841 // Angstrom sign = A ring 1985 if(sign(result)!=sign(refResult)) { in TestCompareDebug() 1986 errln("Normalizer::compare( " + i +", "+j + ", " +k+"( " +opt[k].name+"))=" + result +" should be same sign as " + refResult); in TestCompareDebug() 2002 if(sign(result)!=sign(refResult)) { in TestCompareDebug() 2003 errln("Normalizer::compare( " + i +", "+j + ", "+k+"( " +opt[k].name+"))=" + result +" should be same sign as " + refResult); in TestCompareDebug() 2035 if(sign(resul in TestCompare() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/math/ |
H A D | BigDecimal.java | 78 /* 1998.07.11 allow 1E6 (no sign) <sigh>; new double/float conversion */ 178 * always expressed as the single digit <code>'0'</code> (that is, with no sign, decimal point, or exponent part). 430 * The <code>BigDecimal</code> will contain only decimal digits, prefixed with a leading minus sign (hyphen) if the 452 * scale</code> decimal digits if the scale is positive), prefixed with a leading minus sign (hyphen) if the <code> 529 /* Handle and step past sign */ in BigDecimal() 534 bad(inchars); // nothing after sign in BigDecimal() 540 bad(inchars); // nothing after sign in BigDecimal() 578 // 1998.07.11: sign no longer required in BigDecimal() 690 /* Looks good. Set the sign indicator and form, as needed. */ in BigDecimal() 749 * sign (hyphe [all...] |
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | ehci-sched.c | 194 static void bandwidth_dbg(struct ehci_hcd *ehci, int sign, char *type, in bandwidth_dbg() argument 200 (sign >= 0 ? "reserve" : "release"), type, in bandwidth_dbg() 207 struct ehci_qh *qh, int sign) in reserve_release_intr_bandwidth() 220 bandwidth_dbg(ehci, sign, "intr", &qh->ps); in reserve_release_intr_bandwidth() 222 if (sign < 0) { /* Release bandwidth */ in reserve_release_intr_bandwidth() 248 if (sign > 0) in reserve_release_intr_bandwidth() 1297 struct ehci_iso_stream *stream, int sign) in reserve_release_iso_bandwidth() 1311 bandwidth_dbg(ehci, sign, "iso", &stream->ps); in reserve_release_iso_bandwidth() 1313 if (sign < 0) { /* Release bandwidth */ in reserve_release_iso_bandwidth() 1341 if (sign > in reserve_release_iso_bandwidth() 206 reserve_release_intr_bandwidth(struct ehci_hcd *ehci, struct ehci_qh *qh, int sign) reserve_release_intr_bandwidth() argument 1296 reserve_release_iso_bandwidth(struct ehci_hcd *ehci, struct ehci_iso_stream *stream, int sign) reserve_release_iso_bandwidth() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | ehci-sched.c | 194 static void bandwidth_dbg(struct ehci_hcd *ehci, int sign, char *type, in bandwidth_dbg() argument 200 (sign >= 0 ? "reserve" : "release"), type, in bandwidth_dbg() 207 struct ehci_qh *qh, int sign) in reserve_release_intr_bandwidth() 220 bandwidth_dbg(ehci, sign, "intr", &qh->ps); in reserve_release_intr_bandwidth() 222 if (sign < 0) { /* Release bandwidth */ in reserve_release_intr_bandwidth() 254 if (sign > 0) in reserve_release_intr_bandwidth() 1302 struct ehci_iso_stream *stream, int sign) in reserve_release_iso_bandwidth() 1316 bandwidth_dbg(ehci, sign, "iso", &stream->ps); in reserve_release_iso_bandwidth() 1318 if (sign < 0) { /* Release bandwidth */ in reserve_release_iso_bandwidth() 1352 if (sign > in reserve_release_iso_bandwidth() 206 reserve_release_intr_bandwidth(struct ehci_hcd *ehci, struct ehci_qh *qh, int sign) reserve_release_intr_bandwidth() argument 1301 reserve_release_iso_bandwidth(struct ehci_hcd *ehci, struct ehci_iso_stream *stream, int sign) reserve_release_iso_bandwidth() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | proresenc_kostya.c | 412 int codebook = 3, code, dc, prev_dc, delta, sign, new_sign; in encode_dcs() local 416 sign = 0; in encode_dcs() 424 delta = (delta ^ sign) - sign; in encode_dcs() 429 sign = new_sign; in encode_dcs() 653 int codebook = 3, code, dc, prev_dc, delta, sign, new_sign; in estimate_dcs() local 658 sign = 0; in estimate_dcs() 668 delta = (delta ^ sign) - sign; in estimate_dcs() 673 sign in estimate_dcs() [all...] |
H A D | wmaprodec.c | 920 integers allows fast sign-flipping. */ in decode_coeffs() 984 /** decode sign */ in decode_coeffs() 987 uint32_t sign = get_bits1(&s->gb) - 1; in decode_coeffs() local 988 AV_WN32A(&ci->coeffs[cur_coeff], vals[i] ^ sign << 31); in decode_coeffs() 1068 int sign; in decode_scale_factors() local 1075 sign = (code & 1) - 1; in decode_scale_factors() 1082 sign = get_bits1(&s->gb)-1; in decode_scale_factors() 1091 s->channel[c].scale_factors[i] += (val ^ sign) - sign; in decode_scale_factors() 1335 const int sign in decode_subframe() local [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
H A D | NumberSkeletonImpl.java | 192 b.add("sign-auto", StemEnum.STEM_SIGN_AUTO.ordinal()); in buildStemTrie() 193 b.add("sign-always", StemEnum.STEM_SIGN_ALWAYS.ordinal()); in buildStemTrie() 194 b.add("sign-never", StemEnum.STEM_SIGN_NEVER.ordinal()); in buildStemTrie() 195 b.add("sign-accounting", StemEnum.STEM_SIGN_ACCOUNTING.ordinal()); in buildStemTrie() 196 b.add("sign-accounting-always", StemEnum.STEM_SIGN_ACCOUNTING_ALWAYS.ordinal()); in buildStemTrie() 197 b.add("sign-except-zero", StemEnum.STEM_SIGN_EXCEPT_ZERO.ordinal()); in buildStemTrie() 198 b.add("sign-accounting-except-zero", StemEnum.STEM_SIGN_ACCOUNTING_EXCEPT_ZERO.ordinal()); in buildStemTrie() 199 b.add("sign-negative", StemEnum.STEM_SIGN_NEGATIVE.ordinal()); in buildStemTrie() 200 b.add("sign-accounting-negative", StemEnum.STEM_SIGN_ACCOUNTING_NEGATIVE.ordinal()); in buildStemTrie() 476 sb.append("sign in signDisplay() 1675 private static boolean sign(MacroProps macros, StringBuilder sb) { sign() method in NumberSkeletonImpl.GeneratorHelpers [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/ |
H A D | NumberSkeletonImpl.java | 182 b.add("sign-auto", StemEnum.STEM_SIGN_AUTO.ordinal()); in buildStemTrie() 183 b.add("sign-always", StemEnum.STEM_SIGN_ALWAYS.ordinal()); in buildStemTrie() 184 b.add("sign-never", StemEnum.STEM_SIGN_NEVER.ordinal()); in buildStemTrie() 185 b.add("sign-accounting", StemEnum.STEM_SIGN_ACCOUNTING.ordinal()); in buildStemTrie() 186 b.add("sign-accounting-always", StemEnum.STEM_SIGN_ACCOUNTING_ALWAYS.ordinal()); in buildStemTrie() 187 b.add("sign-except-zero", StemEnum.STEM_SIGN_EXCEPT_ZERO.ordinal()); in buildStemTrie() 188 b.add("sign-accounting-except-zero", StemEnum.STEM_SIGN_ACCOUNTING_EXCEPT_ZERO.ordinal()); in buildStemTrie() 457 sb.append("sign-auto"); in signDisplay() 460 sb.append("sign-always"); in signDisplay() 463 sb.append("sign in signDisplay() 1564 private static boolean sign(MacroProps macros, StringBuilder sb) { sign() method in NumberSkeletonImpl.GeneratorHelpers [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | number_skeletons.cpp | 91 b.add(u"sign-auto", STEM_SIGN_AUTO, status); in initNumberSkeletons() 92 b.add(u"sign-always", STEM_SIGN_ALWAYS, status); in initNumberSkeletons() 93 b.add(u"sign-never", STEM_SIGN_NEVER, status); in initNumberSkeletons() 94 b.add(u"sign-accounting", STEM_SIGN_ACCOUNTING, status); in initNumberSkeletons() 95 b.add(u"sign-accounting-always", STEM_SIGN_ACCOUNTING_ALWAYS, status); in initNumberSkeletons() 96 b.add(u"sign-except-zero", STEM_SIGN_EXCEPT_ZERO, status); in initNumberSkeletons() 97 b.add(u"sign-accounting-except-zero", STEM_SIGN_ACCOUNTING_EXCEPT_ZERO, status); in initNumberSkeletons() 98 b.add(u"sign-negative", STEM_SIGN_NEGATIVE, status); in initNumberSkeletons() 99 b.add(u"sign-accounting-negative", STEM_SIGN_ACCOUNTING_NEGATIVE, status); in initNumberSkeletons() 409 sb.append(u"sign in signDisplay() 1010 auto sign = stem_to_object::signDisplay(static_cast<StemEnum>(tempStemTrie.getValue())); parseExponentSignOption() local 1738 bool GeneratorHelpers::sign(const MacroProps& macros, UnicodeString& sb, UErrorCode&) { sign() function in GeneratorHelpers [all...] |