Home
last modified time | relevance | path

Searched refs:std (Results 12676 - 12700 of 20229) sorted by relevance

1...<<501502503504505506507508509510>>...810

/third_party/skia/src/core/
H A DSkScalerContext.cpp78 , fTypeface(std::move(typeface)) in SkScalerContext()
328 // Coefficients determined by a gausian where 5 samples = 3 std deviations (0x110 'contrast'). in pack4xHToMask()
362 for (int sample_index = std::max(0, sample_x - 4), coeff_index = sample_index - (sample_x - 4) in pack4xHToMask()
363 ; sample_index < std::min(sample_x + 8, sample_width) in pack4xHToMask()
373 fir[subpxl_index] = std::min(fir[subpxl_index], 255); in pack4xHToMask()
387 r = std::max(r, 10); g = std::max(g, 10); b = std::max(b, 10); in pack4xHToMask()
558 sk_sp<SkMaskFilter> mf = std::move(fMaskFilter); in getImage()
560 fMaskFilter = std in getImage()
[all...]
H A DSkRegion.cpp163 using std::swap; in swap()
926 RgnOper oper(std::min(a_top, b_top), dst, op); in operate()
1047 using std::swap; in Oper()
1330 void SkRegion::dump(std::string& desc, int depth) const { in dump()
1331 std::string split(depth, '\t'); in dump()
1337 desc += split + "\t fBounds.fLeft:" + std::to_string(fBounds.fLeft) + "\n"; in dump()
1338 desc += split + "\t fBounds.fTop:" + std::to_string(fBounds.fTop) + "\n"; in dump()
1339 desc += split + "\t fBounds.fRight:" + std::to_string(fBounds.fRight) + "\n"; in dump()
1340 desc += split + "\t fBounds.fBottom:" + std::to_string(fBounds.fBottom) + "\n"; in dump()
1346 desc += " " + std in dump()
[all...]
/third_party/skia/src/gpu/ops/
H A DDashOp.cpp197 return GrOp::Make<DashOpImpl>(context, std::move(paint), geometry, cap, in Make()
241 , fProcessorSet(std::move(paint)) in DashOpImpl()
319 std::move(appliedClip),
322 std::move(fProcessorSet),
368 halfSrcStroke = std::max(halfSrcStroke, 0.5f / args.fPerpendicularScale);
390 startPts[1].fX = std::min(startPts[0].fX + draw.fIntervals[0] - draw.fPhase,
725 std::unique_ptr<ProgramImpl> makeProgramImpl(const GrShaderCaps&) const override;
863 std::unique_ptr<GrGeometryProcessor::ProgramImpl> DashingCircleEffect::makeProgramImpl( in makeProgramImpl()
865 return std::make_unique<Impl>(); in makeProgramImpl()
927 std
[all...]
/third_party/skia/src/gpu/dawn/
H A DGrDawnGpu.cpp390 width = std::max(1u, width / 2); in uploadTextureData()
391 height = std::max(1u, height / 2); in uploadTextureData()
397 std::array<float, 4> color) { in onClearBackendTexture()
443 w = std::max(1, w / 2); in onClearBackendTexture()
444 h = std::max(1, h / 2); in onClearBackendTexture()
555 fSubmittedStagingBuffers.push_back(std::move(buffer)); in takeOwnershipOfBuffer()
761 int dstWidth = std::max(1, srcWidth / 2); in onRegenerateMipMapLevels()
762 int dstHeight = std::max(1, srcHeight / 2); in onRegenerateMipMapLevels()
828 std::unique_ptr<GrSemaphore> SK_WARN_UNUSED_RESULT GrDawnGpu::makeSemaphore(bool isOwned) { in makeSemaphore()
833 std
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/
H A DX86AsmBackend.cpp44 void operator=(const std::string &Val) { in operator =()
86 cl::opt<X86AlignBranchKind, true, cl::parser<std::string>> X86AlignBranch(
114 std::unique_ptr<const MCInstrInfo> MCII;
683 const uint8_t ThisNopLength = (uint8_t) std::min(Count, MaxNopLength); in writeNopData()
713 std::unique_ptr<MCObjectTargetWriter>
725 std::unique_ptr<MCObjectTargetWriter>
738 std::unique_ptr<MCObjectTargetWriter>
751 std::unique_ptr<MCObjectTargetWriter>
775 std::unique_ptr<MCObjectTargetWriter>
907 StackSize = std in generateCompactUnwindEncodingImpl()
[all...]
/third_party/rust/crates/rust-openssl/openssl/src/x509/
H A Dmod.rs13 use std::cmp::{self, Ordering};
14 use std::convert::{TryFrom, TryInto};
15 use std::error::Error;
16 use std::ffi::{CStr, CString};
17 use std::fmt;
18 use std::marker::PhantomData;
19 use std::mem;
20 use std::net::IpAddr;
21 use std::path::Path;
22 use std
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/
H A DvktRayTracingWatertightnessTests.cpp50 using namespace std;
273 std::ostringstream msg; in checkSupport()
283 std::stringstream css; in initPrograms()
322 std::stringstream css; in initPrograms()
361 std::stringstream css; in initPrograms()
434 std::vector<tcu::Vec3> vertices; in initBottomAccelerationStructure()
435 std::vector<tcu::UVec3> triangles; in initBottomAccelerationStructure()
436 std::vector<tcu::Vec3> geometryData; in initBottomAccelerationStructure()
514 std::vector<tcu::Vec3> vertices; in initBottomAccelerationStructures()
515 std in initBottomAccelerationStructures()
[all...]
/third_party/vk-gl-cts/framework/opengl/
H A DgluTexture.cpp36 using std::vector;
148 catch (const std::exception&) in Texture2D()
218 std::string ext = de::FilePath(levelFileNames[0]).getFileExtension(); in create()
253 catch (const std::exception&) in create()
275 Texture2D* Texture2D::create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const std::vector<std::string>& filenames) in create()
279 std::vector<const char*> charPtrs(filenames.size()); in create()
343 catch (const std::exception&) in TextureCube()
443 std::string ext = de::FilePath(filenames[0]).getFileExtension(); in create()
461 TextureCube* TextureCube::create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const std
[all...]
/third_party/vk-gl-cts/modules/egl/
H A DteglRenderTests.cpp64 using std::string;
65 using std::vector;
66 using std::set;
713 virtual void executeForContexts (EGLDisplay display, EGLSurface surface, const Config& config, const std::vector<std::pair<EGLint, EGLContext> >& contexts);
731 void SingleThreadRenderCase::executeForContexts (EGLDisplay display, EGLSurface surface, const Config& config, const std::vector<std::pair<EGLint, EGLContext> >& contexts) in executeForContexts() argument
850 virtual void executeForContexts (EGLDisplay display, EGLSurface surface, const Config& config, const std::vector<std::pair<EGLint, EGLContext> >& contexts);
877 RenderTestThread (const Library& egl, EGLDisplay display, EGLSurface surface, EGLContext context, EGLint api, const glw::Functions& gl, const Program& program, const std
936 executeForContexts(EGLDisplay display, EGLSurface surface, const Config& config, const std::vector<std::pair<EGLint, EGLContext> >& contexts) executeForContexts() argument
[all...]
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fNegativeShaderApiTests.cpp140 std::vector<deInt32> binaryFormats; in init()
570 std::vector<GLfloat> data(4); in init()
598 std::vector<GLfloat> data(4); in init()
631 std::vector<GLfloat> data(4); in init()
669 std::vector<GLfloat> data(8); in init()
770 std::vector<GLint> data(4); in init()
798 std::vector<GLint> data(4); in init()
825 std::vector<GLint> data(4); in init()
863 std::vector<GLint> data(8); in init()
884 std in init()
[all...]
/third_party/vulkan-loader/tests/
H A Dloader_wsi_tests.cpp183 std::string dev_name = "phys_dev_" + std::to_string(icd); in TEST()
199 std::array<VkPhysicalDevice, max_device_count> phys_devs; in TEST()
366 std::string dev_name = "phys_dev_" + std::to_string(icd); in TEST()
382 std::array<VkPhysicalDevice, max_device_count> phys_devs; in TEST()
549 std::string dev_name = "phys_dev_" + std::to_string(icd); in TEST()
565 std::array<VkPhysicalDevice, max_device_count> phys_devs; in TEST()
732 std in TEST()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageHostImageCopyTests.cpp178 std::vector<vk::VkDrmFormatModifierProperties2EXT> modifiers(drmList.drmFormatModifierCount); in checkSupportedFormatFeatures()
247 void copyMemoryToImage (const std::vector<deUint8> testData, vk::VkImage image, deUint32 texelSize, const vk::VkImageSubresourceLayers subresourceLayers, deInt32 xOffset, deInt32 yOffset, deUint32 width, deUint32 height);
284 void HostImageCopyTestInstance::copyMemoryToImage (const std::vector<deUint8> testData, vk::VkImage image, deUint32 texelSize, const vk::VkImageSubresourceLayers subresourceLayers, deInt32 xOffset, deInt32 yOffset, deUint32 width, deUint32 height) in copyMemoryToImage()
288 std::vector<deUint8> data (texelSize * width * height); in copyMemoryToImage()
295 std::vector<vk::VkMemoryToImageCopyEXT> regions; in copyMemoryToImage()
348 std::stringstream commandsLog; in iterate()
387 std::vector<deUint8> testData (sampledBufferSize); in iterate()
550 const std::vector<vk::VkViewport> viewports { makeViewport(renderArea.extent) }; in iterate()
551 const std::vector<vk::VkRect2D> scissors { makeRect2D(renderArea.extent) }; in iterate()
786 std in iterate()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A Dvk_helpers.h43 using StagingBufferOffsetArray = std::array<VkDeviceSize, 2>;
64 using BufferHelperPointerVector = std::vector<std::unique_ptr<BufferHelper>>;
176 std::unique_ptr<BufferHelper> mBuffer;
274 const std::vector<VkDescriptorPoolSize> &poolSizesIn,
343 std::vector<RefCountedDescriptorPoolHelper *> mDescriptorPools;
344 std::vector<VkDescriptorPoolSize> mPoolSizes;
415 std::vector<PoolResource> mPools;
484 std::array<uint64_t, 2> mResults;
570 // DynamicSemaphorePool allocates semaphores as needed. It uses a std
[all...]
/third_party/skia/src/gpu/geometry/
H A DGrTriangulator.cpp133 static const double kNearZeroLimit = 16 * (double) std::numeric_limits<float>::min(); in double_to_clamped_scalar()
134 if (std::abs(d) < kNearZeroLimit) { in double_to_clamped_scalar()
137 return SkDoubleToScalar(std::max(-kMaxLimit, std::min(d, kMaxLimit))); in double_to_clamped_scalar()
159 int expDiffX = std::abs((std::abs(p0.fX) < 1.f ? 0 : std::ilogbf(p0.fX)) - in edge_line_needs_recursion()
160 (std::abs(p1.fX) < 1.f ? 0 : std::ilogbf(p1.fX))); in edge_line_needs_recursion()
161 int expDiffY = std in edge_line_needs_recursion()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
H A DTargetLowering.h139 using LegalizeKind = std::pair<LegalizeTypeAction, EVT>;
208 using ArgListTy = std::vector<ArgListEntry>;
763 std::fill(std::begin(ValueTypeActions), std::end(ValueTypeActions), in ValueTypeActionImpl()
1204 std::map<std::pair<unsigned, MVT::SimpleValueType>, in getTypeToPromoteTo()
1206 PromoteToType.find(std::make_pair(Op, VT.SimpleTy)); in getTypeToPromoteTo()
1675 std::pair<int, MVT> getTypeLegalizationCost(const DataLayout &DL,
1993 virtual std
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DAPInt.cpp100 unsigned words = std::min<unsigned>(bigVal.size(), getNumWords()); in initFromArray()
272 return std::equal(U.pVal, U.pVal + getNumWords(), RHS.U.pVal); in EqualSlowCase()
635 return std::min(Count, BitWidth);
837 return std::numeric_limits<double>::infinity();
839 return -std::numeric_limits<double>::infinity();
922 std::memcpy(Result.U.pVal, getRawData(), getNumWords() * APINT_WORD_SIZE);
930 std::memset(Result.U.pVal + getNumWords(), isNegative() ? -1 : 0,
946 std::memcpy(Result.U.pVal, getRawData(), getNumWords() * APINT_WORD_SIZE);
949 std::memset(Result.U.pVal + getNumWords(), 0,
1011 std
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAGHVX.cpp104 using MapType = std::map<Node, ColorKind>;
128 std::set<Node> Needed;
130 using NodeSet = std::set<Node>;
131 std::map<Node,NodeSet> Edges;
143 std::pair<bool, ColorKind> getUniqueColor(const NodeSet &Nodes);
150 std::pair<bool, ColorKind> Coloring::getUniqueColor(const NodeSet &Nodes) { in getUniqueColor()
226 std::vector<Node> WorkQ; in color()
319 using Controls = std::vector<uint8_t>;
375 std::vector<ElemType> Order;
376 using RowType = std
[all...]
/third_party/vk-gl-cts/framework/common/
H A DtcuTextureUtil.cpp483 case TextureFormat::SIGNED_INT8: return IVec4(std::numeric_limits<deInt8>::min());
484 case TextureFormat::SIGNED_INT16: return IVec4(std::numeric_limits<deInt16>::min());
485 case TextureFormat::SIGNED_INT32: return IVec4(std::numeric_limits<deInt32>::min());
505 case TextureFormat::SIGNED_INT8: return IVec4(std::numeric_limits<deInt8>::max());
506 case TextureFormat::SIGNED_INT16: return IVec4(std::numeric_limits<deInt16>::max());
507 case TextureFormat::SIGNED_INT32: return IVec4(std::numeric_limits<deInt32>::max());
509 case TextureFormat::SSCALED_INT8: return IVec4(std::numeric_limits<deInt8>::max());
510 case TextureFormat::SSCALED_INT16: return IVec4(std::numeric_limits<deInt16>::max());
530 case TextureFormat::UNSIGNED_INT8: return UVec4(std::numeric_limits<deUint8>::max());
531 case TextureFormat::UNSIGNED_INT16: return UVec4(std
[all...]
/third_party/astc-encoder/Source/
H A Dastcenccli_toplevel.cpp202 std::string target in is_float()
205 std::istringstream stream(target); in is_float()
208 stream >> std::noskipws >> test; in is_float()
218 const std::string& str, in ends_with()
219 const std::string& suffix in ends_with()
294 static std::string get_slice_filename( in get_slice_filename()
295 const std::string& basename, in get_slice_filename()
300 if (sep == std::string::npos) in get_slice_filename()
306 std::string base = basename.substr(0, sep); in get_slice_filename()
307 std in get_slice_filename()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/query_pool/
H A DvktQueryPoolOcclusionTests.cpp57 void setVertices (const vk::DeviceInterface&vk, std::vector<tcu::Vec4> vertices);
139 std::vector<vk::VkImageView> attachments(1); in StateObjects()
199 std::vector<vk::VkImageView> attachments(2); in StateObjects()
251 pipelineCreateInfo.addState(PipelineCreateInfo::ViewportState(1, std::vector<vk::VkViewport>(1, viewport), std::vector<vk::VkRect2D>(1, scissor))); in StateObjects()
266 void StateObjects::setVertices (const vk::DeviceInterface&vk, std::vector<tcu::Vec4> vertices) in setVertices()
271 std::copy(vertices.begin(), vertices.end(), ptr); in setVertices()
370 std::vector<tcu::Vec4> vertices(NUM_VERTICES_IN_DRAWCALL); in BasicOcclusionQueryTestInstance()
404 throw tcu::NotSupportedError(std::string("Implementation doesn't support resetting queries from the host").c_str()); in iterate()
420 std in iterate()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
H A DvktSparseResourcesBufferTests.cpp92 std::vector<AllocationSp> allocations; //!< actual allocated memory
93 std::vector<VkSparseMemoryBind> memoryBinds; //!< memory binds backing the resource
133 std::vector<MemoryBind> m_memoryBinds;
134 std::vector<deUint32> m_chunksPerAllocation;
222 const VkDeviceSize chunkSize = std::max(memoryRequirements.alignment, static_cast<VkDeviceSize>(deAlign64(minChunkSize, memoryRequirements.alignment))); in build()
232 for (std::vector<deUint32>::const_iterator numChunksIter = m_chunksPerAllocation.begin(); numChunksIter != m_chunksPerAllocation.end(); ++numChunksIter) in build()
238 for (std::vector<MemoryBind>::const_iterator memBindIter = m_memoryBinds.begin(); memBindIter != m_memoryBinds.end(); ++memBindIter) in build()
250 referenceCreateInfo.size = std::max(referenceCreateInfo.size, bind.resourceOffset + bind.size); in build()
468 typedef std::map<VkShaderStageFlagBits, const VkSpecializationInfo*> SpecializationMap;
483 const std in Renderer()
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/val/
H A Dvalidate_memory.cpp38 bool HasConflictingMemberOffsets(const std::vector<Decoration>&,
39 const std::vector<Decoration>&);
42 std::initializer_list<uint32_t> allowed) { in IsAllowedTypeOrArrayOfSame()
43 if (std::find(allowed.begin(), allowed.end(), type->opcode()) != in IsAllowedTypeOrArrayOfSame()
50 return std::find(allowed.begin(), allowed.end(), elem_type->opcode()) != in IsAllowedTypeOrArrayOfSame()
108 const std::vector<Decoration>& type1_decorations = in HaveSameLayoutDecorations()
110 const std::vector<Decoration>& type2_decorations = in HaveSameLayoutDecorations()
123 const std::vector<Decoration>& type1_decorations, in HasConflictingMemberOffsets()
124 const std::vector<Decoration>& type2_decorations) { in HasConflictingMemberOffsets()
143 auto i = std in HasConflictingMemberOffsets()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
H A Dvalidate_memory.cpp38 bool HasConflictingMemberOffsets(const std::vector<Decoration>&,
39 const std::vector<Decoration>&);
42 std::initializer_list<uint32_t> allowed) { in IsAllowedTypeOrArrayOfSame()
43 if (std::find(allowed.begin(), allowed.end(), type->opcode()) != in IsAllowedTypeOrArrayOfSame()
50 return std::find(allowed.begin(), allowed.end(), elem_type->opcode()) != in IsAllowedTypeOrArrayOfSame()
108 const std::vector<Decoration>& type1_decorations = in HaveSameLayoutDecorations()
110 const std::vector<Decoration>& type2_decorations = in HaveSameLayoutDecorations()
123 const std::vector<Decoration>& type1_decorations, in HasConflictingMemberOffsets()
124 const std::vector<Decoration>& type2_decorations) { in HasConflictingMemberOffsets()
143 auto i = std in HasConflictingMemberOffsets()
[all...]
/third_party/skia/src/ports/
H A DSkFontHost_FreeType_common.cpp83 r = std::max(r, (U8CPU)0x40); in packTriple()
84 g = std::max(g, (U8CPU)0x40); in packTriple()
85 b = std::max(b, (U8CPU)0x40); in packTriple()
92 gray = std::max(gray, (U8CPU)0x40); in grayToRGB16()
179 using std::swap; in copyFT2LCD16()
249 size_t commonRowBytes = std::min(srcRowBytes, dstRowBytes); in copyFTBitmap()
502 std::vector<SkScalar>& stops, in colrv1_configure_skpaint()
503 std::vector<SkColor>& colors) -> bool { in colrv1_configure_skpaint()
512 std::vector<ColorStop> sorted_stops; in colrv1_configure_skpaint()
536 std in colrv1_configure_skpaint()
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
H A DConverter.cpp35 if (auto* dict = std::get_if<interop::GPUExtent3DDict>(&in)) { in Convert()
41 if (auto* vec = std::get_if<std::vector<interop::GPUIntegerCoordinate>>(&in)) { in Convert()
69 if (auto* dict = std::get_if<interop::GPUColorDict>(&in)) { in Convert()
76 if (auto* vec = std::get_if<std::vector<double>>(&in)) { in Convert()
97 const std::vector<interop::GPUIntegerCoordinate>& in) { in Convert()
146 if (auto* view = std::get_if<interop::ArrayBufferView>(&in)) { in Convert()
147 std::visit( in Convert()
156 if (auto* arr = std in Convert()
[all...]

Completed in 47 milliseconds

1...<<501502503504505506507508509510>>...810