/dragonfly/usr.bin/xargs/ |
H A D | strnsubst.c | 34 strnsubst(char **str, const char *match, const char *replstr, size_t maxsize) in strnsubst() argument 50 if (maxsize == 0) { in strnsubst() 52 maxsize = strlen(s1) + 1; in strnsubst() 54 s2 = calloc(1, maxsize); in strnsubst() 61 if (match == NULL || replstr == NULL || maxsize == strlen(s1)) { in strnsubst() 62 strlcpy(s2, s1, maxsize); in strnsubst() 71 strlen(match) + 1) > maxsize) { in strnsubst() 72 strlcat(s2, s1, maxsize); in strnsubst()
|
/dragonfly/lib/libc/locale/ |
H A D | wcsftime.c | 56 wcsftime_l(wchar_t * __restrict wcs, size_t maxsize, in wcsftime_l() argument 91 if (SIZE_T_MAX / MB_CUR_MAX <= maxsize) { in wcsftime_l() 96 if ((dst = malloc(maxsize * MB_CUR_MAX)) == NULL) in wcsftime_l() 98 if (strftime_l(dst, maxsize, sformat, timeptr, locale) == 0) in wcsftime_l() 102 n = mbsrtowcs_l(wcs, &dstp, maxsize, &mbs, locale); in wcsftime_l() 118 wcsftime(wchar_t * __restrict wcs, size_t maxsize, in wcsftime() argument 121 return wcsftime_l(wcs, maxsize, format, timeptr, __get_locale()); in wcsftime()
|
/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | tree-dfa.c | 743 maxsize = bitsize; in get_ref_base_and_extent() 797 maxsize = -1; in get_ref_base_and_extent() 807 if (maxsize != -1 in get_ref_base_and_extent() 814 maxsize = -1; in get_ref_base_and_extent() 856 if (maxsize != -1 in get_ref_base_and_extent() 863 maxsize = -1; in get_ref_base_and_extent() 891 maxsize = -1; in get_ref_base_and_extent() 907 && maxsize != -1 in get_ref_base_and_extent() 913 maxsize = -1; in get_ref_base_and_extent() 946 && maxsize != -1 in get_ref_base_and_extent() [all …]
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | tree-dfa.c | 386 poly_offset_int maxsize; in get_ref_base_and_extent() local 413 maxsize = bitsize; in get_ref_base_and_extent() 456 maxsize = -1; in get_ref_base_and_extent() 464 maxsize += tem; in get_ref_base_and_extent() 480 if (known_size_p (maxsize) in get_ref_base_and_extent() 485 maxsize = -1; in get_ref_base_and_extent() 522 if (known_size_p (maxsize) in get_ref_base_and_extent() 527 maxsize = -1; in get_ref_base_and_extent() 554 maxsize = -1; in get_ref_base_and_extent() 576 maxsize = -1; in get_ref_base_and_extent() [all …]
|
/dragonfly/contrib/binutils-2.27/libiberty/ |
H A D | spaces.c | 52 static int maxsize; in spaces() local 54 if (count > maxsize) in spaces() 64 maxsize = count; in spaces() 67 return (const char *) (buf + maxsize - count); in spaces()
|
/dragonfly/contrib/binutils-2.34/libiberty/ |
H A D | spaces.c | 52 static int maxsize; in spaces() local 54 if (count > maxsize) in spaces() 64 maxsize = count; in spaces() 67 return (const char *) (buf + maxsize - count); in spaces()
|
/dragonfly/contrib/gcc-8.0/libiberty/ |
H A D | spaces.c | 52 static int maxsize; in spaces() local 54 if (count > maxsize) in spaces() 64 maxsize = count; in spaces() 67 return (const char *) (buf + maxsize - count); in spaces()
|
/dragonfly/contrib/gcc-4.7/libiberty/ |
H A D | spaces.c | 52 static int maxsize; in spaces() local 54 if (count > maxsize) in spaces() 64 maxsize = count; in spaces() 67 return (const char *) (buf + maxsize - count); in spaces()
|
/dragonfly/crypto/libressl/crypto/asn1/ |
H A D | a_strnid.c | 161 tbl->minsize, tbl->maxsize); in ASN1_STRING_set_by_NID() 291 rv->maxsize = tmp->maxsize; in stable_get() 297 rv->maxsize = -1; in stable_get() 304 ASN1_STRING_TABLE_add(int nid, long minsize, long maxsize, unsigned long mask, in ASN1_STRING_TABLE_add() argument 315 if (maxsize >= 0) in ASN1_STRING_TABLE_add() 316 tmp->maxsize = maxsize; in ASN1_STRING_TABLE_add()
|
H A D | a_mbstr.c | 96 int inform, unsigned long mask, long minsize, long maxsize) in ASN1_mbstring_ncopy() argument 155 if ((maxsize > 0) && (nchar > maxsize)) { in ASN1_mbstring_ncopy() 157 ERR_asprintf_error_data("maxsize=%ld", maxsize); in ASN1_mbstring_ncopy()
|
/dragonfly/sys/platform/vkernel64/platform/ |
H A D | busdma_machdep.c | 60 bus_size_t maxsize; member 79 ((dmat)->maxsize <= PAGE_SIZE && \ 219 newtag->maxsize = maxsize; in bus_dma_tag_create() 397 bus_size_t maxsize = 0; in check_kmalloc() local 404 maxsize = dmat->maxsize; in check_kmalloc() 410 if (dmat->maxsize < dmat->alignment) in check_kmalloc() 411 maxsize = dmat->alignment; in check_kmalloc() 413 maxsize = dmat->maxsize; in check_kmalloc() 415 return maxsize; in check_kmalloc() 448 bus_size_t maxsize; in bus_dmamem_alloc() local [all …]
|
/dragonfly/sys/platform/pc64/x86_64/ |
H A D | busdma_machdep.c | 69 bus_size_t maxsize; member 89 ((dmat)->maxsize <= PAGE_SIZE && \ 260 newtag->maxsize = maxsize; in bus_dma_tag_create() 351 return(tag->maxsize); in bus_dma_tag_getmaxsize() 454 bus_size_t maxsize = 0; in check_kmalloc() local 460 maxsize = dmat->maxsize; in check_kmalloc() 466 maxsize = dmat->alignment; in check_kmalloc() 468 maxsize = dmat->maxsize; in check_kmalloc() 470 return maxsize; in check_kmalloc() 509 bus_size_t maxsize; in bus_dmamem_alloc() local [all …]
|
/dragonfly/lib/libc/stdlib/ |
H A D | strfmon.c | 58 if (dst >= s + maxsize) \ 100 vstrfmon_l(char * __restrict s, size_t maxsize, locale_t loc, in vstrfmon_l() argument 197 if ((unsigned int)width >= maxsize - (dst - s)) in vstrfmon_l() 206 if ((unsigned int)left_prec >= maxsize - (dst - s)) in vstrfmon_l() 215 if ((unsigned int)right_prec >= maxsize - (dst - s) - in vstrfmon_l() 407 strfmon_l(char * __restrict s, size_t maxsize, locale_t loc, const char * __restrict format, in strfmon_l() argument 413 ret = vstrfmon_l(s, maxsize, loc, format, ap); in strfmon_l() 419 strfmon(char * __restrict s, size_t maxsize, const char * __restrict format, in strfmon() argument 425 ret = vstrfmon_l(s, maxsize, __get_locale(), format, ap); in strfmon()
|
/dragonfly/contrib/gmp/mpf/ |
H A D | eq.c | 29 mp_size_t usize, vsize, minsize, maxsize, n_limbs, i, size; in mpf_eq() local 91 maxsize = usize + vsize - minsize; in mpf_eq() 103 n_bits -= (maxsize - 1) * GMP_NUMB_BITS; in mpf_eq() 105 size = maxsize - minsize; in mpf_eq()
|
/dragonfly/sys/kern/ |
H A D | subr_busdma.c | 57 bus_size_t maxsize, int flags, in bus_dmamem_coherent() argument 66 maxsize, 1, maxsize, 0, in bus_dmamem_coherent() 80 dmem->dmem_addr, maxsize, in bus_dmamem_coherent()
|
/dragonfly/sys/dev/sound/pcm/ |
H A D | buffer.c | 97 b->maxsize = size; in sndbuf_alloc() 98 b->bufsize = b->maxsize; in sndbuf_alloc() 106 if (bus_dmamap_load(b->dmatag, b->dmamap, b->buf, b->maxsize, in sndbuf_alloc() 112 ret = sndbuf_resize(b, 2, b->maxsize / 2); in sndbuf_alloc() 126 b->maxsize = size; in sndbuf_setup() 127 b->bufsize = b->maxsize; in sndbuf_setup() 128 return sndbuf_resize(b, 2, b->maxsize / 2); in sndbuf_setup() 167 if (b->maxsize == 0) in sndbuf_resize() 173 if (blkcnt < 2 || blksz < 16 || (blkcnt * blksz) > b->maxsize) { in sndbuf_resize() 249 b->maxsize = bufsize; in sndbuf_remalloc() [all …]
|
/dragonfly/crypto/libressl/crypto/ui/ |
H A D | ui_lib.c | 177 int maxsize, const char *test_buf) in general_allocate_string() argument 186 s->_.string_data.result_maxsize = maxsize; in general_allocate_string() 263 int minsize, int maxsize) in UI_add_input_string() argument 266 result_buf, minsize, maxsize, NULL); in UI_add_input_string() 272 int minsize, int maxsize) in UI_dup_input_string() argument 275 result_buf, minsize, maxsize, NULL); in UI_dup_input_string() 280 int minsize, int maxsize, const char *test_buf) in UI_add_verify_string() argument 283 result_buf, minsize, maxsize, test_buf); in UI_add_verify_string() 288 char *result_buf, int minsize, int maxsize, const char *test_buf) in UI_dup_verify_string() argument 291 result_buf, minsize, maxsize, test_buf); in UI_dup_verify_string()
|
/dragonfly/sys/vm/ |
H A D | vnode_pager.c | 683 int maxsize, ncount, count; in vnode_pager_generic_putpages() local 702 maxsize = count * PAGE_SIZE; in vnode_pager_generic_putpages() 724 if (poffset + maxsize > vp->v_filesize) { in vnode_pager_generic_putpages() 726 maxsize = vp->v_filesize - poffset; in vnode_pager_generic_putpages() 727 ncount = btoc(maxsize); in vnode_pager_generic_putpages() 729 maxsize = 0; in vnode_pager_generic_putpages() 755 aiov.iov_len = maxsize; in vnode_pager_generic_putpages() 761 auio.uio_resid = maxsize; in vnode_pager_generic_putpages()
|
/dragonfly/bin/ls/ |
H A D | ls.c | 543 off_t maxsize; in display() local 565 maxuser = maxgroup = maxflags = maxsize = 0; in display() 595 &maxgroup, &maxflags, &maxsize, &maxlen); in display() 617 maxsize = 0; in display() 633 MAKENINES(maxsize); in display() 679 if (sp->st_size > maxsize) in display() 680 maxsize = sp->st_size; in display() 761 snprintf(buf, sizeof(buf), "%jd", (intmax_t)maxsize); in display()
|
/dragonfly/sbin/vinum/ |
H A D | commands.c | 1691 off_t maxsize; in vinum_stripe() local 1702 maxsize = QUAD_MAX; in vinum_stripe() 1735 maxsize = min(maxsize, bigchunk); /* this is as much as we can do */ in vinum_stripe() 1788 (long long) maxsize); in vinum_stripe() 1839 off_t maxsize; in vinum_raid4() local 1850 maxsize = QUAD_MAX; in vinum_raid4() 1883 maxsize = min(maxsize, bigchunk); /* this is as much as we can do */ in vinum_raid4() 1936 (long long) maxsize); in vinum_raid4() 1987 off_t maxsize; in vinum_raid5() local 2031 maxsize = min(maxsize, bigchunk); /* this is as much as we can do */ in vinum_raid5() [all …]
|
/dragonfly/crypto/libressl/include/openssl/ |
H A D | ui.h | 136 char *result_buf, int minsize, int maxsize); 138 char *result_buf, int minsize, int maxsize); 140 char *result_buf, int minsize, int maxsize, const char *test_buf); 142 char *result_buf, int minsize, int maxsize, const char *test_buf);
|
/dragonfly/lib/libalias/ |
H A D | alias_irc.c | 70 int maxsize /* Maximum size of IP packet including headers */ in AliasHandleIrcOut() argument 93 maxsize -= hlen; /* We're interested in maximum size of data, not packet */ in AliasHandleIrcOut() 299 iCopy = iCopy > maxsize-copyat ? maxsize-copyat : iCopy; in AliasHandleIrcOut()
|
/dragonfly/sys/sys/ |
H A D | bus_dma.h | 176 bus_addr_t highaddr, bus_size_t maxsize, int nsegments, 283 bus_size_t maxsize, int flags, 297 bus_size_t maxsize, int flags,
|
/dragonfly/lib/libc/stdtime/ |
H A D | strftime.c | 78 strftime_l(char * __restrict s, size_t maxsize, const char * __restrict format, in strftime_l() argument 87 p = _fmt(((format == NULL) ? "%c" : format), t, s, s + maxsize, &warn, loc); in strftime_l() 104 if (p == s + maxsize) in strftime_l() 111 strftime(char * __restrict s, size_t maxsize, const char * __restrict format, in strftime() argument 114 return strftime_l(s, maxsize, format, t, __get_locale()); in strftime()
|
/dragonfly/lib/libc/xdr/ |
H A D | xdr_array.c | 70 xdr_array(XDR *xdrs, caddr_t *addrp, u_int *sizep, u_int maxsize, u_int elsize, in xdr_array() argument 84 if ((c > maxsize || UINT_MAX/elsize < c) && in xdr_array()
|