Home
last modified time | relevance | path

Searched refs:std (Results 11901 - 11925 of 21487) sorted by relevance

1...<<471472473474475476477478479480>>...860

/third_party/node/src/
H A Dnode_credentials.cc77 std::string* text, in SafeGetenv()
78 std::shared_ptr<KVStore> env_vars, in SafeGetenv()
100 *text = std::string(*utf8_value, utf8_value.length()); in SafeGetenv()
134 std::string text; in SafeGetenv()
217 static_assert(std::is_same<uid_t, uint32_t>::value); in uid_by_name()
227 static_assert(std::is_same<gid_t, uint32_t>::value); in gid_by_name()
346 std::vector<gid_t> groups(ngroups); in GetGroups()
354 if (std::find(groups.begin(), groups.end(), egid) == groups.end()) in GetGroups()
/third_party/nghttp2/src/
H A Dshrpx_http2_downstream_connection.cc185 auto nread = std::min(input->rleft(), length); in http2_data_read_callback()
203 std::vector<nghttp2_nv> nva; in http2_data_read_callback()
292 auto nva = std::vector<nghttp2_nv>(); in push_request_headers()
442 p = std::copy(std::begin(via->value), std::end(via->value), p); in push_request_headers()
464 std::stringstream ss; in push_request_headers()
614 const std::shared_ptr<DownstreamAddrGroup> &
/third_party/icu/icu4c/source/test/intltest/
H A Dintltest.h262 * Integer random numbers, similar to C++ std::minstd_rand, with the same algorithm
321 const std::vector<std::string>& expected, const std::vector<std::string>& actual);
357 const std::vector<std::string>& expected, const std::vector<std::string>& actual);
/third_party/node/deps/v8/include/
H A Dv8-script.h275 const std::vector<Local<String>>& export_names,
411 std::unique_ptr<CachedData> cached_data;
412 std::unique_ptr<ConsumeCodeCacheTask> consume_cache_task;
457 StreamedSource(std::unique_ptr<ExternalSourceStream> source_stream,
468 std::unique_ptr<internal::ScriptStreamingData> impl_;
503 std::unique_ptr<internal::BackgroundDeserializeTask> impl);
505 std::unique_ptr<internal::BackgroundDeserializeTask> impl_;
586 Isolate* isolate, std::unique_ptr<CachedData> source);
/third_party/node/deps/v8/src/heap/
H A Dspaces.h107 (size <= std::min(MemoryChunkLayout::MaxRegularCodeObjectSize(), \
117 free_list_(std::unique_ptr<FreeList>(free_list)) { in Space()
119 new std::atomic<size_t>[ExternalBackingStoreType::kNumTypes]; in Space()
161 virtual std::unique_ptr<ObjectIterator> GetObjectIterator(Heap* heap) = 0;
207 std::atomic<size_t>* external_backing_store_bytes_;
209 std::unique_ptr<FreeList> free_list_;
212 STATIC_ASSERT(sizeof(std::atomic<intptr_t>) == kSystemPointerSize);
353 : public base::iterator<std::forward_iterator_tag, PAGE_TYPE> {
H A Dpaged-spaces.h148 V8_WARN_UNUSED_RESULT base::Optional<std::pair<Address, size_t>>
305 std::unique_ptr<ObjectIterator> GetObjectIterator(Heap* heap) override;
373 base::Optional<std::pair<Address, size_t>> ExpandBackground(
399 V8_WARN_UNUSED_RESULT base::Optional<std::pair<Address, size_t>>
409 return committed_physical_memory_.load(std::memory_order_relaxed); in committed_physical_memory()
432 std::atomic<size_t> committed_physical_memory_{0};
453 const std::vector<Page*>& GetNewPages() { return new_pages_; } in GetNewPages()
467 std::vector<Page*> new_pages_;
/third_party/node/deps/v8/src/heap/cppgc/
H A Dcompactor.cc63 std::unordered_map<MovableReference, MovableReference*> movable_references_;
71 std::map<MovableReference*, Address> interior_movable_references_;
76 std::unordered_set<const void*> moved_objects_;
77 std::unordered_map<MovableReference*, MovableReference>
223 using Pages = std::vector<NormalPage*>;
427 size_t UpdateHeapResidency(const std::vector<NormalPageSpace*>& spaces) { in UpdateHeapResidency()
428 return std::accumulate(spaces.cbegin(), spaces.cend(), 0u, in UpdateHeapResidency()
475 compaction_worklists_ = std::make_unique<CompactionWorklists>(); in InitializeIfShouldCompact()
H A Dstats-collector.h157 using ScopeIdType = std::conditional_t<scope_category == kMutatorThread,
311 void SetMetricRecorder(std::unique_ptr<MetricRecorder> histogram_recorder) { in SetMetricRecorder()
312 metric_recorder_ = std::move(histogram_recorder); in SetMetricRecorder()
356 std::atomic<size_t> discarded_bytes_{0};
360 std::vector<AllocationObserver*> allocation_observers_;
371 std::unique_ptr<MetricRecorder> metric_recorder_;
388 std::remove(allocation_observers_.begin(), allocation_observers_.end(), in ForAllAllocationObservers()
494 DCHECK_LE(us, std::numeric_limits<Atomic32>::max()); in IncreaseScopeTime()
/third_party/node/deps/v8/src/objects/
H A Dfeedback-vector-inl.h163 static_cast<uintptr_t>(std::numeric_limits<int>::max())); in ToSlot()
405 std::pair<MaybeObject, MaybeObject> FeedbackNexus::GetFeedbackPair() const { in GetFeedbackPair()
408 return std::make_pair(FromHandle(feedback_cache_->first), in GetFeedbackPair()
413 : std::make_pair(config()->GetFeedback(vector(), slot()), in GetFeedbackPair()
418 std::make_pair(ToHandle(pair.first), ToHandle(pair.second)); in GetFeedbackPair()
425 : public std::integral_constant<bool,
426 std::is_base_of<MaybeObject, T>::value ||
427 std::is_base_of<Object, T>::value> {};
/third_party/node/deps/v8/src/utils/
H A Dallocation.cc92 std::make_unique<base::VirtualAddressSpace>()); in GetPlatformVirtualAddressSpace()
332 *this = std::move(other);
337 page_allocator_ = std::move(other.page_allocator_);
338 reservation_ = std::move(other.reservation_);
384 reservation_ = std::move(reservation); in InitReservation()
423 reservation_ = std::move(padded_reservation); in InitReservation()
445 reservation_ = std::move(reservation); in InitReservation()
462 page_allocator_ = std::make_unique<base::BoundedPageAllocator>( in InitReservation()
/third_party/mesa3d/src/nouveau/codegen/
H A Dnv50_ir_graph.cpp171 std::stack<const Node *> stack; in reachableBy()
404 Graph::findLightestPathWeight(Node *a, Node *b, const std::vector<int> &weight) in findLightestPathWeight()
406 std::vector<int> path(weight.size(), std::numeric_limits<int>::max()); in findLightestPathWeight()
407 std::list<Node *> nodeList; in findLightestPathWeight()
416 if (path[t->tag] == std::numeric_limits<int>::max()) in findLightestPathWeight()
424 for (std::list<Node *>::iterator n = nodeList.begin(); in findLightestPathWeight()
436 if (path[b->tag] == std::numeric_limits<int>::max()) in findLightestPathWeight()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiGetMemoryCommitment.cpp58 std::vector<deUint32> getMemoryTypeIndices (VkMemoryPropertyFlags propertyFlag, const VkPhysicalDeviceMemoryProperties& pMemoryProperties) in getMemoryTypeIndices()
60 std::vector<deUint32> indices; in getMemoryTypeIndices()
94 const std::string& name, in MemoryCommitmentTestCase()
115 const std::vector<deUint32> memoryTypeIndices = getMemoryTypeIndices(propertyFlag, pMemoryProperties); in iterate()
252 const std::vector<VkViewport> viewports (1, makeViewport(m_renderSize)); in iterate()
253 const std::vector<VkRect2D> scissors (1, makeRect2D(m_renderSize)); in iterate()
264 viewports, // const std::vector<VkViewport>& viewports in iterate()
265 scissors); // const std::vector<VkRect2D>& scissors in iterate()
362 const std::string& name) in MemoryCommitmentAllocateOnlyTestCase()
385 const std in iterate()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
H A DvktTessellationGeometryPointSizeTests.cpp172 std::ostringstream src; in initPrograms()
189 std::ostringstream src; in initPrograms()
205 std::ostringstream src; in initPrograms()
231 std::ostringstream src; in initPrograms()
263 std::ostringstream src; in initPrograms()
412 std::string getTestCaseName (const Flags flags) in getTestCaseName()
414 std::ostringstream buf; in getTestCaseName()
459 const std::string name = getTestCaseName (caseFlags[ndx]); in createGeometryPointSizeTests()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageTransfer.cpp66 TransferQueueCase (tcu::TestContext& testCtx, const std::string& name, const std::string& description, const TestParams& params);
89 TransferQueueCase::TransferQueueCase (tcu::TestContext& testCtx, const std::string& name, const std::string& description, const TestParams& params) in TransferQueueCase()
185 std::vector<deUint8> generatedData (pixelDataSize); in iterate()
253 std::vector<deUint8> resultData(pixelDataSize); in iterate()
449 static const auto prefixLen = std::string("VK_FORMAT_").size(); in createTransferQueueImageTests()
451 const auto fmtName = std::string(getFormatName(format)); in createTransferQueueImageTests()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
H A DDisplayD3D.cpp39 std::vector<CreateRendererD3DFunction> rendererCreationFunctions; in CreateRendererD3D()
356 std::string DisplayD3D::getRendererDescription() in getRendererDescription()
362 return std::string(); in getRendererDescription()
365 std::string DisplayD3D::getVendorString() in getVendorString()
371 return std::string(); in getVendorString()
374 std::string DisplayD3D::getVersionString() in getVersionString()
380 return std::string(); in getVersionString()
440 std::stringstream errorStream; in handleResult()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
H A DRemoveDynamicIndexing.cpp29 using DynamicIndexingNodeMatcher = std::function<bool(TIntermBinary *)>;
37 std::string GetIndexFunctionName(const TType &type, bool write) in GetIndexFunctionName()
185 std::string functionName = GetIndexFunctionName(type, write); in GetIndexFunctionDefinition()
289 std::map<TType, TFunction *> mIndexedVecAndMatrixTypes;
290 std::map<TType, TFunction *> mWrittenVecAndMatrixTypes;
548 RemoveDynamicIndexingTraverser traverser(std::move(matcher), symbolTable, perfDiagnostics); in RemoveDynamicIndexingIf()
580 return RemoveDynamicIndexingIf(std::move(matcher), compiler, root, symbolTable, in RemoveDynamicIndexingOfNonSSBOVectorOrMatrix()
592 return RemoveDynamicIndexingIf(std::move(matcher), compiler, root, symbolTable, in RemoveDynamicIndexingOfSwizzledVector()
/third_party/skia/third_party/externals/angle2/src/common/
H A DFastVector_unittest.cpp38 FastVector<int, 5> copyRValue(std::move(count)); in TEST()
50 FastVector<int, 5> assignRValue(std::move(assignCopy)); in TEST()
255 FastVector<s, 3> copy = std::move(vec); in TEST()
350 using KeyValuePair = std::pair<int, std::string>; in TEST()
351 std::set<KeyValuePair> entries = {KeyValuePair(17, "testing"), KeyValuePair(63, "fast"), in TEST()
354 FastIntegerMap<std::string> testMap; in TEST()
357 std::string str; in TEST()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A DDiagnosticInfo.cpp47 static std::atomic<int> PluginKindID(DK_FirstPluginKind); in getNextAvailablePluginDiagnosticKind()
132 std::string DiagnosticLocation::getAbsolutePath() const { in getAbsolutePath()
142 std::string DiagnosticInfoWithLocationBase::getAbsolutePath() const { in getAbsolutePath()
154 const std::string DiagnosticInfoWithLocationBase::getLocationStr() const { in getLocationStr()
333 std::string Str; in print()
351 Args.push_back(std::move(A)); in insert()
362 std::string DiagnosticInfoOptimizationBase::getMsg() const { in getMsg()
363 std::string Str; in getMsg()
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcPolygonOffsetClampTests.cpp267 std::string vertexColor; in test()
268 std::string fragmentColor; in test()
270 vertexColor = std::string(poc_shader_version_450core); in test()
272 vertexColor = std::string(poc_shader_version_310es); in test()
300 std::string vertexTexture = std::string(poc_shader_version_310es) + poc_vertexTexture; in test()
301 std::string fragmentTexture = std::string(poc_shader_version_310es) + poc_fragmentTexture; in test()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DVulkanImageTest.cpp155 std::vector<GLuint> pixels(kWidth * kHeight, kColor); in TEST_P()
178 std::vector<GLuint> pixels(kWidth * kHeight); in TEST_P()
181 EXPECT_EQ(pixels, std::vector<GLuint>(kWidth * kHeight, kColor)); in TEST_P()
232 std::vector<GLuint> pixels(kWidth * kHeight); in TEST_P()
235 EXPECT_EQ(pixels, std::vector<GLuint>(kWidth * kHeight, kWhite)); in TEST_P()
249 EXPECT_EQ(pixels, std::vector<GLuint>(kWidth * kHeight, kRed)); in TEST_P()
304 std::vector<GLuint> pixels(kWidth * kHeight); in TEST_P()
307 EXPECT_EQ(pixels, std::vector<GLuint>(kWidth * kHeight, kRed)); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
H A Dmtl_common.h325 AutoObjCPtr(const std::nullptr_t &theNull) {} in AutoObjCPtr()
329 AutoObjCPtr(AutoObjCPtr &&src) { this->transfer(std::forward<AutoObjCPtr>(src)); } in AutoObjCPtr()
346 this->transfer(std::forward<AutoObjCPtr>(src)); in operator =()
358 AutoObjCPtr &operator=(std::nullptr_t theNull) in operator =()
368 bool operator==(std::nullptr_t theNull) const { return this->get() == nullptr; } in operator ==()
370 bool operator!=(std::nullptr_t) const { return this->get() != nullptr; } in operator !=()
393 this->retainAssign(std::move(src.get())); in transfer()
483 using ClearColorValueBytes = std::array<uint8_t, 4 * sizeof(float)>;
H A Dmtl_resources.h40 using ResourceRef = std::shared_ptr<Resource>;
41 using TextureRef = std::shared_ptr<Texture>;
42 using TextureWeakRef = std::weak_ptr<Texture>;
43 using BufferRef = std::shared_ptr<Buffer>;
44 using BufferWeakRef = std::weak_ptr<Buffer>;
104 std::shared_ptr<UsageRef> mUsageRef;
109 public std::enable_shared_from_this<Texture>
329 std::shared_ptr<MTLColorWriteMask> mColorWritableMask;
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/gles1/
H A DTextureEnvTest.cpp253 std::vector<GLenum> validUnits(numUnits); in TEST_P()
259 std::vector<GLenum> validEnvModes = { in TEST_P()
263 std::vector<GLenum> validCombineRgbs = { in TEST_P()
268 std::vector<GLenum> validCombineAlphas = { in TEST_P()
272 std::vector<GLenum> validSrcs = { in TEST_P()
279 std::vector<GLenum> validOpRgbs = { in TEST_P()
286 std::vector<GLenum> validOpAlphas = { in TEST_P()
291 std::vector<GLfloat> validScales = { in TEST_P()
/third_party/skia/src/core/
H A DSkCompressedDataUtils.cpp276 dimensions = {std::max(1, dimensions.width()/2), std::max(1, dimensions.height()/2)}; in SkCompressedDataSize()
283 totalSize = std::ceil(dimensions.width() / 4.0f) * std::ceil(dimensions.height() / 4.0f) * 16; in SkCompressedDataSize()
292 totalSize = std::ceil(dimensions.width() / 6.0f) * std::ceil(dimensions.height() / 6.0f) * 16; in SkCompressedDataSize()
301 totalSize = std::ceil(dimensions.width() / 8.0f) * std::ceil(dimensions.height() / 8.0f) * 16; in SkCompressedDataSize()
/third_party/skia/src/gpu/gl/
H A DGrGLOpsRenderPass.cpp130 fActiveInstanceBuffer = std::move(instanceBuffer); in onBindBuffers()
140 fActiveVertexBuffer = std::move(vertexBuffer); in onBindBuffers()
141 fActiveIndexBuffer = std::move(indexBuffer); in onBindBuffers()
227 int instanceCountForDraw = std::min(instanceCount - i, maxInstances); in onDrawInstanced()
245 int instanceCountForDraw = std::min(instanceCount - i, maxInstances); in onDrawIndexedInstanced()
325 int countInBatch = std::min(drawCount, kMaxDrawCountPerBatch); in multiDrawArraysANGLEOrWebGL()
398 int countInBatch = std::min(drawCount, kMaxDrawCountPerBatch); in multiDrawElementsANGLEOrWebGL()
424 void GrGLOpsRenderPass::onClear(const GrScissorState& scissor, std::array<float, 4> color) { in onClear()

Completed in 33 milliseconds

1...<<471472473474475476477478479480>>...860