/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/ |
H A D | NumberFormatterApiTest.java | 156 "Scientific sign always shown", in notationScientific() 157 "scientific/sign-always", in notationScientific() 2096 public void sign() { in sign() method in NumberFormatterApiTest 2099 "sign-auto", in sign() 2101 NumberFormatter.with().sign(SignDisplay.AUTO), in sign() 2108 "sign-auto", in sign() 2110 NumberFormatter.with().sign(SignDisplay.AUTO), in sign() 2117 "sign-auto", in sign() 2119 NumberFormatter.with().sign(SignDisplay.AUTO), in sign() 2126 "sign in sign() [all...] |
/drivers/peripheral/pin_auth/hdi_service/adaptor/src/ |
H A D | adaptor_algorithm.c | 137 int32_t Ed25519Sign(const KeyPair *keyPair, const Buffer *data, Buffer **sign) in Ed25519Sign() argument 139 if (!IsEd25519KeyPairValid(keyPair) || !IsBufferValid(data) || sign == NULL) { in Ed25519Sign() 157 LOG_ERROR("init sign fail"); in Ed25519Sign() 160 *sign = CreateBufferBySize(ED25519_FIX_SIGN_BUFFER_SIZE); in Ed25519Sign() 161 if (!IsBufferValid(*sign)) { in Ed25519Sign() 165 size_t signSize = (*sign)->maxSize; in Ed25519Sign() 166 if (EVP_DigestSign(ctx, (*sign)->buf, &signSize, data->buf, data->contentSize) != OPENSSL_SUCCESS) { in Ed25519Sign() 167 LOG_ERROR("sign fail"); in Ed25519Sign() 168 DestroyBuffer(*sign); in Ed25519Sign() 169 *sign in Ed25519Sign() 181 Ed25519Verify(const Buffer *pubKey, const Buffer *data, const Buffer *sign) Ed25519Verify() argument [all...] |
/third_party/musl/src/locale/ |
H A D | strtod_l.c | 137 int sign = 1; in strtod_l() local 147 sign -= 2 * (*tmp_s == '-'); in strtod_l() 155 if (!p) return sign * INFINITY; in strtod_l() 161 return sign * INFINITY; in strtod_l() 167 return sign * res; in strtod_l()
|
/third_party/python/Lib/ |
H A D | _pydecimal.py | 162 DecimalTuple = _namedtuple('DecimalTuple', 'sign digits exponent') 247 also a quiet NaN, but with the original sign, and an optional 274 The result of the operation is [sign,inf], where sign is the exclusive 279 def handle(self, context, sign, *args): 280 return _SignedInfinity[sign] 364 round-up, if implemented), the result of the operation is [sign,inf], 365 where sign is the sign of the intermediate result. For round-down, the 367 current precision, with the sign o [all...] |
/third_party/FreeBSD/contrib/gdtoa/ |
H A D | strtod.c | 96 e, e1, esign, i, j, k, nd, nd0, nf, nz, nz0, sign; local 145 sign = nz0 = nz = decpt = 0; 149 sign = 1; 184 switch((i = gethex(&s, &fpi1, &exp, &bb, sign)) & STRTOG_Retmask) { 187 sign = 0; 336 sign = 0; 376 if (sign) { 378 sign = 0; 392 if (sign) { 394 sign [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
H A D | ICUDurationTest.java | 44 private final int sign; field in ICUDurationTest.ICUTestDuration 52 sign = 1; in ICUTestDuration() 54 sign = 0; in ICUTestDuration() 57 sign = -1; in ICUTestDuration() 82 sign = sgn; in ICUTestDuration() 93 sign = sgn; in ICUTestDuration() 119 return sign; in getSign() 139 return new ICUTestDuration(-sign, fields); in negate() 149 String signString = sign > 0 ? "positive" : sign in toString() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/duration/ |
H A D | ICUDurationTest.java | 47 private final int sign; field in ICUDurationTest.ICUTestDuration 55 sign = 1; in ICUTestDuration() 57 sign = 0; in ICUTestDuration() 60 sign = -1; in ICUTestDuration() 85 sign = sgn; in ICUTestDuration() 96 sign = sgn; in ICUTestDuration() 122 return sign; in getSign() 142 return new ICUTestDuration(-sign, fields); in negate() 152 String signString = sign > 0 ? "positive" : sign in toString() [all...] |
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_format_float.c | 50 * and there may be a sign bit. 56 * @param has_sign if the small float has a sign bit 65 * Note that this will pack mantissa, exponent and sign bit (if any) together, 105 /* clamp to pos range (can still have sign bit if NaN or negative zero) */ in lp_build_float_to_smallfloat() 112 * get rid of excess mantissa bits and sign bit in lp_build_float_to_smallfloat() 146 * (for no sign) else ->Inf -> ->Inf too. in lp_build_float_to_smallfloat() 181 * - for no sign case, it relies on the max() being used for rescale_src in lp_build_float_to_smallfloat() 204 /* add back sign bit at right position */ in lp_build_float_to_smallfloat() 206 LLVMValueRef sign; in lp_build_float_to_smallfloat() local 213 sign in lp_build_float_to_smallfloat() 291 LLVMValueRef wasinfnan, tmp, res, shift, maskabs, srcabs, sign; lp_build_smallfloat_to_float() local [all...] |
H A D | lp_bld_const.c | 66 if (type.sign) in lp_mantissa() 87 return type.sign ? type.width - 1 : type.width; in lp_const_shift() 132 if (!type.sign) in lp_const_min() 192 if (type.sign) in lp_const_max() 262 else if (type.sign) in lp_build_one() 271 if (type.sign) in lp_build_one() 344 elems[i] = LLVMConstInt(elem_type, val, type.sign ? 1 : 0); in lp_build_const_int_vec()
|
/third_party/mksh/ |
H A D | os2.c | 404 char sign[2]; in execve() local 435 if (!errno && fread(sign, 1, sizeof(sign), fp) != sizeof(sign)) in execve() 442 !((sign[0] == 'M' && sign[1] == 'Z') || in execve() 443 (sign[0] == 'N' && sign[1] == 'E') || in execve() 444 (sign[0] == 'L' && sign[ in execve() [all...] |
/third_party/node/deps/openssl/openssl/crypto/bn/ |
H A D | bn_gcd.c | 27 int sign; in bn_mod_inverse_no_branch() local 73 sign = -1; in bn_mod_inverse_no_branch() 78 * -sign*X*a == B (mod |n|), in bn_mod_inverse_no_branch() 79 * sign*Y*a == A (mod |n|). in bn_mod_inverse_no_branch() 87 * (*) -sign*X*a == B (mod |n|), in bn_mod_inverse_no_branch() 88 * sign*Y*a == A (mod |n|) in bn_mod_inverse_no_branch() 110 * (**) sign*Y*a == D*B + M (mod |n|). in bn_mod_inverse_no_branch() 124 * sign*Y*a == D*A + B (mod |n|), in bn_mod_inverse_no_branch() 126 * sign*Y*a - D*A == B (mod |n|). in bn_mod_inverse_no_branch() 128 * -sign* in bn_mod_inverse_no_branch() 203 int sign; int_bn_mod_inverse() local [all...] |
/third_party/openssl/crypto/bn/ |
H A D | bn_gcd.c | 27 int sign; in bn_mod_inverse_no_branch() local 73 sign = -1; in bn_mod_inverse_no_branch() 78 * -sign*X*a == B (mod |n|), in bn_mod_inverse_no_branch() 79 * sign*Y*a == A (mod |n|). in bn_mod_inverse_no_branch() 87 * (*) -sign*X*a == B (mod |n|), in bn_mod_inverse_no_branch() 88 * sign*Y*a == A (mod |n|) in bn_mod_inverse_no_branch() 110 * (**) sign*Y*a == D*B + M (mod |n|). in bn_mod_inverse_no_branch() 124 * sign*Y*a == D*A + B (mod |n|), in bn_mod_inverse_no_branch() 126 * sign*Y*a - D*A == B (mod |n|). in bn_mod_inverse_no_branch() 128 * -sign* in bn_mod_inverse_no_branch() 203 int sign; int_bn_mod_inverse() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
H A D | vktSpvAsmIndexingTests.cpp | 91 for (int sign = 0; sign < 2; ++sign) in addComputeIndexingStructTests() 94 const string testName = chainOpTestNames[chainOpIdx] + string(sign == 0 ? "_u" : "_s") + de::toString(idxSize); in addComputeIndexingStructTests() 102 // input and converted to the desired bit size and sign. in addComputeIndexingStructTests() 260 specs["idx_int"] = (sign ? "%i" : "%u") + de::toString(idxSize); in addComputeIndexingStructTests() 309 for (int sign = 0; sign < 2; sign++) in addGraphicsIndexingStructTests() 312 const string testName = chainOpTestNames[chainOpIdx] + string(sign in addGraphicsIndexingStructTests() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
H A D | vktSpvAsmIndexingTests.cpp | 91 for (int sign = 0; sign < 2; ++sign) in addComputeIndexingStructTests() 94 const string testName = chainOpTestNames[chainOpIdx] + string(sign == 0 ? "_u" : "_s") + de::toString(idxSize); in addComputeIndexingStructTests() 102 // input and converted to the desired bit size and sign. in addComputeIndexingStructTests() 260 specs["idx_int"] = (sign ? "%i" : "%u") + de::toString(idxSize); in addComputeIndexingStructTests() 309 for (int sign = 0; sign < 2; sign++) in addGraphicsIndexingStructTests() 312 const string testName = chainOpTestNames[chainOpIdx] + string(sign in addGraphicsIndexingStructTests() [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | softfloat.h | 246 int idx, sign; in av_sincos_sf() local 251 sign = (int32_t)((unsigned)idx << 27) >> 31; in av_sincos_sf() 253 cv = (cv ^ sign) - sign; in av_sincos_sf() 256 sign = (int32_t)((unsigned)idx << 27) >> 31; in av_sincos_sf() 258 sv = (sv ^ sign) - sign; in av_sincos_sf()
|
/third_party/musl/porting/liteos_a/kernel/src/math/ |
H A D | erfl.c | 56 * erf(x) = sign(x) * (c + P1(s)/Q1(s)) 75 * erf(x) = sign(x)*(1.0 - erfc(x)) if x < 6.666, else 76 * erf(x) = sign(x)*(1.0 - tiny) 90 * erf(x) = sign(x) *(1 - tiny) (raise inexact) 291 int sign = u.i.se >> 15; in erfl() local 295 return 1 - 2*sign + 1/x; in erfl() 312 return sign ? -y : y; in erfl() 320 int sign = u.i.se >> 15; in erfcl() local 324 return 2*sign + 1/x; in erfcl() 339 return sign in erfcl() [all...] |
H A D | __rem_pio2f.c | 49 int n, sign, e0; in __rem_pio2f() local 75 sign = u.i>>31; in __rem_pio2f() 80 if (sign) { in __rem_pio2f()
|
H A D | expm1.c | 126 int k, sign = u.i>>63; in expm1() local 132 if (sign) in expm1() 143 if (!sign) { in expm1() 153 k = invln2*x + (sign ? -0.5 : 0.5); in expm1()
|
/third_party/musl/src/math/ |
H A D | erfl.c | 56 * erf(x) = sign(x) * (c + P1(s)/Q1(s)) 75 * erf(x) = sign(x)*(1.0 - erfc(x)) if x < 6.666, else 76 * erf(x) = sign(x)*(1.0 - tiny) 90 * erf(x) = sign(x) *(1 - tiny) (raise inexact) 291 int sign = u.i.se >> 15; in erfl() local 295 return 1 - 2*sign + 1/x; in erfl() 312 return sign ? -y : y; in erfl() 320 int sign = u.i.se >> 15; in erfcl() local 324 return 2*sign + 1/x; in erfcl() 339 return sign in erfcl() [all...] |
H A D | __rem_pio2f.c | 49 int n, sign, e0; in __rem_pio2f() local 75 sign = u.i>>31; in __rem_pio2f() 80 if (sign) { in __rem_pio2f()
|
/third_party/node/deps/v8/src/bigint/ |
H A D | mul-karatsuba.cc | 70 int* sign) { in KaratsubaSubtractionHelper() 76 *sign = -(*sign); in KaratsubaSubtractionHelper() 189 int sign = 1; in KaratsubaMain() local 190 KaratsubaSubtractionHelper(X_diff, X1, X0, &sign); in KaratsubaMain() 191 KaratsubaSubtractionHelper(Y_diff, Y0, Y1, &sign); in KaratsubaMain() 194 if (sign > 0) { in KaratsubaMain() 69 KaratsubaSubtractionHelper(RWDigits result, Digits X, Digits Y, int* sign) KaratsubaSubtractionHelper() argument
|
/third_party/icu/icu4j/perf-tests/perldriver/ |
H A D | Format.pm | 141 my $sign = (s/^-//) ? '-' : ''; 156 $result = $sign . $d; 158 $result = $sign . substr($d, 0, $e) . '.' . substr($d, $e);
|
/third_party/icu/icu4c/source/test/perf/perldriver/ |
H A D | Format.pm | 143 my $sign = (s/^-//) ? '-' : ''; 158 $result = $sign . $d; 160 $result = $sign . substr($d, 0, $e) . '.' . substr($d, $e);
|
/third_party/node/deps/v8/src/base/numbers/ |
H A D | dtoa.cc | 32 Vector<char> buffer, int* sign, int* length, int* point) { in DoubleToAscii() 37 *sign = 1; in DoubleToAscii() 40 *sign = 0; in DoubleToAscii() 31 DoubleToAscii(double v, DtoaMode mode, int requested_digits, Vector<char> buffer, int* sign, int* length, int* point) DoubleToAscii() argument
|
/third_party/ffmpeg/libavcodec/ |
H A D | h263enc.h | 43 int bit_size, code, sign; in h263_get_motion_length() local 51 sign = val >> 31; in h263_get_motion_length() 52 val = (val ^ sign) - sign; /* val = FFABS(val) */ in h263_get_motion_length()
|