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

1234567891011>>

/illumos-gate/usr/src/uts/common/io/1394/
H A Dt1394_errmsg.c140 * Input(s): result Result code
143 * Output(s): const string; empty string if invalid result code is passed in
149 t1394_errmsg(int result, uint_t flags) argument
155 tnf_int, argument, result);
157 if (result > 0) {
159 tnf_string, msg, "invalid result argument",
160 tnf_int, result, result);
165 result = -result;
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dlexp10.c39 dl_t result; local
41 result = lone;
44 result = lmul(result, lten);
48 return (result);
H A Dllog10.c39 dl_t result; local
41 result = lzero;
46 result = ladd(result, lone);
49 return (result);
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypalias.c59 mkdomain_alias(name, result)
60 char *name, *result;
65 retval = yp_getalias(name, result, NAME_MAX);
68 strncpy(result, name, NAME_MAX-4);
69 strncpy(&result[NAME_MAX-4],
71 result[NAME_MAX] = '\0';
73 strcpy(result, name);
74 } else if ((retval) && (int)strlen(result) > NAME_MAX) {
75 strncpy(tmpbuf, result, NAME_MAX);
76 strcpy(result, tmpbu
127 char result[MAXNAMLEN] = {NULL}; local
[all...]
/illumos-gate/usr/src/lib/print/libipp-core/common/
H A Dipp.c56 papi_status_t result = PAPI_OK; local
63 result = papiAttributeListGetCollection(request, NULL,
65 if (result != PAPI_OK) {
66 ipp_set_status(response, result,
68 papiStatusString(result));
69 return (result);
72 result = papiAttributeListGetString(attributes, NULL,
74 if (result != PAPI_OK) {
75 ipp_set_status(response, result, "attributes-charset: %s",
76 papiStatusString(result));
[all...]
/illumos-gate/usr/src/cmd/acct/lib/
H A Dsubstr.c43 register char *s, *result; local
46 result = aresult;
48 while (--len && (*result++ = *s++)) ;
50 *result = 0;
/illumos-gate/usr/src/lib/libshell/common/tests/
H A Dsun_solaris_cr_6789247_printf_hexfloat_rounding.sh101 float result
104 # Test #001/a - check whether the result of a rounded 1.5 is 2.0
106 result=$(printf "%.0a\n" r) || err_exit "printf returned non-zero exit code"
107 (( result == 2.0 )) || err_exit "result expected to be 2.0, got ${result}"
112 result=$(printf "%.0A\n" r) || err_exit "printf returned non-zero exit code"
113 (( result == 2.0 )) || err_exit "result expected to be 2.0, got ${result}"
[all...]
/illumos-gate/usr/src/boot/sys/boot/common/
H A Ddevopen.c38 int result; local
40 result = archsw.arch_getdev((void **)&dev, fname, file);
41 if (result)
42 return (result);
47 result = dev->d_dev->dv_open(f, dev);
48 if (result != 0) {
54 return (result);
/illumos-gate/usr/src/cmd/fs.d/smbclnt/svc/
H A Dsmb-client33 result=${SMF_EXIT_OK}
39 result=$?
50 result=$?
55 result=1
58 exit $result
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_strerror.c115 * Copy the given format string into the result buffer, expanding
116 * %m as we go. If the result buffer is too short, complain and
170 char *result; local
174 result = "Not owner";
177 result = "No such file or directory";
180 result = "I/O error";
183 result = "Permission denied";
186 result = "File exists";
189 result = "Not a directory";
192 result
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_mem.c44 int result; local
56 result = pi_enum_generic_impl(mod, mdp, mde_node, inst, t_parent,
58 if (result != 0) {
60 return (result);
66 result = topo_node_resource(*t_node, &rsrc, &err);
67 if (result != 0) {
75 result = topo_node_asru_set(*t_node, rsrc, TOPO_ASRU_COMPUTE, &err);
77 if (result != 0) {
/illumos-gate/usr/src/test/libc-tests/tests/
H A Dfnmatch.c39 int result; member in struct:testcase
190 static char result[sizeof (flagnames) + 3 * sizeof (int) + 2]; local
195 p = result;
200 if (p != result)
208 if (p == result)
214 return (result);
221 int flags, result; local
229 result = fnmatch(t->pattern, t->string, flags);
230 if (result != t->result)
[all...]
/illumos-gate/usr/src/lib/libtecla/common/
H A Dcplmatch.h46 int _cpl_output_completions(CplMatches *result, GlWriteFn *write_fn, void *data,
H A Dexpand.h46 int _ef_output_expansions(FileExpansion *result, GlWriteFn *write_fn,
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_date.c51 u_int32_t result; local
80 result = time.tm_sec; /*%< Seconds */
81 result += time.tm_min * 60; /*%< Minutes */
82 result += time.tm_hour * (60*60); /*%< Hours */
83 result += (time.tm_mday - 1) * SECS_PER_DAY; /*%< Days */
88 result += mdays * SECS_PER_DAY; /*%< Months */
90 result += SECS_PER_DAY; /*%< Add leapday for this year */
93 result += (time.tm_year - 70) * (SECS_PER_DAY*365); /*%< Years */
96 result += SECS_PER_DAY; /*%< Add leapday for prev year */
97 return (result);
108 int result = 0; local
[all...]
/illumos-gate/usr/src/lib/print/libpapi-dynamic/common/
H A Dservice.c43 int result = -1; local
47 result = svc->authCB(svc, svc->app_data);
49 return (result);
55 char *result = NULL; local
58 result = getenv("PAPI_SERVICE_URI");
60 if (result == NULL) {
67 result = strdup(buf);
71 if (result == NULL)
72 result = fallback;
74 return (result);
80 static char *result = NULL; local
99 papi_status_t result; local
152 papi_status_t result = PAPI_OK; local
170 papi_status_t result = PAPI_NOT_POSSIBLE; local
218 papi_status_t result = PAPI_NOT_POSSIBLE; local
293 papi_status_t result = PAPI_OK; local
309 papi_status_t result = PAPI_OK; local
331 papi_status_t result = PAPI_OK; local
353 papi_status_t result = PAPI_OK; local
374 papi_status_t result = PAPI_OK; local
394 papi_status_t result = PAPI_OK; local
410 char *result = NULL; local
429 char *result = NULL; local
448 char *result = NULL; local
467 papi_encryption_t result = PAPI_ENCRYPT_NEVER; local
487 void *result = NULL; local
499 papi_attribute_t **result = NULL; local
525 char *result = NULL; local
[all...]
/illumos-gate/usr/src/lib/libgen/common/
H A Dstrtrns.c33 * Copy `str' to `result' replacing any character found
35 * Return `result'.
40 char *result)
45 for (r = result; *r = *str++; r++)
51 return (result);
39 strtrns(const char *str, const char *old, const char *new, char *result) argument
/illumos-gate/usr/src/cmd/vt/
H A Dvtinfo.c42 int result; local
48 if (ioctl(fd, VT_ENABLED, &result) != 0) {
55 if (result == 0)
/illumos-gate/usr/src/tools/smatch/src/validation/backend/
H A Dsum.c6 int i, result = 0; local
9 result += i;
10 return result;
/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Dlpsched-misc.c39 papi_status_t result = PAPI_BAD_ARGUMENT; local
43 result = papiAttributeListAddString(list, flags, name, value);
44 return (result);
51 papi_status_t result = PAPI_OK; local
55 result = PAPI_BAD_ARGUMENT;
57 for (i = 0; ((result == PAPI_OK) && (values[i] != NULL));
59 result = papiAttributeListAddString(list, flgs, name,
62 return (result);
106 char *result = ""; local
109 if ((result
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dassertions.c52 const char *result; local
56 result = "REQUIRE";
59 result = "ENSURE";
62 result = "INSIST";
65 result = "INVARIANT";
68 result = NULL;
70 return (result);
/illumos-gate/usr/src/test/util-tests/tests/printf/
H A Dprintf_test.ksh52 tests[01][result]="00ff"
58 tests[02][result]=00010001
64 tests[03][result]='1 one 2 two 3 three '
70 tests[04][result]='one 1 two 2 three 3 '
76 tests[05][result]=' abcdef'
82 tests[06][result]=' abc'
88 tests[07][result]=' abc'
94 tests[08][result]=' abc'
100 tests[09][result]=' abc x'
106 tests[10][result]
[all...]
/illumos-gate/usr/src/common/ficl/
H A Ddouble.c53 ficl2UnsignedQR result; local
55 result.quotient = q / y;
60 result.remainder = (ficlInteger)(q - (result.quotient * y));
62 return (result);
103 * Returns the result of the operation
124 * Multiplies a pair of ficlIntegers and returns an ficl2Integer result.
130 ficl2Integer result; local
145 FICL_2UNSIGNED_GET_LOW(prod), result); local
147 return (result);
165 ficl2Unsigned result; local
184 ficl2Unsigned result = { 0, 0 }; local
206 ficl2Unsigned result; local
225 ficl2Unsigned result; local
244 ficl2Unsigned result; local
262 ficl2Unsigned result; local
301 ficl2UnsignedQR result; local
[all...]
/illumos-gate/usr/src/cmd/zic/
H A Dscheck.c18 register const char *result; local
21 result = "";
23 return (result);
26 return (result);
53 result = (char *)format;
55 return (result);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.timed/
H A Din.timed.c65 uint32_t result = machtime(); local
67 (void) safe_write(s, &result, sizeof (result));
75 uint32_t result = machtime(); local
77 (void) safe_sendto(s, &result, sizeof (result), 0, sap, sa_len);

Completed in 374 milliseconds

1234567891011>>