Home
last modified time | relevance | path

Searched refs:std (Results 10326 - 10350 of 20229) sorted by relevance

1...<<411412413414415416417418419420>>...810

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
H A DvktTessellationUtil.cpp186 inline const T* dataPointer (const std::vector<T>& vec) in dataPointer()
329 std::vector<VkDynamicState> dynamicStates; in build()
462 std::string getTessellationLevelsString (const TessLevels& tessLevels, const TessPrimitiveType primitiveType) in getTessellationLevelsString()
464 std::ostringstream str; in getTessellationLevelsString()
490 std::string getTessellationLevelsString (const float* inner, const float* outer) in getTessellationLevelsString()
502 std::vector<tcu::Vec3> generateReferenceTriangleTessCoords (const SpacingMode spacingMode, in generateReferenceTriangleTessCoords()
508 std::vector<tcu::Vec3> tessCoords; in generateReferenceTriangleTessCoords()
562 std::vector<tcu::Vec3> generateReferenceQuadTessCoords (const SpacingMode spacingMode, in generateReferenceQuadTessCoords()
570 std::vector<tcu::Vec3> tessCoords; in generateReferenceQuadTessCoords()
606 std
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiVersionCheck.cpp56 using namespace std;
81 const ::std::string instanceVersionString = de::toString(instanceVersion.majorNum) + ::std::string(".") + de::toString(instanceVersion.minorNum) + ::std::string(".") + de::toString(instanceVersion.patchNum); in iterate()
83 const ::std::string deviceVersionString = de::toString(deviceVersion.majorNum) + ::std::string(".") + de::toString(deviceVersion.minorNum) + ::std::string(".") + de::toString(deviceVersion.patchNum); in iterate()
85 const ::std::string usedApiVersionString = de::toString(usedApiVersion.majorNum) + ::std::string(".") + de::toString(usedApiVersion.minorNum) + ::std in iterate()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
H A DesextcTextureCubeMapArrayStencilAttachments.cpp346 std::string geometry_shader_code; in buildAndUseProgram()
348 std::stringstream max_vertices_sstream; in buildAndUseProgram()
349 std::stringstream n_iterations_sstream; in buildAndUseProgram()
637 std::string TextureCubeMapArrayStencilAttachments::getGeometryShaderCode(const std::string& max_vertices, in getGeometryShaderCode()
638 const std::string& n_layers) in getGeometryShaderCode()
641 std::string m_geometry_shader_template = "${VERSION}\n" in getGeometryShaderCode()
671 std::string template_name = "<-MAX-VERTICES->"; in getGeometryShaderCode()
672 std::size_t template_position = m_geometry_shader_template.find(template_name); in getGeometryShaderCode()
674 while (template_position != std in getGeometryShaderCode()
[all...]
/third_party/skia/src/gpu/gl/
H A DGrGLUtil.cpp373 static std::tuple<GrGLDriver, GrGLDriverVersion> get_driver_and_version(GrGLStandard standard, in get_driver_and_version()
553 static std::tuple<GrGLANGLEBackend, SkString> get_angle_backend(const char* rendererString) { in get_angle_backend()
564 return {GrGLANGLEBackend::kD3D11, std::move(innerString)}; in get_angle_backend()
566 return {GrGLANGLEBackend::kD3D9, std::move(innerString)}; in get_angle_backend()
568 return {GrGLANGLEBackend::kOpenGL, std::move(innerString)}; in get_angle_backend()
574 static std::tuple<GrGLVendor, GrGLRenderer, GrGLDriver, GrGLDriverVersion>
605 static std::tuple<GrGLVendor, GrGLRenderer, GrGLDriver, GrGLDriverVersion>
682 std::tie(info.fDriver, info.fDriverVersion) = get_driver_and_version(interface->fStandard, in GrGLGetDriverInfo()
689 std::tie(info.fANGLEBackend, innerAngleRendererString) = get_angle_backend(renderer); in GrGLGetDriverInfo()
693 std in GrGLGetDriverInfo()
[all...]
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
H A DDrawTester.cpp111 std::vector<vk::AttachmentDescription> attachments(multisample ? 2 : 1); in createRenderPass()
161 std::array<vk::SubpassDependency, 2> dependencies; in createRenderPass()
209 std::vector<vk::DescriptorSetLayout> setLayouts; in createGraphicsPipeline()
252 std::vector<vk::DynamicState> dynamicStateEnables; in createGraphicsPipeline()
280 std::array<vk::PipelineShaderStageCreateInfo, 2> shaderStages; in createGraphicsPipeline()
332 std::vector<vk::DescriptorSet> descriptorSets; in createCommandBuffers()
335 std::array<vk::DescriptorPoolSize, 1> poolSizes = {}; in createCommandBuffers()
346 std::vector<vk::DescriptorSetLayout> layouts(1, descriptorSetLayout); in createCommandBuffers()
370 clearValues[0].color = vk::ClearColorValue(std::array<float, 4>{ 0.5f, 0.5f, 0.5f, 1.0f }); in createCommandBuffers()
408 void DrawTester::addVertexBuffer(void *vertexBufferData, size_t vertexBufferDataSize, size_t vertexSize, std
[all...]
/third_party/skia/tests/
H A DTransferPixelsTest.cpp52 std::fill_n(tolerances, 4, 0); in determine_tolerances()
61 auto m = std::min(descA[i], descB[i]); in determine_tolerances()
81 std::fill_n(tolerances, 4, 0); in read_pixels_from_texture()
84 std::unique_ptr<char[]> tmpPixels(new char[tmpRowBytes * h]); in read_pixels_from_texture()
161 std::unique_ptr<char[]> srcData(new char[kTexDims.fHeight * srcRowBytes]); in basic_transfer_to_test()
195 std::unique_ptr<char[]> dstBuffer(new char[dstRowBytes * kTexDims.fHeight]()); in basic_transfer_to_test()
205 auto error = std::function<ComparePixmapsErrorReporter>( in basic_transfer_to_test()
310 std::unique_ptr<char[]> textureData(new char[kTexDims.fHeight * textureDataRowBytes]); in basic_transfer_from_test()
354 bufferSize = std::max(bufferSize, in basic_transfer_from_test()
392 std in basic_transfer_from_test()
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DTextureViewTests.cpp155 std::vector<RGBA8> data(kPaddedTexWidth * texHeight, RGBA8(0, 0, 0, pixelValue)); in initTexture()
278 std::string CreateFragmentShaderForCubeMapFace(uint32_t layer, bool isCubeMapArray) {
280 const std::array<std::string, 6> kCoordsToCubeMapFace = {{
289 const std::string textureType = isCubeMapArray ? "texture_cube_array" : "texture_cube";
291 const std::string coordToCubeMapFace = kCoordsToCubeMapFace[layer % 6];
293 std::ostringstream stream;
340 const std::string& fragmentShader =
528 uint32_t textureViewWidth = std::max(1u, textureWidthLevel0 >> textureViewBaseLevel);
529 uint32_t textureViewHeight = std
[all...]
/third_party/skia/third_party/externals/sfntly/cpp/src/test/tinyxml/
H A Dtinyxml.cpp534 TiXmlElement::TiXmlElement( const std::string& _value ) in TiXmlElement()
587 const std::string* TiXmlElement::Attribute( const std::string& name ) const in Attribute()
613 const std::string* TiXmlElement::Attribute( const std::string& name, int* i ) const in Attribute()
616 const std::string* result = 0; in Attribute()
645 const std::string* TiXmlElement::Attribute( const std::string& name, double* d ) const in Attribute()
648 const std::string* result = 0; in Attribute()
710 int TiXmlElement::QueryIntAttribute( const std
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp45 const std::string GENERATE_STUBS = "gs";
201 static std::unique_ptr<AVROperand> CreateToken(StringRef Str, SMLoc S) { in CreateToken()
202 return std::make_unique<AVROperand>(Str, S); in CreateToken()
205 static std::unique_ptr<AVROperand> CreateReg(unsigned RegNum, SMLoc S, in CreateReg()
207 return std::make_unique<AVROperand>(RegNum, S, E); in CreateReg()
210 static std::unique_ptr<AVROperand> CreateImm(const MCExpr *Val, SMLoc S, in CreateImm()
212 return std::make_unique<AVROperand>(Val, S, E); in CreateImm()
215 static std::unique_ptr<AVROperand>
217 return std::make_unique<AVROperand>(RegNum, Val, S, E); in CreateMemri()
464 std in tryParseRelocExpression()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsELFObjectWriter.cpp68 std::vector<ELFRelocationEntry> &Relocs) override;
82 /// d2 when the predicate is false. This is essentially both std::copy_if and
83 /// std::remove_copy_if combined into a single pass.
85 static std::pair<OutputIt1, OutputIt2> copy_if_else(InputIt First, InputIt Last, in copy_if_else()
98 return std::make_pair(d1, d2); in copy_if_else()
108 /// This is similar to std::find_if but finds the best of multiple possible
118 LLVM_DEBUG(dbgs() << std::distance(First, I) << " is a match ("; in find_best()
455 std::vector<ELFRelocationEntry> &Relocs) { in sortRelocs()
471 std::list<MipsRelocationEntry> Sorted; in sortRelocs()
472 std in sortRelocs()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/status/
H A Dstatus_test.cc30 std::ostringstream oss; in TEST()
81 std::string message = in TEST()
149 using PayloadsVec = std::vector<std::pair<std::string, absl::Cord>>;
234 result.push_back(std::make_pair(std::string(type_url), payload)); in AllVisitedPayloads()
262 std::vector<absl::Status> scratch; in TEST()
401 absl::Status copy2(std::move(status)); in TEST()
422 assignee = std in TEST()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
H A Dinlined_vector_exception_safety_test.cc48 // In GCC, if an element of a `std::initializer_list` throws during construction
54 ? std::initializer_list<T>{T(0, testing::nothrow_ctor), \
63 : std::initializer_list<T>{T(0, testing::nothrow_ctor), \
129 if (vec->data() != std::addressof(vec->at(0))) return false; in InlinedVectorInvariants()
134 if (std::distance(vec->begin(), vec->end()) != vec->size()) return false; in InlinedVectorInvariants()
197 std::array<value_type, size> arr{}; in TYPED_TEST()
249 *vec = std::move(other_vec); in TYPED_TEST()
262 std::array<value_type, to_size> arr{}; in TYPED_TEST()
348 std::array<value_type, count> arr{}; in TYPED_TEST()
353 std in TYPED_TEST()
[all...]
/third_party/skia/modules/svg/src/
H A DSkSVGAttributeParser.cpp307 *iriResult = SkSVGFuncIRI(std::move(iri));
766 *dashArray = SkSVGDashArray(std::move(dashes));
815 static constexpr std::tuple<const char*, SkSVGFontStyle::Type> gStyleMap[] = {
836 static constexpr std::tuple<const char*, SkSVGFontWeight::Type> gWeightMap[] = {
867 static constexpr std::tuple<const char*, SkSVGTextAnchor::Type> gAnchorMap[] = {
887 static constexpr std::tuple<const char*, SkSVGPreserveAspectRatio::Align> gAlignMap[] = {
900 static constexpr std::tuple<const char*, SkSVGPreserveAspectRatio::Scale> gScaleMap[] = {
929 bool SkSVGAttributeParser::parseList(std::vector<T>* vals) {
947 bool SkSVGAttributeParser::parse(std::vector<SkSVGLength>* lengths) {
952 bool SkSVGAttributeParser::parse(std
[all...]
/third_party/rust/crates/nix/test/
H A Dtest_fcntl.rs23 use std::fs::File;
25 use std::io::prelude::*;
27 use std::os::unix::fs;
233 use std::io::prelude::*;
234 use std::io::IoSlice;
235 use std::os::unix::prelude::*;
381 use std::mem; in test_ofd_write_lock()
419 use std::mem; in test_ofd_read_lock()
454 use std::{fs::File, io::BufReader}; in lock_info()
488 use std
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fPixelBufferObjectTests.cpp44 using std::string;
45 using std::stringstream;
166 std::istringstream extensions(std::string((const char*)glGetString(GL_EXTENSIONS))); in init()
167 std::string extension; in init()
169 while (std::getline(extensions, extension, ' ')) in init()
187 std::istringstream extensions(std::string((const char*)glGetString(GL_EXTENSIONS))); in init()
188 std::string extension; in init()
190 while (std in init()
[all...]
/third_party/vk-gl-cts/modules/glshared/
H A DglsVertexArrayTests.hpp143 static std::string targetToString (Target target);
144 static std::string inputTypeToString (InputType type);
145 static std::string outputTypeToString (OutputType type);
146 static std::string usageTypeToString (Usage usage);
147 static std::string storageToString (Storage storage);
148 static std::string primitiveToString (Primitive primitive);
195 static std::string outputTypeToGLType (Array::OutputType type);
232 std::vector<ContextArray*> m_arrays;
471 std::string getName (void) const;
472 std
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
H A DvktTessellationUtil.cpp194 inline const T* dataPointer (const std::vector<T>& vec) in dataPointer()
337 std::vector<VkDynamicState> dynamicStates; in build()
470 std::string getTessellationLevelsString (const TessLevels& tessLevels, const TessPrimitiveType primitiveType) in getTessellationLevelsString()
472 std::ostringstream str; in getTessellationLevelsString()
498 std::string getTessellationLevelsString (const float* inner, const float* outer) in getTessellationLevelsString()
510 std::vector<tcu::Vec3> generateReferenceTriangleTessCoords (const SpacingMode spacingMode, in generateReferenceTriangleTessCoords()
516 std::vector<tcu::Vec3> tessCoords; in generateReferenceTriangleTessCoords()
570 std::vector<tcu::Vec3> generateReferenceQuadTessCoords (const SpacingMode spacingMode, in generateReferenceQuadTessCoords()
578 std::vector<tcu::Vec3> tessCoords; in generateReferenceQuadTessCoords()
614 std
[all...]
/third_party/vk-gl-cts/framework/opengl/
H A DgluTextureTestUtil.hpp194 void computeQuadTexCoord1D (std::vector<float>& dst, float left, float right);
195 void computeQuadTexCoord1DArray (std::vector<float>& dst, int layerNdx, float left, float right);
196 void computeQuadTexCoord2D (std::vector<float>& dst, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight);
197 void computeQuadTexCoord2D (std::vector<float>& dst, const tcu::IVec2& bottomLeft, const tcu::IVec2& topRight);
198 void computeQuadTexCoord2DArray (std::vector<float>& dst, int layerNdx, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight);
199 void computeQuadTexCoord3D (std::vector<float>& dst, const tcu::Vec3& p0, const tcu::Vec3& p1, const tcu::IVec3& dirSwz);
200 void computeQuadTexCoordCube (std::vector<float>& dst, tcu::CubeFace face);
201 void computeQuadTexCoordCube (std::vector<float>& dst, tcu::CubeFace face, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight);
202 void computeQuadTexCoordCubeArray (std::vector<float>& dst, tcu::CubeFace face, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight, const tcu::Vec2& layerRange);
437 std
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineMultisampledRenderToSingleSampledTests.cpp207 std::vector<PerPass> perPass;
347 std::vector<PipelineSp> computePipelines;
348 std::vector<MovePtr<GraphicsPipelineWrapper>> graphicsPipelines;
349 std::vector<Move<VkDescriptorPool>> descriptorPools;
350 std::vector<Move<VkDescriptorSet>> descriptorSets;
351 std::vector<Move<VkRenderPass>> renderPasses;
352 std::vector<Move<VkFramebuffer>> framebuffers;
439 std::vector<VkVertexInputBindingDescription> vertexInputBindingDescriptions; in makeGraphicsPipeline()
440 std::vector<VkVertexInputAttributeDescription> vertexInputAttributeDescriptions; in makeGraphicsPipeline()
466 const std in makeGraphicsPipeline()
[all...]
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
H A Dvulkan_raii.hpp27 return std::exchange<T>( obj, std::forward<U>( newValue ) ); in exchange()
29 T oldValue = std::move( obj ); in exchange()
30 obj = std::forward<U>( newValue ); in exchange()
68 InstanceDispatcher( std::nullptr_t ) : DispatchLoaderBase( nullptr ) {} in InstanceDispatcher()
685 DeviceDispatcher( std::nullptr_t ) : DispatchLoaderBase( nullptr ) {} in DeviceDispatcher()
2231 : m_dynamicLoader( std::move( rhs.m_dynamicLoader ) )
2232 , m_dispatcher( std::move( rhs.m_dispatcher ) ) in move()
2239 m_dynamicLoader = std::move( rhs.m_dynamicLoader );
2240 m_dispatcher = std
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fGeometryShaderTests.cpp118 static std::string specializeShader (const std::string& shaderSource, const glu::ContextType& contextType) in specializeShader()
122 std::map<std::string, std::string> args; in specializeShader()
138 std::string inputTypeToGLString (rr::GeometryShaderInputType inputType) in inputTypeToGLString()
153 std::string outputTypeToGLString (rr::GeometryShaderOutputType outputType) in outputTypeToGLString()
166 std::string primitiveTypeToString (GLenum primitive) in primitiveTypeToString()
192 std::vector<int> pattern;
217 std
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
H A DvktDynamicRenderingTests.cpp164 std::vector<VkClearAttachment> colorDepthClear1;
165 std::vector<VkClearAttachment> colorDepthClear2;
266 inline VkDeviceSize sizeInBytes (const std::vector<T>& vec) in sizeInBytes()
418 std::vector<VkPipelineColorBlendAttachmentState> colorBlendAttachmentState; in makeGraphicsPipeline()
705 const std::vector<VkImageView>& attachmentBindInfos,
714 const std::vector<VkImageView>& attachmentBindInfos,
747 std::vector<tcu::TextureLevel> m_referenceImages;
783 std::vector<VkImageView> attachmentBindInfos; in iterate()
873 std::vector<Vec4> vertices; in initialize()
899 deMemcpy(m_vertexBuffer->getBoundMemory().getHostPtr(), vertices.data(), static_cast<std in initialize()
[all...]
/third_party/node/deps/openssl/openssl/crypto/poly1305/asm/
H A Dpoly1305-sparcv9.pl477 std $two0,[$ctx+8*0] ! initial hash value, biased 0
478 std $two32,[$ctx+8*1]
479 std $two64,[$ctx+8*2]
480 std $two96,[$ctx+8*3]
488 std $two0,[$ctx+8*4] ! key "template"
489 std $two32,[$ctx+8*5]
490 std $two64,[$ctx+8*6]
491 std $two96,[$ctx+8*7]
561 std $h0hi,[$ctx+8*5] ! r0hi
563 std
[all...]
/third_party/openssl/crypto/poly1305/asm/
H A Dpoly1305-sparcv9.pl477 std $two0,[$ctx+8*0] ! initial hash value, biased 0
478 std $two32,[$ctx+8*1]
479 std $two64,[$ctx+8*2]
480 std $two96,[$ctx+8*3]
488 std $two0,[$ctx+8*4] ! key "template"
489 std $two32,[$ctx+8*5]
490 std $two64,[$ctx+8*6]
491 std $two96,[$ctx+8*7]
561 std $h0hi,[$ctx+8*5] ! r0hi
563 std
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
H A DvktTextureTestUtil.cpp158 void initializePrograms (vk::SourceCollections& programCollection, glu::Precision texCoordPrecision, const std::vector<Program>& programs, const char* texCoordSwizzle, glu::Precision fragOutputPrecision, bool unnormal) in initializePrograms()
194 for (std::vector<Program>::const_iterator programIt = programs.begin(); programIt != programs.end(); ++programIt) in initializePrograms()
197 std::map<std::string, std::string> params; in initializePrograms()
213 const std::string version = glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450); in initializePrograms()
237 params["TEXCOORD_SWZ"] = std::string(".") + texCoordSwizzle; in initializePrograms()
240 std::string lookup; in initializePrograms()
242 std::string texture = unnormal ? "textureLod" : "texture"; in initializePrograms()
243 std in initializePrograms()
[all...]

Completed in 49 milliseconds

1...<<411412413414415416417418419420>>...810