Home
last modified time | relevance | path

Searched refs:std (Results 176 - 200 of 20229) sorted by relevance

12345678910>>...810

/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
H A Dcontainer_memory.h50 // threshold (usually either alignof(std::max_align_t) or alignof(void*)).
95 *alloc, ptr, std::get<I>(std::forward<Tuple>(t))...); in ConstructFromTupleImpl()
101 decltype(std::declval<F>()(std::declval<T>())) operator()( in operator ()()
103 return std::forward<F>(f)(T(std::forward<Args>(args)...)); in operator ()()
109 decltype(std::declval<F>()(std::declval<T>())) WithConstructedImpl( in WithConstructedImpl()
111 return WithConstructedImplF<T, F>{std in WithConstructedImpl()
185 PairArgs( const std::pair<F, S>& p) PairArgs() argument
[all...]
/third_party/json/tests/src/
H A Dunit-allocator.cpp19 struct bad_allocator : std::allocator<T>
21 using std::allocator<T>::allocator;
26 throw std::bad_alloc(); in construct()
36 using bad_json = nlohmann::basic_json<std::map,
37 std::vector,
38 std::string,
40 std::int64_t,
41 std::uint64_t,
46 CHECK_THROWS_AS(bad_json(bad_json::value_t::object), std::bad_alloc&);
57 struct my_allocator : std
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_node/utils/
H A DDebug.h29 // Write() is a helper for printing container types to the std::ostream.
33 inline std::ostream& Write(std::ostream& out) { in Write()
37 inline std::ostream& Write(std::ostream& out, const std::optional<T>& value);
39 inline std::ostream& Write(std::ostream& out, const std::vector<T>& value);
41 inline std
71 Write(std::ostream& out, const std::unordered_map<K, V>& value) Write() argument
[all...]
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Dbitfield_align.rs98 pub x: ::std::os::raw::c_uchar,
101 pub y: ::std::os::raw::c_uchar,
105 const UNINIT: ::std::mem::MaybeUninit<A> = in bindgen_test_layout_A()
106 ::std::mem::MaybeUninit::uninit(); in bindgen_test_layout_A()
109 ::std::mem::size_of::<A>(), in bindgen_test_layout_A()
114 ::std::mem::align_of::<A>(), in bindgen_test_layout_A()
119 unsafe { ::std::ptr::addr_of!((*ptr).x) as usize - ptr as usize }, in bindgen_test_layout_A()
124 unsafe { ::std::ptr::addr_of!((*ptr).y) as usize - ptr as usize }, in bindgen_test_layout_A()
131 pub fn b1(&self) -> ::std::os::raw::c_uint { in b1()
133 ::std in b1()
[all...]
/third_party/skia/third_party/externals/spirv-tools/test/val/
H A Dval_image_test.cpp36 std::string GenerateShaderCode( in GenerateShaderCode()
37 const std::string& body, in GenerateShaderCode()
38 const std::string& capabilities_and_extensions = "", in GenerateShaderCode()
39 const std::string& execution_model = "Fragment", in GenerateShaderCode()
40 const std::string& execution_mode = "", in GenerateShaderCode()
42 const std::string& memory_model = "GLSL450", in GenerateShaderCode()
43 const std::string& declarations = "") { in GenerateShaderCode()
44 std::ostringstream ss; in GenerateShaderCode()
64 std::string interface_vars = (env != SPV_ENV_UNIVERSAL_1_4) ? "" : in GenerateShaderCode()
339 std
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/val/
H A Dval_image_test.cpp36 std::string GenerateShaderCode( in GenerateShaderCode()
37 const std::string& body, in GenerateShaderCode()
38 const std::string& capabilities_and_extensions = "", in GenerateShaderCode()
39 const std::string& execution_model = "Fragment", in GenerateShaderCode()
40 const std::string& execution_mode = "", in GenerateShaderCode()
42 const std::string& memory_model = "GLSL450", in GenerateShaderCode()
43 const std::string& declarations = "") { in GenerateShaderCode()
44 std::ostringstream ss; in GenerateShaderCode()
64 std::string interface_vars = (env != SPV_ENV_UNIVERSAL_1_4) ? "" : in GenerateShaderCode()
339 std
[all...]
/third_party/node/deps/v8/src/torque/
H A Dinstructions.h64 std::unique_ptr<InstructionBase> Clone() const override; \
91 static DefinitionLocation Parameter(std::size_t index) { in Parameter()
95 static DefinitionLocation Phi(const Block* block, std::size_t index) { in Phi()
100 std::size_t index = 0) { in Instruction()
110 std::size_t GetParameterIndex() const { in GetParameterIndex()
124 std::size_t GetPhiIndex() const { in GetPhiIndex()
134 std::size_t GetInstructionIndex() const { in GetInstructionIndex()
160 DefinitionLocation(Kind kind, const void* location, std::size_t index) in DefinitionLocation()
165 std::size_t index_;
168 inline std
[all...]
H A Dutils.h24 std::string StringLiteralUnquote(const std::string& s);
25 std::string StringLiteralQuote(const std::string& s);
29 V8_EXPORT_PRIVATE base::Optional<std::string> FileUriDecode(
30 const std::string& s);
35 std::string message;
40 DECLARE_CONTEXTUAL_VARIABLE(TorqueMessages, std::vector<TorqueMessage>);
43 std::string ToString(Args&&... args) { in ToString()
44 std in ToString()
[all...]
/third_party/gn/src/gn/
H A Dparse_tree.h46 const std::vector<Token>& before() const { return before_; } in before()
50 const std::vector<Token>& suffix() const { return suffix_; } in suffix()
57 const std::vector<Token>& after() const { return after_; } in after()
62 std::vector<Token> before_;
65 std::vector<Token> suffix_;
69 std::vector<Token> after_;
102 const std::string& msg,
103 const std::string& help = std::string()) const = 0;
112 static std
[all...]
H A Dohos_components_checker.h41 static void Init(const std::string &build_dir, int checkType, unsigned int ruleSwitch) in Init()
49 bool CheckAllDepsConfigs(const Target *target, const std::string &label, Err *err) const;
50 bool CheckInnerApiIncludesOverRange(const Target *target, const std::string &label, const std::string &dir,
52 bool CheckInnerApiPublicDepsInner(const Target *target, const std::string &label, const std::string &deps,
54 bool CheckInnerApiNotLib(const Item *item, const OhosComponent *component, const std::string &label,
55 const std::string &deps, Err *err) const;
56 bool CheckInnerApiNotDeclare(const Item *item, const OhosComponent *component, const std::string &label,
58 bool CheckIncludesAbsoluteDepsOther(const Target *target, const std
[all...]
H A Dxml_element_writer.h17 : public std::vector<std::pair<std::string_view, std::string_view>> {
20 XmlAttributes(std::string_view attr_key, std::string_view attr_value);
22 XmlAttributes& add(std::string_view attr_key, std::string_view attr_value);
32 XmlElementWriter(std::ostream& out,
33 const std
[all...]
H A Dvisual_studio_writer.h46 const std::string& sln_name,
47 const std::string& filters,
48 const std::string& win_sdk,
49 const std::string& ninja_extra_args,
50 const std::string& ninja_executable,
63 SolutionEntry(const std::string& name,
64 const std::string& path,
65 const std::string& guid);
69 std::string name;
71 std
[all...]
/third_party/skia/third_party/externals/spirv-tools/test/opt/loop_optimizations/
H A Dloop_fission.cpp67 const std::string source = R"(OpCapability Shader in TEST_F()
68 %1 = OpExtInstImport "GLSL.std.450" in TEST_F()
122 const std::string expected = R"(OpCapability Shader in TEST_F()
123 %1 = OpExtInstImport "GLSL.std.450" in TEST_F()
191 std::unique_ptr<IRContext> context = in TEST_F()
196 << source << std::endl; in TEST_F()
229 const std::string source = R"(OpCapability Shader in TEST_F()
230 %1 = OpExtInstImport "GLSL.std.450" in TEST_F()
285 std::unique_ptr<IRContext> context = in TEST_F()
290 << source << std in TEST_F()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/
H A Dloop_fission.cpp67 const std::string source = R"(OpCapability Shader in TEST_F()
68 %1 = OpExtInstImport "GLSL.std.450" in TEST_F()
122 const std::string expected = R"(OpCapability Shader in TEST_F()
123 %1 = OpExtInstImport "GLSL.std.450" in TEST_F()
191 std::unique_ptr<IRContext> context = in TEST_F()
196 << source << std::endl; in TEST_F()
229 const std::string source = R"(OpCapability Shader in TEST_F()
230 %1 = OpExtInstImport "GLSL.std.450" in TEST_F()
285 std::unique_ptr<IRContext> context = in TEST_F()
290 << source << std in TEST_F()
[all...]
/third_party/spirv-tools/test/opt/loop_optimizations/
H A Dloop_fission.cpp65 const std::string source = R"(OpCapability Shader in TEST_F()
66 %1 = OpExtInstImport "GLSL.std.450" in TEST_F()
120 const std::string expected = R"(OpCapability Shader in TEST_F()
121 %1 = OpExtInstImport "GLSL.std.450" in TEST_F()
189 std::unique_ptr<IRContext> context = in TEST_F()
194 << source << std::endl; in TEST_F()
227 const std::string source = R"(OpCapability Shader in TEST_F()
228 %1 = OpExtInstImport "GLSL.std.450" in TEST_F()
283 std::unique_ptr<IRContext> context = in TEST_F()
288 << source << std in TEST_F()
[all...]
/third_party/glslang/gtests/
H A DTestFixture.cpp39 std::string FileNameAsCustomTestSuffix( in FileNameAsCustomTestSuffix()
40 const ::testing::TestParamInfo<std::string>& info) in FileNameAsCustomTestSuffix()
42 std::string name = info.param; in FileNameAsCustomTestSuffix()
44 std::replace(name.begin(), name.end(), '.', '_'); in FileNameAsCustomTestSuffix()
45 std::replace(name.begin(), name.end(), '-', '_'); in FileNameAsCustomTestSuffix()
49 EShLanguage GetShaderStage(const std::string& stage) in GetShaderStage()
124 std::pair<bool, std::string> ReadFile(const std::string& path) in ReadFile()
126 std in ReadFile()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/Debug/
H A DFile.cpp30 std::unordered_set<int> getBreakpoints() const override;
33 FileBase(ID id, std::string dir, std::string name, std::string source);
37 std::unordered_set<int> breakpoints GUARDED_BY(breakpointMutex);
40 FileBase::FileBase(ID id, std::string dir, std::string name, std::string source) in FileBase()
41 : File(id, std::move(dir), std in FileBase()
[all...]
/third_party/googletest/googlemock/test/
H A Dgmock-actions_test.cc68 // Direct use with std types. in TEST()
69 static_assert(std::is_base_of<std::false_type, in TEST()
70 internal::negation<std::true_type>>::value, in TEST()
73 static_assert(std::is_base_of<std::true_type, in TEST()
74 internal::negation<std::false_type>>::value, in TEST()
79 static_assert(std::is_base_of< in TEST()
80 std::true_type, in TEST()
81 internal::negation<std in TEST()
[all...]
/third_party/gn/src/base/json/
H A Djson_value_converter.h28 // std::string bar;
65 // For repeated field, we just assume std::vector<std::unique_ptr<ElementType>>
71 // and specify a function to convert a std::string_view to your type.
72 // bool ConvertFunc(std::string_view s, YourEnum* result) {
95 explicit FieldConverterBase(const std::string& path) : field_path_(path) {} in FieldConverterBase()
99 const std::string& field_path() const { return field_path_; } in field_path()
102 std::string field_path_;
117 explicit FieldConverter(const std::string& path, in FieldConverter()
130 std
[all...]
/third_party/spirv-tools/test/opt/
H A Dlocal_access_chain_convert_test.cpp44 const std::string predefs_before = in TEST_F()
46 %1 = OpExtInstImport "GLSL.std.450" in TEST_F()
73 const std::string before = in TEST_F()
116 const std::string predefs_before = in TEST_F()
118 %1 = OpExtInstImport "GLSL.std.450" in TEST_F()
158 const std::string before = in TEST_F()
210 const std::string predefs_before = in TEST_F()
212 %1 = OpExtInstImport "GLSL.std.450" in TEST_F()
255 const std::string before = in TEST_F()
315 const std in TEST_F()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A DSTLExtras.h20 #include <algorithm> // for std::all_of
22 #include <cstddef> // for std::size_t
28 #include <utility> // for std::pair
44 using IterOfRange = decltype(std::begin(std::declval<RangeT &>()));
64 std::forward<Params>(params)...); in callback_fn()
70 typename std::enable_if< in function_ref()
71 !std::is_same<typename std::remove_reference<Callable>::type, in function_ref()
73 : callback(callback_fn<typename std in function_ref()
69 function_ref(Callable &&callable, typename std::enable_if< !std::is_same<typename std::remove_reference<Callable>::type, function_ref>::value>::type * = nullptr) function_ref() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/runner/
H A DTestSuite.h28 TestIdentifier(const std::string &suiteNameIn, const std::string &nameIn);
34 static bool ParseFromString(const std::string &str, TestIdentifier *idOut);
39 std::string testSuiteName;
40 std::string testName;
45 return std::tie(a.testSuiteName, a.testName) < std::tie(b.testSuiteName, b.testName); in operator <()
50 return std::tie(a.testSuiteName, a.testName) == std::tie(b.testSuiteName, b.testName); in operator ==()
53 inline std
[all...]
/third_party/skia/third_party/externals/tint/src/writer/msl/
H A Dgenerator_impl.h72 std::unordered_set<uint32_t> used_array_length_from_uniform_indices;
104 const std::unordered_map<std::string, std::vector<uint32_t>>&
117 bool EmitIndexAccessor(std::ostream& out,
127 bool EmitBinary(std::ostream& out, const ast::BinaryExpression* expr);
132 bool EmitBitcast(std::ostream& out, const ast::BitcastExpression* expr);
145 bool EmitCall(std::ostream& out, const ast::CallExpression* expr);
151 bool EmitIntrinsicCall(std::ostream& out,
159 bool EmitTypeConversion(std
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageAtomicSpirvShaders.cpp38 const std::string kShader_1d_r32ui_end_result = R"(
63 %1 = OpExtInstImport "GLSL.std.450"
127 const std::string kShader_1d_r32ui_intermediate_values = R"(
153 %1 = OpExtInstImport "GLSL.std.450"
226 const std::string kShader_1d_r32i_end_result = R"(
251 %1 = OpExtInstImport "GLSL.std.450"
314 const std::string kShader_1d_r32i_intermediate_values = R"(
340 %1 = OpExtInstImport "GLSL.std.450"
412 const std::string kShader_1d_array_r32ui_end_result = R"(
437 %1 = OpExtInstImport "GLSL.std
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageAtomicSpirvShaders.cpp38 const std::string kShader_1d_r32ui_end_result = R"(
63 %1 = OpExtInstImport "GLSL.std.450"
127 const std::string kShader_1d_r32ui_intermediate_values = R"(
153 %1 = OpExtInstImport "GLSL.std.450"
226 const std::string kShader_1d_r32i_end_result = R"(
251 %1 = OpExtInstImport "GLSL.std.450"
314 const std::string kShader_1d_r32i_intermediate_values = R"(
340 %1 = OpExtInstImport "GLSL.std.450"
412 const std::string kShader_1d_array_r32ui_end_result = R"(
437 %1 = OpExtInstImport "GLSL.std
[all...]

Completed in 22 milliseconds

12345678910>>...810