/third_party/skia/third_party/externals/spirv-tools/source/val/ |
H A D | validate_arithmetics.cpp | 414 std::vector<uint32_t> result_types; in ArithmeticsPass() 488 std::tuple<bool, bool, uint32_t> A_scope, B_scope, C_scope, D_scope, in ArithmeticsPass() 506 const auto notEqual = [](std::tuple<bool, bool, uint32_t> X, in ArithmeticsPass() 507 std::tuple<bool, bool, uint32_t> Y) { in ArithmeticsPass() 508 return (std::get<1>(X) && std::get<1>(Y) && in ArithmeticsPass() 509 std::get<2>(X) != std::get<2>(Y)); in ArithmeticsPass()
|
/third_party/skia/third_party/externals/spirv-tools/test/util/ |
H A D | small_vector_test.cpp | 88 std::vector<uint32_t> vec1 = {0, 1, 2, 3}; in TEST() 102 std::vector<uint32_t> vec1 = {0, 1, 2, 3}; in TEST() 117 SmallVector<uint32_t, 6> vec2(std::move(vec1)); in TEST() 130 SmallVector<uint32_t, 2> vec2(std::move(vec1)); in TEST() 142 std::vector<uint32_t> vec1 = {0, 1, 2, 3}; in TEST() 143 SmallVector<uint32_t, 6> vec2(std::move(vec1)); in TEST() 155 std::vector<uint32_t> vec1 = {0, 1, 2, 3}; in TEST() 156 SmallVector<uint32_t, 2> vec2(std::move(vec1)); in TEST()
|
/third_party/skia/src/gpu/gl/builders/ |
H A D | GrGLProgramBuilder.cpp | 124 fAttributes = std::make_unique<GrGLProgram::Attribute[]>( in computeCountsAndStrides() 212 static void ApplyAdvancedFilter(std::string& glsl) in ApplyAdvancedFilter() 357 std::unique_ptr<SkSL::Program> fs = GrSkSLtoGLSL(this->gpu(), in finalize() 389 std::unique_ptr<SkSL::Program> vs = GrSkSLtoGLSL(this->gpu(), in finalize() 540 std::move(fGPImpl), in createProgram() 541 std::move(fXPImpl), in createProgram() 542 std::move(fFPImpls), in createProgram() 543 std::move(fAttributes), in createProgram()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
H A D | validate_arithmetics.cpp | 414 std::vector<uint32_t> result_types; in ArithmeticsPass() 488 std::tuple<bool, bool, uint32_t> A_scope, B_scope, C_scope, D_scope, in ArithmeticsPass() 506 const auto notEqual = [](std::tuple<bool, bool, uint32_t> X, in ArithmeticsPass() 507 std::tuple<bool, bool, uint32_t> Y) { in ArithmeticsPass() 508 return (std::get<1>(X) && std::get<1>(Y) && in ArithmeticsPass() 509 std::get<2>(X) != std::get<2>(Y)); in ArithmeticsPass()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/util/ |
H A D | small_vector_test.cpp | 88 std::vector<uint32_t> vec1 = {0, 1, 2, 3}; in TEST() 102 std::vector<uint32_t> vec1 = {0, 1, 2, 3}; in TEST() 117 SmallVector<uint32_t, 6> vec2(std::move(vec1)); in TEST() 130 SmallVector<uint32_t, 2> vec2(std::move(vec1)); in TEST() 142 std::vector<uint32_t> vec1 = {0, 1, 2, 3}; in TEST() 143 SmallVector<uint32_t, 6> vec2(std::move(vec1)); in TEST() 155 std::vector<uint32_t> vec1 = {0, 1, 2, 3}; in TEST() 156 SmallVector<uint32_t, 2> vec2(std::move(vec1)); in TEST()
|
/third_party/skia/src/ports/ |
H A D | SkFontMgr_config_parser.cpp | 22 std::string SkFontMgr::containerFontPath = ""; 26 std::string g_lmpSystemFontsFile = "INVALID_FILE_PATH"; 88 std::unique_ptr<FontFamily> fCurrentFamily; // The family being created, owned by this 221 std::unique_ptr<FontFamily>* fallbackFamily = 224 std::unique_ptr<FontFamily> newFallbackFamily( 227 fallbackFor, std::move(newFallbackFamily)); 498 SkAutoTCallVProc<std::remove_pointer_t<XML_Parser>, XML_ParserFree> parser( in parse_config_file() 552 std::string containerFontBasePath = SkFontMgr::containerFontPath; in GetSystemFontFamilies()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
H A D | SwapChainVk.cpp | 264 std::swap(previousVulkanSwapChain->mVkSurface, mVkSurface); in Initialize() 271 std::swap(previousVulkanSwapChain->mSwapChain, previousVkSwapChain); in Initialize() 336 auto HasPresentMode = [](const std::vector<VkPresentModeKHR>& modes, in ChooseConfig() 338 return std::find(modes.begin(), modes.end(), target) != modes.end(); in ChooseConfig() 342 const std::array<VkPresentModeKHR, 3> kPresentModeFallbacks = { in ChooseConfig() 421 targetCount = std::max(targetCount, surfaceInfo.capabilities.minImageCount); in ChooseConfig() 423 targetCount = std::min(targetCount, surfaceInfo.capabilities.maxImageCount); in ChooseConfig() 441 std::min(config.extent.width, surfaceInfo.capabilities.maxImageExtent.width); in ChooseConfig() 443 std::max(config.extent.width, surfaceInfo.capabilities.minImageExtent.width); in ChooseConfig() 447 std in ChooseConfig() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/ |
H A D | ARCFrameLowering.cpp | 78 determineLastCalleeSave(const std::vector<CalleeSavedInfo> &CSI) { in determineLastCalleeSave() 129 const std::vector<CalleeSavedInfo> &CSI = MFI.getCalleeSavedInfo(); in emitPrologue() 265 const std::vector<CalleeSavedInfo> &CSI = MFI.getCalleeSavedInfo(); in emitEpilogue() 337 static std::vector<CalleeSavedInfo>::iterator 338 getSavedReg(std::vector<CalleeSavedInfo> &V, unsigned reg) { in getSavedReg() 348 std::vector<CalleeSavedInfo> &CSI) const { in assignCalleeSavedSpillSlots() 404 const std::vector<CalleeSavedInfo> &CSI, in spillCalleeSavedRegisters() 422 std::vector<CalleeSavedInfo> &CSI, const TargetRegisterInfo *TRI) const { in restoreCalleeSavedRegisters()
|
/third_party/protobuf/src/google/protobuf/io/ |
H A D | io_win32_unittest.cc | 88 using std::string; 89 using std::vector; 90 using std::wstring; 122 std::unique_ptr<WCHAR[]> wcs(new WCHAR[size]); in GetEnvVarAsUtf8() 138 std::unique_ptr<WCHAR[]> wcs(new WCHAR[size]); in GetCwdAsUtf8() 193 std::stringstream result; in SetUp() 583 std::unique_ptr<wchar_t[]> cwd_str(new wchar_t[size]); in TEST_F() 593 std::ostringstream relpath; in TEST_F()
|
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | strutil.h | 217 std::vector<string>* res); 228 std::vector<string>* result); 234 inline std::vector<string> Split(StringPiece full, const char* delim, in Split() 236 std::vector<string> result; in Split() 253 PROTOBUF_EXPORT void JoinStrings(const std::vector<string>& components, 256 inline string JoinStrings(const std::vector<string>& components, in JoinStrings() 288 // the pointer to the string std::vector is nullptr; otherwise, error 289 // messages are stored in the std::vector. In either case, the effect on 296 std::vector<string>* errors); 315 std [all...] |
/third_party/skia/include/core/ |
H A D | SkPath.h | 85 static SkPath Polygon(const std::initializer_list<SkPoint>& list, bool isClosed, in Polygon() 1234 SkPath& addPoly(const std::initializer_list<SkPoint>& list, bool close) { in addPoly() 1561 std::tuple<SkPathVerb, const SkPoint*, const SkScalar*> operator*() const { in operator *() 1643 return (fIter != fEnd) ? static_cast<Verb>(std::get<0>(*fIter)) : kDone_Verb; in peek() 1692 void dump(std::string& desc, int depth) const; 1777 mutable std::atomic<uint8_t> fConvexity; // SkPathConvexity 1778 mutable std::atomic<uint8_t> fFirstDirection; // SkPathFirstDirection 1863 return (SkPathConvexity)fConvexity.load(std::memory_order_relaxed); in getConvexityOrUnknown()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fPrimitiveRestartTests.cpp | 114 std::vector<deUint8> m_indicesUB; 115 std::vector<deUint16> m_indicesUS; 116 std::vector<deUint32> m_indicesUI; 118 std::vector<float> m_positions; 218 std::string vertShaderSource; in init() 661 std::string specialCaseGroupName; in init() 664 if (isRestartEndCase) specialCaseGroupName += std::string(specialCaseGroupName.empty() ? "" : "_") + "end_restart"; in init() 665 if (isDuplicateRestartCase) specialCaseGroupName += std::string(specialCaseGroupName.empty() ? "" : "_") + "duplicate_restarts"; in init()
|
H A D | es3fShaderLoopTests.cpp | 44 using namespace std; 246 std::ostringstream vtx; in createGenericLoopCase() 247 std::ostringstream frag; in createGenericLoopCase() 248 std::ostringstream& op = isVertexCase ? vtx : frag; in createGenericLoopCase() 444 std::ostringstream vtx; in createSpecialLoopCase() 445 std::ostringstream frag; in createSpecialLoopCase() 446 std::ostringstream& op = isVertexCase ? vtx : frag; in createSpecialLoopCase() 1218 const std::vector<tcu::TestNode*> children = gls::ShaderLibrary(m_context.getTestContext(), m_context.getRenderContext(), m_context.getContextInfo()).loadShaderFile("shaders/loops.test"); in init()
|
H A D | es3fDefaultVertexAttributeTests.cpp | 253 std::string genVertexSource (void) const; 293 (std::string("Test ") + LoaderType::getName()).c_str(), in create() 296 std::numeric_limits<typename LoaderType::Type>::is_signed, in create() 400 std::string AttributeCase::genVertexSource (void) const in genVertexSource() 405 std::ostringstream buf; in genVertexSource() 608 tcu::TestCaseGroup* const group = new tcu::TestCaseGroup(m_testCtx, floatTargets[targetNdx].name, (std::string("test with ") + floatTargets[targetNdx].name).c_str()); in init() 634 tcu::TestCaseGroup* const group = new tcu::TestCaseGroup(m_testCtx, intTargets[targetNdx].name, (std::string("test with ") + intTargets[targetNdx].name).c_str()); in init() 650 tcu::TestCaseGroup* const group = new tcu::TestCaseGroup(m_testCtx, uintTargets[targetNdx].name, (std::string("test with ") + uintTargets[targetNdx].name).c_str()); in init()
|
/third_party/vk-gl-cts/modules/gles31/stress/ |
H A D | es31sVertexAttributeBindingTests.cpp | 247 static std::string genTestDescription (int flags); 252 std::string genVertexSource (void); 403 std::string SingleBindingCase::genTestDescription (int flags) in genTestDescription() 405 std::ostringstream buf; in genTestDescription() 441 std::vector<deUint8> dataBuf (m_spec.bufferOffset + m_spec.bufferStride * GRID_SIZE * GRID_SIZE * 6); in createBuffers() 489 std::string SingleBindingCase::genVertexSource (void) in genVertexSource() 492 std::ostringstream buf; in genVertexSource() 546 std::vector<tcu::Vec4> data (m_drawCount); // !< some junk data to make sure buffer is really allocated in init()
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsStateChangePerfTestCases.cpp | 42 using std::vector; 43 using std::string; 89 std::sort(sortedValues.begin(), sortedValues.end()); in calculateStats() 96 result.min = std::min(result.min, values[i]); in calculateStats() 97 result.max = std::max(result.max, values[i]); in calculateStats() 184 min = std::min(values[valueNdx], min); in findMin() 194 max = std::max(values[valueNdx], max); in findMax() 204 std::nth_element(values.begin(), values.begin() + n, values.end()); in findMedian()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fProgramInterfaceQueryTests.cpp | 94 static std::string convertGLTypeNameToTestName (const char* glName) in convertGLTypeNameToTestName() 103 return std::string(glName); in convertGLTypeNameToTestName() 108 std::ostringstream buf; in convertGLTypeNameToTestName() 109 std::istringstream name (glName); in convertGLTypeNameToTestName() 115 std::ostringstream token; in convertGLTypeNameToTestName() 132 if (token.tellp() == (std::streamoff)1) in convertGLTypeNameToTestName() 219 static std::string specializeShader(Context& context, const char* code) in specializeShader() 222 std::map<std::string, std in specializeShader() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
H A D | vktDynamicRenderingTests.cpp | 169 std::vector<VkClearAttachment> colorDepthClear1; 170 std::vector<VkClearAttachment> colorDepthClear2; 271 inline VkDeviceSize sizeInBytes (const std::vector<T>& vec) in sizeInBytes() 423 std::vector<VkPipelineColorBlendAttachmentState> colorBlendAttachmentState; in makeGraphicsPipeline() 710 const std::vector<VkImageView>& attachmentBindInfos, 719 const std::vector<VkImageView>& attachmentBindInfos, 754 std::vector<tcu::TextureLevel> m_referenceImages; 790 std::vector<VkImageView> attachmentBindInfos; in iterate() 880 std::vector<Vec4> vertices; in initialize() 906 deMemcpy(m_vertexBuffer->getBoundMemory().getHostPtr(), vertices.data(), static_cast<std in initialize() [all...] |
/third_party/node/src/ |
H A D | node_zlib.cc | 67 #define Z_MAX_CHUNK std::numeric_limits<double>::infinity() 146 std::vector<unsigned char>&& dictionary); 175 std::vector<unsigned char> dictionary_; 247 std::string error_string_; 499 std::memory_order_relaxed); in AllocForBrotli() 509 std::memory_order_relaxed); in FreeForZlib() 517 unreported_allocations_.exchange(0, std::memory_order_relaxed); in AdjustAmountOfExternalAllocatedMemory() 550 std::atomic<ssize_t> unreported_allocations_{0}; 615 std::vector<unsigned char> dictionary; in Init() 619 dictionary = std in Init() [all...] |
/third_party/ninja/src/ |
H A D | ninja.cc | 55 using namespace std;
429 for (std::vector<Node*>::iterator validation = edge->validations_.begin();
in ToolQuery() 443 const std::vector<Edge*> validation_edges = node->validation_out_edges();
in ToolQuery() 446 for (std::vector<Edge*>::const_iterator edge = validation_edges.begin();
in ToolQuery() 767 void CollectInputs(Edge* edge, std::set<Edge*>* seen,
in CollectInputs() 768 std::vector<std::string>* result) {
in CollectInputs() 818 std::set<Edge*> seen;
in ToolInputs() 819 std::vector<std in ToolInputs() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiBufferMarkerTests.cpp | 101 const std::vector<VkQueueFamilyProperties> queueFamilyProperties = getPhysicalDeviceQueueFamilyProperties(instanceDriver, physicalDevice); in createDeviceWithExtension() 126 std::vector<const char*> cstrDeviceExtensions; in createDeviceWithExtension() 185 const std::vector<deUint32>& expected, size_t size, bool useHostMemory) in checkMarkerBuffer() 329 std::vector<deUint32> expected(params.size); in bufferMarkerSequential() 401 std::vector<deUint32> expected(params.size); in bufferMarkerOverwrite() 539 std::vector<deUint32> expected(params.base.size, 0); in bufferMarkerMemoryDep() 691 std::vector<VkPipelineShaderStageCreateInfo> shaderStages; in bufferMarkerMemoryDep() 891 std::vector<MemoryDepOwner> dataOwner(size, MEMORY_DEP_OWNER_NOBODY); in bufferMarkerMemoryDep() 1043 std::ostringstream src; in initMemoryDepPrograms() 1058 std in initMemoryDepPrograms() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/ |
H A D | vktMemoryBindingTests.cpp | 56 typedef std::vector<MemoryRegionPtr> MemoryRegionsList; 58 typedef std::vector<BufferPtr> BuffersList; 60 typedef std::vector<ImagePtr> ImagesList; 61 typedef std::vector<VkBindBufferMemoryInfo> BindBufferMemoryInfosList; 62 typedef std::vector<VkBindImageMemoryInfo> BindImageMemoryInfosList; 479 std::vector<const char*> deviceExtensions; in BaseTestInstance() 520 void createBindingTargets (std::vector<de::SharedPtr<Move<TTarget> > >& targets); 523 void createMemory (std::vector<de::SharedPtr<Move<TTarget> > >& targets, 527 void makeBinding (std::vector<de::SharedPtr<Move<TTarget> > >& targets, 953 std in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
H A D | vktRayTracingWatertightnessTests.cpp | 50 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/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderStructTests.cpp | 42 const std::string& name, 46 const std::string& vertShaderSource, 47 const std::string& fragShaderSource); 56 const std::string& name, in ShaderStructCase() 60 const std::string& vertShaderSource, in ShaderStructCase() 61 const std::string& fragShaderSource) in ShaderStructCase() 72 static de::MovePtr<ShaderStructCase> createStructCase (tcu::TestContext& testCtx, const std::string& name, bool isVertexCase, ShaderEvalFunc evalFunc, UniformSetupFunc uniformFunc, const LineStream& shaderSrc) in createStructCase() 74 static std::string defaultVertSrc = in createStructCase() 84 static std::string defaultFragSrc = in createStructCase() 94 std in createStructCase() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiBufferMarkerTests.cpp | 101 const std::vector<VkQueueFamilyProperties> queueFamilyProperties = getPhysicalDeviceQueueFamilyProperties(instanceDriver, physicalDevice); in createDeviceWithExtension() 126 std::vector<const char*> cstrDeviceExtensions; in createDeviceWithExtension() 156 const std::vector<deUint32>& expected) in checkMarkerBuffer() 284 std::vector<deUint32> expected(params.size); in bufferMarkerSequential() 339 std::vector<deUint32> expected(params.size); in bufferMarkerOverwrite() 462 std::vector<deUint32> expected(params.base.size, 0); in bufferMarkerMemoryDep() 614 std::vector<VkPipelineShaderStageCreateInfo> shaderStages; in bufferMarkerMemoryDep() 807 std::vector<MemoryDepOwner> dataOwner(size, MEMORY_DEP_OWNER_NOBODY); in bufferMarkerMemoryDep() 948 std::ostringstream src; 962 std [all...] |