Home
last modified time | relevance | path

Searched refs:size (Results 4926 - 4950 of 35897) sorted by relevance

1...<<191192193194195196197198199200>>...1436

/third_party/node/deps/ngtcp2/nghttp3/lib/
H A Dnghttp3_mem.h39 void *nghttp3_mem_malloc(const nghttp3_mem *mem, size_t size);
41 void *nghttp3_mem_calloc(const nghttp3_mem *mem, size_t nmemb, size_t size);
42 void *nghttp3_mem_realloc(const nghttp3_mem *mem, void *ptr, size_t size);
44 void *nghttp3_mem_malloc_debug(const nghttp3_mem *mem, size_t size,
64 size_t size, const char *func, const char *file,
71 void *nghttp3_mem_realloc_debug(const nghttp3_mem *mem, void *ptr, size_t size,
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_varyings.h57 unsigned size; member
120 unsigned size = varyings->buf[buf_idx].stride * vertex_count; in panvk_varyings_alloc() local
121 if (!size) in panvk_varyings_alloc()
125 pan_pool_alloc_aligned(varying_mem_pool, size, 64); in panvk_varyings_alloc()
127 varyings->buf[buf_idx].size = size; in panvk_varyings_alloc()
/third_party/ltp/testcases/kernel/syscalls/preadv2/
H A Dpreadv201.c39 ssize_t size; member
68 if (TST_RET != tc->size) { in verify_preadv2()
70 TST_RET, tc->size); in verify_preadv2()
74 for (i = 0; i < tc->size; i++) { in verify_preadv2()
79 if (i < tc->size) { in verify_preadv2()
91 tc->size, tc->content); in verify_preadv2()
/third_party/ltp/testcases/kernel/syscalls/preadv/
H A Dpreadv01.c33 ssize_t size; member
58 if (TST_RET != tc->size) { in verify_preadv()
60 TST_RET, tc->size); in verify_preadv()
64 for (i = 0; i < tc->size; i++) { in verify_preadv()
69 if (i < tc->size) { in verify_preadv()
81 "with content '%c' expectedly", tc->size, tc->content); in verify_preadv()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
H A D6-2.c48 ssize_t size = 1024; in main() local
49 char data[size]; in main()
69 memset(data, 'a', size); in main()
70 if (write(fd, data, size) != size) { in main()
75 pa = mmap(NULL, size, PROT_NONE, MAP_SHARED, fd, 0); in main()
/third_party/lz4/tests/
H A Ddatagencli.c71 DISPLAY( " %s [size] [args]\n", programName); in usage()
90 U64 size = SIZE_DEFAULT; in main() local
114 size = strtoull(argument, &argument, 10); in main()
115 if (*argument=='K') { size <<= 10; argument++; } in main()
116 if (*argument=='M') { size <<= 20; argument++; } in main()
117 if (*argument=='G') { size <<= 30; argument++; } in main()
151 RDG_genOut(size, proba, litProba, seed); in main()
/third_party/node/deps/v8/src/codegen/
H A Dcode-comments.cc23 return static_cast<uint32_t>(comment.size() + 1); in comment_length()
26 uint32_t CodeCommentEntry::size() const { in size() function in v8::internal::CodeCommentEntry
41 uint32_t CodeCommentsIterator::size() const { return code_comments_size_; } in size() function in v8::internal::CodeCommentsIterator
63 return current_entry_ < code_comments_start_ + size(); in HasCurrent()
81 byte_count_ += entry.size(); in Add()
85 size_t CodeCommentsWriter::entry_count() const { return comments_.size(); } in entry_count()
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dno_align.rs27 size: [u8; ::__SIZEOF_PTHREAD_MUTEXATTR_T],
35 size: [u8; ::__SIZEOF_PTHREAD_RWLOCKATTR_T],
40 size: [u8; ::__SIZEOF_PTHREAD_CONDATTR_T],
61 size: [u8; ::__SIZEOF_PTHREAD_COND_T],
81 size: [u8; ::__SIZEOF_PTHREAD_MUTEX_T],
101 size: [u8; ::__SIZEOF_PTHREAD_RWLOCK_T],
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiBufferAndImageAllocationUtil.hpp53 VkDeviceSize size,
68 VkDeviceSize size,
83 VkDeviceSize size,
95 virtual void createTestImage (tcu::IVec2 size,
108 virtual void createTestImage (tcu::IVec2 size,
121 virtual void createTestImage (tcu::IVec2 size,
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiBufferAndImageAllocationUtil.hpp50 virtual void createTestBuffer (VkDeviceSize size,
62 virtual void createTestBuffer (VkDeviceSize size,
74 virtual void createTestBuffer (VkDeviceSize size,
86 virtual void createTestImage (tcu::IVec2 size,
99 virtual void createTestImage (tcu::IVec2 size,
112 virtual void createTestImage (tcu::IVec2 size,
/third_party/skia/third_party/externals/spirv-tools/test/fuzzers/
H A Dspvtools_fuzz_fuzzer.cpp23 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { in LLVMFuzzerTestOneInput() argument
24 if (size == 0 || (size % sizeof(uint32_t)) != 0) { in LLVMFuzzerTestOneInput()
25 // An empty binary, or a binary whose size is not a multiple of word-size, in LLVMFuzzerTestOneInput()
30 std::vector<uint32_t> initial_binary(size / sizeof(uint32_t)); in LLVMFuzzerTestOneInput()
31 memcpy(initial_binary.data(), data, size); in LLVMFuzzerTestOneInput()
39 spvtools::fuzzers::RandomGenerator random_gen(data, size); in LLVMFuzzerTestOneInput()
/third_party/skia/third_party/externals/spirv-cross/include/spirv_cross/
H A Dexternal_interface.h36 void spirv_cross_set_stage_input(spirv_cross_shader_t *thiz, unsigned location, void *data, size_t size);
38 void spirv_cross_set_stage_output(spirv_cross_shader_t *thiz, unsigned location, void *data, size_t size);
40 void spirv_cross_set_push_constant(spirv_cross_shader_t *thiz, void *data, size_t size);
42 void spirv_cross_set_uniform_constant(spirv_cross_shader_t *thiz, unsigned location, void *data, size_t size);
44 void spirv_cross_set_resource(spirv_cross_shader_t *thiz, unsigned set, unsigned binding, void **data, size_t size);
56 void spirv_cross_set_builtin(spirv_cross_shader_t *thiz, spirv_cross_builtin builtin, void *data, size_t size);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzzers/
H A Dspvtools_fuzz_fuzzer.cpp23 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { in LLVMFuzzerTestOneInput() argument
24 if (size == 0 || (size % sizeof(uint32_t)) != 0) { in LLVMFuzzerTestOneInput()
25 // An empty binary, or a binary whose size is not a multiple of word-size, in LLVMFuzzerTestOneInput()
30 std::vector<uint32_t> initial_binary(size / sizeof(uint32_t)); in LLVMFuzzerTestOneInput()
31 memcpy(initial_binary.data(), data, size); in LLVMFuzzerTestOneInput()
39 spvtools::fuzzers::RandomGenerator random_gen(data, size); in LLVMFuzzerTestOneInput()
/third_party/skia/third_party/externals/dawn/src/dawn_wire/server/
H A DServerMemoryTransferService_mock.cpp30 size_t size) { in SizeOfSerializeDataUpdate()
31 return mService->OnReadHandleSizeOfSerializeDataUpdate(this, offset, size); in SizeOfSerializeDataUpdate()
36 size_t size, in SerializeDataUpdate()
38 mService->OnReadHandleSerializeDataUpdate(this, data, offset, size, serializePointer); in SerializeDataUpdate()
57 size_t size) { in DeserializeDataUpdate()
61 size); in DeserializeDataUpdate()
29 SizeOfSerializeDataUpdate(size_t offset, size_t size) SizeOfSerializeDataUpdate() argument
34 SerializeDataUpdate(const void* data, size_t offset, size_t size, void* serializePointer) SerializeDataUpdate() argument
53 DeserializeDataUpdate( const void* deserializePointer, size_t deserializeSize, size_t offset, size_t size) DeserializeDataUpdate() argument
H A DServerMemoryTransferService_mock.h32 size_t SizeOfSerializeDataUpdate(size_t offset, size_t size) override;
35 size_t size,
50 size_t size) override;
86 (const ReadHandle* readHandle, size_t offset, size_t size));
92 size_t size,
102 size_t size));
/third_party/skia/third_party/externals/dawn/src/dawn_wire/client/
H A DClientMemoryTransferService_mock.h38 size_t size) override;
52 size_t SizeOfSerializeDataUpdate(size_t offset, size_t size) override;
53 void SerializeDataUpdate(void* serializePointer, size_t offset, size_t size) override;
80 size_t size));
90 (const void* WriteHandle, size_t offset, size_t size));
93 (const void* WriteHandle, void* serializePointer, size_t offset, size_t size));
/third_party/skia/third_party/externals/harfbuzz/test/fuzzing/
H A Dhb-subset-fuzzer.cc46 extern "C" int LLVMFuzzerTestOneInput (const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument
48 alloc_state = size; /* see src/failing-alloc.c */ in LLVMFuzzerTestOneInput()
50 hb_blob_t *blob = hb_blob_create ((const char *) data, size, in LLVMFuzzerTestOneInput()
69 if (size > sizeof (text_from_data) + sizeof (flags)) { in LLVMFuzzerTestOneInput()
71 data + size - sizeof (text_from_data), in LLVMFuzzerTestOneInput()
75 data + size - sizeof (text_from_data) - sizeof (flags), in LLVMFuzzerTestOneInput()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/GSYM/
H A DLineTable.h175 size_t size() const { in size() function in llvm::gsym::LineTable
176 return Lines.size(); in size()
179 assert(i < Lines.size()); in get()
183 assert(i < Lines.size());
199 const auto LHSSize = Lines.size();
200 const auto RHSSize = RHS.Lines.size();
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
H A DGISelWorkList.h44 unsigned size() const { return WorklistMap.size(); } in size() function in llvm::GISelWorkList
67 if (Worklist.size() > N) in finalize()
68 WorklistMap.reserve(Worklist.size()); in finalize()
69 for (unsigned i = 0; i < Worklist.size(); ++i) in finalize()
80 if (WorklistMap.try_emplace(I, Worklist.size()).second) in insert()
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_ref_counted_block.cpp34 dng_ref_counted_block::dng_ref_counted_block (uint32 size) in dng_ref_counted_block() argument
40 Allocate (size); in dng_ref_counted_block()
55 void dng_ref_counted_block::Allocate (uint32 size) in Allocate() argument
60 if (size) in Allocate()
63 fBuffer = malloc (size + sizeof (header)); in Allocate()
72 new (fBuffer) header (size); in Allocate()
/third_party/skia/third_party/externals/expat/expat/xmlwf/
H A Dwin32filemap.c61 DWORD size; in filemap() local
71 size = GetFileSize(f, &sizeHi); in filemap()
72 if (size == (DWORD)-1) { in filemap()
77 if (sizeHi || (size > XML_MAX_CHUNK_LEN)) { in filemap()
82 if (size == 0) { in filemap()
101 processor(p, size, name, arg); in filemap()
/third_party/pulseaudio/speex/libspeexdsp/
H A Dos_support.h51 static inline void *speex_alloc (int size) in speex_alloc() argument
56 return calloc(size,1); in speex_alloc()
62 static inline void *speex_alloc_scratch (int size) in speex_alloc_scratch() argument
65 return calloc(size,1); in speex_alloc_scratch()
71 static inline void *speex_realloc (void *ptr, int size) in speex_realloc() argument
73 return realloc(ptr, size); in speex_realloc()
/third_party/skia/include/core/
H A DSkDataTable.h17 * not required to all be the same size.
32 * Return the size of the index'th entry in the table. The caller must
41 * @param size If non-null, this returns the byte size of this entry. This
44 const void* at(int index, size_t* size = nullptr) const;
47 const T* atT(int index, size_t* size = nullptr) const { in atT()
48 return reinterpret_cast<const T*>(this->at(index, size)); in atT()
56 size_t size; in atStr() local
57 const char* str = this->atT<const char>(index, &size); in atStr()
58 SkASSERT(strlen(str) + 1 == size); in atStr()
[all...]
/third_party/skia/experimental/sktext/tests/
H A DShapedText.cpp46 UnicodeText unicodeText(SkUnicode::Make(), SkSpan<uint16_t>((uint16_t*)utf16.data(), utf16.size())); in UNIX_ONLY_TEST()
49 FontBlock fontBlock(utf16.size(), sk_ref_sp<FontChain>(fontChain)); in UNIX_ONLY_TEST()
55 REPORTER_ASSERT(reporter, logicalRuns.size() == 3); in UNIX_ONLY_TEST()
65 UnicodeText unicodeText(SkUnicode::Make(), SkSpan<uint16_t>((uint16_t*)utf16.data(), utf16.size())); in UNIX_ONLY_TEST()
68 FontBlock fontBlock(utf16.size(), fontChain); in UNIX_ONLY_TEST()
74 REPORTER_ASSERT(reporter, logicalRuns.size() == 3); in UNIX_ONLY_TEST()
/third_party/spirv-tools/test/fuzzers/
H A Dspvtools_fuzz_fuzzer.cpp23 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { in LLVMFuzzerTestOneInput() argument
24 if (size == 0 || (size % sizeof(uint32_t)) != 0) { in LLVMFuzzerTestOneInput()
25 // An empty binary, or a binary whose size is not a multiple of word-size, in LLVMFuzzerTestOneInput()
30 std::vector<uint32_t> initial_binary(size / sizeof(uint32_t)); in LLVMFuzzerTestOneInput()
31 memcpy(initial_binary.data(), data, size); in LLVMFuzzerTestOneInput()
39 spvtools::fuzzers::RandomGenerator random_gen(data, size); in LLVMFuzzerTestOneInput()

Completed in 13 milliseconds

1...<<191192193194195196197198199200>>...1436