HomeSort by: relevance | last modified time | path
    Searched defs:sizes (Results 1 - 25 of 26) sorted by relevancy

1 2

  /src/sys/dev/raidframe/
rf_alloclist.h 44 int sizes[RF_POINTERS_PER_ALLOC_LIST_ELEMENT]; member in struct:RF_AllocListElem_s
  /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/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/sys/arch/ia64/ia64/
sal.c 90 static int sizes[6] = { local in function:ia64_sal_init
178 p += sizes[*p];
  /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/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/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/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/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]));
asan_test.cc 118 size_t sizes[] = {16, 1000, 10000, 100000, 2100000}; local in function:TEST
119 for (size_t s = 0; s < sizeof(sizes)/sizeof(sizes[0]); s++) {
120 size_t size = sizes[s];
  /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]);
i915_gem_mman.c 929 unsigned long sizes[] = { local in function:igt_mmap
936 for (i = 0; i < ARRAY_SIZE(sizes); i++) {
940 obj = i915_gem_object_create_region(mr, sizes[i], 0);
  /src/sys/external/bsd/ipf/netinet/
ip_log.c 385 size_t sizes[2]; local in function:ipf_log_pkt
514 sizes[0] = sizeof(ipfl);
522 sizes[1] = hlen + mlen;
526 sizes[1] = hlen + mlen;
531 sizes[1] = hlen + mlen;
534 return ipf_log_items(softc, IPL_LOGIPF, fin, ptrs, sizes, types, 2);
ip_state.c 4301 size_t sizes[1]; local in function:ipf_state_log
4344 sizes[0] = sizeof(ipsl);
4347 (void) ipf_log_items(softc, IPL_LOGSTATE, NULL, items, sizes, types, 1);
ip_nat.c 308 /* that sizes can be changed before we get under way. */
6063 size_t sizes[1]; local in function:ipf_nat_log
6107 sizes[0] = sizeof(natl);
6110 (void) ipf_log_items(softc, IPL_LOGNAT, NULL, items, sizes, types, 1);
  /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/
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/i915/selftests/
i915_gem_gtt.c 927 unsigned int sizes[] = { SZ_2M, SZ_1G }; local in function:shrink_boom
940 for (i = 0; i < ARRAY_SIZE(sizes); ++i) {
942 unsigned int size = sizes[i];
  /src/usr.sbin/sunlabel/
sunlabel.c 728 uint32_t sizes; local in function:chpart
816 if (!scannum(&numbers, &sizes,
819 size = sizes + (label.nsect * (sizet
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
sanitizer_allocator_test.cc 201 static const uptr sizes[] = { local in function:TestSizeClassAllocator
211 for (uptr s = 0; s < ARRAY_SIZE(sizes); s++) {
212 uptr size = sizes[s];
916 static const uptr sizes[] = {1, 16, 30, 40, 100, 1000, 10000, local in function:TestSizeClassAllocatorIteration
922 for (uptr s = 0; s < ARRAY_SIZE(sizes); s++) {
923 uptr size = sizes[s];
  /src/sys/dev/usb/
ugen.c 136 uint16_t sizes[UGEN_NISORFRMS]; member in struct:isoreq
716 sce->isoreqs[i].sizes[j] = isize;
718 sce->isoreqs[i].sizes, UGEN_NISORFRMS, 0,
1405 uint32_t actlen = req->sizes[i];
1421 req->sizes[i] = isize;
1424 usbd_setup_isoc_xfer(xfer, req, req->sizes, UGEN_NISORFRMS, 0,
uaudio.c 191 uint16_t sizes[UAUDIO_NFRAMES_HI]; member in struct:chan::chanbuf
3833 cb->sizes[i] = size;
3858 DPRINTF(" [%d] length %d\n", i, cb->sizes[i]);
3865 usbd_setup_isoc_xfer(cb->xfer, cb, cb->sizes, ch->nframes, 0,
3946 cb->sizes[i] = size;
3957 DPRINTF(" [%d] length %d\n", i, cb->sizes[i]);
3964 usbd_setup_isoc_xfer(cb->xfer, cb, cb->sizes, ch->nframes, 0,
4010 frsize = cb->sizes[i];
  /src/sys/external/bsd/drm2/dist/drm/vmwgfx/
vmwgfx_drv.h 241 struct drm_vmw_size *sizes; member in struct:vmw_surface
  /src/sys/arch/m68k/m68k/
db_disasm.h 400 enum sizes { SIZE_BYTE = sizeof(char), SIZE_WORD = sizeof(short), enum
  /src/sys/external/bsd/compiler_rt/dist/lib/msan/tests/
msan_test.cc 375 size_t sizes[] = {16, 1000, 10000, 100000, 2100000}; local in function:TEST
376 for (size_t s = 0; s < sizeof(sizes)/sizeof(sizes[0]); s++) {
377 size_t size = sizes[s];
4562 size_t sizes[] = {0, 20, 5000, 1<<20}; local in function:TEST
4563 for (size_t i = 0; i < sizeof(sizes) / sizeof(*sizes); ++i) {
4564 size_t alloc_size = __sanitizer_get_estimated_allocated_size(sizes[i]);
4565 EXPECT_EQ(alloc_size, sizes[i]);

Completed in 84 milliseconds

1 2