Home
last modified time | relevance | path

Searched refs:cond (Results 51 – 75 of 117) sorted by relevance

12345

/illumos-gate/usr/src/cmd/cdrw/
H A Ddevice.h76 int check_device(cd_device *dev, int cond);
/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlauxlib.h102 #define luaL_argcheck(L, cond,numarg,extramsg) \ argument
103 ((void)((cond) || luaL_argerror(L, (numarg), (extramsg))))
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_selfcred.c95 cond_t *cond; member
127 free(child[s]->cond); in free_slot()
170 if ((ch->cond = (cond_t *)calloc(1, in init_slot()
176 (void) cond_init(ch->cond, USYNC_THREAD, NULL); in init_slot()
690 (void) cond_broadcast(ch->cond); in _nscd_proc_iamhere()
1033 err = cond_reltimedwait(ch->cond, ch->mutex, &to); in _nscd_proc_alt_get()
H A Dnscd_db.h175 cond_t *cond);
/illumos-gate/usr/src/cmd/awk/
H A Dlex.c488 int cond, low, mid, high; in binsearch() local
494 if ((cond = strcmp(w, kp[mid].word)) < 0) in binsearch()
496 else if (cond > 0) in binsearch()
/illumos-gate/usr/src/cmd/mandoc/
H A Dmdoc_man.c40 int_fp cond; /* DON'T run actions */ member
644 int cond, do_sub; in print_node() local
659 cond = 0; in print_node()
703 cond = act->cond == NULL || (*act->cond)(meta, n); in print_node()
704 if (cond && act->pre != NULL && in print_node()
725 if (cond && act->post) in print_node()
/illumos-gate/usr/src/cmd/mailx/hdr/
H A Dglob.h61 extern int cond; /* Current state of conditional exc. */
/illumos-gate/usr/src/lib/libfakekernel/
H A DMakefile.com23 cond.o \
/illumos-gate/usr/src/cmd/bhyve/
H A Dhda_codec.c151 pthread_cond_t cond; member
870 pthread_cond_wait(&actx->cond, &actx->mtx); in hda_audio_ctxt_thr()
906 err = pthread_cond_init(&actx->cond, NULL); in hda_audio_ctxt_init()
935 pthread_cond_signal(&actx->cond); in hda_audio_ctxt_start()
/illumos-gate/usr/src/tools/smatch/src/
H A Dexpand.c555 struct expression *cond = expr->conditional; in expand_conditional() local
560 cond_cost = expand_expression(cond); in expand_conditional()
561 if (cond->type == EXPR_VALUE) { in expand_conditional()
563 if (!cond->value) in expand_conditional()
566 valt = cond; in expand_conditional()
571 expr->taint |= cond->taint; in expand_conditional()
H A Dsmatch_conditions.c398 char *cond = expr_to_str(expr); in split_conditions() local
400 sm_msg("%d in split_conditions (%s)", get_lineno(), cond); in split_conditions()
401 free_string(cond); in split_conditions()
H A Devaluate.c1155 struct expression **cond; in evaluate_conditional_expression() local
1169 cond = &expr->conditional; in evaluate_conditional_expression()
1175 cond = &expr->cond_true; in evaluate_conditional_expression()
1178 expr->flags = (expr->conditional->flags & (*cond)->flags & in evaluate_conditional_expression()
1199 ctype = usual_conversions('?', *cond, expr->cond_false, in evaluate_conditional_expression()
1201 *cond = cast_to(*cond, ctype); in evaluate_conditional_expression()
1207 int is_null1 = is_null_pointer_constant(*cond); in evaluate_conditional_expression()
1211 *cond = cast_to(*cond, &ptr_ctype); in evaluate_conditional_expression()
1218 bad_null(*cond); in evaluate_conditional_expression()
1219 *cond = cast_to(*cond, rtype); in evaluate_conditional_expression()
[all …]
/illumos-gate/usr/src/cmd/sh/
H A Dname.c119 int cond; in syslook() local
131 if ((cond = cf(w, syswds[mid].sysnam)) < 0) in syslook()
133 else if (cond > 0) in syslook()
/illumos-gate/usr/src/cmd/mailx/
H A Dinit.c69 int cond; /* Current state of conditional exc. */ variable
/illumos-gate/usr/src/lib/libnisdb/
H A Dnis_hashitem.h55 pthread_cond_t cond; member
/illumos-gate/usr/src/cmd/geniconvtbl/
H A Dgeniconvtbl.c929 itm_cond_t *cond; in eval_cond_tbl() local
947 cond = (itm_cond_t *)(cond_hdr + 1); in eval_cond_tbl()
948 for (i = 0; i < cond_hdr->number; i++, cond++) { in eval_cond_tbl()
949 switch (cond->type) { in eval_cond_tbl()
951 rth = ADDR(cond->operand.place); in eval_cond_tbl()
991 eth = ADDR(cond->operand.place); in eval_cond_tbl()
1032 retval = eval_expr(ist, cond->operand.place, in eval_cond_tbl()
1042 cond->type)); in eval_cond_tbl()
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dfhc_bd.c1131 sysc_cfga_cond_t cond; in fhc_bd_test_set_cond() local
1139 cond = (sysc_cfga_cond_t)sysc_pkt->cmd_cfga.arg; in fhc_bd_test_set_cond()
1141 switch (cond) { in fhc_bd_test_set_cond()
1147 sc->condition = cond; in fhc_bd_test_set_cond()
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Dbcm_osal.h559 #define OSAL_BUILD_BUG_ON(cond) nothing argument
563 #define BUILD_BUG_ON(cond) nothing argument
577 #define OSAL_BUILD_BUG_ON(cond) nothing argument
/illumos-gate/usr/src/uts/common/vm/
H A Dpage.h97 #define VM_STAT_COND_ADD(cond, stat) ((void) (!(cond) || (stat)++)) argument
100 #define VM_STAT_COND_ADD(cond, stat) argument
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr_getldap.c63 static cond_t cond; variable
2585 (void) cond_init(&cond, in getldap_refresh()
2598 err = cond_reltimedwait(&cond, in getldap_refresh()
2600 (void) cond_destroy(&cond); in getldap_refresh()
2644 (void) cond_init(&cond, USYNC_THREAD, NULL); in getldap_refresh()
2648 err = cond_reltimedwait(&cond, in getldap_refresh()
2650 (void) cond_destroy(&cond); in getldap_refresh()
2673 (void) cond_signal(&cond); in getldap_revalidate()
/illumos-gate/usr/src/common/bzip2/
H A DSolaris.README.txt415 #define AssertH(cond,errcode) \
416 - { if (!(cond)) bz_internal_error ( errcode ); }
417 + { if (!(cond) && &bz_internal_error != NULL) bz_internal_error ( errcode ); }
418 #define AssertD(cond,msg) do { } while (0)
/illumos-gate/usr/src/uts/i86pc/io/acpi/drmach_acpi/
H A Ddrmach_acpi.h133 int cond; member
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dcommon309 int cond;
331 if (types[t].cond)
334 …%s) */\n", types[t].name, strlen(types[t].name) < 4 ? "\t" : "", types[t].cond * 2, types[t].name);
336 …eof(%s) */\n", types[t].name, strlen(types[t].name) < 4 ? "\t" : "", types[t].cond, types[t].name);
/illumos-gate/usr/src/lib/libc/inc/
H A Dtdb_agent.h143 tdb_cond_stats_t cond; member
/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_misc.c108 int check_device(device_t *dev, int cond);
1392 check_device(device_t *dev, int cond) in check_device() argument
1397 if (cond & CHECK_DEVICE_IS_CD_WRITABLE) { in check_device()
1404 if (cond & CHECK_DEVICE_IS_DVD_WRITABLE) { in check_device()
1411 if (cond & CHECK_DEVICE_IS_DVD_READABLE) { in check_device()

12345