Home
last modified time | relevance | path

Searched refs:size (Results 5101 - 5125 of 26097) sorted by relevance

1...<<201202203204205206207208209210>>...1044

/third_party/mesa3d/src/freedreno/fdl/
H A Dfreedreno_layout.c33 fdl_layout_buffer(struct fdl_layout *layout, uint32_t size) in fdl_layout_buffer() argument
35 layout->width0 = size; in fdl_layout_buffer()
40 layout->size = size; in fdl_layout_buffer()
67 "%s: %ux%ux%u@%ux%u:\t%2u: stride=%4u, size=%6u,%6u, " in fdl_dump_layout()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
H A Dsfn_memorypool.h44 void * operator new(size_t size);
45 void operator delete (void *p, size_t size);
56 void *allocate(size_t size);
57 void *allocate(size_t size, size_t align);
/third_party/mesa3d/src/imagination/vulkan/winsys/
H A Dpvr_winsys_helper.h40 uint64_t size,
44 uint64_t size,
51 uint64_t size,
60 uint64_t size,
/third_party/node/src/
H A Dnode_main.cc55 // Compute the size of the required buffer in wmain()
56 DWORD size = WideCharToMultiByte(CP_UTF8, in wmain() local
64 if (size == 0) { in wmain()
70 argv[i] = new char[size]; in wmain()
76 size, in wmain()
/third_party/musl/porting/uniproton/kernel/src/stdio/
H A Dfwrite.c28 size_t fwrite(const void *restrict src, size_t size, size_t nmemb, FILE *restrict f) in fwrite() argument
30 size_t k, l = size*nmemb; in fwrite()
31 if (!size) nmemb = 0; in fwrite()
35 return k==l ? nmemb : k/size; in fwrite()
/third_party/musl/porting/liteos_a/kernel/src/stdio/
H A Dfwrite.c28 size_t fwrite(const void *restrict src, size_t size, size_t nmemb, FILE *restrict f) in fwrite() argument
30 size_t k, l = size*nmemb; in fwrite()
31 if (!size) nmemb = 0; in fwrite()
35 return k==l ? nmemb : k/size; in fwrite()
/third_party/musl/porting/liteos_m/kernel/src/stdio/
H A Dfwrite.c28 size_t fwrite(const void *restrict src, size_t size, size_t nmemb, FILE *restrict f) in fwrite() argument
30 size_t k, l = size*nmemb; in fwrite()
31 if (!size) nmemb = 0; in fwrite()
35 return k==l ? nmemb : k/size; in fwrite()
/third_party/musl/src/stdio/
H A Dfwrite.c31 size_t fwrite(const void *restrict src, size_t size, size_t nmemb, FILE *restrict f) in fwrite() argument
36 size_t k, l = size*nmemb; in fwrite()
37 if (!size) nmemb = 0; in fwrite()
41 return k==l ? nmemb : k/size; in fwrite()
/third_party/node/benchmark/buffers/
H A Dbuffer-iterate.js7 size: [512, 4096, 16386],
19 function main({ size, type, method, n }) {
21 Buffer.alloc(size) :
22 SlowBuffer(size).fill(0);
/third_party/mesa3d/src/mapi/
H A Du_execmem.c64 * Dispatch stubs are of fixed size and never freed. Thus, we do not need to
121 u_execmem_alloc(unsigned int size) in u_execmem_alloc() argument
124 (void)size; in u_execmem_alloc()
135 if (head + size > EXEC_MAP_SIZE) in u_execmem_alloc()
138 /* allocation, assumes proper addr and size alignement */ in u_execmem_alloc()
140 head += size; in u_execmem_alloc()
/third_party/mesa3d/src/intel/vulkan/tests/
H A Dstate_pool_padding.c41 /* Get the size of the underlying block_pool */ in main()
43 uint64_t pool_size = bp->size; in main()
48 /* Grab a state that is the size of the initial allocation */ in main()
52 ASSERT(bp->size > pool_size); in main()
54 /* And the state must have been allocated at the end of the original size */ in main()
58 * offset within the original pool size in main()
72 pool_size = bp->size; in main()
74 ASSERT(bp->size > pool_size); in main()
/third_party/mesa3d/src/util/tests/
H A Du_debug_stack_test.cpp89 size_t size; in TEST() local
99 fp = open_memstream(&bt1, &size); in TEST()
103 fp = open_memstream(&bt2, &size); in TEST()
107 if (size > 0) { in TEST()
/third_party/icu/icu4c/source/io/
H A Duscanf.cpp74 int32_t size = (int32_t)uprv_strlen(patternSpecification) + 1; in u_vfscanf() local
77 if (size >= MAX_UCHAR_BUFFER_SIZE(patBuffer)) { in u_vfscanf()
78 pattern = (UChar *)uprv_malloc(size * sizeof(UChar)); in u_vfscanf()
86 u_charsToUChars(patternSpecification, pattern, size); in u_vfscanf()
/third_party/ltp/testcases/network/nfs/nfslock01/
H A Dnfslock01.sh26 local size
30 size="$(wc -c $file | awk '{print $1}')"
31 if [ $size -ne $exp_size ]; then
32 tst_brk TBROK "could not create '$file' (size: $size, expected: $exp_size)"
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
H A D11-1.c14 * was specified) or off is not a multiple of the page size as returned by
18 * 1. Set 'off' a value which is not a multiple of page size;
45 size_t size; in main() local
51 size = page_size; in main()
72 pa = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, off); in main()
77 munmap(pa, size); in main()
80 printf("Got EINVAL when 'off' is not multiple of page size\n"); in main()
86 " when 'off' is not a multiple of page size, get: %s\n", in main()
H A D6-5.c40 size_t size = 1024; in main() local
51 if (ftruncate(fd, size) == -1) { in main()
65 pa = mmap(NULL, size, PROT_WRITE, MAP_PRIVATE, fd, 0); in main()
71 munmap(pa, size); in main()
H A D10-1.c44 size_t size; in main() local
48 size = total_size; in main()
64 pa = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, in main()
78 rc = munmap(pa, size); in main()
H A D1-2.c29 size_t size = 1024 * 4 * 1024; in main() local
42 if (ftruncate(fd, size) == -1) { in main()
52 pa = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in main()
64 munmap(pa, size); in main()
/third_party/node/deps/v8/src/heap/cppgc/
H A Dvirtual-memory.cc13 VirtualMemory::VirtualMemory(PageAllocator* page_allocator, size_t size, in VirtualMemory() argument
17 DCHECK(IsAligned(size, page_allocator->CommitPageSize())); in VirtualMemory()
20 start_ = page_allocator->AllocatePages(hint, RoundUp(size, page_size), in VirtualMemory()
24 size_ = RoundUp(size, page_size); in VirtualMemory()
/third_party/node/deps/v8/src/init/
H A Dicu_util.cc78 size_t size = ftell(inf); in InitializeICU()
81 g_icu_data_ptr = new char[size]; in InitializeICU()
82 if (fread(g_icu_data_ptr, 1, size, inf) != size) { in InitializeICU()
/third_party/node/deps/v8/src/snapshot/
H A Dsnapshot-source-sink.cc39 int size = GetInt(); in GetBlob() local
40 CHECK(position_ + size <= length_); in GetBlob()
42 Advance(size); in GetBlob()
43 return size; in GetBlob()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_resource.c35 uint32_t level, size = 0; in fd4_setup_slices() local
62 slice->offset = size; in fd4_setup_slices()
66 * does), so as soon as the layer size range gets into range, we stop in fd4_setup_slices()
75 size += slice->size0 * depth * layers_in_level; in fd4_setup_slices()
82 return size; in fd4_setup_slices()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_resource.c45 unsigned size = lrz_pitch * lrz_height * 2; in setup_lrz() local
47 size += 0x1000; /* for GRAS_LRZ_FAST_CLEAR_BUFFER */ in setup_lrz()
52 rsc->lrz = fd_bo_new(screen->dev, size, FD_BO_NOMAP, "lrz"); in setup_lrz()
67 return rsc->layout.size; in fd5_setup_slices()
/third_party/mesa3d/src/util/
H A Ddisk_cache_os.h63 /* Pointer to total size of all objects in cache (within index_mmap) */
64 uint64_t *size; member
69 /* Maximum size of all cached objects (in bytes). */
91 size_t size; member
108 size_t *size);
111 disk_cache_load_item(struct disk_cache *cache, char *filename, size_t *size);
H A Dos_memory_aligned.h54 os_malloc_aligned(size_t size, size_t alignment) in os_malloc_aligned() argument
58 if(posix_memalign(&ptr, alignment, size) != 0) in os_malloc_aligned()
71 os_malloc_aligned(size_t size, size_t alignment) in os_malloc_aligned() argument
79 * alloc_size = size + alignment + sizeof(void *) in os_malloc_aligned()
83 if (add_overflow_size_t(size, alignment, &alloc_size) || in os_malloc_aligned()

Completed in 11 milliseconds

1...<<201202203204205206207208209210>>...1044