| /OK3568_Linux_fs/kernel/drivers/s390/cio/ |
| H A D | airq.c | 130 struct airq_iv *iv; in airq_iv_create() local 133 iv = kzalloc(sizeof(*iv), GFP_KERNEL); in airq_iv_create() 134 if (!iv) in airq_iv_create() 136 iv->bits = bits; in airq_iv_create() 137 iv->flags = flags; in airq_iv_create() 145 iv->vector = dma_pool_zalloc(airq_iv_cache, GFP_KERNEL, in airq_iv_create() 146 &iv->vector_dma); in airq_iv_create() 147 if (!iv->vector) in airq_iv_create() 150 iv->vector = cio_dma_zalloc(size); in airq_iv_create() 151 if (!iv->vector) in airq_iv_create() [all …]
|
| /OK3568_Linux_fs/kernel/arch/s390/include/asm/ |
| H A D | airq.h | 51 void airq_iv_release(struct airq_iv *iv); 52 unsigned long airq_iv_alloc(struct airq_iv *iv, unsigned long num); 53 void airq_iv_free(struct airq_iv *iv, unsigned long bit, unsigned long num); 54 unsigned long airq_iv_scan(struct airq_iv *iv, unsigned long start, 57 static inline unsigned long airq_iv_alloc_bit(struct airq_iv *iv) in airq_iv_alloc_bit() argument 59 return airq_iv_alloc(iv, 1); in airq_iv_alloc_bit() 62 static inline void airq_iv_free_bit(struct airq_iv *iv, unsigned long bit) in airq_iv_free_bit() argument 64 airq_iv_free(iv, bit, 1); in airq_iv_free_bit() 67 static inline unsigned long airq_iv_end(struct airq_iv *iv) in airq_iv_end() argument 69 return iv->end; in airq_iv_end() [all …]
|
| /OK3568_Linux_fs/kernel/crypto/ |
| H A D | testmgr.h | 66 const char *iv; member 107 const char *iv; member 8705 .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10", 8717 .iv = "\x12\x34\x56\x78\x90\xab\xcd\xef", 8725 .iv = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c", 8733 .iv = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f", 8741 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47", 8813 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD", 8881 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47", 9113 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42", [all …]
|
| H A D | cfb.c | 51 u8 *iv = walk->iv; in crypto_cfb_final() local 54 crypto_cfb_encrypt_one(tfm, iv, stream); in crypto_cfb_final() 65 u8 *iv = walk->iv; in crypto_cfb_encrypt_segment() local 68 crypto_cfb_encrypt_one(tfm, iv, dst); in crypto_cfb_encrypt_segment() 70 iv = dst; in crypto_cfb_encrypt_segment() 76 memcpy(walk->iv, iv, bsize); in crypto_cfb_encrypt_segment() 87 u8 *iv = walk->iv; in crypto_cfb_encrypt_inplace() local 91 crypto_cfb_encrypt_one(tfm, iv, tmp); in crypto_cfb_encrypt_inplace() 93 iv = src; in crypto_cfb_encrypt_inplace() 98 memcpy(walk->iv, iv, bsize); in crypto_cfb_encrypt_inplace() [all …]
|
| H A D | cbc.c | 27 u8 *iv = walk->iv; in crypto_cbc_encrypt_segment() local 34 crypto_xor(iv, src, bsize); in crypto_cbc_encrypt_segment() 35 fn(tfm, dst, iv); in crypto_cbc_encrypt_segment() 36 memcpy(iv, dst, bsize); in crypto_cbc_encrypt_segment() 54 u8 *iv = walk->iv; in crypto_cbc_encrypt_inplace() local 61 crypto_xor(src, iv, bsize); in crypto_cbc_encrypt_inplace() 63 iv = src; in crypto_cbc_encrypt_inplace() 68 memcpy(walk->iv, iv, bsize); in crypto_cbc_encrypt_inplace() 102 u8 *iv = walk->iv; in crypto_cbc_decrypt_segment() local 110 crypto_xor(dst, iv, bsize); in crypto_cbc_decrypt_segment() [all …]
|
| H A D | pcbc.c | 28 u8 * const iv = walk->iv; in crypto_pcbc_encrypt_segment() local 31 crypto_xor(iv, src, bsize); in crypto_pcbc_encrypt_segment() 32 crypto_cipher_encrypt_one(tfm, dst, iv); in crypto_pcbc_encrypt_segment() 33 crypto_xor_cpy(iv, dst, src, bsize); in crypto_pcbc_encrypt_segment() 49 u8 * const iv = walk->iv; in crypto_pcbc_encrypt_inplace() local 54 crypto_xor(iv, src, bsize); in crypto_pcbc_encrypt_inplace() 55 crypto_cipher_encrypt_one(tfm, src, iv); in crypto_pcbc_encrypt_inplace() 56 crypto_xor_cpy(iv, tmpbuf, src, bsize); in crypto_pcbc_encrypt_inplace() 95 u8 * const iv = walk->iv; in crypto_pcbc_decrypt_segment() local 99 crypto_xor(dst, iv, bsize); in crypto_pcbc_decrypt_segment() [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/host/openssl/include/openssl/ |
| H A D | des_old.h | 142 # define des_ede3_cbc_encrypt(i,o,l,k1,k2,k3,iv,e)\ argument 143 DES_ede3_cbc_encrypt((i),(o),(l),&(k1),&(k2),&(k3),(iv),(e)) 146 # define des_ede3_cfb64_encrypt(i,o,l,k1,k2,k3,iv,n,e)\ argument 147 DES_ede3_cfb64_encrypt((i),(o),(l),&(k1),&(k2),&(k3),(iv),(n),(e)) 148 # define des_ede3_ofb64_encrypt(i,o,l,k1,k2,k3,iv,n)\ argument 149 DES_ede3_ofb64_encrypt((i),(o),(l),&(k1),&(k2),&(k3),(iv),(n)) 152 # define des_cbc_cksum(i,o,l,k,iv)\ argument 153 DES_cbc_cksum((i),(o),(l),&(k),(iv)) 154 # define des_cbc_encrypt(i,o,l,k,iv,e)\ argument 155 DES_cbc_encrypt((i),(o),(l),&(k),(iv),(e)) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/nx/ |
| H A D | nx-aes-ccm.c | 123 static inline int crypto_ccm_check_iv(const u8 *iv) in crypto_ccm_check_iv() argument 126 if (1 > iv[0] || iv[0] > 7) in crypto_ccm_check_iv() 133 static int generate_b0(u8 *iv, unsigned int assoclen, unsigned int authsize, in generate_b0() argument 139 memcpy(b0, iv, 16); in generate_b0() 156 static int generate_pat(u8 *iv, in generate_pat() argument 172 memset(iv + 15 - iv[0], 0, iv[0] + 1); in generate_pat() 211 rc = generate_b0(iv, assoclen, authsize, nbytes, b0); in generate_pat() 330 u8 *iv, in ccm_nx_decrypt() argument 351 rc = generate_pat(iv, req, nx_ctx, authsize, nbytes, assoclen, in ccm_nx_decrypt() 370 rc = nx_build_sg_lists(nx_ctx, iv, req->dst, req->src, in ccm_nx_decrypt() [all …]
|
| H A D | nx-aes-ctr.c | 72 static int ctr_aes_nx_crypt(struct skcipher_request *req, u8 *iv) in ctr_aes_nx_crypt() argument 86 rc = nx_build_sg_lists(nx_ctx, iv, req->dst, req->src, in ctr_aes_nx_crypt() 88 csbcpb->cpb.aes_ctr.iv); in ctr_aes_nx_crypt() 102 memcpy(iv, csbcpb->cpb.aes_cbc.cv, AES_BLOCK_SIZE); in ctr_aes_nx_crypt() 119 u8 iv[16]; in ctr3686_aes_nx_crypt() local 121 memcpy(iv, nx_ctx->priv.ctr.nonce, CTR_RFC3686_NONCE_SIZE); in ctr3686_aes_nx_crypt() 122 memcpy(iv + CTR_RFC3686_NONCE_SIZE, req->iv, CTR_RFC3686_IV_SIZE); in ctr3686_aes_nx_crypt() 123 iv[12] = iv[13] = iv[14] = 0; in ctr3686_aes_nx_crypt() 124 iv[15] = 1; in ctr3686_aes_nx_crypt() 126 return ctr_aes_nx_crypt(req, iv); in ctr3686_aes_nx_crypt()
|
| H A D | nx-aes-gcm.c | 169 static int gmac(struct aead_request *req, const u8 *iv, unsigned int assoclen) in gmac() argument 192 memcpy(csbcpb->cpb.aes_gcm.iv_or_cnt, iv, AES_BLOCK_SIZE); in gmac() 242 static int gcm_empty(struct aead_request *req, const u8 *iv, int enc) in gcm_empty() argument 269 in_sg = nx_build_sg_list(nx_ctx->in_sg, (u8 *) iv, in gcm_empty() 322 *(u32 *)&rctx->iv[NX_GCM_CTR_OFFSET] = 1; in gcm_aes_nx_crypt() 326 rc = gcm_empty(req, rctx->iv, enc); in gcm_aes_nx_crypt() 328 rc = gmac(req, rctx->iv, assoclen); in gcm_aes_nx_crypt() 357 rc = nx_build_sg_lists(nx_ctx, rctx->iv, req->dst, in gcm_aes_nx_crypt() 376 memcpy(rctx->iv, csbcpb->cpb.aes_gcm.out_cnt, AES_BLOCK_SIZE); in gcm_aes_nx_crypt() 419 char *iv = rctx->iv; in gcm_aes_nx_encrypt() local [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/crypto/ |
| H A D | aesni-intel_glue.c | 93 const u8 *in, unsigned int len, u8 *iv); 95 const u8 *in, unsigned int len, u8 *iv); 101 const u8 *in, unsigned int len, u8 *iv); 104 const u8 *in, unsigned int len, u8 *iv); 109 const u8 *in, unsigned int len, u8 *iv); 111 const u8 *in, unsigned int len, u8 *iv); 130 const u8 *in, unsigned long plaintext_len, u8 *iv, 152 const u8 *in, unsigned long ciphertext_len, u8 *iv, 159 u8 *iv, 174 void (*init)(void *ctx, struct gcm_context_data *gdata, u8 *iv, [all …]
|
| H A D | glue_helper-asm-avx2.S | 55 #define load_ctr_16way(iv, bswap, x0, x1, x2, x3, x4, x5, x6, x7, t0, t0x, t1, \ argument 62 vmovdqu (iv), t2x; \ 86 vmovdqu t2x, (iv); 99 #define gf128mul_x_ble(iv, mask, tmp) \ argument 100 vpsrad $31, iv, tmp; \ 101 vpaddq iv, iv, iv; \ 104 vpxor tmp, iv, iv; 106 #define gf128mul_x2_ble(iv, mask1, mask2, tmp0, tmp1) \ argument 107 vpsrad $31, iv, tmp0; \ 108 vpaddq iv, iv, tmp1; \ [all …]
|
| H A D | glue_helper.c | 80 u128 *iv = (u128 *)walk.iv; in glue_cbc_encrypt_req_128bit() local 83 u128_xor(dst, src, iv); in glue_cbc_encrypt_req_128bit() 85 iv = dst; in glue_cbc_encrypt_req_128bit() 91 *(u128 *)walk.iv = *iv; in glue_cbc_encrypt_req_128bit() 149 u128_xor(dst, dst, (u128 *)walk.iv); in glue_cbc_decrypt_req_128bit() 150 *(u128 *)walk.iv = last_iv; in glue_cbc_decrypt_req_128bit() 181 be128_to_le128(&ctrblk, (be128 *)walk.iv); in glue_ctr_req_128bit() 204 le128_to_be128((be128 *)walk.iv, &ctrblk); in glue_ctr_req_128bit() 214 be128_to_le128(&ctrblk, (be128 *)walk.iv); in glue_ctr_req_128bit() 220 le128_to_be128((be128 *)walk.iv, &ctrblk); in glue_ctr_req_128bit() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/wlan-ng/ |
| H A D | p80211wep.c | 91 u8 *iv, u8 *icv) in wep_decrypt() argument 102 key[0] = iv[0]; in wep_decrypt() 103 key[1] = iv[1]; in wep_decrypt() 104 key[2] = iv[2]; in wep_decrypt() 105 keyidx = WEP_KEY(iv[3]); in wep_decrypt() 162 u8 *dst, u32 len, int keynum, u8 *iv, u8 *icv) in wep_encrypt() argument 179 get_random_bytes(iv, 3); in wep_encrypt() 180 while ((iv[1] == 0xff) && (iv[0] >= 3) && (iv[0] < keylen)) in wep_encrypt() 181 get_random_bytes(iv, 3); in wep_encrypt() 183 iv[3] = (keynum & 0x03) << 6; in wep_encrypt() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/csscolorparser/ |
| H A D | csscolorparser.cpp | 197 int64_t iv = parseInt(str.substr(1), 16); // TODO(deanm): Stricter parsing. in parse() local 198 if (!(iv >= 0 && iv <= 0xfff)) { in parse() 202 static_cast<uint8_t>(((iv & 0xf00) >> 4) | ((iv & 0xf00) >> 8)), in parse() 203 static_cast<uint8_t>((iv & 0xf0) | ((iv & 0xf0) >> 4)), in parse() 204 static_cast<uint8_t>((iv & 0xf) | ((iv & 0xf) << 4)), in parse() 209 int64_t iv = parseInt(str.substr(1), 16); // TODO(deanm): Stricter parsing. in parse() local 210 if (!(iv >= 0 && iv <= 0xffffff)) { in parse() 214 static_cast<uint8_t>((iv & 0xff0000) >> 16), in parse() 215 static_cast<uint8_t>((iv & 0xff00) >> 8), in parse() 216 static_cast<uint8_t>(iv & 0xff), in parse()
|
| /OK3568_Linux_fs/external/security/librkcrypto/test/ |
| H A D | cmode_adapter.c | 9 uint8_t *key, uint32_t key_len, uint8_t *iv, in soft_cipher() argument 21 ret = rk_des_cbc_encrypt(in, out, in_len, key, key_len, iv, is_enc); in soft_cipher() 24 ret = rk_des_cfb_encrypt(in, out, in_len, key, key_len, iv, is_enc); in soft_cipher() 27 ret = rk_des_ofb_encrypt(in, out, in_len, key, key_len, iv, is_enc); in soft_cipher() 38 ret = rk_aes_cbc_encrypt(in, out, in_len, key, key_len, iv, is_enc); in soft_cipher() 41 ret = rk_aes_cfb_encrypt(in, out, in_len, key, key_len, iv, is_enc); in soft_cipher() 44 ret = rk_aes_ofb_encrypt(in, out, in_len, key, key_len, iv, is_enc); in soft_cipher() 47 ret = rk_aes_cts_encrypt(in, out, in_len, key, key_len, iv, is_enc); in soft_cipher() 50 ret = rk_aes_ctr_encrypt(in, out, in_len, key, key_len, iv, is_enc); in soft_cipher() 53 ret = rk_aes_xts_encrypt(in, out, in_len, key, key_len, iv, is_enc); in soft_cipher() [all …]
|
| /OK3568_Linux_fs/external/security/librkcrypto/demo/ |
| H A D | demo_cipher.c | 14 static uint8_t iv[16] = { variable 65 memcpy(config.iv, iv, sizeof(iv)); in demo_cipher() 92 memcpy(config.iv, iv, sizeof(iv)); in demo_cipher() 147 memcpy(config.iv, iv, sizeof(iv)); in demo_cipher_virt() 174 memcpy(config.iv, iv, sizeof(iv)); in demo_cipher_virt()
|
| H A D | demo_ae.c | 14 static uint8_t iv[12] = { variable 44 uint8_t *key, uint32_t key_len, uint8_t *iv, uint32_t iv_len, in set_ae_config() argument 47 if (!config || !key || !iv) in set_ae_config() 59 memcpy(config->iv, iv, iv_len); in set_ae_config() 103 res = set_ae_config(&config, algo, mode, RK_OP_CIPHER_ENC, key_0, sizeof(key_0), iv, in demo_ae() 104 sizeof(iv), sizeof(expected_tag), aad_len); in demo_ae() 151 memcpy(config.iv, iv, sizeof(iv)); in demo_ae() 209 res = set_ae_config(&config, algo, mode, RK_OP_CIPHER_ENC, key_0, sizeof(key_0), iv, in demo_ae_virt() 210 sizeof(iv), sizeof(expected_tag), sizeof(aad_in)); in demo_ae_virt() 255 memcpy(config.iv, iv, sizeof(iv)); in demo_ae_virt()
|
| /OK3568_Linux_fs/kernel/lib/crypto/ |
| H A D | chacha20poly1305.c | 39 u8 iv[CHACHA_IV_SIZE]; in xchacha_init() local 41 memset(iv, 0, 8); in xchacha_init() 42 memcpy(iv + 8, nonce + 16, 8); in xchacha_init() 50 chacha_init(chacha_state, k, iv); in xchacha_init() 53 memzero_explicit(iv, sizeof(iv)); in xchacha_init() 97 __le64 iv[2]; in chacha20poly1305_encrypt() local 101 iv[0] = 0; in chacha20poly1305_encrypt() 102 iv[1] = cpu_to_le64(nonce); in chacha20poly1305_encrypt() 104 chacha_init(chacha_state, k, (u8 *)iv); in chacha20poly1305_encrypt() 107 memzero_explicit(iv, sizeof(iv)); in chacha20poly1305_encrypt() [all …]
|
| /OK3568_Linux_fs/buildroot/package/ipmitool/ |
| H A D | 0002-ID-461-OpenSSL-1.1-compatibility-error-storage-size-.patch | 22 @@ -164,10 +164,10 @@ lanplus_encrypt_aes_cbc_128(const uint8_t * iv, 28 - EVP_EncryptInit_ex(&ctx, EVP_aes_128_cbc(), NULL, key, iv); 32 + EVP_EncryptInit_ex(ctx, EVP_aes_128_cbc(), NULL, key, iv); 37 @@ -191,7 +191,7 @@ lanplus_encrypt_aes_cbc_128(const uint8_t * iv, 46 @@ -201,7 +201,7 @@ lanplus_encrypt_aes_cbc_128(const uint8_t * iv, 55 @@ -210,7 +210,7 @@ lanplus_encrypt_aes_cbc_128(const uint8_t * iv, 64 @@ -239,10 +239,10 @@ lanplus_decrypt_aes_cbc_128(const uint8_t * iv, 70 - EVP_DecryptInit_ex(&ctx, EVP_aes_128_cbc(), NULL, key, iv); 74 + EVP_DecryptInit_ex(ctx, EVP_aes_128_cbc(), NULL, key, iv); 79 @@ -266,7 +266,7 @@ lanplus_decrypt_aes_cbc_128(const uint8_t * iv, [all …]
|
| H A D | 0005-ID-480-Call-EVP_CIPHER_CTX_free-instead-of-EVP_CIPHE.patch | 21 @@ -165,13 +165,6 @@ lanplus_encrypt_aes_cbc_128(const uint8_t * iv, 30 - EVP_EncryptInit_ex(ctx, EVP_aes_128_cbc(), NULL, key, iv); 35 @@ -185,6 +178,14 @@ lanplus_encrypt_aes_cbc_128(const uint8_t * iv, 45 + EVP_EncryptInit_ex(ctx, EVP_aes_128_cbc(), NULL, key, iv); 50 @@ -198,7 +199,6 @@ lanplus_encrypt_aes_cbc_128(const uint8_t * iv, 58 @@ -206,16 +206,17 @@ lanplus_encrypt_aes_cbc_128(const uint8_t * iv, 78 @@ -243,13 +244,6 @@ lanplus_decrypt_aes_cbc_128(const uint8_t * iv, 87 - EVP_DecryptInit_ex(ctx, EVP_aes_128_cbc(), NULL, key, iv); 92 @@ -258,12 +252,20 @@ lanplus_decrypt_aes_cbc_128(const uint8_t * iv, 108 + EVP_DecryptInit_ex(ctx, EVP_aes_128_cbc(), NULL, key, iv); [all …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/ccp/ |
| H A D | ccp-crypto-aes.c | 32 memcpy(req->iv, rctx->iv, AES_BLOCK_SIZE); in ccp_aes_complete() 83 if (!req->iv) in ccp_aes_crypt() 86 memcpy(rctx->iv, req->iv, AES_BLOCK_SIZE); in ccp_aes_crypt() 89 sg_init_one(iv_sg, rctx->iv, iv_len); in ccp_aes_crypt() 101 rctx->cmd.u.aes.iv = iv_sg; in ccp_aes_crypt() 141 req->iv = rctx->rfc3686_info; in ccp_aes_rfc3686_complete() 165 u8 *iv; in ccp_aes_rfc3686_crypt() local 168 iv = rctx->rfc3686_iv; in ccp_aes_rfc3686_crypt() 169 memcpy(iv, ctx->u.aes.nonce, CTR_RFC3686_NONCE_SIZE); in ccp_aes_rfc3686_crypt() 171 iv += CTR_RFC3686_NONCE_SIZE; in ccp_aes_rfc3686_crypt() [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-armhf/include/opencv2/core/ |
| H A D | saturate.hpp | 107 …ine uchar saturate_cast<uchar>(float v) { int iv = cvRound(v); return saturate_cast<uchar>(… in saturate_cast() local 108 …ine uchar saturate_cast<uchar>(double v) { int iv = cvRound(v); return saturate_cast<uchar>(… in saturate_cast() local 117 …ine schar saturate_cast<schar>(float v) { int iv = cvRound(v); return saturate_cast<schar>(… in saturate_cast() local 118 …ine schar saturate_cast<schar>(double v) { int iv = cvRound(v); return saturate_cast<schar>(… in saturate_cast() local 126 …ne ushort saturate_cast<ushort>(float v) { int iv = cvRound(v); return saturate_cast<ushort>(… in saturate_cast() local 127 …ne ushort saturate_cast<ushort>(double v) { int iv = cvRound(v); return saturate_cast<ushort>(… in saturate_cast() local 134 …ine short saturate_cast<short>(float v) { int iv = cvRound(v); return saturate_cast<short>(… in saturate_cast() local 135 …ine short saturate_cast<short>(double v) { int iv = cvRound(v); return saturate_cast<short>(… in saturate_cast() local
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/core/ |
| H A D | saturate.hpp | 107 …ine uchar saturate_cast<uchar>(float v) { int iv = cvRound(v); return saturate_cast<uchar>(… in saturate_cast() local 108 …ine uchar saturate_cast<uchar>(double v) { int iv = cvRound(v); return saturate_cast<uchar>(… in saturate_cast() local 117 …ine schar saturate_cast<schar>(float v) { int iv = cvRound(v); return saturate_cast<schar>(… in saturate_cast() local 118 …ine schar saturate_cast<schar>(double v) { int iv = cvRound(v); return saturate_cast<schar>(… in saturate_cast() local 126 …ne ushort saturate_cast<ushort>(float v) { int iv = cvRound(v); return saturate_cast<ushort>(… in saturate_cast() local 127 …ne ushort saturate_cast<ushort>(double v) { int iv = cvRound(v); return saturate_cast<ushort>(… in saturate_cast() local 134 …ine short saturate_cast<short>(float v) { int iv = cvRound(v); return saturate_cast<short>(… in saturate_cast() local 135 …ine short saturate_cast<short>(double v) { int iv = cvRound(v); return saturate_cast<short>(… in saturate_cast() local
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/OpenCV-android-sdk/sdk/native/jni/include/opencv2/core/ |
| H A D | saturate.hpp | 107 …ine uchar saturate_cast<uchar>(float v) { int iv = cvRound(v); return saturate_cast<uchar>(… in saturate_cast() local 108 …ine uchar saturate_cast<uchar>(double v) { int iv = cvRound(v); return saturate_cast<uchar>(… in saturate_cast() local 117 …ine schar saturate_cast<schar>(float v) { int iv = cvRound(v); return saturate_cast<schar>(… in saturate_cast() local 118 …ine schar saturate_cast<schar>(double v) { int iv = cvRound(v); return saturate_cast<schar>(… in saturate_cast() local 126 …ne ushort saturate_cast<ushort>(float v) { int iv = cvRound(v); return saturate_cast<ushort>(… in saturate_cast() local 127 …ne ushort saturate_cast<ushort>(double v) { int iv = cvRound(v); return saturate_cast<ushort>(… in saturate_cast() local 134 …ine short saturate_cast<short>(float v) { int iv = cvRound(v); return saturate_cast<short>(… in saturate_cast() local 135 …ine short saturate_cast<short>(double v) { int iv = cvRound(v); return saturate_cast<short>(… in saturate_cast() local
|