/illumos-gate/usr/src/cmd/pgrep/ |
H A D | idtab.c | 78 idkey_t lhs = *((idkey_t *)lhsp); local 81 if (lhs == rhs) 84 return (lhs > rhs ? 1 : -1);
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pstack.c | 232 uintptr_t lhs = *((const uintptr_t *)lhp); local 235 if (lhs < rhs) 237 if (lhs > rhs)
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | lut.c | 78 lut_add(struct lut *root, void *lhs, void *rhs, lut_cmp cmp_func) argument 85 diff = (*cmp_func)(tmp->lut_lhs, lhs); 87 diff = (const char *)lhs - (const char *)tmp->lut_lhs; 106 (*tmp_hdl)->lut_lhs = lhs; 116 lut_lookup(struct lut *root, void *lhs, lut_cmp cmp_func) argument 124 diff = (*cmp_func)(root->lut_lhs, lhs); 126 diff = (const char *)lhs - (const char *)root->lut_lhs; 139 lut_lookup_lhs(struct lut *root, void *lhs, lut_cmp cmp_func) argument 147 diff = (*cmp_func)(root->lut_lhs, lhs); 149 diff = (const char *)lhs [all...] |
H A D | ptree.c | 336 ptree(flags, np->u.arrow.lhs, no_iterators, fileline); 633 return (name_pattern_match_in_subtree(np->u.arrow.lhs, pat) || 668 byname_printer(struct node *lhs, struct node *rhs, void *arg) argument 674 if (!name_pattern_match(lhs, infop->pat))
|
H A D | check.c | 58 static void check_cycle_lhs_try(struct node *stmtnp, struct node *lhs, 61 static void check_proplists_lhs(enum nodetype t, struct node *lhs); 131 check_path_iterators(np->u.arrow.lhs); 166 if (np->u.arrow.lhs->t != T_ARROW && 167 np->u.arrow.lhs->t != T_LIST && 168 np->u.arrow.lhs->t != T_EVENT) { 170 np->u.arrow.lhs->file, np->u.arrow.lhs->line, 172 ptree_nodetype2str(np->u.arrow.lhs->t)); 572 check_propnames(t, np->u.arrow.lhs, 713 check_upset_engine(struct node *lhs, struct node *rhs, void *arg) argument 743 check_refcount(struct node *lhs, struct node *rhs, void *arg) argument 783 check_cycle(struct node *lhs, struct node *rhs, void *arg) argument 869 check_cycle_lhs_try(struct node *stmtnp, struct node *lhs, struct node *rhs) argument 1255 check_required_props(struct node *lhs, struct node *rhs, void *arg) argument 1282 check_proplists_lhs(enum nodetype t, struct node *lhs) argument [all...] |
H A D | tree.c | 279 tree_free(root->u.arrow.lhs); 396 if (tree_treecmp(np1->u.arrow.lhs, np2->u.arrow.lhs, t, 917 tree_arrow(struct node *lhs, struct node *nnp, struct node *knp, argument 922 ASSERT(lhs != NULL || rhs != NULL); 925 (lhs) ? lhs->file : rhs->file, 926 (lhs) ? lhs->line : rhs->line); 928 ret->u.arrow.lhs 1060 update_serd_refstmt(void *lhs, void *rhs, void *arg) argument [all...] |
/illumos-gate/usr/src/cmd/logadm/ |
H A D | lut.c | 31 * replaced. the left-hand-side (lhs), which is the key, is 49 static void dooper(const char *lhs, void *rhs, void *arg); 70 lut_add(struct lut *root, const char *lhs, void *rhs) argument 77 root->lut_lhs = STRDUP(lhs); 80 } else if (lhs != NULL && (diff = strcmp(root->lut_lhs, lhs)) == 0) { 84 root->lut_left = lut_add(root->lut_left, lhs, rhs); 86 root->lut_right = lut_add(root->lut_right, lhs, rhs); 92 dooper(const char *lhs, void *rhs, void *arg) argument 96 *rootp = lut_add(*rootp, lhs, rh 119 lut_lookup(struct lut *root, const char *lhs) argument 137 lut_walk(struct lut *root, void (*callback)(const char *lhs, void *rhs, void *arg), void *arg) argument 171 printer(const char *lhs, void *rhs, void *arg) argument [all...] |
H A D | kw.c | 56 static void kw_printer(const char *lhs, void *rhs, void *arg); 169 kw_printer(const char *lhs, void *rhs, void *arg) argument 173 (void) fprintf(stream, "%20.20s %s\n", lhs, (char *)rhs);
|
H A D | opts.c | 115 char lhs[2]; local 116 lhs[0] = c; 117 lhs[1] = '\0'; 118 return ((struct optinfo *)lut_lookup(Info, lhs)); 248 char lhs[2]; local 249 lhs[0] = *options; 250 lhs[1] = '\0'; 251 if (lut_lookup(opts->op_raw, lhs)) 290 merger(const char *lhs, void *rhs, void *arg) argument 294 *destlutp = lut_add(*destlutp, lhs, rh 446 printer(const char *lhs, void *rhs, void *arg) argument [all...] |
H A D | main.c | 54 static void commajoin(const char *lhs, void *rhs, void *arg); 55 static void doaftercmd(const char *lhs, void *rhs, void *arg); 60 static void do_delayed_gzip(const char *lhs, void *rhs, void *arg); 395 commajoin(const char *lhs, void *rhs, void *arg) argument 403 fn_puts(fnp, lhs); 408 doaftercmd(const char *lhs, void *rhs, void *arg) argument 424 docmd(opts, "-a cmd", Sh, "-c", lhs, NULL); 430 do_delayed_gzip(const char *lhs, void *rhs, void *arg) argument 437 "expired file <%s>\n", lhs); 441 docmd(opts, "compress old log (-z flag)", Gzip, "-f", lhs, NUL [all...] |
H A D | conf.c | 560 conf_lookup(const char *lhs) argument 562 struct confinfo *cp = lut_lookup(Conflut, lhs); 573 conf_opts(const char *lhs) argument 575 struct confinfo *cp = lut_lookup(Conflut, lhs); 586 conf_replace(const char *lhs, struct opts *newopts) argument 588 struct confinfo *cp = lut_lookup(Conflut, lhs); 599 fillconflist(0, lhs, newopts, NULL, 0);
|
/illumos-gate/usr/src/lib/libsqlite/tool/ |
H A D | lempar.c | 437 YYCODETYPE lhs; /* Symbol on the left-hand side of the rule */ member in struct:__anon4058 479 yygoto = yyRuleInfo[yyruleno].lhs;
|
/illumos-gate/usr/src/lib/libipmi/common/ |
H A D | ipmi_hash.c | 143 ipmi_hash_strcmp(const void *lhs, const void *rhs) argument 145 return (strcmp(lhs, rhs)); 155 ipmi_hash_ptrcmp(const void *lhs, const void *rhs) argument 157 const uintptr_t *l = lhs, *r = rhs;
|
/illumos-gate/usr/src/cmd/mdb/common/modules/libc/ |
H A D | findstack_subr.c | 205 const stacks_ulwp_t *lhs = l; local 208 if (lhs->sulwp_id > rhs->sulwp_id) 211 if (lhs->sulwp_id < rhs->sulwp_id)
|
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_test/ |
H A D | mdb_test.c | 83 uintptr_t lhs = *((const uintptr_t *)lp); local 85 return (lhs - rhs);
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | eft.c | 202 dosubscribe(struct node *lhs, struct node *rhs, void *arg) argument 204 char *ename = ename_strdup(lhs); 212 dodiscardprint(struct node *lhs, struct node *rhs, void *arg) argument 214 char *ename = (char *)lhs; 249 doopendict(const char *lhs, void *rhs, void *arg) argument 251 out(O_VERB, "opendict: \"%s\"", lhs); 252 fmd_hdl_opendict(Hdl, lhs);
|
H A D | config.c | 187 addconfigprop(const char *lhs, struct node *rhs, void *arg) argument 192 ASSERT(lhs != NULL); 196 config_setprop(cp, lhs, STRDUP(rhs->u.quote.s)); 204 addconfig(struct node *lhs, struct node *rhs, void *arg) argument 567 prtdevcache(void *lhs, void *rhs, void *arg) argument 569 out(O_ALTFP|O_VERB3, "%s -> %p", (char *)lhs, rhs); 574 prtdevidcache(void *lhs, void *rhs, void *arg) argument 576 out(O_ALTFP|O_VERB3, "%s -> %p", (char *)lhs, rhs); 581 prttpcache(void *lhs, void *rhs, void *arg) argument 583 out(O_ALTFP|O_VERB3, "%s -> %p", (char *)lhs, rh 588 prtcpucache(void *lhs, void *rhs, void *arg) argument 701 printprop(const char *lhs, const char *rhs, void *arg) argument [all...] |
H A D | eval.c | 60 * begins_with -- return true if rhs path begins with everything in lhs path 63 begins_with(struct node *lhs, struct node *rhs, struct lut *ex) argument 69 if (lhs == NULL) 75 ASSERTeq(lhs->t, T_NAME, ptree_nodetype2str); 78 if (lhs->u.name.s != rhs->u.name.s) 81 if (lhs->u.name.child && lhs->u.name.child->t == T_NUM) { 82 lnum = (int)lhs->u.name.child->u.ull; 83 } else if (lhs->u.name.child && lhs 216 struct node *lhs; local [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_whatis.c | 62 uintptr_t lhs = *(const uintptr_t *)l; local 65 if (lhs < rhs) 67 if (lhs > rhs) 337 whatis_cbcmp(const void *lhs, const void *rhs) argument 339 whatis_callback_t *l = *(whatis_callback_t * const *)lhs;
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | cyclic.c | 612 cyc_coverage_t *lhs = (cyc_coverage_t *)l; local 617 if (rhs->cyv_why == lhs->cyv_why) 623 if (lhs->cyv_why == NULL) 626 (void) mdb_readstr(ly, WHYLEN, (uintptr_t)lhs->cyv_why);
|
H A D | taskq.c | 56 tqcmp(const void *lhs, const void *rhs) argument 58 const tqarray_ent_t *l = lhs;
|
H A D | leaky_subr.c | 603 leaky_subr_bufctl_cmp(const leak_bufctl_t *lhs, const leak_bufctl_t *rhs) argument 609 leaky_subr_caller(lhs->lkb_stack, lhs->lkb_depth, lbuf, &lcaller); 610 leaky_subr_caller(rhs->lkb_stack, lhs->lkb_depth, rbuf, &rcaller); 621 if (lhs->lkb_data < rhs->lkb_data) 624 if (lhs->lkb_data > rhs->lkb_data)
|
/illumos-gate/usr/src/cmd/kvmstat/ |
H A D | kvmstat.c | 102 kstat_instances_compare(const void *lhs, const void *rhs) argument 104 kstat_instance_t *l = *((kstat_instance_t **)lhs);
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_ident.c | 830 const dt_ident_t *lhs = *((const dt_ident_t **)lp); local 833 if (lhs->di_id != rhs->di_id) 834 return ((int)(lhs->di_id - rhs->di_id)); 836 return (strcmp(lhs->di_name, rhs->di_name));
|
/illumos-gate/usr/src/lib/fm/libdiagcode/common/ |
H A D | diagcode.c | 59 const char *lhs; member in struct:fm_dc_handle::fm_dc_prop 104 char *rhsp; /* rhs associated with last lhs (or NULL) */ 272 (propp->lhs = strdup(lhsp)) == NULL || 277 if (propp->lhs != NULL) 278 free((void *) propp->lhs); 336 if (props->lhs != NULL) 337 free((void *) props->lhs); 577 if (strcmp(name, props->lhs) == 0) 956 * lhs is a simple string that does not contain any whitespace or an 962 * gets called, we continue looking for the next lhs *afte [all...] |