/freebsd/crypto/openssl/crypto/bn/ |
H A D | rsaz_exp.c | 64 unsigned char *a_inv, *m, *result; 72 result = p_str; 77 result = p_str + 320; 89 rsaz_1024_mul_avx2(result, R2, one, m, k0); 93 rsaz_1024_scatter5_avx2(table_s, result, 0); 97 rsaz_1024_sqr_avx2(result, a_inv, m, k0, 1); 98 rsaz_1024_scatter5_avx2(table_s, result, 2); 102 rsaz_1024_mul_avx2(result, result, a_inv, m, k0); 103 rsaz_1024_scatter5_avx2(table_s, result, index); 107 rsaz_1024_sqr_avx2(result, result, m, k0, 1); [all …]
|
/freebsd/contrib/libcbor/src/cbor/ |
H A D | streaming.c | 12 struct cbor_decoder_result *result) { in claim_bytes() argument 13 if (required > (provided - result->read)) { in claim_bytes() 14 result->required = required + result->read; in claim_bytes() 15 result->read = 0; in claim_bytes() 16 result->status = CBOR_DECODER_NEDATA; in claim_bytes() 19 result->read += required; in claim_bytes() 20 result->required = 0; in claim_bytes() 28 if (claim_bytes(length, source_size, &result)) { \ 36 if (claim_bytes(length_bytes, source_size, &result)) { \ 47 struct cbor_decoder_result result = {.status = CBOR_DECODER_FINISHED}; cbor_stream_decode() local [all...] |
/freebsd/usr.sbin/ypserv/ |
H A D | yp_server.c | 76 static char * result; in ypproc_null_2_svc() local 86 result = &rval; in ypproc_null_2_svc() 88 return((void *) &result); in ypproc_null_2_svc() 94 static bool_t result; local 101 result = FALSE; 102 return (&result); 106 result = FALSE; 108 result = TRUE; 110 return (&result); 116 static bool_t result; local [all …]
|
/freebsd/contrib/file/tests/ |
H A D | Makefile.am | 6 android-vdex-1.result \ 8 android-vdex-2.result \ 10 arj.result \ 12 bcachefs.result \ 14 bcachefs2.result \ 16 cl8m8ocofedso.result \ 18 cmd1.result \ 20 cmd2.result \ 22 cmd3.result \ 24 cmd4.result \ [all …]
|
/freebsd/contrib/libarchive/cpio/test/ |
H A D | test_basic.c | 115 char result[1024]; in DEFINE_TEST() local 123 memset(result, 0, sizeof(result)); in DEFINE_TEST() 129 strncat(result, in DEFINE_TEST() 131 sizeof(result) - strlen(result) -1); in DEFINE_TEST() 132 strncat(result, in DEFINE_TEST() 134 sizeof(result) - strlen(result) -1); in DEFINE_TEST() 135 strncat(result, in DEFINE_TEST() 137 sizeof(result) - strlen(result) -1); in DEFINE_TEST() 144 strncat(result, in DEFINE_TEST() 146 sizeof(result) - strlen(result) -1); in DEFINE_TEST() [all …]
|
/freebsd/contrib/arm-optimized-routines/math/test/testcases/directed/ |
H A D | pow.tst | 6 func=pow op1=00000000.00000000 op2=00000000.00000000 result=3ff00000.00000000 errno=0 7 func=pow op1=00000000.00000000 op2=00000000.00000001 result=00000000.00000000 errno=0 8 func=pow op1=00000000.00000000 op2=00100000.00000000 result=00000000.00000000 errno=0 9 func=pow op1=00000000.00000000 op2=1fffffff.ffffffff result=00000000.00000000 errno=0 10 func=pow op1=00000000.00000000 op2=3bdfffff.ffffffff result=00000000.00000000 errno=0 11 func=pow op1=00000000.00000000 op2=3be00000.00000000 result=00000000.00000000 errno=0 12 func=pow op1=00000000.00000000 op2=3fe00000.00000000 result=00000000.00000000 errno=0 13 func=pow op1=00000000.00000000 op2=3ff00000.00000000 result=00000000.00000000 errno=0 14 func=pow op1=00000000.00000000 op2=40000000.00000000 result=00000000.00000000 errno=0 15 func=pow op1=00000000.00000000 op2=40080000.00000000 result=00000000.00000000 errno=0 [all …]
|
H A D | powf.tst | 6 func=powf op1=7f800001 op2=7f800001 result=7fc00001 errno=0 status=i 7 func=powf op1=7f800001 op2=ff800001 result=7fc00001 errno=0 status=i 8 func=powf op1=7f800001 op2=7fc00001 result=7fc00001 errno=0 status=i 9 func=powf op1=7f800001 op2=ffc00001 result=7fc00001 errno=0 status=i 10 func=powf op1=7f800001 op2=7f800000 result=7fc00001 errno=0 status=i 11 func=powf op1=7f800001 op2=40800000 result=7fc00001 errno=0 status=i 12 func=powf op1=7f800001 op2=40400000 result=7fc00001 errno=0 status=i 13 func=powf op1=7f800001 op2=3f000000 result=7fc00001 errno=0 status=i 14 func=powf op1=7f800001 op2=00000000 result=7fc00001 errno=0 status=i 15 func=powf op1=7f800001 op2=80000000 result=7fc00001 errno=0 status=i [all …]
|
H A D | log1pf.tst | 6 func=log1pf op1=7fc00001 result=7fc00001 errno=0 7 func=log1pf op1=ffc00001 result=7fc00001 errno=0 8 func=log1pf op1=7f800001 result=7fc00001 errno=0 status=i 9 func=log1pf op1=ff800001 result=7fc00001 errno=0 status=i 10 func=log1pf op1=ff810000 result=7fc00001 errno=0 status=i 11 func=log1pf op1=7f800000 result=7f800000 errno=0 16 func=log1pf op1=00000000 result=00000000 errno=0 17 func=log1pf op1=80000000 result=80000000 errno=0 22 func=log1pf op1=00000001 result=00000001 errno=0 maybestatus=ux 23 func=log1pf op1=80000001 result=80000001 errno=0 maybestatus=ux [all …]
|
H A D | atan2f.tst | 6 func=atan2f op1=7f800001 op2=7f800001 result=7fc00001 errno=0 status=i 7 func=atan2f op1=7f800001 op2=ff800001 result=7fc00001 errno=0 status=i 8 func=atan2f op1=7f800001 op2=7fc00001 result=7fc00001 errno=0 status=i 9 func=atan2f op1=7f800001 op2=ffc00001 result=7fc00001 errno=0 status=i 10 func=atan2f op1=7f800001 op2=7f800000 result=7fc00001 errno=0 status=i 11 func=atan2f op1=7f800001 op2=ff800000 result=7fc00001 errno=0 status=i 12 func=atan2f op1=7f800001 op2=00000000 result=7fc00001 errno=0 status=i 13 func=atan2f op1=7f800001 op2=80000000 result=7fc00001 errno=0 status=i 14 func=atan2f op1=7f800001 op2=3f800000 result=7fc00001 errno=0 status=i 15 func=atan2f op1=7f800001 op2=bf800000 result=7fc00001 errno=0 status=i [all …]
|
H A D | logf.tst | 6 func=logf op1=7fc00001 result=7fc00001 errno=0 7 func=logf op1=ffc00001 result=7fc00001 errno=0 8 func=logf op1=7f800001 result=7fc00001 errno=0 status=i 9 func=logf op1=ff800001 result=7fc00001 errno=0 status=i 10 func=logf op1=ff810000 result=7fc00001 errno=0 status=i 11 func=logf op1=7f800000 result=7f800000 errno=0 12 func=logf op1=ff800000 result=7fc00001 errno=EDOM status=i 13 func=logf op1=3f800000 result=00000000 errno=0 14 func=logf op1=00000000 result=ff800000 errno=ERANGE status=z 15 func=logf op1=80000000 result=ff800000 errno=ERANGE status=z [all …]
|
H A D | log10f.tst | 6 func=log10f op1=7fc00001 result=7fc00001 errno=0 7 func=log10f op1=ffc00001 result=7fc00001 errno=0 8 func=log10f op1=7f800001 result=7fc00001 errno=0 status=i 9 func=log10f op1=ff800001 result=7fc00001 errno=0 status=i 10 func=log10f op1=ff810000 result=7fc00001 errno=0 status=i 11 func=log10f op1=7f800000 result=7f800000 errno=0 12 func=log10f op1=3f800000 result=00000000 errno=0 13 func=log10f op1=ff800000 result=7fc00001 errno=EDOM status=i 14 func=log10f op1=00000000 result=ff800000 errno=ERANGE status=z 15 func=log10f op1=80000000 result=ff800000 errno=ERANGE status=z [all …]
|
H A D | atan2.tst | 6 func=atan2 op1=7ff00000.00000001 op2=7ff00000.00000001 result=7ff80000.00000001 errno=0 status=i 7 func=atan2 op1=7ff00000.00000001 op2=fff00000.00000001 result=7ff80000.00000001 errno=0 status=i 8 func=atan2 op1=7ff00000.00000001 op2=7ff00000.00000000 result=7ff80000.00000001 errno=0 status=i 9 func=atan2 op1=7ff00000.00000001 op2=fff00000.00000000 result=7ff80000.00000001 errno=0 status=i 10 func=atan2 op1=7ff00000.00000001 op2=00000000.00000000 result=7ff80000.00000001 errno=0 status=i 11 func=atan2 op1=7ff00000.00000001 op2=80000000.00000000 result=7ff80000.00000001 errno=0 status=i 12 func=atan2 op1=7ff00000.00000001 op2=3ff00000.00000000 result=7ff80000.00000001 errno=0 status=i 13 func=atan2 op1=7ff00000.00000001 op2=bff00000.00000000 result=7ff80000.00000001 errno=0 status=i 14 func=atan2 op1=fff00000.00000001 op2=7ff00000.00000001 result=7ff80000.00000001 errno=0 status=i 15 func=atan2 op1=fff00000.00000001 op2=fff00000.00000001 result=7ff80000.00000001 errno=0 status=i [all …]
|
H A D | sincosf.tst | 7 func=sincosf_sinf op1=7fc00001 result=7fc00001 errno=0 8 func=sincosf_sinf op1=ffc00001 result=7fc00001 errno=0 9 func=sincosf_sinf op1=7f800001 result=7fc00001 errno=0 status=i 10 func=sincosf_sinf op1=ff800001 result=7fc00001 errno=0 status=i 11 func=sincosf_sinf op1=7f800000 result=7fc00001 errno=EDOM status=i 12 func=sincosf_sinf op1=ff800000 result=7fc00001 errno=EDOM status=i 13 func=sincosf_sinf op1=00000000 result=00000000 errno=0 14 func=sincosf_sinf op1=80000000 result=80000000 errno=0 15 func=sincosf_sinf op1=c70d39a1 result=be37fad5.7ed errno=0 16 func=sincosf_sinf op1=46427f1b result=3f352d80.f9b error=0 [all …]
|
H A D | expm1f.tst | 6 func=expm1f op1=7fc00001 result=7fc00001 errno=0 7 func=expm1f op1=ffc00001 result=7fc00001 errno=0 8 func=expm1f op1=7f800001 result=7fc00001 errno=0 status=i 9 func=expm1f op1=ff800001 result=7fc00001 errno=0 status=i 10 func=expm1f op1=7f800000 result=7f800000 errno=0 11 func=expm1f op1=7f7fffff result=7f800000 errno=ERANGE status=ox 12 func=expm1f op1=ff800000 result=bf800000 errno=0 13 func=expm1f op1=ff7fffff result=bf800000 errno=0 14 func=expm1f op1=00000000 result=00000000 errno=0 15 func=expm1f op1=80000000 result=80000000 errno=0 [all …]
|
/freebsd/lib/libc/net/ |
H A D | nscachedcli.c | 63 size_t result; in safe_write() local 72 result = 0; in safe_write() 77 s_result = _sendto(connection->sockfd, data + result, in safe_write() 78 eventlist.data < data_size - result ? in safe_write() 79 eventlist.data : data_size - result, MSG_NOSIGNAL, in safe_write() 84 result += s_result; in safe_write() 87 return (result < data_size ? -1 : 0); in safe_write() 90 } while (result < data_size); in safe_write() 105 size_t result; in safe_read() local 115 result = 0; in safe_read() [all …]
|
/freebsd/crypto/openssl/test/ |
H A D | ssl_test.c | 34 static int check_result(HANDSHAKE_RESULT *result, SSL_TEST_CTX *test_ctx) in check_result() argument 36 if (!TEST_int_eq(result->result, test_ctx->expected_result)) { in check_result() 39 ssl_test_result_name(result->result)); in check_result() 45 static int check_alerts(HANDSHAKE_RESULT *result, SSL_TEST_CTX *test_ctx) in check_alerts() argument 47 if (!TEST_int_eq(result->client_alert_sent, in check_alerts() 48 result->client_alert_received)) { in check_alerts() 50 print_alert(result->client_alert_sent), in check_alerts() 51 print_alert(result->client_alert_received)); in check_alerts() 66 if (!TEST_int_eq(result->server_alert_sent, in check_alerts() 67 result->server_alert_received)) { in check_alerts() [all …]
|
/freebsd/lib/libc/tests/gen/ |
H A D | fnmatch_test.c | 44 static char result[sizeof(flagnames) + 3 * sizeof(int) + 2]; in flags_to_string() local 49 p = result; in flags_to_string() 54 if (p != result) in flags_to_string() 62 if (p == result) in flags_to_string() 68 return result; in flags_to_string() 75 int flags, result; in ATF_TC_BODY() local 82 result = fnmatch(t->pattern, t->string, flags); in ATF_TC_BODY() 83 if (result != t->result) in ATF_TC_BODY() 88 result = fnmatch(t->pattern, t->string, flags); in ATF_TC_BODY() 89 if (result != t->result) in ATF_TC_BODY() [all …]
|
/freebsd/contrib/sendmail/contrib/ |
H A D | qtool.pl | 66 my $result; 86 $result = $destination->add($source); 87 if ($result) 89 print("$result.\n"); 208 $result = add_source(\%sources, $source_name); 209 if ($result) 211 print("$result.\n"); 223 $result = $conditions->check_move($source, $destination); 224 if ($result) 226 $result = &{$action}($source, $destination); [all …]
|
/freebsd/contrib/ntp/sntp/libopts/compat/ |
H A D | pathfind.c | 113 char * result; in make_absolute() local 117 result = strdup( string ); in make_absolute() 120 result = malloc( 2 + strlen( dot_path ) + strlen( string ) ); in make_absolute() 121 strcpy( result, dot_path ); in make_absolute() 122 result_len = (int)strlen(result); in make_absolute() 123 if (result[result_len - 1] != '/') { in make_absolute() 124 result[result_len++] = '/'; in make_absolute() 125 result[result_len] = '\0'; in make_absolute() 128 result = malloc( 3 + strlen( string ) ); in make_absolute() 129 result[0] = '.'; result[1] = '/'; result[2] = '\0'; in make_absolute() [all …]
|
/freebsd/usr.sbin/gssd/ |
H A D | gssd.c | 389 gssd_null_1_svc(void *argp, void *result, struct svc_req *rqstp) in gssd_null_1_svc() argument 397 gssd_init_sec_context_1_svc(init_sec_context_args *argp, init_sec_context_res *result, struct svc_r… in gssd_init_sec_context_1_svc() argument 412 memset(result, 0, sizeof(*result)); in gssd_init_sec_context_1_svc() 443 result->major_status = GSS_S_CREDENTIALS_EXPIRED; in gssd_init_sec_context_1_svc() 471 result->major_status = GSS_S_CREDENTIALS_EXPIRED; in gssd_init_sec_context_1_svc() 480 result->major_status = GSS_S_CONTEXT_EXPIRED; in gssd_init_sec_context_1_svc() 489 result->major_status = GSS_S_BAD_NAME; in gssd_init_sec_context_1_svc() 497 result->major_status = gss_init_sec_context(&result->minor_status, in gssd_init_sec_context_1_svc() 500 &argp->input_token, &result->actual_mech_type, in gssd_init_sec_context_1_svc() 501 &result->output_token, &result->ret_flags, &result->time_rec); in gssd_init_sec_context_1_svc() [all …]
|
/freebsd/contrib/atf/test-programs/ |
H A D | expect_test.sh | 36 atf_check -s eq:0 -e ignore "${h}" -r result expect_pass_and_pass 37 check_result result "passed" 39 atf_check -s eq:1 -e ignore "${h}" -r result \ 41 check_result result "failed: Some reason" 48 "${h}" -r result expect_pass_but_fail_check 49 check_result result "failed: 1 checks failed" 56 atf_check -s eq:0 "${h}" -r result expect_fail_and_fail_requirement 57 check_result result "expected_failure: Fail reason: The failure" 60 -e not-match:"And fail again" "${h}" -r result expect_fail_but_pass 61 check_result result "failed: .*expecting a failure" [all …]
|
/freebsd/contrib/ncurses/ncurses/tinfo/ |
H A D | hashed_db.c | 66 DB *result = 0; in find_connection() local 71 result = p->db; in find_connection() 76 return result; in find_connection() 121 DB *result = 0; in _nc_db_open() local 127 if ((result = find_connection(path, modify)) == 0) { in _nc_db_open() 130 db_create(&result, NULL, 0); in _nc_db_open() 131 if ((code = result->open(result, in _nc_db_open() 138 result = 0; in _nc_db_open() 141 db_create(&result, NULL, 0); in _nc_db_open() 142 if ((code = result->open(result, in _nc_db_open() [all …]
|
/freebsd/contrib/ntp/sntp/tests/ |
H A D | keyFile.c | 87 struct key * result = NULL; in test_ReadASCIIKeys() local 96 get_key(40, &result); in test_ReadASCIIKeys() 97 TEST_ASSERT_NOT_NULL(result); in test_ReadASCIIKeys() 98 TEST_ASSERT_TRUE(CompareKeysAlternative(40, 11, "MD5", "asciikeyTwo", *result)); in test_ReadASCIIKeys() 100 result = NULL; in test_ReadASCIIKeys() 101 get_key(50, &result); in test_ReadASCIIKeys() 102 TEST_ASSERT_NOT_NULL(result); in test_ReadASCIIKeys() 103 TEST_ASSERT_TRUE(CompareKeysAlternative(50, 11, "MD5", "asciikeyOne", *result)); in test_ReadASCIIKeys() 111 struct key * result = NULL; in test_ReadHexKeys() local 121 get_key(10, &result); in test_ReadHexKeys() [all …]
|
/freebsd/contrib/dialog/ |
H A D | buttons.c | 59 int result; in string_to_char() local 83 result = cmp2[0]; in string_to_char() 86 result = UCH(*string); in string_to_char() 89 return result; in string_to_char() 95 size_t result = 0; in count_labels() local 98 ++result; in count_labels() 101 return result; in count_labels() 110 int result = FALSE; in was_hotkey() local 116 result = TRUE; in was_hotkey() 121 return result; in was_hotkey() [all …]
|
/freebsd/contrib/sendmail/libsmdb/ |
H A D | smdb2.c | 73 int result; local 79 result = SMDBE_INCOMPLETE; 85 result = SMDBE_NOT_FOUND; 91 result = SMDBE_KEY_EMPTY; 97 result = SMDBE_KEY_EXIST; 103 result = SMDBE_LOCK_DEADLOCK; 109 result = SMDBE_LOCK_NOT_GRANTED; 115 result = SMDBE_LOCK_NOT_HELD; 121 result = SMDBE_RUN_RECOVERY; 127 result = SMDBE_OLD_VERSION; [all …]
|