/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
H A D | ShaderImpl.h | 26 using UpdateShaderStateFunctor = std::function<void(bool compiled, ShHandle handle)>; 30 WaitableCompileEvent(std::shared_ptr<angle::WaitableEvent> waitableEvent); 39 virtual bool postTranslate(std::string *infoLog) = 0; 41 const std::string &getInfoLog(); 44 std::shared_ptr<angle::WaitableEvent> mWaitableEvent; 45 std::string mInfoLog; 56 virtual std::shared_ptr<WaitableCompileEvent> compile(const gl::Context *context, 60 virtual std::string getDebugInfo() const = 0; 65 std::shared_ptr<WaitableCompileEvent> compileImpl(const gl::Context *context, 67 const std [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/ |
H A D | DebugUtils.cpp | 20 DumpObjects::DumpObjects(std::string DumpDir, std::string IdentifierOverride) in DumpObjects() 21 : DumpDir(std::move(DumpDir)), in DumpObjects() 22 IdentifierOverride(std::move(IdentifierOverride)) { in DumpObjects() 30 Expected<std::unique_ptr<MemoryBuffer>> 31 DumpObjects::operator()(std::unique_ptr<MemoryBuffer> Obj) { in operator ()() 34 std::string DumpPathStem; in operator ()() 38 std::string DumpPath = DumpPathStem + ".o"; in operator ()() 50 std::error_code EC; in operator ()() 56 return std in operator ()() [all...] |
/third_party/vk-gl-cts/external/amber/src/src/ |
H A D | shader_compiler.h | 37 ShaderCompiler(const std::string& env, 55 std::pair<Result, std::vector<uint32_t>> Compile( 61 Result ParseHex(const std::string& data, std::vector<uint32_t>* result) const; 62 Result CompileGlsl(const Shader* shader, std::vector<uint32_t>* result) const; 63 Result CompileHlsl(const Shader* shader, std::vector<uint32_t>* result) const; 68 std::vector<uint32_t>* result) const; 71 std::string spv_env_; 79 Result ParseSpvEnv(const std [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
H A D | relax_float_ops_test.cpp | 61 const std::string defs0 = in TEST_F() 64 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 84 const std::string defs1 = in TEST_F() 105 const std::string relax_decos = in TEST_F() 114 const std::string func_orig = in TEST_F() 141 const std::string defs0 = in TEST_F() 145 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 164 const std::string defs1 = in TEST_F() 185 const std::string relax_decos = in TEST_F() 194 const std in TEST_F() [all...] |
H A D | strip_debug_info_test.cpp | 27 std::vector<const char*> text = { in TEST_F() 30 "%1 = OpExtInstImport \"GLSL.std.450\"", in TEST_F() 63 const std::vector<const char*> more_text = { in TEST_F() 82 std::vector<const char*> input{ in TEST_F() 85 "%1 = OpExtInstImport \"GLSL.std.450\"", in TEST_F() 98 std::vector<const char*> output{ in TEST_F() 101 "%1 = OpExtInstImport \"GLSL.std.450\"", in TEST_F() 119 std::vector<const char*> input{ in TEST_F() 122 "%1 = OpExtInstImport \"GLSL.std.450\"", in TEST_F() 135 std in TEST_F() [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/reduce/ |
H A D | operand_to_dominating_id_test.cpp | 26 std::string original = R"( in TEST() 28 %1 = OpExtInstImport "GLSL.std.450" in TEST() 64 std::string after_op_0 = R"( in TEST() 66 %1 = OpExtInstImport "GLSL.std.450" in TEST() 97 std::string after_op_1 = R"( in TEST() 99 %1 = OpExtInstImport "GLSL.std.450" in TEST() 130 std::string after_op_2 = R"( in TEST() 132 %1 = OpExtInstImport "GLSL.std.450" in TEST() 166 std::string after_op_4 = R"( in TEST() 168 %1 = OpExtInstImport "GLSL.std in TEST() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
H A D | relax_float_ops_test.cpp | 61 const std::string defs0 = in TEST_F() 64 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 84 const std::string defs1 = in TEST_F() 105 const std::string relax_decos = in TEST_F() 114 const std::string func_orig = in TEST_F() 141 const std::string defs0 = in TEST_F() 145 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 164 const std::string defs1 = in TEST_F() 185 const std::string relax_decos = in TEST_F() 194 const std in TEST_F() [all...] |
H A D | strip_debug_info_test.cpp | 27 std::vector<const char*> text = { in TEST_F() 30 "%1 = OpExtInstImport \"GLSL.std.450\"", in TEST_F() 63 const std::vector<const char*> more_text = { in TEST_F() 82 std::vector<const char*> input{ in TEST_F() 85 "%1 = OpExtInstImport \"GLSL.std.450\"", in TEST_F() 98 std::vector<const char*> output{ in TEST_F() 101 "%1 = OpExtInstImport \"GLSL.std.450\"", in TEST_F() 119 std::vector<const char*> input{ in TEST_F() 122 "%1 = OpExtInstImport \"GLSL.std.450\"", in TEST_F() 135 std in TEST_F() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/reduce/ |
H A D | operand_to_dominating_id_test.cpp | 26 std::string original = R"( in TEST() 28 %1 = OpExtInstImport "GLSL.std.450" in TEST() 64 std::string after_op_0 = R"( in TEST() 66 %1 = OpExtInstImport "GLSL.std.450" in TEST() 97 std::string after_op_1 = R"( in TEST() 99 %1 = OpExtInstImport "GLSL.std.450" in TEST() 130 std::string after_op_2 = R"( in TEST() 132 %1 = OpExtInstImport "GLSL.std.450" in TEST() 166 std::string after_op_4 = R"( in TEST() 168 %1 = OpExtInstImport "GLSL.std in TEST() [all...] |
/third_party/skia/third_party/externals/oboe/src/fifo/ |
H A D | FifoControllerIndirect.h | 34 std::atomic<uint64_t> *readCounterAddress, 35 std::atomic<uint64_t> *writeCounterAddress); 39 return mReadCounterAddress->load(std::memory_order_acquire); 42 mReadCounterAddress->store(n, std::memory_order_release); 45 mReadCounterAddress->fetch_add(n, std::memory_order_acq_rel); 48 return mWriteCounterAddress->load(std::memory_order_acquire); 51 mWriteCounterAddress->store(n, std::memory_order_release); 54 mWriteCounterAddress->fetch_add(n, std::memory_order_acq_rel); 59 std::atomic<uint64_t> *mReadCounterAddress; 60 std [all...] |
/third_party/skia/src/sksl/ir/ |
H A D | SkSLBlock.h | 24 const std::shared_ptr<SymbolTable> symbols = nullptr, bool isScope = true) in Block() 26 , fChildren(std::move(statements)) in Block() 27 , fSymbolTable(std::move(symbols)) in Block() 32 static std::unique_ptr<Block> Make(int line, 34 std::shared_ptr<SymbolTable> symbols = nullptr, 39 static std::unique_ptr<Statement> MakeUnscoped(int line, StatementArray statements); 57 std::shared_ptr<SymbolTable> symbolTable() const { in symbolTable() 62 for (const std::unique_ptr<Statement>& stmt : this->children()) { 70 std::unique_ptr<Statement> clone() const override; 76 std [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | AsyncTask.cpp | 15 waitableTask->asyncTask = std::move(asyncTask); in PostTask() 22 std::lock_guard<std::mutex> lock(mPendingTasksMutex); in PostTask() 34 std::lock_guard<std::mutex> lock(mPendingTasksMutex); in HandleTaskCompletion() 42 std::unordered_map<WaitableTask*, Ref<WaitableTask>> allPendingTasks; in WaitAllPendingTasks() 45 std::lock_guard<std::mutex> lock(mPendingTasksMutex); in WaitAllPendingTasks() 55 std::lock_guard<std in HasPendingTasks() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/ |
H A D | FileHeaderReader.cpp | 32 std::make_error_code(std::errc::invalid_argument), in readBinaryFormatHeader() 40 std::make_error_code(std::errc::invalid_argument), in readBinaryFormatHeader() 48 std::make_error_code(std::errc::invalid_argument), in readBinaryFormatHeader() 58 std::make_error_code(std::errc::invalid_argument), in readBinaryFormatHeader() 63 std::memcpy(&FileHeader.FreeFormData, in readBinaryFormatHeader() 69 return std in readBinaryFormatHeader() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/ |
H A D | DataStream.cpp | 65 std::error_code OpenFile(const std::string &Filename) { in OpenFile() 69 return std::error_code(); in OpenFile() 78 std::unique_ptr<DataStreamer> 79 llvm::getDataFileStreamer(const std::string &Filename, std::string *StrError) { in getDataFileStreamer() 80 std::unique_ptr<DataFileStreamer> s = make_unique<DataFileStreamer>(); in getDataFileStreamer() 81 if (std::error_code e = s->OpenFile(Filename)) { in getDataFileStreamer() 83 std::string("Could not open ") + Filename + ": " + e.message() + "\n"; in getDataFileStreamer() 86 return std in getDataFileStreamer() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
H A D | IceRangeSpec.h | 36 static constexpr uint32_t RangeMax = std::numeric_limits<uint32_t>::max(); 40 std::unordered_set<std::string> Names; 51 void init(const std::string &Spec); 52 bool match(const std::string &Name, uint32_t Number) const; 66 static std::vector<std::string> tokenize(const std::string &Spec, 70 void include(const std::string &Token); 71 void exclude(const std [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/ |
H A D | HexagonMCELFStreamer.h | 21 std::unique_ptr<MCInstrInfo> MCII; 24 HexagonMCELFStreamer(MCContext &Context, std::unique_ptr<MCAsmBackend> TAB, 25 std::unique_ptr<MCObjectWriter> OW, 26 std::unique_ptr<MCCodeEmitter> Emitter); 28 HexagonMCELFStreamer(MCContext &Context, std::unique_ptr<MCAsmBackend> TAB, 29 std::unique_ptr<MCObjectWriter> OW, 30 std::unique_ptr<MCCodeEmitter> Emitter, 43 std::unique_ptr<MCAsmBackend> MAB, 44 std::unique_ptr<MCObjectWriter> OW, 45 std [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
H A D | bit.h | 26 , typename = typename std::enable_if<sizeof(To) == sizeof(From)>::type 29 , typename = typename std::is_trivially_constructible<To>::type 31 , typename = typename std::enable_if<__is_trivially_constructible(To)>::type 37 , typename = typename std::enable_if<std::is_trivially_copyable<To>::value>::type 38 , typename = typename std::enable_if<std::is_trivially_copyable<From>::value>::type 40 , typename = typename std::enable_if<__is_trivially_copyable(To)>::type 41 , typename = typename std::enable_if<__is_trivially_copyable(From)>::type 52 std [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/ |
H A D | time_zone_if.h | 37 static std::unique_ptr<TimeZoneIf> Load(const std::string& name); 50 virtual std::string Version() const = 0; 51 virtual std::string Description() const = 0; 58 // Unix epoch. We assume that the std::chrono::system_clock and the 60 inline std::int_fast64_t ToUnixSeconds(const time_point<seconds>& tp) { in ToUnixSeconds() 61 return (tp - std::chrono::time_point_cast<seconds>( in ToUnixSeconds() 62 std::chrono::system_clock::from_time_t(0))) in ToUnixSeconds() 65 inline time_point<seconds> FromUnixSeconds(std::int_fast64_t t) { in FromUnixSeconds() 66 return std in FromUnixSeconds() [all...] |
/third_party/skia/experimental/graphite/src/ |
H A D | DrawPass.h | 43 static std::unique_ptr<DrawPass> Make(Recorder*, 44 std::unique_ptr<DrawList>, 46 std::pair<LoadOp, StoreOp>, 47 std::array<float, 4> clearColor, 54 std::pair<LoadOp, StoreOp> ops() const { return fOps; } in ops() 55 std::array<float, 4> clearColor() const { return fClearColor; } in clearColor() 80 std::pair<LoadOp, StoreOp> ops, 81 std::array<float, 4> clearColor, 87 std::pair<LoadOp, StoreOp> fOps; 88 std [all...] |
/third_party/skia/include/private/ |
H A D | SkWeakRefCnt.h | 66 fWeakCnt.store(0, std::memory_order_relaxed); 73 return fWeakCnt.load(std::memory_order_relaxed); in getWeakCnt() 82 int32_t prev = fRefCnt.load(std::memory_order_relaxed); in atomic_conditional_acquire_strong_ref() 87 } while(!fRefCnt.compare_exchange_weak(prev, prev+1, std::memory_order_acquire, in atomic_conditional_acquire_strong_ref() 88 std::memory_order_relaxed)); in atomic_conditional_acquire_strong_ref() 116 (void)fWeakCnt.fetch_add(+1, std::memory_order_relaxed); in weak_ref() 127 if (1 == fWeakCnt.fetch_add(-1, std::memory_order_acq_rel)) { in weak_unref() 132 fWeakCnt.store(1, std::memory_order_relaxed); in weak_unref() 142 return fRefCnt.load(std::memory_order_relaxed) == 0; in weak_expired() 165 mutable std [all...] |
/third_party/rust/crates/os_str_bytes/src/common/ |
H A D | mod.rs | 1 use std::borrow::Cow; 2 use std::convert::Infallible; 3 use std::ffi::OsStr; 4 use std::ffi::OsString; 5 use std::result; 8 use std::os::fortanix_sgx as os; 10 use std::os::solid as os; 12 use std::os::unix as os; 14 use std::os::wasi as os; 16 use std [all...] |
/third_party/spirv-tools/test/opt/ |
H A D | relax_float_ops_test.cpp | 60 const std::string defs0 = in TEST_F() 63 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 83 const std::string defs1 = in TEST_F() 104 const std::string relax_decos = in TEST_F() 113 const std::string func_orig = in TEST_F() 140 const std::string defs0 = in TEST_F() 144 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 163 const std::string defs1 = in TEST_F() 184 const std::string relax_decos = in TEST_F() 193 const std in TEST_F() [all...] |
H A D | strip_debug_info_test.cpp | 27 std::vector<const char*> text = { in TEST_F() 30 "%1 = OpExtInstImport \"GLSL.std.450\"", in TEST_F() 63 const std::vector<const char*> more_text = { in TEST_F() 82 std::vector<const char*> input{ in TEST_F() 85 "%1 = OpExtInstImport \"GLSL.std.450\"", in TEST_F() 98 std::vector<const char*> output{ in TEST_F() 101 "%1 = OpExtInstImport \"GLSL.std.450\"", in TEST_F() 119 std::vector<const char*> input{ in TEST_F() 122 "%1 = OpExtInstImport \"GLSL.std.450\"", in TEST_F() 135 std in TEST_F() [all...] |
/third_party/spirv-tools/test/reduce/ |
H A D | operand_to_dominating_id_test.cpp | 26 std::string original = R"( in TEST() 28 %1 = OpExtInstImport "GLSL.std.450" in TEST() 64 std::string after_op_0 = R"( in TEST() 66 %1 = OpExtInstImport "GLSL.std.450" in TEST() 97 std::string after_op_1 = R"( in TEST() 99 %1 = OpExtInstImport "GLSL.std.450" in TEST() 130 std::string after_op_2 = R"( in TEST() 132 %1 = OpExtInstImport "GLSL.std.450" in TEST() 166 std::string after_op_4 = R"( in TEST() 168 %1 = OpExtInstImport "GLSL.std in TEST() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | WorkerThread.h | 46 void setWorkerThreadPool(std::shared_ptr<WorkerThreadPool> pool) { mPool = pool; } in setWorkerThreadPool() 49 static void WaitMany(std::array<std::shared_ptr<WaitableEvent>, Count> *waitables) in WaitMany() 59 std::shared_ptr<WorkerThreadPool> mPool; 78 static std::shared_ptr<WorkerThreadPool> Create(bool multithreaded); 79 static std::shared_ptr<WaitableEvent> PostWorkerTask(std::shared_ptr<WorkerThreadPool> pool, 80 std::shared_ptr<Closure> task); 89 virtual std::shared_ptr<WaitableEvent> postWorkerTask(std [all...] |