Home
last modified time | relevance | path

Searched refs:expr (Results 1 – 25 of 273) sorted by relevance

1234567891011

/titanic_52/usr/src/lib/libsqlite/test/
H A Dexpr.test17 # $Id: expr.test,v 1.31 2004/03/03 01:51:25 drh Exp $
26 proc test_expr {name settings expr result} {
29 } $settings $expr] $result
32 test_expr expr-1.1 {i1=10, i2=20} {i1+i2} 30
33 test_expr expr-1.2 {i1=10, i2=20} {i1-i2} -10
34 test_expr expr-1.3 {i1=10, i2=20} {i1*i2} 200
35 test_expr expr-1.4 {i1=10, i2=20} {i1/i2} 0.5
36 test_expr expr-1.5 {i1=10, i2=20} {i2/i1} 2
37 test_expr expr-1.6 {i1=10, i2=20} {i2<i1} 0
38 test_expr expr
[all...]
/titanic_52/usr/src/cmd/geniconvtbl/
H A Ddisassemble.c1188 itm_expr_t *expr; in dump_expr() local
1191 expr = (itm_expr_t *)ADDR(expr_place); in dump_expr()
1194 switch (expr->type) { in dump_expr()
1205 printi(0, "%ld", expr->data.itm_exnum); in dump_expr()
1208 data = expr->data.value; in dump_expr()
1215 printi(0, "%s", reg_name(itm_hdr, expr->data.operand[0])); in dump_expr()
1217 case ITM_EXPR_IN_VECTOR: /* in[expr] */ in dump_expr()
1219 dump_expr(itm_hdr, expr->data.operand[0]); in dump_expr()
1223 printi(0, RNPREF "in[%ld]", expr->data.operand[0].itm_ptr); in dump_expr()
1224 if (0 == expr in dump_expr()
[all...]
H A Ditm_comp.y53 itm_expr_t *expr; member
97 %type <expr> expr
98 %type <expr> itm_in
372 | expr
375 TRACE_MESSAGE('y', ("condition_expr: expr\n"));
668 | expr SC
670 TRACE_MESSAGE('y', ("op_unit: expr;\n"));
675 TRACE_MESSAGE('y', ("expr: error;\n"));
678 | ERROR expr S
[all...]
H A Ditm_util.c2117 itm_expr_t *expr; in expr_self_num() local
2119 expr = malloc_vital(sizeof (itm_expr_t)); in expr_self_num()
2120 expr->type = type; in expr_self_num()
2121 expr->data.itm_exnum = data; in expr_self_num()
2123 expr->data.itm_expad = (data < 0) ? (pad_t)(~0) : 0; in expr_self_num()
2125 return (expr); in expr_self_num()
2132 itm_expr_t *expr; in expr_self() local
2135 expr = malloc_vital(sizeof (itm_expr_t)); in expr_self()
2136 expr->type = type; in expr_self()
2138 expr in expr_self()
2182 itm_expr_t *expr; expr_unary() local
2199 itm_expr_t *expr; expr_binary() local
2240 itm_expr_t *expr; expr_binary2() local
2308 itm_expr_t *expr; expr_assign() local
2333 expr_seq_to_int(itm_expr_t * expr) expr_seq_to_int() argument
[all...]
/titanic_52/usr/src/cmd/awk_xpg4/
H A Dawk.y140 %type <node> prog rule pattern expr rvalue lvalue fexpr varlist varlist2
197 | expr COMMA expr = {
212 | expr = {
226 expr %prec COMMA
227 | exprlist COMMA expr = {
247 expr
256 expr:
257 expr PLUSC expr
[all...]
/titanic_52/usr/src/lib/libdwarf/common/
H A Dpro_expr.c76 dwarf_add_expr_gen(Dwarf_P_Expr expr, in dwarf_add_expr_gen() argument
88 Dwarf_P_Debug dbg = expr->ex_dbg; in dwarf_add_expr_gen()
115 if (expr == NULL) { in dwarf_add_expr_gen()
120 if (expr->ex_dbg == NULL) { in dwarf_add_expr_gen()
200 _dwarf_p_error(expr->ex_dbg, error, DW_DLE_EXPR_LENGTH_BAD); in dwarf_add_expr_gen()
211 _dwarf_p_error(expr->ex_dbg, error, DW_DLE_EXPR_LENGTH_BAD); in dwarf_add_expr_gen()
252 _dwarf_p_error(expr->ex_dbg, error, DW_DLE_BAD_EXPR_OPCODE); in dwarf_add_expr_gen()
289 _dwarf_p_error(expr->ex_dbg, error, DW_DLE_EXPR_LENGTH_BAD); in dwarf_add_expr_gen()
301 _dwarf_p_error(expr->ex_dbg, error, DW_DLE_EXPR_LENGTH_BAD); in dwarf_add_expr_gen()
313 _dwarf_p_error(expr in dwarf_add_expr_gen()
491 dwarf_add_expr_addr_b(Dwarf_P_Expr expr,Dwarf_Unsigned addr,Dwarf_Unsigned sym_index,Dwarf_Error * error) dwarf_add_expr_addr_b() argument
539 dwarf_add_expr_addr(Dwarf_P_Expr expr,Dwarf_Unsigned addr,Dwarf_Signed sym_index,Dwarf_Error * error) dwarf_add_expr_addr() argument
550 dwarf_expr_current_offset(Dwarf_P_Expr expr,Dwarf_Error * error) dwarf_expr_current_offset() argument
566 dwarf_expr_reset(Dwarf_P_Expr expr,Dwarf_Error * error) dwarf_expr_reset() argument
577 dwarf_expr_into_block(Dwarf_P_Expr expr,Dwarf_Unsigned * length,Dwarf_Error * error) dwarf_expr_into_block() argument
[all...]
/titanic_52/usr/src/ucbcmd/expr/
H A Dexpr.y36 /* Yacc productions for "expr" command: */
60 expression: expr NOARG = {
67 expr: '(' expr ')' = { $$ = $2; }
68 | expr OR expr = { $$ = conj(OR, $1, $3); }
69 | expr AND expr = { $$ = conj(AND, $1, $3); }
70 | expr EQ expr
[all...]
/titanic_52/usr/src/cmd/fs.d/udfs/fsdb/
H A Dfsdb_yacc.y99 %type <intval> expr
174 base : BASE '=' expr
353 | xfind ' ' expr
475 at : ATTZ '=' expr { set_file(ATTZ, i_number << l2b, $3); }
476 | ATYE '=' expr { set_file(ATYE, i_number << l2b, $3); }
477 | ATMO '=' expr { set_file(ATMO, i_number << l2b, $3); }
478 | ATDA '=' expr { set_file(ATDA, i_number << l2b, $3); }
479 | ATHO '=' expr { set_file(ATHO, i_number << l2b, $3); }
480 | ATMI '=' expr { set_file(ATMI, i_number << l2b, $3); }
481 | ATSE '=' expr { set_fil
[all...]
/titanic_52/usr/src/lib/libsqlite/src/
H A Dparse.y195 ccons ::= CHECK LP expr RP onconf.
242 tcons ::= CHECK expr onconf.
330 selcollist(A) ::= sclp(P) expr(X) as(Y). {
424 on_opt(N) ::= ON expr(E). {N = E;}
450 sortitem(A) ::= expr(X). {A = X;}
469 having_opt(A) ::= HAVING expr(X). {A = X;}
489 where_opt(A) ::= WHERE expr(X). {A = X;}
499 setlist(A) ::= setlist(Z) COMMA nm(X) EQ expr(Y).
501 setlist(A) ::= nm(X) EQ expr(Y). {A = sqliteExprListAppend(0,Y,&X);}
519 itemlist(A) ::= itemlist(X) COMMA expr(
[all...]
/titanic_52/usr/src/cmd/hal/hald/
H A Dlogger.h67 #define HAL_TRACE(expr) do {logger_setup(HAL_LOGPRI_TRACE, __FILE__, __LINE__, __FUNCTION__); logger_emit expr; } while(0) argument
70 #define HAL_DEBUG(expr) do {logger_setup(HAL_LOGPRI_DEBUG, __FILE__, __LINE__, __FUNCTION__); logger_emit expr; } while(0) argument
73 #define HAL_INFO(expr) do {logger_setup(HAL_LOGPRI_INFO, __FILE__, __LINE__, __FUNCTION__); logger_emit expr; } while(0) argument
76 #define HAL_WARNING(expr) do {logger_setup(HAL_LOGPRI_WARNING, __FILE__, __LINE__, __FUNCTION__); logger_emit expr; } while(0) argument
79 #define HAL_ERROR(expr) do {logger_setup(HAL_LOGPRI_ERROR, __FILE__, __LINE__, __FUNCTION__); logger_emit expr; } whil argument
82 DIE(expr) global() argument
[all...]
/titanic_52/usr/src/contrib/ast/src/lib/libast/string/
H A Dstrexpr.c76 expr(register Expr_t* ex, register int precedence) in expr() function
92 n = -expr(ex, 13); in expr()
95 n = expr(ex, 13); in expr()
98 n = !expr(ex, 13); in expr()
101 n = ~expr(ex, 13); in expr()
119 n = expr(ex, 1); in expr()
134 x = expr(ex, 2); in expr()
139 x = expr(ex, 2); in expr()
148 expr(ex, 2); in expr()
150 else n = expr(e in expr()
[all...]
H A Dstrperm.c27 * apply file permission expression expr to perm
35 * if non-null, e points to the first unrecognized char in expr
45 register char* expr = (char*)aexpr; in strperm() local
67 switch (c = *expr++) in strperm()
88 expr--; in strperm()
104 switch (c = *expr++) in strperm()
129 *e = expr - 1; in strperm()
238 *e = expr - 1; in strperm()
253 if (*expr < '0' || *expr > ' in strperm()
[all...]
/titanic_52/usr/src/cmd/oawk/
H A Dawk.g.y119 expr {
146 expr MATCHOP regular_expr {
156 | VAR '[' expr ']' { $$ = op2(ARRAY, $1, $3); }
170 | FNCN '(' expr ')' { $$ = op2(FNCN, $1, $3); }
172 | SUBSTR '(' expr ',' expr ',' expr ')'
174 | SUBSTR '(' expr ',' expr ')'
176 | SPLIT '(' expr ',' VA
[all...]
/titanic_52/usr/src/uts/common/tnf/
H A Dmkprobehdr.sh160 j=`expr $j + 1`
168 j=`expr $j + 1`
175 j=`expr $j + 1`
182 j=`expr $j + 1`
189 j=`expr $j + 1`
226 j=`expr $j + 1`
248 j=`expr $j + 1`
257 j=`expr $j + 1`
266 j=`expr $j + 1`
274 j=`expr
[all...]
/titanic_52/usr/src/cmd/fm/modules/common/eversholt/
H A Deft_mdb.c442 case T_EVENT: /* class@path{expr} */ in eft_node()
515 (void) eft_node((uintptr_t)node.u.expr.left, DCMD_ADDRSPEC, 0, in eft_node()
518 (void) eft_node((uintptr_t)node.u.expr.right, DCMD_ADDRSPEC, 0, in eft_node()
523 (void) eft_node((uintptr_t)node.u.expr.left, DCMD_ADDRSPEC, 0, in eft_node()
526 (void) eft_node((uintptr_t)node.u.expr.right, DCMD_ADDRSPEC, 0, in eft_node()
532 (void) eft_node((uintptr_t)node.u.expr.left, DCMD_ADDRSPEC, 0, in eft_node()
535 (void) eft_node((uintptr_t)node.u.expr.right, DCMD_ADDRSPEC, 0, in eft_node()
540 (void) eft_node((uintptr_t)node.u.expr.left, DCMD_ADDRSPEC, 0, in eft_node()
543 (void) eft_node((uintptr_t)node.u.expr.right, DCMD_ADDRSPEC, 0, in eft_node()
548 (void) eft_node((uintptr_t)node.u.expr in eft_node()
[all...]
H A Deval.c175 if (!eval_cat(np->u.expr.left, ex, events, globals, croot, in eval_cat()
178 if (!eval_cat(np->u.expr.right, ex, events, globals, croot, in eval_cat()
229 lhs = eval_getname(funcnp, ex, events, np->u.expr.left, globals, in eval_func()
231 rhs = eval_getname(funcnp, ex, events, np->u.expr.right, in eval_func()
257 ASSERT(np->u.expr.right->t == T_QUOTE); in eval_func()
259 nodep = eval_getname(funcnp, ex, events, np->u.expr.left, in eval_func()
293 s = config_getprop(cp, np->u.expr.right->u.quote.s); in eval_func()
294 if (s == NULL && strcmp(np->u.expr.right->u.quote.s, in eval_func()
301 funcname, np->u.expr.right->u.quote.s); in eval_func()
324 np->u.expr in eval_func()
[all...]
/titanic_52/usr/src/cmd/fm/eversholt/common/
H A Dptree.c158 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
160 ptree(flags, np->u.expr.right, no_iterators, fileline); in ptree()
178 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
180 ptree(flags, np->u.expr.right, no_iterators, fileline); in ptree()
186 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
191 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
193 ptree(flags, np->u.expr.right, no_iterators, fileline); in ptree()
198 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
200 ptree(flags, np->u.expr.right, no_iterators, fileline); in ptree()
205 ptree(flags, np->u.expr in ptree()
[all...]
H A Dcheck.c136 check_path_iterators(np->u.expr.left); in check_path_iterators()
137 check_path_iterators(np->u.expr.right); in check_path_iterators()
238 (void) check_reportlist(t, s, np->u.expr.left); in check_reportlist()
239 (void) check_reportlist(t, s, np->u.expr.right); in check_reportlist()
414 const char *s = nvpairnp->u.expr.left->u.name.s; in check_stmt_allowed_properties()
421 nvpairnp->u.expr.right); in check_stmt_allowed_properties()
433 if (np->t != nvpairnp->u.expr.right->t) in check_stmt_allowed_properties()
441 if (np->u.ull == nvpairnp->u.expr.right->u.ull) in check_stmt_allowed_properties()
447 nvpairnp->u.expr.right) == 0) in check_stmt_allowed_properties()
453 nvpairnp->u.expr in check_stmt_allowed_properties()
[all...]
/titanic_52/usr/src/cmd/expr/
H A DMakefile25 PROG= expr
26 XPG4PROG= expr
27 XPG6PROG= expr
29 EXPROBJ= exprobjs/expr.o exprobjs/compile.o
30 XPG4EXPROBJ= exprobjs.xpg4/expr.o exprobjs.xpg4/compile.o
31 XPG6EXPROBJ= exprobjs.xpg6/expr.o exprobjs.xpg6/compile.o
34 SRCS= expr.c compile.c
44 XGETFLAGS += -a -x expr.xcl
/titanic_52/usr/src/lib/libc/port/i18n/
H A Dplural_parser.c88 static void freeexpr(struct expr *);
90 static struct expr *
91 stack_push(struct stack *stk, struct expr *exp) in stack_push()
110 static struct expr *
112 struct expr *exp_a, struct expr *exp_b) in stack_pop()
135 freeexpr(struct expr *e) in freeexpr()
161 static struct expr *
165 struct expr *newitem; in setop1()
176 newitem = (struct expr *)callo in setop1()
[all...]
/titanic_52/usr/src/cmd/bnu/
H A Duuto45 else error=`expr 0$error + 1`
62 error=`expr 0$error + 0$?`
69 error=`expr 0$error + 0$?`
101 shift `expr $OPTIND - 1`
118 remote=`expr $1 : '\(.*\)!'`
119 user=`expr $1 : '.*!\(.*\)'`
/titanic_52/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dgrep.sh49 -e*) shift;expr="$1";;
50 -f*) shift;expr=$(< $1);;
53 if test "$expr" = ''
54 then expr="$1";shift
56 test "$xflag" || expr="*${expr}*"
72 $expr) # line matches pattern
/titanic_52/usr/src/contrib/ast/src/lib/libast/regex/
H A Dregdecomp.c94 if (decomp(e->re.group.expr.binary.left, sp, type, delimiter, flags)) in decomp()
97 if (e->re.group.expr.binary.right && decomp(e->re.group.expr.binary.right, sp, type, delimiter, flags)) in decomp()
147 if (decomp(e->re.group.expr.rex, sp, type, delimiter, flags)) in decomp()
324 if (decomp(e->re.group.expr.rex, sp, type, delimiter, flags)) in decomp()
332 if (decomp(e->re.group.expr.binary.left, sp, type, delimiter, flags)) in decomp()
335 if (decomp(e->re.group.expr.binary.right, sp, type, delimiter, flags)) in decomp()
342 if (decomp(e->re.group.expr.rex, sp, type, delimiter, flags)) in decomp()
352 if (decomp(e->re.group.expr.rex, sp, type, delimiter, flags)) in decomp()
359 if (e->re.group.expr in decomp()
[all...]
/titanic_52/usr/src/test/zfs-tests/tests/functional/reservation/
H A Dreservation_008_pos.sh82 resv_space_avail=`expr $space_avail - $RESV_FREE_SPACE`
83 num_resv_fs=`expr $RESV_NUM_FS - 1` # Number of FS to which resv will be applied
84 resv_size_set=`expr $resv_space_avail / $num_resv_fs`
101 fill_size=`expr $space_avail_still + $RESV_TOLERANCE`
102 write_count=`expr $fill_size / $BLOCK_SIZE`
/titanic_52/usr/src/cmd/ed/
H A DMakefile34 SRCS= ./ed.c ../expr/compile.c
51 MAPFILE.INT = ../expr/mapfile-intf
56 %.po: ../expr/%.c
77 compile.o: ../expr/compile.c
78 $(COMPILE.c) -o $@ ../expr/compile.c
83 edobjs.xpg4/%.o: ../expr/compile.c
89 edobjs.xpg6/%.o: ../expr/compile.c

1234567891011