Searched refs:arg (Results 1 - 25 of 3006) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dabs.c30 abs(arg)
31 register int arg;
33 return (arg >= 0 ? arg : -arg);
H A Don_exit.c34 caddr_t arg; member in struct:handlers
41 on_exit(handler, arg)
43 caddr_t arg;
51 h->arg = arg;
H A Decvt.c35 ecvt(arg, ndigits, decpt, sign)
36 double arg;
41 return econvert(arg, ndigits, decpt, sign, efcvtbuffer);
45 fcvt(arg, ndigits, decpt, sign)
46 double arg;
51 return fconvert(arg, ndigits, decpt, sign, efcvtbuffer);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dllabs.c37 llabs(longlong_t arg) argument
39 return (arg >= 0 ? arg : -arg);
H A Dimaxabs.c38 imaxabs(intmax_t arg) argument
40 return ((intmax_t)llabs((long long)arg));
54 _imaxabs_c89(int32_t arg) argument
56 return (abs(arg));
H A Dswapctl.c38 swapctl(int cmd, void *arg) argument
40 return (uadmin(A_SWAPCTL, cmd, (uintptr_t)arg));
/illumos-gate/usr/src/cmd/which/
H A Dwhich.csh23 foreach arg ( $argv )
24 set alius = `alias $arg`
29 set arg = $alius[1]
32 echo ${arg}: " " aliased to $alius
36 if ( "$arg:h" != "$arg:t" ) then # head != tail, don't search
37 if ( -e $arg ) then # just do simple lookup
38 echo $arg
40 echo $arg not found
46 if ( -x $i/$arg
[all...]
/illumos-gate/usr/src/cmd/msgfmt/
H A Doption.c35 char *arg; local
41 arg = *argv;
42 if (*arg == '-') {
43 if (!*(arg + 1)) {
48 if ((c = *++arg) == '\0') {
60 if (*(arg + 1)) {
65 flag->idir = ++arg;
91 if (*(arg + 1)) {
96 flag->ofile = ++arg;
132 if (*(arg
[all...]
/illumos-gate/usr/src/lib/libc/i386/gen/
H A Dabs.s31 / abs(arg)
32 / int arg;
34 / return((arg < 0)? -arg: arg);
40 movl 4(%esp),%eax / arg < 0?
43 negl %eax / yes, return -arg
49 movl 4(%esp),%eax / arg < 0?
52 negl %eax / yes, return -arg
/illumos-gate/usr/src/lib/libxcurses/src/libc/gen/
H A Dbase.c58 * - check degenerate arg forms
66 basedir(char *arg, int type) argument
70 if (arg==(char *)0 || *arg=='\0' ||
71 (*arg=='.' && (arg[1]=='\0' ||
72 (type==DIRNAME && arg[1]=='.' && arg[2]=='\0'))))
74 return curdir; /* arg NULL, empty, ".", or ".." in DIRNAME */
76 if (M_DRDELIM(arg[
114 dirname(char *arg) argument
123 basename(char *arg) argument
134 char arg[128]; local
[all...]
/illumos-gate/usr/src/boot/sys/boot/userboot/
H A Duserboot.h58 int (*getc)(void *arg);
63 void (*putc)(void *arg, int ch);
68 int (*poll)(void *arg);
77 int (*open)(void *arg, const char *filename, void **h_return);
82 int (*close)(void *arg, void *h);
87 int (*isdir)(void *arg, void *h);
93 int (*read)(void *arg, void *h, void *dst, size_t size,
103 int (*readdir)(void *arg, void *h, uint32_t *fileno_return,
109 int (*seek)(void *arg, void *h, uint64_t offset,
115 int (*stat)(void *arg, voi
[all...]
/illumos-gate/usr/src/lib/libshare/smb/
H A Dsmb_share_doorclnt.c121 door_arg_t *arg; local
131 if ((arg = malloc(sizeof (door_arg_t) + SMB_SHARE_DSIZE)) != NULL) {
132 buf = ((char *)arg) + sizeof (door_arg_t);
133 bzero(arg, sizeof (door_arg_t));
134 arg->data_ptr = buf;
135 arg->rbuf = buf;
136 arg->rsize = SMB_SHARE_DSIZE;
142 return (arg);
149 smb_share_door_clnt_exit(door_arg_t *arg, boolean_t must_close, char *errmsg) argument
155 free(arg);
166 smb_share_door_call(int fd, door_arg_t *arg) argument
201 door_arg_t *arg; local
247 door_arg_t *arg; local
290 door_arg_t *arg; local
334 door_arg_t *arg; local
378 door_arg_t *arg; local
422 door_arg_t *arg; local
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_upgrade/
H A Dzpool_upgrade_005_neg.ksh49 for arg in "/tmp" "-?" "-va" "-v fakepool" "-a fakepool" ; do
50 log_mustnot zpool upgrade $arg
/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A Dgetmessage.c47 va_list arg; local
52 va_start(arg, type);
54 va_start(arg);
57 rval = _getmessage(buf, type, arg);
58 va_end(arg);
H A Dputmessage.c46 va_list arg; local
50 va_start(arg, type);
52 va_start(arg);
55 size = _putmessage(buf, type, arg);
56 va_end(arg);
/illumos-gate/usr/src/lib/libcmd/common/
H A Dmkdir.c67 register char* arg; local
87 mode = strperm(arg = opt_info.arg, &opt_info.arg, mode);
88 if (*opt_info.arg)
89 error(ERROR_exit(0), "%s: invalid mode", arg);
98 error(2, "%s", opt_info.arg);
101 error(ERROR_usage(2), "%s", opt_info.arg);
123 while (arg = *argv++)
125 if (mkdir(arg, mod
[all...]
/illumos-gate/usr/src/lib/libm/amd64/src/
H A Datanl.s35 fldt 8(%rsp) / push arg
37 fpatan / atan(arg/1.0)
H A Dlog10l.s36 fldt 8(%rsp) / st = arg, st(1) = log10(2)
37 fyl2x / st = log10(arg) = log10(2)*log2(arg)
H A Dlogl.s36 fldt 8(%rsp) / st = arg, st(1) = loge(2)
37 fyl2x / st = ln(arg) = loge(2)*log2(arg)
/illumos-gate/usr/src/lib/libm/i386/src/
H A Datan.s35 fldl 4(%esp) / push arg
37 fpatan / atan(arg/1.0)
H A Datanl.s35 fldt 4(%esp) / push arg
37 fpatan / atan(arg/1.0)
H A Dlog10f.s37 flds 4(%esp) / st = arg, st(1) = log10(2)
38 fyl2x / st = log10(arg) = log10(2)*log2(arg)
/illumos-gate/usr/src/tools/cw/
H A Dcw.c104 * -W<c>,<arg> Pass <arg> to specified component <c> (a,l,m,p,0,2,h,i,u)
231 * -Wa,<arg> pass-thru
232 * -Wp,<arg> pass-thru except -xc99=<a>
233 * -Wl,<arg> pass-thru
487 newae(struct aelist *ael, const char *arg) argument
493 ae->ae_arg = strdup(arg);
516 error(const char *arg) argument
519 "%s: error: mapping failed at or near arg '%s'\n", progname, arg);
687 char *arg = *++ctx->i_oldargv; local
1521 char *arg = *++ctx->i_oldargv; local
[all...]
/illumos-gate/usr/src/lib/libtnf/
H A Drecord.c45 * Retrieve the tag arg, encoded in low 16 bits of tag word
52 tnf_ref32_t *arg; local
60 arg = _tnf_get_tag_arg(tnf, DATUM_RECORD(datum));
62 if (arg == TNF_NULL)
64 else /* repackage the tag arg with its taginfo */
65 return (RECORD_DATUM(tnf, arg));
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Dglobals_machelf.c75 * arg - As passed to conv_expn_field().
99 cef_cp(CONV_EXPN_FIELD_ARG *arg, CONV_EXPN_FIELD_STATE *state, argument
133 (void) conv_invalid_val(&inv_buf, arg->oflags, 0);
134 (void) strlcpy(arg->buf, inv_buf.buf, arg->bufsize);
144 cef_setup(CONV_EXPN_FIELD_ARG *arg, Conv_fmt_flags_t fmt_flags, argument
150 state->cur = arg->buf;
151 state->room = arg->bufsize;
153 state->sep_str = arg->sep ? arg
178 cef_wrap(CONV_EXPN_FIELD_ARG *arg, Conv_fmt_flags_t fmt_flags, CONV_EXPN_FIELD_STATE *state, Xword rflags) argument
228 _conv_expn_field(CONV_EXPN_FIELD_ARG *arg, const Val_desc *vdp, Conv_fmt_flags_t fmt_flags, const char *local_sgs_msg) argument
257 _conv_expn_field2(CONV_EXPN_FIELD_ARG *arg, uchar_t osabi, Half mach, const Val_desc2 *vdp, Conv_fmt_flags_t fmt_flags, const char *local_sgs_msg) argument
[all...]

Completed in 65 milliseconds

1234567891011>>