/third_party/protobuf/src/google/protobuf/util/internal/ |
H A D | datapiece.h | 149 util::StatusOr<std::string> ToString() const; 153 std::string ValueAsStringOrDefault(StringPiece default_string) const; 155 util::StatusOr<std::string> ToBytes() const; 187 bool DecodeBase64(StringPiece src, std::string* dest) const;
|
/third_party/rust/crates/clap/clap_complete/tests/ |
H A D | dynamic.rs | 14 .map(std::ffi::OsString::from) in suggest_subcommand_subset() 60 .map(std::ffi::OsString::from) in suggest_long_flag_subset() 95 .map(std::ffi::OsString::from) in suggest_possible_value_subset() 141 .map(std::ffi::OsString::from) in suggest_additional_short_flags()
|
/third_party/rust/crates/cxx/gen/build/src/ |
H A D | cargo.rs | 3 use std::borrow::Borrow; 4 use std::cmp::Ordering; 5 use std::collections::{BTreeMap as Map, BTreeSet as Set}; 6 use std::env;
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/ |
H A D | btree_set.h | 26 // (`std::set` and `std::multiset`) and generally conform to the STL interfaces 30 // Unlike `std::set` and `std::multiset`, which are commonly implemented using 33 // B-tree sets perform better than their `std::set` counterparts, because 37 // `std::set` and `std::multiset` as there are some API differences, which are 59 // values designed to be a more efficient replacement for `std::set` (in most 63 // `std::less<K>`. 65 // An `absl::btree_set<K>` uses a default allocator of `std [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | match_test.cc | 22 const std::string s1("123\0abc", 7); in TEST() 39 const std::string s1("123\0abc", 7); in TEST() 87 const std::string s = "foo"; in TEST() 101 std::string text = "the"; in TEST()
|
H A D | substitute.cc | 29 void SubstituteAndAppendArray(std::string* output, absl::string_view format, in SubstituteAndAppendArray() 84 target = std::copy(src.begin(), src.end(), target); in SubstituteAndAppendArray() 129 std::fill_n(beg, writer - beg, hex.fill); in Arg() 162 std::fill_n(writer, fillers, dec.fill); in Arg()
|
/third_party/skia/include/core/ |
H A D | SkYUVAInfo.h | 28 using YUVALocations = std::array<YUVALocation, kYUVAChannelCount>; 97 static std::tuple<int, int> SubsamplingFactors(Subsampling); 104 static std::tuple<int, int> PlaneSubsamplingFactors(PlaneConfig, Subsampling, int planeIdx); 159 std::tuple<int, int> planeSubsamplingFactors(int planeIdx) const { in planeSubsamplingFactors()
|
/third_party/skia/experimental/graphite/src/ |
H A D | DrawList.h | 67 : fHalfWidth(std::max(0.f, 0.5f * width)) in StrokeParams() 68 , fJoinLimit(join == SkPaint::kMiter_Join ? std::max(0.f, miterLimit) : in StrokeParams() 82 float miterLimit() const { return std::max(0.f, fJoinLimit); } in miterLimit() 155 static constexpr int kMaxDraws = std::numeric_limits<uint16_t>::max();
|
/third_party/skia/gm/ |
H A D | animated_image_orientation.cpp | 56 fTranslate = std::max(dimensions.width(), dimensions.height()) // may be rotated in init() 105 auto androidCodec = SkAndroidCodec::MakeFromCodec(std::move(codec)); 127 auto animatedImage = SkAnimatedImage::Make(std::move(androidCodec), 128 info, cropRect, std::move(postProcessor));
|
H A D | convexpolyeffect.cpp | 121 grPaint.setCoverageFragmentProcessor(std::move(fp)); 123 auto op = sk_gpu_test::test_ops::MakeRect(rContext, std::move(grPaint), rect); 124 sdc->addDrawOp(std::move(op)); 146 std::vector<SkPath> fPaths;
|
H A D | yuvtorgbsubset.cpp | 98 views[i] = std::get<0>(GrMakeCachedBitmapProxyView(context, bitmap, GrMipmapped::kNo)); 151 std::unique_ptr<GrFragmentProcessor> fp = 155 grPaint.setColorFragmentProcessor(std::move(fp)); 156 sdc->drawRect(nullptr, std::move(grPaint), GrAA::kYes, ctm, rect);
|
/third_party/skia/experimental/webgpu-bazel/src/ |
H A D | bindings.cpp | 57 wgpu::SwapChain getSwapChainForCanvas(wgpu::Device device, std::string canvasSelector, int width, int height) { in getSwapChainForCanvas() 101 WebGPUSurface(std::string canvasSelector, int width, int height) { in WebGPUSurface() 106 wgpu::ShaderModule makeShader(std::string source) { in makeShader() 127 .constructor<std::string, int, int>() in EMSCRIPTEN_BINDINGS()
|
/third_party/rust/crates/rust-openssl/openssl-sys/build/ |
H A D | run_bindgen.rs | 5 use std::io::Write; 6 use std::path::PathBuf; 8 use std::process; 9 use std::{env, fs};
|
/third_party/rust/crates/regex/src/ |
H A D | re_set.rs | 5 use std::fmt; 6 use std::iter; 7 use std::slice; 8 use std::vec;
|
/third_party/rust/crates/nix/src/sys/ |
H A D | uio.rs | 6 use std::io::{IoSlice, IoSliceMut}; 7 use std::marker::PhantomData; 8 use std::os::unix::io::RawFd; 174 use std::slice; in as_slice() 240 /// [`IoSlice`]: https://doc.rust-lang.org/std/io/struct.IoSlice.html 275 /// [`IoSliceMut`]: https://doc.rust-lang.org/std/io/struct.IoSliceMut.html
|
/third_party/rust/crates/rustix/benches/ |
H A D | mod.rs | 58 let mut s = std::mem::MaybeUninit::<libc::stat>::uninit(); 63 std::ffi::CString::new("/").unwrap().as_c_str().as_ptr() as _, 77 let mut s = std::mem::MaybeUninit::<libc::stat>::uninit(); 118 let mut s = std::mem::MaybeUninit::<libc::timespec>::uninit();
|
/third_party/rust/crates/rustix/tests/net/ |
H A D | unix.rs | 23 use std::path::Path; 24 use std::str::FromStr; 25 use std::sync::{Arc, Condvar, Mutex}; 26 use std::thread;
|
/third_party/rust/crates/os_str_bytes/src/windows/wtf8/ |
H A D | convert.rs | 1 use std::char; 2 use std::char::DecodeUtf16; 3 use std::iter::FusedIterator; 4 use std::num::NonZeroU16;
|
/third_party/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_apply_id_synonyms.cpp | 50 std::vector<std::pair<opt::Instruction*, uint32_t>> uses; in Apply() 58 std::pair<opt::Instruction*, uint32_t>(use_inst, use_index)); in Apply() 84 std::vector<const protobufs::DataDescriptor*> synonyms_to_try; in Apply()
|
H A D | transformation_set_loop_control.cpp | 22 : message_(std::move(message)) {} in TransformationSetLoopControl() 177 merge_inst->SetInOperands(std::move(new_operands)); in Apply() 230 std::unordered_set<uint32_t> TransformationSetLoopControl::GetFreshIds() const { in GetFreshIds() 231 return std::unordered_set<uint32_t>(); in GetFreshIds()
|
H A D | transformation_wrap_early_terminator_in_function.cpp | 27 : message_(std::move(message)) {} in TransformationWrapEarlyTerminatorInFunction() 137 early_terminator->SetInOperands(std::move(new_in_operands)); in Apply() 142 std::unordered_set<uint32_t> 144 return std::unordered_set<uint32_t>({message_.fresh_id()}); in GetFreshIds()
|
/third_party/spirv-tools/source/opt/ |
H A D | pass.cpp | 110 std::vector<uint32_t> element_ids; in GenerateCopy() 128 const std::vector<const analysis::Type*>& original_types = in GenerateCopy() 130 const std::vector<const analysis::Type*>& new_types = in GenerateCopy() 132 std::vector<uint32_t> element_ids; in GenerateCopy()
|
/third_party/spirv-tools/source/val/ |
H A D | validate.h | 100 const std::vector<std::pair<BasicBlock*, BasicBlock*>>& dom_edges, 101 std::function<void(BasicBlock*, BasicBlock*)> set_func); 252 std::unique_ptr<ValidationState_t>* vstate);
|
/third_party/spirv-tools/test/fuzz/ |
H A D | transformation_permute_function_parameters_test.cpp | 26 std::string shader = R"( in TEST() 28 %1 = OpExtInstImport "GLSL.std.450" in TEST() 339 std::string after_transformation = R"( in TEST() 341 %1 = OpExtInstImport "GLSL.std.450" in TEST()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fSamplerStateQueryTests.cpp | 181 std::string() + states[stateNdx].name + verifierSuffix, in init() 190 std::string() + states[stateNdx].name + verifierSuffix, in init() 199 std::string() + states[stateNdx].name + verifierSuffix, in init() 224 std::string() + pureStates[stateNdx].name, in init()
|