Searched refs:sizes (Results 1 - 25 of 71) sorted by relevance

123

/freebsd-11-stable/contrib/groff/font/devdvi/generate/
H A DCompileFonts2 # Compile fonts in the sizes needed by groff.
3 sizes="5 6 7 8 9 10 10.95 12 14 14.40 16 17.28 18 20 20.74 22 24 24.88 28 36"
9 for s in $sizes; do
/freebsd-11-stable/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++) {
66 ATF_REQUIRE(ftruncate(fd, sizes[i]) == 0);
69 (void)fprintf(stderr, "truncating to %zu bytes\n", sizes[i]);
71 if (sizes[i] != (size_t)st.st_size)
122 for (i = 0; i < __arraycount(sizes); i++) {
126 ATF_REQUIRE(truncate(path, sizes[i]) == 0);
129 (void)fprintf(stderr, "truncating to %zu bytes\n", sizes[i]);
131 if (sizes[i] != (size_t)st.st_size)
/freebsd-11-stable/libexec/talkd/
H A Dannounce.c99 int sizes[N_LINES]; local
110 sizes[i] = strlen(line_buf[i]);
111 max_size = max(max_size, sizes[i]);
118 sizes[i] = strlen(line_buf[i]);
119 max_size = max(max_size, sizes[i]);
126 sizes[i] = strlen(line_buf[i]);
127 max_size = max(max_size, sizes[i]);
131 sizes[i] = strlen(line_buf[i]);
132 max_size = max(max_size, sizes[i]);
135 sizes[
[all...]
/freebsd-11-stable/crypto/openssl/crypto/bn/
H A Dbnspeed.c161 static int sizes[NUM_SIZES] = { 128, 256, 512, 1024, 2048 }; variable
164 * static int sizes[NUM_SIZES]={59,179,299,419,539};
192 BN_rand(a, sizes[i], 1, 0);
194 BN_rand(b, sizes[j], 1, 0);
199 printf("mul %4d x %4d -> %8.3fms\n", sizes[i], sizes[j],
208 BN_rand(a, sizes[i], 1, 0);
213 printf("sqr %4d x %4d -> %8.3fms\n", sizes[i], sizes[i],
221 BN_rand(a, sizes[
[all...]
H A Dexpspeed.c190 static int sizes[NUM_SIZES] = { 128, 256, 512, 1024, 2048, 4096, 8192 }; variable
198 * static int sizes[NUM_SIZES]={59,179,299,419,539};
249 if (!BN_generate_prime(c, sizes[i], 0, ADD, REM, genprime_cb, NULL))
258 if (!BN_pseudo_rand(a, sizes[i], 1, 0))
261 if (!BN_pseudo_rand(b, sizes[i], 1, 0))
265 if (!BN_pseudo_rand(c, sizes[i], 1, 1))
351 sizes[i], sizes[i], sizes[i], tm * 1000.0 / num,
/freebsd-11-stable/sys/dev/drm2/i915/
H A Dintel_fb.c55 struct drm_fb_helper_surface_size *sizes)
66 if (sizes->surface_bpp == 24)
67 sizes->surface_bpp = 32;
69 mode_cmd.width = sizes->surface_width;
70 mode_cmd.height = sizes->surface_height;
72 mode_cmd.pitches[0] = roundup2(mode_cmd.width * ((sizes->surface_bpp + 7) /
74 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp,
75 sizes->surface_depth);
102 info->fb_bpp = sizes->surface_bpp;
117 drm_fb_helper_fill_var(info, &ifbdev->helper, sizes
54 intelfb_create(struct intel_fbdev *ifbdev, struct drm_fb_helper_surface_size *sizes) argument
141 intel_fb_find_or_create_single(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) argument
[all...]
/freebsd-11-stable/contrib/netbsd-tests/net/in_cksum/
H A Dt_in_cksum.sh29 sizes() { function
57 atf_set "descr" "Test in_cksum sizes aligned"
61 sizes 0
65 atf_set "descr" "Test in_cksum sizes unaligned"
69 sizes 1
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/
H A Dt_cdb.c139 size_t i, sizes[] = { 0, 16, 64, 1024, 2048 }; local
140 for (i = 0; i < __arraycount(sizes); ++i) {
141 init_keys(sizes[i]);
142 write_database(sizes[i]);
143 check_database(sizes[i]);
/freebsd-11-stable/sys/dev/nxge/xgehal/
H A Dxgehal-ring-fp.c321 * @sizes: Array of receive buffer sizes. Contains 3 sizes: one size per
333 int sizes[])
338 rxdp->control_2 |= XGE_HAL_RXD_3_SET_BUFFER0_SIZE(sizes[0]);
341 rxdp->control_2 |= XGE_HAL_RXD_3_SET_BUFFER1_SIZE(sizes[1]);
344 rxdp->control_2 |= XGE_HAL_RXD_3_SET_BUFFER2_SIZE(sizes[2]);
357 * @sizes: Array of receive buffer sizes. Contains 3 sizes
332 xge_hal_ring_dtr_3b_set(xge_hal_dtr_h dtrh, dma_addr_t dma_pointers[], int sizes[]) argument
367 xge_hal_ring_dtr_3b_get(xge_hal_channel_h channelh, xge_hal_dtr_h dtrh, dma_addr_t dma_pointers[], int sizes[]) argument
404 xge_hal_ring_dtr_5b_set(xge_hal_dtr_h dtrh, dma_addr_t dma_pointers[], int sizes[]) argument
444 xge_hal_ring_dtr_5b_get(xge_hal_channel_h channelh, xge_hal_dtr_h dtrh, dma_addr_t dma_pointers[], int sizes[]) argument
[all...]
/freebsd-11-stable/sys/dev/drm2/radeon/
H A Dradeon_fb.c193 struct drm_fb_helper_surface_size *sizes)
204 mode_cmd.width = sizes->surface_width;
205 mode_cmd.height = sizes->surface_height;
208 if ((sizes->surface_bpp == 24) && ASIC_IS_AVIVO(rdev))
209 sizes->surface_bpp = 32;
211 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp,
212 sizes->surface_depth);
247 info->fb_bpp = sizes->surface_bpp;
251 drm_fb_helper_fill_var(info, &rfbdev->helper, sizes->fb_width, sizes
192 radeonfb_create(struct radeon_fbdev *rfbdev, struct drm_fb_helper_surface_size *sizes) argument
273 radeon_fb_find_or_create_single(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) argument
[all...]
/freebsd-11-stable/contrib/groff/src/devices/xditview/
H A Dfont.c67 for (best = f->sizes; best; best = best->next)
71 best->next = f->sizes;
73 f->sizes = best;
88 for (fs = f->sizes; fs; fs=fs->next) {
145 DviFontSizeList *sizes, *new_size; local
161 sizes = 0;
165 DisposeFontSizes (dw, sizes);
166 sizes = 0;
172 new_size->next = sizes;
177 sizes
[all...]
/freebsd-11-stable/sys/arm/nvidia/drm2/
H A Dtegra_fb.c119 struct drm_fb_helper_surface_size *sizes)
133 DRM_DEBUG_KMS("surface: %d x %d (bpp: %d)\n", sizes->surface_width,
134 sizes->surface_height, sizes->surface_bpp);
139 bpp = (sizes->surface_bpp + 7) / 8;
143 mode_cmd.width = sizes->surface_width;
144 mode_cmd.height = sizes->surface_height;
145 mode_cmd.pitches[0] = roundup(sizes->surface_width * bpp,
147 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp,
148 sizes
118 tegra_fb_probe(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) argument
[all...]
/freebsd-11-stable/libexec/tftpd/
H A Dtftp-options.c93 /* XXX Allows writes of all sizes. */
229 int sizes[] = { local
246 for (i = 0; sizes[i] != 0; i++) {
247 if (size == sizes[i]) break;
249 if (sizes[i] == 0) {
256 for (i = 0; sizes[i+1] != 0; i++) {
257 if ((int)maxdgram < sizes[i+1]) break;
262 size = sizes[i];
/freebsd-11-stable/contrib/subversion/subversion/libsvn_fs_fs/
H A Drevprops.c166 apr_array_header_t *sizes; member in struct:packed_revprops_t
519 /* STREAM still points to the first entry in the sizes list. */
524 revprops->sizes = apr_array_make(result_pool, (int)count,
591 APR_ARRAY_PUSH(revprops->sizes, apr_size_t) = serialized.len;
725 *props_size_p = (apr_off_t)APR_ARRAY_IDX(revprops->sizes,
906 apr_array_header_t *sizes,
920 /* the sizes array */
928 apr_size_t size = APR_ARRAY_IDX(sizes, i, apr_size_t);
974 revprops->sizes, start, end, pool));
986 apr_size_t size = APR_ARRAY_IDX(revprops->sizes,
904 serialize_revprops_header(svn_stream_t *stream, svn_revnum_t start_revision, apr_array_header_t *sizes, int start, int end, apr_pool_t *pool) argument
1343 svn_fs_fs__copy_revprops(const char *pack_file_dir, const char *pack_filename, const char *shard_path, svn_revnum_t start_rev, svn_revnum_t end_rev, apr_array_header_t *sizes, apr_size_t total_size, int compression_level, svn_boolean_t flush_to_disk, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *scratch_pool) argument
1439 apr_array_header_t *sizes; local
[all...]
H A Drevprops.h114 * The file sizes have already been determined and written to SIZES.
134 apr_array_header_t *sizes,
/freebsd-11-stable/sys/dev/drm2/
H A Ddrm_fb_helper.c842 struct drm_fb_helper_surface_size sizes; local
851 memset(&sizes, 0, sizeof(struct drm_fb_helper_surface_size));
852 sizes.surface_depth = 24;
853 sizes.surface_bpp = 32;
854 sizes.fb_width = (unsigned)-1;
855 sizes.fb_height = (unsigned)-1;
859 if (preferred_bpp != sizes.surface_bpp)
860 sizes.surface_depth = sizes.surface_bpp = preferred_bpp;
872 sizes
[all...]
H A Ddrm_fb_helper.h58 struct drm_fb_helper_surface_size *sizes);
/freebsd-11-stable/tools/tools/crypto/
H A Dcryptocheck.c72 * -z Run all algorithms on a variety of buffer sizes.
1039 run_test_sizes(struct alg *alg, size_t *sizes, u_int nsizes) argument
1044 run_test(alg, sizes[i]);
1048 run_hmac_tests(size_t *sizes, u_int nsizes) argument
1054 run_test_sizes(&algs[i], sizes, nsizes);
1058 run_blkcipher_tests(size_t *sizes, u_int nsizes) argument
1064 run_test_sizes(&algs[i], sizes, nsizes);
1068 run_authenc_tests(size_t *sizes, u_int nsizes) argument
1082 run_test_sizes(authenc, sizes, nsizes);
1089 run_aead_tests(size_t *sizes, u_in argument
1103 size_t sizes[128]; local
[all...]
H A Dcryptotest.c44 * -z run all available algorithms on a variety of buffer sizes
68 * algorithms over a variety of buffer sizes. The 1024 says to do 1024
70 * sizes to use in doing tests.
156 printf("-z run all available algorithms on a variety of sizes\n");
524 int sizes[128], nsizes = 0; local
577 if (nsizes < nitems(sizes)) {
578 sizes[nsizes++] = s;
580 printf("Too many sizes, ignoring %u\n", s);
589 sizes[nsizes++] = alg->blocksize;
591 sizes[nsize
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Dbcache.c126 /* A table of good hash table sizes. Whenever we grow, we pick the
127 next larger size from this table. sizes[i] is close to 1 << (i+10),
131 static unsigned long sizes[] = {
148 for (i = 0; i < (sizeof (sizes) / sizeof (sizes[0])); i++)
149 if (sizes[i] > bcache->num_buckets)
151 new_num_buckets = sizes[i];
129 static unsigned long sizes[] = { local
/freebsd-11-stable/contrib/groff/src/libs/libgroff/
H A Dfontfile.cpp52 int *font::sizes = 0; member in class:font
/freebsd-11-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctfmerge.c240 int sizes; local
246 if ((sizes = getpagesizes(NULL, 0)) == -1)
249 if (sizes == 1 || (size = alloca(sizeof (size_t) * sizes)) == NULL)
252 if (getpagesizes(size, sizes) == -1)
255 while (size[sizes - 1] > maxpgsize)
256 sizes--;
259 big = size[sizes - 1];
/freebsd-11-stable/contrib/jemalloc/
H A DFREEBSD-upgrade77 --with-lg-page-sizes=12,13,14,16
/freebsd-11-stable/contrib/groff/src/include/
H A Dfont.h89 static int *sizes; member in class:font
/freebsd-11-stable/sys/dev/nxge/include/
H A Dxgehal-ring.h291 * @rxd_size: RxD sizes for 1-, 3- or 5- buffer modes. As per Xframe spec,
421 int sizes[]);
425 dma_addr_t dma_pointers[], int sizes[]);
429 int sizes[]);
433 dma_addr_t dma_pointer[], int sizes[]);

Completed in 181 milliseconds

123