/third_party/node/deps/v8/include/cppgc/ |
H A D | type-traits.h | 29 struct IsWeak : std::false_type {}; 34 struct IsTraceMethodConst : std::false_type {}; 37 struct IsTraceMethodConst<T, std::void_t<decltype(std::declval<const T>().Trace( 38 std::declval<Visitor*>()))>> : std::true_type { 42 struct IsTraceable : std::false_type { 48 T, std::void_t<decltype(std::declval<T>().Trace(std [all...] |
/third_party/skia/third_party/externals/angle2/src/gpu_info_util/ |
H A D | SystemInfo.cpp | 20 std::string VendorName(VendorID vendor) in VendorName() 51 return "Unknown (" + std::to_string(vendor) + ")"; in VendorName() 168 bool ParseAMDBrahmaDriverVersion(const std::string &content, std::string *version) in ParseAMDBrahmaDriverVersion() 171 if (begin == std::string::npos) in ParseAMDBrahmaDriverVersion() 177 if (end == std::string::npos) in ParseAMDBrahmaDriverVersion() 188 bool ParseAMDCatalystDriverVersion(const std::string &content, std::string *version) in ParseAMDCatalystDriverVersion() 190 std::istringstream stream(content); in ParseAMDCatalystDriverVersion() 192 std in ParseAMDCatalystDriverVersion() [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/ |
H A D | unit_spirv.h | 38 namespace std { namespace 40 std::string to_string(const T& val) { in to_string() 41 std::ostringstream os; in to_string() 45 } // namespace std 67 void PrintTo(const WordVector& words, ::std::ostream* os); 72 explicit WordVector(const std::vector<uint32_t>& val) : value_(val) {} in WordVector() 77 const std::vector<uint32_t>& value() const { return value_; } in value() 80 std::string str() const { in str() 81 std::ostringstream os; in str() 87 const std [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/ |
H A D | unit_spirv.h | 38 namespace std { namespace 40 std::string to_string(const T& val) { in to_string() 41 std::ostringstream os; in to_string() 45 } // namespace std 67 void PrintTo(const WordVector& words, ::std::ostream* os); 72 explicit WordVector(const std::vector<uint32_t>& val) : value_(val) {} in WordVector() 77 const std::vector<uint32_t>& value() const { return value_; } in value() 80 std::string str() const { in str() 81 std::ostringstream os; in str() 87 const std [all...] |
/third_party/skia/third_party/externals/tint/src/ |
H A D | traits_test.cc | 31 static_assert(std::is_same<ParameterType<decltype(&F1), 0>, S>::value, ""); in TEST() 32 static_assert(std::is_same<ParameterType<decltype(&F3), 0>, int>::value, ""); in TEST() 33 static_assert(std::is_same<ParameterType<decltype(&F3), 1>, S>::value, ""); in TEST() 34 static_assert(std::is_same<ParameterType<decltype(&F3), 2>, float>::value, in TEST() 36 static_assert(std::is_same<ReturnType<decltype(&F1)>, void>::value, ""); in TEST() 37 static_assert(std::is_same<ReturnType<decltype(&F3)>, void>::value, ""); in TEST() 50 static_assert(std::is_same<ParameterType<decltype(&C::F1), 0>, S>::value, ""); in TEST() 51 static_assert(std::is_same<ParameterType<decltype(&C::F3), 0>, int>::value, in TEST() 53 static_assert(std::is_same<ParameterType<decltype(&C::F3), 1>, S>::value, ""); in TEST() 54 static_assert(std in TEST() [all...] |
/third_party/spirv-tools/test/ |
H A D | unit_spirv.h | 38 namespace std { namespace 40 std::string to_string(const T& val) { in to_string() 41 std::ostringstream os; in to_string() 45 } // namespace std 67 void PrintTo(const WordVector& words, ::std::ostream* os); 72 explicit WordVector(const std::vector<uint32_t>& val) : value_(val) {} in WordVector() 77 const std::vector<uint32_t>& value() const { return value_; } in value() 80 std::string str() const { in str() 81 std::ostringstream os; in str() 87 const std [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/ |
H A D | convert_test.cc | 49 std::string LengthModFor(float) { return ""; } in LengthModFor() 50 std::string LengthModFor(double) { return ""; } in LengthModFor() 51 std::string LengthModFor(long double) { return "L"; } in LengthModFor() 52 std::string LengthModFor(char) { return "hh"; } in LengthModFor() 53 std::string LengthModFor(signed char) { return "hh"; } in LengthModFor() 54 std::string LengthModFor(unsigned char) { return "hh"; } in LengthModFor() 55 std::string LengthModFor(short) { return "h"; } // NOLINT in LengthModFor() 56 std::string LengthModFor(unsigned short) { return "h"; } // NOLINT in LengthModFor() 57 std::string LengthModFor(int) { return ""; } in LengthModFor() 58 std in LengthModFor() [all...] |
/third_party/json/tests/src/ |
H A D | unit-concepts.cpp | 25 CHECK((std::is_same<json::value_type, json>::value)); 28 CHECK((std::is_same<json::reference, json&>::value)); 31 CHECK((std::is_same<json::const_reference, const json&>::value)); 34 CHECK((std::is_same<json::iterator::value_type, json>::value)); 36 CHECK((std::is_base_of<std::forward_iterator_tag, typename std::iterator_traits<json::iterator>::iterator_category>::value)); 38 CHECK((std::is_convertible<json::iterator, json::const_iterator>::value)); 41 CHECK((std::is_same<json::const_iterator::value_type, json>::value)); 43 CHECK((std [all...] |
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
H A D | union_with_nesting.rs | 11 pub a: ::std::os::raw::c_uint, 23 pub b1: ::std::os::raw::c_ushort, 24 pub b2: ::std::os::raw::c_ushort, 28 const UNINIT: ::std::mem::MaybeUninit<foo__bindgen_ty_1__bindgen_ty_1> = in bindgen_test_layout_foo__bindgen_ty_1__bindgen_ty_1() 29 ::std::mem::MaybeUninit::uninit(); in bindgen_test_layout_foo__bindgen_ty_1__bindgen_ty_1() 32 ::std::mem::size_of::<foo__bindgen_ty_1__bindgen_ty_1>(), in bindgen_test_layout_foo__bindgen_ty_1__bindgen_ty_1() 37 ::std::mem::align_of::<foo__bindgen_ty_1__bindgen_ty_1>(), in bindgen_test_layout_foo__bindgen_ty_1__bindgen_ty_1() 42 unsafe { ::std::ptr::addr_of!((*ptr).b1) as usize - ptr as usize }, in bindgen_test_layout_foo__bindgen_ty_1__bindgen_ty_1() 52 unsafe { ::std::ptr::addr_of!((*ptr).b2) as usize - ptr as usize }, in bindgen_test_layout_foo__bindgen_ty_1__bindgen_ty_1() 64 let mut s = ::std in default() [all...] |
H A D | test_mixed_header_and_header_contents.rs | 2 pub static mut foo: ::std::option::Option< 4 x: ::std::os::raw::c_int, 5 y: ::std::os::raw::c_int, 6 ) -> ::std::os::raw::c_int, 10 pub fn bar(a: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; in bar() 13 pub fn bar2(b: *const ::std::os::raw::c_char) -> f32; in bar2() 15 pub type Char = ::std::os::raw::c_char; 16 pub type SChar = ::std::os::raw::c_schar; 17 pub type UChar = ::std [all...] |
H A D | derive-hash-struct-with-pointer.rs | 12 pub bar: *mut ::std::os::raw::c_int, 16 const UNINIT: ::std::mem::MaybeUninit<ConstPtrMutObj> = in bindgen_test_layout_ConstPtrMutObj() 17 ::std::mem::MaybeUninit::uninit(); in bindgen_test_layout_ConstPtrMutObj() 20 ::std::mem::size_of::<ConstPtrMutObj>(), in bindgen_test_layout_ConstPtrMutObj() 25 ::std::mem::align_of::<ConstPtrMutObj>(), in bindgen_test_layout_ConstPtrMutObj() 30 unsafe { ::std::ptr::addr_of!((*ptr).bar) as usize - ptr as usize }, in bindgen_test_layout_ConstPtrMutObj() 42 let mut s = ::std::mem::MaybeUninit::<Self>::uninit(); in default() 44 ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1); in default() 52 pub bar: *mut ::std::os::raw::c_int, 56 const UNINIT: ::std in bindgen_test_layout_MutPtrMutObj() [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/opt/loop_optimizations/ |
H A D | unroll_assumptions.cpp | 76 const std::string text = R"(OpCapability Shader in TEST_F() 77 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 127 std::unique_ptr<IRContext> context = in TEST_F() 132 << text << std::endl; in TEST_F() 158 const std::string text = R"(OpCapability Shader in TEST_F() 159 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 227 std::unique_ptr<IRContext> context = in TEST_F() 232 << text << std::endl; in TEST_F() 255 const std::string text = R"(OpCapability Shader in TEST_F() 256 %1 = OpExtInstImport "GLSL.std in TEST_F() [all...] |
/third_party/skia/src/gpu/ |
H A D | GrResourceCache.h | 159 std::set<GrGpuResourceTag> getAllGrGpuResourceTag() const; 196 void purgeAsNeeded(const std::function<bool(void)>& nextFrameHasArrived = nullptr); 206 void purgeUnlockedResourcesByPid(bool scratchResourceOnly, const std::set<int>& exitedPidSet); 207 void purgeCacheBetweenFrames(bool scratchResourcesOnly, const std::set<int>& exitedPidSet, 208 const std::set<int>& protectedPidSet); 225 bool overBudget(const std::function<bool(void)>& nextFrameHasArrived = nullptr) const in overBudget() 308 std::set<GrGpuResourceTag> getAllGrGpuResourceTags() const; // Get the tag of all GPU resources 311 void getUpdatedMemoryMap(std::unordered_map<int32_t, size_t> &out); 322 std::string cacheInfo(); 339 bool allowToPurge(const std [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/ |
H A D | unroll_assumptions.cpp | 76 const std::string text = R"(OpCapability Shader in TEST_F() 77 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 127 std::unique_ptr<IRContext> context = in TEST_F() 132 << text << std::endl; in TEST_F() 158 const std::string text = R"(OpCapability Shader in TEST_F() 159 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 227 std::unique_ptr<IRContext> context = in TEST_F() 232 << text << std::endl; in TEST_F() 255 const std::string text = R"(OpCapability Shader in TEST_F() 256 %1 = OpExtInstImport "GLSL.std in TEST_F() [all...] |
/third_party/spirv-tools/source/opt/ |
H A D | module.h | 76 inline void AddCapability(std::unique_ptr<Instruction> c); 79 inline void AddExtension(std::unique_ptr<Instruction> e); 82 inline void AddExtInstImport(std::unique_ptr<Instruction> e); 85 inline void SetMemoryModel(std::unique_ptr<Instruction> m); 88 inline void SetSampledImageAddressMode(std::unique_ptr<Instruction> m); 91 inline void AddEntryPoint(std::unique_ptr<Instruction> e); 94 inline void AddExecutionMode(std::unique_ptr<Instruction> e); 99 inline void AddDebug1Inst(std::unique_ptr<Instruction> d); 104 inline void AddDebug2Inst(std::unique_ptr<Instruction> d); 108 inline void AddDebug3Inst(std [all...] |
/third_party/spirv-tools/test/opt/loop_optimizations/ |
H A D | unroll_assumptions.cpp | 75 const std::string text = R"(OpCapability Shader in TEST_F() 76 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 126 std::unique_ptr<IRContext> context = in TEST_F() 131 << text << std::endl; in TEST_F() 157 const std::string text = R"(OpCapability Shader in TEST_F() 158 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 226 std::unique_ptr<IRContext> context = in TEST_F() 231 << text << std::endl; in TEST_F() 254 const std::string text = R"(OpCapability Shader in TEST_F() 255 %1 = OpExtInstImport "GLSL.std in TEST_F() [all...] |
/third_party/vulkan-headers/include/vulkan/ |
H A D | vulkan_hash.hpp | 13 namespace std namespace 22 std::size_t operator()( VULKAN_HPP_NAMESPACE::Flags<BitType> const & flags ) const VULKAN_HPP_NOEXCEPT 24 return std::hash<typename std::underlying_type<BitType>::type>{}( static_cast<typename std::underlying_type<BitType>::type>( flags ) ); 37 std::size_t operator()( VULKAN_HPP_NAMESPACE::Instance const & instance ) const VULKAN_HPP_NOEXCEPT 39 return std::hash<VkInstance>{}( static_cast<VkInstance>( instance ) ); 46 std::size_t operator()( VULKAN_HPP_NAMESPACE::PhysicalDevice const & physicalDevice ) const VULKAN_HPP_NOEXCEPT 48 return std::hash<VkPhysicalDevice>{}( static_cast<VkPhysicalDevice>( physicalDevice ) ); 55 std [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/val/ |
H A D | val_barriers_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& execution_model, in GenerateShaderCodeImpl() 34 const std::string& memory_model) { in GenerateShaderCodeImpl() 35 std::ostringstream ss; in GenerateShaderCodeImpl() 41 ss << memory_model << std::endl; in GenerateShaderCodeImpl() 106 std::string GenerateShaderCode( in GenerateShaderCode() 107 const std in GenerateShaderCode() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/val/ |
H A D | val_barriers_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& execution_model, in GenerateShaderCodeImpl() 34 const std::string& memory_model) { in GenerateShaderCodeImpl() 35 std::ostringstream ss; in GenerateShaderCodeImpl() 41 ss << memory_model << std::endl; in GenerateShaderCodeImpl() 106 std::string GenerateShaderCode( in GenerateShaderCode() 107 const std in GenerateShaderCode() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
H A D | vktSpvAsmComputeShaderTestUtil.cpp | 33 bool verifyOutputWithEpsilon (const std::vector<AllocationSp>& outputAllocs, const std::vector<Resource>& expectedOutputs, tcu::TestLog& log, const float epsilon) in verifyOutputWithEpsilon() 40 std::vector<deUint8> expectedBytes; in verifyOutputWithEpsilon() 43 std::vector<float> expectedFloats (expectedBytes.size() / sizeof (float)); in verifyOutputWithEpsilon() 44 std::vector<float> actualFloats (expectedBytes.size() / sizeof (float)); in verifyOutputWithEpsilon() 63 std::string getComputeAsmShaderPreamble (const std::string& capabilities, in getComputeAsmShaderPreamble() 64 const std::string& extensions, in getComputeAsmShaderPreamble() 65 const std::string& exeModes, in getComputeAsmShaderPreamble() 66 const std in getComputeAsmShaderPreamble() 135 verifyOutput(const std::vector<Resource>&, const std::vector<AllocationSp>& outputAllocs, const std::vector<Resource>& expectedOutputs, tcu::TestLog& log) verifyOutput() argument 149 makeComputeShaderAssembly(const std::map<std::string, std::string>& fragments) makeComputeShaderAssembly() argument [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
H A D | fold_spec_const_op_composite_test.cpp | 49 std::vector<const char*> expected = { in TEST_F() 53 "%1 = OpExtInstImport \"GLSL.std.450\"", in TEST_F() 110 std::vector<std::string> CommonTypesAndConstants() { in CommonTypesAndConstants() 111 return std::vector<std::string>{ in CommonTypesAndConstants() 187 std::string StripOpNameInstructions(const std::string& str) { in StripOpNameInstructions() 188 std::stringstream ss(str); in StripOpNameInstructions() 189 std in StripOpNameInstructions() [all...] |
H A D | replace_invalid_opc_test.cpp | 31 const std::string text = R"( in TEST_F() 37 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 86 const std::string text = R"( in TEST_F() 92 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 146 const std::string text = R"( in TEST_F() 154 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 214 const std::string text = R"( in TEST_F() 216 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 263 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 267 const std in TEST_F() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
H A D | LLVMAsm.cpp | 30 std::string generateFilename(std::string routineName) in generateFilename() 33 std::replace(routineName.begin(), routineName.end(), '/', '_'); in generateFilename() 36 std::stringstream f; in generateFilename() 37 f << "reactor_jit_llvm_" << std::setfill('0') << std::setw(4) << counter++ << "_" << routineName << ".asm"; in generateFilename() 41 bool emitAsmFile(const std::string &filename, llvm::orc::JITTargetMachineBuilder builder, llvm::Module &module) in emitAsmFile() 48 std::error_code EC; in emitAsmFile() 60 void fixupAsmFile(const std::string &filename, std [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/Debug/ |
H A D | Value.hpp | 37 std::string listPrefix; // Prefix to lists. 38 std::string listSuffix; // Suffix to lists. 39 std::string listDelimiter; // List item delimiter. 40 std::string listIndent; // List item indententation prefix. 51 virtual std::string type() = 0; 55 virtual std::string get(const FormatFlags & = FormatFlags::Default) = 0; 58 virtual std::shared_ptr<Variables> children() { return nullptr; } in children() 69 std::string type() override { return TypeOf<T>::name; } 70 std::string get(const FormatFlags &fmt = FormatFlags::Default) override { return std [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
H A D | fold_spec_const_op_composite_test.cpp | 49 std::vector<const char*> expected = { in TEST_F() 53 "%1 = OpExtInstImport \"GLSL.std.450\"", in TEST_F() 110 std::vector<std::string> CommonTypesAndConstants() { in CommonTypesAndConstants() 111 return std::vector<std::string>{ in CommonTypesAndConstants() 187 std::string StripOpNameInstructions(const std::string& str) { in StripOpNameInstructions() 188 std::stringstream ss(str); in StripOpNameInstructions() 189 std in StripOpNameInstructions() [all...] |