Home
last modified time | relevance | path

Searched refs:pair (Results 376 - 400 of 4582) sorted by relevance

1...<<11121314151617181920>>...184

/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
H A Dhash_function_defaults_test.cc287 std::pair<absl::Cord, std::string>,
288 std::pair<absl::Cord, absl::string_view>,
289 std::pair<absl::Cord, absl::Cord>,
290 std::pair<absl::Cord, const char*>,
292 std::pair<std::string, absl::Cord>,
293 std::pair<absl::string_view, absl::Cord>,
295 std::pair<absl::string_view, std::string>,
296 std::pair<absl::string_view, absl::string_view>,
297 std::pair<absl::string_view, const char*>>;
/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/
H A Drepeat_virtual_scroll_caches.h52 RepeatVirtualScrollCaches(const std::map<std::string, std::pair<bool, uint32_t>>& cacheCountL24ttype,
101 * cbFunc return true, [index, key] pair stays in L1 (index remains unchanged)
158 std::pair<uint32_t, uint32_t> GetLastActiveRange() { return lastActiveRanges_[0]; }; in GetLastActiveRange()
208 * pair.first: is this key a L1 item,
209 * pair.second: key
211 void FindUnusedKeys(std::set<std::pair<bool, std::string>>& result) const;
267 std::map<std::string, std::pair<bool, uint32_t>> cacheCountL24ttype_;
288 std::pair<uint32_t, uint32_t> lastActiveRanges_[2] = { { 0, 0 }, { 0, 0 } };
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/
H A Drs_profiler_file.h38 std::pair<uint32_t, uint32_t> layerHeader; // to put in GLOBAL HEADER
42 using TrackMarkup = std::vector<std::pair<uint32_t, uint32_t>>;
75 const std::vector<std::pair<uint64_t, int64_t>>& GetAnimeStartTimes() const;
76 void AddAnimeStartTimes(const std::vector<std::pair<uint64_t, int64_t>>& startTimes);
183 std::vector<std::pair<uint64_t, int64_t>> headerAnimeStartTimes_;
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rslineargradientblurshaderfilter_fuzzer/
H A Drslineargradientblurshaderfilter_fuzzer.cpp94 std::vector<std::pair<float, float>> fractionStops = { in DoCreateRSLinearGradientBlurShaderFilter()
116 std::vector<std::pair<float, float>> fractionStops = { in DoGenerateGEVisualEffect()
144 std::vector<std::pair<float, float>> fractionStops = { in DoSetGeometry()
172 std::vector<std::pair<float, float>> fractionStops = { in DoIsOffscreenCanvas()
200 std::vector<std::pair<float, float>> fractionStops = { in DoGetLinearGradientBlurRadius()
/kernel/linux/linux-5.10/drivers/ide/
H A Dide-pm.c9 ide_drive_t *pair = ide_get_pair_dev(drive); in generic_ide_suspend() local
17 if ((drive->dn & 1) == 0 || pair == NULL) in generic_ide_suspend()
36 if ((drive->dn & 1) || pair == NULL) in generic_ide_suspend()
61 ide_drive_t *pair = ide_get_pair_dev(drive); in generic_ide_resume() local
71 if ((drive->dn & 1) == 0 || pair == NULL) { in generic_ide_resume()
/third_party/jerryscript/jerry-core/ext/
H A Dheapdump.c176 void DumpPropertyPair(ecma_property_pair_t* pair) in DumpPropertyPair() argument
178 ecma_property_header_t* header = (ecma_property_header_t*)pair; in DumpPropertyPair()
188 pair->names_cp[i]); in DumpPropertyPair()
194 ecma_value_t value = pair->values[i].value; in DumpPropertyPair()
207 ecma_property_value_t* accessor_objs_p = pair->values + i; in DumpPropertyPair()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
H A Dflat_hash_map.h107 class Allocator = std::allocator<std::pair<const K, V>>>
152 // std::vector<std::pair<int, std::string>> v = {{1, "a"}, {2, "b"}};
249 // std::pair<iterator,bool> insert(const init_type& value):
251 // Inserts a value into the `flat_hash_map`. Returns a pair consisting of an
255 // std::pair<iterator,bool> insert(T&& value):
256 // std::pair<iterator,bool> insert(init_type&& value):
258 // Inserts a moveable value into the `flat_hash_map`. Returns a pair
298 // pair<iterator, bool> insert_or_assign(const init_type& k, T&& obj):
299 // pair<iterator, bool> insert_or_assign(init_type&& k, T&& obj):
352 // pair<iterato
[all...]
/third_party/ffmpeg/libavutil/
H A Dhwcontext_qsv.c799 mfxHDLPair *pair = (mfxHDLPair*)src_hwctx->surfaces[i].Data.MemId; in qsv_frames_derive_from() local
800 dst_hwctx->surface_ids[i] = *(VASurfaceID*)pair->first; in qsv_frames_derive_from()
819 mfxHDLPair *pair = (mfxHDLPair*)src_hwctx->surfaces[i].Data.MemId; in qsv_frames_derive_from() local
820 dst_hwctx->texture_infos[i].texture = (ID3D11Texture2D*)pair->first; in qsv_frames_derive_from()
821 dst_hwctx->texture_infos[i].index = pair->second == (mfxMemId)MFX_INFINITE ? (intptr_t)0 : (intptr_t)pair->second; in qsv_frames_derive_from()
837 mfxHDLPair *pair = (mfxHDLPair*)src_hwctx->surfaces[i].Data.MemId; in qsv_frames_derive_from() local
838 dst_hwctx->surfaces[i] = (IDirect3DSurface9*)pair->first; in qsv_frames_derive_from()
874 mfxHDLPair *pair = (mfxHDLPair*)surf->Data.MemId; in qsv_map_from() local
875 /* pair in qsv_map_from()
886 mfxHDLPair *pair = (mfxHDLPair*)surf->Data.MemId; qsv_map_from() local
894 mfxHDLPair *pair = (mfxHDLPair*)surf->Data.MemId; qsv_map_from() local
913 mfxHDLPair *pair = (mfxHDLPair*)surf->Data.MemId; qsv_map_from() local
943 mfxHDLPair *pair = (mfxHDLPair*)surf->Data.MemId; qsv_map_from() local
1351 mfxHDLPair *pair = (mfxHDLPair*)hwctx->surfaces[i].Data.MemId; qsv_map_to() local
1361 mfxHDLPair *pair = (mfxHDLPair*)hwctx->surfaces[i].Data.MemId; qsv_map_to() local
1373 mfxHDLPair *pair = (mfxHDLPair*)hwctx->surfaces[i].Data.MemId; qsv_map_to() local
[all...]
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/recording/drawcmd_fuzzer/
H A Ddrawcmd_fuzzer.cpp56 std::pair<const void*, size_t> cmdListData; in DrawCmdFuzzTest001()
92 std::pair<const void*, size_t> cmdListData; in DrawCmdFuzzTest002()
136 std::pair<const void*, size_t> cmdListData; in DrawCmdFuzzTest003()
176 std::pair<const void*, size_t> cmdListData; in DrawCmdFuzzTest004()
216 std::pair<const void*, size_t> cmdListData; in DrawCmdFuzzTest005()
259 std::pair<const void*, size_t> cmdListData; in DrawCmdFuzzTest006()
298 std::pair<const void*, size_t> cmdListData; in DrawCmdFuzzTest007()
352 std::pair<const void*, size_t> cmdListData; in DrawCmdFuzzTest008()
398 std::pair<const void*, size_t> cmdListData; in DrawCmdFuzzTest009()
402 std::pair<uint32_ in DrawCmdFuzzTest009()
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Drdb_store.cpp105 std::pair<int, int64_t> RdbStore::Insert(const std::string &table, const Row &row, Resolution resolution) in Insert()
154 std::pair<int, int64_t> RdbStore::BatchInsert(const std::string &table, const RefRows &rows) in BatchInsert()
159 std::pair<int, int> RdbStore::Update(const std::string &table, const Row &row, const std::string &where, in Update()
237 std::pair<bool, bool> queryStatus = { ColHasSpecificField(columns), predicates.HasSpecificField() }; in Query()
281 std::pair<int32_t, std::shared_ptr<ResultSet>> RdbStore::QuerySharingResource(const AbsRdbPredicates &predicates, in QuerySharingResource()
295 std::pair<int32_t, ValueObject> RdbStore::Execute(const std::string &sql, const Values &args, int64_t trxId) in Execute()
358 std::pair<int32_t, std::shared_ptr<Transaction>> RdbStore::CreateTransaction(int32_t type) in CreateTransaction()
369 std::pair<int, int64_t> RdbStore::BeginTrans() in BeginTrans()
528 std::pair<int32_t, uint32_t> RdbStore::LockCloudContainer() in LockCloudContainer()
570 std::pair<int32_
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_ctl.c52 struct mdp5_ctl *pair; /* Paired CTL to be flushed together */ member
490 if (ctl->pair) { in fix_for_single_flush()
496 if (ctl->pair->flush_pending) { in fix_for_single_flush()
497 *flush_id = min_t(u32, ctl->id, ctl->pair->id); in fix_for_single_flush()
501 ctl->pair->flush_pending = false; in fix_for_single_flush()
594 ctlx->pair = NULL; in mdp5_ctl_pair()
595 ctly->pair = NULL; in mdp5_ctl_pair()
598 } else if ((ctlx->pair != NULL) || (ctly->pair != NULL)) { in mdp5_ctl_pair()
602 DRM_DEV_ERROR(ctl_mgr->dev->dev, "Only pair booke in mdp5_ctl_pair()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_ctl.c52 struct mdp5_ctl *pair; /* Paired CTL to be flushed together */ member
492 if (ctl->pair) { in fix_for_single_flush()
498 if (ctl->pair->flush_pending) { in fix_for_single_flush()
499 *flush_id = min_t(u32, ctl->id, ctl->pair->id); in fix_for_single_flush()
503 ctl->pair->flush_pending = false; in fix_for_single_flush()
603 ctlx->pair = NULL; in mdp5_ctl_pair()
604 ctly->pair = NULL; in mdp5_ctl_pair()
607 } else if ((ctlx->pair != NULL) || (ctly->pair != NULL)) { in mdp5_ctl_pair()
611 DRM_DEV_ERROR(ctl_mgr->dev->dev, "Only pair booke in mdp5_ctl_pair()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll/
H A Dscroll_model_ng.h45 void InitScrollBar(const RefPtr<ScrollBarTheme>& theme, const std::pair<bool, Color>& color,
46 const std::pair<bool, Dimension>& width, EdgeEffect effect) override;
57 const std::vector<Dimension>& snapPaginations, const std::pair<bool, bool>& enableSnapToSide) override;
71 const std::vector<Dimension>& snapPaginations, const std::pair<bool, bool>& enableSnapToSide);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/top_down/
H A Dwater_flow_layout_info.h120 float JumpToTargetAlign(const std::pair<float, float>& item) const;
121 void JumpTo(const std::pair<float, float>& item);
201 using ItemMap = std::map<int32_t, std::map<int32_t, std::pair<float, float>>>;
210 * @brief pair = { item bottom position, item index }.
214 std::vector<std::pair<float, int32_t>> endPosArray_;
/foundation/bundlemanager/app_domain_verify/frameworks/common/include/httpsession/
H A Dffrt_safe_map.h92 * @param key Indicates the key of the key-value (KV) pair to insert.
93 * @param value Indicates the value of the KV pair to insert.
94 * @return Returns <b>true</b> if the KV pair is inserted; returns
100 auto ret = map_.insert(std::pair<K, V>(key, value)); in Insert()
107 * @param key Indicates the key of the KV pair to insert.
108 * @param value Indicates the value of the KV pair to insert.
110 * the KV pair to ensure that the value is inserted.
115 auto ret = map_.insert(std::pair<K, V>(key, value)); in EnsureInsert()
119 map_.insert(std::pair<K, V>(key, value)); in EnsureInsert()
129 * @param value Indicates the value of the KV pair t
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/
H A Drs_implicit_animator.h65 std::vector<std::pair<std::shared_ptr<RSAnimation>, NodeId>> CloseInterActiveImplicitAnimation(
115 std::stack<std::vector<std::pair<std::shared_ptr<RSAnimation>, NodeId>>> implicitAnimations_;
116 std::stack<std::map<std::pair<NodeId, PropertyId>, std::shared_ptr<RSAnimation>>> keyframeAnimations_;
121 std::stack<std::vector<std::pair<std::shared_ptr<RSAnimation>, NodeId>>> interactiveImplicitAnimations_;
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/
H A Dstream_manager.cpp45 int streamType, std::pair<uint8_t*, uint32_t> sessionKey) in CreateStreamClientChannel()
61 socketMap_.insert(std::pair<Proto, std::shared_ptr<IStreamSocket>>(curProtocol_, streamSocket)); in CreateStreamClientChannel()
76 int streamType, std::pair<uint8_t*, uint32_t> sessionKey) in CreateStreamServerChannel()
95 socketMap_.insert(std::pair<Proto, std::shared_ptr<IStreamSocket>>(curProtocol_, streamSocket)); in CreateStreamServerChannel()
H A Di_stream_socket.h67 std::pair<uint8_t*, uint32_t> sessionKey) = 0; // socket + bind
69 std::pair<uint8_t*, uint32_t> sessionKey) = 0;
70 virtual bool CreateServer(IpAndPort &local, int streamType, std::pair<uint8_t*, uint32_t> sessionKey) = 0;
148 std::pair<uint8_t*, uint32_t> sessionKey_ = std::make_pair(nullptr, 0);
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/mock/
H A Dgeneral_store_mock.h37 std::pair<int32_t, std::shared_ptr<Cursor>> Query(const std::string &table, const std::string &sql,
39 std::pair<int32_t, std::shared_ptr<Cursor>> Query(const std::string &table, GenQuery &query) override;
41 std::pair<int32_t, std::shared_ptr<Cursor>> PreSharing(GenQuery &query) override;
56 std::pair<int32_t, uint32_t> LockCloudDB() override;
H A Dgeneral_store_mock.cpp67 std::pair<int32_t, std::shared_ptr<Cursor>> GeneralStoreMock::Query(const std::string &table, GenQuery &query) in Query()
77 std::pair<int32_t, std::shared_ptr<Cursor>> GeneralStoreMock::PreSharing(GenQuery &query) in PreSharing()
137 std::pair<int32_t, std::shared_ptr<Cursor>> GeneralStoreMock::Query(const std::string &table, const std::string &sql, in Query()
154 std::pair<int32_t, uint32_t> GeneralStoreMock::LockCloudDB() in LockCloudDB()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/
H A Ddb_delegate.h37 virtual std::pair<int, std::shared_ptr<DataShareResultSet>> Query(const std::string &tableName,
46 virtual std::pair<int64_t, int64_t> InsertEx(const std::string &tableName,
48 virtual std::pair<int64_t, int64_t> UpdateEx(const std::string &tableName,
50 virtual std::pair<int64_t, int64_t> DeleteEx(const std::string &tableName,
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/multiThread/
H A Drdb_connection_rd_test.cpp118 std::pair<int, int64_t> res; in HWTEST_F()
129 std::pair<int, int64_t> res; in HWTEST_F()
154 std::pair<int, int64_t> res; in HWTEST_F()
165 std::pair<int, int64_t> res; in HWTEST_F()
/kernel/linux/linux-5.10/drivers/ata/
H A Dpata_cs5535.c94 struct ata_device *pair = ata_dev_pair(adev); in cs5535_set_piomode() local
99 /* Command timing has to be for the lowest of the pair of devices */ in cs5535_set_piomode()
100 if (pair) { in cs5535_set_piomode()
101 int pairmode = pair->pio_mode - XFER_PIO_0; in cs5535_set_piomode()
105 wrmsr(ATAC_CH0D0_PIO + 2 * pair->devno, in cs5535_set_piomode()
/kernel/linux/linux-6.6/drivers/ata/
H A Dpata_cs5535.c94 struct ata_device *pair = ata_dev_pair(adev); in cs5535_set_piomode() local
99 /* Command timing has to be for the lowest of the pair of devices */ in cs5535_set_piomode()
100 if (pair) { in cs5535_set_piomode()
101 int pairmode = pair->pio_mode - XFER_PIO_0; in cs5535_set_piomode()
105 wrmsr(ATAC_CH0D0_PIO + 2 * pair->devno, in cs5535_set_piomode()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationTests.cpp94 const std::pair<std::string, std::string> getGroupName (SynchronizationType type, const std::string& name, VideoCodecOperationFlags videoCodecOperation) in getGroupName()
101 return std::pair<std::string, std::string>(name, groupDescription[isSynchronization2]); in getGroupName()
105 return std::pair<std::string, std::string>(name, ""); in getGroupName()
114 const std::pair<std::string, std::string> groupName = getGroupName(type, name, videoCodecOperation); in createTestsInternal()

Completed in 15 milliseconds

1...<<11121314151617181920>>...184