| /onnv/onnv-gate/usr/src/lib/librpcsvc/common/ |
| rusersxdr.c | 47 xdr_ru_utmp(xdrsp, up) 49 struct ru_utmp *up; 60 len = (int)sizeof (up->ut_line); 63 if (len != sizeof (up->ut_line)) { 66 if (!xdr_opaque(xdrsp, (char *)up->ut_line, len)) { 69 len = (int)sizeof (up->ut_name); 72 if (len != sizeof (up->ut_name)) { 75 if (!xdr_opaque(xdrsp, (char *)up->ut_name, len)) { 78 len = (int)sizeof (up->ut_host); 81 if (len != sizeof (up->ut_host)) [all...] |
| rusers_simple.c | 42 struct utmpidlearr up; local 51 up.uia_cnt = 0; 52 up.uia_arr = NULL; 53 if (rusers(host, &up) != 0) 60 uap->utmp_array_val = (rusers_utmp *)malloc(up.uia_cnt 63 xdr_free(xdr_utmpidlearr, (char *)&up); 66 uap->utmp_array_len = up.uia_cnt; 68 i < up.uia_cnt; rutp++, i++) { 85 xdr_free(xdr_utmpidlearr, (char *)&up); 89 up.uia_arr[i]->ui_utmp.ut_line [all...] |
| /onnv/onnv-gate/usr/src/lib/libast/common/dir/ |
| getdents.c | 80 register struct dirent* up; /* user */ 92 up = (struct dirent*)buf; 102 up->d_fileno = i; 103 u = up->d_name; 104 while ((*u = *sp++) && u < up->d_name + MAXNAMLEN) u++; 106 up->d_reclen = sizeof(struct dirent) - sizeof(up->d_name) + (up->d_namlen = u - up->d_name) + 1; 107 up->d_reclen = roundof(up->d_reclen, 8) [all...] |
| /onnv/onnv-gate/usr/src/cmd/ttymon/ |
| tmutmp.c | 67 struct utmpx *up = &utmpx; /* and a pointer to it */ local 69 (void) memset(up, '\0', sizeof (utmpx)); 70 up->ut_user[0] = '.'; 71 (void) strncpy(&up->ut_user[1], Tag, sizeof (up->ut_user)-1); 72 (void) strncpy(up->ut_line, lastname(line), sizeof (up->ut_line)); 73 up->ut_pid = getpid(); 74 up->ut_type = USER_PROCESS; 75 up->ut_id[0] = 't' 128 struct utmpx *up; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/acct/lib/ |
| namtouid.c | 51 register struct ulist *up; local 55 for (up = ul; up < &ul[usize]; up++) 56 if (strncmp(name, up->uname, NSZ) == 0) 57 return(up->uuid); 65 CPYN(up->uname, name); 66 up->uuid = tuid;
|
| uidtonam.c | 31 * convert uid to login name; interface to getpwuid that keeps up to USIZE1 55 register struct ulist *up; local 59 for (up = ul; up < &ul[usize1]; up++) 60 if (uid == up->uuid) 61 return(up->uname); 67 up->uuid = uid; 68 CPYN(up->uname, pp->pw_name);
|
| /onnv/onnv-gate/usr/src/lib/libc/port/gen/ |
| atoi.c | 52 unsigned char *up = (unsigned char *)p; local 54 if (!isdigit(c = *up)) { 56 c = *++up; 62 c = *++up; 67 for (n = '0' - c; isdigit(c = *++up); ) {
|
| atol.c | 52 unsigned char *up = (unsigned char *)p; local 54 if (!isdigit(c = *up)) { 56 c = *++up; 62 c = *++up; 67 for (n = '0' - c; isdigit(c = *++up); ) {
|
| atoll.c | 55 unsigned char *up = (unsigned char *)p; local 57 if (!isdigit(c = *up)) { 59 c = *++up; 65 c = *++up; 70 for (n = '0' - c; isdigit(c = *++up); ) {
|
| /onnv/onnv-gate/usr/src/cmd/getent/ |
| dogetnet.c | 46 u_char *up = (u_char *)&addr; local 50 if (up[0]) { 52 up[0], up[1], up[2], up[3]); 53 } else if (up[1]) { 54 (void) sprintf(result, "%d.%d.%d", up[1], up[2], up[3]) [all...] |
| /onnv/onnv-gate/usr/src/lib/libast/common/comp/ |
| getoptl.c | 37 static Sfio_t* up; variable 49 if (!up || optstring != lastoptstring || longopts != lastlongopts) 51 if (!up && !(up = sfstropen())) 53 sfprintf(up, "[-1p%d]", flags); 58 sfprintf(up, "\n[%d:%s]", UCHAR_MAX + 1 + (o - longopts), o->name); 61 sfprintf(up, "\n[%c:%s]", o->val, o->name); 75 sfputc(up, ':'); 77 sfputc(up, '?'); 78 sfprintf(up, "[string]") [all...] |
| /onnv/onnv-gate/usr/src/cmd/dtrace/test/tst/common/ip/ |
| get.ipv6remote.pl | 52 my $up; 58 # "UP" is always printed first (see print_flags() in ifconfig.c): 59 $up = 1 if /^[a-z].*<UP,/; 60 $up = 0 if /^[a-z].*<,/; 66 $local = $addr if $up and $local eq ""; 67 $up = 0;
|
| get.ipv4remote.pl | 52 my $up; 57 # "UP" is always printed first (see print_flags() in ifconfig.c): 58 $up = 1 if /^[a-z].*<UP,/; 59 $up = 0 if /^[a-z].*<,/; 65 $local = $addr if $up and $local eq ""; 66 $up = 0;
|
| /onnv/onnv-gate/usr/src/cmd/nscd/ |
| getnet.c | 73 uchar_t *up; local 76 up = (uchar_t *)&net; 78 if (up[0]) 81 up[0], up[1], up[2], up[3]); 82 else if (up[1]) 85 up[1], up[2], up[3]) [all...] |
| /onnv/onnv-gate/usr/src/cmd/sendmail/src/ |
| udb.c | 87 # define UDB_REMOTE 2 /* look up in remote database */ 88 # define UDB_DBFETCH 3 /* look up in local database */ 90 # define UDB_HESIOD 5 /* look up via hesiod */ 109 ** UDBEXPAND -- look up user in database and expand 140 register struct udbent *up; local 189 for (up = UdbEnts; !breakout; up++) 214 switch (up->udb_type) 224 i = (*up->udb_dbp->seq)(up->udb_dbp, &key, &info, R_CURSOR) 600 register struct udbent *up; local 903 register struct udbent *up; local 1204 struct udbent *up; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/whodo/ |
| whodo.c | 171 struct uproc *up, *parent, *pgrp; local 279 " up %d day(s), %d hr(s), " 341 up = findhash(info.pr_pid); 342 up->p_ttyd = info.pr_ttydev; 343 up->p_state = (info.pr_nlwp == 0? ZOMBIE : RUNNING); 344 up->p_time = 0; 345 up->p_ctime = 0; 346 up->p_igintr = 0; 347 (void) strncpy(up->p_comm, info.pr_fname, 349 up->p_args[0] = 0 703 struct uproc *up, *tp; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/audio/utilities/ |
| Resample.cc | 35 * Then the input signal is up-sampled to fm by inserting (L -1) zero valued 93 * convolution of coef[order + 1] and data[length] up-sampled by a factor 101 int inc_coef, // 1-to-L up-sample for data[length] 131 if (up <= 1) 151 up = rate_out / commonfactor; 154 int fold = (up > down)? up : down; // take the bigger rate change 159 if (up > 1) { // need (order/up) states 160 num_state = (order + up - 1) / up [all...] |
| /onnv/onnv-gate/usr/src/cmd/ssh/libopenbsd-compat/common/ |
| getcwd.c | 63 char *ept, *eup, *up; local 90 if ((up = malloc(upsize = 1024 - 4)) == NULL) 92 eup = up + MAXPATHLEN; 93 bup = up; 94 up[0] = '.'; 95 up[1] = '\0'; 107 if (lstat(up, &s)) 123 free(up); 135 if ((nup = realloc(up, upsize *= 2)) == NULL) 137 up = nup [all...] |
| /onnv/onnv-gate/usr/src/cmd/acct/ |
| acctprc1.c | 172 * read ctmp file, build up urec-srec data structures for 179 struct urec *up; local 188 up = NULL; 198 if (up == NULL || cb.ct_uid != up->ur_uid || 199 !EQN(cb.ct_name, up->ur_name)) { 200 if (up == NULL) 201 up = ur; 202 if (++up >= &ur[a_usize]) { 209 up = &ur[a_usize - A_USIZE] 252 struct urec *up; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/svc/milestone/ |
| net-loopback | 30 # In a shared-IP zone we need this service to be up, but all of the work 48 /sbin/ifconfig lo0 plumb 127.0.0.1 up 51 /sbin/ifconfig lo0 inet6 plumb ::1 up
|
| /onnv/onnv-gate/usr/src/cmd/w/ |
| w.c | 165 struct uproc *up, *parent, *pgrp; local 281 PRINTF((gettext(" up"))); 358 up = findhash(info.pr_pid); 359 up->p_ttyd = info.pr_ttydev; 360 up->p_state = (info.pr_nlwp == 0? ZOMBIE : RUNNING); 361 up->p_time = 0; 362 up->p_ctime = 0; 363 up->p_igintr = 0; 364 (void) strncpy(up->p_comm, info.pr_fname, 366 up->p_args[0] = 0 614 struct uproc *up, *tp; local [all...] |
| /onnv/onnv-gate/usr/src/uts/sun4u/ngdr/io/ |
| dr_cpu.c | 286 dr_cpu_unit_t *up = (dr_cpu_unit_t *)devlist[i]; local 288 ASSERT(dr_cpu_unit_is_sane(hp->h_bd, up)); 296 curr_cpu = DR_UNUM2SBD_UNUM(up->sbc_cm.sbdev_unum, 300 up->sbc_cm.sbdev_path); 304 if (up->sbc_cm.sbdev_state == DR_STATE_UNCONFIGURED) { 312 up->sbc_cpu_id); 314 CPU_SGN_MAPOUT(up->sbc_cpu_id); 376 dr_cpu_unit_t *up = (dr_cpu_unit_t *)devlist[i]; local 379 ASSERT(dr_cpu_unit_is_sane(hp->h_bd, up)); 381 cp = cpu_get(up->sbc_cpu_id) 428 dr_cpu_unit_t *up; local 554 dr_cpu_unit_t *up = (dr_cpu_unit_t *)devlist[i]; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/cachefs/ |
| cachefs_dlog.c | 182 * Sets up for writing to the log files. 398 /* clean up the log file */ 404 /* clean up the map file */ 445 /* round up length to a 4 byte boundary */ 457 /* XXX debugging hack, round up to 16 byte boundary */ 616 struct cfs_dlog_setattr *up; local 626 up = &entp->dl_u.dl_setattr; 627 CACHEFS_DLOG_VATTR_COPY(vap, &up->dl_attrs, 629 up->dl_flags = flags; 630 up->dl_cid = cp->c_id 655 struct cfs_dlog_setsecattr *up; local 743 struct cfs_dlog_create *up; local 802 struct cfs_dlog_remove *up; local 843 struct cfs_dlog_link *up; local 885 struct cfs_dlog_rename *up; local 949 struct cfs_dlog_mkdir *up; local 990 struct cfs_dlog_rmdir *up; local 1035 struct cfs_dlog_symlink *up; local 1086 struct cfs_dlog_modify *up; local 1126 struct cfs_dlog_mapfid *up; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/t/op/ |
| inc.t | 122 my %up = (1=>2, ab => 'ac'); 126 my $ans = $up{$_}; 127 my $up; 128 eval {$up = ++$_}; 129 ok ((defined $up and $up eq $ans), $up, $@); 145 my $up; 146 eval {$up = $_++}; 147 ok ((defined $up and $up eq $ans), $up, $@) [all...] |
| /onnv/onnv-gate/usr/src/uts/intel/sys/ |
| mc_amd.h | 273 #define _MCREG_FIELD(up, revsuffix, field) ((up)->_fmt_##revsuffix.field) 275 #define MCREG_VAL32(up) ((up)->_val32) 280 #define MCREG_FIELD_CMN(up, field) _MCREG_FIELD(up, cmn, field) 285 #define MCREG_FIELD_F_preF(up, field) _MCREG_FIELD(up, f_preF, field) 290 #define MCREG_FIELD_F_revFG(up, field) _MCREG_FIELD(up, f_revFG, field [all...] |