Home
last modified time | relevance | path

Searched refs:pair (Results 2401 - 2425 of 4414) sorted by relevance

1...<<919293949596979899100>>...177

/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/bundle_parser/
H A Dmodule_profile.cpp153 // pair first : if exist in module.json then true, otherwise false
154 // pair second : actual value
155 std::pair<bool, int32_t> minAPIVersion = std::make_pair<>(false, 0);
156 std::pair<bool, bool> keepAlive = std::make_pair<>(false, false);
157 std::pair<bool, bool> removable = std::make_pair<>(false, true);
158 std::pair<bool, bool> singleton = std::make_pair<>(false, false);
159 std::pair<bool, bool> userDataClearable = std::make_pair<>(false, true);
160 std::pair<bool, bool> accessible = std::make_pair<>(false, true);
239 std::pair<bool, bool> removable = std::make_pair<>(false, true);
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/
H A Dgatt_connection_manager.cpp53 std::array<std::pair<bool, GattConnectionObserver *>, MAX_OBSERVER_NUM> observers_
233 std::pair<uint16_t, uint16_t> GattConnectionManager::GetMaximumNumberOfConnections() const in GetMaximumNumberOfConnections()
235 return std::pair<uint16_t, uint16_t>( in GetMaximumNumberOfConnections()
679 static const std::pair<uint16_t, uint16_t> connIntervalMinRange(0x0006, 0x0C80); in LEConnectionParamterReqImpl()
680 static const std::pair<uint16_t, uint16_t> connIntervalMaxRange(0x0006, 0x0C80); in LEConnectionParamterReqImpl()
681 static const std::pair<uint16_t, uint16_t> connLatencyRange(0x0000, 0x01F3); in LEConnectionParamterReqImpl()
682 static const std::pair<uint16_t, uint16_t> timeoutRange(0x000A, 0x0C80); in LEConnectionParamterReqImpl()
/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/frame_rate_manager/
H A Dhgm_frame_rate_manager.cpp719 auto iter = std::find_if(config.begin(), config.end(), [&velocity](const auto& pair) { in GetPreferredFps()
720 return velocity >= pair.second.min && (velocity < pair.second.max || pair.second.max == -1); in GetPreferredFps()
963 std::pair<std::string, pid_t> info = std::make_pair(sceneName, pid); in HandleSceneEvent()
1079 voteRecord_.try_emplace(voteInfo.voterName, std::pair<std::vector<VoteInfo>, bool>({{}, true})); in DeliverRefreshRateVote()
1125 std::pair<bool, bool> HgmFrameRateManager::MergeRangeByPriority(VoteRange& rangeRes, const VoteRange& curVoteRange) in MergeRangeByPriority()
/foundation/filemanagement/user_file_service/test/unittest/
H A Dexternal_file_access_test_basic.cpp1501 std::pair<shared_ptr<FileAccessHelper>, int> helper = in HWTEST_F()
1544 std::pair<shared_ptr<FileAccessHelper>, int> helper = in HWTEST_F()
1571 std::pair<shared_ptr<FileAccessHelper>, int> helper = FileAccessHelper::Creator(context); in HWTEST_F()
1595 std::pair<shared_ptr<FileAccessHelper>, int> helper = FileAccessHelper::Creator(context, wants); in HWTEST_F()
1618 std::pair<shared_ptr<FileAccessHelper>, int> helper = in HWTEST_F()
1644 std::pair<shared_ptr<FileAccessHelper>, int> helper = in HWTEST_F()
1669 std::pair<shared_ptr<FileAccessHelper>, int> helper = FileAccessHelper::Creator(context, wants); in HWTEST_F()
/foundation/communication/ipc/services/dbinder/dbinder_service/src/
H A Ddbinder_service.cpp189 std::pair<binder_uintptr_t, binder_uintptr_t>(stubTag, stub)); in AddStubByTag()
854 auto result = mapRemoteBinderObjects_.insert(std::pair<std::u16string, binder_uintptr_t>(serviceName, binder)); in RegisterRemoteProxyInner()
1063 threadLockInfo_.insert(std::pair<uint32_t, std::shared_ptr<struct ThreadLockInfo>>(seqNumber, object)); in AttachThreadLockInfo()
1089 auto result = proxyObject_.insert(std::pair<int, sptr<IRemoteObject>>(binderObject, object)); in AttachProxyObject()
1114 auto ret = sessionObject_.insert(std::pair<binder_uintptr_t, std::shared_ptr<struct SessionInfo>>(stub, object)); in AttachSessionObject()
1142 std::pair<sptr<IRemoteObject>, sptr<IRemoteObject::DeathRecipient>>(object, deathRecipient)); in AttachDeathRecipient()
1171 auto result = noticeProxy_.insert(std::pair<sptr<IRemoteObject>, DBinderServiceStub *>(object, dbStub)); in AttachCallbackProxy()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/cloud/
H A Dcloud_syncer_extend.cpp264 std::pair<int, uint32_t> CloudSyncer::GetDBAssets(bool isSharedTable, const InnerProcessInfo &info, in GetDBAssets()
267 std::pair<int, uint32_t> res = { E_OK, static_cast<uint32_t>(LockStatus::UNLOCK) }; in GetDBAssets()
812 std::pair<bool, TaskId> CloudSyncer::TryMergeTask(const std::shared_ptr<DataBaseSchema> &cloudSchema, TaskId tryTaskId) in TryMergeTask()
814 std::pair<bool, TaskId> res; in TryMergeTask()
902 std::pair<TaskId, TaskId> CloudSyncer::SwapTwoTaskAndCopyTable(TaskId source, TaskId target) in SwapTwoTaskAndCopyTable()
927 std::pair<int, Timestamp> CloudSyncer::GetLocalWater(const std::string &tableName, UploadParam &uploadParam) in GetLocalWater()
929 std::pair<int, Timestamp> res = { E_OK, 0u }; in GetLocalWater()
/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_impl_test5.cpp1287 WindowImpl::windowMap_.insert(std::make_pair("test", std::pair<uint32_t, sptr<Window>>(1, windowImpl1))); in HWTEST_F()
1294 WindowImpl::windowMap_.insert(std::make_pair("test", std::pair<uint32_t, sptr<Window>>(0, windowImpl2))); in HWTEST_F()
1300 WindowImpl::windowMap_.insert(std::make_pair("test", std::pair<uint32_t, sptr<Window>>(1, windowImpl3))); in HWTEST_F()
1321 WindowImpl::windowMap_.insert(std::make_pair("test", std::pair<uint32_t, sptr<Window>>(1, nullptr))); in HWTEST_F()
1327 WindowImpl::windowMap_.insert(std::make_pair("test", std::pair<uint32_t, sptr<Window>>(1, windowImpl1))); in HWTEST_F()
1333 WindowImpl::windowMap_.insert(std::make_pair("test", std::pair<uint32_t, sptr<Window>>(1, windowImpl2))); in HWTEST_F()
1342 WindowImpl::windowMap_.insert(std::make_pair("test", std::pair<uint32_t, sptr<Window>>(1, windowImpl3))); in HWTEST_F()
/third_party/alsa-lib/src/alisp/
H A Dalisp.c263 struct alisp_object_pair * pair; in free_objects() local
268 pair = list_entry(pos, struct alisp_object_pair, list); in free_objects()
269 lisp_debug(instance, "freeing pair: '%s' -> %p", pair->name, pair->value); in free_objects()
270 delete_tree(instance, pair->value); in free_objects()
271 free((void *)pair->name); in free_objects()
272 free(pair); in free_objects()
701 * Parse a dotted pair notation. in parse_form()
/third_party/lzma/CPP/7zip/UI/Common/
H A DArchiveExtractCallback.cpp1327 const CIndexToPathPair &pair = _renamedFiles[(unsigned)renIndex]; in GetExtractStream() local
1328 fullProcessedPath = pair.Path; in GetExtractStream()
1511 CIndexToPathPair pair(index, fullProcessedPath); in GetExtractStream()
1513 unsigned insertIndex = _renamedFiles.AddToUniqueSorted(pair); in GetExtractStream()
2542 CDirPathSortPair &pair = pairs[i]; in SetDirsTimes() local
2543 pair.Index = i; in SetDirsTimes()
2544 pair.SetNumSlashes(_extractedFolders[i].Path); in SetDirsTimes()
/third_party/nghttp2/integration-tests/
H A Dnghttpx_http1_test.go45 pair("Connection", "close"),
420 pair("foo", "bar"),
498 pair("Connection", "close"),
993 pair("Cookie", "alpha; bravo; charlie"),
1047 pair("via", "foo"),
1076 pair("via", "foo"),
1187 pair("te", "foo,trailers,bar"),
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A DLegacyPassManager.cpp144 Module &M, StringMap<std::pair<unsigned, unsigned>> &FunctionToInstrCount) { in initSizeRemarkInfo()
154 // size of the function as the first member of a pair. Set the second in initSizeRemarkInfo()
159 std::pair<unsigned, unsigned>(FCount, 0); in initSizeRemarkInfo()
167 StringMap<std::pair<unsigned, unsigned>> &FunctionToInstrCount, in emitInstrCountChangedRemark()
190 std::pair<unsigned, unsigned>(0, FnSize); in emitInstrCountChangedRemark()
193 // Insert the new function size into the second member of the pair. This in emitInstrCountChangedRemark()
244 std::pair<unsigned, unsigned> &Change = FunctionToInstrCount[Fname]; in emitInstrCountChangedRemark()
1457 StringMap<std::pair<unsigned, unsigned>> FunctionToInstrCount; in runOnFunction()
1563 StringMap<std::pair<unsigned, unsigned>> FunctionToInstrCount; in runOnModule()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
H A DSCCP.cpp203 DenseMap<std::pair<Value *, unsigned>, LatticeVal> StructValueState;
218 MapVector<std::pair<Function *, unsigned>, LatticeVal> TrackedMultipleRetVals;
248 using Edge = std::pair<BasicBlock *, BasicBlock *>;
493 std::pair<DenseMap<Value*, LatticeVal>::iterator, bool> I = in getValueState()
513 std::pair<DenseMap<Value*, ValueLatticeElement>::iterator, bool> in getParamState()
523 /// value/field pair. This function handles the case when the value hasn't
530 std::pair<DenseMap<std::pair<Value*, unsigned>, LatticeVal>::iterator, in getStructValueState()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp173 using Edge = std::pair<const BasicBlock *, const BasicBlock *>;
1110 auto pair = in inlineHotFunctions() local
1112 pair.first->second.entryCount += FS->getEntrySamples(); in inlineHotFunctions()
1883 for (const std::pair<Function *, NotInlinedProfileInfo> &pair : in runOnModule()
1885 updateProfileCallee(pair.first, pair.second.entryCount); in runOnModule()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h816 std::pair<SDValue, SDValue>
1656 std::pair<SDValue, SDValue> UnrollVectorOverflowOp(SDNode *N,
1672 std::pair<EVT, EVT> GetSplitDestVTs(const EVT &VT) const;
1676 std::pair<SDValue, SDValue> SplitVector(const SDValue &N, const SDLoc &DL,
1680 std::pair<SDValue, SDValue> SplitVector(const SDValue &N, const SDLoc &DL) { in SplitVector()
1688 std::pair<SDValue, SDValue> SplitVectorOperand(const SDNode *N, unsigned OpNo) in SplitVectorOperand()
1786 std::map<std::pair<std::string, unsigned>, SDNode *> TargetExternalSymbols;
/third_party/python/Modules/_sre/
H A Dsre.c2286 PyObject* pair; in _pair() local
2289 pair = PyTuple_New(2); in _pair()
2290 if (!pair) in _pair()
2296 PyTuple_SET_ITEM(pair, 0, item); in _pair()
2301 PyTuple_SET_ITEM(pair, 1, item); in _pair()
2303 return pair; in _pair()
2306 Py_DECREF(pair); in _pair()
/foundation/multimedia/camera_framework/services/camera_service/src/
H A Dhcapture_session.cpp745 auto metaCache = make_shared<FixedSizeList<pair<int64_t, sptr<SurfaceBuffer>>>>(3); in ExpandMovingPhotoRepeatStream()
2221 for (auto& pair : streams_) { in GetStream()
2222 for (auto& stream : pair.second) { in GetStream()
2234 for (auto& pair : streams_) { in GetHdiStream()
2235 for (auto& stream : pair.second) { in GetHdiStream()
2254 for (auto& pair : streams_) { in Size()
2255 totalSize += pair.second.size(); in Size()
2276 for (auto& pair : streams_) { in GetAllStreams()
2277 for (auto& stream : pair.second) { in GetAllStreams()
/third_party/node/deps/v8/src/inspector/
H A Dv8-debugger-agent-impl.cc175 bool positionComparator(const std::pair<int, int>& a, in positionComparator()
176 const std::pair<int, int>& b) { in positionComparator()
343 Response isValidRangeOfPositions(std::vector<std::pair<int, int>>& positions) { in isValidRangeOfPositions()
862 V8StackTraceId v8StackTraceId(id, debuggerId.pair()); in getStackTrace()
892 const std::vector<std::pair<int, int>>& ranges = in isFunctionBlackboxed()
916 const std::vector<std::pair<int, int>>& ranges = it->second; in shouldBeSkipped()
918 const std::pair<int, int> location = std::make_pair(line, column); in shouldBeSkipped()
1418 std::vector<std::pair<int, int>> positions; in setBlackboxedRanges()
1984 std::unordered_map<String16, std::vector<std::pair<int, int>>> skipListInit; in processSkipList()
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
H A Des31cSeparateShaderObjsTests.cpp1238 params.insert(std::pair<std::string, std::string>("SCALAR_TYPE", "int")); in generateUniformFragSrc()
1239 params.insert(std::pair<std::string, std::string>("VECTOR_TYPE", "ivec")); in generateUniformFragSrc()
1240 params.insert(std::pair<std::string, std::string>("SFX", "")); in generateUniformFragSrc()
1244 params.insert(std::pair<std::string, std::string>("SCALAR_TYPE", "uint")); in generateUniformFragSrc()
1245 params.insert(std::pair<std::string, std::string>("VECTOR_TYPE", "uvec")); in generateUniformFragSrc()
1246 params.insert(std::pair<std::string, std::string>("SFX", "u")); in generateUniformFragSrc()
1250 params.insert(std::pair<std::string, std::string>("SCALAR_TYPE", "float")); in generateUniformFragSrc()
1251 params.insert(std::pair<std::string, std::string>("VECTOR_TYPE", "vec")); in generateUniformFragSrc()
1252 params.insert(std::pair<std::string, std::string>("SFX", ".0")); in generateUniformFragSrc()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
H A DARMLoadStoreOptimizer.cpp176 ArrayRef<std::pair<unsigned, bool>> Regs,
182 ArrayRef<std::pair<unsigned, bool>> Regs,
612 static bool ContainsReg(const ArrayRef<std::pair<unsigned, bool>> &Regs, in ContainsReg()
614 for (const std::pair<unsigned, bool> &R : Regs) in ContainsReg()
627 ArrayRef<std::pair<unsigned, bool>> Regs, in CreateLoadStoreMulti()
691 for (const std::pair<unsigned, bool> &R : Regs) in CreateLoadStoreMulti()
822 for (const std::pair<unsigned, bool> &R : Regs) in CreateLoadStoreMulti()
834 ArrayRef<std::pair<unsigned, bool>> Regs, in CreateLoadStoreDouble()
860 SmallVector<std::pair<unsigned, bool>, 8> Regs; in MergeOpsUpdate()
2312 // If we are moving a pair o
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
H A DHexagonConstExtenders.cpp378 using ExtenderInit = std::pair<ExtValue, ExtExpr>;
380 using LocDefList = std::vector<std::pair<Loc, IndexList>>;
558 for (const std::pair<const HCE::ExtenderInit, HCE::IndexList> &Q : P.IMap) { in operator <<()
737 // values for a pair of given symbols. These symbols could then compare in operator <()
1326 // For each candidate offset, keep a pair CandData consisting of in assignInits()
1329 using CandData = std::pair<unsigned, SmallVector<RangeTree::Node*,8>>; in assignInits()
1413 for (std::pair<const ExtenderInit,IndexList> &P : IMap) { in assignInits()
1857 std::vector<std::pair<MachineInstr*,unsigned>> RegOps; in replaceInstr()
1874 for (std::pair<MachineInstr*,unsigned> P : RegOps) { in replaceInstr()
1898 for (const std::pair<cons in replaceExtenders()
[all...]
/third_party/protobuf/src/google/protobuf/
H A Dtext_format.cc1844 auto pair = custom_printers_.insert(std::make_pair(field, nullptr)); in RegisterFieldValuePrinter() local
1845 if (pair.second) { in RegisterFieldValuePrinter()
1847 pair.first->second = std::move(wrapper); in RegisterFieldValuePrinter()
1859 auto pair = custom_printers_.insert(std::make_pair(field, nullptr)); in RegisterFieldValuePrinter() local
1860 if (pair.second) { in RegisterFieldValuePrinter()
1861 pair.first->second.reset(printer); in RegisterFieldValuePrinter()
1873 auto pair = in RegisterMessagePrinter() local
1875 if (pair.second) { in RegisterMessagePrinter()
1876 pair.first->second.reset(printer); in RegisterMessagePrinter()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGISel.cpp567 for (std::pair<unsigned, unsigned> LI : RegInfo->liveins()) in runOnMachineFunction()
2489 const SmallVectorImpl<std::pair<SDValue, SDNode*>> &RecordedNodes) { in CheckSame()
2500 const SmallVectorImpl<std::pair<SDValue, SDNode*>> &RecordedNodes,
2631 SmallVectorImpl<std::pair<SDValue, SDNode*>> &RecordedNodes) { in IsPredicateKnownToFail()
2736 SmallVectorImpl<std::pair<SDValue, SDNode *>> &RecordedNodes;
2741 SmallVectorImpl<std::pair<SDValue, SDNode *>> &RN, in MatchStateUpdater()
2840 SmallVector<std::pair<SDValue, SDNode*>, 8> RecordedNodes; in SelectCodeCommon()
3236 RecordedNodes.push_back(std::pair<SDValue, SDNode*>( in SelectCodeCommon()
3245 RecordedNodes.push_back(std::pair<SDValue, SDNode*>( in SelectCodeCommon()
3257 RecordedNodes.push_back(std::pair<SDValu in SelectCodeCommon()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
H A Dbtree.h1251 std::pair<iterator, bool> lower_bound_equal(const K &key) const;
1264 // the returned pair is equal to lower_bound(key). The second member of the
1265 // pair is equal to upper_bound(key).
1267 std::pair<iterator, iterator> equal_range(const K &key);
1269 std::pair<const_iterator, const_iterator> equal_range(const K &key) const { in equal_range()
1278 std::pair<iterator, bool> insert_unique(const K &key, Args &&... args);
1287 std::pair<iterator, bool> insert_hint_unique(iterator position,
1333 std::pair<size_type, iterator> erase_range(iterator begin, iterator end);
1942 -> std::pair<iterator, bool> {
1954 auto btree<P>::equal_range(const K &key) -> std::pair<iterato
[all...]
/drivers/peripheral/wlan/chip/hdi_service/
H A Dwifi_vendor_hal.cpp216 std::pair<WifiError, std::vector<uint32_t>>WifiVendorHal::GetValidFrequenciesForBand( in GetValidFrequenciesForBand()
320 std::pair<WifiError, int> WifiVendorHal::GetPowerMode(const std::string& ifaceName) in GetPowerMode()
/foundation/ability/form_fwk/services/src/
H A Dform_cache_mgr.cpp94 std::map<std::string, std::pair<sptr<FormAshmem>, int32_t>> &imageDataMap) const in GetData()
133 std::map<std::string, std::pair<sptr<FormAshmem>, int32_t>> &imageDataMap) const in InnerGetImageData()

Completed in 68 milliseconds

1...<<919293949596979899100>>...177