/third_party/icu/icu4c/source/i18n/ |
H A D | units_complexconverter.cpp | 145 int sign = 1; in convert() local 148 sign = -1; in convert() 201 Formattable formattableQuantity(intValues[i] * sign); in convert() 206 Formattable formattableQuantity(quantity * sign); in convert()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | units_complexconverter.cpp | 145 int sign = 1; in convert() local 148 sign = -1; in convert() 203 Formattable formattableQuantity(intValues[i] * sign); in convert() 208 Formattable formattableQuantity(quantity * sign); in convert()
|
/third_party/openssl/test/ |
H A D | run_tests.pl | 105 my $sign = $1; 110 if ($sign eq '-' && $initial_arg) { 116 ($sign eq '-' ? "removal" : "addition"), 120 if ($sign eq '-') {
|
/third_party/python/Lib/distutils/command/ |
H A D | upload.py | 35 ('sign', 's', 36 'sign files to upload using gpg'), 37 ('identity=', 'i', 'GPG identity used to sign files'), 40 boolean_options = PyPIRCCommand.boolean_options + ['sign'] 47 self.sign = False 52 if self.identity and not self.sign: 54 "Must use --sign for --identity to have meaning" 87 if self.sign: 88 gpg_args = ["gpg", "--detach-sign", "-a", filename] 147 if self.sign [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | units_complexconverter.cpp | 145 int sign = 1; in convert() local 148 sign = -1; in convert() 201 Formattable formattableQuantity(intValues[i] * sign); in convert() 206 Formattable formattableQuantity(quantity * sign); in convert()
|
/third_party/python/Modules/_decimal/tests/ |
H A D | formathelper.py | 237 # [[fill]align][sign][#][0][width][.precision][type] 247 elif elem == 1: # sign 266 # [[fill]align][sign][#][0][width][,][.precision][type] 271 for sign in ('', '+', '-', ' '): 278 yield ''.join((fill, align, sign, zeropad, width, ',', prec, type)) 281 # [[fill]align][sign][#][0][width][,][.precision][type] 286 for sign in ('', '+', '-', ' '): 291 yield ''.join((fill, align, sign, zeropad, width, prec, 'n')) 294 # [[fill]align][sign][#][0][width][,][.precision][type] 301 if elem == 0: # sign [all...] |
/third_party/tzdata/ |
H A D | ziguard.awk | 31 sign, hours, minutes) 33 sign = field ~ /^-/ ? -1 : 1 39 return 60 * hours + sign * minutes 45 hours, minutes, sign)
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | ecdsa.rs | 30 pub fn sign<T>(data: &[u8], eckey: &EcKeyRef<T>) -> Result<EcdsaSig, ErrorStack> in sign() functions 171 let res = EcdsaSig::sign(data.as_bytes(), &private_key).unwrap(); in sign_and_verify() 195 let res = EcdsaSig::sign(data.as_bytes(), &private_key).unwrap(); in check_private_components() 216 let res = EcdsaSig::sign(data.as_bytes(), &private_key).unwrap(); in serialize_deserialize()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
H A D | NumberFormatterApiTest.java | 157 "Scientific sign always shown", in notationScientific() 158 "scientific/sign-always", in notationScientific() 910 // As of January 2021, the produced result has a missing sign: 23.5 Kelvin in unitMeasure() 2307 // TODO(ICU-21420): Move the sign to the inside of the number in unitCurrency() 4858 public void sign() { in sign() method in NumberFormatterApiTest 4861 "sign-auto", in sign() 4863 NumberFormatter.with().sign(SignDisplay.AUTO), in sign() 4870 "sign-auto", in sign() 4872 NumberFormatter.with().sign(SignDisplay.AUTO), in sign() 4879 "sign in sign() [all...] |
/base/startup/hvb/libhvb/src/cert/ |
H A D | hvb_cert.c | 238 hvb_print("error, dc sign info const.\n"); in _hvb_cert_signature_parser() 242 hvb_print("error, copy dc sign info const.\n"); in _hvb_cert_signature_parser() 256 hvb_print("error, dc sign.\n"); in _hvb_cert_signature_parser() 259 if (hvb_memcpy_s(&sign_info->sign, sizeof(sign_info->sign), &buf, sizeof(buf)) != 0) { in _hvb_cert_signature_parser() 260 hvb_print("error, copy dc sign.\n"); in _hvb_cert_signature_parser() 275 hvb_print("error, dc sign info const.\n"); in _hvb_cert_signature_parser_v2() 279 hvb_print("error, copy dc sign info const.\n"); in _hvb_cert_signature_parser_v2() 306 sign_info->sign.addr = cur_header; in _hvb_cert_signature_parser_v2() 307 sign_info->sign in _hvb_cert_signature_parser_v2() [all...] |
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
H A D | cpufeature.h | 57 bool sign; /* Value is signed ? */ member 338 bool sign; member 554 cpuid_feature_extract_field_width(u64 features, int field, int width, bool sign) in cpuid_feature_extract_field_width() argument 556 return (sign) ? in cpuid_feature_extract_field_width() 562 cpuid_feature_extract_field(u64 features, int field, bool sign) in cpuid_feature_extract_field() argument 564 return cpuid_feature_extract_field_width(features, field, 4, sign); in cpuid_feature_extract_field() 569 return (s64)cpuid_feature_extract_field_width(val, ftrp->shift, ftrp->width, ftrp->sign); in arm64_ftr_value()
|
/kernel/linux/linux-6.6/arch/arm64/include/asm/ |
H A D | cpufeature.h | 61 bool sign; /* Value is signed ? */ member 366 bool sign; member 568 cpuid_feature_extract_field_width(u64 features, int field, int width, bool sign) in cpuid_feature_extract_field_width() argument 572 return (sign) ? in cpuid_feature_extract_field_width() 578 cpuid_feature_extract_field(u64 features, int field, bool sign) in cpuid_feature_extract_field() argument 580 return cpuid_feature_extract_field_width(features, field, 4, sign); in cpuid_feature_extract_field() 585 return (s64)cpuid_feature_extract_field_width(val, ftrp->shift, ftrp->width, ftrp->sign); in arm64_ftr_value()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | mpi.h | 33 int sign; /* indicates a negative number */ member 43 #define mpi_has_sign(a) ((a)->sign) 97 void *mpi_get_buffer(MPI a, unsigned *nbytes, int *sign); 99 int *sign); 101 int *sign);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | mpi.h | 33 int sign; /* indicates a negative number */ member 43 #define mpi_has_sign(a) ((a)->sign) 97 void *mpi_get_buffer(MPI a, unsigned *nbytes, int *sign); 99 int *sign); 101 int *sign);
|
/kernel/linux/linux-6.6/drivers/hid/amd-sfh-hid/sfh1_1/ |
H A D | amd_sfh_desc.c | 137 int fraction, shift, mantissa, sign, exp, zeropre; in float_to_int() local 140 sign = (flt32_val & BIT(31)) ? -1 : 1; in float_to_int() 156 return zeropre >= 50 ? sign : 0; in float_to_int() 173 return (((fraction * 100) >> shift) >= 50) ? sign * (flt32_val + 1) : sign * flt32_val; in float_to_int()
|
/third_party/ffmpeg/libavcodec/ |
H A D | aptx.c | 469 int32_t sign, same_sign[2], weight[2], sw1, range; in aptx_process_subband() local 473 sign = FFDIFFSIGN(invert_quantize->reconstructed_difference, in aptx_process_subband() 475 same_sign[0] = sign * prediction->prev_sign[0]; in aptx_process_subband() 476 same_sign[1] = sign * prediction->prev_sign[1]; in aptx_process_subband() 478 prediction->prev_sign[1] = sign | 1; in aptx_process_subband()
|
/third_party/ffmpeg/libavutil/ |
H A D | rational.c | 39 int sign = (num < 0) ^ (den < 0); in av_reduce() local 74 *dst_num = sign ? -a1.num : a1.num; in av_reduce() 155 int sign = 0; in av_q2intfloat() local 163 sign = 1; in av_q2intfloat() 183 return sign<<31 | (150-shift)<<23 | (n - (1<<23)); in av_q2intfloat()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/ |
H A D | ComplexUnitsConverter.java | 170 BigInteger sign = BigInteger.ONE; in convert() 173 sign = sign.negate(); in convert() 219 Measure measure = new Measure(intValues.get(i).multiply(sign), units_.get(i).unitImpl.build()); in convert() 224 new Measure(quantity.multiply(BigDecimal.valueOf(sign.longValue())), in convert()
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | thcoll.cpp | 283 if (sign(result) != sign(expect)) in compareArray() 313 if (sign(result) != sign(expect)) { in compareArray() 327 int8_t CollationThaiTest::sign(int32_t i) { in sign() function in CollationThaiTest
|
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-cose-sign/ |
H A D | main.c | 2 * lws-minimal-crypto-cose-sign 95 int n, m, sign = 0, result = 1, in main() local 118 lwsl_user("LWS cose-sign example tool -k keyset [-s alg-name kid ]\n"); in main() 152 if (lws_cmdline_option(argc, argv, "--cose-sign")) in main() 167 sign = 1; in main() 226 if (sign) { in main() 344 if (!sign) { in main() 383 if (!sign) in main()
|
/third_party/musl/src/math/ |
H A D | lgamma_r.c | 15 * with user provide pointer for the sign of Gamma(x). 64 * since G(-x) is positive, sign(G(x)) = sign(sin(pi*x)) for x<0 65 * Hence, for x<0, signgam = sign(sin(pi*x)) and 148 /* sin(pi*x) assuming x > 2^-100, if sin(pi*x)==0 the sign is arbitrary */ 175 int sign,i; in __lgamma_r() local 179 sign = u.i>>63; in __lgamma_r() 184 if(sign) { in __lgamma_r() 190 if (sign) { in __lgamma_r() 278 if (sign) in __lgamma_r() [all...] |
H A D | lgammaf_r.c | 83 /* sin(pi*x) assuming x > 2^-100, if sin(pi*x)==0 the sign is arbitrary */ 110 int i,sign; in __lgammaf_r() local 114 sign = u.i>>31; in __lgammaf_r() 119 if (sign) { in __lgammaf_r() 125 if (sign) { in __lgammaf_r() 213 if (sign) in __lgammaf_r()
|
H A D | j1f.c | 25 static float common(uint32_t ix, float x, int y1, int sign) in common() argument 47 if (sign) in common() 68 int sign; in j1f() local 71 sign = ix>>31; in j1f() 76 return common(ix, fabsf(x), 0, sign); in j1f()
|
/third_party/musl/porting/liteos_a/kernel/src/math/ |
H A D | j1f.c | 25 static float common(uint32_t ix, float x, int y1, int sign) in common() argument 47 if (sign) in common() 68 int sign; in j1f() local 71 sign = ix>>31; in j1f() 76 return common(ix, fabsf(x), 0, sign); in j1f()
|
H A D | lgamma_r.c | 15 * with user provide pointer for the sign of Gamma(x). 64 * since G(-x) is positive, sign(G(x)) = sign(sin(pi*x)) for x<0 65 * Hence, for x<0, signgam = sign(sin(pi*x)) and 148 /* sin(pi*x) assuming x > 2^-100, if sin(pi*x)==0 the sign is arbitrary */ 175 int sign,i; in __lgamma_r() local 179 sign = u.i>>63; in __lgamma_r() 184 if(sign) { in __lgamma_r() 190 if (sign) { in __lgamma_r() 278 if (sign) in __lgamma_r() [all...] |