/illumos-gate/usr/src/lib/libpp/common/ |
H A D | ppcontext.c | 27 * args op return 40 struct ppcontext* op; local 44 if (!(op = pp.context)) op = pp.context = newof(0, struct ppcontext, 1, 0); 45 memcpy(op, _PP_CONTEXT_BASE_, sizeof(struct ppcontext)); 49 if (!(op = np)) op = (struct ppcontext*)_PP_CONTEXT_BASE_; 50 if (op->filtab) hashfree(op->filtab); 51 if (op [all...] |
H A D | ppproto.c | 80 char* op; /* output buffer pointer */ member in struct:proto 361 init(struct proto* proto, char* op, int flags) argument 367 op = strcopy(op, "\ 429 op = strcopy(op, "\ 461 switch (*op++ = *s++) 464 op--; 467 op = strcopy(op 548 register char* op; local 2476 register char* op = proto->ob; local [all...] |
/illumos-gate/usr/src/lib/libast/common/string/ |
H A D | swapop.c | 35 * if size<0 then (-size) used and (-size==4)&&(op==3) => op=7 42 register int op; local 51 for (op = 0; op < z; op++) 52 if (!memcmp(internal, swapmem(op, external, tmp, z), z)) 54 if (size < 0 && z == 4 && op == 3) 55 op = 7; 56 return op; [all...] |
H A D | swapput.c | 34 * put v of n chars into b according to op 38 swapput(int op, void* b, int n, intmax_t v) argument 47 if (op) 48 swapmem(op, p, p, n);
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_open_andx.c | 220 struct open_param *op = &sr->arg.open; local 223 bzero(op, sizeof (sr->arg.open)); 225 rc = smbsr_decode_vwv(sr, "ww", &op->omode, &op->fqi.fq_sattr); 227 rc = smbsr_decode_data(sr, "%S", sr, &op->fqi.fq_path.pn_path); 230 struct open_param *, op); 244 struct open_param *op = &sr->arg.open; local 251 op->desired_access = smb_omode_to_amask(op->omode); 252 op 327 struct open_param *op = &sr->arg.open; local 376 struct open_param *op = &sr->arg.open; local 480 struct open_param *op = &sr->arg.open; local [all...] |
H A D | smb_nt_create_andx.c | 171 struct open_param *op = &sr->arg.open; local 177 bzero(op, sizeof (sr->arg.open)); 181 &op->nt_flags, 182 &op->rootdirfid, 183 &op->desired_access, 184 &op->dsize, 185 &op->dattr, 186 &op->share_access, 187 &op->create_disposition, 188 &op 233 struct open_param *op = &sr->arg.open; local [all...] |
H A D | smb_create.c | 38 struct open_param *op = &sr->arg.open; local 41 bzero(op, sizeof (sr->arg.open)); 43 rc = smbsr_decode_vwv(sr, "wl", &op->dattr, &op->mtime.tv_sec); 45 rc = smbsr_decode_data(sr, "%S", sr, &op->fqi.fq_path.pn_path); 47 op->create_disposition = FILE_OVERWRITE_IF; 48 op->create_options = FILE_NON_DIRECTORY_FILE; 51 struct open_param *, op); 81 struct open_param *op = &sr->arg.open; local 84 bzero(op, sizeo 123 struct open_param *op = &sr->arg.open; local 151 struct open_param *op = &sr->arg.open; local 182 struct open_param *op = &sr->arg.open; local [all...] |
H A D | smb_nt_transact_create.c | 55 struct open_param *op = &sr->arg.open; local 65 bzero(op, sizeof (sr->arg.open)); 69 &op->nt_flags, 70 &op->rootdirfid, 71 &op->desired_access, 72 &op->dsize, 73 &op->dattr, 74 &op->share_access, 75 &op->create_disposition, 76 &op 142 struct open_param *op = &sr->arg.open; local [all...] |
H A D | smb_common_open.c | 298 smb_arg_open_t *op = &sr->sr_open; local 310 smb_pathname_t *pn = &op->fqi.fq_path; 313 is_dir = (op->create_options & FILE_DIRECTORY_FILE) ? 1 : 0; 321 if ((op->create_disposition != FILE_CREATE) && 322 (op->create_disposition != FILE_OPEN_IF) && 323 (op->create_disposition != FILE_OPEN)) { 328 if (op->desired_access & MAXIMUM_ALLOWED) { 330 op->desired_access &= ~MAXIMUM_ALLOWED; 332 op->desired_access = smb_access_generic_to_file(op 937 smb_arg_open_t *op = &sr->sr_open; local 960 smb_open_attr_only(smb_arg_open_t *op) argument 972 smb_open_overwrite(smb_arg_open_t *op) argument 1002 smb_arg_open_t *op = &sr->sr_open; local 1052 smb_arg_open_t *op = &sr->sr_open; local [all...] |
/illumos-gate/usr/src/lib/libast/common/stdio/ |
H A D | fseek.c | 31 fseek(Sfio_t* f, long off, int op) argument 33 STDIO_INT(f, "fseek", int, (Sfio_t*, long, int), (f, off, op)) 35 return sfseek(f, (Sfoff_t)off, op|SF_SHARE) >= 0 ? 0 : -1; 41 fseek64(Sfio_t* f, int64_t off, int op) argument 43 STDIO_INT(f, "fseek64", int, (Sfio_t*, int64_t, int), (f, off, op)) 45 return sfseek(f, (Sfoff_t)off, op|SF_SHARE) >= 0 ? 0 : -1;
|
H A D | fseeko.c | 31 fseeko(Sfio_t* f, off_t off, int op) argument 33 STDIO_INT(f, "fseeko", int, (Sfio_t*, off_t, int), (f, off, op)) 35 return sfseek(f, (Sfoff_t)off, op|SF_SHARE) >= 0 ? 0 : -1; 41 fseeko64(Sfio_t* f, int64_t off, int op) argument 43 STDIO_INT(f, "fseeko64", int, (Sfio_t*, int64_t, int), (f, off, op)) 45 return sfseek(f, (Sfoff_t)off, op|SF_SHARE) >= 0 ? 0 : -1;
|
/illumos-gate/usr/src/lib/libast/common/comp/ |
H A D | getsubopt.c | 42 getsubopt(register char** op, char* const* tp, char** vp) 48 if (*(b = *op)) 74 *op = s; 76 for (op = (char**)tp; *op; op++) 77 if (streq(b, *op)) 78 return op - (char**)tp;
|
H A D | open.c | 48 _ast_open(const char* path, int op, ...) 57 va_start(ap, op); 58 mode = (op & O_CREAT) ? va_arg(ap, int) : S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH; 60 if (op & ~(_ast_O_LOCAL-1)) 62 if (!(op & O_CREAT)) 63 op &= ~O_EXCL; 66 if (op & O_TRUNC) 68 if ((op & O_EXCL) && !access(path, F_OK)) 73 if ((fd = creat(path, (op & O_EXCL) ? 0 : mode)) < 0) 75 if (op [all...] |
H A D | fcntl.c | 52 _ast_fcntl(int fd, int op, ...) 60 va_start(ap, op); 61 if (op >= _ast_F_LOCAL) switch (op) 66 op = dup2(fd, n); 71 op = fstat(fd, &st); 77 op = ioctl(fd, n == FD_CLOEXEC ? FIOCLEX : FIONCLEX, 0); 82 op = -1; 87 op = fcntl(fd, op, va_ar [all...] |
/illumos-gate/usr/src/uts/common/io/comstar/port/fct/ |
H A D | discovery.h | 34 #define FCT_ELS_NAME(op) (((op > 0x7f) || (fct_els_names[(op)] == 0)) ? \ 35 "" : (fct_els_names[(op)]))
|
/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | remove_hash.c | 22 iplookupop_t op; local 30 op.iplo_type = IPLT_HASH; 31 op.iplo_unit = iphp->iph_unit; 32 strncpy(op.iplo_name, iphp->iph_name, sizeof(op.iplo_name)); 33 if (*op.iplo_name == '\0') 34 op.iplo_arg = IPHASH_ANON; 35 op.iplo_size = sizeof(iph); 36 op.iplo_struct = &iph; 44 if ((*iocfunc)(hashfd, SIOCLOOKUPDELTABLE, &op)) [all...] |
H A D | remove_pool.c | 22 iplookupop_t op; local 30 op.iplo_type = IPLT_POOL; 31 op.iplo_unit = poolp->ipo_unit; 32 strncpy(op.iplo_name, poolp->ipo_name, sizeof(op.iplo_name)); 33 op.iplo_size = sizeof(pool); 34 op.iplo_struct = &pool; 41 if ((*iocfunc)(poolfd, SIOCLOOKUPDELTABLE, &op))
|
H A D | addipopt.c | 12 int addipopt(op, io, len, class) 13 char *op; 29 *op++ = io->on_value; 31 s = op; 32 *op++ = io->on_siz; 33 *op++ = IPOPT_MINOFF; 40 *(op - 1) = lvl; 46 bcopy((char *)&ipadr, op, sizeof(ipadr)); 50 bcopy((char *)&val, op, 2); 55 op [all...] |
H A D | load_pool.c | 28 iplookupop_t op; local 41 op.iplo_unit = plp->ipo_unit; 42 op.iplo_type = IPLT_POOL; 43 op.iplo_arg = 0; 44 strncpy(op.iplo_name, plp->ipo_name, sizeof(op.iplo_name)); 45 op.iplo_size = sizeof(pool); 46 op.iplo_struct = &pool; 50 op.iplo_arg |= IPOOL_ANON; 53 if ((*iocfunc)(poolfd, SIOCLOOKUPADDTABLE, &op)) [all...] |
/illumos-gate/usr/src/boot/lib/libz/ |
H A D | inffast.c | 91 unsigned op; /* code bits, operation, extra bits, or */ local 129 op = (unsigned)(here.bits); 130 hold >>= op; local 131 bits -= op; 132 op = (unsigned)(here.op); 133 if (op == 0) { /* literal */ 139 else if (op & 16) { /* length base */ 141 op &= 15; /* number of extra bits */ 142 if (op) { 148 hold >>= op; local 161 hold >>= op; local 183 hold >>= op; local [all...] |
/illumos-gate/usr/src/uts/common/zmod/ |
H A D | inffast.c | 93 unsigned op; /* code bits, operation, extra bits, or */ local 131 op = (unsigned)(this.bits); 132 hold >>= op; local 133 bits -= op; 134 op = (unsigned)(this.op); 135 if (op == 0) { /* literal */ 141 else if (op & 16) { /* length base */ 143 op &= 15; /* number of extra bits */ 144 if (op) { 150 hold >>= op; local 163 hold >>= op; local 185 hold >>= op; local [all...] |
/illumos-gate/usr/src/cmd/ast/msgcc/ |
H A D | msgcvt.c | 190 sfpututf(Sfio_t* op, register int w) argument 193 return sfputc(op, w); 195 sfputc(op, 0xC0 + (w >> 6)); 198 sfputc(op, 0xE0 + (w >> 12)); 199 sfputc(op, 0x80 + (w >> 6 ) & 0x3F); 202 return sfputc(op, '?'); 203 return sfputc(op, 0x80 + (w & 0x3F)); 216 html2msg(register Sfio_t* ip, register Sfio_t* op, int flags) argument 258 sfpututf(op, c); 277 sfputc(op, 411 encode(Sfio_t* op, register int c) argument 430 msg2html(register Sfio_t* ip, register Sfio_t* op, register int flags) argument [all...] |
/illumos-gate/usr/src/lib/libc/port/i18n/ |
H A D | plural_parser.h | 69 #define GETTYPE(op) ((op) & 0x000fffff) 70 #define GETPRIO(op) (((op) & 0x0ff00000) >> 20) 71 #define GETOPNUM(op) (((op) & 0xf0000000) >> 28) 76 unsigned int op; /* operator */ member in struct:expr 78 unsigned int flag; /* flag for the previous op */
|
/illumos-gate/usr/src/lib/libbsdmalloc/common/ |
H A D | malloc.bsd43.c | 99 union overhead *op; local 110 op = sbrk(0); 111 n = pagesz - sizeof (*op) - ((uintptr_t)op & (pagesz - 1)); 124 op = sbrk(0); 125 sbrk_adjust = (uintptr_t)(op + 1) & (pagesz - 1); 142 if (nbytes <= (n = pagesz - sizeof (*op))) { 145 n = -(ssize_t)(sizeof (*op)); 160 if ((op = nextf[bucket]) == NULL) { 162 if ((op 178 union overhead *op; local 237 union overhead *op; local 268 union overhead *op; local [all...] |
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_set.c | 45 struct option *op; local 261 for (op = options; op < &options[vi_NOPTS]; op++) 262 if (eq(op->oname, cp) || op->oabbrev && eq(op->oabbrev, cp)) 264 if (op->oname == 0) 273 propt(op); 277 if (op 398 struct option *op = options; local 415 struct option *op; local 441 propt(struct option *op) argument [all...] |