Searched refs:arg (Results 1 - 25 of 3088) 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/test/util-tests/tests/awk/gnu/
H A Dprmreuse.awk5 function dummy(arg)
7 return arg
/illumos-gate/usr/src/tools/smatch/src/validation/linear/
H A Dcall-complex-pointer.c1 int foo(int p, int (*f0)(int), int (*f1)(int), int arg) argument
3 return (p ? f0 : f1)(arg);
/illumos-gate/usr/src/tools/smatch/src/validation/optim/
H A Dcall-complex-pointer.c1 int foo(int p, int (*f0)(int), int (*f1)(int), int arg) argument
3 return (p ? f0 : f1)(arg);
/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/tools/smatch/src/validation/
H A Dtransparent-union.c13 static void foo(transparent_arg arg) argument
19 struct b arg = { 0 }; local
20 foo((struct a *) &arg);
H A Dtype1.c20 static int test(struct hello *arg) argument
22 return deref(arg->array);
H A DWaddress.c5 int test_address(int arg, int ptr[]) argument
10 if (arg) return -1;
20 if (&arg) return 1;
26 int test_address_not(int arg, int ptr[]) argument
31 if (!arg) return -1;
41 if (!&arg) return 0;
47 int test_address_cmp(int arg, int ptr[]) argument
53 if (arg == 0) return -1;
54 if (0 == arg) return -1;
71 if (&arg
[all...]
/illumos-gate/usr/src/cmd/fs.d/smbclnt/smbutil/
H A Dsrvsvc1_clnt.c82 struct mslm_NetServerGetInfo arg; local
86 bzero(&arg, sizeof (arg));
89 arg.servername = ndr_rpc_malloc(handle, len);
90 if (arg.servername == NULL)
93 (void) snprintf((char *)arg.servername, len, "\\\\%s", server);
94 arg.level = level;
96 rc = ndr_rpc_call(handle, opnum, &arg);
97 if ((rc != 0) || (arg.status != 0))
100 *resp = arg
113 struct mslm_NetShareEnum arg; local
[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/tools/smatch/src/
H A Dcheck_dma_on_stack.c24 struct expression *arg; local
28 arg = get_argument_from_call_expr(expr->args, PTR_INT(param));
29 arg = strip_expr(arg);
30 if (!arg)
32 if (arg->type == EXPR_PREOP && arg->op == '&') {
33 if (arg->unop->type != EXPR_SYMBOL)
35 name = expr_to_str(arg);
40 if (arg
56 int arg; local
[all...]
H A Dsmatch_function_info.c30 struct symbol *arg; local
34 FOR_EACH_PTR(sym->ctype.base_type->arguments, arg) {
36 sql_insert_function_type(i, type_to_str(get_real_base_type(arg)));
37 } END_FOR_EACH_PTR(arg);
H A Dcheck_test_bit.c25 struct expression *arg; local
28 arg = get_argument_from_call_expr(expr->args, 0);
29 arg = strip_expr(arg);
31 if (!arg || arg->type != EXPR_BINOP)
33 if (arg->op != '|' && arg->op != SPECIAL_LEFTSHIFT)
35 macro = get_macro_name(arg->pos);
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_reopen/
H A Dzpool_reopen_006_neg.ksh39 for arg in ${args[@]}; do
40 log_mustnot zpool reopen $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);

Completed in 284 milliseconds

1234567891011>>