| /freebsd-14-stable/libexec/talkd/ |
| HD | announce.c | 99 int sizes[N_LINES]; in print_mesg() local 110 sizes[i] = strlen(line_buf[i]); in print_mesg() 111 max_size = max(max_size, sizes[i]); in print_mesg() 118 sizes[i] = strlen(line_buf[i]); in print_mesg() 119 max_size = max(max_size, sizes[i]); in print_mesg() 126 sizes[i] = strlen(line_buf[i]); in print_mesg() 127 max_size = max(max_size, sizes[i]); in print_mesg() 131 sizes[i] = strlen(line_buf[i]); in print_mesg() 132 max_size = max(max_size, sizes[i]); in print_mesg() 135 sizes[i] = strlen(line_buf[i]); in print_mesg() [all …]
|
| /freebsd-14-stable/contrib/netbsd-tests/lib/libc/sys/ |
| HD | 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-14-stable/tests/sys/kern/ |
| HD | socket_msg_trunc.c | 44 check_recvmsg(int cs, int ss, struct sockaddr *sa, const size_t sizes[], in check_recvmsg() argument 52 size_t sz = sizes[i]; in check_recvmsg() 98 size_t sizes[] = {80, 255, 256, 1024, 4096, 9000}; in ATF_TC_BODY() local 99 check_recvmsg(cs, ss, sa, sizes, nitems(sizes)); in ATF_TC_BODY() 125 size_t sizes[] = {80, 255, 256, 1024, 4096, 9000}; in ATF_TC_BODY() local 126 check_recvmsg(cs, ss, sa, sizes, nitems(sizes)); in ATF_TC_BODY() 150 size_t sizes[] = {80, 255, 256, 1024, 2000}; in ATF_TC_BODY() local 151 check_recvmsg(cs, ss, sa, sizes, nitems(sizes)); in ATF_TC_BODY() 181 size_t sizes[] = {80, 255, 256, 1024, 2000}; in ATF_TC_BODY() local 182 check_recvmsg(cs, nss, sa, sizes, nitems(sizes)); in ATF_TC_BODY()
|
| /freebsd-14-stable/sys/arm/nvidia/drm2/ |
| HD | tegra_fb.c | 117 struct drm_fb_helper_surface_size *sizes) in tegra_fb_probe() argument 131 DRM_DEBUG_KMS("surface: %d x %d (bpp: %d)\n", sizes->surface_width, in tegra_fb_probe() 132 sizes->surface_height, sizes->surface_bpp); in tegra_fb_probe() 137 bpp = (sizes->surface_bpp + 7) / 8; in tegra_fb_probe() 141 mode_cmd.width = sizes->surface_width; in tegra_fb_probe() 142 mode_cmd.height = sizes->surface_height; in tegra_fb_probe() 143 mode_cmd.pitches[0] = roundup(sizes->surface_width * bpp, in tegra_fb_probe() 145 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in tegra_fb_probe() 146 sizes->surface_depth); in tegra_fb_probe() 176 info->fb_bpp = sizes->surface_bpp; in tegra_fb_probe()
|
| /freebsd-14-stable/sys/dev/drm2/ |
| HD | drm_fb_helper.c | 840 struct drm_fb_helper_surface_size sizes; in drm_fb_helper_single_fb_probe() local 849 memset(&sizes, 0, sizeof(struct drm_fb_helper_surface_size)); in drm_fb_helper_single_fb_probe() 850 sizes.surface_depth = 24; in drm_fb_helper_single_fb_probe() 851 sizes.surface_bpp = 32; in drm_fb_helper_single_fb_probe() 852 sizes.fb_width = (unsigned)-1; in drm_fb_helper_single_fb_probe() 853 sizes.fb_height = (unsigned)-1; in drm_fb_helper_single_fb_probe() 857 if (preferred_bpp != sizes.surface_bpp) in drm_fb_helper_single_fb_probe() 858 sizes.surface_depth = sizes.surface_bpp = preferred_bpp; in drm_fb_helper_single_fb_probe() 870 sizes.surface_depth = sizes.surface_bpp = 8; in drm_fb_helper_single_fb_probe() 873 sizes.surface_depth = 15; in drm_fb_helper_single_fb_probe() [all …]
|
| /freebsd-14-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/refreserv/ |
| HD | 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-14-stable/contrib/netbsd-tests/lib/libc/ |
| HD | 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-14-stable/contrib/netbsd-tests/net/in_cksum/ |
| HD | t_in_cksum.sh | 29 sizes() { function 61 sizes 0 69 sizes 1
|
| /freebsd-14-stable/libexec/tftpd/ |
| HD | tftp-options.c | 284 int sizes[] = { in option_blksize2() local 301 for (i = 0; sizes[i] != 0; i++) { in option_blksize2() 302 if (size == sizes[i]) break; in option_blksize2() 304 if (sizes[i] == 0) { in option_blksize2() 311 for (i = 0; sizes[i+1] != 0; i++) { in option_blksize2() 312 if ((int)maxdgram < sizes[i+1]) break; in option_blksize2() 317 size = sizes[i]; in option_blksize2()
|
| /freebsd-14-stable/contrib/spleen/ |
| HD | ChangeLog | 47 - Add a 'fon' target to generate FON files for all sizes using FontForge 70 - Add an 'otb' target to generate OTB files for all sizes using fonttosfnt 80 - Set WEIGHT_NAME property to "Medium" for all sizes 82 - Enlarge vertical line for consistency with other small sizes (5x8 version) 107 - Center tilde vertically for all sizes, as modern fonts do 132 sizes (5x8 version) 143 - Add "Black Diamond" and "Lozenge" characters for all sizes 144 - Add "Black Heart Suit" and "Black Diamond Suit" characters for all sizes 154 - Add the FONT_VERSION XFLD property for all BDF sizes 155 - Generate OpenType (OTF) versions for the 8x16, 12x24, 16x32 and 32x64 sizes [all …]
|
| /freebsd-14-stable/tools/tools/crypto/ |
| HD | cryptotest.c | 542 int sizes[128], nsizes = 0; in main() local 605 if (nsizes < nitems(sizes)) { in main() 606 sizes[nsizes++] = s; in main() 617 sizes[nsizes++] = alg->blocksize; in main() 619 sizes[nsizes++] = 8; in main() 621 while (sizes[nsizes-1] < 8*1024) { in main() 622 sizes[nsizes] = sizes[nsizes-1]<<1; in main() 633 runtests(ealg, alg, count, sizes[j], cmd, maxthreads, profile); in main() 639 runtests(ealg, alg, count, sizes[i], cmd, maxthreads, profile); in main()
|
| HD | cryptocheck.c | 262 static size_t aad_sizes[48], sizes[EALG_MAX_BLOCK_LEN * 2]; variable 1768 run_test(alg, 0, sizes[i], 0); in run_test_sizes() 1773 run_test(alg, aad_sizes[i], sizes[j], 0); in run_test_sizes() 1779 run_test(alg, aad_sizes[i], sizes[j], in run_test_sizes() 1784 sizes[j], alg->iv_sizes[k]); in run_test_sizes() 1786 run_test(alg, aad_sizes[i], sizes[j], in run_test_sizes() 1922 if (nsizes >= nitems(sizes)) { in main() 1926 sizes[nsizes] = strtol(av[0], &cp, 0); in main() 1960 sizes[nsizes] = i; in main() 1966 sizes[nsizes] = i; in main() [all …]
|
| HD | README | 12 algorithms over a variety of buffer sizes. The 1024 says to do 14 more buffer sizes to use in doing tests.
|
| /freebsd-14-stable/sys/contrib/device-tree/Bindings/usb/ |
| HD | 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-14-stable/sys/contrib/device-tree/Bindings/dma/ |
| HD | 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-14-stable/usr.sbin/vidcontrol/ |
| HD | vidcontrol.c | 483 } sizes[] = {{8, 16, PIO_FONT8x16}, in load_font() local 515 for (i = 0; sizes[i].w != 0; i++) { in load_font() 516 if (sizes[i].w == w && sizes[i].h == h) { in load_font() 517 size = DATASIZE(sizes[i]); in load_font() 518 io = sizes[i].io; in load_font() 519 font_height = sizes[i].h; in load_font() 534 size = DATASIZE(sizes[0]); in load_font() 542 for (i = 0; sizes[i].w != 0; i++) { in load_font() 543 if (DATASIZE(sizes[i]) == dsize[j]) { in load_font() 545 io = sizes[i].io; in load_font() [all …]
|
| /freebsd-14-stable/sys/contrib/device-tree/Bindings/mtd/partitions/ |
| 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-14-stable/contrib/elftoolchain/libelf/ |
| HD | 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-14-stable/usr.bin/tftp/ |
| HD | main.c | 1027 int sizes[] = { in setblocksize2() local 1039 for (i = 0; sizes[i] != 0; i++) { in setblocksize2() 1040 if (sizes[i] == size) break; in setblocksize2() 1042 if (sizes[i] == 0) { in setblocksize2() 1056 for (i = 0; sizes[i+1] != 0; i++) { in setblocksize2() 1057 if ((int)maxdgram < sizes[i+1]) break; in setblocksize2() 1059 options_set_request(OPT_BLKSIZE2, "%d", sizes[i]); in setblocksize2()
|
| /freebsd-14-stable/sys/netpfil/ipfilter/netinet/ |
| HD | ip_log.c | 338 size_t sizes[2]; in ipf_log_pkt() local 467 sizes[0] = sizeof(ipfl); in ipf_log_pkt() 475 sizes[1] = hlen + mlen; in ipf_log_pkt() 479 sizes[1] = hlen + mlen; in ipf_log_pkt() 484 sizes[1] = hlen + mlen; in ipf_log_pkt() 487 return (ipf_log_items(softc, IPL_LOGIPF, fin, ptrs, sizes, types, 2)); in ipf_log_pkt()
|
| /freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| HD | wrappers_c.inc | 320 auto *sizes = static_cast<scudo::uptr *>( 323 auto *sizes = reinterpret_cast<scudo::uptr *>(arg); 325 sizes[size]++; 329 SCUDO_ALLOCATOR.iterateOverChunks(0, -1ul, callback, sizes); 334 if (sizes[i]) 335 fprintf(stream, "<alloc size=\"%zu\" count=\"%zu\"/>\n", i, sizes[i]); 337 SCUDO_PREFIX(free)(sizes);
|
| /freebsd-14-stable/contrib/xz/src/liblzma/common/ |
| HD | index_hash.c | 134 const lzma_vli sizes[2] = { unpadded_size, uncompressed_size }; in hash_append() local 136 (const uint8_t *)(sizes), sizeof(sizes)); in hash_append()
|
| /freebsd-14-stable/contrib/llvm-project/clang/include/clang/AST/ |
| HD | ExternalASTSource.h | 291 MemoryBufferSizes sizes(0, 0); in getMemoryBufferSizes() 292 getMemoryBufferSizes(sizes); in getMemoryBufferSizes() 293 return sizes; in getMemoryBufferSizes() 296 virtual void getMemoryBufferSizes(MemoryBufferSizes &sizes) const;
|
| /freebsd-14-stable/contrib/ntp/sntp/libevent/test/ |
| HD | 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-14-stable/contrib/libevent/test/ |
| HD | 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()
|