Home
last modified time | relevance | path

Searched refs:sizes (Results 1 – 25 of 234) sorted by relevance

12345678910

/freebsd-14.2/libexec/talkd/
H A Dannounce.c99 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.2/contrib/netbsd-tests/lib/libc/sys/
H A Dt_truncate.c45 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.2/tests/sys/kern/
H A Dsocket_msg_trunc.c44 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.2/sys/arm/nvidia/drm2/
H A Dtegra_fb.c117 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.2/sys/dev/drm2/
H A Ddrm_fb_helper.c850 sizes.surface_depth = 24; in drm_fb_helper_single_fb_probe()
851 sizes.surface_bpp = 32; 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()
874 sizes.surface_bpp = 16; in drm_fb_helper_single_fb_probe()
877 sizes.surface_depth = sizes.surface_bpp = 16; in drm_fb_helper_single_fb_probe()
880 sizes.surface_depth = sizes.surface_bpp = 24; in drm_fb_helper_single_fb_probe()
884 sizes.surface_bpp = 32; in drm_fb_helper_single_fb_probe()
911 if (crtc_count == 0 || sizes.fb_width == -1 || sizes.fb_height == -1) { in drm_fb_helper_single_fb_probe()
915 sizes.fb_width = sizes.surface_width = 1024; in drm_fb_helper_single_fb_probe()
[all …]
/freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/refreserv/
H A Drefreserv_multi_raidz.ksh82 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.2/contrib/netbsd-tests/lib/libc/
H A Dt_cdb.c139 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.2/contrib/spleen/
H A DChangeLog16 - Add a 'fon' target to generate FON files for all sizes using FontForge
49 - Set WEIGHT_NAME property to "Medium" for all sizes
76 - Center tilde vertically for all sizes, as modern fonts do
101 sizes (5x8 version)
112 - Add "Black Diamond" and "Lozenge" characters for all sizes
123 - Add the FONT_VERSION XFLD property for all BDF sizes
143 - Tweak the digit '7' for consistency with other sizes (5x8 version)
145 case with other sizes (12x24 version)
146 - Tweak the digit '2' for consistency with other sizes (12x24 version)
221 - Harmonize the 'v' and 'V' characters across all sizes
[all …]
/freebsd-14.2/contrib/netbsd-tests/net/in_cksum/
H A Dt_in_cksum.sh29 sizes() { function
61 sizes 0
69 sizes 1
/freebsd-14.2/libexec/tftpd/
H A Dtftp-options.c284 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.2/tools/tools/crypto/
H A Dcryptotest.c542 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 Dcryptocheck.c1650 run_test(alg, 0, sizes[i], 0); in run_test_sizes()
1666 sizes[j], alg->iv_sizes[k]); in run_test_sizes()
1804 if (nsizes >= nitems(sizes)) { in main()
1808 sizes[nsizes] = strtol(av[0], &cp, 0); in main()
1842 sizes[nsizes] = i; in main()
1848 sizes[nsizes] = i; in main()
1855 assert(nsizes < nitems(sizes)); in main()
1856 sizes[nsizes] = base_size; in main()
1861 assert(nsizes < nitems(sizes)); in main()
1862 sizes[nsizes] = 240 * 1024; in main()
[all …]
/freebsd-14.2/sys/contrib/device-tree/Bindings/usb/
H A Dgr-udc.txt21 - 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.2/sys/contrib/device-tree/Bindings/dma/
H A Dfsl-qdma.txt26 - 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.2/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctfmerge.c240 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-14.2/usr.sbin/vidcontrol/
H A Dvidcontrol.c483 } 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.2/sys/contrib/device-tree/Bindings/mtd/partitions/
H A Dbrcm,bcm963xx-imagetag.txt5 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.2/contrib/arm-optimized-routines/networking/test/
H A Dchksum.c366 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-14.2/contrib/elftoolchain/libelf/
H A Dlibelf_fsize.m436 * 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.2/usr.bin/tftp/
H A Dmain.c1027 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.2/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dwrappers_c.inc317 auto *sizes = static_cast<scudo::uptr *>(
320 auto *sizes = reinterpret_cast<scudo::uptr *>(arg);
322 sizes[size]++;
326 SCUDO_ALLOCATOR.iterateOverChunks(0, -1ul, callback, sizes);
331 if (sizes[i])
332 fprintf(stream, "<alloc size=\"%zu\" count=\"%zu\"/>\n", i, sizes[i]);
334 SCUDO_PREFIX(free)(sizes);
/freebsd-14.2/sys/netpfil/ipfilter/netinet/
H A Dip_log.c338 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.2/contrib/llvm-project/clang/include/clang/AST/
H A DExternalASTSource.h289 MemoryBufferSizes sizes(0, 0); in getMemoryBufferSizes()
290 getMemoryBufferSizes(sizes); in getMemoryBufferSizes()
291 return sizes; in getMemoryBufferSizes()
294 virtual void getMemoryBufferSizes(MemoryBufferSizes &sizes) const;
/freebsd-14.2/contrib/xz/src/liblzma/common/
H A Dindex_hash.c135 const lzma_vli sizes[2] = { unpadded_size, uncompressed_size }; in hash_append() local
137 (const uint8_t *)(sizes), sizeof(sizes)); in hash_append()
/freebsd-14.2/contrib/ntp/sntp/libevent/test/
H A Dregress_iocp.c118 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()

12345678910