/src/tests/lib/libc/sys/ |
t_truncate.c | 45 static const size_t sizes[] = { 8, 16, 512, 1024, 2048, 4094, 3000, 30 }; variable in typeref:typename:const size_t[] 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)
|
/src/libexec/talkd/ |
announce.c | 101 int sizes[N_LINES]; local in function:print_mesg 112 sizes[i] = strlen(line_buf[i]); 113 max_size = max(max_size, sizes[i]); 119 sizes[i] = strlen(line_buf[i]); 120 max_size = max(max_size, sizes[i]); 127 sizes[i] = strlen(line_buf[i]); 128 max_size = max(max_size, sizes[i]); 132 sizes[i] = strlen(line_buf[i]); 133 max_size = max(max_size, sizes[i]); 136 sizes[i] = strlen(line_buf[i]) [all...] |
/src/sys/arch/arm/nvidia/ |
tegra_drm_fb.c | 91 struct drm_fb_helper_surface_size *sizes) 97 if (tegra_fb_init(ddev, helper->fb, sizes) != 0) { 105 tfa.tfa_fb_sizes = *sizes; 122 struct drm_fb_helper_surface_size *sizes) 125 const u_int width = sizes->surface_width; 126 const u_int height = sizes->surface_height;
|
/src/sys/dev/raidframe/ |
rf_alloclist.h | 44 int sizes[RF_POINTERS_PER_ALLOC_LIST_ELEMENT]; member in struct:RF_AllocListElem_s
|
rf_alloclist.c | 98 l->sizes[l->numPointers] = size; 114 RF_Free(p->pointers[i], p->sizes[i]);
|
/src/tests/net/in_cksum/ |
t_in_cksum.sh | 29 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
|
/src/tests/lib/libc/ |
t_cdb.c | 139 size_t i, sizes[] = { 0, 16, 64, 1024, 2048 }; local in function:ATF_TC_BODY 140 for (i = 0; i < __arraycount(sizes); ++i) { 141 init_keys(sizes[i]); 142 write_database(sizes[i]); 143 check_database(sizes[i]);
|
/src/sys/external/bsd/drm2/dist/drm/i915/display/ |
intel_fbdev.c | 127 struct drm_fb_helper_surface_size *sizes) 139 if (sizes->surface_bpp == 24) 140 sizes->surface_bpp = 32; 142 mode_cmd.width = sizes->surface_width; 143 mode_cmd.height = sizes->surface_height; 146 DIV_ROUND_UP(sizes->surface_bpp, 8), 64); 147 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, 148 sizes->surface_depth); 180 struct drm_fb_helper_surface_size *sizes) 203 (sizes->fb_width > intel_fb->base.width | [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
amdgpu_fb.c | 214 struct drm_fb_helper_surface_size *sizes) 226 mode_cmd.width = sizes->surface_width; 227 mode_cmd.height = sizes->surface_height; 229 if (sizes->surface_bpp == 24) 230 sizes->surface_bpp = 32; 232 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, 233 sizes->surface_depth); 273 afa.afa_fb_sizes = *sizes; 295 drm_fb_helper_fill_info(info, &rfbdev->helper, sizes);
|
/src/sys/external/bsd/drm2/dist/drm/ |
drm_fb_helper.c | 1499 struct drm_fb_helper_surface_size sizes; local in function:drm_fb_helper_single_fb_probe 1504 memset(&sizes, 0, sizeof(struct drm_fb_helper_surface_size)); 1505 sizes.surface_depth = 24; 1506 sizes.surface_bpp = 32; 1507 sizes.fb_width = (u32)-1; 1508 sizes.fb_height = (u32)-1; 1514 if (preferred_bpp != sizes.surface_bpp) 1515 sizes.surface_depth = sizes.surface_bpp = preferred_bpp; 1526 sizes.surface_depth = sizes.surface_bpp = 8 [all...] |
/src/sys/external/bsd/drm2/dist/drm/radeon/ |
radeon_fb.c | 225 struct drm_fb_helper_surface_size *sizes) 242 mode_cmd.width = sizes->surface_width; 243 mode_cmd.height = sizes->surface_height; 246 if ((sizes->surface_bpp == 24) && ASIC_IS_AVIVO(rdev)) 247 sizes->surface_bpp = 32; 249 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, 250 sizes->surface_depth); 274 rfa.rfa_fb_sizes = *sizes; 321 drm_fb_helper_fill_info(info, &rfbdev->helper, sizes);
|
/src/sys/arch/ia64/ia64/ |
sal.c | 90 static int sizes[6] = { local in function:ia64_sal_init 178 p += sizes[*p];
|
/src/sys/external/bsd/drm2/drm/ |
drmfb.c | 86 const struct drm_fb_helper_surface_size *const sizes = da->da_fb_sizes; local in function:drmfb_attach 106 prop_dictionary_set_uint32(dict, "width", sizes->surface_width); 107 prop_dictionary_set_uint32(dict, "height", sizes->surface_height); 108 prop_dictionary_set_uint8(dict, "depth", sizes->surface_bpp);
|
/src/sys/external/bsd/drm2/dist/drm/i915/gem/selftests/ |
i915_gem_object_blt.c | 86 static const unsigned long sizes[] = { local in function:perf_fill_blt 94 for (i = 0; i < ARRAY_SIZE(sizes); i++) { 98 obj = i915_gem_object_create_internal(i915, sizes[i]); 166 static const unsigned long sizes[] = { local in function:perf_copy_blt 174 for (i = 0; i < ARRAY_SIZE(sizes); i++) { 178 src = i915_gem_object_create_internal(i915, sizes[i]); 182 dst = i915_gem_object_create_internal(i915, sizes[i]);
|
/src/sys/external/bsd/compiler_rt/dist/lib/asan/tests/ |
asan_interface_test.cc | 21 const size_t sizes[] = { 1, 30, 1<<30 }; local in function:TEST 23 EXPECT_EQ(sizes[i], __sanitizer_get_estimated_allocated_size(sizes[i])); 367 // Same here, but we run memset with small sizes. 397 std::vector<size_t> sizes; local in function:TEST 402 sizes.push_back(size); 409 EXPECT_EQ(sizes[idx], __sanitizer_get_allocated_size(pointers[idx]));
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/ |
nouveau_fbcon.c | 327 * with it's preferred mode. If the sizes differ, one display will 352 struct drm_fb_helper_surface_size *sizes) 368 mode_cmd.width = sizes->surface_width; 369 mode_cmd.height = sizes->surface_height; 371 mode_cmd.pitches[0] = mode_cmd.width * (sizes->surface_bpp >> 3); 374 mode_cmd.pixel_format = drm_mode_legacy_fb_format(sizes->surface_bpp, 375 sizes->surface_depth); 419 nfa.nfa_fb_sizes = *sizes; 456 drm_fb_helper_fill_info(info, &fbcon->helper, sizes);
|
/src/sys/external/bsd/drm2/include/linux/ |
mm.h | 43 #include <linux/sizes.h>
|
/src/sys/external/bsd/drm2/dist/include/drm/ |
drm_fb_helper.h | 100 struct drm_fb_helper_surface_size *sizes); 248 struct drm_fb_helper_surface_size *sizes); 358 struct drm_fb_helper_surface_size *sizes)
|
/src/sys/arch/arm/rockchip/ |
rk_drm.c | 304 rk_drm_fb_probe(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) 314 const u_int width = sizes->surface_width; 315 const u_int height = sizes->surface_height; 358 sfa.sfa_fb_sizes = *sizes;
|
/src/tests/usr.bin/xlint/lint1/ |
decl.c | 151 unsigned long sizes = variable in typeref:typename:unsigned long
|
/src/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
vmwgfx_surface.c | 287 src_size = srf->sizes; 321 const struct drm_vmw_size *cur_size = &srf->sizes[i]; 677 kfree(srf->sizes); 811 srf->sizes = memdup_user((struct drm_vmw_size __user *)(unsigned long) 813 sizeof(*srf->sizes) * srf->num_sizes); 814 if (IS_ERR(srf->sizes)) { 815 ret = PTR_ERR(srf->sizes); 826 srf->base_size = *srf->sizes; 834 cur_size = srf->sizes; 853 srf->sizes[0].width == 64 & [all...] |
/src/sys/arch/ia64/stand/ia64/efi/ |
main.c | 75 static int sizes[6] = { local in function:find_pal_proc 99 p += sizes[*p]; 325 static int sizes[6] = { local in function:command_sal 383 p += sizes[*p];
|
/src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/freescale/ |
imx8mm-kontron-n801x-som.dtsi | 15 * There are multiple SoM flavors with different DDR sizes. 16 * The smallest is 1GB. For larger sizes the bootloader will
|
/src/sys/arch/arm/sunxi/ |
sunxi_drm.c | 344 sunxi_drm_fb_probe(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) 356 const u_int width = sizes->surface_width; 357 const u_int height = sizes->surface_height; 410 sfa.sfa_fb_sizes = *sizes;
|
/src/sys/arch/arm/ti/ |
ti_lcdc.c | 548 tilcdc_fb_probe(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes) 559 const u_int width = sizes->surface_width; 560 const u_int height = sizes->surface_height; 596 tfa.tfa_fb_sizes = *sizes;
|