Searched refs:result (Results 1 - 25 of 2363) sorted by relevance

1234567891011>>

/freebsd-head/sys/xen/xenstore/
H A Dxenstore_internal.h38 int xs_dev_request_and_reply(struct xsd_sockmsg *msg, void **result);
/freebsd-head/contrib/apr-util/ldap/
H A Dapr_ldap_option.c41 apr_ldap_err_t *result);
43 apr_ldap_err_t *result);
57 apr_ldap_err_t *result; local
59 result = apr_pcalloc(pool, sizeof(apr_ldap_err_t));
60 *result_err = result;
61 if (!result) {
66 result->rc = ldap_get_option(ldap, option, outvalue);
69 if (result->rc != LDAP_SUCCESS) {
70 result->msg = ldap_err2string(result
95 apr_ldap_err_t *result; local
223 option_set_tls(apr_pool_t *pool, LDAP *ldap, const void *invalue, apr_ldap_err_t *result) argument
396 option_set_cert(apr_pool_t *pool, LDAP *ldap, const void *invalue, apr_ldap_err_t *result) argument
[all...]
/freebsd-head/contrib/unbound/compat/
H A Dctime_r.c25 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);
41 return result;
/freebsd-head/contrib/ldns/compat/
H A Dctime_r.c12 char* result = ctime(timep); local
13 if(buf && result)
14 strcpy(buf, result);
15 return result;
H A Dgmtime_r.c9 struct tm *gmtime_r(const time_t *timep, struct tm *result) argument
12 *result = *gmtime(timep);
13 return result;
H A Dlocaltime_r.c9 struct tm *localtime_r(const time_t *timep, struct tm *result) argument
12 *result = *localtime(timep);
13 return result;
/freebsd-head/share/examples/tests/tests/tap/
H A Dcp_test.sh40 result() function
42 local result=$1; shift
45 result_string="$result $test_num"
56 result "ok"
58 result "not ok" "${1} and ${2} differ, but they should be equal"
66 result "ok"
69 result "not ok" "cp failed"
70 result "not ok" "# SKIP"
78 result "ok"
81 result "no
[all...]
/freebsd-head/libexec/atrun/
H A Dgloadavg.c57 double result; local
62 result = -1.0;
65 if(fscanf(fp,"%lf",&result) != 1)
66 result = -1.0;
70 if (getloadavg(&result, 1) != 1)
73 return result;
/freebsd-head/contrib/subversion/subversion/libsvn_wc/
H A Drevision_status.c45 svn_wc_revision_status_t *result = apr_pcalloc(result_pool, sizeof(*result)); local
47 *result_p = result;
51 /* set result as nil */
52 result->min_rev = SVN_INVALID_REVNUM;
53 result->max_rev = SVN_INVALID_REVNUM;
54 result->switched = FALSE;
55 result->modified = FALSE;
56 result->sparse_checkout = FALSE;
58 SVN_ERR(svn_wc__db_revision_status(&result
[all...]
/freebsd-head/contrib/ncurses/ncurses/widechar/
H A Dcharable.c40 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-head/contrib/libarchive/cpio/test/
H A Dtest_basic.c134 char result[1024]; local
142 memset(result, 0, sizeof(result));
148 strncat(result,
150 sizeof(result) - strlen(result) -1);
151 strncat(result,
153 sizeof(result) - strlen(result) -1);
154 strncat(result,
[all...]
/freebsd-head/share/examples/sunrpc/msg/
H A Dmsg_proc.c18 static int result; /* must be static! */ local
23 result = 0;
24 return (&result);
28 result = 1;
29 return (&result);
/freebsd-head/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectVersion.cpp25 bool CommandObjectVersion::DoExecute(Args &args, CommandReturnObject &result) { argument
27 result.AppendMessageWithFormat("%s\n", lldb_private::GetVersion());
28 result.SetStatus(eReturnStatusSuccessFinishResult);
30 result.AppendError("the version command takes no arguments.");
31 result.SetStatus(eReturnStatusFailed);
/freebsd-head/lib/libc/gdtoa/
H A Dmachdep_ldisQ.c50 long double result; local
52 strtorQ_l(s, sp, FLT_ROUNDS, &result, locale);
53 return result;
/freebsd-head/contrib/ntp/lib/isc/
H A Dmutexblock.c29 isc_result_t result; local
33 result = isc_mutex_init(&block[i]);
34 if (result != ISC_R_SUCCESS) {
39 return (result);
48 isc_result_t result; local
52 result = isc_mutex_destroy(&block[i]);
53 if (result != ISC_R_SUCCESS)
54 return (result);
/freebsd-head/lib/libpathconv/
H A Dpathconv.h30 char * rel2abs(const char *path, const char *base, char *result, const size_t size);
31 char * abs2rel(const char *path, const char *base, char *result, const size_t size);
/freebsd-head/sys/contrib/zstd/tests/regression/
H A Dresult.c11 #include "result.h"
13 char const* result_get_error_string(result_t result) { argument
14 switch (result_get_error(result)) {
H A Dresult.h36 * The result type.
45 * Create a result of the error type.
49 * Create a result of the success type.
54 * Check if the result is an error or skip.
56 static int result_is_error(result_t result);
58 * Check if the result error is skip.
60 static int result_is_skip(result_t result);
62 * Get the result error or okay.
64 static result_error_t result_get_error(result_t result);
66 * Get the result dat
71 result_t result = { local
78 result_t result = { local
85 result_is_error(result_t result) argument
89 result_is_skip(result_t result) argument
93 result_get_error(result_t result) argument
99 result_get_data(result_t result) argument
[all...]
/freebsd-head/contrib/ntp/sntp/libopts/compat/
H A Dpathfind.c113 char * result; local
117 result = strdup( string );
118 if (result == NULL) {
123 result = malloc( 2 + strlen( dot_path ) + strlen( string ) );
124 if (result == NULL) {
127 strcpy( result, dot_path );
128 result_len = (int)strlen(result);
129 if (result[result_len - 1] != '/') {
130 result[result_len++] = '/';
131 result[result_le
163 char stub_char, *result; local
[all...]
/freebsd-head/contrib/llvm-project/lldb/source/Interpreter/
H A DCommandObjectScript.cpp34 CommandReturnObject &result) {
37 result.AppendError(
39 result.SetStatus(eReturnStatusFailed);
46 result.AppendError("no script interpreter");
47 result.SetStatus(eReturnStatusFailed);
57 result.SetStatus(eReturnStatusSuccessFinishNoResult);
58 return result.Succeeded();
62 if (script_interpreter->ExecuteOneLine(command, &result))
63 result.SetStatus(eReturnStatusSuccessFinishNoResult);
65 result
33 DoExecute(llvm::StringRef command, CommandReturnObject &result) argument
[all...]
/freebsd-head/contrib/apr-util/crypto/
H A Duuid.c39 int result; local
42 result = s[0] - '0';
43 if (result > 48)
44 result = (result - 39) << 4;
45 else if (result > 16)
46 result = (result - 7) << 4;
48 result = result <<
63 int result; local
[all...]
/freebsd-head/contrib/ntp/libntp/
H A Dfindconfig.c19 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-head/lib/libpathconv/tests/
H A Dtest.pl35 # target base directory result
93 chop($result = `./$progname $d[0] $d[1]`);
94 if ($d[2] eq $result) {
98 print LOG "$progname $d[0] $d[1] -> $result (It should be '$d[2]')\n";
104 chop($result = `./$progname $d[0] $d[1]`);
105 if ($d[2] eq $result) {
109 print LOG "$progname $d[0] $d[1] -> $result (It should be '$d[2]')\n";
116 chop($result = `./$progname $d[0] $d[1]`);
117 if ($d[2] eq $result) {
121 print LOG "$progname $d[0] $d[1] -> $result (I
[all...]
/freebsd-head/contrib/llvm-project/compiler-rt/lib/builtins/ppc/
H A Dfixtfti.c31 __uint128_t result = (__uint128_t)(-input); local
32 return -((__int128_t)result);
36 __uint128_t result = (__uint128_t)input; local
37 return result;
/freebsd-head/contrib/file/python/
H A Dtests.py15 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(4096))
32 self.assert_result(result)
[all...]

Completed in 74 milliseconds

1234567891011>>