| /freebsd-13.1/libexec/talkd/ |
| H A D | announce.c | 101 int sizes[N_LINES]; in print_mesg() local 112 sizes[i] = strlen(line_buf[i]); in print_mesg() 113 max_size = max(max_size, sizes[i]); in print_mesg() 120 sizes[i] = strlen(line_buf[i]); in print_mesg() 121 max_size = max(max_size, sizes[i]); in print_mesg() 128 sizes[i] = strlen(line_buf[i]); in print_mesg() 129 max_size = max(max_size, sizes[i]); in print_mesg() 133 sizes[i] = strlen(line_buf[i]); in print_mesg() 134 max_size = max(max_size, sizes[i]); in print_mesg() 137 sizes[i] = strlen(line_buf[i]); in print_mesg() [all …]
|
| /freebsd-13.1/contrib/netbsd-tests/lib/libc/sys/ |
| H A D | t_truncate.c | 45 static const size_t sizes[] = { 8, 16, 512, 1024, 2048, 4094, 3000, 30 }; variable 62 for (i = 0; i < __arraycount(sizes); i++) { in ATF_TC_BODY() 66 ATF_REQUIRE(ftruncate(fd, sizes[i]) == 0); in ATF_TC_BODY() 69 (void)fprintf(stderr, "truncating to %zu bytes\n", sizes[i]); in ATF_TC_BODY() 71 if (sizes[i] != (size_t)st.st_size) in ATF_TC_BODY() 122 for (i = 0; i < __arraycount(sizes); i++) { in ATF_TC_BODY() 126 ATF_REQUIRE(truncate(path, sizes[i]) == 0); in ATF_TC_BODY() 129 (void)fprintf(stderr, "truncating to %zu bytes\n", sizes[i]); in ATF_TC_BODY() 131 if (sizes[i] != (size_t)st.st_size) in ATF_TC_BODY()
|
| /freebsd-13.1/contrib/subversion/subversion/libsvn_fs_fs/ |
| H A D | revprops.c | 166 apr_array_header_t *sizes; member 906 apr_array_header_t *sizes, in serialize_revprops_header() argument 1115 || revprops->sizes->nelts == 1) in write_packed_revprop() 1134 int right = revprops->sizes->nelts - 1; in write_packed_revprop() 1158 right_count = revprops->sizes->nelts - left; in write_packed_revprop() 1348 apr_array_header_t *sizes, in svn_fs_fs__copy_revprops() argument 1439 apr_array_header_t *sizes; in svn_fs_fs__pack_revprops_shard() local 1492 if (sizes->nelts != 0 in svn_fs_fs__pack_revprops_shard() 1505 apr_array_clear(sizes); in svn_fs_fs__pack_revprops_shard() 1512 if (sizes->nelts == 0) in svn_fs_fs__pack_revprops_shard() [all …]
|
| /freebsd-13.1/sys/arm/nvidia/drm2/ |
| H A D | tegra_fb.c | 119 struct drm_fb_helper_surface_size *sizes) in tegra_fb_probe() argument 133 DRM_DEBUG_KMS("surface: %d x %d (bpp: %d)\n", sizes->surface_width, in tegra_fb_probe() 134 sizes->surface_height, sizes->surface_bpp); in tegra_fb_probe() 139 bpp = (sizes->surface_bpp + 7) / 8; in tegra_fb_probe() 143 mode_cmd.width = sizes->surface_width; in tegra_fb_probe() 144 mode_cmd.height = sizes->surface_height; in tegra_fb_probe() 145 mode_cmd.pitches[0] = roundup(sizes->surface_width * bpp, in tegra_fb_probe() 147 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in tegra_fb_probe() 148 sizes->surface_depth); in tegra_fb_probe() 178 info->fb_bpp = sizes->surface_bpp; in tegra_fb_probe()
|
| /freebsd-13.1/sys/dev/drm2/ |
| H A D | drm_fb_helper.c | 852 sizes.surface_depth = 24; in drm_fb_helper_single_fb_probe() 853 sizes.surface_bpp = 32; in drm_fb_helper_single_fb_probe() 860 sizes.surface_depth = sizes.surface_bpp = preferred_bpp; in drm_fb_helper_single_fb_probe() 872 sizes.surface_depth = sizes.surface_bpp = 8; in drm_fb_helper_single_fb_probe() 876 sizes.surface_bpp = 16; in drm_fb_helper_single_fb_probe() 879 sizes.surface_depth = sizes.surface_bpp = 16; in drm_fb_helper_single_fb_probe() 882 sizes.surface_depth = sizes.surface_bpp = 24; in drm_fb_helper_single_fb_probe() 886 sizes.surface_bpp = 32; in drm_fb_helper_single_fb_probe() 913 if (crtc_count == 0 || sizes.fb_width == -1 || sizes.fb_height == -1) { in drm_fb_helper_single_fb_probe() 917 sizes.fb_width = sizes.surface_width = 1024; in drm_fb_helper_single_fb_probe() [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/refreserv/ |
| H A D | refreserv_multi_raidz.ksh | 82 typeset -A sizes= 90 typeset -A sizes["$raid"] 101 typeset -A sizes["$raid"]["$ndisks"] 116 sizes["$raid"]["$ndisks"]["$vbs"]=$refres 162 refres1=${sizes["$raid"]["$nd1"]["$vbs"]} 163 refres2=${sizes["$raid"]["$nd2"]["$vbs"]}
|
| /freebsd-13.1/contrib/netbsd-tests/lib/libc/ |
| H A D | t_cdb.c | 139 size_t i, sizes[] = { 0, 16, 64, 1024, 2048 }; in ATF_TC_BODY() local 140 for (i = 0; i < __arraycount(sizes); ++i) { in ATF_TC_BODY() 141 init_keys(sizes[i]); in ATF_TC_BODY() 142 write_database(sizes[i]); in ATF_TC_BODY() 143 check_database(sizes[i]); in ATF_TC_BODY()
|
| /freebsd-13.1/contrib/netbsd-tests/net/in_cksum/ |
| H A D | t_in_cksum.sh | 29 sizes() { function 61 sizes 0 69 sizes 1
|
| /freebsd-13.1/libexec/tftpd/ |
| H A D | tftp-options.c | 232 int sizes[] = { in option_blksize2() local 249 for (i = 0; sizes[i] != 0; i++) { in option_blksize2() 250 if (size == sizes[i]) break; in option_blksize2() 252 if (sizes[i] == 0) { in option_blksize2() 259 for (i = 0; sizes[i+1] != 0; i++) { in option_blksize2() 260 if ((int)maxdgram < sizes[i+1]) break; in option_blksize2() 265 size = sizes[i]; in option_blksize2()
|
| /freebsd-13.1/tools/tools/crypto/ |
| H A D | cryptotest.c | 544 int sizes[128], nsizes = 0; in main() local 607 if (nsizes < nitems(sizes)) { in main() 608 sizes[nsizes++] = s; in main() 619 sizes[nsizes++] = alg->blocksize; in main() 621 sizes[nsizes++] = 8; in main() 623 while (sizes[nsizes-1] < 8*1024) { in main() 624 sizes[nsizes] = sizes[nsizes-1]<<1; in main() 635 runtests(ealg, alg, count, sizes[j], cmd, maxthreads, profile); in main() 641 runtests(ealg, alg, count, sizes[i], cmd, maxthreads, profile); in main()
|
| H A D | cryptocheck.c | 1630 run_test(alg, 0, sizes[i], 0); in run_test_sizes() 1646 sizes[j], alg->iv_sizes[k]); in run_test_sizes() 1771 if (nsizes >= nitems(sizes)) { in main() 1775 sizes[nsizes] = strtol(av[0], &cp, 0); in main() 1809 sizes[nsizes] = i; in main() 1815 sizes[nsizes] = i; in main() 1822 assert(nsizes < nitems(sizes)); in main() 1823 sizes[nsizes] = base_size; in main() 1828 assert(nsizes < nitems(sizes)); in main() 1829 sizes[nsizes] = 240 * 1024; in main() [all …]
|
| /freebsd-13.1/sys/contrib/device-tree/Bindings/usb/ |
| H A D | gr-udc.txt | 21 - epobufsizes : Array of buffer sizes for OUT endpoints when they differ 24 each OUT endpoint of the core. Fewer entries overrides the default sizes 27 - epibufsizes : Array of buffer sizes for IN endpoints when they differ 30 each IN endpoint of the core. Fewer entries overrides the default sizes
|
| /freebsd-13.1/sys/contrib/device-tree/Bindings/dma/ |
| H A D | fsl-qdma.txt | 26 - status-sizes: status queue size of per virtual block 27 - queue-sizes: command queue size of per virtual block, the size number 53 status-sizes = <64>; 54 queue-sizes = <64 64>;
|
| /freebsd-13.1/cddl/contrib/opensolaris/tools/ctf/cvt/ |
| H A D | ctfmerge.c | 240 int sizes; in bigheap() local 246 if ((sizes = getpagesizes(NULL, 0)) == -1) in bigheap() 249 if (sizes == 1 || (size = alloca(sizeof (size_t) * sizes)) == NULL) in bigheap() 252 if (getpagesizes(size, sizes) == -1) in bigheap() 255 while (size[sizes - 1] > maxpgsize) in bigheap() 256 sizes--; in bigheap() 259 big = size[sizes - 1]; in bigheap()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | wrappers_c.inc | 217 auto *sizes = static_cast<scudo::uptr *>( 220 auto *sizes = reinterpret_cast<scudo::uptr *>(arg); 222 sizes[size]++; 224 SCUDO_ALLOCATOR.iterateOverChunks(0, -1ul, callback, sizes); 228 if (sizes[i]) 229 fprintf(stream, "<alloc size=\"%lu\" count=\"%lu\"/>\n", i, sizes[i]); 231 SCUDO_PREFIX(free)(sizes);
|
| /freebsd-13.1/usr.sbin/vidcontrol/ |
| H A D | vidcontrol.c | 488 } sizes[] = {{8, 16, PIO_FONT8x16}, in load_font() local 520 for (i = 0; sizes[i].w != 0; i++) { in load_font() 521 if (sizes[i].w == w && sizes[i].h == h) { in load_font() 522 size = DATASIZE(sizes[i]); in load_font() 523 io = sizes[i].io; in load_font() 524 font_height = sizes[i].h; in load_font() 539 size = DATASIZE(sizes[0]); in load_font() 547 for (i = 0; sizes[i].w != 0; i++) { in load_font() 548 if (DATASIZE(sizes[i]) == dsize[j]) { in load_font() 550 io = sizes[i].io; in load_font() [all …]
|
| /freebsd-13.1/sys/contrib/device-tree/Bindings/mtd/partitions/ |
| H A D | brcm,bcm963xx-imagetag.txt | 5 partitions or non standard bootloader partition sizes. For these a mixed layout 9 sizes of the rootfs and kernel parts contained in the firmware.
|
| /freebsd-13.1/contrib/elftoolchain/libelf/ |
| H A D | libelf_fsize.m4 | 36 * Create an array of file sizes from the elf_type definitions 65 * FSZ{32,64} define the sizes of 32 and 64 bit file structures respectively. 87 * sizes. 94 * compute an expression that adds up the sizes of the structure's
|
| /freebsd-13.1/sys/netpfil/ipfilter/netinet/ |
| H A D | ip_log.c | 351 size_t sizes[2]; in ipf_log_pkt() local 480 sizes[0] = sizeof(ipfl); in ipf_log_pkt() 488 sizes[1] = hlen + mlen; in ipf_log_pkt() 492 sizes[1] = hlen + mlen; in ipf_log_pkt() 497 sizes[1] = hlen + mlen; in ipf_log_pkt() 500 return (ipf_log_items(softc, IPL_LOGIPF, fin, ptrs, sizes, types, 2)); in ipf_log_pkt()
|
| /freebsd-13.1/usr.bin/tftp/ |
| H A D | main.c | 1022 int sizes[] = { in setblocksize2() local 1034 for (i = 0; sizes[i] != 0; i++) { in setblocksize2() 1035 if (sizes[i] == size) break; in setblocksize2() 1037 if (sizes[i] == 0) { in setblocksize2() 1051 for (i = 0; sizes[i+1] != 0; i++) { in setblocksize2() 1052 if ((int)maxdgram < sizes[i+1]) break; in setblocksize2() 1055 "%d", sizes[i]); in setblocksize2()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ExternalASTSource.h | 289 MemoryBufferSizes sizes(0, 0); in getMemoryBufferSizes() 290 getMemoryBufferSizes(sizes); in getMemoryBufferSizes() 291 return sizes; in getMemoryBufferSizes() 294 virtual void getMemoryBufferSizes(MemoryBufferSizes &sizes) const;
|
| /freebsd-13.1/contrib/xz/src/liblzma/common/ |
| H A D | index_hash.c | 135 const lzma_vli sizes[2] = { unpadded_size, uncompressed_size }; in hash_append() local 137 (const uint8_t *)(sizes), sizeof(sizes)); in hash_append()
|
| /freebsd-13.1/contrib/subversion/subversion/libsvn_fs_x/ |
| H A D | revprops.c | 1513 apr_array_header_t *sizes, in copy_revprops() argument 1583 apr_array_header_t *sizes; in svn_fs_x__pack_revprops_shard() local 1617 sizes = apr_array_make(scratch_pool, max_files_per_dir, sizeof(apr_size_t)); in svn_fs_x__pack_revprops_shard() 1638 if (sizes->nelts != 0 in svn_fs_x__pack_revprops_shard() 1645 sizes, (apr_size_t)total_size, in svn_fs_x__pack_revprops_shard() 1650 apr_array_clear(sizes); in svn_fs_x__pack_revprops_shard() 1657 if (sizes->nelts == 0) in svn_fs_x__pack_revprops_shard() 1667 APR_ARRAY_PUSH(sizes, apr_size_t) = finfo.size; in svn_fs_x__pack_revprops_shard() 1672 if (sizes->nelts != 0) in svn_fs_x__pack_revprops_shard() 1674 start_rev, rev-1, sizes, in svn_fs_x__pack_revprops_shard()
|
| /freebsd-13.1/contrib/libevent/test/ |
| H A D | regress_iocp.c | 118 ev_ssize_t sizes[MAX_CALLS]; member 130 d_o->sizes[d_o->call_count] = n; in dummy_cb() 145 if (o->keys[i] == key && o->sizes[i] == n) { in pair_is_in()
|
| /freebsd-13.1/contrib/ntp/sntp/libevent/test/ |
| H A D | regress_iocp.c | 118 ev_ssize_t sizes[MAX_CALLS]; member 130 d_o->sizes[d_o->call_count] = n; in dummy_cb() 145 if (o->keys[i] == key && o->sizes[i] == n) { in pair_is_in()
|