/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/ |
H A D | timer.cpp | 28 void PrintTimerDescription(std::ostream* out, bool measure_mem_usage) { in PrintTimerDescription() 30 *out << std::setw(30) << "PASS name" << std::setw(12) << "CPU time" in PrintTimerDescription() 31 << std::setw(12) << "WALL time" << std::setw(12) << "USR time" in PrintTimerDescription() 32 << std::setw(12) << "SYS time"; in PrintTimerDescription() 34 *out << std::setw(12) << "RSS delta" << std::setw(16) << "PGFault delta"; in PrintTimerDescription() 36 *out << std::endl; in PrintTimerDescription() 71 *report_stream_ << std in Report() [all...] |
/third_party/spirv-tools/source/util/ |
H A D | timer.cpp | 28 void PrintTimerDescription(std::ostream* out, bool measure_mem_usage) { in PrintTimerDescription() 30 *out << std::setw(30) << "PASS name" << std::setw(12) << "CPU time" in PrintTimerDescription() 31 << std::setw(12) << "WALL time" << std::setw(12) << "USR time" in PrintTimerDescription() 32 << std::setw(12) << "SYS time"; in PrintTimerDescription() 34 *out << std::setw(12) << "RSS delta" << std::setw(16) << "PGFault delta"; in PrintTimerDescription() 36 *out << std::endl; in PrintTimerDescription() 71 *report_stream_ << std in Report() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/memory/ |
H A D | memory_test.cc | 61 std::unique_ptr<DestructorVerifier> ptr = absl::WrapUnique(dv); in TEST() 67 std::unique_ptr<std::string> p = absl::make_unique<std::string>(); in TEST() 69 p = absl::make_unique<std::string>("hi"); in TEST() 116 std::unique_ptr<int> ip1; 117 std::unique_ptr<int> ip2; 121 explicit AcceptMoveOnly(MoveOnly m) : m_(std::move(m)) {} in AcceptMoveOnly() 126 using ExpectedType = std::unique_ptr<MoveOnly>; in TEST() 129 static_assert(std in TEST() [all...] |
/third_party/gn/src/gn/ |
H A D | parser.h | 28 static std::unique_ptr<ParseNode> Parse(const std::vector<Token>& tokens, 32 static std::unique_ptr<ParseNode> ParseExpression( 33 const std::vector<Token>& tokens, 37 static std::unique_ptr<ParseNode> ParseValue(const std::vector<Token>& tokens, 42 Parser(const std::vector<Token>& tokens, Err* err); 45 std::unique_ptr<ParseNode> ParseExpression(); 48 std::unique_ptr<ParseNode> ParseExpression(int precedence); 51 std [all...] |
/third_party/node/deps/v8/src/torque/ |
H A D | declarations.h | 26 std::vector<T*> FilterDeclarables(const std::vector<Declarable*> list) { in FilterDeclarables() 27 std::vector<T*> result; in FilterDeclarables() 36 inline std::string UnwrapTNodeTypeName(const std::string& generates) { in UnwrapTNodeTypeName() 47 static std::vector<Declarable*> TryLookup(const QualifiedName& name) { in TryLookup() 51 static std::vector<Declarable*> TryLookupShallow(const QualifiedName& name) { in TryLookupShallow() 56 static std::vector<T*> TryLookup(const QualifiedName& name) { in TryLookup() 60 static std::vector<Declarable*> Lookup(const QualifiedName& name) { in Lookup() 61 std in Lookup() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
H A D | trace.cpp | 53 thread = std::thread([&] { in Trace() 56 auto out = std::fstream("chrome.trace", std::ios_base::out); in Trace() 58 out << "[" << std::endl; in Trace() 59 defer(out << std::endl << "]" << std::endl); in Trace() 68 out << "," << std::endl; in Trace() 71 out << "{" << std::endl; in Trace() 159 auto now = std::chrono::high_resolution_clock::now(); in timestamp() 161 std in timestamp() [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/val/ |
H A D | val_arithmetics_test.cpp | 32 std::string GenerateCode(const std::string& main_body) { in GenerateCode() 33 const std::string prefix = in GenerateCode() 39 %ext_inst = OpExtInstImport "GLSL.std.450" in GenerateCode() 162 const std::string suffix = in GenerateCode() 171 const std::string body = R"( in TEST_F() 186 const std::string body = R"( in TEST_F() 201 const std::string body = R"( in TEST_F() 219 const std::string body = R"( in TEST_F() 237 const std in TEST_F() [all...] |
H A D | val_atomics_test.cpp | 31 std::string GenerateShaderCodeImpl( in GenerateShaderCodeImpl() 32 const std::string& body, const std::string& capabilities_and_extensions, in GenerateShaderCodeImpl() 33 const std::string& definitions, const std::string& memory_model, in GenerateShaderCodeImpl() 34 const std::string& execution) { in GenerateShaderCodeImpl() 35 std::ostringstream ss; in GenerateShaderCodeImpl() 95 std::string GenerateShaderCode( in GenerateShaderCode() 96 const std::string& body, in GenerateShaderCode() 97 const std in GenerateShaderCode() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/val/ |
H A D | val_arithmetics_test.cpp | 32 std::string GenerateCode(const std::string& main_body) { in GenerateCode() 33 const std::string prefix = in GenerateCode() 39 %ext_inst = OpExtInstImport "GLSL.std.450" in GenerateCode() 162 const std::string suffix = in GenerateCode() 171 const std::string body = R"( in TEST_F() 186 const std::string body = R"( in TEST_F() 201 const std::string body = R"( in TEST_F() 219 const std::string body = R"( in TEST_F() 237 const std in TEST_F() [all...] |
H A D | val_atomics_test.cpp | 31 std::string GenerateShaderCodeImpl( in GenerateShaderCodeImpl() 32 const std::string& body, const std::string& capabilities_and_extensions, in GenerateShaderCodeImpl() 33 const std::string& definitions, const std::string& memory_model, in GenerateShaderCodeImpl() 34 const std::string& execution) { in GenerateShaderCodeImpl() 35 std::ostringstream ss; in GenerateShaderCodeImpl() 95 std::string GenerateShaderCode( in GenerateShaderCode() 96 const std::string& body, in GenerateShaderCode() 97 const std in GenerateShaderCode() [all...] |
/third_party/googletest/googlemock/test/ |
H A D | gmock-more-actions_test.cc | 53 using ::std::plus; 54 using ::std::string; 78 bool ByConstRef(const std::string& s) { return s == "Hi"; } in ByConstRef() 113 std::string Concat7(const char* s1, const char* s2, const char* s3, in Concat7() 116 return std::string(s1) + s2 + s3 + s4 + s5 + s6 + s7; in Concat7() 119 std::string Concat8(const char* s1, const char* s2, const char* s3, in Concat8() 122 return std::string(s1) + s2 + s3 + s4 + s5 + s6 + s7 + s8; in Concat8() 125 std::string Concat9(const char* s1, const char* s2, const char* s3, in Concat9() 128 return std::string(s1) + s2 + s3 + s4 + s5 + s6 + s7 + s8 + s9; in Concat9() 131 std [all...] |
/third_party/spirv-tools/test/val/ |
H A D | val_atomics_test.cpp | 31 std::string GenerateShaderCodeImpl( in GenerateShaderCodeImpl() 32 const std::string& body, const std::string& capabilities_and_extensions, in GenerateShaderCodeImpl() 33 const std::string& definitions, const std::string& memory_model, in GenerateShaderCodeImpl() 34 const std::string& execution) { in GenerateShaderCodeImpl() 35 std::ostringstream ss; in GenerateShaderCodeImpl() 95 std::string GenerateShaderCode( in GenerateShaderCode() 96 const std::string& body, in GenerateShaderCode() 97 const std in GenerateShaderCode() [all...] |
/third_party/node/deps/v8/tools/debug_helper/ |
H A D | debug-helper-internal.h | 36 PropertyBase(std::string name, std::string type, in PropertyBase() 37 std::string decompressed_type) in PropertyBase() 46 std::string name_; 47 std::string type_; 48 std::string decompressed_type_; 54 StructProperty(std::string name, std::string type, in StructProperty() 55 std::string decompressed_type, size_t offset, uint8_t num_bits, in StructProperty() 57 : PropertyBase(std in StructProperty() [all...] |
/third_party/node/deps/v8/third_party/wasm-api/example/ |
H A D | table.cc | 14 std::cout << "Calling back..." << std::endl; 22 std::cout << "> Error accessing table export " << i << "!" << std::endl; 30 std::cout << "> Error accessing function export " << i << "!" << std::endl; 39 std::cout << "> Error on result, expected " << expected << ", got " << actual << std::endl; in check() 46 std::cout << "> Error, expected success" << std in check() [all...] |
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
H A D | 16-byte-alignment.rs | 29 const UNINIT: ::std::mem::MaybeUninit< in bindgen_test_layout_rte_ipv4_tuple__bindgen_ty_1__bindgen_ty_1() 31 > = ::std::mem::MaybeUninit::uninit(); in bindgen_test_layout_rte_ipv4_tuple__bindgen_ty_1__bindgen_ty_1() 34 ::std::mem::size_of::<rte_ipv4_tuple__bindgen_ty_1__bindgen_ty_1>(), in bindgen_test_layout_rte_ipv4_tuple__bindgen_ty_1__bindgen_ty_1() 42 ::std::mem::align_of::<rte_ipv4_tuple__bindgen_ty_1__bindgen_ty_1>(), in bindgen_test_layout_rte_ipv4_tuple__bindgen_ty_1__bindgen_ty_1() 50 unsafe { ::std::ptr::addr_of!((*ptr).dport) as usize - ptr as usize }, in bindgen_test_layout_rte_ipv4_tuple__bindgen_ty_1__bindgen_ty_1() 60 unsafe { ::std::ptr::addr_of!((*ptr).sport) as usize - ptr as usize }, in bindgen_test_layout_rte_ipv4_tuple__bindgen_ty_1__bindgen_ty_1() 72 const UNINIT: ::std::mem::MaybeUninit<rte_ipv4_tuple__bindgen_ty_1> = in bindgen_test_layout_rte_ipv4_tuple__bindgen_ty_1() 73 ::std::mem::MaybeUninit::uninit(); in bindgen_test_layout_rte_ipv4_tuple__bindgen_ty_1() 76 ::std::mem::size_of::<rte_ipv4_tuple__bindgen_ty_1>(), in bindgen_test_layout_rte_ipv4_tuple__bindgen_ty_1() 81 ::std in bindgen_test_layout_rte_ipv4_tuple__bindgen_ty_1() [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
H A D | pass_fixture.h | 42 // using ValueParamTest = PassTest<::testing::TestWithParam<std::string>>; 51 const char* message) { std::cerr << message << std::endl; }), in PassTest() 61 std::tuple<std::vector<uint32_t>, Pass::Status> OptimizeToBinary( in OptimizeToBinary() 62 Pass* pass, const std::string& original, bool skip_nop) { in OptimizeToBinary() 65 << original << std::endl; in OptimizeToBinary() 67 return std::make_tuple(std::vector<uint32_t>(), Pass::Status::Failure); in OptimizeToBinary() 76 std in OptimizeToBinary() [all...] |
H A D | pass_remove_duplicates_test.cpp | 57 ": " + std::to_string(position.index) + ": " + message; in RemoveDuplicatesTest() 66 std::string RunPass(const std::string& text) { in RunPass() 68 if (!context_.get()) return std::string(); in RunPass() 75 if (pass_res == Pass::Status::Failure) return std::string(); in RunPass() 82 spv_result_t Disassemble(const std::vector<uint32_t>& binary, in Disassemble() 83 std::string* text) { in Disassemble() 91 std::string GetErrorMessage() const { return error_message_; } in GetErrorMessage() 93 std::string ToText(const std [all...] |
H A D | pass_merge_return_test.cpp | 30 const std::string before = in TEST_F() 45 const std::string after = before; in TEST_F() 53 const std::string before = in TEST_F() 74 const std::string after = in TEST_F() 103 const std::string before = in TEST_F() 134 const std::string after = in TEST_F() 175 const std::string before = in TEST_F() 196 const std::string after = in TEST_F() 226 const std::string before = in TEST_F() 249 const std in TEST_F() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
H A D | pass_fixture.h | 42 // using ValueParamTest = PassTest<::testing::TestWithParam<std::string>>; 51 const char* message) { std::cerr << message << std::endl; }), in PassTest() 61 std::tuple<std::vector<uint32_t>, Pass::Status> OptimizeToBinary( in OptimizeToBinary() 62 Pass* pass, const std::string& original, bool skip_nop) { in OptimizeToBinary() 65 << original << std::endl; in OptimizeToBinary() 67 return std::make_tuple(std::vector<uint32_t>(), Pass::Status::Failure); in OptimizeToBinary() 76 std in OptimizeToBinary() [all...] |
H A D | pass_remove_duplicates_test.cpp | 57 ": " + std::to_string(position.index) + ": " + message; in RemoveDuplicatesTest() 66 std::string RunPass(const std::string& text) { in RunPass() 68 if (!context_.get()) return std::string(); in RunPass() 75 if (pass_res == Pass::Status::Failure) return std::string(); in RunPass() 82 spv_result_t Disassemble(const std::vector<uint32_t>& binary, in Disassemble() 83 std::string* text) { in Disassemble() 91 std::string GetErrorMessage() const { return error_message_; } in GetErrorMessage() 93 std::string ToText(const std [all...] |
H A D | pass_merge_return_test.cpp | 30 const std::string before = in TEST_F() 45 const std::string after = before; in TEST_F() 53 const std::string before = in TEST_F() 74 const std::string after = in TEST_F() 103 const std::string before = in TEST_F() 134 const std::string after = in TEST_F() 175 const std::string before = in TEST_F() 196 const std::string after = in TEST_F() 226 const std::string before = in TEST_F() 249 const std in TEST_F() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/container/ |
H A D | node_hash_map_test.cc | 35 Alloc<std::pair<const int, int>>>, 36 absl::node_hash_map<std::string, std::string, StatefulTestingHash, 38 Alloc<std::pair<const std::string, std::string>>>>; 45 using M = absl::node_hash_map<std::string, Tracked<int>>; 54 m.emplace(std::string("a"), t); in TEST() 58 std::string a("a"); in TEST() 63 const std in TEST() [all...] |
/third_party/spirv-tools/test/opt/ |
H A D | pass_fixture.h | 42 // using ValueParamTest = PassTest<::testing::TestWithParam<std::string>>; 51 const char* message) { std::cerr << message << std::endl; }), in PassTest() 61 std::tuple<std::vector<uint32_t>, Pass::Status> OptimizeToBinary( in OptimizeToBinary() 62 Pass* pass, const std::string& original, bool skip_nop) { in OptimizeToBinary() 65 << original << std::endl; in OptimizeToBinary() 67 return std::make_tuple(std::vector<uint32_t>(), Pass::Status::Failure); in OptimizeToBinary() 76 std in OptimizeToBinary() [all...] |
H A D | pass_remove_duplicates_test.cpp | 55 ": " + std::to_string(position.index) + ": " + message; in RemoveDuplicatesTest() 64 std::string RunPass(const std::string& text) { in RunPass() 66 if (!context_.get()) return std::string(); in RunPass() 73 if (pass_res == Pass::Status::Failure) return std::string(); in RunPass() 80 spv_result_t Disassemble(const std::vector<uint32_t>& binary, in Disassemble() 81 std::string* text) { in Disassemble() 89 std::string GetErrorMessage() const { return error_message_; } in GetErrorMessage() 91 std::string ToText(const std [all...] |
/third_party/backends/testsuite/backend/genesys/ |
H A D | session_config_test.cpp | 46 std::uint16_t vendor_id = 0; 47 std::uint16_t product_id = 0; 48 std::uint16_t bcd_device = 0; 49 std::string model_name; 55 std::string name() const in name() 57 std::stringstream out; in name() 77 if (std::strcmp(options_[0].name, SANE_NAME_NUM_OPTIONS) != 0 || in fetch() 80 throw std::runtime_error("Expected option number option"); in fetch() 96 bool get_value_bool(const std::string& name) const in get_value_bool() 104 void set_value_bool(const std [all...] |