Searched defs:lim (Results 1 - 25 of 66) sorted by relevance

123

/illumos-gate/usr/src/lib/libc/port/locale/
H A Drunetype.c43 size_t lim; local
52 for (lim = rr->__nranges; lim != 0; lim >>= 1) {
53 re = base + (lim >> 1);
61 lim--;
H A Dnextwctype.c44 size_t lim; local
70 for (lim = rr->__nranges; lim != 0; lim >>= 1) {
71 re = base + (lim >> 1);
76 lim--;
H A Dtowlower.c53 size_t lim; local
62 for (lim = rr->__nranges; lim != 0; lim >>= 1) {
63 re = base + (lim >> 1);
68 lim--;
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_alloc.c45 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/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_search.c74 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 Dbt_debug.c210 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/common/nvpair/
H A Dnvpair_alloc_fixed.c69 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/refer/
H A Dmkey2.c22 static long lp, lim; variable
46 while (lim = grec(line, f)) {
54 lp += lim;
146 lp, lim);
/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_search.c84 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/libdns_sd/common/
H A Ddnssd_ipc.c120 char *lim = buffer + buflen; // Calculate limit local
121 while (*ptr < end && buffer < lim)
126 if (buffer == lim) buffer--;
H A Ddnssd_clientlib.c112 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 Dcommon.c163 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 Dinput.c165 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/uts/common/syscall/
H A Drlimit.c91 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/lib/pam_modules/unix_cred/
H A Dunix_cred.c130 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/mdb/common/modules/genunix/
H A Dkgrep.c75 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/rpcsvc/
H A Drup.c315 register struct entry *entryp, *lim; local
342 lim = entry + curentry;
343 for (entryp = entry; entryp < lim; entryp++)
H A Drusers.c243 struct entry *entryp, *lim; local
281 lim = entry + curentry;
282 for (entryp = entry; entryp < lim; entryp++) {
369 struct entry *entryp, *lim; local
408 lim = entry + curentry;
409 for (entryp = entry; entryp < lim; entryp++) {
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_dup.c755 db_indx_t base, indx, lim, save_indx; local
854 for (lim = NUM_ENT(h) - base; lim != 0; lim >>= 1) {
855 indx = base + (lim >> 1);
867 lim--;
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudio.cc333 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 DAudioBuffer.cc473 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/lib/libdladm/common/
H A Dpropfuncs.c70 char *ptr, *lim = tmpbuf + MAXLINELEN; local
83 ptr += snprintf(ptr, BUFLEN(lim, ptr), "%s\t", name);
91 ptr += snprintf(ptr, BUFLEN(lim, ptr), "%s=", lip->li_name);
93 ptr += snprintf(ptr, BUFLEN(lim, ptr), "%s%c",
98 if (ptr > lim) {
/illumos-gate/usr/src/cmd/ypcmd/yppasswd/
H A Dyppasswdd.c71 static void unlimit(int lim);
656 unlimit(int lim) argument
660 setrlimit(lim, &rlim);
/illumos-gate/usr/src/common/mc/mc-amd/
H A Dmcamd_patounum.c61 uint64_t mcnum, base, lim, dramaddr, ilen, ilsel, top, holesz; local
66 mc, MCAMD_PROP_LIM_ADDR, &lim,
78 * mapped with base and lim both zero. We'll cover that case and
81 if (base == lim)
84 if (pa < base || pa > lim) {
86 "in range [0x%llx, 0x%llx] of MC %d\n", pa, base, lim,
140 "is 0x%llx\n", pa, base, lim, (int)mcnum, *iaddrp);
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_string.c68 uintmax_t lim; local
73 lim = 1;
77 lim = 7;
81 lim = 9;
85 lim = 9;
90 if (c != 0 && uvalue > lim) {

Completed in 208 milliseconds

123