Home
last modified time | relevance | path

Searched refs:left (Results 51 – 75 of 480) sorted by relevance

12345678910>>...20

/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_pointer_math.c75 type = get_pointer_type(expr->left); in match_binop()
84 size = get_array_size(expr->left); in match_binop()
93 name = expr_to_str(expr->left); in match_binop()
106 set_state_expr(my_id, expr->left, &size_in_bytes); in match_assign()
117 type = get_pointer_type(expr->left); in check_assign()
124 name = expr_to_var(expr->left); in check_assign()
H A Dcheck_macros.c48 if (positions_eq(expr->left->pos, pos)) in match_one_side()
62 if (expr->left->type == EXPR_PREOP) in match_join()
63 match_inside(expr->left, expr->pos); in match_join()
67 if (expr->left->type == EXPR_BINOP) in match_join()
68 match_one_side(expr->left, expr->pos, expr->op); in match_join()
H A Dsmatch_extra.h63 int true_comparison_range(struct data_range *left, int comparison, struct data_range *right);
67 int possibly_true(struct expression *left, int comparison, struct expression *right);
69 int possibly_true_rl_LR(int comparison, struct range_list *a, struct range_list *b, int left);
71 int possibly_false(struct expression *left, int comparison, struct expression *right);
73 int possibly_false_rl_LR(int comparison, struct range_list *a, struct range_list *b, int left);
94 struct range_list *rl_binop(struct range_list *left, int op, struct range_list *right);
197 void set_equiv(struct expression *left, struct expression *right);
207 void function_comparison(struct expression *left, int comparison, struct expression *right);
215 struct expression *assign_expression(struct expression *left, int op, struct expression *right);
216 struct expression *binop_expression(struct expression *left, int op, struct expression *right);
[all …]
H A Dsmatch_mtag_map.c31 struct expression *left, *right; in match_assign() local
39 left = strip_expr(expr->left); in match_assign()
52 if (!expr_to_mtag_offset(left, &left_tag, &left_offset) || in match_assign()
H A Dcheck_leaks.c124 if (!is_local(expr->left)) in match_alloc()
126 if (is_param(expr->left)) in match_alloc()
128 if (expr->left->type != EXPR_SYMBOL) in match_alloc()
130 set_state_expr(my_id, expr->left, &allocated); in match_alloc()
149 match_condition(expr->left); in match_condition()
220 right = right->left; in match_assign()
222 warn_if_allocated(expr->left); in match_assign()
H A Devaluate.c182 left = integer_promotion(left); in bigger_int_type()
186 goto left; in bigger_int_type()
189 goto left; in bigger_int_type()
198 goto left; in bigger_int_type()
200 goto left; in bigger_int_type()
203 left: in bigger_int_type()
980 expr->left = cast_to(expr->left, ltype); in evaluate_binop()
1073 expr->left = cast_to(expr->left, ctype); in evaluate_compare()
1099 left = cast_to(left, rtype); in evaluate_compare()
1123 left = cast_to(left, rtype); in evaluate_compare()
[all …]
H A Dcheck_struct_type.c25 struct expression *left; in match_assign() local
31 left = strip_expr(expr->left); in match_assign()
32 left_type = get_type(left); in match_assign()
H A Dsmatch_expressions.c93 struct expression *assign_expression(struct expression *left, int op, struct expression *right) in assign_expression() argument
103 expr->left = left; in assign_expression()
108 struct expression *binop_expression(struct expression *left, int op, struct expression *right) in binop_expression() argument
114 expr->left = left; in binop_expression()
137 struct expression *compare_expression(struct expression *left, int op, struct expression *right) in compare_expression() argument
143 expr->left = left; in compare_expression()
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_promif.c229 int oldhead, left, n; in kmdb_prom_fill_readbuf() local
237 left--; in kmdb_prom_fill_readbuf()
248 kmdb_prom_readbuf_head, left, wait)) <= 0) in kmdb_prom_fill_readbuf()
258 if (n != left) in kmdb_prom_fill_readbuf()
263 if (left > 0) { in kmdb_prom_fill_readbuf()
275 if (n != left) in kmdb_prom_fill_readbuf()
348 size_t left = len; in kmdb_prom_write() local
355 return (kmdb_prom_writer(buf, left)); in kmdb_prom_write()
362 left -= sz; in kmdb_prom_write()
366 left--; in kmdb_prom_write()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Dwpa.c337 int left; in wpa_parse_wpa_ie_wpa() local
381 if (left >= 2) { in wpa_parse_wpa_ie_wpa()
385 left -= 2; in wpa_parse_wpa_ie_wpa()
407 left -= 2; in wpa_parse_wpa_ie_wpa()
428 left -= 2; in wpa_parse_wpa_ie_wpa()
431 if (left > 0) { in wpa_parse_wpa_ie_wpa()
447 int left; in wpa_parse_wpa_ie_rsn() local
494 left -= 2; in wpa_parse_wpa_ie_rsn()
516 left -= 2; in wpa_parse_wpa_ie_rsn()
537 left -= 2; in wpa_parse_wpa_ie_rsn()
[all …]
/illumos-gate/usr/src/cmd/ipf/lib/
H A Dkmem.c106 int r = 0, left; local
117 for (bufp = buffer, left = size; left > 0; bufp += r, left -= r) {
118 r = read(*kvm, bufp, left);
125 r = left;
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Deft_mdb.c517 (void) eft_node((uintptr_t)node.u.expr.left, DCMD_ADDRSPEC, 0, in eft_node()
525 (void) eft_node((uintptr_t)node.u.expr.left, DCMD_ADDRSPEC, 0, in eft_node()
534 (void) eft_node((uintptr_t)node.u.expr.left, DCMD_ADDRSPEC, 0, in eft_node()
542 (void) eft_node((uintptr_t)node.u.expr.left, DCMD_ADDRSPEC, 0, in eft_node()
550 (void) eft_node((uintptr_t)node.u.expr.left, DCMD_ADDRSPEC, 0, in eft_node()
554 (void) eft_node((uintptr_t)node.u.expr.left, DCMD_ADDRSPEC, 0, in eft_node()
561 (void) eft_node((uintptr_t)node.u.expr.left, DCMD_ADDRSPEC, 0, in eft_node()
568 (void) eft_node((uintptr_t)node.u.expr.left, DCMD_ADDRSPEC, 0, in eft_node()
575 (void) eft_node((uintptr_t)node.u.expr.left, DCMD_ADDRSPEC, 0, in eft_node()
582 (void) eft_node((uintptr_t)node.u.expr.left, DCMD_ADDRSPEC, 0, in eft_node()
[all …]
/illumos-gate/usr/src/common/atomic/sparcv9/
H A Datomic.S214 sll %g1, 3, %g1 ! %g1 = bit offset, right-to-left
286 sll %o4, 3, %o4 ! %o4 = bit offset, left-to-right
287 sll %g1, 3, %g1 ! %g1 = bit offset, right-to-left
455 sll %g1, 3, %g1 ! %g1 = bit offset, right-to-left
489 sll %o4, 3, %o4 ! %o4 = bit offset, left-to-right
490 sll %g1, 3, %g1 ! %g1 = bit offset, right-to-left
581 sll %g1, 3, %g1 ! %g1 = bit offset, right-to-left
615 sll %o4, 3, %o4 ! %o4 = bit offset, left-to-right
616 sll %g1, 3, %g1 ! %g1 = bit offset, right-to-left
699 sll %g1, 3, %g1 ! %g1 = bit offset, right-to-left
[all …]
/illumos-gate/usr/src/common/atomic/sparc/
H A Datomic.S91 and %o0, 0x3, %o4 ! %o4 = byte offset, left-to-right
92 xor %o4, 0x3, %g1 ! %g1 = byte offset, right-to-left
93 sll %g1, 3, %g1 ! %g1 = bit offset, right-to-left
165 sll %o4, 3, %o4 ! %o4 = bit offset, left-to-right
166 sll %g1, 3, %g1 ! %g1 = bit offset, right-to-left
330 sll %g1, 3, %g1 ! %g1 = bit offset, right-to-left
364 sll %o4, 3, %o4 ! %o4 = bit offset, left-to-right
365 sll %g1, 3, %g1 ! %g1 = bit offset, right-to-left
452 sll %g1, 3, %g1 ! %g1 = bit offset, right-to-left
486 sll %o4, 3, %o4 ! %o4 = bit offset, left-to-right
[all …]
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dptree.c156 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
176 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
184 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
189 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
196 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
203 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
210 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
217 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
224 ptree(flags, np->u.expr.left, no_iterators, fileline); in ptree()
350 if (np->u.expr.left && np->u.expr.right && in ptree()
[all …]
H A Descparse.y72 %left OR
73 %left AND
74 %left '|'
75 %left '^'
76 %left '&'
77 %left EQ NE
78 %left LE GE '<' '>'
79 %left LSHIFT RSHIFT
80 %left '-' '+'
81 %left '*' '%' DIV '/'
[all …]
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Dkeyfile.c112 size_t left = filesize; in pkcs11_read_data() local
115 for (/* */; left > 0; marker += nread, left -= nread) { in pkcs11_read_data()
117 nread = read(fd, marker, left); in pkcs11_read_data()
137 filesize -= left; in pkcs11_read_data()
/illumos-gate/usr/src/cmd/fs.d/ufs/volcopy/
H A Dvolcopy.c917 if (!left) in child_copy()
921 while (left) { in child_copy()
922 have = (left < Out.f_bsize) ? left : Out.f_bsize; in child_copy()
940 left -= rv; in child_copy()
981 left = Bufsz; in parent_copy()
1010 left -= rv; in parent_copy()
1076 left -= rv; in copy()
1087 while (left >= Out.f_bsize || (left > 0 && !xfer_cnt)) { in copy()
1088 have = (left < Out.f_bsize) ? left : Out.f_bsize; in copy()
1106 left -= rv; in copy()
[all …]
/illumos-gate/usr/src/uts/common/io/audio/drv/audiocmi/
H A Daudiocmi.c282 uint64_t left, right; in cmpci_configure_mixer() local
301 left = MONO(dev, CTL_VOLUME); in cmpci_configure_mixer()
302 if (left) { in cmpci_configure_mixer()
313 left = LEFT(dev, CTL_LINEOUT); in cmpci_configure_mixer()
321 left = MONO(dev, CTL_SPEAKER); in cmpci_configure_mixer()
325 left = MONO(dev, CTL_MIC); in cmpci_configure_mixer()
326 if (left) { in cmpci_configure_mixer()
345 if (left) { in cmpci_configure_mixer()
361 left = LEFT(dev, CTL_CD); in cmpci_configure_mixer()
363 if (left) { in cmpci_configure_mixer()
[all …]
/illumos-gate/usr/src/uts/common/crypto/io/
H A Darcfour.c282 size_t len, left; in rc4_crypt_update() local
301 len = left; in rc4_crypt_update()
309 left -= len; in rc4_crypt_update()
392 size_t len, left; in rc4_crypt_update() local
408 left = input->cd_length; in rc4_crypt_update()
411 len = left; in rc4_crypt_update()
425 left -= len; in rc4_crypt_update()
556 size_t len, left; in crypto_arcfour_crypt() local
572 left = length; in crypto_arcfour_crypt()
575 len = left; in crypto_arcfour_crypt()
[all …]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dslk_set.c59 int len, slklen = slk->_len, left; in slk_set() local
83 left = 0; in slk_set()
85 left = (slklen - len) / ((f == 1) ? 2 : 1); in slk_set()
87 (void) memcpy(nlab + left, lab, len); in slk_set()
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk3.c250 left = exprreduce(left); in assign()
260 left = left->n_next; in assign()
269 left->n_name); in assign()
287 np->n_left = left; in node()
1250 (isstring(left->n_flags) && (type_of(left)&FVREAL))) { in arithmetic()
1345 left = np->n_left; in comparison()
1348 left = left->n_next; in comparison()
1350 left = exprreduce(left); in comparison()
1351 tl = left->n_flags; in comparison()
1951 left = np->n_left; in s_forin()
[all …]
H A Dawk.y120 %left COMMA
124 %left OR
125 %left AND
126 %left IN
127 %left CARAT
128 %left TILDE NRE
130 %left CONCAT
131 %left PLUSC HYPHEN
132 %left STAR SLASH PERCENT
137 %left DOLLAR LSQUARE RSQUARE
[all …]
/illumos-gate/usr/src/ucbcmd/expr/
H A Dexpr.y43 %left OR
44 %left AND
45 %left EQ LT GT GEQ LEQ NEQ
46 %left ADD SUBT
47 %left MULT DIV REM
48 %left MCH
49 %left MATCH
50 %left SUBSTR
51 %left LENGTH INDEX
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dfts.c278 if (root->left && (cmp = (*comparf)(&e, &root->left)) <= 0) in search()
295 right->left = 0; in search()
314 if (left) in search()
318 left = root; in search()
320 left->right = 0; in search()
331 if (left) in search()
332 left->right = root->left; in search()
353 if (!(left = root->left)) in deleteroot()
358 LROTATE(left); in deleteroot()
360 root = left; in deleteroot()
[all …]

12345678910>>...20