/illumos-gate/usr/src/cmd/svc/milestone/ |
H A D | vtdaemon | 36 val=`svcprop -p options/hotkeys $SMF_FMRI` 37 [ "$val" = "false" ] && args="$args -k" 39 val=`svcprop -p options/secure $SMF_FMRI` 40 [ "$val" = "false" ] && args="$args -s" 42 val=`svcprop -p options/nodecount $SMF_FMRI` 43 [ -n "$val" -a "$val" != "0" ] && args="$args -c $val"
|
/illumos-gate/usr/src/lib/libdemangle/common/ |
H A D | rust.c | 103 if (val < 0x80) in rust_append_utf8_c() 105 if (val < 0x10000) in rust_append_utf8_c() 110 if (val < 0x80) { in rust_append_utf8_c() 112 } else if (val < 0x800) { in rust_append_utf8_c() 113 c[0] = 0xc0 | ((val >> 6) & 0x1f); in rust_append_utf8_c() 114 c[1] = 0x80 | (val & 0x3f); in rust_append_utf8_c() 116 } else if (val < 0x10000) { in rust_append_utf8_c() 119 c[2] = 0x80 | (val & 0x3f); in rust_append_utf8_c() 121 } else if (val < 0x110000) { in rust_append_utf8_c() 125 c[3] = 0x80 | (val & 0x3f); in rust_append_utf8_c() [all …]
|
H A D | demangle_int.h | 65 uint64_t val = a * b; 67 if (a != 0 && val / a != b) 69 *v = val; 76 uint64_t val = a + b; 78 if (val < a || val < b) 80 *v = val; 87 uint64_t val = a - b; 89 if (val > a) 91 *v = val;
|
/illumos-gate/usr/src/uts/intel/io/vmm/io/ |
H A D | vatpic.c | 288 if ((val & ICW1_IC4) == 0) { in vatpic_icw1() 337 atpic->reg_imr = val; in vatpic_ocw1() 347 if ((val & OCW2_EOI) != 0) { in vatpic_ocw2() 350 if ((val & OCW2_SL) != 0) { in vatpic_ocw2() 352 isr_bit = val & 0x7; in vatpic_ocw2() 378 if ((val & OCW3_RR) != 0) { in vatpic_ocw3() 381 if ((val & OCW3_P) != 0) { in vatpic_ocw3() 655 uint8_t val; in vatpic_write() local 658 val = *eax; in vatpic_write() 678 if (val & (1 << 4)) in vatpic_write() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/include/sm/ |
H A D | setjmp.h | 33 # define sm_longjmp_sig(buf, val) siglongjmp(buf, val) argument 34 # define sm_longjmp_nosig(buf, val) siglongjmp(buf, val) argument 40 # define sm_longjmp_sig(buf, val) longjmp(buf, val) argument 42 # define sm_longjmp_nosig(buf, val) _longjmp(buf, val) argument
|
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_loc.c | 221 nwam_value_free(val); in nwam_loc_create() 222 val = NULL; in nwam_loc_create() 232 nwam_value_free(val); in nwam_loc_create() 233 val = NULL; in nwam_loc_create() 245 nwam_value_free(val); in nwam_loc_create() 246 val = NULL; in nwam_loc_create() 255 val = NULL; in nwam_loc_create() 271 if (val != NULL) in nwam_loc_create() 653 nwam_value_t val; in nwam_loc_validate_ldap_nameservice() local 722 nwam_value_t val; in nwam_loc_validate_all_nameservices() local [all …]
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | io.h | 184 #define outb(val,port) \ argument 186 __outbc((val),(port)) : \ 187 __outb((val),(port))) 194 #define outb_p(val,port) \ argument 197 __outb_p((val),(port))) 204 #define outw(val,port) \ argument 207 __outw((val),(port))) 217 __outw_p((val),(port))) 224 #define outl(val,port) \ argument 227 __outl((val),(port))) [all …]
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | cf.c | 50 char *val; variable 67 val = strchr(id, '='); 68 if (val == NULL) 69 val = idend = id + strlen(id); 72 idend = val; 73 ++val; 74 while (*val == ' ') 75 ++val; 85 optv[i].opt_val = sm_strdup_x(val);
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_dialog_ui.c | 197 const struct sip_value *val; in sip_get_dialog_callid() local 211 if (val == NULL) { in sip_get_dialog_callid() 229 const struct sip_value *val; in sip_get_dialog_local_tag() local 243 if (val == NULL) { in sip_get_dialog_local_tag() 262 const struct sip_value *val; in sip_get_dialog_remote_tag() local 276 if (val == NULL) { in sip_get_dialog_remote_tag() 296 const struct sip_value *val; in sip_get_dialog_local_uri() local 310 if (val == NULL) { in sip_get_dialog_local_uri() 343 if (val == NULL) { in sip_get_dialog_remote_uri() 375 if (val == NULL) { in sip_get_dialog_remote_target_uri() [all …]
|
/illumos-gate/usr/src/cmd/hal/addons/network-devices/ |
H A D | cache.c | 40 time_t *val = value; in device_remove_if_stale() local 42 HAL_DEBUG(("test stale: %s (%d > %d)", name, args->timestamp, *val)); in device_remove_if_stale() 43 if (args->timestamp > *val) { in device_remove_if_stale() 88 time_t *val; in device_seen() local 95 (gpointer)&key, (gpointer)&val); in device_seen() 97 if ((result == FALSE) && ((val = calloc(1, sizeof (*val))) != NULL)) { in device_seen() 98 g_hash_table_insert(seen, strdup(name), val); in device_seen() 100 (void) time(val); in device_seen() 101 HAL_DEBUG(("seen: %s (%d)", name, *val)); in device_seen()
|
/illumos-gate/usr/src/uts/common/io/igb/ |
H A D | igb_gld.c | 61 *val = igb->stat_mprc; in igb_m_stat() 66 *val = igb->stat_bprc; in igb_m_stat() 71 *val = igb->stat_mptc; in igb_m_stat() 76 *val = igb->stat_bptc; in igb_m_stat() 81 *val = igb->stat_rnbc; in igb_m_stat() 99 *val = 0; in igb_m_stat() 121 *val = igb->stat_tor; in igb_m_stat() 126 *val = igb->stat_tpr; in igb_m_stat() 138 *val = igb->stat_tot; in igb_m_stat() 174 *val = igb->stat_dc; in igb_m_stat() [all …]
|
/illumos-gate/usr/src/lib/libzfsbootenv/common/ |
H A D | lzbe_device.c | 119 char *val; in lzbe_get_boot_device() local 136 rv = nvlist_lookup_string(nv, OS_BOOTONCE, &val); in lzbe_get_boot_device() 142 if (strncmp(val, "zfs:", 4) == 0) { in lzbe_get_boot_device() 143 val += 4; in lzbe_get_boot_device() 144 val = strdup(val); in lzbe_get_boot_device() 145 if (val != NULL) { in lzbe_get_boot_device() 146 size_t len = strlen(val); in lzbe_get_boot_device() 148 if (val[len - 1] == ':') in lzbe_get_boot_device() 149 val[len - 1] = '\0'; in lzbe_get_boot_device() 150 *device = val; in lzbe_get_boot_device()
|
/illumos-gate/usr/src/lib/libmp/common/ |
H A D | mout.c | 40 ten.val = &qten; in m_in() 44 y.val = &qy; in m_in() 102 x.val = _mp_xalloc(xlen, "m_out"); in m_out() 104 x.val[i] = a->val[i]; in m_out() 133 x.val = a->val; in mp_sdiv() 144 q->val = y.val; in mp_sdiv() 160 q->val = _mp_xalloc(qlen, "s_div"); in s_div() 161 aval = a->val + qlen; in s_div() 162 qval = q->val + qlen; in s_div() 169 if (qlen && q->val[qlen-1] == 0) in s_div() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | ecppvar.h | 423 #define DCR_WRITE(pp, val) PP_PUTB((pp)->i_handle, &(pp)->i_reg->dcr, val) argument 424 #define ECR_WRITE(pp, val) \ argument 426 #define DATAR_WRITE(pp, val) \ argument 440 tmpval |= val; \ 448 tmpval |= val; \ 456 tmpval &= val; \ 464 tmpval &= val; \ 473 tmpval |= val; \ 482 ((uint32_t)val)) 488 ((uint32_t)val)) [all …]
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | devattr.c | 104 char *val; /* Extracted value */ in devattr() local 120 val = (record->alias != NULL) ? record->alias : ""; in devattr() 126 val = (record->cdevice != NULL) ? record->cdevice : ""; in devattr() 132 val = (record->bdevice != NULL) ? record->bdevice : ""; in devattr() 138 val = (record->pathname != NULL) ? record->pathname : ""; in devattr() 152 val = p->val; in devattr() 164 if (rtnval = malloc(strlen(val)+1)) in devattr() 165 (void) strcpy(rtnval, val); in devattr()
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | net.c | 156 unsigned long val; in inet_addr() local 168 val = 0; in inet_addr() 171 val = (val * 10) + (c - '0'); in inet_addr() 184 if (pp >= parts + 3 || val > 0xff) in inet_addr() 186 *pp++ = val, cp++; in inet_addr() 207 if (val > 0xffffff) in inet_addr() 209 val |= parts[0] << 24; in inet_addr() 213 if (val > 0xffff) in inet_addr() 215 val |= (parts[0] << 24) | (parts[1] << 16); in inet_addr() 219 if (val > 0xff) in inet_addr() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | read.c | 237 *val = 0; in sh_readline() 268 if(val) in sh_readline() 544 val = 0; in sh_readline() 570 if(val) in sh_readline() 583 if(val) in sh_readline() 597 if(val && *val) in sh_readline() 602 val = 0; in sh_readline() 690 stakwrite(val,cp-(unsigned char*)val); in sh_readline() 704 stakwrite(val,cp-(unsigned char*)val); in sh_readline() 730 if(!val) in sh_readline() [all …]
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | lltostr.c | 63 ulong_t t, val = (ulong_t)value; in lltostr() local 66 *--ptr = (char)('0' + val - 10 * (t = val / 10)); in lltostr() 67 } while ((val = t) != 0); in lltostr() 87 ulong_t t, val = (ulong_t)value; in ulltostr() local 90 *--ptr = (char)('0' + val - 10 * (t = val / 10)); in ulltostr() 91 } while ((val = t) != 0); in ulltostr()
|
H A D | llog10.c | 35 llog10(dl_t val) in llog10() argument 40 val = ldivide(val, lten); in llog10() 42 while (val.dl_hop != 0 || val.dl_lop != 0) { in llog10() 43 val = ldivide(val, lten); in llog10()
|
/illumos-gate/usr/src/uts/common/io/chxge/com/ |
H A D | tp.c | 134 u32 val; in t1_tp_set_coalescing_size() local 153 val &= ~F_RX_COALESCING_ENABLE; in t1_tp_set_coalescing_size() 175 u32 val; in tp_init() local 180 val |= F_OFFLOAD_DISABLE; in tp_init() 214 val |= V_TIMESTAMP(1); in tp_init() 249 val = (9 * tp_clk) / 1000000; in tp_init() 252 val = 0; in tp_init() 255 val /= 10; in tp_init() 267 val |= V_DIS_TX_FILL_WIN_PUSH(1); in tp_init() 389 val |= csum_bit; in set_csum_offload() [all …]
|
/illumos-gate/usr/src/common/util/ |
H A D | strtoul.c | 62 unsigned long val; in ddi_strtoul() local 117 val = DIGIT(c); in ddi_strtoul() 119 if (val > multmax) in ddi_strtoul() 121 val *= base; in ddi_strtoul() 122 if (ULONG_MAX - val < (unsigned long)xx) in ddi_strtoul() 124 val += xx; in ddi_strtoul() 130 *result = neg ? -val : val; in ddi_strtoul() 133 return (neg ? -val : val); in ddi_strtoul()
|
H A D | strtoull.c | 64 u_longlong_t val; in ddi_strtoull() local 119 val = DIGIT(c); in ddi_strtoull() 121 if (val > multmax) in ddi_strtoull() 123 val *= base; in ddi_strtoull() 124 if (ULLONG_MAX - val < (unsigned long long)xx) in ddi_strtoull() 126 val += xx; in ddi_strtoull() 132 *result = neg ? -val : val; in ddi_strtoull() 135 return (neg ? -val : val); in ddi_strtoull()
|
/illumos-gate/usr/src/uts/common/io/sfe/ |
H A D | sfe_util.c | 3620 if (val != 0 && val != 1) { in gem_param_set() 3630 if (val != 0 && val != 1) { in gem_param_set() 3641 if (val != 0 && val != 1) { in gem_param_set() 3652 if (val != 0 && val != 1) { in gem_param_set() 3664 if (val != 0 && val != 1) { in gem_param_set() 3675 if (val != 0 && val != 1) { in gem_param_set() 3685 if (val != 0 && val != 1) { in gem_param_set() 3695 if (val != 0 && val != 1) { in gem_param_set() 3705 if (val != 0 && val != 1) { in gem_param_set() 3715 if (val != 0 && val != 1) { in gem_param_set() [all …]
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypmatch.c | 225 char *val; in match_list() local 230 error = match_one(keys[n], &val, &len); in match_list() 233 print_one(keys[n], val, len); in match_list() 234 free(val); in match_list() 252 match_one(key, val, len) in match_one() argument 254 char **val; 260 *val = NULL; 268 val, len); 288 print_one(key, val, len) in print_one() argument 290 char *val; [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | deltat.c | 780 { yyval.val = - yyvsp[0].val; ; in yyparse() 784 { yyval.val = yyvsp[0].val; ; in yyparse() 792 { DO (yyvsp[-2].val, 0, 0, yyvsp[0].val); ; in yyparse() 796 { DO ( 0, yyvsp[-2].val, 0, yyvsp[0].val); ; in yyparse() 800 { DO ( 0, 0, yyvsp[-2].val, yyvsp[0].val); ; in yyparse() 808 { DO (yyvsp[-6].val, yyvsp[-4].val, yyvsp[-2].val, yyvsp[0].val); ; in yyparse() 812 { DO ( 0, yyvsp[-4].val, yyvsp[-2].val, yyvsp[0].val); ; in yyparse() 816 { DO ( 0, yyvsp[-2].val, yyvsp[0].val, 0); ; in yyparse() 825 DO_SUM(yyval.val, yyvsp[-2].val * 3600, yyvsp[0].val); ; in yyparse() 830 DO_SUM(yyval.val, yyvsp[-2].val * 60, yyvsp[0].val); ; in yyparse() [all …]
|