/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | runetype.c | 43 size_t lim; local 52 for (lim = rr->__nranges; lim != 0; lim >>= 1) { 53 re = base + (lim >> 1); 61 lim--;
|
H A D | nextwctype.c | 44 size_t lim; local 70 for (lim = rr->__nranges; lim != 0; lim >>= 1) { 71 re = base + (lim >> 1); 76 lim--;
|
H A D | towlower.c | 53 size_t lim; local 62 for (lim = rr->__nranges; lim != 0; lim >>= 1) { 63 re = base + (lim >> 1); 68 lim--;
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_ring_buffer_util.c | 84 rbuf->lim = rsize - 1; 146 rbuf->lim = rsize - 1; 178 dapl_os_free(rbuf->base, (rbuf->lim + 1) * sizeof (void *)); 180 rbuf->lim = 0; 209 if (((pos + 1) & rbuf->lim) != rbuf->tail) { 211 rbuf->head = (pos + 1) & rbuf->lim; 244 rbuf->tail = (pos + 1) & rbuf->lim; 284 /* add 1 to lim as it is a mask, number of entries - 1 */ 285 return ((rbuf->lim + 1 - tail + head));
|
/illumos-gate/usr/src/common/nvpair/ |
H A D | nvpair_alloc_fixed.c | 69 uintptr_t lim = base + va_arg(valist, size_t); local 72 if (base == 0 || (uintptr_t)&nvb[1] > lim) 77 nvb->nvb_lim = lim;
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_alloc.c | 45 uint_t try, lim, msecs; local 50 lim = fmd.d_alloc_tries; 53 for (try = 0; data == NULL && try < lim; try++) {
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | Audio.cc | 333 size_t lim; local 346 lim = (size_t)tohdr.Time_to_Bytes(limit); 364 if (!Undefined(limit) && (lim < bufsiz)) 365 bufsiz = lim; 383 if (!Undefined(limit) && (lim < bufsiz)) 384 bufsiz = lim; 394 lim = bufsiz; 395 if (tohdr.Bytes_to_Bytes(bufsiz) != lim) { 398 lim = bufsiz; 405 if (bufsiz < lim) { [all...] |
H A D | AudioBuffer.cc | 473 Double lim; local 493 lim = svfrom - frompos; 494 if (!Undefined(limit) && (limit < lim)) 495 lim = limit; 505 cnt = (size_t)GetHeader().Time_to_Bytes(lim);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | mem_cage.c | 214 pfn_t lim; member in struct:kcage_glist 342 khi = lp->lim; 417 pfn_t lim; local 425 lim = base + npgs; 427 ASSERT(lim > base); 428 if (lim <= base) 437 new->lim = lim; 440 new->curr = new->lim; 450 ret = kcage_glist_delete((*lpp)->base, (*lpp)->lim, 483 pfn_t lim; local 548 pfn_t lim; local 612 kcage_glist_delete(pfn_t base, pfn_t lim, struct kcage_glist **lpp) argument [all...] |
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdladm_impl.h | 39 #define BUFLEN(lim, ptr) (((lim) > (ptr)) ? ((lim) - (ptr)) : 0)
|
/illumos-gate/usr/src/lib/pam_modules/unix_cred/ |
H A D | unix_cred.c | 130 char *lim; member in struct:deflim 145 if (pdef->lim == NULL) { 148 pdef->lim = strdup(val); 150 return (pdef->lim != NULL && pdef->def != NULL); 186 priv_set_t *lim, *def, *tset; local 578 tset = def = lim = NULL; 579 deflim.def = deflim.lim = NULL; 583 if (getset(deflim.lim, &lim) != 0 || getset(deflim.def, &def) != 0) { 625 if (lim ! [all...] |
/illumos-gate/usr/src/cmd/refer/ |
H A D | mkey2.c | 22 static long lp, lim; variable 46 while (lim = grec(line, f)) { 54 lp += lim; 146 lp, lim);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | kgrep.c | 75 kgrep_range_basic(uintptr_t base, uintptr_t lim, void *kg_arg) argument 91 lim = P2ROUNDUP(lim, pagesize); 93 for (addr = base; addr < lim; addr += pagesize) { 122 kgrep_range_fancybits(uintptr_t base, uintptr_t lim, void *kg_arg) \ 143 if (maxaddr != 0 && lim > maxaddr) \ 144 lim = maxaddr; \ 146 for (addr = base; addr < lim; addr += size) { \ 148 size = MIN(lim, P2END(addr, pagesize)) - addr; \
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_subr.c | 562 qcolumn(unsigned char *lim, unsigned char *gp) argument 572 if (lim != NULL) { 573 if(lim == linebuf - 1 || lim == &linebuf[LBSIZE-2]) 576 length = mbtowc(&wchar, (char *)lim, MULTI_BYTE_MAX); 579 x = lim[length]; 580 lim[length] = 0; 583 if (lim != NULL) 584 lim[length] = x; 609 nqcolumn(unsigned char *lim, unsigne argument [all...] |
/illumos-gate/usr/src/lib/libdns_sd/common/ |
H A D | dnssd_ipc.c | 120 char *lim = buffer + buflen; // Calculate limit local 121 while (*ptr < end && buffer < lim) 126 if (buffer == lim) buffer--;
|
H A D | dnssd_clientlib.c | 112 char *const lim = fullName + 1005; local 128 if (fn+4 >= lim) goto fail; 136 if (fn+2 >= lim) goto fail; 140 if (fn+1 >= lim) goto fail; 146 while (*r) if (fn+1 >= lim) goto fail;else *fn++ = *r++; 147 if (!DomainEndsInDot(regtype)) { if (fn+1 >= lim) goto fail;else *fn++ = '.';} 149 while (*d) if (fn+1 >= lim) goto fail;else *fn++ = *d++; 150 if (!DomainEndsInDot(domain)) { if (fn+1 >= lim) goto fail;else *fn++ = '.';}
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | common.c | 163 int lim) /* at most this many bytes */ 173 while (lim != 0) { 210 --lim; 213 if (lim == 0) 159 parse_quote(char **linep, const char *delims, char *delimp, char *buf, int lim) argument
|
H A D | input.c | 165 struct netinfo *n, *lim; local 218 lim = n + (cc - 4) / sizeof (struct netinfo); 230 if (!auth_ok && rip->rip_vers == RIPv2 && n < lim && 292 if (n >= lim) { 326 !ck_passwd(ifp, rip, (uint8_t *)lim, FROM_NADDR, 486 if (++v12buf.n >= v12buf.lim) 488 } while (++n < lim); 666 if (n >= lim) { 717 !ck_passwd(ifp, rip, (uint8_t *)lim, FROM_NADDR, &use_auth)) 953 } while (++n < lim); 1371 ck_passwd(struct interface *aifp, struct rip *rip, uint8_t *lim, in_addr_t from, struct msg_limit *use_authp) argument [all...] |
/illumos-gate/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_search.c | 84 db_indx_t base, i, indx, lim; local 154 lim = NUM_ENT(h) / (db_indx_t)jump; lim != 0; lim >>= 1) { 155 indx = base + ((lim >> 1) * jump); 164 --lim;
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_search.c | 74 indx_t base, idx, lim; local 85 for (base = 0, lim = NEXTINDEX(h); lim; lim >>= 1) { 86 t->bt_cur.index = idx = base + (lim >> 1); 96 --lim;
|
H A D | bt_debug.c | 210 indx_t cur, top, lim; local 237 lim = (pgsize - BTDATAOFF) / sizeof(indx_t); 239 lim = top > lim ? lim : top; 242 for (cur = 0; cur < lim; cur++) {
|
/illumos-gate/usr/src/uts/intel/sys/ |
H A D | segments.h | 226 #define USEGD_SETLIMIT(usd, lim) ((usd)->usd_lolimit = lim, \ 227 (usd)->usd_hilimit = lim >> 16) 274 #define USEGD_SETLIMIT(usd, lim) ((usd)->usd_lolimit = lim, \ 275 (usd)->usd_hilimit = lim >> 16) 332 #define SYSSEGD_SETLIMIT(ssd, lim) ((ssd)->ssd_lolimit = lim, \ 333 (ssd)->ssd_hilimit = lim >> 16)
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | rlimit.c | 91 rlim64_t lim = (rlim64_t)arg; local 95 if (lim >= (((rlim64_t)MAXOFFSET_T) >> SCTRSHFT)) 96 lim = (rlim64_t)RLIM64_INFINITY; 98 lim <<= SCTRSHFT; 100 rl64.rlim_max = rl64.rlim_cur = lim;
|
/illumos-gate/usr/src/cmd/flowadm/ |
H A D | flowadm.c | 795 char *ptr, *lim; local 817 lim = ptr + DLADM_STRSIZE; 820 ptr += snprintf(ptr, lim - ptr, "%s,", 822 if (ptr >= lim) 967 char *ptr, *lim; local 1008 lim = buf + DLADM_STRSIZE; 1011 ptr += snprintf(ptr, lim - ptr, "--,"); 1013 ptr += snprintf(ptr, lim - ptr, "%s,", propvals[i]); 1014 if (ptr >= lim) 1020 lim 1036 char *lim = ptr + MAX_PROP_LINE; local [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_string.c | 68 uintmax_t lim; local 73 lim = 1; 77 lim = 7; 81 lim = 9; 85 lim = 9; 90 if (c != 0 && uvalue > lim) {
|