Home
last modified time | relevance | path

Searched refs:pair (Results 126 - 150 of 4598) sorted by relevance

12345678910>>...184

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DR600EmitClauseMarkers.cpp114 std::pair<unsigned, unsigned> getAccessedBankLine(unsigned Sel) const { in getAccessedBankLine()
118 return std::pair<unsigned, unsigned>( in getAccessedBankLine()
130 std::vector<std::pair<unsigned, unsigned>> &CachedConsts, in SubstituteKCacheBank()
132 std::vector<std::pair<unsigned, unsigned>> UsedKCache; in SubstituteKCacheBank()
137 const SmallVectorImpl<std::pair<MachineOperand *, int64_t>> &Consts = in SubstituteKCacheBank()
148 const std::pair<unsigned, unsigned> &BankLine = getAccessedBankLine(Sel); in SubstituteKCacheBank()
151 UsedKCache.push_back(std::pair<unsigned, unsigned>(0, KCacheIndex)); in SubstituteKCacheBank()
155 UsedKCache.push_back(std::pair<unsigned, unsigned>(0, KCacheIndex)); in SubstituteKCacheBank()
160 UsedKCache.push_back(std::pair<unsigned, unsigned>(1, KCacheIndex)); in SubstituteKCacheBank()
164 UsedKCache.push_back(std::pair<unsigne in SubstituteKCacheBank()
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_tg/
H A Davrcp_tg_state_machine.cpp95 StateMachinePair *pair = GetPairOfStateMachine(rawAddr.GetAddress()); in AddBrowseStateMachine() local
96 if (pair == nullptr) { in AddBrowseStateMachine()
99 } else if (pair->second == nullptr) { in AddBrowseStateMachine()
100 pair->second = std::make_unique<StateMachine>(StateMachine::Type::AVRC_TG_SM_TYPE_BROWSE, rawAddr); in AddBrowseStateMachine()
101 pair->second->AddStates(); in AddBrowseStateMachine()
102 pair->second->InitState(AVRC_TG_SM_STATE_CONNECTING); in AddBrowseStateMachine()
117 StateMachinePair *pair = GetPairOfStateMachine(rawAddr.GetAddress()); in DeletePairOfStateMachine() local
118 if (pair != nullptr) { in DeletePairOfStateMachine()
131 StateMachinePair *pair = GetPairOfStateMachine(rawAddr.GetAddress()); in DeleteBrowseStateMachine() local
132 if (pair ! in DeleteBrowseStateMachine()
145 StateMachinePair *pair = GetPairOfStateMachine(rawAddr.GetAddress()); SendMessageToControlStateMachine() local
177 StateMachinePair *pair = GetPairOfStateMachine(rawAddr.GetAddress()); SendMessageToBrowseStateMachine() local
246 StateMachinePair *pair = nullptr; GetPairOfStateMachine() local
264 StateMachinePair *pair = GetPairOfStateMachine(addr); IsControlSpecifiedState() local
[all...]
/third_party/alsa-utils/alsactl/
H A Dinit_parse.c57 struct pair { struct
60 struct pair *next;
64 struct pair *pairs;
98 struct pair *pair = space->pairs; in free_space() local
99 struct pair *next = pair; in free_space()
102 pair = next; in free_space()
103 next = pair->next; in free_space()
104 free(pair in free_space()
140 struct pair *pair = space->pairs; value_find() local
149 struct pair *pair; value_set() local
1009 struct pair *pair; apply_format() local
1292 struct pair *pair; parse_line() local
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/
H A Dgatt_client_profile.cpp34 std::list<std::pair<uint16_t, GattRequestInfo>> requestList_ = {};
35 std::list<std::pair<uint16_t, GattRequestInfo>> responseList_ = {};
36 std::list<std::pair<uint16_t, ReadValCache>> readValCache_ = {};
55 std::list<std::pair<uint16_t, GattRequestInfo>>::iterator attResp);
59 void RemoveRequestList(std::list<std::pair<uint16_t, GattRequestInfo>>::iterator iter);
61 uint16_t connectHandle, AttEventData *data, std::list<std::pair<uint16_t, GattRequestInfo>>::iterator iter);
62 void ErrorResponseParsing(uint16_t connectHandle, std::list<std::pair<uint16_t, GattRequestInfo>>::iterator iter);
64 uint16_t connectHandle, AttEventData *data, std::list<std::pair<uint16_t, GattRequestInfo>>::iterator iter);
67 uint16_t connectHandle, AttEventData *data, std::list<std::pair<uint16_t, GattRequestInfo>>::iterator iter);
69 uint16_t connectHandle, AttEventData *data, std::list<std::pair<uint16_
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/cloud/
H A Dcloud_db_proxy.h53 std::pair<int, std::string> GetEmptyCursor(const std::string &tableName);
55 std::pair<int, uint64_t> Lock();
77 std::pair<int, std::string> GetCloudVersion(const std::string &originVersion) const;
96 void MoveInLockStatus(std::pair<int, uint64_t> &lockStatus);
98 void MoveOutLockStatus(std::pair<int, uint64_t> &lockStatus);
100 void MoveInCursorStatus(std::pair<int, std::string> &cursorStatus);
102 void MoveOutCursorStatus(std::pair<int, std::string> &cursorStatus);
135 std::pair<int, uint64_t> lockStatus_;
136 std::pair<int, std::string> cursorStatus_;
/third_party/icu/icu4c/source/i18n/
H A Dcollationfastlatin.h103 * Use INDEX_MASK to find the pair of CEs after the fixed table.
231 static inline uint32_t getPrimaries(uint32_t variableTop, uint32_t pair) { in getPrimaries() argument
232 uint32_t ce = pair & 0xffff; in getPrimaries()
233 if(ce >= MIN_SHORT) { return pair & TWO_SHORT_PRIMARIES_MASK; } in getPrimaries()
234 if(ce > variableTop) { return pair & TWO_LONG_PRIMARIES_MASK; } in getPrimaries()
236 return pair; // special mini CE in getPrimaries()
246 static uint32_t getSecondaries(uint32_t variableTop, uint32_t pair);
247 static uint32_t getCases(uint32_t variableTop, UBool strengthIsPrimary, uint32_t pair);
248 static uint32_t getTertiaries(uint32_t variableTop, UBool withCaseBits, uint32_t pair);
249 static uint32_t getQuaternaries(uint32_t variableTop, uint32_t pair);
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Dcollationfastlatin.h103 * Use INDEX_MASK to find the pair of CEs after the fixed table.
231 static inline uint32_t getPrimaries(uint32_t variableTop, uint32_t pair) { in getPrimaries() argument
232 uint32_t ce = pair & 0xffff; in getPrimaries()
233 if(ce >= MIN_SHORT) { return pair & TWO_SHORT_PRIMARIES_MASK; } in getPrimaries()
234 if(ce > variableTop) { return pair & TWO_LONG_PRIMARIES_MASK; } in getPrimaries()
236 return pair; // special mini CE in getPrimaries()
246 static uint32_t getSecondaries(uint32_t variableTop, uint32_t pair);
247 static uint32_t getCases(uint32_t variableTop, UBool strengthIsPrimary, uint32_t pair);
248 static uint32_t getTertiaries(uint32_t variableTop, UBool withCaseBits, uint32_t pair);
249 static uint32_t getQuaternaries(uint32_t variableTop, uint32_t pair);
[all...]
/third_party/node/deps/undici/src/lib/fetch/
H A Dformdata.js161 () => this[kState].map(pair => [pair.name, pair.value]),
171 () => this[kState].map(pair => [pair.name, pair.value]),
181 () => this[kState].map(pair => [pair.name, pair.value]),
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dcollationfastlatin.h103 * Use INDEX_MASK to find the pair of CEs after the fixed table.
231 static inline uint32_t getPrimaries(uint32_t variableTop, uint32_t pair) { in getPrimaries() argument
232 uint32_t ce = pair & 0xffff; in getPrimaries()
233 if(ce >= MIN_SHORT) { return pair & TWO_SHORT_PRIMARIES_MASK; } in getPrimaries()
234 if(ce > variableTop) { return pair & TWO_LONG_PRIMARIES_MASK; } in getPrimaries()
236 return pair; // special mini CE in getPrimaries()
246 static uint32_t getSecondaries(uint32_t variableTop, uint32_t pair);
247 static uint32_t getCases(uint32_t variableTop, UBool strengthIsPrimary, uint32_t pair);
248 static uint32_t getTertiaries(uint32_t variableTop, UBool withCaseBits, uint32_t pair);
249 static uint32_t getQuaternaries(uint32_t variableTop, uint32_t pair);
[all...]
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/
H A Dbackup_database_utils.cpp606 std::vector<std::pair<std::string, std::string>> BackupDatabaseUtils::GetColumnInfoPairs( in GetColumnInfoPairs()
609 std::vector<std::pair<std::string, std::string>> columnInfoPairs; in GetColumnInfoPairs()
636 for (const auto &pair : mediaRdbColumnInfoPairs) { in GetCommonColumnInfos()
638 [&](const std::pair<std::string, std::string> &p) { in GetCommonColumnInfos()
639 return p.first == pair.first && p.second == pair.second; in GetCommonColumnInfos()
642 commonColumns.emplace_back(pair.first); in GetCommonColumnInfos()
685 std::pair<std::vector<int32_t>, std::vector<int32_t>> BackupDatabaseUtils::UnzipFileIdPairs( in UnzipFileIdPairs()
691 for (const auto& pair : pairs) { in UnzipFileIdPairs()
692 oldFileIds.push_back(pair in UnzipFileIdPairs()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DScaledNumber.h52 inline std::pair<DigitsT, int16_t> getRounded(DigitsT Digits, int16_t Scale, in getRounded()
64 inline std::pair<uint32_t, int16_t> getRounded32(uint32_t Digits, int16_t Scale, in getRounded32()
70 inline std::pair<uint64_t, int16_t> getRounded64(uint64_t Digits, int16_t Scale, in getRounded64()
79 inline std::pair<DigitsT, int16_t> getAdjusted(uint64_t Digits, in getAdjusted()
94 inline std::pair<uint32_t, int16_t> getAdjusted32(uint64_t Digits, in getAdjusted32()
100 inline std::pair<uint64_t, int16_t> getAdjusted64(uint64_t Digits, in getAdjusted64()
108 std::pair<uint64_t, int16_t> multiply64(uint64_t LHS, uint64_t RHS);
114 inline std::pair<DigitsT, int16_t> getProduct(DigitsT LHS, DigitsT RHS) { in getProduct()
124 inline std::pair<uint32_t, int16_t> getProduct32(uint32_t LHS, uint32_t RHS) { in getProduct32()
129 inline std::pair<uint64_
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DTimeUnitFormat.java416 Object[] pair = countToPatterns.get(pluralCount); in put()
417 if (pair == null) { in put()
418 pair = new Object[2]; in put()
419 countToPatterns.put(pluralCount, pair); in put()
421 if (pair[style] == null) { in put()
424 pair[style] = messageFormat; in put()
503 Object[] pair = countToPatterns.get(srcPluralCount); in searchInTree()
504 if (pair == null) { in searchInTree()
505 pair = new Object[2]; in searchInTree()
506 countToPatterns.put(srcPluralCount, pair); in searchInTree()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DTimeUnitFormat.java418 Object[] pair = countToPatterns.get(pluralCount); in put()
419 if (pair == null) { in put()
420 pair = new Object[2]; in put()
421 countToPatterns.put(pluralCount, pair); in put()
423 if (pair[style] == null) { in put()
426 pair[style] = messageFormat; in put()
505 Object[] pair = countToPatterns.get(srcPluralCount); in searchInTree()
506 if (pair == null) { in searchInTree()
507 pair = new Object[2]; in searchInTree()
508 countToPatterns.put(srcPluralCount, pair); in searchInTree()
[all...]
/foundation/ability/ability_runtime/services/abilitymgr/include/utils/
H A Ddump_utils.h94 * @return The pair of the dump result and the dump key.
96 static std::pair<bool, DumpUtils::DumpKey> DumpMapOne(std::string argString);
102 * @return The pair of the dump result and the dump key.
104 static std::pair<bool, DumpUtils::DumpKey> DumpMapTwo(std::string argString);
110 * @return The pair of the dump result and the dump key.
112 static std::pair<bool, DumpUtils::DumpKey> DumpMap(std::string argString);
118 * @return The pair of the dump result and the dump key.
120 static std::pair<bool, DumpUtils::DumpsysKey> DumpsysMap(std::string argString);
/third_party/node/test/parallel/
H A Dtest-crypto-private-decrypt-gh32240.js17 const pair = generateKeyPairSync('rsa', { modulusLength: 512 });
20 const encrypted = publicEncrypt(pair.publicKey, expected);
22 const pkey = pair.privateKey.export({ type: 'pkcs1', format: 'pem' });
24 pair.privateKey.export({
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_repeat_virtual_scroll.cpp68 JSRef<JSArray> pair = templateOptsArray->GetValueAt(i); in ParseAndVerifyParams() local
69 if (!pair->GetValueAt(0)->IsString()) { in ParseAndVerifyParams()
72 if (!pair->GetValueAt(1)->IsObject()) { in ParseAndVerifyParams()
75 auto type = pair->GetValueAt(0)->ToString(); in ParseAndVerifyParams()
76 auto opts = JSRef<JSObject>::Cast(pair->GetValueAt(1)); in ParseAndVerifyParams()
105 std::map<std::string, std::pair<bool, uint32_t>> templateCachedCountMap; in Create()
107 JSRef<JSArray> pair = templateOptsArray->GetValueAt(i); in Create() local
108 auto type = pair->GetValueAt(0)->ToString(); in Create()
109 auto opts = JSRef<JSObject>::Cast(pair->GetValueAt(1)); in Create()
113 ? std::pair<boo in Create()
[all...]
/third_party/littlefs/
H A Dlfs.c286 static inline void lfs_pair_swap(lfs_block_t pair[2]) { in lfs_pair_swap() argument
287 lfs_block_t t = pair[0]; in lfs_pair_swap()
288 pair[0] = pair[1]; in lfs_pair_swap()
289 pair[1] = t; in lfs_pair_swap()
292 static inline bool lfs_pair_isnull(const lfs_block_t pair[2]) { in lfs_pair_isnull() argument
293 return pair[0] == LFS_BLOCK_NULL || pair[1] == LFS_BLOCK_NULL; in lfs_pair_isnull()
310 static inline void lfs_pair_fromle32(lfs_block_t pair[2]) { in lfs_pair_fromle32() argument
311 pair[ in lfs_pair_fromle32()
316 lfs_pair_tole32(lfs_block_t pair[2]) lfs_pair_tole32() argument
424 lfs_gstate_hasmovehere(const lfs_gstate_t *a, const lfs_block_t *pair) lfs_gstate_hasmovehere() argument
1072 lfs_dir_fetchmatch(lfs_t *lfs, lfs_mdir_t *dir, const lfs_block_t pair[2], lfs_tag_t fmask, lfs_tag_t ftag, uint16_t *id, int (*cb)(void *data, lfs_tag_t tag, const void *buffer), void *data) lfs_dir_fetchmatch() argument
1351 lfs_dir_fetch(lfs_t *lfs, lfs_mdir_t *dir, const lfs_block_t pair[2]) lfs_dir_fetch() argument
2179 lfs_dir_relocatingcommit(lfs_t *lfs, lfs_mdir_t *dir, const lfs_block_t pair[2], const struct lfs_mattr *attrs, int attrcount, lfs_mdir_t *pdir) lfs_dir_relocatingcommit() argument
2673 lfs_block_t pair[2]; lfs_dir_rawopen() local
3836 lfs_block_t pair[2]; global() local
4645 lfs_fs_pred(lfs_t *lfs, const lfs_block_t pair[2], lfs_mdir_t *pdir) global() argument
4684 const lfs_block_t pair[2]; global() member
4710 lfs_fs_parent(lfs_t *lfs, const lfs_block_t pair[2], lfs_mdir_t *parent) global() argument
4765 lfs_fs_prepmove(lfs_t *lfs, uint16_t id, const lfs_block_t pair[2]) global() argument
4887 lfs_block_t pair[2]; global() local
5140 lfs_block_t pair[2]; global() member
5238 lfs1_dir_fetch(lfs_t *lfs, lfs1_dir_t *dir, const lfs_block_t pair[2]) global() argument
[all...]
/third_party/skia/third_party/externals/spirv-tools/test/
H A Denum_string_mapping_test.cpp34 ::testing::TestWithParam<std::pair<Extension, std::string>>;
37 ::testing::TestWithParam<std::pair<SpvCapability, std::string>>;
40 const std::pair<Extension, std::string>& param = GetParam(); in TEST_P()
49 const std::pair<Extension, std::string>& param = GetParam(); in TEST_P()
62 const std::pair<SpvCapability, std::string>& param = GetParam(); in TEST_P()
71 ValuesIn(std::vector<std::pair<Extension, std::string>>({
102 ValuesIn(std::vector<std::pair<SpvCapability, std::string>>(
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
H A Denum_string_mapping_test.cpp34 ::testing::TestWithParam<std::pair<Extension, std::string>>;
37 ::testing::TestWithParam<std::pair<SpvCapability, std::string>>;
40 const std::pair<Extension, std::string>& param = GetParam(); in TEST_P()
49 const std::pair<Extension, std::string>& param = GetParam(); in TEST_P()
62 const std::pair<SpvCapability, std::string>& param = GetParam(); in TEST_P()
71 ValuesIn(std::vector<std::pair<Extension, std::string>>({
102 ValuesIn(std::vector<std::pair<SpvCapability, std::string>>(
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
H A DvktSynchronizationTests.cpp94 const std::pair<std::string, std::string> getGroupName (SynchronizationType type, VideoCodecOperationFlags videoCodecOperation) in getGroupName()
102 return std::pair<std::string, std::string>(groupName[isSynchronization2], groupDescription[isSynchronization2]); in getGroupName()
108 case vk::VK_VIDEO_CODEC_OPERATION_ENCODE_H264_BIT_EXT: return std::pair<std::string, std::string>("encode_h264", ""); in getGroupName()
109 case vk::VK_VIDEO_CODEC_OPERATION_ENCODE_H265_BIT_EXT: return std::pair<std::string, std::string>("encode_h265", ""); in getGroupName()
110 case vk::VK_VIDEO_CODEC_OPERATION_DECODE_H264_BIT_KHR: return std::pair<std::string, std::string>("decode_h264", ""); in getGroupName()
111 case vk::VK_VIDEO_CODEC_OPERATION_DECODE_H265_BIT_KHR: return std::pair<std::string, std::string>("decode_h265", ""); in getGroupName()
122 const std::pair<std::string, std::string> groupName = getGroupName(type, videoCodecOperation); in createTestsInternal()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_form.cpp35 bool DOMForm::SetSpecializedAttr(const std::pair<std::string, std::string>& attr) in SetSpecializedAttr()
73 const auto& pair = formValue->GetFormValue(); in Submit() local
74 if (pair.first.empty()) { in Submit()
77 json->Put(pair.first.c_str(), pair.second.c_str()); in Submit()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/
H A Dlru_map.h79 std::pair<K, V> entry = {key, val}; in Elimination()
82 std::pair<K, V> &pair = eliminationChain_.front(); in Elimination() local
83 cache_.erase(pair.first); in Elimination()
91 std::deque<std::pair<K, V>> eliminationChain_;
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/
H A Dtrans_db.h27 std::pair<int, int64_t> Insert(const std::string &table, const Row &row, Resolution resolution) override;
28 std::pair<int, int64_t> BatchInsert(const std::string &table, const RefRows &rows) override;
29 std::pair<int, int> Update(const std::string &table, const Row &row, const std::string &where, const Values &args,
34 std::pair<int32_t, ValueObject> Execute(const std::string &sql, const Values &args, int64_t trxId) override;
40 std::pair<int32_t, std::shared_ptr<Statement>> GetStatement(const std::string &sql) const;
/third_party/gn/src/gn/
H A Dcommand_outputs.cc119 for (const TargetContainingFile& pair : targets) { in RunOutputs()
120 if (pair.second == HowTargetContainsFile::kInputs) { in RunOutputs()
122 target_matches.push_back(pair.first); in RunOutputs()
123 } else if (pair.second == HowTargetContainsFile::kSources) { in RunOutputs()
127 pair.first->GetOutputFilesForSource(file, &computed_tool, in RunOutputs()
/foundation/resourceschedule/resource_schedule_service/ressched_executor/plugins/socperf_executor_plugin/framework/src/
H A Dsocperf_executor_config.cpp183 char* pair = reinterpret_cast<char*>(xmlGetProp(grandson, reinterpret_cast<const xmlChar*>("pair"))); in TraversalFreqResource() local
186 if (!CheckResourceTag(id, name, pair, mode, persistMode, configFile)) { in TraversalFreqResource()
189 xmlFree(pair); in TraversalFreqResource()
198 xmlFree(pair); in TraversalFreqResource()
205 pair ? atoi(pair) : INVALID_VALUE, persistMode ? atoi(persistMode) : 0); in TraversalFreqResource()
208 xmlFree(pair); in TraversalFreqResource()
257 resourceNodeInfo_.insert(std::pair<int32_t, std::shared_ptr<ResNode>>(resNode->id, resNode)); in LoadFreqResourceContent()
293 resourceNodeInfo_.insert(std::pair<int32_ in LoadGovResource()
373 CheckResourceTag(const char* id, const char* name, const char* pair, const char* mode, const char* persistMode, const std::string& configFile) const CheckResourceTag() argument
[all...]

Completed in 19 milliseconds

12345678910>>...184