/third_party/vulkan-headers/include/vulkan/ |
H A D | vulkan_static_assertions.hpp | 20 VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout<VULKAN_HPP_NAMESPACE::Extent2D>::value, "struct wrapper is not a standard layout!" ); 21 VULKAN_HPP_STATIC_ASSERT( std::is_nothrow_move_constructible<VULKAN_HPP_NAMESPACE::Extent2D>::value, "Extent2D is not nothrow_move_constructible!" ); 24 VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout<VULKAN_HPP_NAMESPACE::Extent3D>::value, "struct wrapper is not a standard layout!" ); 25 VULKAN_HPP_STATIC_ASSERT( std::is_nothrow_move_constructible<VULKAN_HPP_NAMESPACE::Extent3D>::value, "Extent3D is not nothrow_move_constructible!" ); 28 VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout<VULKAN_HPP_NAMESPACE::Offset2D>::value, "struct wrapper is not a standard layout!" ); 29 VULKAN_HPP_STATIC_ASSERT( std::is_nothrow_move_constructible<VULKAN_HPP_NAMESPACE::Offset2D>::value, "Offset2D is not nothrow_move_constructible!" ); 32 VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout<VULKAN_HPP_NAMESPACE::Offset3D>::value, "struct wrapper is not a standard layout!" ); 33 VULKAN_HPP_STATIC_ASSERT( std::is_nothrow_move_constructible<VULKAN_HPP_NAMESPACE::Offset3D>::value, "Offset3D is not nothrow_move_constructible!" ); 36 VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout<VULKAN_HPP_NAMESPACE::Rect2D>::value, "struct wrapper is not a standard layout!" ); 37 VULKAN_HPP_STATIC_ASSERT( std [all...] |
/third_party/json/include/nlohmann/detail/output/ |
H A D | binary_writer.hpp | 51 explicit binary_writer(output_adapter_t<CharType> adapter) : oa(std::move(adapter)) in binary_writer() 116 write_number(static_cast<std::uint8_t>(j.m_value.number_integer)); in write_cbor() 118 else if (j.m_value.number_integer <= (std::numeric_limits<std::uint8_t>::max)()) in write_cbor() 121 write_number(static_cast<std::uint8_t>(j.m_value.number_integer)); in write_cbor() 123 else if (j.m_value.number_integer <= (std::numeric_limits<std::uint16_t>::max)()) in write_cbor() 126 write_number(static_cast<std::uint16_t>(j.m_value.number_integer)); in write_cbor() 128 else if (j.m_value.number_integer <= (std::numeric_limits<std in write_cbor() [all...] |
/third_party/skia/third_party/externals/libjpeg-turbo/gtest/ |
H A D | tjunittest-gtest-wrapper.cpp | 54 ::testing::TestWithParam<std::tuple<int, int, int>> {}; 57 EXPECT_EQ(testBmp(std::get<0>(GetParam()), in TEST_P() 58 std::get<1>(GetParam()), in TEST_P() 59 std::get<2>(GetParam())), 0); in TEST_P() 63 EXPECT_EQ(testThreeByte444(std::get<0>(GetParam()), in TEST_P() 64 std::get<1>(GetParam()), in TEST_P() 65 std::get<2>(GetParam())), 0); in TEST_P() 69 EXPECT_EQ(testFourByte444(std::get<0>(GetParam()), in TEST_P() 70 std::get<1>(GetParam()), in TEST_P() 71 std in TEST_P() [all...] |
/third_party/backends/backend/genesys/ |
H A D | test_scanner_interface.h | 36 TestScannerInterface(Genesys_Device* dev, std::uint16_t vendor_id, std::uint16_t product_id, 37 std::uint16_t bcd_device); 43 const RegisterCache<std::uint8_t>& cached_regs() const { return cached_regs_; } in cached_regs() 44 const RegisterCache<std::uint16_t>& cached_fe_regs() const { return cached_fe_regs_; } in cached_fe_regs() 46 std::uint8_t read_register(std::uint16_t address) override; 47 void write_register(std::uint16_t address, std::uint8_t value) override; 50 void write_0x8c(std [all...] |
H A D | image_pixel.cpp | 77 std::size_t get_pixel_row_bytes(PixelFormat format, std::size_t width) in get_pixel_row_bytes() 79 std::size_t depth = get_pixel_format_depth(format) * get_pixel_channels(format); in get_pixel_row_bytes() 80 std::size_t total_bits = depth * width; in get_pixel_row_bytes() 84 std::size_t get_pixels_from_row_bytes(PixelFormat format, std::size_t row_bytes) in get_pixels_from_row_bytes() 86 std::size_t depth = get_pixel_format_depth(format) * get_pixel_channels(format); in get_pixels_from_row_bytes() 101 static inline unsigned read_bit(const std::uint8_t* data, std::size_t x) in read_bit() 106 static inline void write_bit(std [all...] |
H A D | image_pixel.h | 48 Pixel(std::uint16_t red, std::uint16_t green, std::uint16_t blue) : in Pixel() 51 std::uint16_t r = 0; 52 std::uint16_t g = 0; 53 std::uint16_t b = 0; 64 RawPixel(std::uint8_t d0) : data{d0, 0, 0, 0, 0, 0} {} in RawPixel() 65 RawPixel(std::uint8_t d0, std::uint8_t d1) : data{d0, d1, 0, 0, 0, 0} {} in RawPixel() 66 RawPixel(std in RawPixel() [all...] |
/third_party/node/src/ |
H A D | node_options.h | 22 HostPort(const std::string& host_name, int port, int pid = -1) in HostPort() 29 void set_host(const std::string& host) { host_name_ = host; } in set_host() 33 const std::string& host() const { return host_name_; } in host() 51 std::string host_name_; 58 virtual void CheckOptions(std::vector<std::string>* errors, in CheckOptions() 59 std::vector<std::string>* argv) {} in CheckOptions() 90 std::string inspect_publish_uid_string = "stderr,http"; 108 void CheckOptions(std [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | inlined_string_field.h | 54 // InlinedStringField wraps a std::string instance and exposes an API similar to 55 // ArenaStringPtr's wrapping of a std::string* instance. As std::string is 65 explicit InlinedStringField(const std::string& default_value); 67 void AssignWithDefault(const std::string* default_value, 70 void ClearToEmpty(const std::string* default_value, 77 void ClearToEmptyNoArena(const std::string* /*default_value*/) 83 void ClearToDefault(const std::string* default_value, 87 void ClearToDefaultNoArena(const std::string* default_value) 90 void Destroy(const std 176 MutableNoArena(const std::string*) MutableNoArena() argument 190 DestroyNoArena(const std::string*) DestroyNoArena() argument [all...] |
/third_party/vk-gl-cts/external/amber/src/src/ |
H A D | script.h | 45 bool IsKnownFeature(const std::string& name) const; 48 std::vector<ShaderInfo> GetShaderInfo() const override; 51 std::vector<std::string> GetRequiredFeatures() const override { 56 std::vector<std::string> GetRequiredDeviceExtensions() const override { 61 std::vector<std::string> GetRequiredInstanceExtensions() const override { 72 Result AddPipeline(std::unique_ptr<Pipeline> pipeline) { in AddPipeline() 76 pipelines_.push_back(std in AddPipeline() [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
H A D | dead_branch_elim_test.cpp | 42 const std::string predefs = in TEST_F() 44 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 70 const std::string before = in TEST_F() 89 const std::string after = in TEST_F() 123 const std::string predefs = in TEST_F() 125 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 151 const std::string before = in TEST_F() 170 const std::string after = in TEST_F() 198 const std::string predefs = in TEST_F() 200 %1 = OpExtInstImport "GLSL.std in TEST_F() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
H A D | dead_branch_elim_test.cpp | 42 const std::string predefs = in TEST_F() 44 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 70 const std::string before = in TEST_F() 89 const std::string after = in TEST_F() 123 const std::string predefs = in TEST_F() 125 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 151 const std::string before = in TEST_F() 170 const std::string after = in TEST_F() 198 const std::string predefs = in TEST_F() 200 %1 = OpExtInstImport "GLSL.std in TEST_F() [all...] |
/third_party/json/tests/src/ |
H A D | unit-deserialization.cpp | 41 events.push_back("number_integer(" + std::to_string(val) + ")"); 47 events.push_back("number_unsigned(" + std::to_string(val) + ")"); 51 bool number_float(json::number_float_t /*val*/, const std::string& s) override 57 bool string(std::string& val) override 65 std::string binary_contents = "binary("; 66 std::string comma_space; 70 binary_contents.append(std::to_string(static_cast<int>(b))); 78 bool start_object(std::size_t elements) override 80 if (elements == static_cast<std::size_t>(-1)) 86 events.push_back("start_object(" + std [all...] |
/third_party/json/docs/examples/ |
H A D | basic_json__CompatibleType.cpp | 23 // create an object from std::map in main() 24 std::map<std::string, int> c_map in main() 30 // create an object from std::unordered_map in main() 31 std::unordered_map<const char*, double> c_umap in main() 37 // create an object from std::multimap in main() 38 std::multimap<std::string, bool> c_mmap in main() 44 // create an object from std::unordered_multimap in main() 45 std in main() [all...] |
/third_party/libabigail/include/ |
H A D | abg-reporter.h | 23 using std::shared_ptr; 64 report(const type_decl_diff& d, std::ostream& out, 65 const std::string& indent = "") const = 0; 68 report(const enum_diff& d, std::ostream& out, 69 const std::string& indent = "") const = 0; 72 report(const typedef_diff& d, std::ostream& out, 73 const std::string& indent = "") const = 0; 76 report(const qualified_type_diff& d, std::ostream& out, 77 const std::string& indent = "") const = 0; 80 report(const distinct_diff& d, std [all...] |
/third_party/node/deps/v8/third_party/wasm-api/example/ |
H A D | finalize.cc | 17 std::cout << "Finalizing #" << i << "..." << std::endl; in finalize() 24 std::cout << "Loading binary..." << std::endl; in run_in_store() 25 std::ifstream file("finalize.wasm"); in run_in_store() 26 file.seekg(0, std::ios_base::end); in run_in_store() 33 std::cout << "> Error loading module!" << std::endl; in run_in_store() 38 std::cout << "Compiling module..." << std in run_in_store() [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/third_party/perf/ |
H A D | perf_test.h | 26 void PrintResult(const std::string &measurement, 27 const std::string &modifier, 28 const std::string &trace, 30 const std::string &units, 32 void PrintResult(const std::string &measurement, 33 const std::string &modifier, 34 const std::string &trace, 36 const std::string &units, 39 void AppendResult(std::string &output, 40 const std [all...] |
H A D | perf_test.cc | 16 std::string FormatString(const char *fmt, va_list vararg) in FormatString() 18 static angle::base::NoDestructor<std::vector<char>> buffer(512); in FormatString() 32 return std::string(buffer->data(), len); in FormatString() 35 std::string StringPrintf(const char *fmt, ...) in StringPrintf() 39 std::string result = FormatString(fmt, vararg); in StringPrintf() 44 std::string NumberToString(size_t value) in NumberToString() 49 std::string NumberToString(double value) in NumberToString() 54 std::string ResultsToString(const std::string &measurement, in ResultsToString() 55 const std in ResultsToString() [all...] |
/third_party/skia/third_party/externals/tint/src/inspector/ |
H A D | inspector.h | 46 std::string error() { return diagnostics_.str(); } in error() 51 std::vector<EntryPoint> GetEntryPoints(); 56 std::string GetRemappedNameForEntryPoint(const std::string& entry_point); 59 std::map<uint32_t, Scalar> GetConstantIDs(); 62 std::map<std::string, uint32_t> GetConstantNameToIdMap(); 67 uint32_t GetStorageSize(const std::string& entry_point); 71 std::vector<ResourceBinding> GetResourceBindings( 72 const std [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/hash/ |
H A D | hash_test.cc | 65 using is_hashable = std::is_default_constructible<absl::Hash<T>>; 73 EXPECT_NE(SpyHash(std::numeric_limits<TypeParam>::max()), in TYPED_TEST_P() 74 SpyHash(std::numeric_limits<TypeParam>::min())); in TYPED_TEST_P() 81 absl::Hash<std::tuple<TypeParam>>{}(std::tuple<TypeParam>(n))); in TYPED_TEST_P() 98 EXPECT_TRUE(absl::VerifyTypeImplementsAbslHashCorrectly(std::make_tuple( in TEST() 100 EXPECT_TRUE(absl::VerifyTypeImplementsAbslHashCorrectly(std::make_tuple( in TEST() 103 std::make_tuple(true, false))); in TEST() 112 std::make_tuple(42.f, 0.f, -0.f, std in TEST() 962 namespace std { global() namespace [all...] |
/third_party/node/deps/v8/third_party/ittapi/ittapi-rs/src/ |
H A D | ittnotify_bindings.rs | 109 pub type wchar_t = ::std::os::raw::c_int; 114 pub __clang_max_align_nonce1: ::std::os::raw::c_longlong, 121 ::std::mem::size_of::<max_align_t>(), in bindgen_test_layout_max_align_t() 126 ::std::mem::align_of::<max_align_t>(), in bindgen_test_layout_max_align_t() 132 &(*(::std::ptr::null::<max_align_t>())).__clang_max_align_nonce1 as *const _ as usize in bindgen_test_layout_max_align_t() 144 &(*(::std::ptr::null::<max_align_t>())).__clang_max_align_nonce2 as *const _ as usize in bindgen_test_layout_max_align_t() 155 pub type __u_char = ::std::os::raw::c_uchar; 156 pub type __u_short = ::std::os::raw::c_ushort; 157 pub type __u_int = ::std::os::raw::c_uint; 158 pub type __u_long = ::std [all...] |
/third_party/gn/src/gn/ |
H A D | rust_project_writer_helpers.h | 28 using ConfigList = std::vector<std::string>; 29 using Dependency = std::pair<CrateIndex, std::string>; 30 using DependencyList = std::vector<Dependency>; 38 std::optional<OutputFile> gen_dir, in Crate() 40 std::string label, in Crate() 41 std::string edition) in Crate() 51 void AddConfigItem(std::string cfg_item) { configs_.push_back(cfg_item); } in AddConfigItem() 54 void AddRustenv(std [all...] |
/third_party/spirv-tools/test/opt/ |
H A D | dead_branch_elim_test.cpp | 42 const std::string predefs = in TEST_F() 44 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 70 const std::string before = in TEST_F() 89 const std::string after = in TEST_F() 123 const std::string predefs = in TEST_F() 125 %1 = OpExtInstImport "GLSL.std.450" in TEST_F() 151 const std::string before = in TEST_F() 170 const std::string after = in TEST_F() 198 const std::string predefs = in TEST_F() 200 %1 = OpExtInstImport "GLSL.std in TEST_F() [all...] |
/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | command_line_interface.cc | 118 static bool IsWindowsAbsolutePath(const std::string& text) { in IsWindowsAbsolutePath() 147 void AddTrailingSlash(std::string* path) { in AddTrailingSlash() 153 bool VerifyDirectoryExists(const std::string& path) { in VerifyDirectoryExists() 157 std::cerr << path << ": " << strerror(errno) << std::endl; in VerifyDirectoryExists() 168 bool TryCreateParentDirectory(const std::string& prefix, in TryCreateParentDirectory() 169 const std::string& filename) { in TryCreateParentDirectory() 172 std::vector<std::string> parts = in TryCreateParentDirectory() 174 std in TryCreateParentDirectory() 227 AddDefaultProtoPaths( std::vector<std::pair<std::string, std::string> >* paths) AddDefaultProtoPaths() argument [all...] |
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
H A D | issue-816.rs | 104 ::std::mem::size_of::<capabilities>(), in bindgen_test_layout_capabilities() 109 ::std::mem::align_of::<capabilities>(), in bindgen_test_layout_capabilities() 116 pub fn bit_1(&self) -> ::std::os::raw::c_uint { in bit_1() 118 ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) in bit_1() 122 pub fn set_bit_1(&mut self, val: ::std::os::raw::c_uint) { in set_bit_1() 124 let val: u32 = ::std::mem::transmute(val); in set_bit_1() 129 pub fn bit_2(&self) -> ::std::os::raw::c_uint { in bit_2() 131 ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u32) in bit_2() 135 pub fn set_bit_2(&mut self, val: ::std::os::raw::c_uint) { in set_bit_2() 137 let val: u32 = ::std in set_bit_2() [all...] |
/third_party/rust/crates/cxx/src/ |
H A D | cxx.cc | 7 void cxxbridge1$cxx_string$init(std::string *s, const std::uint8_t *ptr, 8 std::size_t len) noexcept { 9 new (s) std::string(reinterpret_cast<const char *>(ptr), len); 12 void cxxbridge1$cxx_string$destroy(std::string *s) noexcept { 13 using std::string; 17 const char *cxxbridge1$cxx_string$data(const std::string &s) noexcept { 21 std::size_t cxxbridge1$cxx_string$length(const std::string &s) noexcept { 25 void cxxbridge1$cxx_string$clear(std [all...] |