/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
H A D | unify_const_test.cpp | 30 std::vector<std::string> CommonTypes() { in CommonTypes() 31 return std::vector<std::string>{ in CommonTypes() 79 std::tuple<std::string, std::unordered_set<std::string>> 80 StripOpNameInstructionsToSet(const std::string& str) { in StripOpNameInstructionsToSet() 81 std in StripOpNameInstructionsToSet() [all...] |
/third_party/spirv-tools/test/opt/ |
H A D | unify_const_test.cpp | 30 std::vector<std::string> CommonTypes() { in CommonTypes() 31 return std::vector<std::string>{ in CommonTypes() 79 std::tuple<std::string, std::unordered_set<std::string>> 80 StripOpNameInstructionsToSet(const std::string& str) { in StripOpNameInstructionsToSet() 81 std in StripOpNameInstructionsToSet() [all...] |
H A D | convert_relaxed_to_half_test.cpp | 62 const std::string defs_before = in TEST_F() 65 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 115 const std::string defs_after = in TEST_F() 119 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 167 const std::string func_before = in TEST_F() 183 const std::string func_after = in TEST_F() 208 const std::string before = in TEST_F() 250 const std::string after = in TEST_F() 336 const std::string defs_before = in TEST_F() 339 %1 = OpExtInstImport "GLSL.std in TEST_F() [all...] |
/third_party/nghttp2/src/ |
H A D | shrpx_connection_handler.h | 78 std::vector<uint8_t> resp; 99 const std::shared_ptr<DownstreamConfig> &downstreamconf) in SerialEvent() 103 std::shared_ptr<DownstreamConfig> downstreamconf; 125 std::vector<std::array<uint8_t, SHRPX_QUIC_CID_PREFIXLEN>> cid_prefixes, in QUICLingeringWorkerProcess() 127 : cid_prefixes{std::move(cid_prefixes)}, quic_ipc_fd{quic_ipc_fd} {} in QUICLingeringWorkerProcess() 129 std::vector<std::array<uint8_t, SHRPX_QUIC_CID_PREFIXLEN>> cid_prefixes; 137 ConnectionHandler(struct ev_loop *loop, std::mt19937 &gen); 147 set_ticket_keys_to_worker(const std [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
H A D | ccp_test.cpp | 30 const std::string spv_asm = R"( in TEST_F() 32 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 88 const std::string spv_asm = R"( in TEST_F() 90 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 145 const std::string spv_asm = R"( in TEST_F() 147 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 194 const std::string spv_asm = R"( in TEST_F() 196 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 243 const std::string spv_asm = R"( in TEST_F() 245 %1 = OpExtInstImport "GLSL.std in TEST_F() [all...] |
/third_party/backends/backend/genesys/ |
H A D | image.h | 33 Image(std::size_t width, std::size_t height, PixelFormat format); 35 std::size_t get_width() const { return width_; } in get_width() 36 std::size_t get_height() const { return height_; } in get_height() 38 std::size_t get_row_bytes() const { return row_bytes_; } in get_row_bytes() 40 std::uint8_t* get_row_ptr(std::size_t y); 41 const std::uint8_t* get_row_ptr(std::size_t y) const; 43 Pixel get_pixel(std [all...] |
H A D | scanner_interface_usb.h | 38 std::uint8_t read_register(std::uint16_t address) override; 39 void write_register(std::uint16_t address, std::uint8_t value) override; 42 void write_0x8c(std::uint8_t index, std::uint8_t value) override; 43 void bulk_read_data(std::uint8_t addr, std::uint8_t* data, std::size_t size) override; 44 void bulk_write_data(std [all...] |
H A D | scanner_interface.h | 41 virtual std::uint8_t read_register(std::uint16_t address) = 0; 42 virtual void write_register(std::uint16_t address, std::uint8_t value) = 0; 45 virtual void write_0x8c(std::uint8_t index, std::uint8_t value) = 0; 46 virtual void bulk_read_data(std::uint8_t addr, std::uint8_t* data, std::size_t size) = 0; 47 virtual void bulk_write_data(std [all...] |
/third_party/node/src/inspector/ |
H A D | worker_inspector.h | 22 virtual void WorkerCreated(const std::string& title, 23 const std::string& url, 25 std::shared_ptr<MainThreadHandle> worker) = 0; 31 explicit WorkerManagerEventHandle(std::shared_ptr<WorkerManager> manager, in WorkerManagerEventHandle() 38 std::shared_ptr<WorkerManager> manager_; 43 WorkerInfo(const std::string& target_title, in WorkerInfo() 44 const std::string& target_url, in WorkerInfo() 45 std::shared_ptr<MainThreadHandle> worker_thread) in WorkerInfo() 49 std::string title; 50 std [all...] |
/third_party/spirv-tools/test/opt/loop_optimizations/ |
H A D | unroll_simple.cpp | 47 const std::string text = R"( in TEST_F() 49 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 99 const std::string output = R"(OpCapability Shader in TEST_F() 100 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 184 std::unique_ptr<IRContext> context = in TEST_F() 189 << text << std::endl; in TEST_F() 212 const std::string text = R"( in TEST_F() 214 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 368 std::unique_ptr<IRContext> context = in TEST_F() 373 << text << std in TEST_F() [all...] |
/third_party/skia/third_party/externals/libjpeg-turbo/gtest/ |
H A D | tjbench-gtest-wrapper.cpp | 32 const static std::vector<std::pair<const std::string, 33 const std::string>> IMAGE_MD5_BASELINE = { 57 ::testing::TestWithParam<std::pair<const std::string, const std::string>> { 75 std::string prog_name = "tjbench"; in SetUpTestSuite() 76 std::string arg1 = target_path.MaybeAsASCII(); in SetUpTestSuite() 77 std in SetUpTestSuite() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyldChecker.cpp | 46 std::tie(LHSResult, RemainingExpr) = in evaluate() 56 std::tie(RHSResult, RemainingExpr) = in evaluate() 101 EvalResult(std::string ErrorMsg) in EvalResult() 102 : Value(0), ErrorMsg(std::move(ErrorMsg)) {} in EvalResult() 105 const std::string &getErrorMsg() const { return ErrorMsg; } in getErrorMsg() 109 std::string ErrorMsg; 118 std::tie(Token, Remaining) = parseSymbol(Expr); in getTokenForError() 120 std::tie(Token, Remaining) = parseNumberString(Expr); in getTokenForError() 132 std::string ErrorMsg("Encountered unexpected token '"); in unexpectedToken() 143 return EvalResult(std in unexpectedToken() 586 evalSliceExpr(const std::pair<EvalResult, StringRef> &Ctx) const evalSliceExpr() argument 630 evalComplexExpr(const std::pair<EvalResult, StringRef> &LHSAndRemaining, ParseContext PCtx) const evalComplexExpr() argument [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/utility/ |
H A D | utility_test.cc | 107 -> decltype(f(std::get<Is>(tup)...)) { 108 return f(std::get<Is>(tup)...); 112 using TupIdxSeq = absl::make_index_sequence<std::tuple_size<Tup>::value>; 121 std::string Fmt(const T& x) { 122 std::ostringstream os; 129 std::string operator()(const Args&... args) const { 130 std::string r; 137 std::vector<std::string> TupStringVecImpl(const Tup& tup, 139 return {Fmt(std [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/opt/loop_optimizations/ |
H A D | unroll_simple.cpp | 48 const std::string text = R"( in TEST_F() 50 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 100 const std::string output = R"(OpCapability Shader in TEST_F() 101 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 185 std::unique_ptr<IRContext> context = in TEST_F() 190 << text << std::endl; in TEST_F() 213 const std::string text = R"( in TEST_F() 215 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 369 std::unique_ptr<IRContext> context = in TEST_F() 374 << text << std in TEST_F() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/ |
H A D | unroll_simple.cpp | 48 const std::string text = R"( in TEST_F() 50 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 100 const std::string output = R"(OpCapability Shader in TEST_F() 101 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 185 std::unique_ptr<IRContext> context = in TEST_F() 190 << text << std::endl; in TEST_F() 213 const std::string text = R"( in TEST_F() 215 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 369 std::unique_ptr<IRContext> context = in TEST_F() 374 << text << std in TEST_F() [all...] |
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | SynchronizedValue.h | 22 template <typename T, typename Lockable = std::mutex> 30 ConstStrictLockPtr(const T &value, Lockable &mutex, std::adopt_lock_t) noexcept 31 : mLock(mutex, std::adopt_lock), mValue(value) in mValue() 35 : mLock(std::move(other.mLock)), mValue(other.mValue) in mValue() 47 std::unique_lock<Lockable> mLock; 51 template <typename T, typename Lockable = std::mutex> 59 StrictLockPtr(T &value, Lockable &mutex, std::adopt_lock_t) noexcept 60 : BaseType(value, mutex, std::adopt_lock) in BaseType() 64 : BaseType(std::move(static_cast<BaseType &&>(other))) in move() 88 template <typename T, typename Lockable = std [all...] |
/third_party/json/include/nlohmann/detail/input/ |
H A D | input_adapters.hpp | 51 explicit file_input_adapter(std::FILE* f) noexcept 64 std::char_traits<char>::int_type get_character() noexcept 66 return std::fgetc(m_file); 71 std::FILE* m_file; 77 beginning of input. Does not support changing the underlying std::streambuf 78 in mid-input. Maintains underlying std::istream and std::streambuf to support 79 subsequent use of standard std::istream operations to process any input 81 std::istream flags; any input errors (e.g., EOF) will be detected by the first 82 subsequent call for input from the std [all...] |
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
H A D | class_with_inner_struct.rs | 11 pub c: ::std::os::raw::c_uint, 18 pub begin: ::std::os::raw::c_int, 19 pub end: ::std::os::raw::c_int, 23 const UNINIT: ::std::mem::MaybeUninit<A_Segment> = in bindgen_test_layout_A_Segment() 24 ::std::mem::MaybeUninit::uninit(); in bindgen_test_layout_A_Segment() 27 ::std::mem::size_of::<A_Segment>(), in bindgen_test_layout_A_Segment() 32 ::std::mem::align_of::<A_Segment>(), in bindgen_test_layout_A_Segment() 37 unsafe { ::std::ptr::addr_of!((*ptr).begin) as usize - ptr as usize }, in bindgen_test_layout_A_Segment() 47 unsafe { ::std::ptr::addr_of!((*ptr).end) as usize - ptr as usize }, in bindgen_test_layout_A_Segment() 60 pub f: ::std [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/val/ |
H A D | function.h | 37 std::size_t operator()( in operator ()() 38 const std::pair<const BasicBlock*, ConstructType>& p) const { in operator ()() 39 auto h1 = std::hash<const BasicBlock*>{}(p.first); in operator ()() 40 auto h2 = std::hash<std::underlying_type<ConstructType>::type>{}( in operator ()() 41 static_cast<std::underlying_type<ConstructType>::type>(p.second)); in operator ()() 100 void RegisterBlockEnd(std::vector<uint32_t> successors_list); 115 std::pair<const BasicBlock*, bool> GetBlock(uint32_t id) const; 116 std::pair<BasicBlock*, bool> GetBlock(uint32_t id); 125 const std 212 RegisterExecutionModelLimitation( std::function<bool(SpvExecutionModel, std::string*)> is_compatible) RegisterExecutionModelLimitation() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
H A D | function.h | 37 std::size_t operator()( in operator ()() 38 const std::pair<const BasicBlock*, ConstructType>& p) const { in operator ()() 39 auto h1 = std::hash<const BasicBlock*>{}(p.first); in operator ()() 40 auto h2 = std::hash<std::underlying_type<ConstructType>::type>{}( in operator ()() 41 static_cast<std::underlying_type<ConstructType>::type>(p.second)); in operator ()() 100 void RegisterBlockEnd(std::vector<uint32_t> successors_list); 115 std::pair<const BasicBlock*, bool> GetBlock(uint32_t id) const; 116 std::pair<BasicBlock*, bool> GetBlock(uint32_t id); 125 const std 212 RegisterExecutionModelLimitation( std::function<bool(SpvExecutionModel, std::string*)> is_compatible) RegisterExecutionModelLimitation() argument [all...] |
/third_party/spirv-tools/source/val/ |
H A D | function.h | 37 std::size_t operator()( in operator ()() 38 const std::pair<const BasicBlock*, ConstructType>& p) const { in operator ()() 39 auto h1 = std::hash<const BasicBlock*>{}(p.first); in operator ()() 40 auto h2 = std::hash<std::underlying_type<ConstructType>::type>{}( in operator ()() 41 static_cast<std::underlying_type<ConstructType>::type>(p.second)); in operator ()() 102 void RegisterBlockEnd(std::vector<uint32_t> successors_list); 117 std::pair<const BasicBlock*, bool> GetBlock(uint32_t id) const; 118 std::pair<BasicBlock*, bool> GetBlock(uint32_t id); 127 const std 214 RegisterExecutionModelLimitation( std::function<bool(spv::ExecutionModel, std::string*)> is_compatible) RegisterExecutionModelLimitation() argument [all...] |
/third_party/spirv-tools/source/opt/ |
H A D | function.h | 45 inline explicit Function(std::unique_ptr<Instruction> def_inst); 59 inline void AddParameter(std::unique_ptr<Instruction> p); 61 inline void AddDebugInstructionInHeader(std::unique_ptr<Instruction> p); 63 inline void AddBasicBlock(std::unique_ptr<BasicBlock> b); 65 inline void AddBasicBlock(std::unique_ptr<BasicBlock> b, iterator ip); 81 inline void SetFunctionEnd(std::unique_ptr<Instruction> end_inst); 86 std::unique_ptr<Instruction> non_semantic); 102 const std::unique_ptr<BasicBlock>& entry() const { return blocks_.front(); } in entry() 121 return std::find_if(begin(), end(), [bb_id](const BasicBlock& it_bb) { in FindBlock() 129 void ForEachInst(const std [all...] |
/third_party/protobuf/conformance/ |
H A D | binary_json_conformance_suite.h | 56 void RunValidJsonTest(const std::string& test_name, ConformanceLevel level, 57 const std::string& input_json, 58 const std::string& equivalent_text_format); 60 const std::string& test_name, ConformanceLevel level, 62 const std::string& equivalent_text_format); 63 void RunValidJsonIgnoreUnknownTest(const std::string& test_name, 65 const std::string& input_json, 66 const std::string& equivalent_text_format); 67 void RunValidProtobufTest(const std::string& test_name, 69 const std [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/ |
H A D | marshalling.h | 34 // * `std::string` 35 // * `std::vector<std::string>` 91 // std::string* error) { 108 // std::string AbslUnparseFlag(OutputMode mode) { 124 // consisting of a `std::pair<int, std::string>` would add an `AbslParseFlag()` 132 // std::pair<int, std::string> my_flag_data; 136 // std [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/deqp_support/ |
H A D | angle_deqp_gtest.cpp | 56 std::string DrawElementsToGoogleTestName(const std::string &dEQPName) in DrawElementsToGoogleTestName() 58 std::string gTestName = dEQPName.substr(dEQPName.find('.') + 1); in DrawElementsToGoogleTestName() 59 std::replace(gTestName.begin(), gTestName.end(), '.', '_'); in DrawElementsToGoogleTestName() 62 gTestName.erase(std::remove(gTestName.begin(), gTestName.end(), '-'), gTestName.end()); in DrawElementsToGoogleTestName() 101 using APIInfo = std::pair<const char *, GPUTestConfig::API>; 124 std::array<char, 500> gCaseStringBuffer; 155 std::vector<const char *> gdEQPForwardFlags; 170 const APIInfo *FindAPIInfo(const std::string &arg) in FindAPIInfo() 189 std [all...] |