/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_filter.c | 365 for (op = oplist; *op; op++) { in codeprint() 369 printf("\t%2d: (%d)\n", op - oplist, *op); in codeprint() 378 op - oplist, *op, *op); in codeprint() 381 op - oplist, *op, *op); in codeprint() 402 for (op = oplistp; *op; op++) { in optimize() 413 *op = oplist[*op + 1]; in optimize() 421 *op = oplist[*op + 1]; in optimize() 573 for (op = oplist; *op; op++) { in want_packet() 694 op = &oplist[*op] - 1; in want_packet() 699 op = &oplist[*op] - 1; in want_packet() [all …]
|
/illumos-gate/usr/src/cmd/awk_xpg4/ |
H A D | awk2.c | 468 OFILE *op; in doend() local 475 for (op = &ofiles[0]; op < &ofiles[NIOSTREAM]; op++) in doend() 477 awkclose(op); in doend() 587 OFILE *op; in openfile() local 604 for (op = &ofiles[0]; op < &ofiles[NIOSTREAM]; op++) { in openfile() 607 fop = op; in openfile() 610 if (op->f_mode == type && strcmp(op->f_name, cp) == 0) in openfile() 617 op = fop; in openfile() 652 op->f_fp = fp; in openfile() 667 if (op->f_mode == PIPE || op->f_mode == PIPESYM) in awkclose() [all …]
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | sem.c | 292 for (op += n - 1; n--; op--) { in sem_rollback() 293 if (op->sem_op == 0) in sem_rollback() 296 semp->semval -= op->sem_op; in sem_rollback() 299 (void) sem_undo_add(-op->sem_op, op->sem_num, undo); in sem_rollback() 977 for (i = 0, op = uops; i++ < nsops; op++) { in semop() 983 if ((op->sem_flg & SEM_UNDO) && op->sem_op) in semop() 1021 op = &uops[i]; in semop() 1027 if (op->sem_op > 0) { in semop() 1030 (error = sem_undo_add(op->sem_op, op->sem_num, in semop() 1057 if (op->sem_op < 0) { in semop() [all …]
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/fw/ |
H A D | init_defs.h | 70 u32 op:8; member 76 u32 op:8; member 82 u32 op:8; member 88 u32 op:8; member 100 u32 op:8; member 106 u32 op:8; member 113 u32 op:8; member 119 u32 op:8; member
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | check_implicit_dependencies.c | 282 if (expr->op == SPECIAL_ADD_ASSIGN || expr->op == SPECIAL_INCREMENT || in unop_expr() 283 expr->op == SPECIAL_SUB_ASSIGN || expr->op == SPECIAL_DECREMENT || in unop_expr() 284 expr->op == SPECIAL_MUL_ASSIGN || expr->op == SPECIAL_DIV_ASSIGN || in unop_expr() 285 expr->op == SPECIAL_MOD_ASSIGN || expr->op == SPECIAL_AND_ASSIGN || in unop_expr() 286 expr->op == SPECIAL_OR_ASSIGN || expr->op == SPECIAL_XOR_ASSIGN || in unop_expr() 287 expr->op == SPECIAL_SHL_ASSIGN || expr->op == SPECIAL_SHR_ASSIGN) in unop_expr()
|
H A D | smatch_expressions.c | 64 struct expression *member_expression(struct expression *deref, int op, struct ident *member) in member_expression() argument 69 expr->op = op; in member_expression() 76 struct expression *preop_expression(struct expression *expr, int op) in preop_expression() argument 82 preop->op = op; in preop_expression() 93 struct expression *assign_expression(struct expression *left, int op, struct expression *right) in assign_expression() argument 102 expr->op = op; in assign_expression() 108 struct expression *binop_expression(struct expression *left, int op, struct expression *right) in binop_expression() argument 113 expr->op = op; in binop_expression() 137 struct expression *compare_expression(struct expression *left, int op, struct expression *right) in compare_expression() argument 142 expr->op = op; in compare_expression()
|
H A D | check_impossible_mask.c | 35 if (expr->type == EXPR_BINOP && (expr->op == '&' || expr->op == '|')) { 45 if (expr->op == '&') 71 if (expr->op != '&') in get_possible_bits() 92 if (expr->op != SPECIAL_EQUAL && expr->op != SPECIAL_NOTEQUAL) in match_condition() 113 expr->op == SPECIAL_EQUAL ? "false" : "true"); in match_condition()
|
H A D | smatch_conditions.c | 70 if (expr->op == SPECIAL_LOGICAL_AND) in is_logical_and() 96 if (expr->op == SPECIAL_NOTEQUAL) { in handle_zero_comparisons() 102 if (expr->op == SPECIAL_EQUAL) { in handle_zero_comparisons() 160 if (expr->op == '!') { in handle_preop() 365 switch (op) { in make_op_unsigned() 375 return op; in make_op_unsigned() 384 expr->op = make_op_unsigned(expr->op); in hackup_unsigned_compares() 547 if (expr->op == '!') in is_condition() 559 if (expr->op != '=') in __handle_condition_assigns() 617 if (expr->op != '=') in is_select_assign() [all …]
|
H A D | check_signed_integer_overflow_check.c | 38 if (expr->op != '<') in match_condition() 55 if (left->op != '+' && left->op != '*' && left->op != SPECIAL_LEFTSHIFT) in match_condition() 61 …sm_warning("signed overflow undefined. '%s %s %s'", left_name, show_special(expr->op), right_name); in match_condition() 72 if (expr->op != '-') in match_binop()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/ |
H A D | regsub.c | 35 subold(register Sfio_t* dp, const char* op, register const char* sp, size_t nmatch, register regmat… in subold() argument 210 s = (char*)op + match[c].rm_so; in subold() 211 e = (char*)op + match[c].rm_eo; in subold() 242 regsub(const regex_t* p, Sfio_t* dp, const char* op, const char* sp, size_t nmatch, regmatch_t* mat… in regsub() argument 256 sfwrite(dp, op, match->rm_eo); in regsub() 259 sfwrite(dp, op, match->rm_so); in regsub() 260 if (r = subold(dp, op, sp, nmatch, match, flags, sre)) in regsub() 263 op += match->rm_eo; in regsub() 264 …} while ((m > 0 || (flags & REG_SUB_ALL)) && !(r = regexec(p, op, nmatch, match, p->env->flags|(ma… in regsub() 267 sfputr(dp, op, -1); in regsub()
|
H A D | regsubexec.c | 71 sub(const regex_t* p, register regsub_t* b, const char* ss, register regsubop_t* op, size_t nmatch,… in sub() argument 77 for (;; op++) in sub() 79 switch (op->len) in sub() 84 if (op->off >= nmatch) in sub() 86 if ((c = match[op->off].rm_so) < 0) in sub() 89 if ((c = match[op->off].rm_eo) < 0) in sub() 93 switch (op->op) in sub() 131 NEED(p, b, op->len, return c); in sub() 132 s = b->re_rhs + op->off; in sub() 133 e = s + op->len; in sub()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | cat.c | 184 sfwrite(op, cur, m); in vcat() 221 sfwrite(op, tmp, m); in vcat() 245 sfprintf(op, "%6d\t", line); in vcat() 248 sfwrite(op, cur, m); in vcat() 315 sfputc(op, '^'); in vcat() 316 sfputc(op, printof(c)); in vcat() 325 sfwrite(op, (char*)meta, 3); in vcat() 340 sfputc(op, '$'); in vcat() 341 sfputc(op, '\n'); in vcat() 383 sfputc(op, '$'); in vcat() [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | an_to_ln.c | 293 char *op; in do_replacement() local 297 op = out; in do_replacement() 307 strncpy(op, repl, MAX_FORMAT_BUFFER - 1 - (op - out)); in do_replacement() 308 op += strlen(op); in do_replacement() 312 strncpy(op, cp, MAX_FORMAT_BUFFER - 1 - (op - out)); in do_replacement() 318 strncpy(op, cp, MAX_FORMAT_BUFFER - 1 - (op - out)); in do_replacement() 327 char *op; in do_replacement() local 335 op = out; in do_replacement() 347 strncpy(op, repl, MAX_FORMAT_BUFFER - 1 - (op - out)); in do_replacement() 352 strncpy(op, cp, MAX_FORMAT_BUFFER - 1 - (op - out)); in do_replacement() [all …]
|
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | where.c | 125 if( p->op==TK_COLUMN ){ in exprTableUsage() 150 static int allowedOp(int op){ in allowedOp() argument 151 switch( op ){ in allowedOp() 775 pLevel->op = OP_Noop; in sqliteWhereBegin() 886 aExpr[k].p->op==TK_LT || aExpr[k].p->op==TK_GT, brk); in sqliteWhereBegin() 905 if( aExpr[k].p->op==TK_LT || aExpr[k].p->op==TK_GT ){ in sqliteWhereBegin() 913 pLevel->op = OP_Next; in sqliteWhereBegin() 1005 && (pExpr->op==TK_LT || pExpr->op==TK_LE) in sqliteWhereBegin() 1015 && (pExpr->op==TK_GT || pExpr->op==TK_GE) in sqliteWhereBegin() 1064 && (pExpr->op==TK_GT || pExpr->op==TK_GE) in sqliteWhereBegin() [all …]
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_htable.c | 79 int fr_gethtablestat(op, ifs) in fr_gethtablestat() argument 80 iplookupop_t *op; in fr_gethtablestat() 101 int fr_newhtable(op, ifs) in fr_newhtable() argument 102 iplookupop_t *op; in fr_newhtable() 121 unit = op->iplo_unit; 128 if (fr_findhtable(op->iplo_unit, op->iplo_name, ifs) != NULL) { 186 int fr_removehtable(op, ifs) in fr_removehtable() argument 187 iplookupop_t *op; in fr_removehtable() 193 iph = fr_findhtable(op->iplo_unit, op->iplo_name, ifs); 271 iplookupflush_t *op; in fr_flushhtable() [all …]
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getopt.c | 131 char *op; /* pointer into opt */ in parselong() local 143 op = (char *)opt; in parselong() 145 while (*ip != ')' && *ip != '\0' && *op != '\0') in parselong() 146 match = (*ip++ == *op++ && match); in parselong() 148 (*op == '\0' || *op == '=')) { in parselong() 149 if ((*op) == '=') { in parselong() 151 (*longoptarg) = op + 1; in parselong()
|
/illumos-gate/usr/src/lib/libdisasm/common/ |
H A D | dis_riscv.c | 886 #define DIS_RISCV_R32(str, op, f3, f7) \ argument 888 #define DIS_RISCV_I32(str, op, f3) \ argument 890 #define DIS_RISCV_S32(str, op, f3) \ argument 892 #define DIS_RISCV_B32(str, op, f3) \ argument 894 #define DIS_RISCV_U32(str, op) \ argument 896 #define DIS_RISCV_J32(str, op) \ argument 907 #define DIS_RISCV_CSR(str, op, f3) \ argument 909 #define DIS_RISCV_CSRI(str, op, f3) \ argument 911 #define DIS_RISCV_LOAD(str, op, f3) \ argument 921 #define DIS_RISCV_A32(str, op, f3, f5) \ argument [all …]
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_options.c | 1023 const dt_option_t *op; in dtrace_getopt() local 1032 for (op = _dtrace_rtoptions; op->o_name != NULL; op++) { in dtrace_getopt() 1039 for (op = _dtrace_drtoptions; op->o_name != NULL; op++) { in dtrace_getopt() 1052 const dt_option_t *op; in dtrace_setopt() local 1057 for (op = _dtrace_ctoptions; op->o_name != NULL; op++) { in dtrace_setopt() 1058 if (strcmp(op->o_name, opt) == 0) in dtrace_setopt() 1059 return (op->o_func(dtp, val, op->o_option)); in dtrace_setopt() 1062 for (op = _dtrace_drtoptions; op->o_name != NULL; op++) { in dtrace_setopt() 1064 return (op->o_func(dtp, val, op->o_option)); in dtrace_setopt() 1067 for (op = _dtrace_rtoptions; op->o_name != NULL; op++) { in dtrace_setopt() [all …]
|
/illumos-gate/usr/src/uts/i86xpv/io/ |
H A D | xpvtod.c | 125 xen_platform_op_t op; in todxen_set() local 131 op.cmd = XENPF_settime; in todxen_set() 132 op.interface_version = XENPF_INTERFACE_VERSION; in todxen_set() 133 op.u.settime.secs = ts.tv_sec - ggmtl(); in todxen_set() 134 op.u.settime.nsecs = ts.tv_nsec; in todxen_set() 135 op.u.settime.system_time = xpv_getsystime(); in todxen_set() 136 (void) HYPERVISOR_platform_op(&op); in todxen_set()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/ |
H A D | iffe.sh | 1537 op=$1 1540 bsh) op=`echo X$op | sed 's/X--//'` ;; 1541 *) op=${op#--} ;; 1547 op=`echo X$op | sed 's/X\\(-.\\).*/\\1/'` 1550 op=${op%$arg} 1841 op=$1 1867 *'{') op=- 1870 op=exp 1875 *) op=$1 2839 bash) op=`echo $op` [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/ |
H A D | strperm.c | 50 int op; in strperm() local 64 op = num = who = typ = 0; in strperm() 101 op = c; in strperm() 145 switch (op) in strperm() 161 switch (op) in strperm() 227 op = c; in strperm() 251 if (!who && (op == '+' || op == '-')) in strperm()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4x_dispatch.c | 47 valid_first_compound_op(nfs_opnum4 op) in valid_first_compound_op() argument 49 if (op == OP_BIND_CONN_TO_SESSION || in valid_first_compound_op() 50 op == OP_SEQUENCE || in valid_first_compound_op() 51 op == OP_EXCHANGE_ID || in valid_first_compound_op() 52 op == OP_CREATE_SESSION || in valid_first_compound_op() 53 op == OP_DESTROY_SESSION || in valid_first_compound_op() 54 op == OP_DESTROY_CLIENTID || in valid_first_compound_op() 55 op == OP_ILLEGAL) in valid_first_compound_op()
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | dd.c | 118 lc.op[1] = 0; in cb_update_ds_attr() 350 const uchar_t op, in update_matrix() argument 369 if (op == '-') { in update_matrix() 394 if (op == '-') { in update_matrix() 441 if (op == '+') { in update_matrix() 489 const uchar_t op, in update_dd_matrix() argument 506 const uchar_t op, in update_dds_matrix() argument 772 lc.op[1] = 0; in get_scope() 1158 isns_tlv_t *op, in create_dd_object() argument 1226 isns_tlv_t *op, in create_dds_object() argument [all …]
|
/illumos-gate/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_zcp.c | 38 switch (op) { in npi_zcp_config() 50 if (op == ENABLE) { in npi_zcp_config() 118 switch (op) { in npi_zcp_iconfig() 130 if (op == ENABLE) in npi_zcp_iconfig() 287 if ((op != OP_SET) && (op != OP_GET)) { in npi_zcp_tt_static_entry() 291 op)); in npi_zcp_tt_static_entry() 320 if (op == OP_SET) { in npi_zcp_tt_static_entry() 411 if ((op != OP_SET) && (op != OP_GET)) { in npi_zcp_tt_dynamic_entry() 443 if (op == OP_SET) { in npi_zcp_tt_dynamic_entry() 525 if ((op != OP_SET) && (op != OP_GET)) { in npi_zcp_tt_bam_entry() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/ |
H A D | pathprobe.c | 52 pathprobe(char* path, char* attr, const char* lang, const char* tool, const char* proc, int op) in pathprobe() argument 54 return pathprobe_20100601(lang, tool, proc, op, path, PATH_MAX, attr, PATH_MAX); in pathprobe() 154 if (op >= -2) in pathprobe_20100601() 208 if (op >= -1 && (!(st.st_mode & S_ISUID) && ps.st_uid != geteuid() || rofs(path))) in pathprobe_20100601() 216 if (op >= 0 && !stat(path, &st)) in pathprobe_20100601() 298 op = -1; in pathprobe_20100601() 300 if (op >= 0 && (st.st_mode & S_IWUSR)) in pathprobe_20100601() 302 if (op == 0) in pathprobe_20100601() 304 op = -1; in pathprobe_20100601() 308 if (op >= 0) in pathprobe_20100601() [all …]
|