/freebsd-current/sys/xen/xenstore/ |
H A D | xenstore_internal.h | 36 int xs_dev_request_and_reply(struct xsd_sockmsg *msg, void **result);
|
/freebsd-current/contrib/ldns/compat/ |
H A D | ctime_r.c | 12 char* result = ctime(timep); local 13 if(buf && result) 14 strcpy(buf, result); 15 return result;
|
H A D | localtime_r.c | 9 struct tm *localtime_r(const time_t *timep, struct tm *result) argument 12 *result = *localtime(timep); 13 return result;
|
H A D | gmtime_r.c | 9 struct tm *gmtime_r(const time_t *timep, struct tm *result) argument 12 *result = *gmtime(timep); 13 return result;
|
/freebsd-current/share/examples/tests/tests/tap/ |
H A D | cp_test.sh | 39 result() function 41 local result=$1; shift 44 result_string="$result $test_num" 55 result "ok" 57 result "not ok" "${1} and ${2} differ, but they should be equal" 65 result "ok" 68 result "not ok" "cp failed" 69 result "not ok" "# SKIP" 77 result "ok" 80 result "no [all...] |
/freebsd-current/contrib/unbound/compat/ |
H A D | ctime_r.c | 25 char* result; local 34 result = ctime(timep); 35 if(buf && result) { 36 if(strlen(result) > 10 && result[7]==' ' && result[8]=='0') 37 result[8]=' '; /* fix error in windows ctime */ 38 strcpy(buf, result);
|
/freebsd-current/libexec/atrun/ |
H A D | gloadavg.c | 52 double result; local 57 result = -1.0; 60 if(fscanf(fp,"%lf",&result) != 1) 61 result = -1.0; 65 if (getloadavg(&result, 1) != 1) 68 return result;
|
/freebsd-current/contrib/ncurses/ncurses/widechar/ |
H A D | charable.c | 40 bool result; local 42 result = (wctob((wint_t) ch) == (int) ch); 44 result = (_nc_to_char(ch) >= 0); 46 return result; 51 int result; local 53 result = wctob(ch); 56 result = wctomb(temp, ch); 58 result = UChar(temp[0]); 60 result = -1; 64 return result; 69 wint_t result; local [all...] |
/freebsd-current/tests/include/ |
H A D | stdckdint_test.c | 15 int result; local 17 ATF_CHECK(!ckd_add(&result, INT_MAX, 0)); 18 ATF_CHECK_EQ(INT_MAX, result); 19 ATF_CHECK(ckd_add(&result, INT_MAX, 1)); 20 ATF_CHECK_EQ(INT_MIN, result); 26 int result; local 28 ATF_CHECK(!ckd_sub(&result, INT_MIN, 0)); 29 ATF_CHECK_EQ(INT_MIN, result); 30 ATF_CHECK(ckd_sub(&result, INT_MIN, 1)); 31 ATF_CHECK_EQ(INT_MAX, result); 37 int result; local [all...] |
/freebsd-current/contrib/libarchive/cpio/test/ |
H A D | test_basic.c | 133 char result[1024]; local 141 memset(result, 0, sizeof(result)); 147 strncat(result, 149 sizeof(result) - strlen(result) -1); 150 strncat(result, 152 sizeof(result) - strlen(result) -1); 153 strncat(result, [all...] |
/freebsd-current/include/ |
H A D | stdckdint.h | 15 #define ckd_add(result, a, b) \ 16 (_Bool)__builtin_add_overflow((a), (b), (result)) 18 #define ckd_add(result, a, b) \ 23 #define ckd_sub(result, a, b) \ 24 (_Bool)__builtin_sub_overflow((a), (b), (result)) 26 #define ckd_sub(result, a, b) \ 31 #define ckd_mul(result, a, b) \ 32 (_Bool)__builtin_mul_overflow((a), (b), (result)) 34 #define ckd_mul(result, a, b) \
|
/freebsd-current/share/examples/sunrpc/msg/ |
H A D | msg_proc.c | 16 static int result; /* must be static! */ local 21 result = 0; 22 return (&result); 26 result = 1; 27 return (&result);
|
/freebsd-current/lib/libc/gdtoa/ |
H A D | machdep_ldisQ.c | 47 long double result; local 49 strtorQ_l(s, sp, FLT_ROUNDS, &result, locale); 50 return result;
|
H A D | machdep_ldisx.c | 47 long double result; local 50 strtorx_l(s, sp, FLT_ROUNDS, &result, locale); 51 return result;
|
/freebsd-current/lib/libpathconv/ |
H A D | pathconv.h | 28 char * rel2abs(const char *path, const char *base, char *result, const size_t size); 29 char * abs2rel(const char *path, const char *base, char *result, const size_t size);
|
/freebsd-current/contrib/ntp/sntp/libopts/compat/ |
H A D | pathfind.c | 113 char * result; local 117 result = strdup( string ); 120 result = malloc( 2 + strlen( dot_path ) + strlen( string ) ); 121 strcpy( result, dot_path ); 122 result_len = (int)strlen(result); 123 if (result[result_len - 1] != '/') { 124 result[result_len++] = '/'; 125 result[result_len] = '\0'; 128 result = malloc( 3 + strlen( string ) ); 129 result[ 154 char stub_char, *result; local [all...] |
/freebsd-current/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-current/contrib/llvm-project/compiler-rt/lib/builtins/ppc/ |
H A D | fixtfti.c | 31 __uint128_t result = (__uint128_t)(-input); local 32 return -((__int128_t)result); 36 __uint128_t result = (__uint128_t)input; local 37 return result;
|
/freebsd-current/contrib/ntp/libntp/ |
H A D | findconfig.c | 19 static char result[BUFSIZ]; local 25 strlcpy(result, base, sizeof(result)); 26 if (stat(result, &sbuf) == 0) { 31 snprintf(result, sizeof(result), "%s/%s", base, hostname); 32 if (stat(result, &sbuf) == 0) { 42 snprintf(result, sizeof(result), "%s/default.%s", base, cp); 43 if (stat(result, [all...] |
/freebsd-current/lib/libpathconv/tests/ |
H A D | test.pl | 34 # target base directory result 92 chop($result = `./$progname $d[0] $d[1]`); 93 if ($d[2] eq $result) { 97 print LOG "$progname $d[0] $d[1] -> $result (It should be '$d[2]')\n"; 103 chop($result = `./$progname $d[0] $d[1]`); 104 if ($d[2] eq $result) { 108 print LOG "$progname $d[0] $d[1] -> $result (It should be '$d[2]')\n"; 115 chop($result = `./$progname $d[0] $d[1]`); 116 if ($d[2] eq $result) { 120 print LOG "$progname $d[0] $d[1] -> $result (I [all...] |
/freebsd-current/contrib/llvm-project/compiler-rt/lib/builtins/cpu_model/aarch64/lse_atomics/ |
H A D | freebsd.inc | 3 int result = elf_aux_info(AT_HWCAP, &hwcap, sizeof hwcap); 4 __aarch64_have_lse_atomics = result == 0 && (hwcap & HWCAP_ATOMICS) != 0;
|
/freebsd-current/stand/common/ |
H A D | devopen.c | 40 int result; local 42 result = archsw.arch_getdev((void **)&dev, fname, file); 43 if (result) 44 return (result); 49 result = dev->d_dev->dv_open(f, dev); 50 if (result != 0) { 54 return (result);
|
/freebsd-current/contrib/ncurses/progs/ |
H A D | tparm_type.c | 50 TParams result = Numbers; local 67 result = table[n].code; 71 return result; 77 TParams result = Other; local 82 result = Numbers; 86 result = Numbers; 88 result = Num_Str; 92 result = Numbers; 94 result = Num_Str_Str; 99 return result; [all...] |
/freebsd-current/contrib/file/python/ |
H A D | tests.py | 15 def assert_result(self, result): 16 self.assertEqual(result.mime_type, self.expected_mime_type) 17 self.assertEqual(result.encoding, self.expected_encoding) 18 self.assertEqual(result.name, self.expected_name) 21 result = magic.detect_from_filename(self.filename) 22 self.assert_result(result) 26 result = magic.detect_from_fobj(fobj) 27 self.assert_result(result) 31 result = magic.detect_from_content(fobj.read(8192)) 32 self.assert_result(result) [all...] |
/freebsd-current/crypto/heimdal/lib/roken/ |
H A D | localtime_r.c | 43 localtime_r(const time_t *timer, struct tm *result) argument 47 return (localtime_s(result, timer) == 0)? result : NULL; 55 *result = *tm; 56 return result;
|