Searched refs:limit (Results 1 - 25 of 321) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Dhash_log2.c52 u_int32_t i, limit; local
54 limit = 1;
55 for (i = 0; limit < num; limit = limit << 1, i++);
/illumos-gate/usr/src/cmd/lp/lib/users/
H A Dstorepri.c48 int limit; local
51 printf(gettext("Priority limit for users not listed below: %d\n"), ppri_tbl->deflt_limit);
54 for (limit = PRI_MIN; limit <= PRI_MAX; limit++) {
55 if (ppri_tbl->users[limit - PRI_MIN])
57 printf(" %2d ", limit);
58 fdprintlist(1, ppri_tbl->users[limit - PRI_MIN]);
71 int limit; local
75 for (limit
[all...]
H A Dusermgmt.c69 int limit; local
71 /* root and lp do not get a limit */
86 for (limit = PRI_MIN; limit <= PRI_MAX; limit++)
87 if (bang_searchlist(user, ppri_tbl->users[limit - PRI_MIN]))
89 usr.priority_limit = limit;
135 int limit; local
141 for (limit = PRI_MIN; limit <
[all...]
H A Dloadpri.c49 the default priority limit. This number is followed
58 be used. If the default limit is missing, zero will be used.
102 if any, and the first priority limit. p is left pointing
103 to the colon (:) in the line with the first limit. */
168 Inputs: A pointer to a limit structure, and a user.
169 Ouputs: The limit structure is modified.
174 int add_user ( struct user_priority * ppri_tbl, char * user, int limit )
176 if (limit < PRI_MIN || PRI_MAX < limit)
178 addlist (&(ppri_tbl->users[limit
245 int limit; local
[all...]
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_log2.c63 u_int32_t i, limit; local
65 limit = 1;
66 for (i = 0; limit < num; limit = limit << 1, i++)
/illumos-gate/usr/src/lib/libbc/libc/compat/4.1/
H A Dvlimit.c48 vlimit(int limit, int value) argument
52 if (limit <= 0 || limit > NLIMITS)
55 if (getrlimit(limit - 1, &rlim) < 0)
61 return (setrlimit(limit - 1, &rlim));
/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dgetservent.c42 const char *limit, *linep, *keyp; local
46 limit = line + linelen;
50 while (*keyp && linep < limit && !isspace(*linep) && *keyp == *linep) {
54 if (*keyp == '\0' && linep < limit && isspace(*linep)) {
62 while (linep < limit && !isspace(*linep))
65 while (linep < limit && isspace(*linep))
68 while (linep < limit && !isspace(*linep) && *linep != '/')
70 if (linep == limit || *linep != '/')
76 while (linep < limit && !isspace(*linep))
80 while (*keyp && linep < limit
131 const char *limit, *linep, *keyp, *numstart; local
[all...]
H A Dgetgrent.c62 const char *linep, *limit, *end; local
65 limit = line + linelen;
70 while (linep < limit && *linep++ != ':') /* skip groupname */
72 while (linep < limit && *linep++ != ':') /* skip password */
74 if (linep == limit)
100 const char *linep, *limit; local
104 limit = line + linelen;
109 while (*keyp && linep < limit && *keyp == *linep) {
113 return (linep < limit && *keyp == '\0' && *linep == ':');
127 const char *linep, *limit, *en local
174 char *linep, *limit, *gidp; local
[all...]
H A Dether_addr.c55 const char *limit, *linep, *keyp; local
57 limit = line + linelen;
60 while (linep < limit && isspace(*linep))
63 while (linep < limit && !isspace(*linep))
66 while (linep < limit && isspace(*linep))
68 if (linep == limit)
73 while (*keyp != '\0' && linep < limit && *keyp == *linep) {
77 return (*keyp == '\0' && linep == limit);
112 const char *limit, *linep; local
118 limit
[all...]
H A Dtsol_gettpent.c39 const char *limit, *linep, *keyp; local
42 limit = line + linelen;
46 while (*keyp && linep < limit && *linep != ':' && *keyp == *linep) {
50 if (*keyp == '\0' && linep < limit && *linep == ':')
H A Dgetpwnam.c63 const char *linep, *limit, *end; local
66 limit = line + linelen;
71 while (linep < limit && *linep++ != ':') /* skip username */
73 while (linep < limit && *linep++ != ':') /* skip password */
75 if (linep == limit)
102 const char *linep, *limit; local
106 limit = line + linelen;
111 while (*keyp && linep < limit && *keyp == *linep) {
115 return (linep < limit && *keyp == '\0' && *linep == ':');
129 const char *linep, *limit, *en local
175 char *linep, *limit, *uidp, *gidp; local
[all...]
H A Dgetprotoent.c51 const char *limit, *linep; local
54 limit = line + linelen;
57 while (linep < limit && !isspace(*linep))
60 while (linep < limit && isspace(*linep))
62 if (linep == limit)
H A Dgetrpcent.c51 const char *limit, *linep; local
54 limit = line + linelen;
57 while (linep < limit && !isspace(*linep))
60 while (linep < limit && isspace(*linep))
62 if (linep == limit)
H A Dbootparams_getbyname.c103 char *p, *host, *limit; local
125 limit = p + linelen;
128 while (p < limit && isspace(*p)) {
134 while (p < limit && !isspace(*p)) {
144 while (p < limit && isspace(*p)) {
147 if (p >= limit) {
H A Dgetnetent.c55 const char *limit, *linep, *addrstart; local
61 limit = line + linelen;
64 while (linep < limit && !isspace(*linep))
67 while (linep < limit && isspace(*linep))
69 if (linep == limit)
73 while (linep < limit && !isspace(*linep))
H A Dgetprojent.c62 const char *linep, *limit, *end; local
65 limit = line + linelen;
71 while (linep < limit && *linep++ != ':');
72 if (linep == limit)
100 const char *linep, *limit, *end; local
103 limit = line + linelen;
106 while (linep < limit && *linep++ != ':');
109 if (linep == limit || linep == line + 1)
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioCopy.cc46 Double limit = AUDIO_UNKNOWN_TIME; local
48 return (AudioCopy(from, to, frompos, topos, limit));
59 Double& limit) // amount to copy (updated)
61 return (from->Copy(to, frompos, topos, limit));
72 Double& limit) // amount to copy (updated)
74 return (from->AsyncCopy(to, frompos, topos, limit));
54 AudioCopy( Audio* from, Audio* to, Double& frompos, Double& topos, Double& limit) argument
67 AudioAsyncCopy( Audio* from, Audio* to, Double& frompos, Double& topos, Double& limit) argument
H A DAudio.cc235 Double limit = AUDIO_UNKNOWN_TIME; local
237 return (Copy(to, frompos, topos, limit));
241 // and src/dest start offsets. limit is either the time to copy or
244 // limit is updated with the amount of data actually copied.
250 Double& limit)
265 if (Undefined(limit)) {
266 len = limit;
268 len = limit - (frompos - svpos);
302 limit = frompos - svpos;
305 if (limit >
246 Copy( Audio* to, Double& frompos, Double& topos, Double& limit) argument
325 AsyncCopy( Audio* to, Double& frompos, Double& topos, Double& limit) argument
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/libzfs/
H A Dmany_fds.c43 struct rlimit limit; local
46 limit.rlim_cur = 65535;
47 limit.rlim_max = 65535;
49 if (setrlimit(RLIMIT_NOFILE, &limit) != 0) {
/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dget.c56 char *limit; local
60 limit = &buf[n - 1];
78 if (lp < limit)
/illumos-gate/usr/src/uts/intel/io/intel_nb5000/
H A Drank.h36 uint64_t limit; member in struct:rank_base
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Drealpath.c53 register char *limit = canon + MAXPATHLEN; local
82 if (d < limit)
87 while (d < limit && *s)
92 while (d < limit && (*d++ = *s++))
105 while (d < limit && *s) {
196 if (strlen(link) >= (limit - s)) {
197 (void) strncpy(s, link, limit - s);
198 *(limit - 1) = '\0';
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetservent.c73 const char *limit, *linep, *keyp; local
77 limit = linep + strlen(argp->buf.buffer);
81 while (*keyp && linep < limit && !isspace(*linep) && *keyp == *linep) {
85 if (*keyp == '\0' && linep < limit && isspace(*linep)) {
93 while (linep < limit && !isspace(*linep))
96 while (linep < limit && isspace(*linep))
99 while (linep < limit && !isspace(*linep) && *linep != '/')
101 if (linep == limit || *linep != '/')
107 while (linep < limit && !isspace(*linep))
111 while (*keyp && linep < limit
227 const char *limit, *linep, *keyp, *numstart; local
[all...]
H A Dgetpwnam.c62 char *linep, *limit, *uidp, *gidp, *newline; local
70 limit = linep + linelen;
76 while (linep < limit && *linep++ != ':') /* skip username */
78 while (linep < limit && *linep++ != ':') /* skip password */
80 if (linep == limit)
86 if (++linep >= limit || olduidlen == 0)
92 if (linep >= limit || oldgidlen == 0)
118 (void) bcopy(linep, uidp + idlen, limit - linep + 1);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetspent_r.c114 getfield(constp *nextp, constp limit, int uns, void *valp) argument
121 if (p == 0 || p >= limit) {
127 return (p < limit);
129 if ((len = limit - p) > sizeof (numbuf) - 1) {
138 if (len != limit - p) {
143 p = limit;
163 return (p < limit);
183 const char *p = instr, *limit; local
188 limit = p + lenstr;
190 ++p >= limit ||
[all...]

Completed in 83 milliseconds

1234567891011>>