Home
last modified time | relevance | path

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

1234567891011

/freebsd-12.1/libexec/talkd/
H A Dannounce.c101 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-12.1/sys/dev/drm2/i915/
H A Dintel_fb.c55 struct drm_fb_helper_surface_size *sizes) in intelfb_create() argument
66 if (sizes->surface_bpp == 24) in intelfb_create()
67 sizes->surface_bpp = 32; in intelfb_create()
69 mode_cmd.width = sizes->surface_width; in intelfb_create()
70 mode_cmd.height = sizes->surface_height; in intelfb_create()
74 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in intelfb_create()
75 sizes->surface_depth); in intelfb_create()
102 info->fb_bpp = sizes->surface_bpp; in intelfb_create()
117 drm_fb_helper_fill_var(info, &ifbdev->helper, sizes->fb_width, sizes->fb_height); in intelfb_create()
142 struct drm_fb_helper_surface_size *sizes) in intel_fb_find_or_create_single() argument
[all …]
/freebsd-12.1/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-12.1/sys/contrib/zstd/tests/gzip/
H A Dmixed.sh51 sizes=$(i=0; while :; do echo $i; test $i = 64 && break; i=$(expr $i + 1); done)
54 sizes="$sizes 32831 32832 32833"
57 sizes="$sizes 131071 131072 131073"
61 for i in $sizes; do
/freebsd-12.1/sys/dev/drm2/radeon/
H A Dradeon_fb.c193 struct drm_fb_helper_surface_size *sizes) in radeonfb_create() argument
204 mode_cmd.width = sizes->surface_width; in radeonfb_create()
205 mode_cmd.height = sizes->surface_height; in radeonfb_create()
208 if ((sizes->surface_bpp == 24) && ASIC_IS_AVIVO(rdev)) in radeonfb_create()
209 sizes->surface_bpp = 32; in radeonfb_create()
211 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, in radeonfb_create()
212 sizes->surface_depth); in radeonfb_create()
247 info->fb_bpp = sizes->surface_bpp; in radeonfb_create()
251 drm_fb_helper_fill_var(info, &rfbdev->helper, sizes->fb_width, sizes->fb_height); in radeonfb_create()
274 struct drm_fb_helper_surface_size *sizes) in radeon_fb_find_or_create_single() argument
[all …]
/freebsd-12.1/contrib/subversion/subversion/libsvn_fs_fs/
H A Drevprops.c166 apr_array_header_t *sizes; member
848 apr_array_header_t *sizes, in serialize_revprops_header() argument
1057 || revprops->sizes->nelts == 1) in write_packed_revprop()
1076 int right = revprops->sizes->nelts - 1; in write_packed_revprop()
1100 right_count = revprops->sizes->nelts - left; in write_packed_revprop()
1290 apr_array_header_t *sizes, in svn_fs_fs__copy_revprops() argument
1381 apr_array_header_t *sizes; in svn_fs_fs__pack_revprops_shard() local
1434 if (sizes->nelts != 0 in svn_fs_fs__pack_revprops_shard()
1447 apr_array_clear(sizes); in svn_fs_fs__pack_revprops_shard()
1454 if (sizes->nelts == 0) in svn_fs_fs__pack_revprops_shard()
[all …]
/freebsd-12.1/sys/arm/nvidia/drm2/
H A Dtegra_fb.c119 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-12.1/sys/dev/drm2/
H A Ddrm_fb_helper.c852 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-12.1/tools/tools/crypto/
H A Dcryptocheck.c1416 run_test(alg, sizes[i]); in run_test_sizes()
1486 size_t sizes[128]; in main() local
1521 if (nsizes >= nitems(sizes)) { in main()
1536 sizes[0] = 16; in main()
1541 sizes[nsizes] = sizes[nsizes - 1] * 2; in main()
1546 sizes[nsizes] = 240 * 1024; in main()
1553 run_hash_tests(sizes, nsizes); in main()
1555 run_hmac_tests(sizes, nsizes); in main()
1561 run_aead_tests(sizes, nsizes); in main()
1563 run_hash_tests(sizes, nsizes); in main()
[all …]
H A Dcryptotest.c556 int sizes[128], nsizes = 0; in main() local
619 if (nsizes < nitems(sizes)) { in main()
620 sizes[nsizes++] = s; in main()
631 sizes[nsizes++] = alg->blocksize; in main()
633 sizes[nsizes++] = 8; in main()
635 while (sizes[nsizes-1] < 8*1024) { in main()
636 sizes[nsizes] = sizes[nsizes-1]<<1; in main()
647 runtests(ealg, alg, count, sizes[j], cmd, maxthreads, profile); in main()
653 runtests(ealg, alg, count, sizes[i], cmd, maxthreads, profile); in main()
/freebsd-12.1/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-12.1/libexec/tftpd/
H A Dtftp-options.c231 int sizes[] = { in option_blksize2() local
248 for (i = 0; sizes[i] != 0; i++) { in option_blksize2()
249 if (size == sizes[i]) break; in option_blksize2()
251 if (sizes[i] == 0) { in option_blksize2()
258 for (i = 0; sizes[i+1] != 0; i++) { in option_blksize2()
259 if ((int)maxdgram < sizes[i+1]) break; in option_blksize2()
264 size = sizes[i]; in option_blksize2()
/freebsd-12.1/contrib/netbsd-tests/net/in_cksum/
H A Dt_in_cksum.sh29 sizes() { function
61 sizes 0
69 sizes 1
/freebsd-12.1/contrib/gdb/gdb/
H A Dbcache.c129 static unsigned long sizes[] = { in expand_hash_table() local
146 for (i = 0; i < (sizeof (sizes) / sizeof (sizes[0])); i++) in expand_hash_table()
147 if (sizes[i] > bcache->num_buckets) in expand_hash_table()
149 new_num_buckets = sizes[i]; in expand_hash_table()
/freebsd-12.1/usr.sbin/vidcontrol/
H A Dvidcontrol.c498 } sizes[] = {{8, 16, PIO_FONT8x16}, in load_font() local
530 for (i = 0; sizes[i].w != 0; i++) { in load_font()
531 if (sizes[i].w == w && sizes[i].h == h) { in load_font()
532 size = DATASIZE(sizes[i]); in load_font()
533 io = sizes[i].io; in load_font()
534 font_height = sizes[i].h; in load_font()
549 size = DATASIZE(sizes[0]); in load_font()
557 for (i = 0; sizes[i].w != 0; i++) { in load_font()
558 if (DATASIZE(sizes[i]) == dsize[j]) { in load_font()
560 io = sizes[i].io; in load_font()
[all …]
/freebsd-12.1/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-12.1/contrib/gcc/
H A Dcfgloop.c1057 unsigned *sizes, i, j; in verify_loop_structure() local
1065 sizes = XCNEWVEC (unsigned, loops->num); in verify_loop_structure()
1066 sizes[0] = 2; in verify_loop_structure()
1070 sizes[loop->num]++; in verify_loop_structure()
1077 if (loops->parray[i]->num_nodes != sizes[i]) in verify_loop_structure()
1080 i, sizes[i], loops->parray[i]->num_nodes); in verify_loop_structure()
1209 memset (sizes, 0, sizeof (unsigned) * loops->num); in verify_loop_structure()
1227 sizes[loop->num]++; in verify_loop_structure()
1249 if (sizes[i] == 1 in verify_loop_structure()
1256 if (sizes[i] != 1 in verify_loop_structure()
[all …]
/freebsd-12.1/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-12.1/usr.bin/tftp/
H A Dmain.c1019 int sizes[] = { in setblocksize2() local
1031 for (i = 0; sizes[i] != 0; i++) { in setblocksize2()
1032 if (sizes[i] == size) break; in setblocksize2()
1034 if (sizes[i] == 0) { in setblocksize2()
1048 for (i = 0; sizes[i+1] != 0; i++) { in setblocksize2()
1049 if ((int)maxdgram < sizes[i+1]) break; in setblocksize2()
1052 "%d", sizes[i]); in setblocksize2()
/freebsd-12.1/usr.sbin/pc-sysinstall/examples/
H A Dpcinstall.cfg.zfs25 # All sizes are expressed in MB
38 # All sizes are expressed in MB
/freebsd-12.1/contrib/subversion/subversion/libsvn_fs_x/
H A Drevprops.c1513 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-12.1/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-12.1/sys/contrib/ipfilter/netinet/
H A Dip_log.c360 size_t sizes[2]; local
489 sizes[0] = sizeof(ipfl);
497 sizes[1] = hlen + mlen;
501 sizes[1] = hlen + mlen;
506 sizes[1] = hlen + mlen;
509 return ipf_log_items(softc, IPL_LOGIPF, fin, ptrs, sizes, types, 2);
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DExternalASTSource.h322 MemoryBufferSizes sizes(0, 0); in getMemoryBufferSizes()
323 getMemoryBufferSizes(sizes); in getMemoryBufferSizes()
324 return sizes; in getMemoryBufferSizes()
327 virtual void getMemoryBufferSizes(MemoryBufferSizes &sizes) const;
/freebsd-12.1/contrib/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()

1234567891011