/third_party/vk-gl-cts/modules/egl/ |
H A D | teglResizeTests.cpp | 117 void resize (IVec2 size); 184 << "Created initial surface with size " << m_oldSize in init() 210 void ResizeTest::resize (IVec2 size) in resize() argument 212 m_nativeWindow->setSurfaceSize(size); in resize() 215 << "Resized surface to size " << size in resize() 229 void drawRectangle (const glw::Functions& gl, IVec2 pos, IVec2 size, Vec3 color) in drawRectangle() argument 232 gl.scissor(pos.x(), pos.y(), size.x(), size.y()); in drawRectangle() 306 Surface readSurface (const glw::Functions& gl, IVec2 size) in readSurface() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | ResourceManager11.cpp | 26 // A hard limit on buffer size. This works around a problem in the NVIDIA drivers where buffer sizes 117 // Force buffers to be limited to a fixed max size. in CreateResource() 131 return device->CreateComputeShader(desc->get(), desc->size(), nullptr, resourceOut); in CreateResource() 158 desc->get(), desc->size(), initData->data(), static_cast<UINT>(initData->size()), in CreateResource() 163 return device->CreateGeometryShader(desc->get(), desc->size(), nullptr, resourceOut); in CreateResource() 172 return device->CreateInputLayout(desc->get(), static_cast<UINT>(desc->size()), initData->get(), in CreateResource() 173 initData->size(), resourceOut); in CreateResource() 181 return device->CreatePixelShader(desc->get(), desc->size(), nullptr, resourceOut); in CreateResource() 253 return device->CreateVertexShader(desc->get(), desc->size(), nullpt in CreateResource() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
H A D | vktRenderPassMultisampleResolveTests.cpp | 330 std::vector<AllocationSp> memory (images.size()); in createImageMemory() 332 for (size_t memoryNdx = 0; memoryNdx < memory.size(); memoryNdx++) in createImageMemory() 348 std::vector<VkImageViewSp> views (images.size()); in createImageViews() 358 for (size_t imageNdx = 0; imageNdx < images.size(); imageNdx++) in createImageViews() 386 VkDeviceSize size = 0; in createBuffers() local 391 size += (width * height); in createBuffers() 406 size * totalLayers() * pixelSize, in createBuffers() 414 for (size_t bufferNdx = 0; bufferNdx < buffers.size(); bufferNdx++) in createBuffers() 425 std::vector<de::SharedPtr<Allocation> > memory (buffers.size()); in createBufferMemory() 427 for (size_t memoryNdx = 0; memoryNdx < memory.size(); memoryNd in createBufferMemory() 2357 const VkDescriptorPoolSize size = createDescriptorPool() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
H A D | vktRenderPassMultisampleResolveTests.cpp | 326 std::vector<AllocationSp> memory (images.size()); in createImageMemory() 328 for (size_t memoryNdx = 0; memoryNdx < memory.size(); memoryNdx++) in createImageMemory() 344 std::vector<VkImageViewSp> views (images.size()); in createImageViews() 354 for (size_t imageNdx = 0; imageNdx < images.size(); imageNdx++) in createImageViews() 382 VkDeviceSize size = 0; in createBuffers() local 387 size += (width * height); in createBuffers() 402 size * m_layerCount * pixelSize, in createBuffers() 410 for (size_t bufferNdx = 0; bufferNdx < buffers.size(); bufferNdx++) in createBuffers() 421 std::vector<de::SharedPtr<Allocation> > memory (buffers.size()); in createBufferMemory() 423 for (size_t memoryNdx = 0; memoryNdx < memory.size(); memoryNd in createBufferMemory() 2344 const VkDescriptorPoolSize size = createDescriptorPool() local [all...] |
/third_party/node/deps/ada/ |
H A D | ada.cpp | 44 if (view.size() == 1) { 52 if (view.size() == 2) { 93 for (; i + 7 < input.size(); i += 8) { 103 for (; i < input.size(); i++) { 112 if (input.size() > 254) return false; 113 } else if (input.size() > 253) 117 while (start < input.size()) { 120 if (dot_location == std::string_view::npos) dot_location = input.size(); 2738 uint32_t len = std::size(table); 2821 answer.reserve(input.size()); [all...] |
/device/soc/rockchip/rk2206/hardware/include/lz_hardware/ |
H A D | flash.h | 26 * @brief Get flash block size. 28 * This function get flash block size. 30 * @return Returns flash block size if the size is got successfully; 41 * @param size Indicates the length of the data to read. 46 unsigned int FlashRead(unsigned int flashOffset, unsigned int size, unsigned char *ramData); 54 * @param size Indicates the length of the data to write. 57 * Note: if doErase is set, size should be divided by block size(4K). 61 unsigned int FlashWrite(unsigned int flashOffset, unsigned int size, [all...] |
/third_party/ffmpeg/libavutil/tests/ |
H A D | file.c | 26 size_t size; in main() local 27 if (av_file_map("file.c", &buf, &size, 0, NULL) < 0) in main() 32 av_file_unmap(buf, size); in main()
|
/third_party/mbedtls/tests/configs/ |
H A D | user-config-malloc-0-null.h | 12 static inline void *custom_calloc(size_t nmemb, size_t size) in custom_calloc() argument 14 if (nmemb == 0 || size == 0) { in custom_calloc() 17 return calloc(nmemb, size); in custom_calloc()
|
/third_party/ltp/testcases/kernel/syscalls/epoll_create/ |
H A D | epoll_create.h | 11 static int do_epoll_create(int size) in do_epoll_create() argument 15 return tst_syscall(__NR_epoll_create, size); in do_epoll_create() 18 return epoll_create(size); in do_epoll_create()
|
/third_party/ltp/tools/sparse/sparse-src/validation/ |
H A D | builtin-prototype.c | 1 void memcpy(void *dst, const void *src, unsigned int size); 2 void memcpy(void *dst, const void *src, unsigned int size) in memcpy() argument 4 __builtin_memcpy(dst, src, size); in memcpy()
|
/third_party/skia/fuzz/oss_fuzz/ |
H A D | FuzzRegionOp.cpp | 12 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { in LLVMFuzzerTestOneInput() argument 13 if (size > 8000) { in LLVMFuzzerTestOneInput() 16 auto fuzz = Fuzz(SkData::MakeWithoutCopy(data, size)); in LLVMFuzzerTestOneInput()
|
H A D | FuzzDrawFunctions.cpp | 12 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { in LLVMFuzzerTestOneInput() argument 13 if (size > 4000) { in LLVMFuzzerTestOneInput() 16 auto fuzz = Fuzz(SkData::MakeWithoutCopy(data, size)); in LLVMFuzzerTestOneInput()
|
H A D | FuzzDDLThreading.cpp | 12 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { in LLVMFuzzerTestOneInput() argument 13 if (size > 4000) { in LLVMFuzzerTestOneInput() 16 auto fuzz = Fuzz(SkData::MakeWithoutCopy(data, size)); in LLVMFuzzerTestOneInput()
|
H A D | FuzzJPEGEncoder.cpp | 12 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { in LLVMFuzzerTestOneInput() argument 13 if (size > 262150) { in LLVMFuzzerTestOneInput() 16 auto fuzz = Fuzz(SkData::MakeWithoutCopy(data, size)); in LLVMFuzzerTestOneInput()
|
H A D | FuzzGradients.cpp | 12 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { in LLVMFuzzerTestOneInput() argument 13 if (size > 4000) { in LLVMFuzzerTestOneInput() 16 auto fuzz = Fuzz(SkData::MakeWithoutCopy(data, size)); in LLVMFuzzerTestOneInput()
|
H A D | FuzzRasterN32Canvas.cpp | 14 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { in LLVMFuzzerTestOneInput() argument 15 if (size > 4000) { in LLVMFuzzerTestOneInput() 19 auto fuzz = Fuzz(SkData::MakeWithoutCopy(data, size)); in LLVMFuzzerTestOneInput()
|
H A D | FuzzNullCanvas.cpp | 14 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { in LLVMFuzzerTestOneInput() argument 15 if (size > 4000) { in LLVMFuzzerTestOneInput() 19 auto fuzz = Fuzz(SkData::MakeWithoutCopy(data, size)); in LLVMFuzzerTestOneInput()
|
H A D | FuzzPathMeasure.cpp | 12 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { in LLVMFuzzerTestOneInput() argument 13 if (size > 4000) { in LLVMFuzzerTestOneInput() 16 auto fuzz = Fuzz(SkData::MakeWithoutCopy(data, size)); in LLVMFuzzerTestOneInput()
|
H A D | FuzzPNGEncoder.cpp | 12 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { in LLVMFuzzerTestOneInput() argument 13 if (size > 262150) { in LLVMFuzzerTestOneInput() 16 auto fuzz = Fuzz(SkData::MakeWithoutCopy(data, size)); in LLVMFuzzerTestOneInput()
|
H A D | FuzzPolyUtils.cpp | 12 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { in LLVMFuzzerTestOneInput() argument 13 if (size > 4000) { in LLVMFuzzerTestOneInput() 16 auto fuzz = Fuzz(SkData::MakeWithoutCopy(data, size)); in LLVMFuzzerTestOneInput()
|
H A D | FuzzPathop.cpp | 12 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { in LLVMFuzzerTestOneInput() argument 13 if (size > 4000) { in LLVMFuzzerTestOneInput() 16 auto fuzz = Fuzz(SkData::MakeWithoutCopy(data, size)); in LLVMFuzzerTestOneInput()
|
H A D | FuzzAPIImageFilter.cpp | 12 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { in LLVMFuzzerTestOneInput() argument 13 if (size > 4000) { in LLVMFuzzerTestOneInput() 16 auto fuzz = Fuzz(SkData::MakeWithoutCopy(data, size)); in LLVMFuzzerTestOneInput()
|
H A D | FuzzSkParagraph.cpp | 14 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { in LLVMFuzzerTestOneInput() argument 15 if (size > 4000) { in LLVMFuzzerTestOneInput() 18 auto fuzz = Fuzz(SkData::MakeWithoutCopy(data, size)); in LLVMFuzzerTestOneInput()
|
H A D | FuzzTriangulation.cpp | 12 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { in LLVMFuzzerTestOneInput() argument 13 if (size > 4000) { in LLVMFuzzerTestOneInput() 16 auto fuzz = Fuzz(SkData::MakeWithoutCopy(data, size)); in LLVMFuzzerTestOneInput()
|
H A D | FuzzWEBPEncoder.cpp | 12 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { in LLVMFuzzerTestOneInput() argument 13 if (size > 262150) { in LLVMFuzzerTestOneInput() 16 auto fuzz = Fuzz(SkData::MakeWithoutCopy(data, size)); in LLVMFuzzerTestOneInput()
|