/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
H A D | DirectiveHandler.cpp | 22 static TBehavior getBehavior(const std::string& str) in getBehavior() 50 const std::string& msg) in handleError() 56 const std::string& name, in handlePragma() 57 const std::string& value, in handlePragma() 98 const std::string& name, in handleExtension() 99 const std::string& behavior) in handleExtension() 169 std::stringstream stream; in handleVersion() 171 std::string str = stream.str(); in handleVersion()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkPipeline.hpp | 100 void getIndexBuffers(uint32_t count, uint32_t first, bool indexed, std::vector<std::pair<uint32_t, void *>> *indexBuffers) const; 111 const std::shared_ptr<sw::SpirvShader> getShader(const VkShaderStageFlagBits &stage) const; 114 void setShader(const VkShaderStageFlagBits &stage, const std::shared_ptr<sw::SpirvShader> spirvShader); 115 std::shared_ptr<sw::SpirvShader> vertexShader; 116 std::shared_ptr<sw::SpirvShader> fragmentShader; 152 std::shared_ptr<sw::SpirvShader> shader; 153 std::shared_ptr<sw::ComputeProgram> program;
|
H A D | VkTimelineSemaphore.hpp | 54 VkResult wait(uint64_t value, const std::chrono::time_point<CLOCK, DURATION> end_ns); 97 static std::atomic<int> nextId; 106 VkResult wait(uint64_t value, const std::chrono::time_point<CLOCK, DURATION> end_ns); 132 marl::containers::vector<std::shared_ptr<Shared>, 1> deps; 136 std::map<int, uint64_t> waitMap; 142 std::shared_ptr<Shared> shared; 147 const std::chrono::time_point<Clock, Duration> timeout) in wait() 154 const std::chrono::time_point<Clock, Duration> timeout) in wait() 146 wait(uint64_t value, const std::chrono::time_point<Clock, Duration> timeout) wait() argument 153 wait(uint64_t value, const std::chrono::time_point<Clock, Duration> timeout) wait() argument
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/fact_manager/ |
H A D | data_synonym_and_id_equation_facts.h | 58 std::vector<const protobufs::DataDescriptor*> GetSynonymsForId( 62 std::vector<const protobufs::DataDescriptor*> GetSynonymsForDataDescriptor( 66 std::vector<uint32_t> GetIdsForWhichSynonymsAreKnown() const; 69 std::vector<const protobufs::DataDescriptor*> GetAllKnownSynonyms() const; 83 std::vector<const protobufs::DataDescriptor*> operands; 97 std::unordered_set<Operation, OperationHash, OperationEquals>; 148 const std::vector<const protobufs::DataDescriptor*>& rhs_dds); 174 std::unordered_map<const protobufs::DataDescriptor*, OperationSet>
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | transformation_permute_function_parameters.cpp | 27 : message_(std::move(message)) {} in TransformationPermuteFunctionParameters() 32 const std::vector<uint32_t>& permutation) { in TransformationPermuteFunctionParameters() 55 std::vector<uint32_t> permutation(message_.permutation().begin(), in IsApplicable() 73 // |arg_size - 1| will produce |std::numeric_limits<uint32_t>::max()| since in IsApplicable() 92 std::vector<uint32_t> param_id, param_type; in Apply() 100 std::vector<uint32_t> permuted_param_id, permuted_param_type; in Apply() 126 call->SetInOperands(std::move(call_operands)); in Apply() 138 std::vector<uint32_t> parameter_type_ids; in Apply() 163 std::unordered_set<uint32_t>
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | flatten_decoration_pass.cpp | 29 using Words = std::vector<uint32_t>; 30 using OrderedUsesMap = std::unordered_map<uint32_t, Words>; 38 std::unordered_set<uint32_t> group_ids; in Process() 92 std::unique_ptr<Instruction> new_inst(inst_iter->Clone(context())); in Process() 94 inst_iter = inst_iter.InsertBefore(std::move(new_inst)); in Process() 109 std::vector<Operand> operands; in Process() 117 std::unique_ptr<Instruction> new_inst(new Instruction( in Process() 119 inst_iter = inst_iter.InsertBefore(std::move(new_inst)); in Process()
|
/third_party/skia/third_party/externals/spirv-tools/source/reduce/ |
H A D | remove_selection_reduction_opportunity_finder.cpp | 27 std::string RemoveSelectionReductionOpportunityFinder::GetName() const { in GetName() 31 std::vector<std::unique_ptr<ReductionOpportunity>> 35 std::unordered_set<uint32_t> merge_and_continue_blocks_from_loops; in GetAvailableOpportunities() 53 std::vector<std::unique_ptr<ReductionOpportunity>> result; in GetAvailableOpportunities() 74 std::unordered_set<uint32_t> merge_and_continue_blocks_from_loops) { in CanOpSelectionMergeBeRemoved() 94 std::unordered_set<uint32_t> seen_successors; in CanOpSelectionMergeBeRemoved()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/fact_manager/ |
H A D | data_synonym_and_id_equation_facts.h | 58 std::vector<const protobufs::DataDescriptor*> GetSynonymsForId( 62 std::vector<const protobufs::DataDescriptor*> GetSynonymsForDataDescriptor( 66 std::vector<uint32_t> GetIdsForWhichSynonymsAreKnown() const; 69 std::vector<const protobufs::DataDescriptor*> GetAllKnownSynonyms() const; 83 std::vector<const protobufs::DataDescriptor*> operands; 97 std::unordered_set<Operation, OperationHash, OperationEquals>; 148 const std::vector<const protobufs::DataDescriptor*>& rhs_dds); 174 std::unordered_map<const protobufs::DataDescriptor*, OperationSet>
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
H A D | transformation_permute_function_parameters.cpp | 27 : message_(std::move(message)) {} in TransformationPermuteFunctionParameters() 32 const std::vector<uint32_t>& permutation) { in TransformationPermuteFunctionParameters() 55 std::vector<uint32_t> permutation(message_.permutation().begin(), in IsApplicable() 73 // |arg_size - 1| will produce |std::numeric_limits<uint32_t>::max()| since in IsApplicable() 92 std::vector<uint32_t> param_id, param_type; in Apply() 100 std::vector<uint32_t> permuted_param_id, permuted_param_type; in Apply() 126 call->SetInOperands(std::move(call_operands)); in Apply() 138 std::vector<uint32_t> parameter_type_ids; in Apply() 163 std::unordered_set<uint32_t>
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | flatten_decoration_pass.cpp | 29 using Words = std::vector<uint32_t>; 30 using OrderedUsesMap = std::unordered_map<uint32_t, Words>; 38 std::unordered_set<uint32_t> group_ids; in Process() 92 std::unique_ptr<Instruction> new_inst(inst_iter->Clone(context())); in Process() 94 inst_iter = inst_iter.InsertBefore(std::move(new_inst)); in Process() 109 std::vector<Operand> operands; in Process() 117 std::unique_ptr<Instruction> new_inst(new Instruction( in Process() 119 inst_iter = inst_iter.InsertBefore(std::move(new_inst)); in Process()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/ |
H A D | remove_selection_reduction_opportunity_finder.cpp | 27 std::string RemoveSelectionReductionOpportunityFinder::GetName() const { in GetName() 31 std::vector<std::unique_ptr<ReductionOpportunity>> 35 std::unordered_set<uint32_t> merge_and_continue_blocks_from_loops; in GetAvailableOpportunities() 53 std::vector<std::unique_ptr<ReductionOpportunity>> result; in GetAvailableOpportunities() 74 std::unordered_set<uint32_t> merge_and_continue_blocks_from_loops) { in CanOpSelectionMergeBeRemoved() 94 std::unordered_set<uint32_t> seen_successors; in CanOpSelectionMergeBeRemoved()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/wasm/ |
H A D | spirv-tools.cpp | 27 std::cerr << "error: " << m << std::endl; in print_msg_to_stderr() 30 std::string dis(std::string const& buffer, uint32_t env, uint32_t options) { in dis() 34 std::vector<uint32_t> spirv; in dis() 37 std::string disassembly; in dis() 42 emscripten::val as(std::string const& source, uint32_t env, uint32_t options) { in as() 46 std::vector<uint32_t> spirv; in as()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/ |
H A D | transformation_add_early_terminator_wrapper_test.cpp | 26 std::string shader = R"( in TEST() 29 %1 = OpExtInstImport "GLSL.std.450" in TEST() 48 std::string shader = R"( in TEST() 51 %1 = OpExtInstImport "GLSL.std.450" in TEST() 71 std::string shader = R"( in TEST() 74 %1 = OpExtInstImport "GLSL.std.450" in TEST() 131 std::string after_transformation = R"( in TEST() 134 %1 = OpExtInstImport "GLSL.std.450" in TEST()
|
H A D | transformation_add_loop_preheader_test.cpp | 26 std::string shader = R"( in TEST() 28 %1 = OpExtInstImport "GLSL.std.450" in TEST() 106 std::string after_transformations = R"( in TEST() 108 %1 = OpExtInstImport "GLSL.std.450" in TEST() 156 std::string shader = R"( in TEST() 158 %1 = OpExtInstImport "GLSL.std.450" in TEST() 242 std::string after_transformations = R"( in TEST() 244 %1 = OpExtInstImport "GLSL.std.450" in TEST()
|
H A D | transformation_mutate_pointer_test.cpp | 27 std::string shader = R"( in TEST() 30 %1 = OpExtInstImport "GLSL.std.450" in TEST() 160 std::string after_transformation = R"( in TEST() 163 %1 = OpExtInstImport "GLSL.std.450" in TEST() 241 std::string shader = R"( in TEST() 243 %1 = OpExtInstImport "GLSL.std.450" in TEST() 287 std::string after_transformation = R"( in TEST() 289 %1 = OpExtInstImport "GLSL.std.450" in TEST()
|
/third_party/skia/src/pdf/ |
H A D | SkPDFResourceDict.cpp | 62 static void add_subdict(const std::vector<SkPDFIndirectReference>& resourceList, in add_subdict() 70 dst->insertObject(resource_name(type), std::move(resources)); in add_subdict() 74 static std::unique_ptr<SkPDFArray> make_proc_set() { in make_proc_set() 84 std::unique_ptr<SkPDFDict> SkPDFMakeResourceDict( in SkPDFMakeResourceDict() 85 const std::vector<SkPDFIndirectReference>& graphicStateResources, in SkPDFMakeResourceDict() 86 const std::vector<SkPDFIndirectReference>& shaderResources, in SkPDFMakeResourceDict() 87 const std::vector<SkPDFIndirectReference>& xObjectResources, in SkPDFMakeResourceDict() 88 const std::vector<SkPDFIndirectReference>& fontResources) { in SkPDFMakeResourceDict()
|
/third_party/skia/src/ports/ |
H A D | SkFontMgr_custom_embedded.cpp | 16 std::unique_ptr<SkMemoryStream> stream, int index, 28 auto stream = std::make_unique<SkMemoryStream>(fontEntry.data, fontEntry.size, false); 29 load_font_from_data(scanner, std::move(stream), i, families); 50 auto stream = std::make_unique<SkMemoryStream>(fDatas[i]); 51 load_font_from_data(scanner, std::move(stream), i, families); 77 std::unique_ptr<SkMemoryStream> stream, int index, in load_font_from_data() 102 auto data = std::make_unique<SkFontData>(stream->duplicate(), faceIndex, nullptr, 0); in load_font_from_data() 103 addTo->appendTypeface(sk_make_sp<SkTypeface_Stream>(std::move(data), in load_font_from_data()
|
H A D | SkTypeface_mac_ct.h | 73 OpszVariation opszVariation, std::unique_ptr<SkStreamAsset> providedData) in SkTypeface_Mac() 75 , fFontRef(std::move(fontRef)) in SkTypeface_Mac() 79 , fStream(std::move(providedData)) in SkTypeface_Mac() 88 std::unique_ptr<SkStreamAsset> providedData); 96 std::unique_ptr<SkStreamAsset> onOpenStream(int* ttcIndex) const override; 106 std::unique_ptr<SkScalerContext> onCreateScalerContext(const SkScalerContextEffects&, 111 std::unique_ptr<SkAdvancedTypefaceMetrics> onGetAdvancedMetrics() const override; 122 mutable std::unique_ptr<SkStreamAsset> fStream;
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | DynamicUploader.cpp | 23 std::unique_ptr<RingBuffer>(new RingBuffer{nullptr, {kRingBufferSize}})); in DynamicUploader() 26 void DynamicUploader::ReleaseStagingBuffer(std::unique_ptr<StagingBufferBase> stagingBuffer) { in ReleaseStagingBuffer() 27 mReleasedStagingBuffers.Enqueue(std::move(stagingBuffer), in ReleaseStagingBuffer() 35 std::unique_ptr<StagingBufferBase> stagingBuffer; in AllocateInternal() 42 ReleaseStagingBuffer(std::move(stagingBuffer)); in AllocateInternal() 70 std::unique_ptr<RingBuffer>(new RingBuffer{nullptr, {kRingBufferSize}})); in AllocateInternal() 81 std::unique_ptr<StagingBufferBase> stagingBuffer; in AllocateInternal() 84 targetRingBuffer->mStagingBuffer = std::move(stagingBuffer); in AllocateInternal()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
H A D | ConcurrentCacheTests.cpp | 57 std::unique_ptr<dawn_platform::WorkerTaskPool> mPool; 68 std::pair<SimpleCachedObject*, bool> insertOutput = {}; in TEST_F() 69 std::pair<SimpleCachedObject*, bool> anotherInsertOutput = {}; in TEST_F() 78 mTaskManager.PostTask(std::move(asyncTask1)); in TEST_F() 79 mTaskManager.PostTask(std::move(asyncTask2)); in TEST_F() 92 std::pair<SimpleCachedObject*, bool> insertOutput = {}; in TEST_F() 106 mTaskManager.PostTask(std::move(insertTask)); in TEST_F() 107 mTaskManager.PostTask(std::move(eraseTask)); in TEST_F()
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/ |
H A D | GPUComputePassEncoder.cpp | 30 : enc_(std::move(enc)) { in GPUComputePassEncoder() 85 std::vector<interop::GPUBufferDynamicOffset> dynamicOffsets) { in setBindGroup() 115 void GPUComputePassEncoder::pushDebugGroup(Napi::Env, std::string groupLabel) { in pushDebugGroup() 123 void GPUComputePassEncoder::insertDebugMarker(Napi::Env, std::string markerLabel) { in insertDebugMarker() 127 std::optional<std::string> GPUComputePassEncoder::getLabel(Napi::Env) { in getLabel() 131 void GPUComputePassEncoder::setLabel(Napi::Env, std::optional<std::string> value) { in setLabel()
|
/third_party/skia/third_party/externals/angle2/util/ |
H A D | shader_utils.h | 20 ANGLE_UTIL_EXPORT GLuint CompileShaderFromFile(GLenum type, const std::string &sourcePath); 25 const std::vector<std::string> &transformFeedbackVaryings, 32 const std::function<void(GLuint)> &preLinkCallback); 41 ANGLE_UTIL_EXPORT GLuint CompileProgramFromFiles(const std::string &vsPath, 42 const std::string &fsPath); 47 ANGLE_UTIL_EXPORT GLuint LoadBinaryProgramOES(const std::vector<uint8_t> &binary, 49 ANGLE_UTIL_EXPORT GLuint LoadBinaryProgramES3(const std::vector<uint8_t> &binary,
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/port/ |
H A D | file_input_stream.cc | 83 int32_t FileInputStream::Read(std::vector<uint8_t>* b) { in Read() 87 int32_t FileInputStream::Read(std::vector<uint8_t>* b, int32_t offset, int32_t length) { in Read() 101 size_t read_count = std::min<size_t>(length_ - position_, length); in Read() 123 skip_count = std::max<int64_t>(0 - (int64_t)position_, n); in Skip() 127 skip_count = std::min<size_t>(length_ - position_, (size_t)n); in Skip() 134 void FileInputStream::Unread(std::vector<uint8_t>* b) { in Unread() 138 void FileInputStream::Unread(std::vector<uint8_t>* b, int32_t offset, int32_t length) { in Unread() 147 size_t unread_count = std::min<size_t>(position_, length); in Unread()
|
H A D | memory_input_stream.cc | 77 int32_t MemoryInputStream::Read(std::vector<uint8_t>* b) { in Read() 81 int32_t MemoryInputStream::Read(std::vector<uint8_t>* b, int32_t offset, int32_t length) { in Read() 95 size_t read_count = std::min<size_t>(length_ - position_, length); in Read() 117 skip_count = std::max<int64_t>(0 - (int64_t)position_, n); in Skip() 120 skip_count = std::min<size_t>(length_ - position_, (size_t)n); in Skip() 126 void MemoryInputStream::Unread(std::vector<uint8_t>* b) { in Unread() 130 void MemoryInputStream::Unread(std::vector<uint8_t>* b, int32_t offset, int32_t length) { in Unread() 139 size_t unread_count = std::min<size_t>(position_, length); in Unread()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/ |
H A D | RuntimeDyldChecker.h | 135 using IsSymbolValidFunction = std::function<bool(StringRef Symbol)>; 137 std::function<Expected<MemoryRegionInfo>(StringRef SymbolName)>; 138 using GetSectionInfoFunction = std::function<Expected<MemoryRegionInfo>( 140 using GetStubInfoFunction = std::function<Expected<MemoryRegionInfo>( 142 using GetGOTInfoFunction = std::function<Expected<MemoryRegionInfo>( 170 std::pair<uint64_t, std::string> getSectionAddr(StringRef FileName, 179 std::unique_ptr<RuntimeDyldCheckerImpl> Impl;
|