/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/ |
H A D | transformation_add_constant_scalar_test.cpp | 26 std::string reference_shader = R"( in TEST() 30 %1 = OpExtInstImport "GLSL.std.450" in TEST() 125 std::string reference_shader = R"( in TEST() 129 %1 = OpExtInstImport "GLSL.std.450" in TEST() 303 std::string variant_shader = R"( in TEST() 307 %1 = OpExtInstImport "GLSL.std.450" in TEST()
|
/third_party/skia/third_party/externals/oboe/src/opensles/ |
H A D | AudioOutputStreamOpenSLES.cpp | 321 std::lock_guard<std::mutex> lock(mLock); in requestPause() 352 std::lock_guard<std::mutex> lock(mLock); in requestFlush() 378 std::lock_guard<std::mutex> lock(mLock); in requestStop()
|
/third_party/skia/tests/ |
H A D | GrQuadBufferTest.cpp | 43 static std::vector<GrQuad> generate_quads(float seed, int cnt, const GrQuad::Type types[]) { in generate_quads() 54 std::vector<GrQuad> quads; in generate_quads() 95 std::vector<GrQuad> expectedDeviceQuads = generate_quads(1.f, kQuadCount, kDeviceTypes); in TEST() 96 std::vector<GrQuad> expectedLocalQuads = generate_quads(2.f, kQuadCount, kLocalTypes); in TEST() 140 std::vector<GrQuad> quadsA = generate_quads(1.f, kQuadCount, kTypesA); in TEST() 141 std::vector<GrQuad> quadsB = generate_quads(2.f, kQuadCount, kTypesB); in TEST()
|
/third_party/skia/third_party/externals/angle2/util/fuchsia/ |
H A D | ScenicWindow.cpp | 83 bool ScenicWindow::initializeImpl(const std::string &name, int width, int height) in initializeImpl() 91 std::tie(viewToken, viewHolderToken) = scenic::NewViewTokenPair(); in initializeImpl() 94 mView = std::make_unique<scenic::View>(&mScenicSession, std::move(viewToken), name); in initializeImpl() 98 mPresenter->PresentOrReplaceView(std::move(viewHolderToken), nullptr); in initializeImpl() 222 void ScenicWindow::onScenicEvents(std::vector<fuchsia::ui::scenic::Event> events) in onScenicEvents()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | CommandBuffer.cpp | 220 std::array<float, 4> ConvertToFloatColor(dawn_native::Color color) { in ConvertToFloatColor() 221 const std::array<float, 4> outputValue = { in ConvertToFloatColor() 226 std::array<int32_t, 4> ConvertToSignedIntegerColor(dawn_native::Color color) { in ConvertToSignedIntegerColor() 227 const std::array<int32_t, 4> outputValue = { in ConvertToSignedIntegerColor() 233 std::array<uint32_t, 4> ConvertToUnsignedIntegerColor(dawn_native::Color color) { in ConvertToUnsignedIntegerColor() 234 const std::array<uint32_t, 4> outputValue = { in ConvertToUnsignedIntegerColor()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/ |
H A D | DWARFDebugFrame.h | 50 using InstrList = std::vector<Instruction>; 78 std::vector<Instruction> Instructions; 178 Version(Version), Augmentation(std::move(Augmentation)), in CIE() 183 AugmentationData(std::move(AugmentationData)), in CIE() 270 std::vector<std::unique_ptr<dwarf::FrameEntry>> Entries;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/ |
H A D | MicrosoftDemangle.h | 23 // (such as std::vector) with this allocator. But it pays off -- 67 addNode(std::max(AllocUnit, Size)); in allocUnalignedBuffer() 86 addNode(std::max(AllocUnit, Size)); in allocArray() 103 return new (PP) T(std::forward<Args>(ConstructorArgs)...); in alloc() 108 return new (Head->Buf) T(std::forward<Args>(ConstructorArgs)...); in alloc() 185 std::pair<uint64_t, bool> demangleNumber(StringView &MangledName); 254 std::pair<Qualifiers, bool> demangleQualifiers(StringView &MangledName);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
H A D | CFGDiff.h | 57 // 1. std::pair<const GraphDiff<BasicBlock *> *, BasicBlock *>> : 61 // 2. std::pair<const GraphDiff<Inverse<BasicBlock *>> *, BasicBlock *>> : 65 // 3. std::pair<const GraphDiff<BasicBlock *> *, Inverse<BasicBlock *>>> : 69 // 4. std::pair<const GraphDiff<Inverse<BasicBlock *>> *, Inverse<BasicBlock *>> 160 using NodeRef = std::pair<DataRef, BasicBlock *>; 214 using NodeRef = std::pair<DataRef, BasicBlock *>; 268 std::pair<const GraphDiff<BasicBlock *, false> *, BasicBlock *>> 272 std::pair<const GraphDiff<BasicBlock *, true> *, BasicBlock *>> 276 std::pair<const GraphDiff<BasicBlock *, false> *, Inverse<BasicBlock *>>> 280 std [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/ |
H A D | COFFYAML.h | 73 std::vector<CodeViewYAML::YAMLDebugSubsection> DebugS; 74 std::vector<CodeViewYAML::LeafRecord> DebugT; 75 std::vector<CodeViewYAML::LeafRecord> DebugP; 77 std::vector<Relocation> Relocations; 106 std::vector<Section> Sections; 107 std::vector<Symbol> Symbols;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/ |
H A D | LoopPassManager.h | 132 Worklist.insert(std::move(PreOrderLoops)); in appendLoopsToWorklist() 268 : Pass(std::move(Pass)), LoopCanonicalizationFPM(DebugLogging), in FunctionToLoopPassAdaptor() 376 PA.intersect(std::move(PassPA)); in run() 414 return FunctionToLoopPassAdaptor<LoopPassT>(std::move(Pass), UseMemorySSA, in createFunctionToLoopPassAdaptor() 421 std::string Banner; 425 PrintLoopPass(raw_ostream &OS, const std::string &Banner = "");
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
H A D | SILowerSGPRSpills.cpp | 109 assert(std::distance(MIS.begin(), I) == 1); in insertCSRSaves() 110 MachineInstr &Inst = *std::prev(I); in insertCSRSaves() 121 std::vector<CalleeSavedInfo> &CSI, in insertCSRRestores() 145 MachineInstr &Inst = *std::prev(I); in insertCSRRestores() 203 std::vector<CalleeSavedInfo> CSI; in spillCalleeSavedRegs() 274 Next = std::next(I); in runOnMachineFunction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
H A D | PPCBranchSelector.cpp | 45 std::vector<std::pair<unsigned, unsigned>> BlockSizes; 188 MaxAlign = std::max(MaxAlign, Src->getAlignment()); in computeBranchSize() 194 MaxAlign = std::max(MaxAlign, Fn.getBlockNumbered(i)->getAlignment()); in computeBranchSize() 205 MaxAlign = std::max(MaxAlign, Dest->getAlignment()); in computeBranchSize() 208 MaxAlign = std::max(MaxAlign, Fn.getBlockNumbered(i)->getAlignment()); in computeBranchSize()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
H A D | SystemZPostRewrite.cpp | 141 std::swap(Src1Reg, Src2Reg); in selectSELRMux() 142 std::swap(Src1IsHigh, Src2IsHigh); in selectSELRMux() 173 for (auto I = std::prev(MBB.end()); I != MBBI; --I) in expandCondMove() 178 MF.insert(std::next(MachineFunction::iterator(MBB)), RestMBB); in expandCondMove() 186 MF.insert(std::next(MachineFunction::iterator(MBB)), MoveMBB); in expandCondMove() 255 MachineBasicBlock::iterator NMBBI = std::next(MBBI); in selectMBB()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ |
H A D | TargetMachineC.cpp | 68 std::string Error; in LLVMGetTargetFromTriple() 162 std::string StringRep = unwrap(T)->getTargetTriple().str(); in LLVMGetTargetMachineTriple() 167 std::string StringRep = unwrap(T)->getTargetCPU(); in LLVMGetTargetMachineCPU() 172 std::string StringRep = unwrap(T)->getTargetFeatureString(); in LLVMGetTargetMachineFeatureString() 194 std::string error; in LLVMTargetMachineEmit() 221 std::error_code EC; in LLVMTargetMachineEmitToFile()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/Disassembler/ |
H A D | WebAssemblyDisassembler.cpp | 44 std::unique_ptr<const MCInstrInfo> MCII; 55 std::unique_ptr<const MCInstrInfo> MCII) in WebAssemblyDisassembler() 56 : MCDisassembler(STI, Ctx), MCII(std::move(MCII)) {} in WebAssemblyDisassembler() 63 std::unique_ptr<const MCInstrInfo> MCII(T.createMCInstrInfo()); in createWebAssemblyDisassembler() 64 return new WebAssemblyDisassembler(STI, Ctx, std::move(MCII)); in createWebAssemblyDisassembler() 115 if (std::is_floating_point<T>::value) { in parseImmediate()
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
H A D | token.cc | 22 std::string Token::TypeToName(Type type) { in TypeToName() 325 Token::Token(Type type, const Source& source, const std::string& val) in Token() 347 std::string Token::to_str() const { in to_str() 349 return std::to_string(val_float_); in to_str() 352 return std::to_string(val_int_); in to_str() 355 return std::to_string(val_uint_); in to_str()
|
/third_party/skia/tools/fiddle/ |
H A D | fiddle_main.cpp | 46 std::ostringstream gTextOutput; 49 std::ostringstream gGLDriverInfo; 235 image = SkImage::MakeFromEncoded(std::move(data)); in main() 263 std::unique_ptr<sk_gpu_test::GLTestContext> glContext; in main() 316 std::string textoutput = gTextOutput.str(); in main() 319 std::string glinfo = gGLDriverInfo.str(); in main()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
H A D | AccelTable.h | 143 std::vector<AccelTableData *> Values; 154 using HashList = std::vector<HashData *>; 155 using BucketList = std::vector<HashList>; 214 new (Allocator) AccelTableDataT(std::forward<Types>(Args)...)); in addName() 304 static_assert(std::is_convertible<DataT *, AppleAccelTableData *>::value, ""); in emitAppleAccelTable() 311 ArrayRef<std::unique_ptr<DwarfCompileUnit>> CUs);
|
/third_party/protobuf/src/google/protobuf/io/ |
H A D | zero_copy_stream_impl_lite.cc | 67 last_returned_size_ = std::min(block_size_, size_ - position_); in Next() 114 last_returned_size_ = std::min(block_size_, size_ - position_); in Next() 139 StringOutputStream::StringOutputStream(std::string* target) : target_(target) {} in StringOutputStream() 152 if (old_size > std::numeric_limits<int>::max() / 2) { in Next() 163 std::max(old_size * 2, in Next() 190 int bytes = Read(junk, std::min(count - skipped, in Skip()
|
/third_party/protobuf/src/google/protobuf/ |
H A D | arena_impl.h | 289 static std::atomic<LifecycleId> lifecycle_id_generator_; 319 hint_.store(serial, std::memory_order_release); in CacheSerialArena() 322 std::atomic<SerialArena*> 324 std::atomic<SerialArena*> hint_; // Fast thread-local block access 325 std::atomic<size_t> space_allocated_; // Total size of all allocated blocks. 339 SerialArena* serial = hint_.load(std::memory_order_acquire); in GetSerialArenaFast()
|
/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
H A D | cpp_message_field.cc | 47 std::string ReinterpretCast(const std::string& type, in ReinterpretCast() 48 const std::string& expression, in ReinterpretCast() 59 std::map<std::string, std::string>* variables) { in SetMessageVariables()
|
/third_party/skia/include/private/ |
H A D | SkPathRef.h | 69 : fPoints(std::move(points)) in SkPathRef() 70 , fVerbs(std::move(verbs)) in SkPathRef() 71 , fConicWeights(std::move(weights)) in SkPathRef() 137 std::tuple<SkPoint*, SkScalar*> growForVerbsInPath(const SkPathRef& path) { in growForVerbsInPath() 461 std::tuple<SkPoint*, SkScalar*> growForVerbsInPath(const SkPathRef& path); 514 SkDEBUGCODE(std::atomic<int> fEditorsAttached;) // assert only one editor in use at any time.
|
/third_party/rust/crates/nix/src/ |
H A D | pty.rs | 6 use std::ffi::CStr; 7 use std::io; 8 use std::mem; 9 use std::os::unix::prelude::*; 137 /// use std::path::Path; 256 use std::ptr; in openpty() 342 use std::ptr; in forkpty()
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | hash.rs | 8 //! # fn main() -> Result<(), Box<dyn std::error::Error>> { 23 //! # fn main() -> Result<(), Box<dyn std::error::Error>> { 34 use std::ffi::CString; 35 use std::fmt; 36 use std::io; 37 use std::io::prelude::*; 38 use std::ops::{Deref, DerefMut}; 39 use std::ptr; 213 /// # fn main() -> Result<(), Box<dyn std::error::Error>> { 427 /// # fn main() -> Result<(), Box<dyn std in fmt() [all...] |
/third_party/rust/crates/version_check/src/ |
H A D | lib.rs | 89 use std::env; 90 use std::process::Command; 321 use std::{env, fs}; 434 use std::fs::File; in read_static() 435 use std::path::Path; in read_static() 436 use std::io::{BufReader, Read}; in read_static()
|