| /illumos-gate/usr/src/lib/libm/common/m9x/ |
| H A D | __fex_i386.c | 607 info->op1.val.f = *(float *)ea; 609 info->res.val.q = (long double) info->op1.val.f; 622 info->op1.val.d = *(double *)ea; 624 info->res.val.q = (long double) info->op1.val.d; 644 info->res.val.f = *(float *)ea; 649 info->op1.val.q = fpreg(uap, 0); 650 info->res.val.f = (float) info->op1.val 1165 unsigned top; local 1196 unsigned top; local [all...] |
| /illumos-gate/usr/src/grub/grub-0.97/lib/ |
| H A D | getopt.c | 316 int top = optind; 326 string can work normally. Our top argument must be in the range 328 if (nonoption_flags_len > 0 && top >= nonoption_flags_max_len) 332 char *new_str = malloc (top + 1); 339 '\0', top + 1 - nonoption_flags_max_len); 340 nonoption_flags_max_len = top + 1; 346 while (top > middle && middle > bottom) 348 if (top - middle > middle - bottom) 354 /* Swap it with the top part of the top segmen 313 int top = optind; local [all...] |
| /illumos-gate/usr/src/lib/libcurses/screen/ |
| H A D | tparm.c | 98 long top; member in struct:__anon26 110 if (st->top < 0) { 113 return (st->stack[st->top]); 119 if (st->top >= (st->stacksize - 1)) { 126 st->stack[++st->top] = (i); 132 if (st->top < 0) { 135 return (st->stack[st->top--]); 145 if (st->top < 0) { 148 return ((char *)(st->stack[st->top--])); 154 st->top 267 int val; local [all...] |
| /illumos-gate/usr/src/lib/libast/common/misc/ |
| H A D | stk.c | 144 static int stkexcept(register Sfio_t *stream, int type, void* val, Sfdisc_t* dp) argument 147 NoP(val); 335 * otherwise, the top of the stack is set to stkbot+<offset> 422 * advance the stack to the current top 427 register unsigned char *old, *top; local 431 top = stream->_next; 436 if (!(top = (unsigned char*)stkgrow(stream,extra))) 440 *top = 0; 441 top += extra; 443 stream->_next = stream->_data += roundof(top [all...] |
| /illumos-gate/usr/src/cmd/mdb/common/mdb/ |
| H A D | mdb_io.c | 59 * However, we can push a log i/o backend on top that multiplexes stdout to 955 double val = (double)orig / (1ULL << 10 * index); local 962 double mult = val * (double)mag; 967 * that val is less than 1024 due to the logic above, 1140 mdb_var_t *val; local 1149 val = mdb_nv_lookup(&mdb.m_nv, var); 1152 if (val == NULL) { 1157 return (numtostr(mdb_nv_get_value(val), 10, 0)); 1180 u_longlong_t val; /* Current integer value */ local 1255 NTOS_UNSIGNED | NTOS_SHOWBASE, &zero, &val); 2123 mdb_iob_t *top, *ntop; local 2144 mdb_iob_t *top = stk->stk_top; local [all...] |
| /illumos-gate/usr/src/common/mc/mc-amd/ |
| H A D | mcamd_patounum.c | 45 #define BITS(val, high, low) \ 46 ((val) & (((2ULL << (high)) - 1) & ~((1ULL << (low)) - 1))) 61 uint64_t mcnum, base, lim, dramaddr, ilen, ilsel, top, holesz; local 127 top = BITS(dramaddr, 36, 13) >> 1; 129 top = BITS(dramaddr, 37, 14) >> 2; 131 top = BITS(dramaddr, 38, 15) >> 3; 133 top = BITS(dramaddr, 35, 12); 136 *iaddrp = top | BITS(dramaddr, 11, 0);
|
| /illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
| H A D | ServiceStoreInMemory.java | 455 AttributeString val = (AttributeString)rec.value; 458 if (pat.match(val)) { 532 // less than or equal. Start at the top. 555 // than or equal. Start at the top. 607 int top = size - 1; 611 top = (top < 0 ? 0:top); 630 top = top [all...] |
| /illumos-gate/usr/src/lib/libc/port/i18n/ |
| H A D | gettext_gnu.c | 405 uint32_t top, bottom; local 407 int val; local 409 top = 0; 411 while (top < bottom) { 412 idx = (top + bottom) / 2; 416 val = strcmp(msg_id_str, msgid1); 417 if (val < 0) { 418 top = idx + 1; 419 } else if (val > 0) {
|
| /illumos-gate/usr/src/uts/common/io/kbtrans/ |
| H A D | kbtrans_streams.c | 321 upper->kbtrans_streams_vuid_addr.top = TOP_FIRST; 814 addr_ptr = &upper->kbtrans_streams_vuid_addr.top; 847 upper->kbtrans_streams_vuid_addr.top; 1244 kbtrans_strsetwithdecimal(char *buf, uint_t val, uint_t maxdigs) argument 1253 while (val) { 1254 lowbit = val & 1; 1255 val = (val >> 1); 1256 *(--bp) = tab[val % hradix * 2 + lowbit]; 1257 val / [all...] |
| /illumos-gate/usr/src/lib/libc/port/threads/ |
| H A D | thr.c | 965 * We are at the top of the stack; no unwinding is necessary. 1129 int val = -1; local 1134 for (val = 0; (c = *ename) != '\0'; ename++) { 1136 val = -1; 1139 val = val * 10 + (c - '0'); 1140 if (val > limit) { 1141 val = limit; 1146 return (val); 1842 top [all...] |
| /illumos-gate/usr/src/cmd/mandoc/ |
| H A D | eqn.c | 450 memcpy(start, def->val, def->valsz); 535 free(bp->top); 636 free(def->val); 637 def->key = def->val = NULL; 669 ep->defs[i].key = ep->defs[i].val = NULL; 683 free(def->val); 684 def->key = def->val = NULL; 688 free(def->val); 689 def->val = mandoc_strndup(start, sz); 803 parent->top [all...] |
| /illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
| H A D | commands.c | 557 register int val = 0; local 587 val = cpp - telopts; 592 val *= 10; 593 val += *cp - '0'; 601 } else if (val < 0 || val > 255) { 612 (*func)(val, 1); 666 togbinary(val) 667 int val; 671 if (val > [all...] |
| /illumos-gate/usr/src/lib/libscf/common/ |
| H A D | midlevel.c | 140 scf_value_t *val; local 177 if ((val = scf_value_create(h)) == NULL) { 185 for (numvals = 0; (iterret = scf_iter_next_value(iter, val)) == 1; 196 if (scf_value_get_boolean(val, 202 if (scf_value_get_count(val, 208 if (scf_value_get_integer(val, 214 if (scf_value_get_time(val, 222 if ((valsize = scf_value_get_astring(val, NULL, 0)) == 230 if (scf_value_get_astring(val, 246 if ((valsize = scf_value_get_ustring(val, NUL 966 scf_value_t *val = NULL; local 1453 scf_value_t *val = scf_value_create(simple_h->h); local [all...] |
| /illumos-gate/usr/src/cmd/ztest/ |
| H A D | ztest.c | 523 uint64_t val; local 525 val = strtoull(buf, &end, 0); 537 val = (uint64_t)fval; 540 if (shift >= 64 || (val << shift) >> shift != val) { 545 val <<= shift; 547 return (val); 1003 uint64_t top; local 1010 top = ztest_random(rvd->vdev_children); 1011 tvd = rvd->vdev_child[top]; 2758 uint64_t leaf, top; local 3049 uint64_t top; local 4800 uint64_t top, leaf; local [all...] |
| /illumos-gate/usr/src/uts/common/zmod/ |
| H A D | trees.c | 104 * 3 .. 258, the last 256 values correspond to the top 8 bits of 220 int val = value;\ 221 s->bi_buf |= (val << s->bi_valid);\ 223 s->bi_buf = (ush)val >> (Buf_size - s->bi_valid);\ 434 #define pqremove(s, tree, top) \ 436 top = s->heap[SMALLEST]; \
|
| /illumos-gate/usr/src/boot/lib/libz/ |
| H A D | trees.c | 100 * 3 .. 258, the last 256 values correspond to the top 8 bits of 216 int val = value;\ 217 s->bi_buf |= (ush)val << s->bi_valid;\ 219 s->bi_buf = (ush)val >> (Buf_size - s->bi_valid);\ 432 #define pqremove(s, tree, top) \ 434 top = s->heap[SMALLEST]; \
|
| /illumos-gate/usr/src/uts/common/os/ |
| H A D | lwp.c | 1119 top: 1183 goto top; 1325 * the top again on returning from stop(). 1808 int val; local 1901 val = CL_ALLOC(&bufp, cid, KM_SLEEP); 1902 ASSERT(val == 0); 2037 top: 2053 goto top;
|
| /illumos-gate/usr/src/uts/common/syscall/ |
| H A D | sem.c | 157 * the resource controls described at the top of this file. 253 sem_undo_add(short val, ushort_t num, struct sem_undo *undo) argument 255 int newval = undo->un_aoe[num] - val; 672 top: 716 goto top; 888 * some goto top nonsense to avoid the copyin behind the semid
|
| H A D | lwp_sobj.c | 419 top: 423 goto top; 430 goto top; 440 lwpchan->lc_wchan0 = (caddr_t)(uintptr_t)memid.val[0]; 441 lwpchan->lc_wchan = (caddr_t)(uintptr_t)memid.val[1]; 448 goto top; 463 goto top;
|
| /illumos-gate/usr/src/lib/libshell/common/sh/ |
| H A D | xec.c | 348 static void put_level(Namval_t* np,const char *val,int flags,Namfun_t *fp) argument 353 nv_putv(np,val,flags,fp); 354 if(!val) 1625 char *val; local 1643 if(!(val=nv_getval(sh_scoped(shp,REPLYNOD)))) 1647 if(*(cp=val) == 0) 1658 type = (int)strtol(val, (char**)0, 10)-1; 1963 Dt_t *root,*oldroot, *top=0; local 1981 top = dtview(shp->var_tree,0); 1983 top [all...] |
| H A D | name.c | 142 char *val; local 147 else if(!(val=nv_getsub(np)) || strcmp(val,"0")) 150 if(!(val = nv_getval(np))) 154 stakputs(val); 693 int copy=1,isref,top=0,noscope=(flags&NV_NOSCOPE); local 697 top = 1; 745 if(top) 794 if(top) 813 top 2356 put_optimize(Namval_t* np,const char *val,int flags,Namfun_t *fp) argument [all...] |
| /illumos-gate/usr/src/lib/libzonecfg/common/ |
| H A D | libzonecfg.c | 544 xmlDocPtr top; local 547 top = handle->zone_dh_doc; 548 for (child = top->xmlChildrenNode; child != NULL; child = next) { 916 * top of the routine, since we've had a failure. 1255 * Move the new document over top of the old. 3415 xmlNodePtr cur, val; local 3434 for (val = cur->xmlChildrenNode; val != NULL; 3435 val = val 4092 long double val; local 4190 pool_value_t *val; local 4246 pool_value_t *val; local 4979 xmlNodePtr cur, val; local 6647 xmlNodePtr cur, val; local 6724 uint64_t val; local 6765 zonecfg_set_aliased_rctl(zone_dochandle_t handle, char *name, uint64_t val) argument [all...] |
| /illumos-gate/usr/src/uts/common/dtrace/ |
| H A D | dtrace.c | 1030 int64_t val = 0; local 1066 val = val * base + x; 1068 return (neg ? -val : val); 1779 uint64_t val = key[i].dttk_value; local 1781 hashval += (val >> 48) & 0xffff; 1785 hashval += (val >> 32) & 0xffff; 1789 hashval += (val >> 16) & 0xffff; 1793 hashval += val 2228 int64_t val = (int64_t)nval; local 2259 int32_t val = (int32_t)nval, level; local 3177 uint64_t val; local 5108 uint64_t val, digit; local 5482 uint8_t *ptr8, val; local 5531 uint16_t val; local 6504 uintptr_t val = (uintptr_t)ecb; local 6622 dtrace_action_chill(dtrace_mstate_t *mstate, hrtime_t val) argument 6791 uint64_t val = *valp; local 6937 uint64_t val = 0; local 6939 uint64_t val; local 14315 dtrace_state_option(dtrace_state_t *state, dtrace_optid_t option, dtrace_optval_t val) argument [all...] |
| /illumos-gate/usr/src/lib/libzfs/common/ |
| H A D | libzfs_pool.c | 149 * the pool is faulted, but if all we need is the top level 1958 char *srchval, *val; local 1961 if (nvlist_lookup_string(nv, srchkey, &val) != 0) 1970 * - looking for a top-level vdev name (i.e. ZPOOL_CONFIG_TYPE). 1975 ctd_check_path(val)) { 1982 int vlen = strlen(val); 1998 if (strcmp(&val[vlen - 2], "s0") == 0 && 1999 strncmp(srchval, val, slen) == 0) 2005 if (strcmp(&val[vlen - 6], "s0/old") == 0 && 2007 strncmp(srchval, val, sle 2606 uint64_t val; local 4018 nvlist_t **top; local [all...] |
| /illumos-gate/usr/src/uts/common/fs/zfs/ |
| H A D | arc.c | 737 #define ARCSTAT_INCR(stat, val) \ 738 atomic_add_64(&arc_stats.stat.value.ui64, (val)) 743 #define ARCSTAT_MAX(stat, val) { \ 745 while ((val) > (m = arc_stats.stat.value.ui64) && \ 746 (m != atomic_cas_64(&arc_stats.stat.value.ui64, m, (val)))) \ 4729 top: 4778 goto top; 4869 goto top; /* restart the IO request */ 6371 top: 6409 goto top; [all...] |