/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
H A D | function_glsl_std_450_test.cc | 27 std::string Preamble() { in Preamble() 30 %glsl = OpExtInstImport "GLSL.std.450" in Preamble() 132 std::string opcode; 133 std::string wgsl_func; 135 inline std::ostream& operator<<(std::ostream& out, GlslStd450Case c) { in operator <<() 423 ::testing::ValuesIn(std::vector<GlslStd450Case>{ 451 ::testing::ValuesIn(std::vector<GlslStd450Case>{ 473 ::testing::ValuesIn(std::vector<GlslStd450Case>{ 939 std [all...] |
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
H A D | lexer.cc | 30 return std::isspace(c); in is_whitespace() 55 Lexer::Lexer(const std::string& file_path, const Source::FileContent* content) in Lexer() 120 return std::isalpha(ch); in is_alpha() 124 return std::isdigit(ch); in is_digit() 132 return std::isxdigit(ch); in is_hex() 135 bool Lexer::matches(size_t pos, const std::string& substr) { in matches() 297 const auto magnitude = std::fabs(res); in try_float() 299 magnitude < static_cast<double>(std::numeric_limits<float>::min())) { in try_float() 304 if (res < static_cast<double>(std::numeric_limits<float>::lowest())) { in try_float() 308 if (res > static_cast<double>(std in try_float() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
H A D | APFloat.h | 594 std::unique_ptr<APFloat[]> Floats; 616 new (this) DoubleAPFloat(std::move(RHS)); in operator =() 695 static_assert(std::is_standard_layout<IEEEFloat>::value, ""); 704 : Double(std::move(F)) { in Storage() 711 new (&IEEE) IEEEFloat(Semantics, std::forward<ArgTypes>(Args)...); in Storage() 715 new (&Double) DoubleAPFloat(Semantics, std::forward<ArgTypes>(Args)...); in Storage() 747 new (this) IEEEFloat(std::move(RHS.IEEE)); in Storage() 751 new (this) DoubleAPFloat(std::move(RHS.Double)); in Storage() 774 IEEE = std::move(RHS.IEEE); in operator =() 777 Double = std in operator =() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
H A D | ScalarEvolution.h | 564 Optional<std::pair<const SCEV *, SmallVector<const SCEVPredicate *, 3>>> 869 /// CouldNotCompute SCEV in both values of std::pair. 878 std::pair<const SCEV *, const SCEV *> SplitIntoInitAndPostInc(const Loop *L, 1128 std::unique_ptr<SCEVCouldNotCompute> CouldNotCompute; 1137 using ValueOffsetPair = std::pair<Value *, ConstantInt *>; 1251 std::unique_ptr<SCEVUnionPredicate> Predicate; 1256 std::unique_ptr<SCEVUnionPredicate> Predicate) in ExitNotTakenInfo() 1258 MaxNotTaken(ExactNotTaken), Predicate(std::move(Predicate)) {} in ExitNotTakenInfo() 1296 using EdgeExitInfo = std::pair<BasicBlock *, ExitLimit>; 1373 DenseMap<const SCEV *, SmallVector<std [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
H A D | cord_rep_btree.cc | 48 return cord_btree_exhaustive_validation.load(std::memory_order_relaxed); in exhaustive_validation() 55 void DumpAll(const CordRep* rep, bool include_contents, std::ostream& stream, in DumpAll() 59 std::string sharing = const_cast<CordRep*>(rep)->refcount.IsOne() in DumpAll() 60 ? std::string("Private") in DumpAll() 62 std::string sptr = absl::StrCat("0x", absl::Hex(rep)); in DumpAll() 80 stream << std::string(depth * 2, ' ') << sharing << " (" << sptr << ") "; in DumpAll() 84 std::string label = in DumpAll() 329 bool include_contents, std::ostream& stream) { in Dump() 343 std::ostream& stream) { in Dump() 347 void CordRepBtree::Dump(const CordRep* rep, std [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/query_pool/ |
H A D | vktQueryPoolPerformanceTests.cpp | 56 std::string uuidToHex(const deUint8 uuid[]) in uuidToHex() 61 std::string result; in uuidToHex() 70 std::string partString; in uuidToHex() 119 const std::vector<VkQueueFamilyProperties> queueProperties = getPhysicalDeviceQueueFamilyProperties(vki, physicalDevice); in iterate() 133 std::vector<VkPerformanceCounterKHR> counters (counterCount); in iterate() 135 std::map<std::string, size_t> uuidValidator; in iterate() 155 const std::string uuidStr = uuidToHex(counter.uuid); in iterate() 173 std::vector<VkPerformanceCounterDescriptionKHR> counterDescriptors (counterCount); in iterate() 214 std [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
H A D | vktSpvAsmPhysicalStorageBufferPointerTests.cpp | 105 std::initializer_list<X> items, 240 typedef std::forward_iterator_tag iterator_category; 241 typedef std::ptrdiff_t difference_type; 263 template<class X> TypedBuffer<X>::TypedBuffer (Context& ctx, VkBufferUsageFlags usage, std::initializer_list<X> items, bool address) in TypedBuffer() 267 std::copy(items.begin(), items.end(), begin()); in TypedBuffer() 490 const std::string& name, in SpvAsmPhysicalStorageBufferTestCase() 492 : TestCase (testCtx, name, std::string()) in SpvAsmPhysicalStorageBufferTestCase() 571 const std::string vert(R"( in initPrograms() 650 const std::string frag(R"( in initPrograms() 735 *j = colors[std in prepareColorBuffer() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_shading_barycentric/ |
H A D | vktFragmentShadingBarycentricTests.cpp | 56 using std::string; 57 using std::vector; 58 using std::map; 227 const std::vector<VkViewport> viewports (1, makeViewport(width, height)); in makeGraphicsPipeline() 228 const std::vector<VkRect2D> scissors (1, makeRect2D(width, height)); in makeGraphicsPipeline() 318 viewports, // const std::vector<VkViewport>& viewports, in makeGraphicsPipeline() 319 scissors, // const std::vector<VkRect2D>& scissors, in makeGraphicsPipeline() 332 static inline std::string replace(const std::string& str, const std [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/ |
H A D | esextcTessellationShaderInvariance.cpp | 194 std::string TessellationShaderInvarianceBaseTest::getFSCode(unsigned int n_iteration) in getFSCode() 198 std::string result = "${VERSION}\n" in getFSCode() 237 std::string TessellationShaderInvarianceBaseTest::getTCCode(unsigned int n_iteration) in getTCCode() 273 std::string TessellationShaderInvarianceBaseTest::getVSCode(unsigned int n_iteration) in getVSCode() 277 std::string result = "${VERSION}\n" in getVSCode() 353 std::string shader_body; in initTest() 838 std::string TessellationShaderInvarianceRule1Test::getTECode(unsigned int n_iteration) in getTECode() 880 std::string data_type_string; in verifyResultData() 941 std::stringstream logMessage; in verifyResultData() 1117 std [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | CompressedTextureFormatTests.cpp | 43 std::vector<const char*> GetRequiredFeatures() override { 74 std::vector<uint8_t> UploadData(const CopyConfig& copyConfig) { in UploadData() 93 std::vector<uint8_t> data(uploadBufferSize, 0); in UploadData() 94 std::vector<uint8_t> oneBlockCompressedTextureData = GetOneBlockFormatTextureData(); in UploadData() 101 std::memcpy(&data[uploadBufferOffset], oneBlockCompressedTextureData.data(), in UploadData() 116 std::vector<uint8_t> data = UploadData(copyConfig); in InitializeDataInCompressedTexture() 202 const std::vector<RGBA8>& expected) { in VerifyCompressedTexturePixelValues() 251 std::vector<RGBA8> expectedData = GetExpectedData(noPaddingExtent3D); in VerifyTexture() 300 std::vector<uint8_t> GetOneBlockFormatTextureData() { in GetOneBlockFormatTextureData() 448 std [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
H A D | SIInsertWaitcnts.cpp | 83 std::forward_iterator_tag, const EnumT> { 112 using RegInterval = std::pair<signed, signed>; 172 Wait.VmCnt = std::min(Wait.VmCnt, Count); in addWait() 175 Wait.ExpCnt = std::min(Wait.ExpCnt, Count); in addWait() 178 Wait.LgkmCnt = std::min(Wait.LgkmCnt, Count); in addWait() 181 Wait.VsCnt = std::min(Wait.VsCnt, Count); in addWait() 382 std::unique_ptr<WaitcntBrackets> Incoming; 388 std::vector<BlockInfo> BlockInfos; // by reverse post-order traversal index 761 uint32_t NeededWait = std::min(UB - ScoreToWait, getWaitCountMax(T) - 1); in determineWait() 781 setScoreLB(T, std in applyWaitcnt() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
H A D | HexagonCommonGEP.cpp | 71 using NodeSet = std::set<GepNode *>; 72 using NodeToValueMap = std::map<GepNode *, Value *>; 73 using NodeVect = std::vector<GepNode *>; 74 using NodeChildrenMap = std::map<GepNode *, NodeVect>; 76 using NodeToUsesMap = std::map<GepNode *, UseSet>; 83 void insert(const GepNode *N) { Map.insert(std::make_pair(N, ++LastNum)); } in insert() 93 std::map<const GepNode *, unsigned> Map; 119 using ValueToNodeMap = std::map<Value *, GepNode *>; 120 using ValueVect = std::vector<Value *>; 121 using NodeToValuesMap = std [all...] |
/third_party/skia/third_party/externals/tint/src/ |
H A D | clone_context_test.cc | 26 return alloc.Create<T>(this, std::forward<ARGS>(args)...); in Create() 45 std::vector<const Node*> vec; 112 Program original(std::move(builder)); in TEST_F() 171 Program original(std::move(builder)); in TEST_F() 268 Program original(std::move(builder)); in TEST_F() 301 Program original(std::move(builder)); in TEST_F() 322 Program original(std::move(builder)); in TEST_F() 354 Program original(std::move(builder)); in TEST_F() 388 Program original(std::move(builder)); in TEST_F() 414 Program original(std in TEST_F() [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | extension_set_unittest.cc | 329 std::vector<const FieldDescriptor*> fields; in TEST() 359 std::vector<const FieldDescriptor*> fields; in TEST() 376 std::vector<const FieldDescriptor*> fields; in TEST() 438 std::unique_ptr<Arena> arena2(new Arena()); in TEST() 485 std::vector<const FieldDescriptor*> fields; in TEST() 499 std::vector<const FieldDescriptor*> fields; in TEST() 518 std::string data; in TEST() 539 std::string data; in TEST() 562 std::string data; in TEST() 583 std in TEST() [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fShaderFramebufferFetchTests.cpp | 55 using std::vector; 56 using std::string; 175 static bool isAnyExtensionSupported (Context& context, const std::vector<std::string>& requiredExts) in isAnyExtensionSupported() 177 for (std::vector<std::string>::const_iterator iter = requiredExts.begin(); iter != requiredExts.end(); iter++) in isAnyExtensionSupported() 179 const std::string& extension = *iter; in isAnyExtensionSupported() 188 static std::string getColorOutputType(tcu::TextureFormat format) in getColorOutputType() 203 static std::vector<std [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
H A D | vktRenderPassDepthStencilResolveTests.cpp | 164 std::map<VkFormat, VkFormat> m_compatibleFormats; 237 std::vector<Move<VkRenderPass>> m_renderPass; 241 std::vector<Move<VkPipeline>> m_renderPipeline; 568 std::vector<AttachmentDescription2> attachments; in createRenderPass() 643 std::vector<VkImageView> attachments; in createFramebuffer() 720 const std::vector<VkViewport> viewports (1, makeViewport(view)); in createRenderPipeline() 721 const std::vector<VkRect2D> scissors (1, m_config.renderArea); in createRenderPipeline() 772 std::vector<VkDynamicState> dynamicState; in createRenderPipeline() 792 viewports, // const std::vector<VkViewport>& viewports in createRenderPipeline() 793 scissors, // const std in createRenderPipeline() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiCopiesAndBlittingTests.cpp | 122 typedef std::set<vk::VkFormat, BinaryCompare<vk::VkFormat> > FormatSet; 310 std::vector<CopyRegion> regions; 673 std::vector <VkBufferImageCopy> copyRegions; in uploadImageAspect() 1137 std::vector<VkImageCopy> imageCopies; in iterate() 1138 std::vector<VkImageCopy2KHR> imageCopies2KHR; in iterate() 1341 extent.depth = std::max(region.imageCopy.extent.depth, region.imageCopy.dstSubresource.layerCount); in copyRegionToTextureLevel() 1346 extent.depth = std::max(region.imageCopy.extent.depth, region.imageCopy.srcSubresource.layerCount); in copyRegionToTextureLevel() 1385 const std::string& name, in CopyImageToImageTestCase() 1386 const std::string& description, in CopyImageToImageTestCase() 1599 std in iterate() [all...] |
/third_party/node/deps/v8/src/codegen/ |
H A D | constant-pool.cc | 60 std::vector<ConstantPoolEntry>::iterator it = info.shared_entries.begin(); in AddEntry() 103 std::vector<ConstantPoolEntry>& shared_entries = info.shared_entries; in EmitSharedEntries() 108 std::vector<ConstantPoolEntry>::iterator shared_it = shared_entries.begin(); in EmitSharedEntries() 130 std::vector<ConstantPoolEntry>& entries = info.entries; in EmitGroup() 131 std::vector<ConstantPoolEntry>& shared_entries = info.shared_entries; in EmitGroup() 153 std::vector<ConstantPoolEntry>::iterator it = entries.begin(); in EmitGroup() 154 if (begin > 0) std::advance(it, begin); in EmitGroup() 225 return RecordKey(std::move(key), assm_->pc_offset()); in RecordEntry() 232 return RecordKey(std::move(key), assm_->pc_offset()); in RecordEntry() 246 entries_.insert(std in RecordKey() [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | sweeper.cc | 57 std::move(sweeper_->sweeping_list_[old_space_index]); in FilterSweepingPagesScope() 66 std::move(old_space_sweeping_list_); in ~FilterSweepingPagesScope() 93 return std::min<size_t>( 163 std::sort( in StartSweeping() 177 std::make_unique<SweeperJob>(heap_->isolate(), this)); in StartSweeperTasks() 282 free_ranges_map->insert(std::pair<uint32_t, uint32_t>( in CleanupRememberedSetEntriesForFreedMemory() 399 std::max(max_freed_bytes, in RawSweep() 428 std::max(max_freed_bytes, in RawSweep() 501 max_freed = std::max(max_freed, freed); in ParallelSweepSpace() 573 std in TryRemoveSweepingPageSafe() [all...] |
/third_party/node/deps/v8/src/snapshot/ |
H A D | snapshot.cc | 44 const std::vector<SnapshotData*>& context_snapshots_in, 234 std::vector<i::Handle<i::SharedFunctionInfo>> sfis_to_clear; in ClearReconstructableDataForSerialization() 308 std::unique_ptr<const char[]> auto_delete_serialized_data; in SerializeDeserializeAndVerifyForTesting() 363 Isolate* isolate, std::vector<Context>* contexts, in Create() 364 const std::vector<SerializeInternalFieldsCallback>& in Create() 389 std::vector<SnapshotData*> context_snapshots; in Create() 395 std::vector<int> context_allocation_sizes; in Create() 453 std::vector<Context> contexts{default_context}; in Create() 454 std::vector<SerializeInternalFieldsCallback> callbacks{{}}; in Create() 463 const std in CreateSnapshotBlob() [all...] |
/third_party/libabigail/src/ |
H A D | abg-reporter-priv.cc | 42 out << std::hex << std::showbase ; in emit_num_value() 44 out << std::dec; in emit_num_value() 45 out << value << std::dec << std::noshowbase; in emit_num_value() 1156 const std::string none = "(none)"; in maybe_report_diff_for_symbol() 1158 << std::showbase << std::hex; in maybe_report_diff_for_symbol() 1168 out << std::noshowbase << std in maybe_report_diff_for_symbol() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiFillBufferTests.cpp | 82 const std::vector<VkQueueFamilyProperties> queueFamilies = getPhysicalDeviceQueueFamilyProperties(instanceDriver, physicalDevice); in createCustomDevice() 118 std::vector<VkPipelinePoolSize> poolSizes; in createCustomDevice() 223 DE_ASSERT(m_params.dstSize < static_cast<VkDeviceSize>(std::numeric_limits<size_t>::max())); in iterate() 316 std::ostringstream msg; in iterate() 318 << std::hex << static_cast<int>(bytes[i]) << " but expected 0x" << static_cast<int>(expectedByte) << ")"; in iterate() 330 const std::string& name, in FillWholeBufferTestCase() 531 const std::string& name, in FillBufferTestCase() 620 const std::string& name, in UpdateBufferTestCase() 676 const std::string testName ("buffer_whole"); in createFillAndUpdateBufferTests() 686 const std in createFillAndUpdateBufferTests() [all...] |
H A D | vktApiVersionCheck.cpp | 56 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/vulkancts/modules/vulkan/geometry/ |
H A D | vktGeometryBasicGeometryShaderTests.cpp | 60 using std::string; 61 using std::vector; 475 std::vector<deUint16> m_indices; 587 std::ostringstream src; in initPrograms() 601 const int max_vertices = m_pattern.size() == 2 ? std::max(m_pattern[0], m_pattern[1]) : m_pattern[0]; in initPrograms() 603 std::ostringstream src; in initPrograms() 640 std::ostringstream src; in initPrograms() 687 std::ostringstream src; in initPrograms() 722 std::ostringstream src; in initPrograms() 845 std in initPrograms() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/ |
H A D | vktGeometryBasicGeometryShaderTests.cpp | 60 using std::string; 61 using std::vector; 475 std::vector<deUint16> m_indices; 588 std::ostringstream src; in initPrograms() 602 const int max_vertices = m_pattern.size() == 2 ? std::max(m_pattern[0], m_pattern[1]) : m_pattern[0]; in initPrograms() 604 std::ostringstream src; in initPrograms() 641 std::ostringstream src; in initPrograms() 689 std::ostringstream src; in initPrograms() 724 std::ostringstream src; in initPrograms() 847 std in initPrograms() [all...] |