/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/ |
H A D | YAMLRemarkParser.h | 41 std::error_code convertToErrorCode() const override { 46 std::string Message; 55 std::string LastErrorMessage; 64 std::unique_ptr<MemoryBuffer> SeparateBuf; 68 Expected<std::unique_ptr<Remark>> next() override; 83 Expected<std::unique_ptr<Remark>> parseRemark(yaml::Document &Remark); 101 : YAMLRemarkParser(Buf, std::move(StrTab)) {} in YAMLStrTabRemarkParser() 112 Expected<std::unique_ptr<YAMLRemarkParser>>
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
H A D | PPCLowerMASSVEntries.cpp | 55 static std::string createMASSVFuncName(Function &Func, 66 auto Iter = std::find(std::begin(MASSVFuncs), std::end(MASSVFuncs), Name); in isMASSVFunc() 67 return Iter != std::end(MASSVFuncs); in isMASSVFunc() 90 std::string 95 std::string MASSVEntryName = GenericName + Suffix.str(); in createMASSVFuncName() 108 std::string MASSVEntryName = createMASSVFuncName(Func, Subtarget); in lowerMASSVCall()
|
/third_party/skia/third_party/externals/tint/src/ |
H A D | program_test.cc | 30 Program program(std::move(*this)); in TEST_F() 35 Program program(std::move(*this)); in TEST_F() 51 Program program(std::move(*this)); in TEST_F() 85 Program program_a(std::move(*this)); in TEST_F() 91 Program program_b(std::move(program_a)); in TEST_F() 99 Program a(std::move(*this)); in TEST_F() 102 Program b = std::move(a); in TEST_F() 105 a = std::move(b); in TEST_F()
|
/third_party/skia/third_party/externals/tint/tools/src/cmd/remote-compile/ |
H A D | rwmutex.h | 53 std::mutex mutex; 54 std::condition_variable cv; 58 std::unique_lock<std::mutex> lock(mutex); in lockReader() 63 std::unique_lock<std::mutex> lock(mutex); in unlockReader() 71 std::unique_lock<std::mutex> lock(mutex); in lockWriter()
|
/third_party/spirv-tools/source/fuzz/fact_manager/ |
H A D | data_synonym_and_id_equation_facts.h | 58 std::vector<const protobufs::DataDescriptor*> GetSynonymsForId( 62 std::vector<const protobufs::DataDescriptor*> GetSynonymsForDataDescriptor( 66 std::vector<uint32_t> GetIdsForWhichSynonymsAreKnown() const; 69 std::vector<const protobufs::DataDescriptor*> GetAllKnownSynonyms() const; 83 std::vector<const protobufs::DataDescriptor*> operands; 97 std::unordered_set<Operation, OperationHash, OperationEquals>; 148 const std::vector<const protobufs::DataDescriptor*>& rhs_dds); 174 std::unordered_map<const protobufs::DataDescriptor*, OperationSet>
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
H A D | ilist_node_options.h | 52 /// std::true_type to get static assertions passing in \a simple_ilist and \a 54 template <class Option> struct is_valid_option : std::false_type {}; 64 : std::integral_constant<bool, EnableSentinelTracking>, is_explicit {}; 69 template <> struct extract_sentinel_tracking<> : std::true_type, is_implicit {}; 72 struct extract_sentinel_tracking<> : std::false_type, is_implicit {}; 76 : std::true_type {}; 90 template <class Tag> struct is_valid_option<ilist_tag<Tag>> : std::true_type {}; 96 template <> struct check_options<> : std::true_type {}; 99 : std::integral_constant<bool, is_valid_option<Option1>::value &&
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/PBQP/ |
H A D | CostAllocator.h | 30 using PoolRef = std::shared_ptr<const ValueT>; 33 class PoolEntry : public std::enable_shared_from_this<PoolEntry> { 37 : Pool(Pool), Value(std::move(Value)) {} in PoolEntry() 101 auto P = std::make_shared<PoolEntry>(*this, std::move(ValueKey)); in getValue() 103 return PoolRef(std::move(P), &P->getValue()); in getValue() 119 return VectorPool.getValue(std::move(v)); in getVector() 123 return MatrixPool.getValue(std::move(m)); in getMatrix()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
H A D | ResourcePriorityQueue.h | 39 std::vector<SUnit> *SUnits; 45 std::vector<unsigned> NumNodesSolelyBlocking; 48 std::vector<SUnit*> Queue; 52 std::vector<unsigned> RegPressure; 56 std::vector<unsigned> RegLimit; 66 std::unique_ptr<DFAPacketizer> ResourcesModel; 70 std::vector<SUnit*> Packet; 81 void initNodes(std::vector<SUnit> &sunits) override;
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/ |
H A D | WireTest.h | 43 void DescribeTo(std::ostream* os) const override { 80 if (std::strlen(message) <= 1) { 87 void DescribeTo(std::ostream* os) const override { 91 void DescribeNegationTo(std::ostream* os) const override { 146 std::unique_ptr<dawn_wire::WireServer> mWireServer; 147 std::unique_ptr<dawn_wire::WireClient> mWireClient; 148 std::unique_ptr<utils::TerribleCommandBuffer> mS2cBuf; 149 std::unique_ptr<utils::TerribleCommandBuffer> mC2sBuf;
|
/third_party/protobuf/src/google/protobuf/compiler/java/ |
H A D | java_string_field.h | 85 std::string GetBoxedType() const; 89 std::map<std::string, std::string> variables_; 141 std::string GetBoxedType() const; 145 std::map<std::string, std::string> variables_;
|
/third_party/protobuf/src/google/protobuf/compiler/objectivec/ |
H A D | objectivec_extension.cc | 52 std::cerr << "error: Extension is a map<>!" in ExtensionGenerator() 53 << " That used to be blocked by the compiler." << std::endl; in ExtensionGenerator() 54 std::cerr.flush(); in ExtensionGenerator() 62 std::map<string, string> vars; in GenerateMembersHeader() 85 std::map<string, string> vars; in GenerateStaticVariablesInitialization() 91 std::vector<string> options; in GenerateStaticVariablesInitialization() 101 std::string message_type = ClassName(descriptor_->message_type()); in GenerateStaticVariablesInitialization() 137 std::set<string>* fwd_decls) { in DetermineObjectiveCClassDefinitions()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/functional/internal/ |
H A D | function_ref.h | 45 return !std::is_lvalue_reference<T>::value && in PassByValue() 48 typename std::remove_cv<T>::type>::value && in PassByValue() 49 std::is_trivially_destructible<T>::value && in PassByValue() 54 struct ForwardT : std::conditional<PassByValue<T>(), T, T&&> {}; 74 absl::base_internal::invoke(*o, std::forward<Args>(args)...)); in InvokeObject() 81 absl::base_internal::invoke(f, std::forward<Args>(args)...)); in InvokeFunction() 85 void AssertNonNull(const std::function<Sig>& f) { in AssertNonNull() 100 using EnableIf = typename ::std::enable_if<C, int>::type;
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/ |
H A D | time_zone_lookup.cc | 72 std::string time_zone::name() const { return effective_impl().Name(); } in name() 93 std::string time_zone::version() const { return effective_impl().Version(); } in version() 95 std::string time_zone::description() const { in description() 108 bool load_time_zone(const std::string& name, time_zone* tz) { in load_time_zone() 131 std::vector<char> buffer; in local_time_zone() 149 tz_env = std::getenv("TZ"); in local_time_zone() 165 localtime_env = std::getenv("LOCALTIME"); in local_time_zone() 170 const std::string name = zone; in local_time_zone()
|
/third_party/skia/modules/skottie/src/effects/ |
H A D | LinearWipeEffect.cpp | 32 std::move(layer), in Make() 42 : INHERITED(std::move(layer), layer_size) { in LinearWipeAdapter() 68 feather = std::max(fFeather, 0.0f), 70 cos_ = std::cos(angle), 71 sin_ = std::sin(angle); 75 diag_v = {std::copysign(this->layerSize().width() , cos_), 76 std::copysign(this->layerSize().height(), sin_)}; 123 std::move(layer), in attachLinearWipeEffect()
|
/third_party/skia/modules/sksg/include/ |
H A D | SkSGGradient.h | 36 SG_ATTRIBUTE(ColorStops, std::vector<ColorStop>, fColorStops) 42 virtual sk_sp<SkShader> onMakeShader(const std::vector<SkColor4f>& colors, 43 const std::vector<SkScalar >& positions) const = 0; 49 std::vector<ColorStop> fColorStops; 65 sk_sp<SkShader> onMakeShader(const std::vector<SkColor4f>&, 66 const std::vector<SkScalar >&) const override; 89 sk_sp<SkShader> onMakeShader(const std::vector<SkColor4f>&, 90 const std::vector<SkScalar >&) const override;
|
/third_party/skia/modules/skottie/src/animator/ |
H A D | KeyframeAnimator.h | 74 KeyframeAnimator(std::vector<Keyframe> kfs, std::vector<SkCubicMap> cms) in KeyframeAnimator() 75 : fKFs(std::move(kfs)) in KeyframeAnimator() 76 , fCMs(std::move(cms)) {} in KeyframeAnimator() 106 const std::vector<Keyframe> fKFs; // Keyframe records, one per AE/Lottie keyframe. 107 const std::vector<SkCubicMap> fCMs; // Optional cubic mappers (Bezier interpolation). 133 std::vector<Keyframe> fKFs; // Keyframe records, one per AE/Lottie keyframe. 134 std::vector<SkCubicMap> fCMs; // Optional cubic mappers (Bezier interpolation).
|
/third_party/rust/crates/syn/examples/dump-syntax/src/ |
H A D | main.rs | 21 use std::borrow::Cow; 22 use std::env; 23 use std::ffi::OsStr; 24 use std::fmt::{self, Display}; 25 use std::fs; 26 use std::io::{self, Write}; 27 use std::path::{Path, PathBuf}; 28 use std::process;
|
/third_party/skia/client_utils/android/ |
H A D | BitmapRegionDecoder.cpp | 16 std::unique_ptr<BitmapRegionDecoder> BitmapRegionDecoder::Make(sk_sp<SkData> data) { in Make() 17 auto codec = SkAndroidCodec::MakeFromData(std::move(data)); in Make() 33 return std::unique_ptr<BitmapRegionDecoder>(new BitmapRegionDecoder(std::move(codec))); in Make() 36 BitmapRegionDecoder::BitmapRegionDecoder(std::unique_ptr<SkAndroidCodec> codec) in BitmapRegionDecoder() 37 : fCodec(std::move(codec)) in BitmapRegionDecoder() 95 const int extraX = std::max(0, desiredSubset.width() - outX - subset.width()); in decodeRegion() 96 const int extraY = std::max(0, desiredSubset.height() - outY - subset.height()); in decodeRegion()
|
/third_party/spirv-tools/source/fuzz/ |
H A D | transformation_permute_function_parameters.cpp | 27 : message_(std::move(message)) {} in TransformationPermuteFunctionParameters() 32 const std::vector<uint32_t>& permutation) { in TransformationPermuteFunctionParameters() 55 std::vector<uint32_t> permutation(message_.permutation().begin(), in IsApplicable() 73 // |arg_size - 1| will produce |std::numeric_limits<uint32_t>::max()| since in IsApplicable() 92 std::vector<uint32_t> param_id, param_type; in Apply() 100 std::vector<uint32_t> permuted_param_id, permuted_param_type; in Apply() 126 call->SetInOperands(std::move(call_operands)); in Apply() 138 std::vector<uint32_t> parameter_type_ids; in Apply() 163 std::unordered_set<uint32_t>
|
/third_party/spirv-tools/source/opt/ |
H A D | convert_to_half_pass.h | 129 return std::hash<uint32_t>()(uint32_t(op)); 134 std::unordered_set<spv::Op, hasher> target_ops_core_; 137 std::unordered_set<uint32_t> target_ops_450_; 140 std::unordered_set<spv::Op, hasher> image_ops_; 143 std::unordered_set<spv::Op, hasher> dref_image_ops_; 146 std::unordered_set<spv::Op, hasher> closure_ops_; 149 std::unordered_set<uint32_t> relaxed_ids_set_; 152 std::unordered_set<uint32_t> converted_ids_;
|
H A D | flatten_decoration_pass.cpp | 29 using Words = std::vector<uint32_t>; 30 using OrderedUsesMap = std::unordered_map<uint32_t, Words>; 38 std::unordered_set<uint32_t> group_ids; in Process() 92 std::unique_ptr<Instruction> new_inst(inst_iter->Clone(context())); in Process() 94 inst_iter = inst_iter.InsertBefore(std::move(new_inst)); in Process() 109 std::vector<Operand> operands; in Process() 117 std::unique_ptr<Instruction> new_inst(new Instruction( in Process() 119 inst_iter = inst_iter.InsertBefore(std::move(new_inst)); in Process()
|
/third_party/spirv-tools/source/reduce/ |
H A D | remove_selection_reduction_opportunity_finder.cpp | 27 std::string RemoveSelectionReductionOpportunityFinder::GetName() const { in GetName() 31 std::vector<std::unique_ptr<ReductionOpportunity>> 35 std::unordered_set<uint32_t> merge_and_continue_blocks_from_loops; in GetAvailableOpportunities() 53 std::vector<std::unique_ptr<ReductionOpportunity>> result; in GetAvailableOpportunities() 74 std::unordered_set<uint32_t> merge_and_continue_blocks_from_loops) { in CanOpSelectionMergeBeRemoved() 94 std::unordered_set<uint32_t> seen_successors; in CanOpSelectionMergeBeRemoved()
|
/third_party/spirv-tools/source/wasm/ |
H A D | spirv-tools.cpp | 27 std::cerr << "error: " << m << std::endl; in print_msg_to_stderr() 30 std::string dis(std::string const& buffer, uint32_t env, uint32_t options) { in dis() 34 std::vector<uint32_t> spirv; in dis() 37 std::string disassembly; in dis() 42 emscripten::val as(std::string const& source, uint32_t env, uint32_t options) { in as() 46 std::vector<uint32_t> spirv; in as()
|
/third_party/spirv-tools/test/fuzz/ |
H A D | transformation_add_early_terminator_wrapper_test.cpp | 26 std::string shader = R"( in TEST() 29 %1 = OpExtInstImport "GLSL.std.450" in TEST() 49 std::string shader = R"( in TEST() 52 %1 = OpExtInstImport "GLSL.std.450" in TEST() 73 std::string shader = R"( in TEST() 76 %1 = OpExtInstImport "GLSL.std.450" in TEST() 135 std::string after_transformation = R"( in TEST() 138 %1 = OpExtInstImport "GLSL.std.450" in TEST()
|
H A D | transformation_add_loop_preheader_test.cpp | 26 std::string shader = R"( in TEST() 28 %1 = OpExtInstImport "GLSL.std.450" in TEST() 106 std::string after_transformations = R"( in TEST() 108 %1 = OpExtInstImport "GLSL.std.450" in TEST() 156 std::string shader = R"( in TEST() 158 %1 = OpExtInstImport "GLSL.std.450" in TEST() 242 std::string after_transformations = R"( in TEST() 244 %1 = OpExtInstImport "GLSL.std.450" in TEST()
|