Home
last modified time | relevance | path

Searched refs:std (Results 10276 - 10300 of 20229) sorted by relevance

1...<<411412413414415416417418419420>>...810

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DShadowStackGCLowering.cpp62 std::vector<std::pair<CallInst *, AllocaInst *>> Roots;
158 std::vector<Type *> EltTys; in GetConcreteStackEntryType()
171 if (F.hasGC() && F.getGC() == std::string("shadow-stack")) { in doInitialization()
184 std::vector<Type *> EltTys; in doInitialization()
235 SmallVector<std::pair<CallInst *, AllocaInst *>, 16> MetaRoots; in CollectRoots()
242 std::pair<CallInst *, AllocaInst *> Pair = std::make_pair( in CollectRoots()
287 F.getGC() != std::string("shadow-stack")) in runOnFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
H A DDbiStream.cpp47 DbiStream::DbiStream(std::unique_ptr<BinaryStream> Stream) in DbiStream()
48 : Stream(std::move(Stream)), Header(nullptr) {} in DbiStream()
259 Expected<std::unique_ptr<msf::MappedBlockStream>> ExpectedStream = in initializeSectionHeadersData()
279 SectionHeaderStream = std::move(SHS); in initializeSectionHeadersData()
285 Expected<std::unique_ptr<msf::MappedBlockStream>> ExpectedStream = in initializeOldFpoRecords()
304 OldFpoStream = std::move(FS); in initializeOldFpoRecords()
309 Expected<std::unique_ptr<msf::MappedBlockStream>> ExpectedStream = in initializeNewFpoRecords()
321 NewFpoStream = std::move(FS); in initializeNewFpoRecords()
325 Expected<std::unique_ptr<msf::MappedBlockStream>>
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldMachO.cpp34 : LoadedObjectInfoHelper(RTDyld, std::move(ObjSecToIDMap)) {} in LoadedMachOObjectInfo()
348 std::unique_ptr<RuntimeDyldMachO>
357 return std::make_unique<RuntimeDyldMachOARM>(MemMgr, Resolver); in create()
359 return std::make_unique<RuntimeDyldMachOAArch64>(MemMgr, Resolver); in create()
361 return std::make_unique<RuntimeDyldMachOAArch64>(MemMgr, Resolver); in create()
363 return std::make_unique<RuntimeDyldMachOI386>(MemMgr, Resolver); in create()
365 return std::make_unique<RuntimeDyldMachOX86_64>(MemMgr, Resolver); in create()
369 std::unique_ptr<RuntimeDyld::LoadedObjectInfo>
372 return std::make_unique<LoadedMachOObjectInfo>(*this, in loadObject()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A DModule.cpp92 std::unique_ptr<RandomNumberGenerator> Module::createRNG(const Pass* P) const { in createRNG()
107 return std::unique_ptr<RandomNumberGenerator>(new RandomNumberGenerator(Salt)); in createRNG()
420 std::unique_ptr<GVMaterializer> M = std::move(Materializer);
434 std::vector<StructType *> Module::getIdentifiedStructTypes() const {
441 std::vector<StructType *> Ret;
499 auto &Entry = *ComdatSymTab.insert(std::make_pair(Name, Comdat())).first;
562 void Module::setOwnedMemoryBuffer(std::unique_ptr<MemoryBuffer> MB) {
563 OwnedMemoryBuffer = std::move(MB);
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cTextureViewTests.hpp96 typedef std::pair<_original_texture_internalformat, _view_texture_internalformat> _internalformat_pair;
97 typedef std::vector<glw::GLenum> _internalformats;
100 typedef std::pair<_original_texture_target, _view_texture_target> _texture_target_pair;
101 typedef std::vector<_internalformat_pair> _compatible_internalformat_pairs;
103 typedef std::vector<_texture_target_pair> _compatible_texture_target_pairs;
105 typedef std::vector<_internalformat_pair> _incompatible_internalformat_pairs;
108 typedef std::vector<_texture_target_pair> _incompatible_texture_target_pairs;
304 typedef std::vector<_test_run> _test_runs;
1024 std::vector<_norm_vec4> m_mipmap_colors;
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DLineLoopTest.cpp48 std::vector<GLubyte> pixels(getWindowWidth() * getWindowHeight() * 4); in checkPixels()
60 EXPECT_EQ(pixel[0], 0) << "Failed at " << x << ", " << y << std::endl; in checkPixels()
61 EXPECT_EQ(pixel[1], pixel[2]) << "Failed at " << x << ", " << y << std::endl; in checkPixels()
62 ASSERT_EQ(pixel[3], 255) << "Failed at " << x << ", " << y << std::endl; in checkPixels()
69 GLsizei uboSize = std::max(size, 16); in preTestUpdateBuffer()
70 const std::vector<uint32_t> initialData((uboSize + 3) / 4, 0x1234567u); in preTestUpdateBuffer()
420 std::vector<GLColor> expectedPixels(getWindowWidth() * getWindowHeight()); in TEST_P()
421 std::vector<GLColor> renderedPixels(getWindowWidth() * getWindowHeight()); in TEST_P()
479 << std::endl; in TEST_P()
H A DDrawElementsTest.cpp63 std::vector<GLuint> mIndexBuffers;
64 std::vector<GLuint> mVertexArrays;
65 std::vector<GLuint> mVertexBuffers;
194 std::vector<GLuint> indexData[2]; in TEST_P()
208 std::vector<GLfloat> positionData = {// quad verts in TEST_P()
213 std::vector<GLfloat> testFlagData = {// red in TEST_P()
377 std::vector<GLubyte> indexData[2]; in TEST_P()
394 std::vector<GLfloat> positionData = {// quad verts in TEST_P()
399 std::vector<GLfloat> testFlagData = {// red in TEST_P()
/third_party/skia/samplecode/
H A DSampleSimpleStroker.cpp78 const std::vector<uint8_t>& verbs() const { return fVerbs; } in verbs()
80 const std::vector<SkPoint>& points() const { return fPoints; } in points()
83 std::vector<uint8_t> fVerbs;
84 std::vector<SkPoint> fPoints;
161 std::swap(segment, prevSegment); in getFillPath()
227 std::swap(inner, outer); in join()
277 const float maxLenSqd = std::max(threshold1, threshold2); in join()
307 const std::vector<uint8_t>& verbs = path.verbs(); in appendPathReversed()
308 const std::vector<SkPoint>& points = path.points(); in appendPathReversed()
/third_party/skia/src/gpu/ops/
H A DAALinearizingConvexPathRenderer.cpp96 return Helper::FactoryHelper<AAFlatteningConvexPathOp>(context, std::move(paint), in Make()
171 std::move(appliedClip), dstProxyView,
201 mesh->setIndexed(std::move(indexBuffer), indexCount, firstIndex, 0, vertexCount - 1, in recordDraw()
202 GrPrimitiveRestart::kNo, std::move(vertexBuffer), firstVertex); in recordDraw()
241 maxVertices = std::max(vertexCount + currentVertices, maxVertices * 2);
251 maxIndices = std::max(indexCount + currentIndices, maxIndices * 2);
408 args.fContext, std::move(args.fPaint), *args.fViewMatrix, path, strokeWidth, in onDrawPath()
410 args.fSurfaceDrawContext->addDrawOp(args.fClip, std::move(op)); in onDrawPath()
442 return skgpu::v1::AAFlatteningConvexPathOp::Make(context, std::move(paint), viewMatrix, path, in GR_DRAW_OP_TEST_DEFINE()
/third_party/skia/src/core/
H A DSkBlockAllocator.h18 #include <memory> // std::unique_ptr
86 int avail() const { return std::max(0, fSize - this->cursor<Align, Padding>()); } in avail()
177 // aligned to std::max_align_t.
418 // This is an issue for WASM builds using emscripten, which had std::max_align_t = 16, but
429 inline static constexpr size_t kAddressAlign = alignof(std::max_align_t);
461 // Next heap block size = (fBlockIncrement * alignof(std::max_align_t) * (fN0 + fN1))
529 return std::max(sizeof(SkBlockAllocator), in Overhead()
571 <= (size_t) std::numeric_limits<int32_t>::max()); in allocate()
574 <= std::numeric_limits<int32_t>::max()); in allocate()
630 <= (size_t) std in alignedOffset()
[all...]
H A DSkSpecialImage.cpp167 std::move(view), in MakeFromImage()
220 return std::get<0>(GrMakeCachedBitmapProxyView(context, fBitmap, GrMipmapped::kNo));
328 std::move(view), in wrap_proxy_in_image()
329 SkColorInfo(colorType, alphaType, std::move(colorSpace))); in wrap_proxy_in_image()
339 , fView(std::move(view)) in SkSpecialImage_Gpu()
342 , fColorSpace(std::move(colorSpace)) { in SkSpecialImage_Gpu()
432 return wrap_proxy_in_image(fContext, std::move(subsetView), this->colorType(),
474 return sk_make_sp<SkSpecialImage_Gpu>(context, subset, uniqueID, std::move(view), colorType, in MakeDeferredFromGpu()
475 at, std::move(colorSpace), props); in MakeDeferredFromGpu()
H A DSkTBlockList.h20 ItemFn<T, typename std::conditional<Const, const SkBlockAllocator::Block,
82 return *new (this->pushItem()) T(std::move(t)); in push_back()
87 return *new (this->pushItem()) T(std::forward<Args>(args)...); in emplace_back()
140 if constexpr (!std::is_trivially_destructible<T>::value) { in reset()
321 if constexpr (std::is_trivially_copy_constructible<T>::value) { in concat()
323 SkASSERT(std::is_trivially_destructible<T>::value); in concat()
332 copy(headBlock, headStart, fAllocator.allocator(), std::min(headItemCount, avail)); in concat()
344 this->push_back(std::move(toMove)); in concat()
375 ItemFn<T, typename std::conditional<Const, const SkBlockAllocator::Block,
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dfold_spec_constant_op_and_composite_pass.cpp174 std::unique_ptr<Instruction> inst((*inst_iter_ptr)->Clone(context())); in FoldWithInstructionFolder()
235 std::vector<const analysis::Constant*> concatenated_components; in DoVectorShuffle()
280 std::vector<const analysis::Constant*> selected_components; in DoVectorShuffle()
292 context()->get_constant_mgr()->RegisterConstant(std::move(new_vec_const)); in DoVectorShuffle()
381 std::vector<const analysis::Constant*> operands; in DoComponentWiseOperation()
383 if (!std::all_of( in DoComponentWiseOperation()
412 std::vector<uint32_t> result_vec = in DoComponentWiseOperation()
415 std::vector<const analysis::Constant*> result_vector_components; in DoComponentWiseOperation()
433 std::move(new_vec_const)); in DoComponentWiseOperation()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dfold_spec_constant_op_and_composite_pass.cpp174 std::unique_ptr<Instruction> inst((*inst_iter_ptr)->Clone(context())); in FoldWithInstructionFolder()
235 std::vector<const analysis::Constant*> concatenated_components; in DoVectorShuffle()
280 std::vector<const analysis::Constant*> selected_components; in DoVectorShuffle()
292 context()->get_constant_mgr()->RegisterConstant(std::move(new_vec_const)); in DoVectorShuffle()
381 std::vector<const analysis::Constant*> operands; in DoComponentWiseOperation()
383 if (!std::all_of( in DoComponentWiseOperation()
412 std::vector<uint32_t> result_vec = in DoComponentWiseOperation()
415 std::vector<const analysis::Constant*> result_vector_components; in DoComponentWiseOperation()
433 std::move(new_vec_const)); in DoComponentWiseOperation()
/third_party/skia/src/shaders/
H A DSkPictureShader.cpp85 , fImage(std::move(image)) {} in ImageFromPictureRec()
112 , fPicture(std::move(picture)) in SkPictureShader()
123 return sk_sp<SkShader>(new SkPictureShader(std::move(picture), tmx, tmy, filter, lm, tile)); in Make()
204 SkScalar downScale = maxTextureSize / std::max(size.width(), in Make()
332 alloc->make<PictureShaderContext>(*this, localRec, std::move(bitmapShader), alloc); in onMakeContext()
346 , fBitmapShader(std::move(bitmapShader)) in PictureShaderContext()
366 std::unique_ptr<GrFragmentProcessor> SkPictureShader::asFragmentProcessor( in asFragmentProcessor()
421 view = std::move(v); in asFragmentProcessor()
430 std::move(view), kPremul_SkAlphaType, inv, sampler, *ctx->priv().caps()); in asFragmentProcessor()
/third_party/skia/tests/
H A DSRGBReadWritePixelsTest.cpp50 float lower = std::max(0.f, (float) inputComponent - error); in check_conversion()
51 float upper = std::min(255.f, (float) inputComponent + error); in check_conversion()
75 float lower = std::max(0.f, (float) inputComponent - error); in check_double_conversion()
76 float upper = std::min(255.f, (float) inputComponent + error); in check_double_conversion()
83 lower = std::max(0.f, (float) lowerComponent - error); in check_double_conversion()
84 upper = std::min(255.f, (float) upperComponent + error); in check_double_conversion()
181 static std::unique_ptr<uint32_t[]> make_data() { in make_data()
182 std::unique_ptr<uint32_t[]> data(new uint32_t[kW * kH]); in make_data()
191 static std::unique_ptr<skgpu::SurfaceContext> make_surface_context(Encoding contextEncoding, in make_surface_context()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DSubresourceStorage.h109 static_assert(std::is_copy_assignable<T>::value, "T must be copyable");
209 std::array<bool, kMaxAspects> mAspectCompressed;
210 std::array<T, kMaxAspects> mInlineAspectData;
213 std::unique_ptr<bool[]> mLayerCompressed;
218 std::unique_ptr<T[]> mData;
227 ASSERT(arrayLayerCount <= std::numeric_limits<decltype(mArrayLayerCount)>::max()); in SubresourceStorage()
228 ASSERT(mipLevelCount <= std::numeric_limits<decltype(mMipLevelCount)>::max()); in SubresourceStorage()
445 mLayerCompressed = std::make_unique<bool[]>(aspectCount * mArrayLayerCount);
446 mData = std::make_unique<T[]>(aspectCount * mArrayLayerCount * mMipLevelCount);
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DD3D12VideoViewsTests.cpp68 mD3d11Device = std::move(d3d11Device);
71 std::vector<const char*> GetRequiredFeatures() override {
99 static std::vector<uint8_t> GetTestTextureData(wgpu::TextureFormat format, in GetTestTextureData()
176 std::vector<uint8_t> initialData = GetTestTextureData(format, isCheckerboard); in CreateVideoTextureForTest()
216 std::unique_ptr<dawn_native::d3d12::ExternalImageDXGI> externalImage = in CreateVideoTextureForTest()
267 static constexpr std::array<RGBA8, 2> kYellowYUVColor = {RGBA8{210, 0, 0, 0xFF}, // Y
270 static constexpr std::array<RGBA8, 2> kWhiteYUVColor = {RGBA8{235, 0, 0, 0xFF}, // Y
273 static constexpr std::array<RGBA8, 2> kBlueYUVColor = {RGBA8{41, 0, 0, 0xFF}, // Y
276 static constexpr std::array<RGBA8, 2> kRedYUVColor = {RGBA8{81, 0, 0, 0xFF}, // Y
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
H A DBuddyMemoryAllocatorTests.cpp28 ResultOrError<std::unique_ptr<ResourceHeapBase>> AllocateResourceHeap(uint64_t size) override {
29 return std::make_unique<ResourceHeapBase>();
31 void DeallocateResourceHeap(std::unique_ptr<ResourceHeapBase> allocation) override {
392 std::set<ResourceHeapBase*> heaps = {}; in TEST()
393 std::vector<ResourceMemoryAllocation> allocations = {}; in TEST()
402 allocations.push_back(std::move(allocation)); in TEST()
433 std::set<ResourceHeapBase*> heaps = {}; in TEST()
434 std::vector<ResourceMemoryAllocation> allocations = {}; in TEST()
445 allocations.push_back(std::move(allocation)); in TEST()
/third_party/python/Modules/_ctypes/libffi_osx/powerpc/
H A Dppc-darwin.S74 std r27,-40(r8)
209 std r3,SF_ARG9(r1)
210 std r4,SF_ARG10(r1)
211 std r5,SF_ARG11(r1)
212 std r6,SF_ARG12(r1)
214 std r7,SF_ARG13(r1)
215 std r8,SF_ARG14(r1)
216 std r9,SF_ARG15(r1)
217 std r10,SF_ARG16(r1)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/XRay/
H A DFDRRecords.h210 std::string Data{};
218 explicit CustomEventRecord(uint64_t S, uint64_t T, uint16_t C, std::string D) in CustomEventRecord()
221 Size(S), TSC(T), CPU(C), Data(std::move(D)) {} in CustomEventRecord()
238 std::string Data{};
246 explicit CustomEventRecordV5(int32_t S, int32_t D, std::string P) in CustomEventRecordV5()
249 Size(S), Delta(D), Data(std::move(P)) {} in CustomEventRecordV5()
266 std::string Data{};
274 explicit TypedEventRecord(int32_t S, int32_t D, uint16_t E, std::string P) in TypedEventRecord()
277 Size(S), Delta(D), Data(std::move(P)) {} in TypedEventRecord()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DCallGraphSCCPass.cpp134 StringMap<std::pair<unsigned, unsigned>> FunctionToInstrCount;
277 Calls.insert(std::make_pair(I->first, I->second)); in RefreshCallGraph()
424 std::string Functions; in RunAllPassesOnSCC()
474 const std::vector<CallGraphNode *> &NodeVec = *CGI; in runOnModule()
620 std::string Banner;
626 PrintCallGraphPass(const std::string &B, raw_ostream &OS) in PrintCallGraphPass()
680 const std::string &Banner) const { in createPrinterPass()
684 static std::string getDescription(const CallGraphSCC &SCC) { in getDescription()
685 std::string Desc = "SCC ("; in getDescription()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A Dilist.h37 /// you really want ownership semantics, consider using std::list or building
216 : TraitsT(std::move(X)), IntrusiveListT(std::move(X)) {} in iplist_impl()
218 *static_cast<TraitsT *>(this) = std::move(X); in operator =()
219 *static_cast<IntrusiveListT *>(this) = std::move(X); in operator =()
377 return &*std::prev(I); in getPrevNode()
386 auto Next = std::next(N.getIterator()); in getNextNode()
413 iplist(iplist &&X) : iplist_impl_type(std::move(X)) {} in iplist()
415 *static_cast<iplist_impl_type *>(this) = std::move(X); in operator =()
424 namespace std { namespace
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DCasting.h63 To, From, typename std::enable_if<std::is_base_of<To, From>::value>::type> {
208 std::is_same<X, typename simplify_type<X>::SimpleType>::value;
219 inline typename std::enable_if<!is_simple_type<Y>::value,
246 typename std::enable_if<!is_simple_type<Y>::value,
257 typename std::enable_if<!is_simple_type<Y>::value,
285 typename std::enable_if<!is_simple_type<Y>::value,
306 typename std::enable_if<!is_simple_type<Y>::value,
314 typename std::enable_if<!is_simple_type<Y>::value,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
H A DRDFRegisters.cpp60 std::pair<uint32_t,LaneBitmask> P = *I; in PhysicalRegisterInfo()
101 std::set<RegisterId> PhysicalRegisterInfo::getAliasSet(RegisterId Reg) const { in getAliasSet()
103 std::set<RegisterId> AS; in getAliasSet()
140 std::pair<RegisterId,LaneBitmask> PA = *UMA; in aliasRR()
146 std::pair<RegisterId,LaneBitmask> PB = *UMB; in aliasRR()
245 std::pair<uint32_t,LaneBitmask> P = *U; in hasAliasOf()
260 std::pair<uint32_t,LaneBitmask> P = *U; in hasCoverOf()
275 std::pair<uint32_t,LaneBitmask> P = *U; in insert()
357 std::pair<uint32_t,LaneBitmask> P = *I; in makeRegRef()

Completed in 32 milliseconds

1...<<411412413414415416417418419420>>...810