Home
last modified time | relevance | path

Searched refs:std (Results 476 - 500 of 20229) sorted by relevance

1...<<11121314151617181920>>...810

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
H A Dreplace_invalid_opc_test.cpp31 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/piex/src/tiff_directory/
H A Dtiff_directory.h37 std::uint32_t numerator;
38 std::uint32_t denominator;
42 std::int32_t numerator;
43 std::int32_t denominator;
67 typedef std::uint32_t Tag;
68 typedef std::uint32_t Type;
78 bool Get(const Tag tag, std::vector<std::uint8_t>* value) const;
84 bool Get(const Tag tag, std::string* value) const;
91 bool Get(const Tag tag, std
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A DvktSpvAsmComputeShaderTestUtil.cpp33 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/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Dlayout_mbuf.rs97 pub type MARKER = [*mut ::std::os::raw::c_void; 0usize];
109 const UNINIT: ::std::mem::MaybeUninit<rte_atomic16_t> = in bindgen_test_layout_rte_atomic16_t()
110 ::std::mem::MaybeUninit::uninit(); in bindgen_test_layout_rte_atomic16_t()
113 ::std::mem::size_of::<rte_atomic16_t>(), in bindgen_test_layout_rte_atomic16_t()
118 ::std::mem::align_of::<rte_atomic16_t>(), in bindgen_test_layout_rte_atomic16_t()
123 unsafe { ::std::ptr::addr_of!((*ptr).cnt) as usize - ptr as usize }, in bindgen_test_layout_rte_atomic16_t()
139 pub buf_addr: *mut ::std::os::raw::c_void,
196 const UNINIT: ::std::mem::MaybeUninit<rte_mbuf__bindgen_ty_1> = in bindgen_test_layout_rte_mbuf__bindgen_ty_1()
197 ::std::mem::MaybeUninit::uninit(); in bindgen_test_layout_rte_mbuf__bindgen_ty_1()
200 ::std in bindgen_test_layout_rte_mbuf__bindgen_ty_1()
[all...]
/third_party/skia/third_party/externals/piex/src/
H A Dpiex.cc37 const std::uint32_t kRafOffsetToPreviewOffset = 84;
40 std::uint32_t* width, std::uint32_t* height, in GetDngInformation()
41 std::vector<std::uint32_t>* cfa_pattern_dim) { in GetDngInformation()
55 std::uint32_t* width, std::uint32_t* height, in GetDngInformation()
56 std::vector<std::uint32_t>* cfa_pattern_dim) { in GetDngInformation()
81 const std in GetPreviewData()
[all...]
/third_party/protobuf/src/google/protobuf/compiler/java/
H A Djava_helpers.cc78 const std::unordered_set<std::string>* kReservedNames =
79 new std::unordered_set<std::string>({
92 bool IsForbidden(const std::string& field_name) { in IsForbidden()
101 std::string FieldName(const FieldDescriptor* field) { in FieldName()
102 std::string field_name; in FieldName()
123 const std::string& annotation_file) { in PrintGeneratedAnnotation()
127 std::string ptemplate = in PrintGeneratedAnnotation()
138 const std in PrintEnumVerifierLogic()
136 PrintEnumVerifierLogic(io::Printer* printer, const FieldDescriptor* descriptor, const std::map<std::string, std::string>& variables, const char* var_name, const char* terminating_string, bool enforce_lite) PrintEnumVerifierLogic() argument
[all...]
/third_party/json/include/nlohmann/detail/input/
H A Dbinary_reader.hpp76 using char_int_type = typename std::char_traits<char_type>::int_type;
84 explicit binary_reader(InputAdapterType&& adapter, const input_format_t format = input_format_t::json) noexcept : ia(std::move(adapter)), input_format(format) in input_format()
149 if (JSON_HEDLEY_UNLIKELY(current != std::char_traits<char_type>::eof())) in sax_parse()
170 std::int32_t document_size{}; in parse_bson_internal()
171 get_number<std::int32_t, true>(input_format_t::bson, document_size); in parse_bson_internal()
173 if (JSON_HEDLEY_UNLIKELY(!sax->start_object(static_cast<std::size_t>(-1)))) in parse_bson_internal()
195 auto out = std::back_inserter(result); in get_bson_cstr()
229 exception_message(input_format_t::bson, concat("string length must be at least 1, is ", std::to_string(len)), "string"), nullptr)); in get_bson_string()
232 return get_string(input_format_t::bson, len - static_cast<NumberType>(1), result) && get() != std::char_traits<char_type>::eof(); in get_bson_string()
251 exception_message(input_format_t::bson, concat("byte array length cannot be negative, is ", std in get_bson_binary()
[all...]
/third_party/skia/third_party/externals/spirv-tools/test/val/
H A Dval_cfg_test.cpp43 std::string nameOps() { return ""; } in nameOps()
46 std::string nameOps(std::pair<std::string, std::string> head, Args... names) { in nameOps()
52 std::string nameOps(std::string head, Args... names) { in nameOps()
59 std::string label_;
60 std::string body_;
62 std
[all...]
H A Dval_logicals_test.cpp33 std::string GenerateShaderCode( in GenerateShaderCode()
34 const std::string& body, in GenerateShaderCode()
35 const std::string& capabilities_and_extensions = "") { in GenerateShaderCode()
36 const std::string capabilities = in GenerateShaderCode()
42 const std::string after_extension_before_body = in GenerateShaderCode()
44 %ext_inst = OpExtInstImport "GLSL.std.450" in GenerateShaderCode()
165 const std::string after_body = in GenerateShaderCode()
174 std::string GenerateKernelCode( in GenerateKernelCode()
175 const std::string& body, in GenerateKernelCode()
176 const std in GenerateKernelCode()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/val/
H A Dval_cfg_test.cpp43 std::string nameOps() { return ""; } in nameOps()
46 std::string nameOps(std::pair<std::string, std::string> head, Args... names) { in nameOps()
52 std::string nameOps(std::string head, Args... names) { in nameOps()
59 std::string label_;
60 std::string body_;
62 std
[all...]
H A Dval_logicals_test.cpp33 std::string GenerateShaderCode( in GenerateShaderCode()
34 const std::string& body, in GenerateShaderCode()
35 const std::string& capabilities_and_extensions = "") { in GenerateShaderCode()
36 const std::string capabilities = in GenerateShaderCode()
42 const std::string after_extension_before_body = in GenerateShaderCode()
44 %ext_inst = OpExtInstImport "GLSL.std.450" in GenerateShaderCode()
165 const std::string after_body = in GenerateShaderCode()
174 std::string GenerateKernelCode( in GenerateKernelCode()
175 const std::string& body, in GenerateKernelCode()
176 const std in GenerateKernelCode()
[all...]
/third_party/vixl/src/aarch64/
H A Ddebugger-aarch64.cc48 , input_stream_(&std::cin) in Debugger()
64 auto new_command = std::make_unique<T>(sim_); in RegisterCmd()
70 std::string_view new_cmd_word = new_command->GetCommandWord(); in RegisterCmd()
71 std::string_view new_cmd_alias = new_command->GetCommandAlias(); in RegisterCmd()
73 std::string_view cmd_word = cmd->GetCommandWord(); in RegisterCmd()
74 std::string_view cmd_alias = cmd->GetCommandAlias(); in RegisterCmd()
92 debugger_cmds_.push_back(std::move(new_command)); in RegisterCmd()
117 std::string line; in Debug()
118 std::getline(*input_stream_, line); in Debug()
121 line.erase(std in Debug()
[all...]
/third_party/json/tests/src/
H A Dunit-algorithms.cpp21 SECTION("std::all_of")
23 CHECK(std::all_of(j_array.begin(), j_array.end(), [](const json & value)
27 CHECK(std::all_of(j_object.begin(), j_object.end(), [](const json & value)
33 SECTION("std::any_of")
35 CHECK(std::any_of(j_array.begin(), j_array.end(), [](const json & value)
37 return value.is_string() && value.get<std::string>() == "foo";
39 CHECK(std::any_of(j_object.begin(), j_object.end(), [](const json & value)
45 SECTION("std::none_of")
47 CHECK(std::none_of(j_array.begin(), j_array.end(), [](const json & value)
51 CHECK(std
[all...]
H A Dunit-regression1.cpp56 struct foo_serializer<T, typename std::enable_if<std::is_same<foo, T>::value>::type>
71 struct foo_serializer < T, typename std::enable_if < !std::is_same<foo, T>::value >::type >
86 using foo_json = nlohmann::basic_json<std::map, std::vector, std::string, bool, std::int64_t,
87 std::uint64_t, double, std
[all...]
H A Dunit-udt.cpp43 std::string m_val;
44 name(std::string rhs = "") : m_val(std::move(rhs)) {} in name()
49 std::string m_val;
50 address(std::string rhs = "") : m_val(std::move(rhs)) {} in address()
59 person(const age& a, name n, const country& c) : m_age(a), m_name(std::move(n)), m_country(c) {} in person()
67 contact(person p, address a) : m_person(std::move(p)), m_address(std::move(a)) {} in contact()
73 std
[all...]
H A Dunit-readme.cpp34 // redirect std::cout for the README file
35 auto* old_cout_buffer = std::cout.rdbuf();
36 std::ostringstream new_stream;
37 std::cout.rdbuf(new_stream.rdbuf());
48 // add a string that is stored as std::string
57 // add an array that is stored as std::vector (using an initializer list)
118 std::string s = j.dump(); // {\"happy\":true,\"pi\":3.141}
122 std::cout << j.dump(4) << std::endl;
128 std
[all...]
/third_party/node/deps/v8/src/zone/
H A Dzone-containers.h25 // A wrapper subclass for std::vector to make it easy to construct one
28 class ZoneVector : public std::vector<T, ZoneAllocator<T>> {
32 : std::vector<T, ZoneAllocator<T>>(ZoneAllocator<T>(zone)) {} in ZoneVector()
37 : std::vector<T, ZoneAllocator<T>>(size, T(), ZoneAllocator<T>(zone)) {} in ZoneVector()
42 : std::vector<T, ZoneAllocator<T>>(size, def, ZoneAllocator<T>(zone)) {} in ZoneVector()
46 ZoneVector(std::initializer_list<T> list, Zone* zone) in ZoneVector()
47 : std::vector<T, ZoneAllocator<T>>(list, ZoneAllocator<T>(zone)) {} in ZoneVector()
53 : std::vector<T, ZoneAllocator<T>>(first, last, ZoneAllocator<T>(zone)) {} in ZoneVector()
56 // A wrapper subclass for std::deque to make it easy to construct one
59 class ZoneDeque : public std
[all...]
/third_party/skia/third_party/externals/tint/src/writer/glsl/
H A Dgenerator_impl.h68 bool EmitIndexAccessor(std::ostream& out,
78 bool EmitBinary(std::ostream& out, const ast::BinaryExpression* expr);
83 bool EmitVectorRelational(std::ostream& out,
89 bool EmitBitcast(std::ostream& out, const ast::BitcastExpression* expr);
110 bool EmitCall(std::ostream& out, const ast::CallExpression* expr);
116 bool EmitFunctionCall(std::ostream& out,
124 bool EmitIntrinsicCall(std::ostream& out,
132 bool EmitTypeConversion(std::ostream& out,
140 bool EmitTypeConstructor(std::ostream& out,
147 bool EmitBarrierCall(std
[all...]
/third_party/gn/src/base/
H A Dvalues.cc29 static_assert(std::size(kTypeNames) ==
33 std::unique_ptr<Value> CopyWithoutEmptyChildren(const Value& node);
38 std::unique_ptr<Value> CopyListWithoutEmptyChildren(const Value& list) { in CopyListWithoutEmptyChildren()
41 std::unique_ptr<Value> child_copy = CopyWithoutEmptyChildren(entry); in CopyListWithoutEmptyChildren()
43 copy.GetList().push_back(std::move(*child_copy)); in CopyListWithoutEmptyChildren()
46 : std::make_unique<Value>(std::move(copy)); in CopyListWithoutEmptyChildren()
49 std::unique_ptr<DictionaryValue> CopyDictionaryWithoutEmptyChildren( in CopyDictionaryWithoutEmptyChildren()
51 std::unique_ptr<DictionaryValue> copy; in CopyDictionaryWithoutEmptyChildren()
53 std in CopyDictionaryWithoutEmptyChildren()
[all...]
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/
H A Dcbor_test.cc32 std::vector<uint8_t> empty; in TEST()
34 std::vector<uint8_t> hello = {'H', 'e', 'l', 'o', ' ', 't', in TEST()
37 std::vector<uint8_t> example = {0xd8, 0x5a, 0, 0, 0, 0}; in TEST()
39 std::vector<uint8_t> one = {0xd8, 0x5a, 0, 0, 0, 1, 1}; in TEST()
46 std::vector<uint8_t> empty_dict = { in TEST()
56 std::vector<uint8_t> not_a_message = {7}; in TEST()
59 std::string json; in TEST()
61 std::unique_ptr<ParserHandler> json_writer = in TEST()
73 std::vector<uint8_t> empty; in TEST()
87 std in TEST()
[all...]
/third_party/ninja/src/
H A Ddisk_interface.h37 virtual Status ReadFile(const std::string& path, std::string* contents,
38 std::string* err) = 0;
48 virtual TimeStamp Stat(const std::string& path, std::string* err) const = 0;
51 virtual bool MakeDir(const std::string& path) = 0;
55 virtual bool WriteFile(const std::string& path,
56 const std::string& contents) = 0;
63 virtual int RemoveFile(const std::string& path) = 0;
67 bool MakeDirs(const std
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiBufferMemoryRequirementsTestsUtils.hpp46 struct tc<std::tuple<Key, Ignored...>> {
47 typedef std::tuple<Key, Ignored...> T;
49 { return std::get<0>(l) < std::get<0>(r); } in operator ()()
53 struct BitsSet : public std::set<std::tuple<Bit, Ignored...>, tc<std::tuple<Bit, Ignored...>>>
57 typedef std::tuple<Bit, Ignored...> value_type;
58 typedef std::set<value_type, tc<value_type>> base;
60 BitsSet(std
139 mergeFlags( const std::vector<Flag>& flags1, const std::vector<BitsSet<Flag, Bits, Ignored...>>& flags2 ) mergeFlags() argument
163 mergeFlags( std::vector<BitsSet<Flag, Bits, Ignored...>>& inout, const std::vector<BitsSet<Flag, Bits, Ignored...>>& flags ) mergeFlags() argument
180 combine( std::vector<BitsSet<Flag, Bit, Ignored...>>& result, const BitsSet<Flag, Bit, Ignored...>& bits, std::vector<Flag>& hints ) combine() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiBufferMemoryRequirementsTestsUtils.hpp46 struct tc<std::tuple<Key, Ignored...>> {
47 typedef std::tuple<Key, Ignored...> T;
49 { return std::get<0>(l) < std::get<0>(r); } in operator ()()
53 struct BitsSet : public std::set<std::tuple<Bit, Ignored...>, tc<std::tuple<Bit, Ignored...>>>
57 typedef std::tuple<Bit, Ignored...> value_type;
58 typedef std::set<value_type, tc<value_type>> base;
60 BitsSet(std
139 mergeFlags( const std::vector<Flag>& flags1, const std::vector<BitsSet<Flag, Bits, Ignored...>>& flags2 ) mergeFlags() argument
163 mergeFlags( std::vector<BitsSet<Flag, Bits, Ignored...>>& inout, const std::vector<BitsSet<Flag, Bits, Ignored...>>& flags ) mergeFlags() argument
180 combine( std::vector<BitsSet<Flag, Bit, Ignored...>>& result, const BitsSet<Flag, Bit, Ignored...>& bits, std::vector<Flag>& hints ) combine() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
H A DNativeSession.cpp52 NativeSession::NativeSession(std::unique_ptr<PDBFile> PdbFile, in NativeSession()
53 std::unique_ptr<BumpPtrAllocator> Allocator) in NativeSession()
54 : Pdb(std::move(PdbFile)), Allocator(std::move(Allocator)), in NativeSession()
59 Error NativeSession::createFromPdb(std::unique_ptr<MemoryBuffer> Buffer, in createFromPdb()
60 std::unique_ptr<IPDBSession> &Session) { in createFromPdb()
62 auto Stream = std::make_unique<MemoryBufferByteStream>( in createFromPdb()
63 std::move(Buffer), llvm::support::little); in createFromPdb()
65 auto Allocator = std::make_unique<BumpPtrAllocator>(); in createFromPdb()
66 auto File = std in createFromPdb()
[all...]
/third_party/skia/third_party/externals/spirv-tools/test/opt/
H A Dvector_dce_test.cpp48 const std::string before_predefs = in TEST_F()
50 %1 = OpExtInstImport "GLSL.std.450" in TEST_F()
95 const std::string after_predefs = in TEST_F()
97 %1 = OpExtInstImport "GLSL.std.450" in TEST_F()
142 const std::string before = in TEST_F()
157 const std::string after = in TEST_F()
203 const std::string before_predefs = in TEST_F()
205 %1 = OpExtInstImport "GLSL.std.450" in TEST_F()
252 const std::string after_predefs = in TEST_F()
254 %1 = OpExtInstImport "GLSL.std in TEST_F()
[all...]

Completed in 18 milliseconds

1...<<11121314151617181920>>...810