/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
H A D | IceASanInstrumentation.h | 28 using VarSizeMap = std::unordered_map<Operand *, SizeT>; 29 using GlobalSizeMap = std::unordered_map<GlobalString, SizeT>; 46 std::string nextRzName(); 60 ICE_TLS_DECLARE_FIELD(std::vector<InstStore *> *, LocalDtors); 64 std::atomic<uint32_t> RzNum; 67 std::mutex GlobalsMutex;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/ |
H A D | BitstreamRemarkParser.h | 34 std::unique_ptr<MemoryBuffer> TmpRemarkBuffer; 52 StrTab(std::move(StrTab)) {} in BitstreamRemarkParser() 54 Expected<std::unique_ptr<Remark>> next() override; 64 Expected<std::unique_ptr<Remark>> parseRemark(); 72 Expected<std::unique_ptr<Remark>> 77 Expected<std::unique_ptr<BitstreamRemarkParser>> createBitstreamParserFromMeta(
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/MCTargetDesc/ |
H A D | AVRMCTargetDesc.cpp | 72 std::unique_ptr<MCAsmBackend> &&MAB, in createMCStreamer() 73 std::unique_ptr<MCObjectWriter> &&OW, in createMCStreamer() 74 std::unique_ptr<MCCodeEmitter> &&Emitter, in createMCStreamer() 76 return createELFStreamer(Context, std::move(MAB), std::move(OW), in createMCStreamer() 77 std::move(Emitter), RelaxAll); in createMCStreamer()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/ |
H A D | BPFMIChecking.cpp | 109 std::vector<unsigned> GPR32LiveDefs; in hasLiveDefs() 110 std::vector<unsigned> GPR64DeadDefs; in hasLiveDefs() 146 std::vector<unsigned>::iterator search_begin = GPR64DeadDefs.begin(); in hasLiveDefs() 147 std::vector<unsigned>::iterator search_end = GPR64DeadDefs.end(); in hasLiveDefs() 150 if (std::find(search_begin, search_end, *SR) == search_end) in hasLiveDefs() 169 report_fatal_error("line " + std::to_string(DL.getLine()) + in checkingIllegalXADD()
|
/third_party/skia/third_party/externals/tint/fuzzers/tint_spirv_tools_fuzzer/ |
H A D | mutator_debugger.cc | 40 std::unique_ptr<tint::fuzzers::spvtools_fuzzer::Mutator> mutator; in main() 45 std::make_unique<tint::fuzzers::spvtools_fuzzer::SpirvFuzzMutator>( in main() 54 std::make_unique<tint::fuzzers::spvtools_fuzzer::SpirvReduceMutator>( in main() 62 std::make_unique<tint::fuzzers::spvtools_fuzzer::SpirvOptMutator>( in main() 76 std::cerr << mutator->GetErrors() << std::endl; in main()
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
H A D | token_test.cc | 45 Token t1(Source{}, std::numeric_limits<int32_t>::max()); in TEST_F() 46 EXPECT_EQ(t1.to_i32(), std::numeric_limits<int32_t>::max()); in TEST_F() 50 Token t1(Source{}, std::numeric_limits<int32_t>::min()); in TEST_F() 51 EXPECT_EQ(t1.to_i32(), std::numeric_limits<int32_t>::min()); in TEST_F() 60 Token t1(Source{}, std::numeric_limits<uint32_t>::max()); in TEST_F() 61 EXPECT_EQ(t1.to_u32(), std::numeric_limits<uint32_t>::max()); in TEST_F()
|
/third_party/skia/third_party/externals/tint/src/ |
H A D | symbol_table.cc | 34 Symbol SymbolTable::Register(const std::string& name) { in Register() 54 Symbol SymbolTable::Get(const std::string& name) const { in Get() 59 std::string SymbolTable::NameFor(const Symbol symbol) const { in NameFor() 69 Symbol SymbolTable::New(std::string prefix /* = "" */) { in New() 77 std::string name; in New() 80 name = prefix + "_" + std::to_string(i++); in New()
|
/third_party/skia/tools/debugger/ |
H A D | DebugLayerManager.h | 99 std::vector<LayerSummary> summarizeLayers(int frame) const; 102 std::vector<int> listNodesForFrame(int frame) const; 104 std::vector<int> listFramesForNode(int nodeId) const; 127 const std::vector<DebugLayerManager::LayerKey>& getKeys() const { return keys; } in getKeys() 143 std::unique_ptr<DebugCanvas> debugCanvas; 153 std::vector<LayerKey> keys;
|
/third_party/skia/tools/sk_app/ |
H A D | CommandSet.h | 49 std::function<void(void)> function); 51 std::function<void(void)> function); 55 std::vector<SkString> getCommandsAsSoftkeys() const; 65 std::function<void(void)> function) in Command() 74 std::function<void(void)> function) in Command() 94 std::function<void(void)> fFunction;
|
/third_party/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_add_dead_breaks.cpp | 34 std::vector<TransformationAddDeadBreak> candidate_transformations; in Apply() 38 std::vector<opt::BasicBlock*> merge_blocks; in Apply() 59 std::vector<uint32_t> phi_ids; in Apply() 87 block.id(), merge_block->id(), break_condition, std::move(phi_ids)); in Apply() 92 std::move(candidate_transformation)); in Apply() 114 auto transformation = std::move(candidate_transformations[index]); in Apply()
|
H A D | fuzzer_pass_obfuscate_constants.h | 88 const std::vector<spv::Op>& greater_than_opcodes, 89 const std::vector<spv::Op>& less_than_opcodes, uint32_t constant_id_1, 99 const std::map<spv::Op, uint32_t>& skipped_opcode_count, 100 std::vector<protobufs::IdUseDescriptor>* constant_uses); 104 std::vector<std::vector<uint32_t>> GetConstantWordsFromUniformsForType(
|
H A D | transformation_flatten_conditional_branch.h | 33 const std::vector<protobufs::SideEffectWrapperInfo>& 63 std::unordered_set<uint32_t> GetFreshIds() const override; 78 std::set<opt::Instruction*>* instructions_that_need_ids); 109 std::unordered_map<opt::Instruction*, protobufs::SideEffectWrapperInfo> 129 std::vector<uint32_t>* dead_blocks, 130 std::vector<uint32_t>* irrelevant_ids);
|
/third_party/protobuf/src/google/protobuf/util/internal/ |
H A D | type_info_test_helper.h | 64 void ResetTypeInfo(const std::vector<const Descriptor*>& descriptors); 75 const std::string& type_url); 78 const std::string& type_url, strings::ByteSink* output, 81 DefaultValueObjectWriter* NewDefaultValueWriter(const std::string& type_url, 86 std::unique_ptr<TypeInfo> typeinfo_; 87 std::unique_ptr<TypeResolver> type_resolver_;
|
/third_party/rust/crates/clap/examples/ |
H A D | typed-derive.rs | 3 use std::error::Error; 8 /// Implicitly using `std::str::FromStr` 14 include: Option<std::path::PathBuf>, 18 bind: Option<std::net::IpAddr>, 50 T: std::str::FromStr, in parse_key_val() 52 U: std::str::FromStr, in parse_key_val() 71 impl std::fmt::Display for LogLevel { 72 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { in fmt() 83 impl std [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/ |
H A D | thread_identity_test.cc | 80 std::vector<std::thread> threads; in TEST() 83 std::thread(TestThreadIdentityCurrent, kCheckNoIdentity)); in TEST() 110 std::vector<std::thread> threads; in TEST() 112 threads.push_back(std::thread([&]() { in TEST()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
H A D | fastmath_test.cc | 20 // NACL has a less accurate implementation of std::log2 than most of 40 // and the result of std::log2(x) > IntLog2Floor(x). in TEST() 41 EXPECT_LT(IntLog2Floor(~kZero), static_cast<int>(std::log2(~kZero))); in TEST() 46 EXPECT_EQ(i, static_cast<int>(std::log2(i_pow_2))); in TEST() 66 // and the result of std::log2(x) > IntLog2Floor(x). in TEST() 67 EXPECT_LE(IntLog2Ceil(~kZero), static_cast<int>(std::log2(~kZero))); in TEST() 73 EXPECT_EQ(i, static_cast<int>(std::ceil(std::log2(i_pow_2)))); in TEST() 93 EXPECT_NEAR(StirlingLogFactorial(d), std::lgamma(d + 1), 3e-5); in TEST()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/status/ |
H A D | statusor.cc | 28 : status_(std::move(status)) {} in BadStatusOrAccess() 47 status_ = std::move(other.status_); in operator =() 48 what_ = std::move(other.what_); in operator =() 53 : status_(std::move(other.status_)) {} in BadStatusOrAccess() 91 throw absl::BadStatusOrAccess(std::move(status)); in ThrowBadStatusOrAccess() 97 std::abort(); in ThrowBadStatusOrAccess()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
H A D | node_hash_policy.h | 50 static_assert(std::is_lvalue_reference<Reference>::value, ""); 52 using slot_type = typename std::remove_cv< 53 typename std::remove_reference<Reference>::type>::type*; 57 *slot = Policy::new_element(alloc, std::forward<Args>(args)...); in construct() 83 static auto apply(Ts&&... ts) -> decltype(P::apply(std::forward<Ts>(ts)...)) { in apply() 84 return P::apply(std::forward<Ts>(ts)...); in apply()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
H A D | ostringstream_benchmark.cc | 29 // Benchmarks for std::ostringstream. 34 const std::string payload(bytes_per_write, 'x'); in BM_StdStream() 36 std::ostringstream strm; in BM_StdStream() 46 std::string s = strm.str(); in BM_StdStream() 60 // Create the stream, write to it, get std::string out, then destroy. 71 const std::string payload(bytes_per_write, 'x'); in BM_CustomStream() 73 std::string out; in BM_CustomStream() 84 std::string s = out; in BM_CustomStream() 98 // Create the stream, write to it, get std::string out, then destroy. 99 // It's not useful in practice to extract std [all...] |
/third_party/skia/modules/svg/src/ |
H A D | SkSVGRect.cpp | 48 ? std::make_tuple(*fRx, *fRy) in resolve() 49 : std::make_tuple(*fRx, *fRx) in resolve() 51 ? std::make_tuple(*fRy, *fRy) in resolve() 52 : std::make_tuple(SkSVGLength(0), SkSVGLength(0)); in resolve() 56 const auto rx = std::min(lctx.resolve(rxlen, SkSVGLengthContext::LengthType::kHorizontal), in resolve() 58 ry = std::min(lctx.resolve(rylen, SkSVGLengthContext::LengthType::kVertical), in resolve()
|
/third_party/skia/experimental/tskit/bindings/ |
H A D | extension.cpp | 27 Extension(std::string n): fProp(n) {} in Extension() 29 const std::string getProp() { in getProp() 33 void setProp(std::string p) { in setProp() 38 std::string fProp; 43 std::string beta; 76 .constructor<std::string>() in EMSCRIPTEN_BINDINGS()
|
/third_party/skia/include/codec/ |
H A D | SkAndroidCodec.h | 38 static std::unique_ptr<SkAndroidCodec> MakeFromCodec(std::unique_ptr<SkCodec>); 50 static std::unique_ptr<SkAndroidCodec> MakeFromStream(std::unique_ptr<SkStream>, 60 static std::unique_ptr<SkAndroidCodec> MakeFromData(sk_sp<SkData>, SkPngChunkReader* = nullptr); 261 std::unique_ptr<SkCodec> fCodec;
|
/third_party/skia/modules/sksg/src/ |
H A D | SkSGGradient.cpp | 21 std::vector<SkColor4f> colors; in onRevalidateShader() 22 std::vector<SkScalar> positions; in onRevalidateShader() 37 sk_sp<SkShader> LinearGradient::onMakeShader(const std::vector<SkColor4f>& colors, in onMakeShader() 38 const std::vector<SkScalar >& positions) const { in onMakeShader() 46 sk_sp<SkShader> RadialGradient::onMakeShader(const std::vector<SkColor4f>& colors, in onMakeShader() 47 const std::vector<SkScalar >& positions) const { in onMakeShader()
|
/third_party/skia/docs/examples/ |
H A D | l_system_plant.cpp | 10 std::string s; in REG_FIDDLE_ANIMATED() 22 std::string E(std::string s) { in REG_FIDDLE_ANIMATED() 49 std::vector<struct Pt> ptstack; in REG_FIDDLE_ANIMATED() 50 std::string plant = E(E(E(E(E("X"))))); in REG_FIDDLE_ANIMATED() 56 for (std::string::iterator it=plant.begin(); it!=plant.end(); ++it) { in REG_FIDDLE_ANIMATED()
|
/third_party/spirv-tools/source/lint/ |
H A D | divergence_analysis.h | 145 std::unordered_map<uint32_t, DivergenceLevel> divergence_; 146 std::unordered_map<uint32_t, uint32_t> divergence_source_; 147 std::unordered_map<uint32_t, uint32_t> divergence_dependence_source_; 152 std::unordered_map<uint32_t, uint32_t> follow_unconditional_branches_; 157 std::ostream& operator<<(std::ostream& os,
|