/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-cose-sign/ |
D | CMakeLists.txt | 1 project(lws-crypto-cose-sign C) 8 set(SAMP lws-crypto-cose-sign) 20 add_test(NAME crypto-cose-sign-1 21 COMMAND lws-crypto-cose-sign -s -k set1.cks --kid 11 22 --alg ES256 --cose-sign 25 add_test(NAME crypto-cose-sign-2 26 COMMAND lws-crypto-cose-sign -s -k set1.cks --kid sec384 27 --alg ES384 --cose-sign 30 add_test(NAME crypto-cose-sign-3 31 COMMAND lws-crypto-cose-sign -s -k set1.cks --kid sec512 [all …]
|
/third_party/icu/vendor/double-conversion/upstream/test/cctest/ |
D | test-dtoa.cc | 51 Vector<char> buffer, bool* sign, int* length, in DoubleToAscii() argument 64 sign, length, point); in DoubleToAscii() 86 bool sign; in TEST() local 88 DoubleToAscii(0.0, SHORTEST, 0, buffer, &sign, &length, &point); in TEST() 92 DoubleToAscii(0.0f, SHORTEST_SINGLE, 0, buffer, &sign, &length, &point); in TEST() 96 DoubleToAscii(0.0, FIXED, 2, buffer, &sign, &length, &point); in TEST() 101 DoubleToAscii(0.0, PRECISION, 3, buffer, &sign, &length, &point); in TEST() 106 DoubleToAscii(1.0, SHORTEST, 0, buffer, &sign, &length, &point); in TEST() 110 DoubleToAscii(1.0f, SHORTEST_SINGLE, 0, buffer, &sign, &length, &point); in TEST() 114 DoubleToAscii(1.0, FIXED, 3, buffer, &sign, &length, &point); in TEST() [all …]
|
/third_party/vk-gl-cts/framework/delibs/debase/ |
D | deFloat16.c | 30 deUint32 sign; in deFloat32To16() local 40 sign = (x.u >> 16u) & 0x00008000u; in deFloat32To16() 49 return (deFloat16) sign; in deFloat32To16() 64 return (deFloat16) (sign | mantissa); in deFloat32To16() 71 return (deFloat16) (sign | 0x7c00u); in deFloat32To16() 77 return (deFloat16) (sign | 0x7c00u | mantissa | (mantissa == 0u)); in deFloat32To16() 95 return (deFloat16) (sign | 0x7c00u); in deFloat32To16() 98 return (deFloat16) (sign | ((deUint32)expotent << 10u) | (mantissa >> 13u)); in deFloat32To16() 104 deUint64 sign; in deFloat64To16() local 114 sign = (x.u >> 48u) & 0x00008000u; in deFloat64To16() [all …]
|
/third_party/iowow/src/utils/ |
D | iwavl.c | 27 IW_INLINE struct iwavl_node* iwavl_get_child(const struct iwavl_node *parent, int sign) { in iwavl_get_child() argument 28 if (sign < 0) { in iwavl_get_child() 35 IW_INLINE struct iwavl_node* iwavl_first_or_last_in_order(const struct iwavl_node *root, int sign) { in iwavl_first_or_last_in_order() argument 39 while (iwavl_get_child(first, +sign)) { in iwavl_first_or_last_in_order() 40 first = iwavl_get_child(first, +sign); in iwavl_first_or_last_in_order() 58 IW_INLINE struct iwavl_node* iwavl_next_or_prev_in_order(const struct iwavl_node *node, int sign) { in iwavl_next_or_prev_in_order() argument 61 if (iwavl_get_child(node, +sign)) { in iwavl_next_or_prev_in_order() 62 for (next = iwavl_get_child(node, +sign); in iwavl_next_or_prev_in_order() 63 iwavl_get_child(next, -sign); in iwavl_next_or_prev_in_order() 64 next = iwavl_get_child(next, -sign)) { in iwavl_next_or_prev_in_order() [all …]
|
/third_party/opencl-headers/CL/ |
D | cl_half.h | 62 uint16_t sign) in cl_half_handle_overflow() argument 67 return (sign << 15) | CL_HALF_MAX_FINITE_MAG; in cl_half_handle_overflow() 69 else if (rounding_mode == CL_HALF_RTP && sign) in cl_half_handle_overflow() 74 else if (rounding_mode == CL_HALF_RTN && !sign) in cl_half_handle_overflow() 81 return (sign << 15) | CL_HALF_EXP_MASK; in cl_half_handle_overflow() 88 uint16_t sign) in cl_half_handle_underflow() argument 90 if (rounding_mode == CL_HALF_RTP && !sign) in cl_half_handle_underflow() 93 return (sign << 15) | 1; in cl_half_handle_underflow() 95 else if (rounding_mode == CL_HALF_RTN && sign) in cl_half_handle_underflow() 98 return (sign << 15) | 1; in cl_half_handle_underflow() [all …]
|
/third_party/skia/third_party/externals/angle2/include/CL/ |
D | cl_half.h | 62 uint16_t sign) in cl_half_handle_overflow() argument 67 return (sign << 15) | CL_HALF_MAX_FINITE_MAG; in cl_half_handle_overflow() 69 else if (rounding_mode == CL_HALF_RTP && sign) in cl_half_handle_overflow() 74 else if (rounding_mode == CL_HALF_RTN && !sign) in cl_half_handle_overflow() 81 return (sign << 15) | CL_HALF_EXP_MASK; in cl_half_handle_overflow() 88 uint16_t sign) in cl_half_handle_underflow() argument 90 if (rounding_mode == CL_HALF_RTP && !sign) in cl_half_handle_underflow() 93 return (sign << 15) | 1; in cl_half_handle_underflow() 95 else if (rounding_mode == CL_HALF_RTN && sign) in cl_half_handle_underflow() 98 return (sign << 15) | 1; in cl_half_handle_underflow() [all …]
|
/third_party/musl/libc-test/src/functionalext/supplement/network/ |
D | recv.c | 48 int *sign = (int *)malloc(sizeof(int)); in SampleServerTask() local 54 *sign = -1; in SampleServerTask() 55 return sign; in SampleServerTask() 72 *sign = -1; in SampleServerTask() 73 return sign; in SampleServerTask() 80 *sign = -1; in SampleServerTask() 81 return sign; in SampleServerTask() 94 return sign; in SampleServerTask() 105 int sign = connect(clnFd, (struct sockaddr *)&srvAddr, sizeof(srvAddr)); in SampleClientTask() local 106 EXPECT_EQ("recv_0100", 0, sign); in SampleClientTask() [all …]
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuFloat.hpp | 96 static inline Float construct (int sign, int exponent, StorageType mantissa); 111 static Float constructBits (int sign, int exponent, StorageType mantissaBits); 121 inline int sign (void) const { return signBit() ? -1 : 1; } in sign() function in tcu::Float 132 static Float zero (int sign); 133 static Float inf (int sign); 136 static Float largestNormal (int sign); 137 static Float smallestNormal (int sign); 199 …ntBias, Flags> Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::zero (int sign) in zero() argument 201 DE_ASSERT(sign == 1 || ((Flags & FLOAT_HAS_SIGN) && sign == -1)); in zero() 202 return Float(StorageType((sign > 0 ? 0ull : 1ull) << (ExponentBits+MantissaBits))); in zero() [all …]
|
/third_party/ffmpeg/libavutil/ |
D | softfloat_ieee754.h | 30 int32_t sign; member 54 int sign = 0; in av_int2sf_ieee754() local 57 sign = 1; in av_int2sf_ieee754() 60 return av_normalize_sf_ieee754((SoftFloat_IEEE754) {sign, n << MANT_BITS, 0 + e}); in av_int2sf_ieee754() 81 int32_t mant, exp, sign; in av_div_sf_ieee754() local 84 sign = a.sign ^ b.sign; in av_div_sf_ieee754() 87 return av_normalize_sf_ieee754((SoftFloat_IEEE754) {sign, mant, exp}); in av_div_sf_ieee754() 94 int32_t sign, mant, exp; in av_mul_sf_ieee754() local 97 sign = a.sign ^ b.sign; in av_mul_sf_ieee754() 100 return av_normalize_sf_ieee754((SoftFloat_IEEE754) {sign, mant, exp}); in av_mul_sf_ieee754() [all …]
|
/third_party/optimized-routines/math/ |
D | math_errf.c | 26 xflowf (uint32_t sign, float y) in xflowf() argument 28 y = eval_as_float (opt_barrier_float (sign ? -y : y) * y); in xflowf() 33 __math_uflowf (uint32_t sign) in __math_uflowf() argument 35 return xflowf (sign, 0x1p-95f); in __math_uflowf() 42 __math_may_uflowf (uint32_t sign) in __math_may_uflowf() argument 44 return xflowf (sign, 0x1.4p-75f); in __math_may_uflowf() 49 __math_oflowf (uint32_t sign) in __math_oflowf() argument 51 return xflowf (sign, 0x1p97f); in __math_oflowf() 55 __math_divzerof (uint32_t sign) in __math_divzerof() argument 57 float y = opt_barrier_float (sign ? -1.0f : 1.0f) / 0.0f; in __math_divzerof()
|
D | math_err.c | 26 xflow (uint32_t sign, double y) in xflow() argument 28 y = eval_as_double (opt_barrier_double (sign ? -y : y) * y); in xflow() 33 __math_uflow (uint32_t sign) in __math_uflow() argument 35 return xflow (sign, 0x1p-767); in __math_uflow() 42 __math_may_uflow (uint32_t sign) in __math_may_uflow() argument 44 return xflow (sign, 0x1.8p-538); in __math_may_uflow() 49 __math_oflow (uint32_t sign) in __math_oflow() argument 51 return xflow (sign, 0x1p769); in __math_oflow() 55 __math_divzero (uint32_t sign) in __math_divzero() argument 57 double y = opt_barrier_double (sign ? -1.0 : 1.0) / 0.0; in __math_divzero()
|
/third_party/node/test/parallel/ |
D | test-crypto-rsa-dsa.js | 265 let rsaSignature = rsaSign.sign(rsaKeyPem, 'hex'); 274 rsaSignature = rsaSign.sign(rsaPkcs8KeyPem, 'hex'); 285 rsaSignature = rsaSign.sign(signOptions, 'hex'); 296 rsaSign.sign(signOptions, 'hex'); 313 const sign = crypto.createSign('SHA256'); constant 314 sign.update(input); 316 const output = sign.sign(privateKey, 'hex'); 328 const output2 = sign2.sign(privateKey, 'hex'); 346 const sign = crypto.createSign('SHA1'); constant 347 sign.update(input); [all …]
|
D | test-crypto-sign-verify.js | 43 crypto.createSign('sha1').sign( 62 .sign({ 97 .sign(keyPem, 'base64'); 100 s1stream = s1stream.sign(keyPem, 'base64'); 113 .sign(keyPem, 'latin1'); 116 s2stream = s2stream.sign(keyPem, 'latin1'); 136 .sign(keyPem, 'buffer'); 192 .sign({ 199 crypto.sign(algo, data, { 209 .sign({ [all …]
|
/third_party/openssl/crypto/asn1/ |
D | x_long.c | 89 unsigned long utmp, sign; in long_i2c() local 101 sign = 0xff; in long_i2c() 104 sign = 0; in long_i2c() 119 *cont++ = (unsigned char)sign; in long_i2c() 121 cont[i] = (unsigned char)(utmp ^ sign); in long_i2c() 133 unsigned long utmp = 0, sign = 0x100; in long_c2i() local 145 sign = 0xff; in long_c2i() 150 sign = 0; in long_c2i() 159 if (sign == 0x100) { in long_c2i() 162 sign = 0xff; in long_c2i() [all …]
|
/third_party/optimized-routines/math/test/rtest/ |
D | semi.c | 13 int sign = in[0] & 0x80000000; in test_rint() local 14 int roundup = (isfloor && sign) || (isceil && !sign); in test_rint() 32 out[0] = sign | (roundup ? 0x3FF00000 : 0); in test_rint() 76 int sign = *in & 0x80000000; in test_rintf() local 77 int roundup = (isfloor && sign) || (isceil && !sign); in test_rintf() 94 *out = sign | (roundup ? 0x3F800000 : 0); in test_rintf() 131 int sign; in test_fmod() local 174 sign = a[0] & 0x80000000; /* we discard sign of b */ in test_fmod() 198 am[0] |= sign; in test_fmod() 205 int sign; in test_fmodf() local [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | returnTypeInferenceNotTooBroad.types | 15 sign?: T 16 >sign : T 28 export const y = sepsis({ low: 1, sign: { kind: 'a', a: 3 }}); 30 >sepsis({ low: 1, sign: { kind: 'a', a: 3 }}) : Wrapper<{ kind: "a"; a: 3; }> 32 >{ low: 1, sign: { kind: 'a', a: 3 }} : { low: number; sign: { kind: "a"; a: 3; }; } 35 >sign : { kind: "a"; a: 3; } 50 export const yone = unwrap(sepsis({ low: 1, sign: { kind: 'a', a: 3 }})); 52 >unwrap(sepsis({ low: 1, sign: { kind: 'a', a: 3 }})) : { kind: "a"; a: 3; } 54 >sepsis({ low: 1, sign: { kind: 'a', a: 3 }}) : Wrapper<{ kind: "a"; a: 3; }> 56 >{ low: 1, sign: { kind: 'a', a: 3 }} : { low: number; sign: { kind: "a"; a: 3; }; } [all …]
|
/third_party/jerryscript/jerry-libm/ |
D | sqrt.c | 107 int sign = (int) 0x80000000; in sqrt() local 122 if (((ix0 & (~sign)) | ix1) == 0) /* sqrt(+-0) = +-0 */ in sqrt() 153 ix0 += ix0 + ((ix1 & sign) >> 31); in sqrt() 159 ix0 += ix0 + ((ix1 & sign) >> 31); in sqrt() 173 ix0 += ix0 + ((ix1 & sign) >> 31); in sqrt() 178 r = sign; in sqrt() 186 if (((t1 & sign) == sign) && (s1 & sign) == 0) in sqrt() 198 ix0 += ix0 + ((ix1 & sign) >> 31); in sqrt() 235 ix1 |= sign; in sqrt()
|
/third_party/musl/porting/liteos_m/kernel/src/math/ |
D | sqrt.c | 86 int32_t sign = (int)0x80000000; in sqrt() local 98 if (((ix0&~sign)|ix1) == 0) in sqrt() 120 ix0 += ix0 + ((ix1&sign)>>31); in sqrt() 126 ix0 += ix0 + ((ix1&sign)>>31); in sqrt() 138 ix0 += ix0 + ((ix1&sign)>>31); in sqrt() 143 r = sign; in sqrt() 149 if ((t1&sign) == sign && (s1&sign) == 0) in sqrt() 157 ix0 += ix0 + ((ix1&sign)>>31); in sqrt() 181 ix1 |= sign; in sqrt()
|
/third_party/icu/ohos_icu4j/src/main/tests/resources/ohos/global/icu/dev/data/ |
D | numberpermutationtest.txt | 88 scientific/+ee/sign-always percent unit-width-narrow 102 scientific/+ee/sign-always percent unit-width-full-name 116 scientific/+ee/sign-always currency/EUR unit-width-narrow 130 scientific/+ee/sign-always currency/EUR unit-width-full-name 144 scientific/+ee/sign-always measure-unit/length-furlong unit-width-narrow 158 scientific/+ee/sign-always measure-unit/length-furlong unit-width-full-name 340 scientific/+ee/sign-always percent precision-integer 354 scientific/+ee/sign-always percent .000 368 scientific/+ee/sign-always percent .##/@@@+ 382 scientific/+ee/sign-always percent @@ [all …]
|
/third_party/icu/icu4c/source/test/testdata/ |
D | numberpermutationtest.txt | 88 scientific/+ee/sign-always percent unit-width-narrow 102 scientific/+ee/sign-always percent unit-width-full-name 116 scientific/+ee/sign-always currency/EUR unit-width-narrow 130 scientific/+ee/sign-always currency/EUR unit-width-full-name 144 scientific/+ee/sign-always measure-unit/length-furlong unit-width-narrow 158 scientific/+ee/sign-always measure-unit/length-furlong unit-width-full-name 340 scientific/+ee/sign-always percent precision-integer 354 scientific/+ee/sign-always percent .000 368 scientific/+ee/sign-always percent .##/@@@+ 382 scientific/+ee/sign-always percent @@ [all …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/ |
D | numberpermutationtest.txt | 88 scientific/+ee/sign-always percent unit-width-narrow 102 scientific/+ee/sign-always percent unit-width-full-name 116 scientific/+ee/sign-always currency/EUR unit-width-narrow 130 scientific/+ee/sign-always currency/EUR unit-width-full-name 144 scientific/+ee/sign-always measure-unit/length-furlong unit-width-narrow 158 scientific/+ee/sign-always measure-unit/length-furlong unit-width-full-name 340 scientific/+ee/sign-always percent precision-integer 354 scientific/+ee/sign-always percent .000 368 scientific/+ee/sign-always percent .##/@@@+ 382 scientific/+ee/sign-always percent @@ [all …]
|
/third_party/musl/porting/liteos_m/kernel/src/internal/ |
D | floatscan.c | 63 static long double decfloat(FILE *f, int c, int bits, int emin, int sign, int pok) in decfloat() argument 140 if (!x[0]) return sign * 0.0; in decfloat() 144 return sign * (long double)x[0]; in decfloat() 147 return sign * LDBL_MAX * LDBL_MAX; in decfloat() 151 return sign * LDBL_MIN * LDBL_MIN; in decfloat() 168 if (rp == 9) return sign * (long double)x[0]; in decfloat() 169 if (rp < 9) return sign * (long double)x[0] / p10s[8-rp]; in decfloat() 172 return sign * (long double)x[0] * p10s[rp-10]; in decfloat() 263 y *= sign; in decfloat() 284 frac += 0.25*sign; in decfloat() [all …]
|
/third_party/musl/porting/uniproton/kernel/src/internal/ |
D | floatscan.c | 63 static long double decfloat(FILE *f, int c, int bits, int emin, int sign, int pok) in decfloat() argument 140 if (!x[0]) return sign * 0.0; in decfloat() 144 return sign * (long double)x[0]; in decfloat() 147 return sign * LDBL_MAX * LDBL_MAX; in decfloat() 151 return sign * LDBL_MIN * LDBL_MIN; in decfloat() 168 if (rp == 9) return sign * (long double)x[0]; in decfloat() 169 if (rp < 9) return sign * (long double)x[0] / p10s[8-rp]; in decfloat() 172 return sign * (long double)x[0] * p10s[rp-10]; in decfloat() 263 y *= sign; in decfloat() 284 frac += 0.25*sign; in decfloat() [all …]
|
/third_party/musl/src/internal/ |
D | floatscan.c | 63 static long double decfloat(FILE *f, int c, int bits, int emin, int sign, int pok) in decfloat() argument 140 if (!x[0]) return sign * 0.0; in decfloat() 144 return sign * (long double)x[0]; in decfloat() 147 return sign * LDBL_MAX * LDBL_MAX; in decfloat() 151 return sign * LDBL_MIN * LDBL_MIN; in decfloat() 168 if (rp == 9) return sign * (long double)x[0]; in decfloat() 169 if (rp < 9) return sign * (long double)x[0] / p10s[8-rp]; in decfloat() 172 return sign * (long double)x[0] * p10s[rp-10]; in decfloat() 263 y *= sign; in decfloat() 284 frac += 0.25*sign; in decfloat() [all …]
|
/third_party/musl/porting/liteos_a/kernel/src/internal/ |
D | floatscan.c | 63 static long double decfloat(FILE *f, int c, int bits, int emin, int sign, int pok) in decfloat() argument 140 if (!x[0]) return sign * 0.0; in decfloat() 144 return sign * (long double)x[0]; in decfloat() 147 return sign * LDBL_MAX * LDBL_MAX; in decfloat() 151 return sign * LDBL_MIN * LDBL_MIN; in decfloat() 168 if (rp == 9) return sign * (long double)x[0]; in decfloat() 169 if (rp < 9) return sign * (long double)x[0] / p10s[8-rp]; in decfloat() 172 return sign * (long double)x[0] * p10s[rp-10]; in decfloat() 263 y *= sign; in decfloat() 284 frac += 0.25*sign; in decfloat() [all …]
|