/third_party/openssl/demos/signature/ |
H A D | rsa_pss_direct.c | 22 * Here we sign an all-zeroes digest for demonstration purposes. 31 * padding scheme. You must already have hashed the data you want to sign. 38 static int sign(OSSL_LIB_CTX *libctx, unsigned char **sig, size_t *sig_len) in sign() function 104 fprintf(stderr, "Failed to sign\n"); in sign() 193 if (sign(libctx, &sig, &sig_len) == 0) in main()
|
H A D | rsa_pss_hash.c | 30 * have already hashed your message and simply want to sign the hash directly, 33 static int sign(OSSL_LIB_CTX *libctx, unsigned char **sig, size_t *sig_len) in sign() function 94 fprintf(stderr, "Failed to sign\n"); in sign() 178 if (sign(libctx, &sig, &sig_len) == 0) in main()
|
/third_party/openssl/test/ |
H A D | bntests.pl | 20 my ($sign, $hex) = ($x =~ /^([+\-]?)(.*)$/); 23 return Math::BigInt->from_hex($sign.$hex);
|
/third_party/skia/third_party/externals/swiftshader/third_party/astc-encoder/Source/ |
H A D | astc_mathlib_softfloat.cpp | 96 This table contains, for every FP16 sign/exponent value combination, in sf16_to_sf32() 133 uint32_t sign = (inpx & UINT32_C(0x8000)) << 16; in sf16_to_sf32() local 137 return (mskval >> 8) + ((0x85 - leadingzeroes) << 23) + sign; in sf16_to_sf32()
|
/third_party/openssl/crypto/ec/ |
H A D | ecp_nistputil.c | 175 * "sign-alternating {+-1}-representation". 197 * The sign-alternating property implies that the resulting digit values are 206 * recoded digit to *sign (0 for positive, 1 for negative) and *digit (absolute 213 void ossl_ec_GFp_nistp_recode_scalar_bits(unsigned char *sign, in ossl_ec_GFp_nistp_recode_scalar_bits() argument 224 *sign = s & 1; in ossl_ec_GFp_nistp_recode_scalar_bits()
|
/third_party/skia/third_party/externals/tint/src/writer/wgsl/ |
H A D | generator_impl_literal_test.cc | 26 // - 0 sign if sign is 0, 1 otherwise 29 float MakeFloat(int sign, int biased_exponent, int mantissa) { in MakeFloat() argument 30 const uint32_t sign_bit = sign ? 0x80000000u : 0u; in MakeFloat() 31 // The binary32 exponent is 8 bits, just below the sign. in MakeFloat()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | truthinessCallExpressionCoercion1.js | 56 sign() {}, 132 sign: function () { },
|
H A D | modularizeLibrary_NoErrorDuplicateLibOptions1.js | 37 Math.sign(1); 122 Math.sign(1);
|
H A D | modularizeLibrary_NoErrorDuplicateLibOptions2.js | 37 Math.sign(1); 122 Math.sign(1);
|
H A D | modularizeLibrary_TargetES5UsingES6Lib.js | 37 Math.sign(1); 122 Math.sign(1);
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/upg/ |
H A D | boot_upg_tool.c | 206 .r = (hi_u8 *)param->sign, in boot_upg_lzma_secure_verify() 207 .s = (hi_u8 *)param->sign + ECC_32_BYTES, in boot_upg_lzma_secure_verify() 222 .sign = param->sign, in boot_upg_lzma_secure_verify() 259 param.sign = (hi_u8 *)upg_head + sizeof(hi_upg_head) + sizeof(hi_upg_section_head); in boot_upg_lzma_secure_verify_code()
|
/kernel/linux/linux-5.10/arch/m68k/fpsp040/ |
H A D | get_op.S | 226 andiw #0x7fff,%d0 |mask sign, check if exp = 0000 256 andiw #0x7fff,%d0 |mask sign, check if exp = 0000 286 btstb #sign_bit,ETEMP_EX(%a6) |grab sign bit of mantissa 288 bset #15,%d1 |set sign bit because it is negative 522 tstl ETEMP(%a6) |test sign of the zero 561 tstl ETEMP(%a6) |check sign 575 tstl ETEMP(%a6) |check for sign 589 tstl ETEMP(%a6) |test sign of the zero 637 andiw #0x7fff,%d1 |strip sign
|
/kernel/linux/linux-6.6/arch/m68k/fpsp040/ |
H A D | get_op.S | 226 andiw #0x7fff,%d0 |mask sign, check if exp = 0000 256 andiw #0x7fff,%d0 |mask sign, check if exp = 0000 286 btstb #sign_bit,ETEMP_EX(%a6) |grab sign bit of mantissa 288 bset #15,%d1 |set sign bit because it is negative 522 tstl ETEMP(%a6) |test sign of the zero 561 tstl ETEMP(%a6) |check sign 575 tstl ETEMP(%a6) |check for sign 589 tstl ETEMP(%a6) |test sign of the zero 637 andiw #0x7fff,%d1 |strip sign
|
/test/xts/acts/kernel_lite/io_posix/src/ |
H A D | IoTestStdlib.cpp | 53 int decpt, sign; in HWTEST_F() local 54 char *ret = fcvt(123.456, 5, &decpt, &sign); in HWTEST_F() 57 EXPECT_EQ(sign, 0); in HWTEST_F() 59 ret = fcvt(-7.89e13, 12, &decpt, &sign); in HWTEST_F() 62 EXPECT_EQ(sign, 1); in HWTEST_F()
|
/third_party/ffmpeg/libavcodec/ |
H A D | vp9mvs.c | 239 int bit, sign = vp56_rac_get_prob(td->c, s->prob.p.mv_comp[idx].sign); in read_mv_component() local 243 td->counts.mv_comp[idx].sign[sign]++; in read_mv_component() 288 return sign ? -(n + 1) : (n + 1); in read_mv_component()
|
H A D | texturedsp.c | 445 const uint8_t *block, int sign, int mono, int offset, int pix_size) in rgtc1_block_internal() 450 if (sign) { in rgtc1_block_internal() 549 const uint8_t *block, int sign) in rgtc2_block_internal() 557 rgtc1_block_internal(c0, 16, block, sign, 0, 0, 4); in rgtc2_block_internal() 558 rgtc1_block_internal(c1, 16, block + 8, sign, 0, 0, 4); in rgtc2_block_internal() 444 rgtc1_block_internal(uint8_t *dst, ptrdiff_t stride, const uint8_t *block, int sign, int mono, int offset, int pix_size) rgtc1_block_internal() argument 548 rgtc2_block_internal(uint8_t *dst, ptrdiff_t stride, const uint8_t *block, int sign) rgtc2_block_internal() argument
|
H A D | dnxhddec.c | 361 int level, component, sign; in dnxhd_decode_dct_block() local 402 sign = ~level >> 31; in dnxhd_decode_dct_block() 403 level = (NEG_USR32(sign ^ level, len) ^ sign) - sign; in dnxhd_decode_dct_block() 418 sign = SHOW_SBITS(bs, &row->gb, 1); in dnxhd_decode_dct_block() 446 block[j] = (level ^ sign) - sign; in dnxhd_decode_dct_block()
|
H A D | speedhq.c | 560 int entry, i, sign; in compute_alpha_vlcs() local 604 for (sign = 0; sign <= 1; ++sign) { in compute_alpha_vlcs() 605 /* 1s -> -1 or +1 (depending on sign bit). */ in compute_alpha_vlcs() 606 level_code[entry] = (sign << 1) | 1; in compute_alpha_vlcs() 608 level_symbols[entry] = sign ? -1 : 1; in compute_alpha_vlcs() 611 /* 01sxx -> xx plus 2 (2..5 or -2..-5, depending on sign bit). */ in compute_alpha_vlcs() 613 level_code[entry] = (i << 3) | (sign << 2) | 2; in compute_alpha_vlcs() 615 level_symbols[entry] = sign in compute_alpha_vlcs() [all...] |
H A D | vp6.c | 413 int coeff, sign, coeff_idx; in vp6_parse_coeff_huffman() local 450 sign = get_bits1(&s->gb); in vp6_parse_coeff_huffman() 451 coeff2 = (coeff2 ^ -sign) + sign; in vp6_parse_coeff_huffman() 475 int coeff, sign, coeff_idx; in vp6_parse_coeff() local 516 sign = vp56_rac_get(c); in vp6_parse_coeff() 517 coeff = (coeff ^ -sign) + sign; in vp6_parse_coeff()
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_pan.c | 97 int out_ch_id, in_ch_id, len, named, ret, sign = 1; in init() local 165 sign = 1; in init() 190 pan->gain[out_ch_id][in_ch_id] = sign * gain; in init() 195 sign = -1; in init() 201 sign = 1; in init()
|
/third_party/glfw/examples/ |
H A D | heightmap.c | 294 float sign; in generate_heightmap__circle() local 299 sign = (1.0f * rand()) / (float) RAND_MAX; in generate_heightmap__circle() 300 sign = (sign < DISPLACEMENT_SIGN_LIMIT) ? -1.0f : 1.0f; in generate_heightmap__circle() 301 *displacement = (sign * (MAX_DISPLACEMENT * rand())) / (float) RAND_MAX; in generate_heightmap__circle()
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_logic.c | 142 op = type.sign ? LLVMIntSLT : LLVMIntULT; in lp_build_compare_ext() 145 op = type.sign ? LLVMIntSLE : LLVMIntULE; in lp_build_compare_ext() 148 op = type.sign ? LLVMIntSGT : LLVMIntUGT; in lp_build_compare_ext() 151 op = type.sign ? LLVMIntSGE : LLVMIntUGE; in lp_build_compare_ext() 197 if (!type.floating && !type.sign && in lp_build_compare()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | TimeZoneFormat.java | 1747 char sign = '+'; in formatOffsetISO8601() 1749 // if all output fields are 0s, do not use negative sign in formatOffsetISO8601() 1752 sign = '-'; in formatOffsetISO8601() 1757 buf.append(sign); in formatOffsetISO8601() 2316 int sign = 1; in parseOffsetFields() 2332 sign = gmtPatType.isPositive() ? 1 : -1; in parseOffsetFields() 2360 sign = tmpSign; in parseOffsetFields() 2372 offset = ((((offsetH * 60) + offsetM) * 60) + offsetS) * 1000 * sign; in parseOffsetFields() 2483 // offset needs a sign char and a digit at minimum in parseOffsetDefaultLocalizedGMT() 2488 // parse sign in parseOffsetDefaultLocalizedGMT() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | TimeZoneFormat.java | 1677 char sign = '+'; in formatOffsetISO8601() 1679 // if all output fields are 0s, do not use negative sign in formatOffsetISO8601() 1682 sign = '-'; in formatOffsetISO8601() 1687 buf.append(sign); in formatOffsetISO8601() 2246 int sign = 1; in parseOffsetFields() 2262 sign = gmtPatType.isPositive() ? 1 : -1; in parseOffsetFields() 2290 sign = tmpSign; in parseOffsetFields() 2302 offset = ((((offsetH * 60) + offsetM) * 60) + offsetS) * 1000 * sign; in parseOffsetFields() 2413 // offset needs a sign char and a digit at minimum in parseOffsetDefaultLocalizedGMT() 2418 // parse sign in parseOffsetDefaultLocalizedGMT() [all...] |
/kernel/linux/linux-6.6/drivers/media/v4l2-core/ |
H A D | v4l2-vp9.c | 1077 .sign = { 128, 128 }, 1369 for (i = 0; i < ARRAY_SIZE(probs->mv.sign); i++) { in update_mv_probs() 1370 p = probs->mv.sign; in update_mv_probs() 1371 d = deltas->mv.sign; in update_mv_probs() 1809 for (i = 0; i < ARRAY_SIZE(probs->mv.sign); i++) { in v4l2_vp9_adapt_noncoef_probs() 1810 probs->mv.sign[i] = adapt_prob(probs->mv.sign[i], (*counts->sign)[i]); in v4l2_vp9_adapt_noncoef_probs()
|