Home
last modified time | relevance | path

Searched refs:std (Results 13751 - 13775 of 67801) sorted by relevance

1...<<551552553554555556557558559560>>...2713

/third_party/skia/third_party/externals/spirv-tools/test/opt/
H A Ddataflow.cpp35 std::vector<uint32_t> visited_result_ids;
61 std::map<uint32_t, std::set<uint32_t>> reachable_from;
73 std::set<uint32_t>& precedents = reachable_from[id];
110 const std::string text = R"( in TEST_F()
112 %1 = OpExtInstImport "GLSL.std.450" in TEST_F()
144 std::unique_ptr<IRContext> context = in TEST_F()
151 std::map<ForwardDataFlowAnalysis::LabelPosition, std::vector<uint32_t>> in TEST_F()
179 const std in TEST_F()
[all...]
H A Dfeature_manager_test.cpp31 const std::string text = R"( in TEST_F()
36 std::unique_ptr<IRContext> context = in TEST_F()
45 const std::string text = R"( in TEST_F()
51 std::unique_ptr<IRContext> context = in TEST_F()
60 const std::string text = R"( in TEST_F()
66 std::unique_ptr<IRContext> context = in TEST_F()
75 const std::string text = R"( in TEST_F()
82 std::unique_ptr<IRContext> context = in TEST_F()
94 const std::string text = R"( in TEST_F()
99 std in TEST_F()
[all...]
H A Dif_conversion_test.cpp29 const std::string text = R"( in TEST_F()
66 const std::string text = R"( in TEST_F()
101 const std::string text = R"( in TEST_F()
138 const std::string text = R"( in TEST_F()
173 const std::string text = R"( in TEST_F()
215 const std::string text = R"( in TEST_F()
259 const std::string text = R"( in TEST_F()
306 const std::string text = R"(OpCapability Shader in TEST_F()
332 const std::string text = R"(OpCapability Shader in TEST_F()
361 const std in TEST_F()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
H A DLLVMReactorDebugInfo.hpp110 std::string identifier;
113 using LineTokens = std::unordered_map<unsigned int, Token>;
117 std::string name;
131 std::unordered_set<std::string> symbols;
161 std::unique_ptr<llvm::DIBuilder> diBuilder;
165 std::vector<Scope> diScope;
166 std::unordered_map<std::string, llvm::DIFile *> diFiles;
167 std
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
H A Dcall_graph.cpp27 call_graph_edges_[function.result_id()] = std::set<uint32_t>(); in CallGraph()
34 std::map<std::pair<uint32_t, uint32_t>, uint32_t> call_to_max_depth; in CallGraph()
48 std::map<std::pair<uint32_t, uint32_t>, uint32_t>* call_to_max_depth) { in BuildGraphAndGetDepthOfFunctionCalls()
53 std::set<uint32_t> known_callees; in BuildGraphAndGetDepthOfFunctionCalls()
103 std::map<uint32_t, uint32_t> function_in_degree = GetFunctionInDegree(); in ComputeTopologicalOrderOfFunctions()
106 std::queue<uint32_t> queue; in ComputeTopologicalOrderOfFunctions()
137 const std::map<std in ComputeInterproceduralFunctionCallDepths()
136 ComputeInterproceduralFunctionCallDepths( const std::map<std::pair<uint32_t, uint32_t>, uint32_t>& call_to_max_depth) ComputeInterproceduralFunctionCallDepths() argument
[all...]
H A Dfuzzer.h58 Fuzzer(std::unique_ptr<opt::IRContext> ir_context,
59 std::unique_ptr<TransformationContext> transformation_context,
60 std::unique_ptr<FuzzerContext> fuzzer_context,
62 const std::vector<fuzzerutil::ModuleSupplier>& donor_suppliers,
112 std::forward<Args>(extra_args)...); in MaybeAddRepeatedPass()
122 void MaybeAddFinalPass(std::vector<std::unique_ptr<FuzzerPass>>* passes,
164 std::unique_ptr<opt::IRContext> ir_context_;
168 std::unique_ptr<TransformationContext> transformation_context_;
171 std
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dfold.h40 IRContext* context, std::unique_ptr<FoldingRules>&& folding_rules, in InstructionFolder()
41 std::unique_ptr<ConstantFoldingRules>&& constant_folding_rules) in InstructionFolder()
43 const_folding_rules_(std::move(constant_folding_rules)), in InstructionFolder()
44 folding_rules_(std::move(folding_rules)) { in InstructionFolder()
59 const std::vector<const analysis::Constant*>& operands) const;
74 std::vector<uint32_t> FoldVectors(
76 const std::vector<const analysis::Constant*>& operands) const;
99 Instruction* inst, std::function<uint32_t(uint32_t)> id_map) const;
145 const std::vector<uint32_t>& operand_words) const;
156 Instruction* inst, const std
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
H A Dcall_graph.cpp27 call_graph_edges_[function.result_id()] = std::set<uint32_t>(); in CallGraph()
34 std::map<std::pair<uint32_t, uint32_t>, uint32_t> call_to_max_depth; in CallGraph()
48 std::map<std::pair<uint32_t, uint32_t>, uint32_t>* call_to_max_depth) { in BuildGraphAndGetDepthOfFunctionCalls()
53 std::set<uint32_t> known_callees; in BuildGraphAndGetDepthOfFunctionCalls()
103 std::map<uint32_t, uint32_t> function_in_degree = GetFunctionInDegree(); in ComputeTopologicalOrderOfFunctions()
106 std::queue<uint32_t> queue; in ComputeTopologicalOrderOfFunctions()
137 const std::map<std in ComputeInterproceduralFunctionCallDepths()
136 ComputeInterproceduralFunctionCallDepths( const std::map<std::pair<uint32_t, uint32_t>, uint32_t>& call_to_max_depth) ComputeInterproceduralFunctionCallDepths() argument
[all...]
H A Dfuzzer.h58 Fuzzer(std::unique_ptr<opt::IRContext> ir_context,
59 std::unique_ptr<TransformationContext> transformation_context,
60 std::unique_ptr<FuzzerContext> fuzzer_context,
62 const std::vector<fuzzerutil::ModuleSupplier>& donor_suppliers,
112 std::forward<Args>(extra_args)...); in MaybeAddRepeatedPass()
122 void MaybeAddFinalPass(std::vector<std::unique_ptr<FuzzerPass>>* passes,
164 std::unique_ptr<opt::IRContext> ir_context_;
168 std::unique_ptr<TransformationContext> transformation_context_;
171 std
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dfold.h40 IRContext* context, std::unique_ptr<FoldingRules>&& folding_rules, in InstructionFolder()
41 std::unique_ptr<ConstantFoldingRules>&& constant_folding_rules) in InstructionFolder()
43 const_folding_rules_(std::move(constant_folding_rules)), in InstructionFolder()
44 folding_rules_(std::move(folding_rules)) { in InstructionFolder()
59 const std::vector<const analysis::Constant*>& operands) const;
74 std::vector<uint32_t> FoldVectors(
76 const std::vector<const analysis::Constant*>& operands) const;
99 Instruction* inst, std::function<uint32_t(uint32_t)> id_map) const;
145 const std::vector<uint32_t>& operand_words) const;
156 Instruction* inst, const std
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
H A Ddataflow.cpp35 std::vector<uint32_t> visited_result_ids;
61 std::map<uint32_t, std::set<uint32_t>> reachable_from;
73 std::set<uint32_t>& precedents = reachable_from[id];
110 const std::string text = R"( in TEST_F()
112 %1 = OpExtInstImport "GLSL.std.450" in TEST_F()
144 std::unique_ptr<IRContext> context = in TEST_F()
151 std::map<ForwardDataFlowAnalysis::LabelPosition, std::vector<uint32_t>> in TEST_F()
179 const std in TEST_F()
[all...]
H A Dfeature_manager_test.cpp31 const std::string text = R"( in TEST_F()
36 std::unique_ptr<IRContext> context = in TEST_F()
45 const std::string text = R"( in TEST_F()
51 std::unique_ptr<IRContext> context = in TEST_F()
60 const std::string text = R"( in TEST_F()
66 std::unique_ptr<IRContext> context = in TEST_F()
75 const std::string text = R"( in TEST_F()
82 std::unique_ptr<IRContext> context = in TEST_F()
94 const std::string text = R"( in TEST_F()
99 std in TEST_F()
[all...]
H A Dif_conversion_test.cpp29 const std::string text = R"( in TEST_F()
66 const std::string text = R"( in TEST_F()
101 const std::string text = R"( in TEST_F()
138 const std::string text = R"( in TEST_F()
173 const std::string text = R"( in TEST_F()
215 const std::string text = R"( in TEST_F()
259 const std::string text = R"( in TEST_F()
306 const std::string text = R"(OpCapability Shader in TEST_F()
332 const std::string text = R"(OpCapability Shader in TEST_F()
361 const std in TEST_F()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DTargetRegistry.cpp24 const Target *TargetRegistry::lookupTarget(const std::string &ArchName, in lookupTarget()
26 std::string &Error) { in lookupTarget()
49 std::string TempError; in lookupTarget()
62 const Target *TargetRegistry::lookupTarget(const std::string &TT, in lookupTarget()
63 std::string &Error) { in lookupTarget()
78 auto J = std::find_if(std::next(I), targets().end(), ArchMatch); in lookupTarget()
80 Error = std::string("Cannot choose between targets \"") + I->Name + in lookupTarget()
112 static int TargetArraySortFn(const std::pair<StringRef, const Target *> *LHS, in TargetArraySortFn() argument
113 const std in TargetArraySortFn()
[all...]
/third_party/skia/third_party/externals/tint/fuzzers/tint_ast_fuzzer/
H A Dfuzzer.cc52 std::cout << "Trying to mutate an invalid program:" << std::endl in LLVMFuzzerCustomMutator()
53 << program.Diagnostics().str() << std::endl; in LLVMFuzzerCustomMutator()
60 program = Mutate(std::move(program), &probability_context, in LLVMFuzzerCustomMutator()
65 std::cout << "Mutator produced invalid WGSL:" << std::endl in LLVMFuzzerCustomMutator()
66 << " seed: " << seed << std::endl in LLVMFuzzerCustomMutator()
67 << program.Diagnostics().str() << std::endl; in LLVMFuzzerCustomMutator()
73 std::cout << "Can't generate WGSL for a valid tint::Program:" << std in LLVMFuzzerCustomMutator()
[all...]
/third_party/skia/third_party/externals/tint/fuzzers/tint_spirv_tools_fuzzer/
H A Dspirv_reduce_mutator.cc40 std::vector<uint32_t> binary, in SpirvReduceMutator()
54 original_binary_(std::move(binary)), in SpirvReduceMutator()
156 std::vector<uint32_t> SpirvReduceMutator::GetBinary() const { in GetBinary()
157 std::vector<uint32_t> result; in GetBinary()
162 std::string SpirvReduceMutator::GetErrors() const { in GetErrors()
166 void SpirvReduceMutator::LogErrors(const std::string* path, in LogErrors()
169 std::cout << count << " | SpirvReduceMutator (seed: " << seed_ << ")" in LogErrors()
170 << std::endl; in LogErrors()
171 std::cout << message << std in LogErrors()
[all...]
/third_party/skia/third_party/externals/tint/src/writer/wgsl/
H A Dgenerator_impl.h64 bool EmitIndexAccessor(std::ostream& out,
74 bool EmitBinary(std::ostream& out, const ast::BinaryExpression* expr);
79 bool EmitBitcast(std::ostream& out, const ast::BitcastExpression* expr);
92 bool EmitCall(std::ostream& out, const ast::CallExpression* expr);
101 bool EmitLiteral(std::ostream& out, const ast::LiteralExpression* expr);
110 bool EmitExpression(std::ostream& out, const ast::Expression* expr);
123 bool EmitIdentifier(std::ostream& out, const ast::IdentifierExpression* expr);
144 bool EmitMemberAccessor(std::ostream& out,
170 bool EmitType(std::ostream& out, const ast::Type* type);
179 bool EmitImageFormat(std
[all...]
/third_party/skia/third_party/externals/zlib/google/
H A Dcompression_utils_unittest.cc36 std::string data(reinterpret_cast<const char*>(kData), base::size(kData)); in TEST()
37 std::string compressed_data; in TEST()
39 std::string golden_compressed_data( in TEST()
46 std::string compressed_data(reinterpret_cast<const char*>(kCompressedData), in TEST()
49 std::string uncompressed_data; in TEST()
52 std::string golden_data(reinterpret_cast<const char*>(kData), in TEST()
58 std::string uncompressed_data; in TEST()
61 std::string golden_data(reinterpret_cast<const char*>(kData), in TEST()
71 std::string data; in TEST()
76 std in TEST()
[all...]
/third_party/spirv-tools/source/fuzz/
H A Dcall_graph.cpp27 call_graph_edges_[function.result_id()] = std::set<uint32_t>(); in CallGraph()
34 std::map<std::pair<uint32_t, uint32_t>, uint32_t> call_to_max_depth; in CallGraph()
48 std::map<std::pair<uint32_t, uint32_t>, uint32_t>* call_to_max_depth) { in BuildGraphAndGetDepthOfFunctionCalls()
53 std::set<uint32_t> known_callees; in BuildGraphAndGetDepthOfFunctionCalls()
103 std::map<uint32_t, uint32_t> function_in_degree = GetFunctionInDegree(); in ComputeTopologicalOrderOfFunctions()
106 std::queue<uint32_t> queue; in ComputeTopologicalOrderOfFunctions()
137 const std::map<std in ComputeInterproceduralFunctionCallDepths()
136 ComputeInterproceduralFunctionCallDepths( const std::map<std::pair<uint32_t, uint32_t>, uint32_t>& call_to_max_depth) ComputeInterproceduralFunctionCallDepths() argument
[all...]
H A Dfuzzer.h58 Fuzzer(std::unique_ptr<opt::IRContext> ir_context,
59 std::unique_ptr<TransformationContext> transformation_context,
60 std::unique_ptr<FuzzerContext> fuzzer_context,
62 const std::vector<fuzzerutil::ModuleSupplier>& donor_suppliers,
112 std::forward<Args>(extra_args)...); in MaybeAddRepeatedPass()
122 void MaybeAddFinalPass(std::vector<std::unique_ptr<FuzzerPass>>* passes,
164 std::unique_ptr<opt::IRContext> ir_context_;
168 std::unique_ptr<TransformationContext> transformation_context_;
171 std
[all...]
/third_party/vixl/examples/aarch32/
H A Dcustom-aarch32-disasm.cc44 std::map<Location::Offset, const char*> symbols_;
47 CustomStream() : Disassembler::DisassemblerStream(std::cout) {} in CustomStream()
48 std::map<Location::Offset, const char*>& GetSymbols() { return symbols_; } in GetSymbols()
51 std::map<Location::Offset, const char*>::iterator symbol =
79 std::map<Location::Offset, const char*>::iterator symbol =
82 os().os() << symbol->second << ":" << std::endl;
107 std::pair<Location::Offset, const char*>(GetLocation(), name_)); in ~NamedLabel()
130 std::cout << "Custom disassembly:" << std::endl; in RunCustomDisassemblerTest()
135 std in RunCustomDisassemblerTest()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
H A Dgenerate_real.h72 using uint_type = absl::conditional_t<std::is_same<real_type, float>::value, in GenerateRealFromBits()
76 (std::is_same<double, real_type>::value || in GenerateRealFromBits()
77 std::is_same<float, real_type>::value), in GenerateRealFromBits()
83 static_assert((std::numeric_limits<real_type>::is_iec559 && in GenerateRealFromBits()
84 std::numeric_limits<real_type>::radix == 2), in GenerateRealFromBits()
87 static_assert((std::is_same<SignedTag, GeneratePositiveTag>::value || in GenerateRealFromBits()
88 std::is_same<SignedTag, GenerateNegativeTag>::value || in GenerateRealFromBits()
89 std::is_same<SignedTag, GenerateSignedTag>::value), in GenerateRealFromBits()
92 static constexpr int kExp = std::numeric_limits<real_type>::digits - 1; in GenerateRealFromBits()
96 int exp = exp_bias + int{std in GenerateRealFromBits()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
H A Dostringstream_test.cc28 std::is_base_of<std::ostream, absl::strings_internal::OStringStream>(), in TEST()
38 std::string s = "abc"; in TEST()
46 std::unique_ptr<std::string> s(new std::string); in TEST()
53 std::string s1; in TEST()
57 static_assert(std::is_same<decltype(strm.str()), std::string*>(), ""); in TEST()
58 static_assert(std in TEST()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/types/internal/
H A Dspan.h42 // Before C++17, std::string::data returns a const char* in all cases.
43 inline char* GetDataImpl(std::string& s, // NOLINT(runtime/references)
57 std::is_integral<absl::decay_t<decltype(std::declval<C&>().size())>>;
67 std::is_convertible<absl::decay_t<decltype(GetData(std::declval<C&>()))>*,
86 typename std::enable_if<!std::is_const<T>::value, int>::type;
90 static_assert(std::is_const<T>::value, ""); in EqualImpl()
98 static_assert(std in LessThanImpl()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dascii.h168 void AsciiStrToLower(std::string* s);
171 ABSL_MUST_USE_RESULT inline std::string AsciiStrToLower(absl::string_view s) { in AsciiStrToLower()
172 std::string result(s); in AsciiStrToLower()
186 void AsciiStrToUpper(std::string* s);
189 ABSL_MUST_USE_RESULT inline std::string AsciiStrToUpper(absl::string_view s) { in AsciiStrToUpper()
190 std::string result(s); in AsciiStrToUpper()
199 auto it = std::find_if_not(str.begin(), str.end(), absl::ascii_isspace); in StripLeadingAsciiWhitespace()
204 inline void StripLeadingAsciiWhitespace(std::string* str) { in StripLeadingAsciiWhitespace()
205 auto it = std::find_if_not(str->begin(), str->end(), absl::ascii_isspace); in StripLeadingAsciiWhitespace()
213 auto it = std in StripTrailingAsciiWhitespace()
[all...]

Completed in 25 milliseconds

1...<<551552553554555556557558559560>>...2713