/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/ |
H A D | extension.h | 44 std::declval<T*>(), string_view()))* = nullptr> 152 std::string FlagsToString(Flags v); 154 inline std::ostream& operator<<(std::ostream& os, Flags v) { in operator <<() 263 inline std::ostream& operator<<(std::ostream& os, FormatConversionChar v) { in operator <<() 326 static std::string FlagsToString(const FormatConversionSpecImpl& spec) { in FlagsToString()
|
/third_party/skia/gm/ |
H A D | bleed.cpp | 36 std::tuple<sk_sp<SkImage>, SkRect> make_ringed_image(int width, int height) { in make_ringed_image() 219 std::tie(fBigImage, fBigSrcRect) = make_ringed_image(2*kMaxTextureSize, 2*kMaxTextureSize); 220 std::tie(fSmallImage, fSmallSrcRect) = make_ringed_image(kSmallSize, kSmallSize); 225 std::vector<SkMatrix> matrices; 240 m.setTranslate(std::max({corners[0].fX, corners[1].fX, corners[2].fX, corners[3].fX}), 286 SkScalar x = kBlockSize + std::max({innerCorners[0].fX, innerCorners[1].fX, 288 maxX = std::max(maxX, x);
|
/third_party/skia/experimental/sktext/tests/ |
H A D | SelectableText.cpp | 90 std::vector<TestLine> fTestLines; 91 std::vector<TestRun> fTestRuns; 98 std::u16string utf16(u" Leading spaces\nTrailing spaces \nLong text with collapsed spaces inside wrapped into few lines"); in UNIX_ONLY_TEST() 146 std::u16string utf16(u" Leading spaces\nTrailing spaces \nLong text with collapsed spaces inside wrapped into few lines"); in UNIX_ONLY_TEST() 188 std::u16string utf16(u" Small Text \n"); in UNIX_ONLY_TEST() 229 std::u16string utf16(u" Small Text \n"); in UNIX_ONLY_TEST() 270 std::u16string utf16(u" Leading spaces\nTrailing spaces \nLong text with collapsed spaces inside wrapped into few lines"); in UNIX_ONLY_TEST()
|
/third_party/rust/crates/which-rs/src/ |
H A D | lib.rs | 10 //! use std::path::PathBuf; 24 use std::borrow::Borrow; 25 use std::env; 26 use std::fmt; 27 use std::path; 29 use std::ffi::{OsStr, OsString}; 50 /// use std::path::PathBuf; 74 /// use std::path::PathBuf; 126 /// use std::path::PathBuf; 174 /// use std [all...] |
/third_party/rust/crates/which-rs/tests/ |
H A D | basic.rs | 5 use std::ffi::{OsStr, OsString}; 6 use std::fs; 7 use std::io; 8 use std::path::{Path, PathBuf}; 9 use std::{env, vec}; 26 use std::os::unix::fs::OpenOptionsExt; in mk_bin() 105 use std::process::Command; in _which_all()
|
/third_party/rust/crates/strsim-rs/src/ |
H A D | lib.rs | 5 use std::char; 6 use std::cmp::{max, min}; 7 use std::collections::HashMap; 8 use std::error::Error; 9 use std::fmt::{self, Display, Formatter}; 10 use std::hash::Hash; 11 use std::str::Chars;
|
/third_party/spirv-tools/source/val/ |
H A D | validate_function.cpp | 40 if (std::find(dec_a.begin(), dec_a.end(), dec) == dec_a.end()) { in DoPointeesLogicallyMatch() 75 const std::vector<spv::Op> acceptable = { in ValidateFunction() 92 if (std::find(acceptable.begin(), acceptable.end(), use->opcode()) == in ValidateFunction() 166 bool foundAliased = std::any_of( in ValidateFunctionParameter() 171 bool foundRestrict = std::any_of( in ValidateFunctionParameter() 198 bool foundAliased = std::any_of( in ValidateFunctionParameter() 203 bool foundRestrict = std::any_of( in ValidateFunctionParameter()
|
H A D | validate_memory.cpp | 38 bool HasConflictingMemberOffsets(const std::set<Decoration>&, 39 const std::set<Decoration>&); 42 std::initializer_list<spv::Op> allowed) { in IsAllowedTypeOrArrayOfSame() 43 if (std::find(allowed.begin(), allowed.end(), type->opcode()) != in IsAllowedTypeOrArrayOfSame() 50 return std::find(allowed.begin(), allowed.end(), elem_type->opcode()) != in IsAllowedTypeOrArrayOfSame() 108 const std::set<Decoration>& type1_decorations = _.id_decorations(type1->id()); in HaveSameLayoutDecorations() 109 const std::set<Decoration>& type2_decorations = _.id_decorations(type2->id()); in HaveSameLayoutDecorations() 121 const std::set<Decoration>& type1_decorations, in HasConflictingMemberOffsets() 122 const std::set<Decoration>& type2_decorations) { in HasConflictingMemberOffsets() 141 auto i = std in HasConflictingMemberOffsets() [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fComputeShaderBuiltinVarTests.cpp | 47 using std::string; 48 using std::vector; 49 using std::map; 73 typedef std::map<tcu::UVec3, ShaderProgramSp, LexicalCompareVec<deUint32, 3> > LocalSizeProgramMap; 138 std::ostringstream src; in genBuiltinVarSource() 199 static inline std::ostream& operator<< (std::ostream& str, const LogComps& c) in operator <<()
|
H A D | es31fShaderSharedVarTests.cpp | 50 using std::string; 51 using std::vector; 54 using std::set; 92 static std::string getBasicCaseDescription (DataType basicType, Precision precision, const tcu::UVec3& workGroupSize) in getBasicCaseDescription() 94 std::ostringstream str; in getBasicCaseDescription() 120 std::ostringstream src; in init() 304 std::fill(emptyData.begin(), emptyData.end(), 0); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/ |
H A D | vktProtectedMemWorkgroupStorageTests.cpp | 112 const std::string& name, in WorkgroupStorageTestCase() 113 const std::string& description, in WorkgroupStorageTestCase() 143 std::string comp = in initPrograms() 144 std::string() + in initPrograms() 329 std::vector<tcu::IVec4> sharedData(m_params.sharedMemorySize); in calculateRef() 373 std::string testName = std::string("memsize_") + de::toString(sharedMemSizes[sharedMemSizeIdx]); in createWorkgroupStorageTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sc/ |
H A D | vktObjectRefreshTests.cpp | 64 std::vector<vk::VkObjectType> refreshableObjects (refreshableObjectsMaxCount); in queryRefreshableObjects() 70 std::fill(refreshableObjects.begin(), refreshableObjects.end(), vk::VK_OBJECT_TYPE_UNKNOWN); in queryRefreshableObjects() 78 if (countRetrieved != std::min(countRequested, countReported)) in queryRefreshableObjects() 103 std::vector<vk::VkObjectType> refreshableObjectTypes(countReported); in refreshObjects() 257 std::map<vk::VkObjectType, deUint64> objectHandlesMap in refreshObjects() 311 if (std::find(refreshableObjectTypes.begin(), refreshableObjectTypes.end(), objectType) == refreshableObjectTypes.end()) in refreshObjects() 326 std::vector<vk::VkRefreshObjectKHR> objectsToRefreshList(countReported); in refreshObjects()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/ |
H A D | vktSynchronizationImageLayoutTransitionTests.cpp | 52 using std::vector; 333 const std::string& name, 334 const std::string& description); 342 const std::string& name, in SynchronizationImageLayoutTransitionTest() 343 const std::string& description) in SynchronizationImageLayoutTransitionTest() 350 std::ostringstream vertexSrc; in initPrograms() 358 std::ostringstream fragmentSrc; in initPrograms()
|
/third_party/vk-gl-cts/framework/randomshaders/ |
H A D | rsgProgramExecutor.cpp | 36 using std::set; 37 using std::string; 38 using std::vector; 39 using std::map; 54 std::vector<Scalar> m_value; 82 std::map<std::string, VaryingStorage*> m_values;
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fBufferObjectQueryTests.cpp | 146 if (!de::inRange(reference, (GLint64)std::numeric_limits<GLint>::min(), (GLint64)std::numeric_limits<GLint>::max())) in verifyInteger64() 516 FOR_EACH_VERIFIER(verifiers, addChild(new BufferSizeCase (m_context, verifier, (std::string("buffer_size") + verifier->getTestNamePostfix()).c_str(), "BUFFER_SIZE"))); in init() 517 FOR_EACH_VERIFIER(verifiers, addChild(new BufferUsageCase (m_context, verifier, (std::string("buffer_usage") + verifier->getTestNamePostfix()).c_str(), "BUFFER_USAGE"))); in init() 518 FOR_EACH_VERIFIER(verifiers, addChild(new BufferAccessFlagsCase (m_context, verifier, (std::string("buffer_access_flags") + verifier->getTestNamePostfix()).c_str(), "BUFFER_ACCESS_FLAGS"))); in init() 519 FOR_EACH_VERIFIER(verifiers, addChild(new BufferMappedCase (m_context, verifier, (std::string("buffer_mapped") + verifier->getTestNamePostfix()).c_str(), "BUFFER_MAPPED"))); in init() 520 FOR_EACH_VERIFIER(verifiers, addChild(new BufferOffsetLengthCase(m_context, verifier, (std::string("buffer_map_offset_length")+ verifier->getTestNamePostfix()).c_str(), "BUFFER_MAP_OFFSET and BUFFER_MAP_LENGTH"))); in init()
|
/third_party/node/deps/v8/src/debug/ |
H A D | debug-interface.cc | 158 i::IsStaticFlag is_static_flag, std::vector<Local<Value>>* names_out, in CollectPrivateMethodsAndAccessorsFromContext() 159 std::vector<Local<Value>>* values_out) { in CollectPrivateMethodsAndAccessorsFromContext() 183 std::vector<Local<Value>>* names_out, in GetPrivateMembers() 184 std::vector<Local<Value>>* values_out) { in GetPrivateMembers() 511 std::vector<BreakLocation>* locations) const { in GetPossibleBreakpoints() 535 std::vector<i::BreakLocation> v8_locations; in GetPossibleBreakpoints() 542 std::sort(v8_locations.begin(), v8_locations.end(), CompareBreakLocation); in GetPossibleBreakpoints() 573 int line = std::max(location.GetLineNumber() - script->line_offset(), 0); in GetSourceOffset() 576 column = std::max(0, column - script->column_offset()); in GetSourceOffset() 587 if (line == 0) return std in GetSourceOffset() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineImageUtil.cpp | 55 static deUint32 getNextMultiple (const std::vector<deUint32>& divisors, deUint32 value) in getNextMultiple() 444 std::vector<VkBufferImageCopy> copyRegions = srcTexture.getBufferCopyRegions(); in uploadTestTextureInternal() 485 std::vector<VkBufferImageCopy> stencilCopyRegions = srcStencilTexture->getBufferCopyRegions(); in uploadTestTextureInternal() 506 const std::vector<VkSparseImageFormatProperties> sparseImageFormatPropVec = in checkSparseImageFormatSupport() 527 std::vector<de::SharedPtr<Allocation> >& allocations, in uploadTestTextureInternalSparse() 540 std::vector<VkBufferImageCopy> copyRegions = srcTexture.getBufferCopyRegions(); in uploadTestTextureInternalSparse() 592 std::vector<VkBufferImageCopy> stencilCopyRegions = srcStencilTexture->getBufferCopyRegions(); in uploadTestTextureInternalSparse() 661 std::vector<de::SharedPtr<Allocation> >& allocations, in uploadTestTextureSparse() 738 std::vector<tcu::PixelBufferAccess> getLevelsVector (const TcuTextureType& texture) in getLevelsVector() 740 std in getLevelsVector() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shader_object/ |
H A D | vktShaderObjectPipelineInteractionTests.cpp | 115 bool extensionEnabled (const std::vector<std::string>& deviceExtensions, const std::string& ext) in extensionEnabled() 117 return std::find(deviceExtensions.begin(), deviceExtensions.end(), ext) != deviceExtensions.end(); in extensionEnabled() 297 std::vector<vk::VkDynamicState> dynamicStates = { in iterate() 657 ShaderObjectPipelineInteractionCase (tcu::TestContext& testCtx, const std::string& name, const TestParams& params) in ShaderObjectPipelineInteractionCase() 672 std::stringstream vert1, vert2, vert3; in initPrograms() 673 std::stringstream geom; in initPrograms() 674 std::stringstream tesc; in initPrograms() 675 std in initPrograms() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
H A D | vktSpvAsmVariablePointersTests.cpp | 66 using std::map; 67 using std::string; 68 using std::vector; 184 std::string inputArraySize = "200"; 215 std::string stringTemplate = 490 std::string storageClass = storageClasses[classId]; 491 std::string name = "stores_" + string(de::toLower(storageClass)) + "_" + bufferType; 492 std::string extraVariable = "%mux_output_copy = OpVariable %sb_f32ptrptr " + storageClass + "\n"; 520 std::string name = "reads_opptraccesschain_" + bufferType; 521 std [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfCompileUnit.cpp | 190 std::unique_ptr<DIEDwarfExpression> DwarfExpr; in addLocationAttribute() 220 DwarfExpr = std::make_unique<DIEDwarfExpression>(*Asm, *this, *Loc); in addLocationAttribute() 462 std::make_move_iterator(Children.begin()), in constructScopeDIE() 463 std::make_move_iterator(Children.end())); in constructScopeDIE() 472 ScopeDIE->addChild(std::move(I)); in constructScopeDIE() 474 FinalChildren.push_back(std::move(ScopeDIE)); in constructScopeDIE() 485 ->addRange(*(Skeleton ? Skeleton : this), std::move(Range)); in addScopeRangeList() 517 addScopeRangeList(Die, std::move(Ranges)); in attachRangesOrLowHighPC() 527 attachRangesOrLowHighPC(Die, std::move(List)); in attachRangesOrLowHighPC() 688 DwarfExpr.addExpression(std in constructVariableDIEImpl() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | TwoAddressInstructionPass.cpp | 168 using TiedPairList = SmallVector<std::pair<unsigned, unsigned>, 4>; 291 for (MachineInstr &OtherMI : make_range(std::next(OldPos), KillPos)) { in sink3AddrInstruction() 487 if (std::next(Begin) != MRI->def_end()) in isKilled() 757 DistanceMap.insert(std::make_pair(NewMI, Dist)); in convertInstTo3Addr() 759 nmi = std::next(mi); in convertInstTo3Addr() 793 bool isNew = SrcRegMap.insert(std::make_pair(NewReg, Reg)).second; in scanUses() 806 bool isNew = DstRegMap.insert(std::make_pair(FromReg, ToReg)).second; in scanUses() 811 bool isNew = DstRegMap.insert(std::make_pair(DstReg, ToReg)).second; in scanUses() 839 DstRegMap.insert(std::make_pair(SrcReg, DstReg)); in processCopy() 841 bool isNew = SrcRegMap.insert(std in processCopy() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
H A D | LazyValueInfo.cpp | 128 return ValueLatticeElement::getRange(std::move(Range)); in intersect() 179 DenseMap<Value *, std::unique_ptr<ValueCacheEntryTy>> ValueCache; 195 ValueCache[Val] = std::make_unique<ValueCacheEntryTy>(Val, this); in insertResult() 306 std::vector<BasicBlock*> worklist; in threadEdgeImpl() 388 SmallVector<std::pair<BasicBlock*, Value*>, 8> BlockValueStack; 391 DenseSet<std::pair<BasicBlock*, Value*> > BlockValueSet; 395 bool pushBlockValue(const std::pair<BasicBlock *, Value *> &BV) { in pushBlockValue() 431 std::function<ConstantRange(const ConstantRange &, 489 std::swap(DT, DisabledDT); in disableDT() 498 std in enableDT() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineImageUtil.cpp | 55 static deUint32 getNextMultiple (const std::vector<deUint32>& divisors, deUint32 value) in getNextMultiple() 434 std::vector<VkBufferImageCopy> copyRegions = srcTexture.getBufferCopyRegions(); in uploadTestTextureInternal() 475 std::vector<VkBufferImageCopy> stencilCopyRegions = srcStencilTexture->getBufferCopyRegions(); in uploadTestTextureInternal() 496 const std::vector<VkSparseImageFormatProperties> sparseImageFormatPropVec = in checkSparseImageFormatSupport() 517 std::vector<de::SharedPtr<Allocation> >& allocations, in uploadTestTextureInternalSparse() 530 std::vector<VkBufferImageCopy> copyRegions = srcTexture.getBufferCopyRegions(); in uploadTestTextureInternalSparse() 582 std::vector<VkBufferImageCopy> stencilCopyRegions = srcStencilTexture->getBufferCopyRegions(); in uploadTestTextureInternalSparse() 651 std::vector<de::SharedPtr<Allocation> >& allocations, in uploadTestTextureSparse() 728 std::vector<tcu::PixelBufferAccess> getLevelsVector (const TcuTextureType& texture) in getLevelsVector() 730 std in getLevelsVector() [all...] |
/third_party/elfio/elfio/ |
H A D | elfio_dynamic.hpp | 60 std::string str; in get_entries_num() 66 entries_num = std::min<Elf_Xword>( entries_num, i + 1 ); in get_entries_num() 76 std::string& str ) const in get_entry() 120 void add_entry( Elf_Xword tag, const std::string& str ) in add_entry()
|
/third_party/gn/src/gn/ |
H A D | function_rebase_path.cc | 24 void MakeSlashEndingMatchInput(const std::string& input, std::string* output) { in MakeSlashEndingMatchInput() 36 bool ValueLooksLikeDir(const std::string& value) { in ValueLooksLikeDir() 67 const std::string& string_value = value.string_value(); in ConvertOnePath() 215 const std::vector<Value>& args,
|