| /mirbsd/src/usr.bin/xargs/ |
| D | strnsubst.c | 35 strnsubst(char **str, const char *match, const char *replstr, size_t maxsize) in strnsubst() argument 43 if ((s2 = malloc(maxsize)) == NULL) in strnsubst() 49 if (match == NULL || *match == '\0' || strlen(s1) >= maxsize) { in strnsubst() 50 strlcpy(s2, s1, maxsize); in strnsubst() 61 n = snprintf(s2 + s2len, maxsize - s2len, "%.*s%s", in strnsubst() 63 if (n == -1 || n + s2len + strlen(this + matchlen) >= maxsize) in strnsubst() 68 strlcpy(s2 + s2len, s1, maxsize - s2len); in strnsubst()
|
| /mirbsd/src/gnu/usr.bin/binutils/libiberty/ |
| D | spaces.c | 52 static int maxsize; in spaces() local 54 if (count > maxsize) in spaces() 67 maxsize = count; in spaces() 70 return (const char *) (buf + maxsize - count); in spaces()
|
| D | strsignal.c | 374 int maxsize; in signo_max() local 380 maxsize = MAX (sys_nsig, num_signal_names); in signo_max() 381 return (maxsize - 1); in signo_max()
|
| D | strerror.c | 593 int maxsize; in errno_max() local 599 maxsize = MAX (sys_nerr, num_error_names); in errno_max() 600 return (maxsize - 1); in errno_max()
|
| /mirbsd/src/lib/libc/i18n/ |
| D | wcsftime.c | 32 __weak_wcsftime(wchar_t *wcs, size_t maxsize, const wchar_t *format, in __weak_wcsftime() argument 41 if ((res = calloc(maxsize, MB_LEN_MAX)) == NULL) in __weak_wcsftime() 56 if (strftime(res, maxsize * MB_LEN_MAX, fmt, tp) == 0) { in __weak_wcsftime() 64 i = mbsrtowcs(wcs, resp, maxsize, &state); in __weak_wcsftime()
|
| /mirbsd/src/sys/dev/pci/ |
| D | pci_map.c | 296 pci_mapreg_map(pa, reg, type, flags, tagp, handlep, basep, sizep, maxsize) in pci_mapreg_map() argument 304 bus_size_t maxsize; 329 if (maxsize != 0 && size > maxsize) { 332 (u_long)size, (u_long)maxsize); 334 size = maxsize;
|
| /mirbsd/src/lib/libssl/src/crypto/asn1/ |
| D | a_strnid.c | 137 tbl->minsize, tbl->maxsize); in ASN1_STRING_set_by_NID() 213 long minsize, long maxsize, unsigned long mask, in ASN1_STRING_TABLE_add() argument 236 if(maxsize != -1) tmp->maxsize = maxsize; in ASN1_STRING_TABLE_add()
|
| D | a_mbstr.c | 91 long minsize, long maxsize) in ASN1_mbstring_ncopy() argument 153 if((maxsize > 0) && (nchar > maxsize)) { in ASN1_mbstring_ncopy() 155 BIO_snprintf(strbuf, sizeof strbuf, "%ld", maxsize); in ASN1_mbstring_ncopy()
|
| /mirbsd/src/lib/libssl/src/crypto/ui/ |
| D | ui_lib.c | 166 char *result_buf, int minsize, int maxsize, const char *test_buf) in general_allocate_string() argument 177 s->_.string_data.result_maxsize=maxsize; in general_allocate_string() 243 char *result_buf, int minsize, int maxsize) in UI_add_input_string() argument 246 UIT_PROMPT, flags, result_buf, minsize, maxsize, NULL); in UI_add_input_string() 251 char *result_buf, int minsize, int maxsize) in UI_dup_input_string() argument 266 UIT_PROMPT, flags, result_buf, minsize, maxsize, NULL); in UI_dup_input_string() 270 char *result_buf, int minsize, int maxsize, const char *test_buf) in UI_add_verify_string() argument 273 UIT_VERIFY, flags, result_buf, minsize, maxsize, test_buf); in UI_add_verify_string() 277 char *result_buf, int minsize, int maxsize, const char *test_buf) in UI_dup_verify_string() argument 292 UIT_VERIFY, flags, result_buf, minsize, maxsize, test_buf); in UI_dup_verify_string()
|
| D | ui.h | 137 char *result_buf, int minsize, int maxsize); 139 char *result_buf, int minsize, int maxsize); 141 char *result_buf, int minsize, int maxsize, const char *test_buf); 143 char *result_buf, int minsize, int maxsize, const char *test_buf);
|
| D | ui_openssl.c | 399 int maxsize = BUFSIZ-1; in read_string_inner() local 418 noecho_fgets(result,maxsize,tty_in); in read_string_inner() 422 p=fgets(result,maxsize,tty_in); in read_string_inner() 424 p=fgets(result,maxsize,tty_in); in read_string_inner()
|
| /mirbsd/src/gnu/usr.bin/binutils/opcodes/ |
| D | xtensa-dis.c | 139 int bytes_fetched, size, maxsize, i, n, noperands, nslots; in print_insn_xtensa() local 153 maxsize = xtensa_isa_maxlength (xtensa_default_isa); in print_insn_xtensa() 165 info->bytes_per_line = MAX (maxsize, 4); in print_insn_xtensa() 172 byte_buf = (bfd_byte *) xmalloc (MAX (maxsize, 4)); in print_insn_xtensa()
|
| /mirbsd/src/usr.sbin/ppp/ppp/ |
| D | alias_irc.c | 69 int maxsize /* Maximum size of IP packet including headers */ in AliasHandleIrcOut() argument 92 maxsize -= hlen; /* We're interested in maximum size of data, not packet */ in AliasHandleIrcOut() 313 iCopy = iCopy > maxsize-copyat ? maxsize-copyat : iCopy; in AliasHandleIrcOut()
|
| /mirbsd/src/bin/ls/ |
| D | ls.c | 388 u_quad_t maxsize; in display() local 411 maxsize = 0; in display() 448 if ((u_quad_t)sp->st_size > maxsize) in display() 449 maxsize = sp->st_size; in display() 523 (void)snprintf(buf, sizeof(buf), "%llu", maxsize); in display()
|
| /mirbsd/src/lib/libc/time/ |
| D | strftime.c | 130 strftime(s, maxsize, format, t) in strftime() argument 132 const size_t maxsize; 144 p = _fmt(((format == NULL) ? "%c" : format), t, s, s + maxsize, &warn); 161 if (p == s + maxsize) { 162 if (maxsize > 0) 163 s[maxsize - 1] = '\0';
|
| /mirbsd/src/lib/libc/rpc/ |
| D | xdr_array.c | 60 u_int maxsize, /* max numberof elements */ in xdr_array() argument 73 if ((c > maxsize || c > UINT_MAX/elsize) && in xdr_array()
|
| D | xdr.c | 488 xdr_bytes(XDR *xdrs, char **cpp, u_int *sizep, u_int maxsize) in xdr_bytes() argument 500 if ((nodesize > maxsize) && (xdrs->x_op != XDR_FREE)) { in xdr_bytes() 605 xdr_string(XDR *xdrs, char **cpp, u_int maxsize) in xdr_string() argument 627 if (size > maxsize) { in xdr_string()
|
| /mirbsd/src/libexec/spamd-setup/ |
| D | spamd-setup.c | 141 u_int8_t maxsize, diff; in range2cidrlist() local 145 maxsize = maxblock(start, 32); in range2cidrlist() 148 maxsize = MAX(maxsize, diff); in range2cidrlist() 157 list[cu].bits = maxsize; in range2cidrlist() 161 start = start + (1 << (32 - maxsize)); in range2cidrlist()
|
| /mirbsd/src/gnu/usr.bin/cvs/lib/ |
| D | strftime.c | 172 if ((size_t) _incr >= maxsize - i) \ 384 my_strftime (CHAR_T *s, size_t maxsize, const CHAR_T *format, in my_strftime() argument 747 add (len, my_strftime (p, maxsize - i, subfmt, in my_strftime() 928 if ((size_t) padding >= maxsize - i) in my_strftime() 938 if ((size_t) digits >= maxsize - i) in my_strftime() 1357 if (p && maxsize != 0) in my_strftime() 1370 emacs_strftimeu (char *s, size_t maxsize, const char *format, in libc_hidden_def() 1373 return my_strftime (s, maxsize, format, tp, ut, 0); in libc_hidden_def()
|
| /mirbsd/src/sys/dev/isa/ |
| D | isadma.c | 228 bus_size_t maxsize; local 236 maxsize = (1 << 17); 238 maxsize = (1 << 16); 240 if (size > maxsize) 250 return (bus_dmamap_create(sc->sc_dmat, size, 1, size, maxsize,
|
| /mirbsd/src/usr.sbin/httpd/src/modules/standard/ |
| D | mod_autoindex.c | 1309 int maxsize = desc_width; in terminate_description() local 1320 maxsize += 19; in terminate_description() 1323 maxsize += 7; in terminate_description() 1327 for (x = 0; desc[x] && ((maxsize > 0) || (desc[x] == '<')); x++) { in terminate_description() 1331 maxsize = 0; in terminate_description() 1339 --maxsize; in terminate_description() 1342 maxsize = 0; in terminate_description() 1348 --maxsize; in terminate_description() 1351 if (!maxsize && desc[x] != '\0') { in terminate_description()
|
| /mirbsd/src/usr.sbin/httpd/src/modules/ssl/ |
| D | ssl_engine_config.c | 717 int maxsize; in ssl_cmd_SSLSessionCache() local 750 maxsize = ap_mm_core_maxsegsize(); in ssl_cmd_SSLSessionCache() 751 if (mc->nSessionCacheDataSize >= maxsize) in ssl_cmd_SSLSessionCache() 753 "size has to be < %d bytes on this platform", maxsize); in ssl_cmd_SSLSessionCache() 772 maxsize = ap_mm_core_maxsegsize(); in ssl_cmd_SSLSessionCache() 773 if (mc->nSessionCacheDataSize >= maxsize) in ssl_cmd_SSLSessionCache() 775 "size has to be < %d bytes on this platform", maxsize); in ssl_cmd_SSLSessionCache()
|
| /mirbsd/src/usr.sbin/makefs/ |
| D | makefs.c | 215 fsoptions.maxsize = in main() 233 fsoptions.minsize = fsoptions.maxsize = in main()
|
| /mirbsd/src/lib/libssl/src/doc/crypto/ |
| D | ui.pod | 25 char *result_buf, int minsize, int maxsize); 27 char *result_buf, int minsize, int maxsize); 29 char *result_buf, int minsize, int maxsize, const char *test_buf); 31 char *result_buf, int minsize, int maxsize, const char *test_buf);
|
| /mirbsd/src/sbin/ping/ |
| D | ping.c | 193 int maxsize, fdmasks; in main() local 457 maxsizelen = sizeof maxsize; in main() 458 if (getsockopt(s, SOL_SOCKET, SO_SNDBUF, &maxsize, &maxsizelen) < 0) in main() 460 if (maxsize < packlen && in main() 461 setsockopt(s, SOL_SOCKET, SO_SNDBUF, &packlen, sizeof(maxsize)) < 0) in main()
|