/freebsd/libexec/talkd/ |
H A D | announce.c | 93 int sizes[N_LINES]; in print_mesg() local 104 sizes[i] = strlen(line_buf[i]); in print_mesg() 105 max_size = max(max_size, sizes[i]); in print_mesg() 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() 125 sizes[i] = strlen(line_buf[i]); in print_mesg() 126 max_size = max(max_size, sizes[i]); in print_mesg() 129 sizes[i] = strlen(line_buf[i]); in print_mesg() [all …]
|
/freebsd/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/tests/sys/kern/ |
H A D | 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() 100 size_t sizes[] = {80, 255, 256, 1024, 4096, 9000}; in ATF_TC_BODY() local 101 check_recvmsg(cs, ss, sa, sizes, nitems(sizes)); in ATF_TC_BODY() 127 size_t sizes[] = {80, 255, 256, 1024, 4096, 9000}; in ATF_TC_BODY() local 128 check_recvmsg(cs, ss, sa, sizes, nitems(sizes)); in ATF_TC_BODY() 152 size_t sizes[] = {80, 255, 256, 1024, 2000}; in ATF_TC_BODY() local 153 check_recvmsg(cs, ss, sa, sizes, nitems(sizes)); in ATF_TC_BODY()
|
/freebsd/sys/arm/nvidia/drm2/ |
H A D | tegra_fb.c | 116 struct drm_fb_helper_surface_size *sizes) in tegra_fb_probe() argument 130 DRM_DEBUG_KMS("surface: %d x %d (bpp: %d)\n", sizes->surface_width, in tegra_fb_probe() 131 sizes->surface_height, sizes->surface_bpp); in tegra_fb_probe() 136 bpp = (sizes->surface_bpp + 7) / 8; in tegra_fb_probe() 140 mode_cmd.width = sizes->surface_width; in tegra_fb_probe() 141 mode_cmd.height = sizes->surface_height; in tegra_fb_probe() 142 mode_cmd.pitches[0] = roundup(sizes->surface_width * bpp, in tegra_fb_probe() 144 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in tegra_fb_probe() 145 sizes->surface_depth); in tegra_fb_probe() 175 info->fb_bpp = sizes->surface_bpp; in tegra_fb_probe()
|
/freebsd/sys/dev/drm2/ |
H A D | 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/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/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/contrib/netbsd-tests/net/in_cksum/ |
H A D | t_in_cksum.sh | 29 sizes() { function 61 sizes 0 69 sizes 1
|
/freebsd/libexec/tftpd/ |
H A D | tftp-options.c | 283 int sizes[] = { in option_blksize2() local 300 for (i = 0; sizes[i] != 0; i++) { in option_blksize2() 301 if (size == sizes[i]) break; in option_blksize2() 303 if (sizes[i] == 0) { in option_blksize2() 310 for (i = 0; sizes[i+1] != 0; i++) { in option_blksize2() 311 if ((int)maxdgram < sizes[i+1]) break; in option_blksize2() 316 size = sizes[i]; in option_blksize2()
|
/freebsd/contrib/spleen/ |
H A D | 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/tools/tools/crypto/ |
H A D | 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()
|
H A D | 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 …]
|
/freebsd/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/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/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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/crypto/ |
H A D | aes_gcm_test.txt | 753 comment: small IV sizes 764 comment: small IV sizes 3041 comment: small IV sizes 3052 comment: small IV sizes 3063 comment: small IV sizes 3074 comment: small IV sizes 3085 comment: small IV sizes 3096 comment: small IV sizes 3107 comment: small IV sizes 3118 comment: small IV sizes [all …]
|
/freebsd/usr.sbin/vidcontrol/ |
H A D | 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/contrib/arm-optimized-routines/networking/test/ |
H A D | chksum.c | 366 static const uint16_t sizes[] = in main() local 368 for (int i = 0; sizes[i] != 0; i++) in main() 370 uint32_t numops = NUMOPS * 10000 / (40 + sizes[i]); in main() 371 benchmark(base, POOLSIZE, sizes[i], numops, CPUFREQ); in main()
|
/freebsd/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/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/usr.bin/tftp/ |
H A D | main.c | 1014 int sizes[] = { in setblocksize2() local 1026 for (i = 0; sizes[i] != 0; i++) { in setblocksize2() 1027 if (sizes[i] == size) break; in setblocksize2() 1029 if (sizes[i] == 0) { in setblocksize2() 1043 for (i = 0; sizes[i+1] != 0; i++) { in setblocksize2() 1044 if ((int)maxdgram < sizes[i+1]) break; in setblocksize2() 1046 options_set_request(OPT_BLKSIZE2, "%d", sizes[i]); in setblocksize2()
|
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | 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/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | 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/contrib/llvm-project/clang/include/clang/AST/ |
H A D | 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/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()
|