Home
last modified time | relevance | path

Searched refs:max_out (Results 1 – 25 of 50) sorted by relevance

12

/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_render_t.c158 unsigned max_out; in get_max_vertices() local
163 max_out = MAX_OUT_I32; in get_max_vertices()
167 max_out = MAX_OUT_I16; in get_max_vertices()
171 max_out = MAX_OUT_I16; in get_max_vertices()
176 max_out = 0; in get_max_vertices()
180 max_out = MAX_OUT_L; in get_max_vertices()
183 return MAX2(0, n - 7) * max_out * MAX_PACKET / (1 + MAX_PACKET); in get_max_vertices()
/external/icu/icu4c/source/test/intltest/
Dpunyref.cpp135 punycode_uint n, delta, h, b, out, max_out, bias, j, m, q, k, t; in punycode_encode() local
141 max_out = *output_length; in punycode_encode()
148 if (max_out - out < 2) return punycode_big_output; in punycode_encode()
193 if (out >= max_out) return punycode_big_output; in punycode_encode()
224 punycode_uint n, out, i, max_out, bias, in punycode_decode() local
231 max_out = *output_length; in punycode_decode()
239 if (b > max_out) return punycode_big_output; in punycode_decode()
286 if (out >= max_out) return punycode_big_output; in punycode_decode()
/external/boringssl/src/crypto/fipsmodule/rsa/
Dinternal.h76 size_t max_out, const uint8_t *in, size_t in_len,
78 int rsa_default_decrypt(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out,
95 size_t max_out, const uint8_t *from,
100 size_t max_out, const uint8_t *from,
103 size_t max_out, const uint8_t *from,
Drsa.c284 int RSA_sign_raw(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out, in RSA_sign_raw() argument
287 return rsa->meth->sign_raw(rsa, out_len, out, max_out, in, in_len, padding); in RSA_sign_raw()
290 return rsa_default_sign_raw(rsa, out_len, out, max_out, in, in_len, padding); in RSA_sign_raw()
308 int RSA_decrypt(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out, in RSA_decrypt() argument
311 return rsa->meth->decrypt(rsa, out_len, out, max_out, in, in_len, padding); in RSA_decrypt()
314 return rsa_default_decrypt(rsa, out_len, out, max_out, in, in_len, padding); in RSA_decrypt()
534 int RSA_sign_pss_mgf1(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out, in RSA_sign_pss_mgf1() argument
551 RSA_sign_raw(rsa, out_len, out, max_out, padded, padded_len, in RSA_sign_pss_mgf1()
Dpadding.c97 size_t max_out, const uint8_t *from, in RSA_padding_check_PKCS1_type_1() argument
138 if (from_len - pad > max_out) { in RSA_padding_check_PKCS1_type_1()
191 size_t max_out, const uint8_t *from, in RSA_padding_check_PKCS1_type_2() argument
245 if (msg_len > max_out) { in RSA_padding_check_PKCS1_type_2()
388 size_t max_out, const uint8_t *from, in RSA_padding_check_PKCS1_OAEP_mgf1() argument
465 if (max_out < mlen) { in RSA_padding_check_PKCS1_OAEP_mgf1()
Drsa_impl.c253 int RSA_encrypt(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out, in RSA_encrypt() argument
266 if (max_out < rsa_size) { in RSA_encrypt()
456 size_t max_out, const uint8_t *in, size_t in_len, in rsa_default_sign_raw() argument
462 if (max_out < rsa_size) { in rsa_default_sign_raw()
503 int rsa_default_decrypt(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out, in rsa_default_decrypt() argument
509 if (max_out < rsa_size) { in rsa_default_decrypt()
570 int RSA_verify_raw(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out, in RSA_verify_raw() argument
580 if (max_out < rsa_size) { in RSA_verify_raw()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DPunycodeReference.java142 int delta, h, b, out, max_out, bias, j, q, k, t; in encode() local
148 max_out = output_length[0]; in encode()
155 if (max_out - out < 2) return punycode_big_output; in encode()
200 if (out >= max_out) return punycode_big_output; in encode()
302 int n, out, i, max_out, bias, in decode() local
309 max_out = output_length[0]; in decode()
321 if (b > max_out) return punycode_big_output; in decode()
368 if (out >= max_out) return punycode_big_output; in decode()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
DPunycodeReference.java145 int delta, h, b, out, max_out, bias, j, q, k, t; in encode() local
151 max_out = output_length[0]; in encode()
158 if (max_out - out < 2) return punycode_big_output; in encode()
203 if (out >= max_out) return punycode_big_output; in encode()
305 int n, out, i, max_out, bias, in decode() local
312 max_out = output_length[0]; in decode()
324 if (b > max_out) return punycode_big_output; in decode()
371 if (out >= max_out) return punycode_big_output; in decode()
/external/boringssl/src/ssl/
Dd1_both.cc636 size_t *out_len, size_t max_out, in seal_next_message() argument
655 if (max_out < sizeof(kChangeCipherSpec) + overhead) { in seal_next_message()
659 if (!dtls_seal_record(ssl, out, out_len, max_out, in seal_next_message()
685 if (max_out < DTLS1_HM_HEADER_LENGTH + 1 + overhead || max_out < prefix) { in seal_next_message()
689 if (todo > max_out - DTLS1_HM_HEADER_LENGTH - overhead) { in seal_next_message()
690 todo = max_out - DTLS1_HM_HEADER_LENGTH - overhead; in seal_next_message()
696 size_t max_frag = max_out - prefix, frag_len; in seal_next_message()
712 if (!dtls_seal_record(ssl, out, out_len, max_out, SSL3_RT_HANDSHAKE, in seal_next_message()
731 size_t max_out) { in seal_next_packet() argument
740 enum seal_result_t ret = seal_next_message(ssl, out, &len, max_out, msg); in seal_next_packet()
[all …]
Ds3_pkt.cc245 size_t max_out = flight_len; in do_ssl3_write() local
248 if (max_ciphertext_len < len || max_out + max_ciphertext_len < max_out) { in do_ssl3_write()
252 max_out += max_ciphertext_len; in do_ssl3_write()
255 if (max_out == 0) { in do_ssl3_write()
259 if (!buf->EnsureCap(flight_len + ssl_seal_align_prefix_len(ssl), max_out)) { in do_ssl3_write()
Ddtls_record.cc294 bool dtls_seal_record(SSL *ssl, uint8_t *out, size_t *out_len, size_t max_out, in dtls_seal_record() argument
298 if (buffers_alias(in, in_len, out, max_out) && in dtls_seal_record()
299 (max_out < prefix || out + prefix != in)) { in dtls_seal_record()
315 if (max_out < DTLS1_RT_HEADER_LENGTH) { in dtls_seal_record()
341 max_out - DTLS1_RT_HEADER_LENGTH, type, record_version, in dtls_seal_record()
Dssl_privkey.cc201 SSL_HANDSHAKE *hs, uint8_t *out, size_t *out_len, size_t max_out, in ssl_private_key_sign() argument
214 ret = key_method->complete(ssl, out, out_len, max_out); in ssl_private_key_sign()
216 ret = key_method->sign(ssl, out, out_len, max_out, in ssl_private_key_sign()
226 *out_len = max_out; in ssl_private_key_sign()
247 size_t max_out, in ssl_private_key_decrypt() argument
253 ret = hs->config->cert->key_method->complete(ssl, out, out_len, max_out); in ssl_private_key_decrypt()
255 ret = hs->config->cert->key_method->decrypt(ssl, out, out_len, max_out, in ssl_private_key_decrypt()
274 if (!RSA_decrypt(rsa, out_len, out, max_out, in.data(), in.size(), in ssl_private_key_decrypt()
Dssl_session.cc545 const size_t max_out = session_len + max_overhead; in ssl_encrypt_ticket_with_method() local
546 if (max_out < max_overhead) { in ssl_encrypt_ticket_with_method()
552 if (!CBB_reserve(out, &ptr, max_out)) { in ssl_encrypt_ticket_with_method()
557 if (!method->seal(ssl, ptr, &out_len, max_out, session_buf, in ssl_encrypt_ticket_with_method()
946 size_t max_out) { in SSL_SESSION_get_master_key() argument
948 if (max_out == 0) { in SSL_SESSION_get_master_key()
951 if (max_out > (size_t)session->master_key_length) { in SSL_SESSION_get_master_key()
952 max_out = (size_t)session->master_key_length; in SSL_SESSION_get_master_key()
954 OPENSSL_memcpy(out, session->master_key, max_out); in SSL_SESSION_get_master_key()
955 return max_out; in SSL_SESSION_get_master_key()
Ds3_both.cc149 size_t max_out = in.size() + SSL_max_seal_overhead(ssl); in add_record_to_flight() local
150 size_t new_cap = ssl->s3->pending_flight->length + max_out; in add_record_to_flight()
151 if (max_out < in.size() || new_cap < max_out) { in add_record_to_flight()
161 &len, max_out, type, in.data(), in.size())) { in add_record_to_flight()
Dssl_lib.cc1462 size_t max_out) { in SSL_get_tls_unique() argument
1464 OPENSSL_memset(out, 0, max_out); in SSL_get_tls_unique()
1487 if (finished_len > max_out) { in SSL_get_tls_unique()
1488 *out_len = max_out; in SSL_get_tls_unique()
2279 size_t SSL_get_tls_channel_id(SSL *ssl, uint8_t *out, size_t max_out) { in SSL_get_tls_channel_id() argument
2283 OPENSSL_memcpy(out, ssl->s3->channel_id, (max_out < 64) ? max_out : 64); in SSL_get_tls_channel_id()
2759 size_t SSL_get_client_random(const SSL *ssl, uint8_t *out, size_t max_out) { in SSL_get_client_random() argument
2760 if (max_out == 0) { in SSL_get_client_random()
2763 if (max_out > sizeof(ssl->s3->client_random)) { in SSL_get_client_random()
2764 max_out = sizeof(ssl->s3->client_random); in SSL_get_client_random()
[all …]
/external/tensorflow/tensorflow/contrib/seq2seq/python/kernel_tests/
Ddecoder_v2_test.py45 max_out = max(sequence_length)
88 time_steps = max_out
91 time_steps = min(max_out, maximum_iterations)
122 max_out = max(sequence_length)
155 eval_result["final_rnn_outputs"][:, 0:max_out, :])
Ddecoder_test.py44 max_out = max(sequence_length)
93 time_steps = max_out
96 time_steps = min(max_out, maximum_iterations)
126 max_out = max(sequence_length)
167 sess_results["final_rnn_outputs"][:, 0:max_out, :])
/external/boringssl/src/include/openssl/
Drsa.h203 size_t max_out, const uint8_t *in, size_t in_len,
222 size_t max_out, const uint8_t *in, size_t in_len,
284 size_t max_out, const uint8_t *in,
299 size_t max_out, const uint8_t *in,
345 size_t max_out, const uint8_t *in,
637 int (*sign_raw)(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out,
639 int (*decrypt)(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out,
Dbase64.h104 size_t max_out, const uint8_t *in,
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_program.c130 prog->max_out = n; in nv50_vertprog_assign_slots()
131 if (!prog->max_out) in nv50_vertprog_assign_slots()
132 prog->max_out = 1; in nv50_vertprog_assign_slots()
232 prog->max_out = MAX2(prog->max_out, prog->out[i].hw + 4); in nv50_fragprog_assign_slots()
236 info->out[info->io.sampleMask].slot[0] = prog->max_out++; in nv50_fragprog_assign_slots()
241 info->out[info->io.fragDepth].slot[2] = prog->max_out++; in nv50_fragprog_assign_slots()
243 if (!prog->max_out) in nv50_fragprog_assign_slots()
244 prog->max_out = 4; in nv50_fragprog_assign_slots()
/external/boringssl/src/crypto/cipher_extra/
Dcipher_test.cc122 size_t max_out = in.size(); in DoCipher() local
126 max_out += block_size - (max_out % block_size); in DoCipher()
128 out->resize(max_out); in DoCipher()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dfreeze_requantization_ranges_test.cc88 quantized_bias_add_op.max_out); in TestFreezeRequantizationRanges()
92 quantized_bias_add_op.min_out, quantized_bias_add_op.max_out, in TestFreezeRequantizationRanges()
/external/boringssl/src/crypto/pkcs8/
Dpkcs8.c501 size_t max_out = plaintext_len + EVP_CIPHER_CTX_block_size(&ctx); in PKCS8_marshal_encrypted_private_key() local
502 if (max_out < plaintext_len) { in PKCS8_marshal_encrypted_private_key()
511 !CBB_reserve(&ciphertext, &ptr, max_out) || in PKCS8_marshal_encrypted_private_key()
/external/boringssl/src/tool/
Dtransport_common.cc421 bool ReadStdin(void *out, size_t *out_len, size_t max_out) { in ReadStdin() argument
424 n = read(STDIN_FILENO, out, max_out); in ReadStdin()
583 bool ReadStdin(void *out, size_t *out_len, size_t max_out) { in ReadStdin() argument
600 *out_len = std::min(max_out, stdin_->buffer.size()); in ReadStdin()
/external/libopus/tests/
Dtest_opus_api.c1443 #define max_out (1276*48+48*2+2) macro
1454 packet=malloc(max_out); in test_repacketizer_api()
1456 memset(packet,0,max_out); in test_repacketizer_api()
1457 po=malloc(max_out+256); in test_repacketizer_api()
1548 ret=opus_repacketizer_out_range(rp,0,rcnt*i,po,max_out); in test_repacketizer_api()
1600 i=opus_repacketizer_out(rp,po,max_out); in test_repacketizer_api()
1603 i=opus_repacketizer_out_range(rp,0,1,po,max_out); in test_repacketizer_api()
1606 i=opus_repacketizer_out_range(rp,1,2,po,max_out); in test_repacketizer_api()
1618 i=opus_repacketizer_out(rp,po,max_out); in test_repacketizer_api()
1630 i=opus_repacketizer_out(rp,po,max_out); in test_repacketizer_api()
[all …]

12