Home
last modified time | relevance | path

Searched refs:num_trials (Results 1 – 13 of 13) sorted by relevance

/external/srtp/test/
Droc_driver.c61 roc_test(int num_trials);
85 roc_test(int num_trials) { in roc_test() argument
111 failure_rate = (double) num_bad_est / num_trials; in roc_test()
114 num_bad_est, num_trials); in roc_test()
126 for (i=0; i < num_trials; i++) { in roc_test()
156 failure_rate = (double) num_bad_est / num_trials; in roc_test()
159 num_bad_est, num_trials); in roc_test()
Drdbx_driver.c58 test_replay_dbx(int num_trials, unsigned long ws);
61 rdbx_check_adds_per_second(int num_trials, unsigned long ws);
212 test_replay_dbx(int num_trials, unsigned long ws) { in test_replay_dbx() argument
229 for (idx=0; idx < (uint32_t)num_trials; idx++) { in test_replay_dbx()
243 num_fp_trials = num_trials % 0x10000; in test_replay_dbx()
272 for (idx=0; idx < (uint32_t)num_trials; idx++) { in test_replay_dbx()
313 rdbx_check_adds_per_second(int num_trials, unsigned long ws) { in rdbx_check_adds_per_second() argument
328 for(i=0; i < (uint32_t)num_trials; i++) { in rdbx_check_adds_per_second()
344 return (double) CLOCKS_PER_SEC * num_trials / timer; in rdbx_check_adds_per_second()
Dreplay_driver.c56 unsigned num_trials = 1 << 16; variable
142 for (idx=0; idx < num_trials; idx++) { in test_rdb_db()
149 for (idx=0; idx < num_trials; idx++) { in test_rdb_db()
164 for (idx=0; idx < num_trials; idx++) { in test_rdb_db()
Dsrtp_driver.c99 mips_estimate(int num_trials, int *ignore);
466 int num_trials = 100000; in srtp_bits_per_second() local
497 for (i=0; i < num_trials; i++) { in srtp_bits_per_second()
517 num_trials * CLOCKS_PER_SEC / timer; in srtp_bits_per_second()
527 int num_trials = 1000000; in srtp_rejections_per_second() local
548 for (i=0; i < num_trials; i++) { in srtp_rejections_per_second()
556 return (double) num_trials * CLOCKS_PER_SEC / timer; in srtp_rejections_per_second()
1120 mips_estimate(int num_trials, int *ignore) { in mips_estimate() argument
1126 for (i=0; i<num_trials; i++) in mips_estimate()
1133 return (double) num_trials * CLOCKS_PER_SEC / t; in mips_estimate()
/external/srtp/crypto/test/
Dcipher_driver.c85 unsigned octets_in_buffer, int num_trials);
228 int num_trials = 100000; in cipher_driver_test_throughput() local
234 i, cipher_bits_per_second(c, i, num_trials) / 1e9); in cipher_driver_test_throughput()
261 int i, j, num_trials = 1000; in cipher_driver_test_buffering() local
273 for (i=0; i < num_trials; i++) { in cipher_driver_test_buffering()
421 unsigned octets_in_buffer, int num_trials) { in cipher_array_bits_per_second() argument
436 for(i=0; i < num_trials; i++, nonce.v32[3] = i) { in cipher_array_bits_per_second()
454 return CLOCKS_PER_SEC * num_trials * 8 * octets_in_buffer / timer; in cipher_array_bits_per_second()
462 int num_trials = 10000; in cipher_array_test_throughput() local
469 cipher_array_bits_per_second(ca, num_cipher, i, num_trials) / 1e9); in cipher_array_test_throughput()
Dstat_driver.c47 int num_trials = 500; in main() local
85 for(j=0; j < num_trials; j++) { in main()
96 printf("%d failures in %d tests\n", num_fail, num_trials); in main()
/external/srtp/googlepatches/
Dgoogle-11-srtp-replay-fix.patch44 - for (idx=0; idx < num_trials; idx++) {
45 + for (idx=0; idx < (uint32_t)num_trials; idx++) {
62 - for (idx=0; idx < num_trials; idx++) {
63 + for (idx=0; idx < (uint32_t)num_trials; idx++) {
98 - for(i=0; i < num_trials; i++) {
99 + for(i=0; i < (uint32_t)num_trials; i++) {
105 return (double) CLOCKS_PER_SEC * num_trials / timer;
Dvidyo-3-srtp-ws.patch673 -test_replay_dbx(int num_trials);
674 +test_replay_dbx(int num_trials, unsigned long ws);
677 -rdbx_check_adds_per_second(int num_trials);
678 +rdbx_check_adds_per_second(int num_trials, unsigned long ws);
736 -test_replay_dbx(int num_trials) {
737 +test_replay_dbx(int num_trials, unsigned long ws) {
749 @@ -241,7 +253,9 @@ test_replay_dbx(int num_trials) {
760 @@ -263,6 +277,8 @@ test_replay_dbx(int num_trials) {
769 @@ -272,7 +288,7 @@ test_replay_dbx(int num_trials) {
773 -rdbx_check_adds_per_second(int num_trials) {
[all …]
/external/srtp/crypto/cipher/
Dcipher.c379 cipher_bits_per_second(cipher_t *c, int octets_in_buffer, int num_trials) { in cipher_bits_per_second() argument
393 for(i=0; i < num_trials; i++, nonce.v32[3] = i) { in cipher_bits_per_second()
406 return (uint64_t)CLOCKS_PER_SEC * num_trials * 8 * octets_in_buffer / timer; in cipher_bits_per_second()
/external/srtp/crypto/include/
Dstat.h67 stat_test_rand_source_with_repetition(rand_source_func_t source, unsigned num_trials);
Dcipher.h216 cipher_bits_per_second(cipher_t *c, int octets_in_buffer, int num_trials);
/external/srtp/crypto/math/
Dstat.c354 stat_test_rand_source_with_repetition(rand_source_func_t source, unsigned num_trials) { in stat_test_rand_source_with_repetition() argument
358 for (i=0; i < num_trials; i++) { in stat_test_rand_source_with_repetition()
/external/openssh/
Dssh-keygen.022 ssh-keygen -T output_file -f input_file [-v] [-a num_trials]