Home
last modified time | relevance | path

Searched refs:std (Results 14126 - 14150 of 20522) sorted by relevance

1...<<561562563564565566567568569570>>...821

/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fShaderFragDataTests.cpp49 using std::string;
240 std::vector<tcu::TestNode*> negativeCases = library.loadShaderFile("shaders/fragdata.test"); in init()
242 for (std::vector<tcu::TestNode*>::iterator i = negativeCases.begin(); i != negativeCases.end(); i++) in init()
/third_party/vk-gl-cts/modules/gles2/performance/
H A Des2pTextureCases.cpp49 using std::string;
50 using std::vector;
143 std::ostringstream fragSrc; in init()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
H A DvktShaderRenderOperatorTests.cpp198 static std::string stringJoin (const std::vector<std::string>& elems, const std::string& delim) in stringJoin()
200 std::string result; in stringJoin()
206 static std::string twoValuedVec4 (const std::string& first, const std::string& second, const BVec4& firstMask) in twoValuedVec4()
208 std::vector<std in twoValuedVec4()
[all...]
/third_party/node/src/
H A Dcares_wrap.cc107 std::unique_ptr<NodeAresTask> free_me( in ares_poll_close_cb()
164 std::vector<Local<Value>> names; in HostentToNames()
521 // Manage memory using standardard smart pointer std::unique_tr in ParseSoaReply()
525 using ares_unique_ptr = std::unique_ptr<char[], AresDeleter>; in ParseSoaReply()
893 const std::unique_ptr<ResponseData>& response) { in Parse()
1060 const std::unique_ptr<ResponseData>& response) { in Parse()
1094 const std::unique_ptr<ResponseData>& response) { in Parse()
1128 const std::unique_ptr<ResponseData>& response) { in Parse()
1150 const std::unique_ptr<ResponseData>& response) { in Parse()
1173 const std in Parse()
[all...]
H A Dstream_base.cc137 async, err, req_wrap, total_bytes, std::move(req_wrap_ptr)}; in Write()
244 std::unique_ptr<BackingStore> bs; in Writev()
291 res.wrap->SetBackingStore(std::move(bs)); in Writev()
397 std::unique_ptr<BackingStore> bs; in WriteString()
440 res.wrap->SetBackingStore(std::move(bs)); in WriteString()
656 std::unique_ptr<BackingStore> bs = env->release_managed_buffer(buf_); in OnStreamRead()
665 bs = BackingStore::Reallocate(isolate, std::move(bs), nread); in OnStreamRead()
667 stream->CallJSOnreadMethod(nread, ArrayBuffer::New(isolate, std::move(bs))); in OnStreamRead()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp205 llvm::copy(EltRegs, std::back_inserter(*VRegs)); in getOrCreateVRegs()
233 Size = std::max<uint64_t>(Size, 1u); in getOrCreateFrameIndex()
430 auto SuccSize = std::max<uint32_t>(succ_size(SrcBB), 1); in getEdgeProbability()
632 std::swap(CB.TrueBB, CB.FalseBB); in emitSwitchCase()
780 std::swap(*I, *W.LastCluster); in lowerSwitchWorkItem()
1133 for (auto AI = CI.arg_begin(), AE = CI.arg_end(); std::next(AI) != AE; ++AI) in translateMemFunc()
1142 DstAlign = std::max<unsigned>(MCI->getDestAlignment(), 1); in translateMemFunc()
1143 SrcAlign = std::max<unsigned>(MCI->getSourceAlignment(), 1); in translateMemFunc()
1145 DstAlign = std::max<unsigned>(MMI->getDestAlignment(), 1); in translateMemFunc()
1146 SrcAlign = std in translateMemFunc()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp166 using FuncType = std::function<Value* (Instruction*, LLVMContext&)>;
193 std::deque<Value*> Q;
194 std::set<Value*> S;
197 using ValueSetType = std::set<Value *>;
199 std::vector<Rule> Rules;
334 for (std::pair<Value*,Value*> P : M) { in initialize()
627 if (std::distance(PI, PE) != 2) in getCountIV()
629 BasicBlock *PB = (*PI == BB) ? *std::next(PI) : *PI; in getCountIV()
1082 std::vector<Instruction*> LoopIns; in promoteTypes()
1083 std in promoteTypes()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
H A DX86IntrinsicsInfo.h327 const IntrinsicData *Data = std::lower_bound(std::begin(IntrinsicsWithChain), in getIntrinsicWithChain()
328 std::end(IntrinsicsWithChain), in getIntrinsicWithChain()
330 if (Data != std::end(IntrinsicsWithChain) && Data->Id == IntNo) in getIntrinsicWithChain()
1151 const IntrinsicData *Data = std::lower_bound(std::begin(IntrinsicsWithoutChain), in getIntrinsicWithoutChain()
1152 std::end(IntrinsicsWithoutChain), in getIntrinsicWithoutChain()
1154 if (Data != std::end(IntrinsicsWithoutChain) && Data->Id == IntNo) in getIntrinsicWithoutChain()
1160 assert(std::is_sorted(std in verifyIntrinsicTables()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationWin32KeyedMutexTests.cpp151 std::vector<std::string> extensions; in createTestInstance()
167 const std::vector<vk::VkQueueFamilyProperties> queueFamilyProperties = vk::getPhysicalDeviceQueueFamilyProperties(vki, physicalDevice); in createTestDevice()
168 std::vector<deUint32> queueFamilyIndices (queueFamilyProperties.size(), 0xFFFFFFFFu); in createTestDevice()
169 std::vector<const char*> extensions; in createTestDevice()
185 std::vector<vk::VkDeviceQueueCreateInfo> queues; in createTestDevice()
389 const std::vector<deUint32>& queueFamilyIndices, in importResource()
599 std::vector<deUint32> getFamilyIndices (const std::vector<vk::VkQueueFamilyProperties>& properties) in getFamilyIndices()
601 std in getFamilyIndices()
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DShaderStorageBufferTest.cpp182 std::ostringstream instanceCount; in TEST_P()
188 const std::string &vertexShaderSource = in TEST_P()
212 std::ostringstream vertexInstanceCount; in TEST_P()
235 std::ostringstream fragmentInstanceCount; in TEST_P()
238 const std::string &vertexShaderSource = in TEST_P()
248 const std::string &fragmentShaderSource = in TEST_P()
404 std::vector<unsigned int> kMiddlePaddingValues(kMiddlePaddingSize / sizeof(unsigned int), in TEST_P()
1062 std::array<GLuint, 4> kUVData = {{ in TEST_P()
1068 std::array<GLuint, 8> kUIData = {{ in TEST_P()
1174 std in TEST_P()
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
H A DCommandBufferD3D12.cpp106 const std::vector<bool>& availability = querySet->GetQueryAvailability(); in RecordResolveQuerySetCmd()
113 auto firstTrueIt = std::find(currentIt, lastIt, true); in RecordResolveQuerySetCmd()
118 auto nextFalseIt = std::find(firstTrueIt, lastIt, false); in RecordResolveQuerySetCmd()
121 uint32_t resolveQueryIndex = std::distance(availability.begin(), firstTrueIt); in RecordResolveQuerySetCmd()
123 uint32_t resolveQueryCount = std::distance(firstTrueIt, nextFalseIt); in RecordResolveQuerySetCmd()
148 std::array<uint32_t, 2> offsets{}; in RecordFirstIndexOffset()
215 Ref<Buffer> tempBuffer = ToBackend(std::move(tempBufferBase));
236 recordingContext->AddToTempBuffers(std::move(tempBuffer));
258 std::vector<D3D12_RESOURCE_BARRIER> barriers; in TransitionAndClearForSyncScope()
387 std in SetID3D12DescriptorHeaps()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DGenericDomTreeConstruction.h72 std::vector<NodePtr> NumToNode = {nullptr};
112 static ResultTy Get(NodePtr N, std::integral_constant<bool, false>) { in Get()
117 static ResultTy Get(NodePtr N, std::integral_constant<bool, true>) { in Get()
122 using Tag = std::integral_constant<bool, Inverse>;
151 Res.erase(std::remove(Res.begin(), Res.end(), Child), Res.end()); in Get()
189 std::make_unique<DomTreeNodeBase<NodeT>>(BB, IDomNode))) in getNodeForBlock()
537 std::swap(Root, Roots.back()); in RemoveRedundantRoots()
589 std::make_unique<DomTreeNodeBase<NodeT>>(Root, nullptr)) in CalculateFromScratch()
614 std::make_unique<DomTreeNodeBase<NodeT>>(W, IDomNode)); in attachNewSubtree()
639 std
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
H A DvktSynchronizationWin32KeyedMutexTests.cpp151 std::vector<std::string> extensions; in createTestInstance()
167 const std::vector<vk::VkQueueFamilyProperties> queueFamilyProperties = vk::getPhysicalDeviceQueueFamilyProperties(vki, physicalDevice); in createTestDevice()
168 std::vector<deUint32> queueFamilyIndices (queueFamilyProperties.size(), 0xFFFFFFFFu); in createTestDevice()
169 std::vector<const char*> extensions; in createTestDevice()
185 std::vector<vk::VkDeviceQueueCreateInfo> queues; in createTestDevice()
388 const std::vector<deUint32>& queueFamilyIndices, in importResource()
598 std::vector<deUint32> getFamilyIndices (const std::vector<vk::VkQueueFamilyProperties>& properties) in getFamilyIndices()
600 std in getFamilyIndices()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DFramebuffer.cpp191 if ((currAttachmentSamples % std::max(samples, 1)) != 0) in CheckAttachmentSampleCounts()
399 const std::string &FramebufferState::getLabel() const in getLabel()
584 int32_t width = std::numeric_limits<int32_t>::max();
585 int32_t height = std::numeric_limits<int32_t>::max();
590 width = std::min(width, attachment.getSize().width);
591 height = std::min(height, attachment.getSize().height);
597 width = std::min(width, mDepthAttachment.getSize().width);
598 height = std::min(height, mDepthAttachment.getSize().height);
603 width = std::min(width, mStencilAttachment.getSize().width);
604 height = std
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp1022 std::tie(LoVT, HiVT) = DAG.GetSplitDestVTs(N->getValueType(0)); in SplitVecRes_BITCAST()
1045 std::swap(Lo, Hi); in SplitVecRes_BITCAST()
1064 std::swap(LoIntVT, HiIntVT); in SplitVecRes_BITCAST()
1069 std::swap(Lo, Hi); in SplitVecRes_BITCAST()
1078 std::tie(LoVT, HiVT) = DAG.GetSplitDestVTs(N->getValueType(0)); in SplitVecRes_BUILD_VECTOR()
1099 std::tie(LoVT, HiVT) = DAG.GetSplitDestVTs(N->getValueType(0)); in SplitVecRes_CONCAT_VECTORS()
1115 std::tie(LoVT, HiVT) = DAG.GetSplitDestVTs(N->getValueType(0)); in SplitVecRes_EXTRACT_SUBVECTOR()
1146 std::tie(LoVT, HiVT) = DAG.GetSplitDestVTs(N->getValueType(0)); in SplitVecRes_INSERT_SUBVECTOR()
1196 std::tie(RHSLo, RHSHi) = DAG.SplitVector(RHS, SDLoc(RHS)); in SplitVecRes_FCOPYSIGN()
1210 std in SplitVecRes_InregOp()
[all...]
/third_party/skia/src/sksl/codegen/
H A DSkSLVMCodeGenerator.cpp263 std::vector<Slot> fSlots;
265 std::unordered_map<const Variable*, size_t> fVariableMap; // [Variable, first slot in fSlots]
284 std::vector<Function> fFunctionStack;
358 , fSampleShader(std::move(sampleShader))
359 , fSampleColorFilter(std::move(sampleColorFilter))
360 , fSampleBlender(std::move(sampleBlender)) {}
542 fDebugInfo->fSlotInfo.push_back(std::move(slotInfo));
635 std::swap(rCols, rRows);
654 size_t nslots = std::max(lVal.slots(), rVal.slots());
1111 size_t nslots = std
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h530 std::pair<ReferenceKind, const Node *> collapse(OutputStream &S) const { in collapse()
531 auto SoFar = std::make_pair(RK, Pointee); in collapse()
538 SoFar.first = std::min(SoFar.first, RT->RK); in collapse()
558 std::pair<ReferenceKind, const Node *> Collapsed = collapse(s);
571 std::pair<ReferenceKind, const Node *> Collapsed = collapse(s);
1068 if (S.CurrentPackMax == std::numeric_limits<unsigned>::max()) { in initializePackExpansion()
1077 if (std::all_of(Data.begin(), Data.end(), [](Node* P) { in ParameterPack()
1081 if (std::all_of(Data.begin(), Data.end(), [](Node* P) { in ParameterPack()
1085 if (std::all_of(Data.begin(), Data.end(), [](Node* P) { in ParameterPack()
1162 constexpr unsigned Max = std
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp614 auto I = std::max_element( in bestOrder()
691 OS << "{User:" << (UserTE ? std::to_string(UserTE->Idx) : "null") in dump()
786 std::swap(OpsVec[OpIdx1][Lane], OpsVec[OpIdx2][Lane]); in swap()
867 int getExternalUsesCost(const std::pair<Value *, int> &LHS, in getExternalUsesCost()
868 const std::pair<Value *, int> &RHS) { in getExternalUsesCost()
870 SmallVector<std::pair<Value *, int>, 2> Values = {LHS, RHS}; in getExternalUsesCost()
875 int Ln = std::min(LHS.second, RHS.second) + Idx; in getExternalUsesCost()
883 int UserLn = std::distance(UserTE->Scalars.begin(), It); in getExternalUsesCost()
928 int getScoreAtLevelRec(const std::pair<Value *, int> &LHS, in getScoreAtLevelRec()
929 const std in getScoreAtLevelRec()
[all...]
/third_party/vulkan-loader/tests/
H A Dloader_layer_tests.cpp36 ASSERT_TRUE(env.debug_log.find(std::string("Insert instance layer \"") + implicit_layer_name)); in CheckLogForLayerString()
38 ASSERT_FALSE(env.debug_log.find(std::string("Insert instance layer \"") + implicit_layer_name)); in CheckLogForLayerString()
123 ASSERT_TRUE(env.debug_log.find(std::string("Insert instance layer \"") + implicit_layer_name)); in TEST()
1048 ASSERT_TRUE(env.debug_log.find(std::string("verify_meta_layer_component_layers: Meta-layer ") + meta_layer_name + in TEST()
1127 ASSERT_TRUE(env.debug_log.find(std::string("verify_meta_layer_component_layers: Meta-layer ") + meta_layer_name + in TEST()
1165 ASSERT_TRUE(env.debug_log.find(std::string("verify_meta_layer_component_layers: Adding meta-layer ") + meta_meta_layer_name + in TEST()
1213 ASSERT_TRUE(env.debug_log.find(std::string("Meta-layer ") + meta_layer_name + " component layer " + regular_layer_name + in TEST()
1224 ASSERT_TRUE(env.debug_log.find(std::string("Meta-layer ") + meta_layer_name + " component layer " + regular_layer_name + in TEST()
1379 EXPECT_TRUE(env.debug_log.find(std::string("Insert instance layer \"") + regular_layer_name)); in TEST()
1392 EXPECT_TRUE(env.debug_log.find(std in TEST()
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Dnumbertest_decimalquantity.cpp154 DecimalQuantity c(std::move(a)); // move constructor
163 c = std::move(b); // move assignment
165 a = std::move(c); // move assignment to a defunct object
177 DecimalQuantity c(std::move(a)); // move constructor
186 c = std::move(b); // move assignment
188 a = std::move(c); // move assignment to a defunct object
299 if (std::isnan(d) || !std::isfinite(d)) { continue; }
/third_party/node/deps/v8/src/base/platform/
H A Dplatform-posix.cc626 // Redirect to std abort to signal abnormal program termination. in Abort()
781 if (std::isnan(time)) return std::numeric_limits<double>::quiet_NaN(); in DaylightSavingsOffset()
782 time_t tv = static_cast<time_t>(std::floor(time/msPerSecond)); in DaylightSavingsOffset()
785 if (nullptr == t) return std::numeric_limits<double>::quiet_NaN(); in DaylightSavingsOffset()
1010 if (stack_size_ > 0) stack_size_ = std::max(stack_size_, min_stack_size); in Thread()
1124 static std::atomic<bool> tls_base_offset_initialized{false};
1159 tls_base_offset_initialized.store(true, std::memory_order_release); in InitializeTlsBaseOffset()
1179 if (!tls_base_offset_initialized.load(std::memory_order_acquire)) { in CreateThreadLocalKey()
/third_party/node/deps/v8/src/bigint/
H A Dmul-fft.cc204 int cap = std::min(K - digit_shift, zero_above); in ShiftModFn()
215 cap = std::min(K, zero_above); in ShiftModFn()
233 int cap = std::min(K - digit_shift, zero_above); in ShiftModFn()
246 cap = std::min(K, zero_above); in ShiftModFn()
340 m = std::min(max_m, m); in ComputeParameters_Inner()
404 max_m = std::max(kLog2DigitBits, max_m); // Smaller m break the logic below. in GetParameters()
498 chunk_size = std::min(chunk_size, len); in Start_Default()
545 chunk_size = std::min(chunk_size, len); in Start()
/third_party/node/deps/v8/src/objects/
H A Dliteral-objects.cc128 STATIC_ASSERT((std::is_same<Dictionary, SwissNameDictionary>::value || in DictionaryUpdateMaxNumberKey()
129 std::is_same<Dictionary, NameDictionary>::value)); in DictionaryUpdateMaxNumberKey()
144 std::max({ClassBoilerplate::kMinimumClassPropertiesCount, in ComputeEnumerationIndex()
162 std::is_same<Dictionary, NumberDictionary>::value; in AddToDictionaryTemplate()
164 (std::is_same<Dictionary, NameDictionary>::value || in AddToDictionaryTemplate()
165 std::is_same<Dictionary, SwissNameDictionary>::value)); in AddToDictionaryTemplate()
743 void ArrayBoilerplateDescription::BriefPrintDetails(std::ostream& os) { in BriefPrintDetails()
748 void RegExpBoilerplateDescription::BriefPrintDetails(std::ostream& os) { in BriefPrintDetails()
/third_party/node/deps/v8/src/parsing/
H A Dpreparse-data.cc95 std::vector<void*>* children_buffer) in PreparseDataBuilder()
126 void PreparseDataBuilder::ByteData::Start(std::vector<uint8_t>* buffer) { in Start()
340 CHECK_LE(byte_data_.length(), std::numeric_limits<uint32_t>::max()); in SaveScopeAllocationData()
837 std::unique_ptr<ConsumedPreparseData> ConsumedPreparseData::For( in For()
842 std::unique_ptr<ConsumedPreparseData> ConsumedPreparseData::For( in For()
845 return std::make_unique<OnHeapConsumedPreparseData>(isolate, data); in For()
848 std::unique_ptr<ConsumedPreparseData> ConsumedPreparseData::For( in For()
851 return std::make_unique<ZoneConsumedPreparseData>(zone, data); in For()
/third_party/rust/crates/clap/clap_derive/src/derives/
H A Dargs.rs111 fn from_arg_matches(__clap_arg_matches: &clap::ArgMatches) -> ::std::result::Result<Self, clap::Error> { in gen_for_struct()
115 fn from_arg_matches_mut(__clap_arg_matches: &mut clap::ArgMatches) -> ::std::result::Result<Self, clap::Error> { in gen_for_struct()
118 ::std::result::Result::Ok(v) in gen_for_struct()
121 fn update_from_arg_matches(&mut self, __clap_arg_matches: &clap::ArgMatches) -> ::std::result::Result<(), clap::Error> { in gen_for_struct()
125 fn update_from_arg_matches_mut(&mut self, __clap_arg_matches: &mut clap::ArgMatches) -> ::std::result::Result<(), clap::Error> { in gen_for_struct()
128 ::std::result::Result::Ok(()) in gen_for_struct()
699 .map(|g| g.map(::std::iter::Iterator::collect).collect::<Vec<Vec<_>>>()) in gen_parsers()
705 .map(|g| g.map(::std::iter::Iterator::collect).collect::<Vec<Vec<_>>>()) in gen_parsers()

Completed in 69 milliseconds

1...<<561562563564565566567568569570>>...821