Home
last modified time | relevance | path

Searched refs:size (Results 2151 - 2175 of 21346) sorted by relevance

1...<<81828384858687888990>>...854

/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()
/third_party/vk-gl-cts/framework/delibs/decpp/
H A DdeThreadSafeRingBuffer.hpp42 ThreadSafeRingBuffer (size_t size);
70 ThreadSafeRingBuffer<T>::ThreadSafeRingBuffer (size_t size) in ThreadSafeRingBuffer() argument
71 : m_size (size+1) in ThreadSafeRingBuffer()
76 , m_empty ((int)size) in ThreadSafeRingBuffer()
79 DE_ASSERT(size > 0 && size < 0x7fffffff); in ThreadSafeRingBuffer()
/third_party/skia/modules/skparagraph/tests/
H A DSkParagraphTest.cpp76 for (auto i = text.size(); i > 0; --i) { in mirror()
226 REPORTER_ASSERT(reporter, impl->runs().size() == 1); in UNIX_ONLY_TEST()
227 REPORTER_ASSERT(reporter, impl->styles().size() == 1); // paragraph style does not count in UNIX_ONLY_TEST()
272 REPORTER_ASSERT(reporter, impl->lines().size() == 1); in UNIX_ONLY_TEST()
344 REPORTER_ASSERT(reporter, boxes.size() == 1); in UNIX_ONLY_TEST()
348 REPORTER_ASSERT(reporter, boxes.size() == 1); in UNIX_ONLY_TEST()
356 REPORTER_ASSERT(reporter, boxes.size() == 7); in UNIX_ONLY_TEST()
416 REPORTER_ASSERT(reporter, boxes.size() == 1); in UNIX_ONLY_TEST()
428 REPORTER_ASSERT(reporter, boxes.size() == 1); in UNIX_ONLY_TEST()
472 REPORTER_ASSERT(reporter, boxes.size() in UNIX_ONLY_TEST()
[all...]
/drivers/hdf_core/framework/model/storage/src/mmc/
H A Dsdio_if.c95 int32_t SdioReadBytes(DevHandle handle, uint8_t *data, uint32_t addr, uint32_t size) in SdioReadBytes() argument
105 ret = SdioDeviceIncrAddrReadBytes(sdio, data, addr, size); in SdioReadBytes()
110 int32_t SdioWriteBytes(DevHandle handle, uint8_t *data, uint32_t addr, uint32_t size) in SdioWriteBytes() argument
120 ret = SdioDeviceIncrAddrWriteBytes(sdio, data, addr, size); in SdioWriteBytes()
126 uint32_t addr, uint32_t size, uint32_t scatterLen) in SdioReadBytesFromFixedAddr()
136 ret = SdioDeviceFixedAddrReadBytes(sdio, data, addr, size, scatterLen); in SdioReadBytesFromFixedAddr()
142 uint32_t addr, uint32_t size, uint32_t scatterLen) in SdioWriteBytesToFixedAddr()
152 ret = SdioDeviceFixedAddrWriteBytes(sdio, data, addr, size, scatterLen); in SdioWriteBytesToFixedAddr()
157 int32_t SdioReadBytesFromFunc0(DevHandle handle, uint8_t *data, uint32_t addr, uint32_t size) in SdioReadBytesFromFunc0() argument
167 ret = SdioDeviceFunc0ReadBytes(sdio, data, addr, size); in SdioReadBytesFromFunc0()
125 SdioReadBytesFromFixedAddr(DevHandle handle, uint8_t *data, uint32_t addr, uint32_t size, uint32_t scatterLen) SdioReadBytesFromFixedAddr() argument
141 SdioWriteBytesToFixedAddr(DevHandle handle, uint8_t *data, uint32_t addr, uint32_t size, uint32_t scatterLen) SdioWriteBytesToFixedAddr() argument
172 SdioWriteBytesToFunc0(DevHandle handle, uint8_t *data, uint32_t addr, uint32_t size) SdioWriteBytesToFunc0() argument
[all...]
/third_party/ffmpeg/libavcodec/
H A Dxpmdec.c312 int64_t size; in xpm_decode_frame() local
318 av_fast_padded_malloc(&x->buf, &x->buf_size, avpkt->size); in xpm_decode_frame()
321 memcpy(x->buf, avpkt->data, avpkt->size); in xpm_decode_frame()
322 x->buf[avpkt->size] = 0; in xpm_decode_frame()
325 end = x->buf + avpkt->size; in xpm_decode_frame()
349 size = 1; in xpm_decode_frame()
351 size *= NB_ELEMENTS; in xpm_decode_frame()
353 if (ncolors <= 0 || ncolors > size) { in xpm_decode_frame()
358 if (size > SIZE_MAX / 4) in xpm_decode_frame()
361 size * in xpm_decode_frame()
[all...]
H A Dwcmv.c59 bytestream2_init(&gb, avpkt->data, avpkt->size); in decode_frame()
69 int x = 0, size; in decode_frame() local
72 size = bytestream2_get_le24(&gb); in decode_frame()
74 size = bytestream2_get_le16(&gb); in decode_frame()
76 size = bytestream2_get_byte(&gb); in decode_frame()
79 if (size > avpkt->size - skip) in decode_frame()
83 zstream->avail_in = size; in decode_frame()
100 bytestream2_skip(&gb, size); in decode_frame()
124 zstream->avail_in = avpkt->size in decode_frame()
[all...]
/third_party/ffmpeg/libavformat/
H A Dlibopenmpt.c83 int64_t size; in read_header_openmpt() local
90 size = avio_size(s->pb); in read_header_openmpt()
91 if (size <= 0) in read_header_openmpt()
93 buf = av_malloc(size); in read_header_openmpt()
96 size = avio_read(s->pb, buf, size); in read_header_openmpt()
97 if (size < 0) { in read_header_openmpt()
100 return size; in read_header_openmpt()
105 openmpt->module = openmpt_module_create_from_memory2(buf, size, openmpt_logfunc, s, NULL, NULL, &error, NULL, NULL); in read_header_openmpt()
116 openmpt->module = openmpt_module_create_from_memory(buf, size, openmpt_logfun in read_header_openmpt()
[all...]
H A Dwvdec.c132 int id, size; in wv_read_block_header() local
134 size = (id & 0x80) ? avio_rl24(pb) : avio_r8(pb); in wv_read_block_header()
135 size <<= 1; in wv_read_block_header()
137 size--; in wv_read_block_header()
140 if (size <= 1) { in wv_read_block_header()
146 switch (size - 2) { in wv_read_block_header()
173 "Invalid channel info size %d\n", size); in wv_read_block_header()
178 if (size <= 1) { in wv_read_block_header()
184 if (size) in wv_read_block_header()
[all...]
H A Drtpdec_qt.c65 int num = qt->pkt->size / qt->bytes_per_frame; in qt_rtp_parse_packet()
76 qt->pkt->size = 0; in qt_rtp_parse_packet()
187 if (qt->pkt->size > 0 && qt->timestamp == *timestamp) { in qt_rtp_parse_packet()
189 if ((err = av_reallocp(&qt->pkt->data, qt->pkt->size + alen + in qt_rtp_parse_packet()
191 qt->pkt->size = 0; in qt_rtp_parse_packet()
200 qt->pkt->size = 0; in qt_rtp_parse_packet()
203 memcpy(qt->pkt->data + qt->pkt->size, buf + avio_tell(pb), alen); in qt_rtp_parse_packet()
204 qt->pkt->size += alen; in qt_rtp_parse_packet()
206 int ret = av_packet_from_data(pkt, qt->pkt->data, qt->pkt->size); in qt_rtp_parse_packet()
210 qt->pkt->size in qt_rtp_parse_packet()
[all...]
/third_party/curl/lib/
H A Dmemdebug.c41 size_t size; member
136 size_t size; in curl_dbg_malloc() local
144 size = sizeof(struct memdebug) + wantedsize; in curl_dbg_malloc()
146 mem = (Curl_cmalloc)(size); in curl_dbg_malloc()
148 mem->size = wantedsize; in curl_dbg_malloc()
163 size_t size, user_size; in curl_dbg_calloc() local
173 size = sizeof(struct memdebug) + user_size; in curl_dbg_calloc()
175 mem = (Curl_ccalloc)(1, size); in curl_dbg_calloc()
177 mem->size = user_size; in curl_dbg_calloc()
245 size_t size in curl_dbg_realloc() local
[all...]

Completed in 16 milliseconds

1...<<81828384858687888990>>...854