/external/libxml2/ |
D | encoding.c | 173 asciiToUTF8(unsigned char* out, int *outlen, in asciiToUTF8() argument 178 unsigned char* outend = out + *outlen; in asciiToUTF8() 183 while ((in < inend) && (out - outstart + 5 < *outlen)) { in asciiToUTF8() 191 *outlen = out - outstart; in asciiToUTF8() 198 *outlen = out - outstart; in asciiToUTF8() 200 return(*outlen); in asciiToUTF8() 220 UTF8Toascii(unsigned char* out, int *outlen, in UTF8Toascii() argument 230 if ((out == NULL) || (outlen == NULL) || (inlen == NULL)) return(-1); in UTF8Toascii() 235 *outlen = 0; in UTF8Toascii() 240 outend = out + (*outlen); in UTF8Toascii() [all …]
|
D | testHTML.c | 380 int outlen, attlen; in startElementDebug() local 383 outlen = sizeof output - 1; in startElementDebug() 384 htmlEncodeEntities(output, &outlen, att, &attlen, '\''); in startElementDebug() 385 output[outlen] = 0; in startElementDebug() 422 int inlen = len, outlen = 30; in charactersDebug() local 424 htmlEncodeEntities(output, &outlen, ch, &inlen, 0); in charactersDebug() 425 output[outlen] = 0; in charactersDebug() 443 int inlen = len, outlen = 30; in cdataDebug() local 445 htmlEncodeEntities(output, &outlen, ch, &inlen, 0); in cdataDebug() 446 output[outlen] = 0; in cdataDebug()
|
/external/boringssl/src/crypto/x509/ |
D | a_strex.c | 166 int i, outlen, len; in do_buf() local 171 outlen = 0; in do_buf() 213 outlen += len; in do_buf() 218 outlen += len; in do_buf() 221 return outlen; in do_buf() 257 int outlen, der_len; in do_dump() local 262 outlen = do_hex_dump(io_ch, arg, str->data, str->length); in do_dump() 263 if(outlen < 0) return -1; in do_dump() 264 return outlen + 1; in do_dump() 273 outlen = do_hex_dump(io_ch, arg, der_buf, der_len); in do_dump() [all …]
|
/external/protobuf/src/google/protobuf/testing/ |
D | zcgzip.cc | 60 int outlen; in main() local 63 ok = out.Next(&outptr, &outlen); in main() 67 } while (outlen <= 0); in main() 68 readlen = read(STDIN_FILENO, outptr, outlen); in main() 70 out.BackUp(outlen); in main() 73 if (readlen < outlen) { in main() 74 out.BackUp(outlen - readlen); in main()
|
/external/squashfs-tools/squashfs-tools/ |
D | lzma_wrapper.c | 37 outlen = block_size - LZMA_HEADER_SIZE; in lzma_compress() local 40 res = LzmaCompress(dest + LZMA_HEADER_SIZE, &outlen, src, size, dest, in lzma_compress() 78 return outlen + LZMA_HEADER_SIZE; in lzma_compress() 86 size_t outlen, inlen = size - LZMA_HEADER_SIZE; in lzma_uncompress() local 89 outlen = s[LZMA_PROPS_SIZE] | in lzma_uncompress() 94 if(outlen > outsize) { in lzma_uncompress() 99 res = LzmaUncompress(dest, &outlen, src + LZMA_HEADER_SIZE, &inlen, src, in lzma_uncompress() 103 return outlen; in lzma_uncompress()
|
/external/boringssl/src/crypto/ecdh/ |
D | ecdh.c | 77 int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, in ECDH_compute_key() argument 79 void *out, size_t *outlen)) { in ECDH_compute_key() argument 133 if (KDF(buf, buflen, out, &outlen) == NULL) { in ECDH_compute_key() 137 ret = outlen; in ECDH_compute_key() 140 if (outlen > buflen) { in ECDH_compute_key() 141 outlen = buflen; in ECDH_compute_key() 143 memcpy(out, buf, outlen); in ECDH_compute_key() 144 ret = outlen; in ECDH_compute_key()
|
/external/wpa_supplicant_8/src/tls/ |
D | pkcs1.c | 20 u8 *out, size_t *outlen) in pkcs1_generate_encryption_block() argument 35 if (modlen < 12 || modlen > *outlen || inlen > modlen - 11) { in pkcs1_generate_encryption_block() 39 (unsigned long) *outlen, in pkcs1_generate_encryption_block() 83 u8 *out, size_t *outlen) in pkcs1_encrypt() argument 90 out, outlen) < 0) in pkcs1_encrypt() 93 return crypto_rsa_exptmod(out, modlen, out, outlen, key, use_private); in pkcs1_encrypt() 99 u8 *out, size_t *outlen) in pkcs1_v15_private_key_decrypt() argument 104 res = crypto_rsa_exptmod(in, inlen, out, outlen, key, 1); in pkcs1_v15_private_key_decrypt() 108 if (*outlen < 2 || out[0] != 0 || out[1] != 2) in pkcs1_v15_private_key_decrypt() 113 end = out + *outlen; in pkcs1_v15_private_key_decrypt() [all …]
|
D | pkcs1.h | 17 u8 *out, size_t *outlen); 20 u8 *out, size_t *outlen);
|
D | tlsv1_server_read.c | 488 size_t outlen, outbuflen; in tls_process_client_key_exchange_rsa() local 509 outbuflen = outlen = end - pos; in tls_process_client_key_exchange_rsa() 510 out = os_malloc(outlen >= TLS_PRE_MASTER_SECRET_LEN ? in tls_process_client_key_exchange_rsa() 511 outlen : TLS_PRE_MASTER_SECRET_LEN); in tls_process_client_key_exchange_rsa() 538 out, &outlen) < 0) { in tls_process_client_key_exchange_rsa() 541 encr_len, (unsigned long) outlen); in tls_process_client_key_exchange_rsa() 545 if (!use_random && outlen != TLS_PRE_MASTER_SECRET_LEN) { in tls_process_client_key_exchange_rsa() 547 (unsigned long) outlen); in tls_process_client_key_exchange_rsa() 559 outlen = TLS_PRE_MASTER_SECRET_LEN; in tls_process_client_key_exchange_rsa() 560 if (os_get_random(out, outlen)) { in tls_process_client_key_exchange_rsa() [all …]
|
/external/boringssl/src/crypto/asn1/ |
D | a_mbstr.c | 97 int outform, outlen = 0; in ASN1_mbstring_ncopy() local 211 outlen = nchar; in ASN1_mbstring_ncopy() 216 outlen = nchar << 1; in ASN1_mbstring_ncopy() 221 outlen = nchar << 2; in ASN1_mbstring_ncopy() 226 outlen = 0; in ASN1_mbstring_ncopy() 227 traverse_string(in, len, inform, out_utf8, &outlen); in ASN1_mbstring_ncopy() 231 if(!(p = OPENSSL_malloc(outlen + 1))) { in ASN1_mbstring_ncopy() 236 dest->length = outlen; in ASN1_mbstring_ncopy() 238 p[outlen] = 0; in ASN1_mbstring_ncopy() 296 int *outlen; in out_utf8() local [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fDebugTests.cpp | 1648 int outlen = 0; in iterate() local 1715 gl.getObjectLabel(m_identifier, object, sizeof(buffer), &outlen, buffer); in iterate() 1717 if (outlen == 0) in iterate() 1791 int outlen = 0; in iterate() local 1799 gl.getObjectPtrLabel(sync, sizeof(buffer), &outlen, buffer); in iterate() 1801 if (outlen == 0) in iterate() 1841 int outlen; in iterate() local 1854 outlen = -1; in iterate() 1855 gl.getObjectLabel(GL_SHADER, shader, sizeof(buffer), &outlen, buffer); in iterate() 1858 if (outlen != 0) in iterate() [all …]
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_internal-rsa.c | 74 u8 *out, size_t *outlen) in crypto_public_key_encrypt_pkcs1_v15() argument 77 0, in, inlen, out, outlen); in crypto_public_key_encrypt_pkcs1_v15() 83 u8 *out, size_t *outlen) in crypto_private_key_decrypt_pkcs1_v15() argument 86 in, inlen, out, outlen); in crypto_private_key_decrypt_pkcs1_v15() 92 u8 *out, size_t *outlen) in crypto_private_key_sign_pkcs1() argument 95 1, in, inlen, out, outlen); in crypto_private_key_sign_pkcs1()
|
D | sha256-kdf.c | 31 u8 *out, size_t outlen) in hmac_sha256_kdf() argument 53 clen = outlen - pos; in hmac_sha256_kdf() 59 if (pos == outlen) in hmac_sha256_kdf() 63 os_memset(out, 0, outlen); in hmac_sha256_kdf() 71 os_memset(out, 0, outlen); in hmac_sha256_kdf()
|
D | sha256-tlsprf.c | 30 const u8 *seed, size_t seed_len, u8 *out, size_t outlen) in tls_prf_sha256() argument 56 while (pos < outlen) { in tls_prf_sha256() 60 clen = outlen - pos; in tls_prf_sha256()
|
D | crypto_libtomcrypt.c | 488 u8 *out, size_t *outlen) in pkcs1_generate_encryption_block() argument 503 if (modlen < 12 || modlen > *outlen || inlen > modlen - 11) { in pkcs1_generate_encryption_block() 507 (unsigned long) *outlen, in pkcs1_generate_encryption_block() 551 u8 *out, size_t *outlen) in crypto_rsa_encrypt_pkcs1() argument 559 out, outlen) < 0) in crypto_rsa_encrypt_pkcs1() 562 len = *outlen; in crypto_rsa_encrypt_pkcs1() 569 *outlen = len; in crypto_rsa_encrypt_pkcs1() 577 u8 *out, size_t *outlen) in crypto_public_key_encrypt_pkcs1_v15() argument 580 out, outlen); in crypto_public_key_encrypt_pkcs1_v15() 586 u8 *out, size_t *outlen) in crypto_private_key_sign_pkcs1() argument [all …]
|
D | sha256.h | 25 u8 *out, size_t outlen); 28 u8 *out, size_t outlen);
|
/external/fonttools/Lib/fontTools/misc/ |
D | fixedTools.py | 41 outlen = len(out) 42 if outlen < length: 43 out.append(max(lo[outlen], hi[outlen]))
|
/external/boringssl/src/crypto/evp/ |
D | p_rsa.c | 259 static int pkey_rsa_encrypt(EVP_PKEY_CTX *ctx, uint8_t *out, size_t *outlen, in pkey_rsa_encrypt() argument 266 *outlen = key_len; in pkey_rsa_encrypt() 270 if (*outlen < key_len) { in pkey_rsa_encrypt() 280 !RSA_encrypt(rsa, outlen, out, *outlen, rctx->tbuf, key_len, in pkey_rsa_encrypt() 287 return RSA_encrypt(rsa, outlen, out, *outlen, in, inlen, rctx->pad_mode); in pkey_rsa_encrypt() 291 size_t *outlen, const uint8_t *in, in pkey_rsa_decrypt() argument 298 *outlen = key_len; in pkey_rsa_decrypt() 302 if (*outlen < key_len) { in pkey_rsa_decrypt() 323 *outlen = message_len; in pkey_rsa_decrypt() 327 return RSA_decrypt(rsa, outlen, out, key_len, in, inlen, rctx->pad_mode); in pkey_rsa_decrypt()
|
/external/libxml2/include/libxml/ |
D | encoding.h | 101 typedef int (* xmlCharEncodingInputFunc)(unsigned char *out, int *outlen, 123 typedef int (* xmlCharEncodingOutputFunc)(unsigned char *out, int *outlen, 227 int *outlen, 233 int *outlen,
|
/external/sqlite/android/ |
D | PhoneNumberUtilsTest.cpp | 63 int outlen; \ 68 &outlen); \ 69 out[outlen] = 0; \
|
/external/ppp/pppd/ |
D | upap.c | 554 int outlen; local 556 outlen = UPAP_HEADERLEN + 2 * sizeof (u_char) + 564 PUTSHORT(outlen, outp); 571 output(u->us_unit, outpacket_buf, outlen + PPP_HDRLEN); 590 int outlen; local 592 outlen = UPAP_HEADERLEN + sizeof (u_char) + msglen; 598 PUTSHORT(outlen, outp); 601 output(u->us_unit, outpacket_buf, outlen + PPP_HDRLEN);
|
/external/vboot_reference/cgpt/ |
D | cgpt_show.c | 32 int i, outlen = 0; in RawDump() local 33 buf[outlen++] = '['; in RawDump() 36 buf[outlen++] = c2 >> 8; in RawDump() 37 buf[outlen++] = c2 & 0xff; in RawDump() 39 buf[outlen++] = '-'; in RawDump() 41 buf[outlen++] = ']'; in RawDump() 42 buf[outlen++] = '\0'; in RawDump()
|
/external/boringssl/src/include/openssl/ |
D | ecdh.h | 88 OPENSSL_EXPORT int ECDH_compute_key(void *out, size_t outlen, 91 void *out, size_t *outlen));
|
/external/boringssl/src/crypto/rsa/ |
D | padding.c | 331 unsigned outlen = 0; in PKCS1_MGF1() local 342 for (i = 0; outlen < len; i++) { in PKCS1_MGF1() 352 if (outlen + mdlen <= len) { in PKCS1_MGF1() 353 if (!EVP_DigestFinal_ex(&c, mask + outlen, NULL)) { in PKCS1_MGF1() 356 outlen += mdlen; in PKCS1_MGF1() 361 memcpy(mask + outlen, md, len - outlen); in PKCS1_MGF1() 362 outlen = len; in PKCS1_MGF1()
|
/external/zlib/src/contrib/puff/ |
D | puff.c | 101 unsigned long outlen; /* available space at out */ member 185 if (s->outcnt + len > s->outlen) in stored() 466 if (s->outcnt == s->outlen) in codes() 491 if (s->outcnt + len > s->outlen) in codes() 804 s.outlen = *destlen; /* ignored if dest is NIL */ in puff()
|