/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/multiver/ |
H A D | multi_ver_sync_task_context.cpp | 97 void MultiVerSyncTaskContext::SetCommitIndex(int index) in SetCommitIndex() argument 99 commitsIndex_ = index; in SetCommitIndex() 107 void MultiVerSyncTaskContext::SetEntriesIndex(int index) in SetEntriesIndex() argument 109 entriesIndex_ = index; in SetEntriesIndex() 117 void MultiVerSyncTaskContext::SetValueSlicesIndex(int index) in SetValueSlicesIndex() argument 119 valueSlicesIndex_ = index; in SetValueSlicesIndex() 132 void MultiVerSyncTaskContext::GetCommit(int index, MultiVerCommitNode &commit) const in GetCommit() argument 134 commit = commits_[index]; in GetCommit() 137 void MultiVerSyncTaskContext::SetCommit(int index, const MultiVerCommitNode &commit) in SetCommit() argument 139 commits_[index] in SetCommit() 164 GetEntry(int index, MultiVerKvEntry *&entry) GetEntry() argument 199 GetValueSliceHashNode(int index, ValueSliceHash &hashNode) const GetValueSliceHashNode() argument [all...] |
/kernel/linux/linux-5.10/tools/virtio/ringtest/ |
H A D | ring.c | 6 * Simple descriptor-based ring. virtio 0.9 compatible event index is used for 27 * Guest adds descriptors with unique index values and DESC_HW in flags. 28 * Host overwrites used descriptors with correct len, index, and DESC_HW clear. 35 unsigned short index; member 68 /* we do not need to track last avail index 99 .index = i, in alloc_ring() 114 unsigned head, index; in add_inbuf() local 133 index = ring[head].index; in add_inbuf() 134 data[index] in add_inbuf() 146 unsigned index; get_buf() local [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | of_address.h | 62 extern int of_address_to_resource(struct device_node *dev, int index, 64 extern void __iomem *of_iomap(struct device_node *device, int index); 66 int index, const char *name); 70 * instead of an absolute index 72 extern const __be32 *__of_get_address(struct device_node *dev, int index, int bar_no, 89 extern int of_range_to_resource(struct device_node *np, int index, 94 int index, const char *name) in of_io_request_and_map() 105 static inline const __be32 *__of_get_address(struct device_node *dev, int index, int bar_no, in __of_get_address() argument 148 static inline int of_range_to_resource(struct device_node *np, int index, in of_range_to_resource() argument 161 extern int of_address_to_resource(struct device_node *dev, int index, 93 of_io_request_and_map(struct device_node *device, int index, const char *name) of_io_request_and_map() argument 165 of_address_to_resource(struct device_node *dev, int index, struct resource *r) of_address_to_resource() argument 171 of_iomap(struct device_node *device, int index) of_iomap() argument 178 of_get_address(struct device_node *dev, int index, u64 *size, unsigned int *flags) of_get_address() argument [all...] |
/kernel/linux/linux-6.6/tools/virtio/ringtest/ |
H A D | ring.c | 6 * Simple descriptor-based ring. virtio 0.9 compatible event index is used for 27 * Guest adds descriptors with unique index values and DESC_HW in flags. 28 * Host overwrites used descriptors with correct len, index, and DESC_HW clear. 35 unsigned short index; member 68 /* we do not need to track last avail index 99 .index = i, in alloc_ring() 114 unsigned head, index; in add_inbuf() local 133 index = ring[head].index; in add_inbuf() 134 data[index] in add_inbuf() 146 unsigned index; get_buf() local [all...] |
/test/testfwk/developer_test/src/core/command/ |
H A D | display.py | 221 for index, element in enumerate(productform_list): 222 print("%d. %s" % (index + 1, element)) 288 for index, element in enumerate(productform_list): 289 print(" %d. %s" % (index + 1, element)) 299 for index, element in enumerate(testtype_list): 300 print(" %d. %s" % (index + 1, element)) 314 for index, element in enumerate(subsystem_name_list): 315 print(" %d. %s" % (index + 1, element)) 326 for index, element in enumerate(sub_list): 327 print(" %d. %s" % (index [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/patternlock/ |
H A D | patternlock_modifier.cpp | 363 auto index = (x - 1) * PATTERN_LOCK_COL_COUNT + y - 1; in PaintLockCircle() local 365 PaintCircle(canvas, offsetX, offsetY, GetBackgroundCircleRadius(index), ToRSColor(activeCircleColor)); in PaintLockCircle() 366 PaintLightRing(canvas, offsetX, offsetY, GetLightRingCircleRadius(index), GetLightRingAlphaF(index)); in PaintLockCircle() 368 CheckIsHoverAndPaint(canvas, offsetX, offsetY, GetActiveCircleRadius(index), index); in PaintLockCircle() 370 PaintCircle(canvas, offsetX, offsetY, GetActiveCircleRadius(index), ToRSColor(activeColor)); in PaintLockCircle() 373 PaintCircle(canvas, offsetX, offsetY, GetActiveCircleRadius(index), ToRSColor(pointAnimateColor)); in PaintLockCircle() 375 PaintCircle(canvas, offsetX, offsetY, GetActiveCircleRadius(index), ToRSColor(selectedColor)); in PaintLockCircle() 379 CheckIsHoverAndPaint(canvas, offsetX, offsetY, circleRadius, index); in PaintLockCircle() 384 CheckIsHoverAndPaint( RSCanvas& canvas, float offsetX, float offsetY, float radius, int32_t index) CheckIsHoverAndPaint() argument 484 auto index = (cell.GetColumn() - 1) * PATTERN_LOCK_COL_COUNT + cell.GetRow() - 1; SetCircleRadius() local 687 SetBackgroundCircleRadius(int32_t index) SetBackgroundCircleRadius() argument 722 SetActiveCircleRadius(int32_t index) SetActiveCircleRadius() argument 742 SetLightRingCircleRadius(int32_t index) SetLightRingCircleRadius() argument 763 SetLightRingAlphaF(int32_t index) SetLightRingAlphaF() argument 838 auto index = (x - 1) * PATTERN_LOCK_COL_COUNT + y - 1; StartConnectedCircleAnimate() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_v2/swiper/ |
H A D | swiper_element.cpp | 27 renderSwiper->SetBuildChildByIndex([weak = WeakClaim(this)](int32_t index) { in CreateRenderNode() 32 return element->BuildChildByIndex(index); in CreateRenderNode() 35 renderSwiper->SetDeleteChildByIndex([weak = WeakClaim(this)](int32_t index) { in CreateRenderNode() 40 element->DeleteChildByIndex(index); in CreateRenderNode() 54 bool SwiperElement::BuildChildByIndex(int32_t index) in BuildChildByIndex() argument 56 if (index < 0) { in BuildChildByIndex() 59 auto element = GetElementByIndex(index); in BuildChildByIndex() 61 LOGE("GetElementByIndex failed index=[%d]", index); in BuildChildByIndex() 73 swiper->AddChildByIndex(index, renderNod in BuildChildByIndex() 77 DeleteChildByIndex(int32_t index) DeleteChildByIndex() argument [all...] |
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/txt/ |
H A D | typeface_font_asset_provider.cpp | 33 std::string TypefaceFontAssetProvider::GetFamilyName(int index) const in GetFamilyName() 36 if ((index < 0) || (index >= static_cast<int>(familyNames_.size()))) { in GetFamilyName() 37 TEXT_LOGW("Invalid index:%{public}d", index); in GetFamilyName() 40 return familyNames_[index]; in GetFamilyName() 119 void TypefaceFontStyleSet::getStyle(int index, SkFontStyle* style, SkString* name) in getStyle() argument 121 SkASSERT(static_cast<size_t>(index) < typefaces_.size()); in getStyle() 122 if (static_cast<size_t>(index) >= typefaces_.size()) { in getStyle() 126 *style = typefaces_[index] in getStyle() 133 createTypeface(int index) createTypeface() argument [all...] |
/foundation/multimedia/media_foundation/engine/pipeline/filters/demux/ |
H A D | data_packer.h | 61 int32_t index; // Buffer index, -1 means this Position is invalid member 65 Position(int32_t index, uint32_t bufferOffset, uint64_t mediaOffset) noexcept 67 this->index = index; 74 if (index < 0 || other.index < 0) { // Position invalid in operator <() 77 if (index != other.index) { in operator <() 78 return index < othe in operator <() [all...] |
/foundation/multimedia/camera_framework/frameworks/native/ndk/impl/ |
H A D | metadata_output_impl.cpp | 62 for (size_t index = 0; index < size; index++) { 63 if (MetadataObjectType::FACE == metaObjects[index]->GetType()) { 64 object[index].type = Camera_MetadataObjectType::FACE_DETECTION; 66 object[index].timestamp = metaObjects[index]->GetTimestamp(); 67 boundingBox.topLeftX = metaObjects[index]->GetBoundingBox().topLeftX; 68 boundingBox.topLeftY = metaObjects[index]->GetBoundingBox().topLeftY; 69 boundingBox.width = metaObjects[index] [all...] |
/foundation/communication/dsoftbus/tests/core/common/dfx/log/unittest/src/ |
H A D | conn_log_test.cpp | 40 int32_t index = 0; in HWTEST_F() local 43 ExpectMatchSoftBusLogAttrs(CONN_LABELS[index], CONN_INIT, connDomainBase, "ConnInit"); in HWTEST_F() 44 ExpectMatchSoftBusLogAttrs(CONN_LABELS[++index], CONN_BLE, ++connDomainBase, "ConnBle"); in HWTEST_F() 45 ExpectMatchSoftBusLogAttrs(CONN_LABELS[++index], CONN_BR, ++connDomainBase, "ConnBr"); in HWTEST_F() 46 ExpectMatchSoftBusLogAttrs(CONN_LABELS[++index], CONN_COMMON, ++connDomainBase, "ConnCommon"); in HWTEST_F() 47 ExpectMatchSoftBusLogAttrs(CONN_LABELS[++index], CONN_WIFI_DIRECT, ++connDomainBase, "ConnWD"); in HWTEST_F() 48 ExpectMatchSoftBusLogAttrs(CONN_LABELS[++index], CONN_NEARBY, ++connDomainBase, "ConnNearby"); in HWTEST_F() 49 ExpectMatchSoftBusLogAttrs(CONN_LABELS[++index], CONN_BLE_DIRECT, ++connDomainBase, "ConnBD"); in HWTEST_F() 50 ExpectMatchSoftBusLogAttrs(CONN_LABELS[++index], CONN_BROADCAST, ++connDomainBase, "ConnBC"); in HWTEST_F() 51 ExpectMatchSoftBusLogAttrs(CONN_LABELS[++index], CONN_NEWI in HWTEST_F() [all...] |
H A D | lnn_log_test.cpp | 40 int32_t index = 0; in HWTEST_F() local 43 ExpectMatchSoftBusLogAttrs(LNN_LABELS[index], LNN_INIT, lnnDomainBase, "LnnInit"); in HWTEST_F() 44 ExpectMatchSoftBusLogAttrs(LNN_LABELS[++index], LNN_HEART_BEAT, ++lnnDomainBase, "LnnHeartBeat"); in HWTEST_F() 45 ExpectMatchSoftBusLogAttrs(LNN_LABELS[++index], LNN_LEDGER, ++lnnDomainBase, "LnnLedger"); in HWTEST_F() 46 ExpectMatchSoftBusLogAttrs(LNN_LABELS[++index], LNN_BUILDER, ++lnnDomainBase, "LnnBuilder"); in HWTEST_F() 47 ExpectMatchSoftBusLogAttrs(LNN_LABELS[++index], LNN_LANE, ++lnnDomainBase, "LnnLane"); in HWTEST_F() 48 ExpectMatchSoftBusLogAttrs(LNN_LABELS[++index], LNN_QOS, ++lnnDomainBase, "LnnQos"); in HWTEST_F() 49 ExpectMatchSoftBusLogAttrs(LNN_LABELS[++index], LNN_EVENT, ++lnnDomainBase, "LnnEvent"); in HWTEST_F() 50 ExpectMatchSoftBusLogAttrs(LNN_LABELS[++index], LNN_STATE, ++lnnDomainBase, "LnnState"); in HWTEST_F() 51 ExpectMatchSoftBusLogAttrs(LNN_LABELS[++index], LNN_META_NOD in HWTEST_F() [all...] |
/foundation/distributeddatamgr/preferences/test/js/performance/preferences/src/ |
H A D | PreferencesOperationCallBackJsPref.test.js | 16 import {beforeAll, beforeEach, describe, afterEach, afterAll, expect, it} from 'deccjsunit/index'; 58 function preferencePutCallbackPerfTest(index) { 60 if (index < BASE_COUNT) { 61 preferencePutCallbackPerfTest(index + 1); 80 function preferenceGetCallbackPerfTest(index) { 82 if (index < BASE_COUNT) { 83 preferenceGetCallbackPerfTest(index + 1); 102 function preferenceHasCallbackPerfTest(index) { 104 if (index < BASE_COUNT) { 105 preferenceHasCallbackPerfTest(index [all...] |
H A D | PreferencesOperationSyncJsPref.test.js | 16 import {beforeAll, beforeEach, describe, afterEach, afterAll, expect, it} from 'deccjsunit/index'; 56 for (let index = 0; index < BASE_COUNT; index++) { 70 for (let index = 0; index < BASE_COUNT; index++) { 84 for (let index = 0; index < BASE_COUNT; index [all...] |
H A D | PreferencesOperationPromiseJsPref.test.js | 16 import {beforeAll, beforeEach, describe, afterEach, afterAll, expect, it} from 'deccjsunit/index'; 56 for (let index = 0; index < BASE_COUNT; index++) { 70 for (let index = 0; index < BASE_COUNT; index++) { 84 for (let index = 0; index < BASE_COUNT; index [all...] |
/foundation/distributeddatamgr/relational_store/test/js/rdb/performance/src/ |
H A D | RdbStoreOthersCallbackPerf.js | 16 import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect, Assert} from 'deccjsunit/index'; 82 async function updateCallbackPerf(index) { 85 if (index < SPECIAL_BASE_COUNT) { 86 updateCallbackPerf(index + 1); 106 async function deleteCallbackPerf(index) { 108 if (index < BASE_COUNT) { 109 deleteCallbackPerf(index + 1) 127 async function querySqlCallbackPerf(index) { 129 if (index < BASE_COUNT) { 130 querySqlCallbackPerf(index [all...] |
/foundation/distributeddatamgr/relational_store/test/js/relationalstore/performance/src/ |
H A D | RdbStoreOthersCallbackPerf.js | 16 import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect, Assert} from 'deccjsunit/index'; 83 async function updateCallbackPerf(index) { 86 if (index < SPECIAL_BASE_COUNT) { 87 updateCallbackPerf(index + 1); 107 async function deleteCallbackPerf(index) { 109 if (index < BASE_COUNT) { 110 deleteCallbackPerf(index + 1) 128 async function querySqlCallbackPerf(index) { 130 if (index < BASE_COUNT) { 131 querySqlCallbackPerf(index [all...] |
/kernel/linux/linux-5.10/arch/powerpc/sysdev/ |
H A D | mmio_nvram.c | 24 static ssize_t mmio_nvram_read(char *buf, size_t count, loff_t *index) in mmio_nvram_read() argument 28 if (*index >= mmio_nvram_len) in mmio_nvram_read() 30 if (*index + count > mmio_nvram_len) in mmio_nvram_read() 31 count = mmio_nvram_len - *index; in mmio_nvram_read() 35 memcpy_fromio(buf, mmio_nvram_start + *index, count); in mmio_nvram_read() 39 *index += count; in mmio_nvram_read() 60 static ssize_t mmio_nvram_write(char *buf, size_t count, loff_t *index) in mmio_nvram_write() argument 64 if (*index >= mmio_nvram_len) in mmio_nvram_write() 66 if (*index + count > mmio_nvram_len) in mmio_nvram_write() 67 count = mmio_nvram_len - *index; in mmio_nvram_write() [all...] |
/kernel/linux/linux-5.10/drivers/clk/ |
H A D | clk-conf.c | 17 int index, rc, num_parents; in __set_clk_parents() local 26 for (index = 0; index < num_parents; index++) { in __set_clk_parents() 28 "#clock-cells", index, &clkspec); in __set_clk_parents() 45 index, node); in __set_clk_parents() 50 "#clock-cells", index, &clkspec); in __set_clk_parents() 63 index, node); in __set_clk_parents() 86 int rc, index = 0; in __set_clk_rates() local 93 "#clock-cells", index, in __set_clk_rates() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/sysdev/ |
H A D | mmio_nvram.c | 24 static ssize_t mmio_nvram_read(char *buf, size_t count, loff_t *index) in mmio_nvram_read() argument 28 if (*index >= mmio_nvram_len) in mmio_nvram_read() 30 if (*index + count > mmio_nvram_len) in mmio_nvram_read() 31 count = mmio_nvram_len - *index; in mmio_nvram_read() 35 memcpy_fromio(buf, mmio_nvram_start + *index, count); in mmio_nvram_read() 39 *index += count; in mmio_nvram_read() 60 static ssize_t mmio_nvram_write(char *buf, size_t count, loff_t *index) in mmio_nvram_write() argument 64 if (*index >= mmio_nvram_len) in mmio_nvram_write() 66 if (*index + count > mmio_nvram_len) in mmio_nvram_write() 67 count = mmio_nvram_len - *index; in mmio_nvram_write() [all...] |
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_bmap_btree.h | 22 #define XFS_BMBT_REC_ADDR(mp, block, index) \ 26 ((index) - 1) * sizeof(xfs_bmbt_rec_t))) 28 #define XFS_BMBT_KEY_ADDR(mp, block, index) \ 32 ((index) - 1) * sizeof(xfs_bmbt_key_t))) 34 #define XFS_BMBT_PTR_ADDR(mp, block, index, maxrecs) \ 39 ((index) - 1) * sizeof(xfs_bmbt_ptr_t))) 41 #define XFS_BMDR_REC_ADDR(block, index) \ 45 ((index) - 1) * sizeof(xfs_bmdr_rec_t))) 47 #define XFS_BMDR_KEY_ADDR(block, index) \ 51 ((index) [all...] |
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_bmap_btree.h | 22 #define XFS_BMBT_REC_ADDR(mp, block, index) \ 26 ((index) - 1) * sizeof(xfs_bmbt_rec_t))) 28 #define XFS_BMBT_KEY_ADDR(mp, block, index) \ 32 ((index) - 1) * sizeof(xfs_bmbt_key_t))) 34 #define XFS_BMBT_PTR_ADDR(mp, block, index, maxrecs) \ 39 ((index) - 1) * sizeof(xfs_bmbt_ptr_t))) 41 #define XFS_BMDR_REC_ADDR(block, index) \ 45 ((index) - 1) * sizeof(xfs_bmdr_rec_t))) 47 #define XFS_BMDR_KEY_ADDR(block, index) \ 51 ((index) [all...] |
/kernel/linux/linux-6.6/drivers/clk/ |
H A D | clk-conf.c | 17 int index, rc, num_parents; in __set_clk_parents() local 26 for (index = 0; index < num_parents; index++) { in __set_clk_parents() 28 "#clock-cells", index, &clkspec); in __set_clk_parents() 45 index, node); in __set_clk_parents() 50 "#clock-cells", index, &clkspec); in __set_clk_parents() 63 index, node); in __set_clk_parents() 86 int rc, index = 0; in __set_clk_rates() local 93 "#clock-cells", index, in __set_clk_rates() [all...] |
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | maple_tree.h | 23 __field(unsigned long, index) 32 __entry->index = mas->index; 42 (unsigned long) __entry->index, 56 __field(unsigned long, index) 65 __entry->index = mas->index; 75 (unsigned long) __entry->index, 91 __field(unsigned long, index) 102 __entry->index [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/ |
H A D | hal_com_phycfg.c | 206 /* DBG_871X("Power index base of 2.4G path %d 1Tx CCK = > 0x%x\n", path, base); */ in phy_StoreTxPowerByRateBase() 210 /* DBG_871X("Power index base of 2.4G path %d 1Tx OFDM = > 0x%x\n", path, base); */ in phy_StoreTxPowerByRateBase() 214 /* DBG_871X("Power index base of 2.4G path %d 1Tx MCS0-7 = > 0x%x\n", path, base); */ in phy_StoreTxPowerByRateBase() 218 /* DBG_871X("Power index base of 2.4G path %d 2Tx MCS8-15 = > 0x%x\n", path, base); */ in phy_StoreTxPowerByRateBase() 222 /* DBG_871X("Power index base of 2.4G path %d 3Tx MCS16-23 = > 0x%x\n", path, base); */ in phy_StoreTxPowerByRateBase() 226 /* DBG_871X("Power index base of 2.4G path %d 1Tx VHT1SS = > 0x%x\n", path, base); */ in phy_StoreTxPowerByRateBase() 230 /* DBG_871X("Power index base of 2.4G path %d 2Tx VHT2SS = > 0x%x\n", path, base); */ in phy_StoreTxPowerByRateBase() 234 /* DBG_871X("Power index base of 2.4G path %d 3Tx VHT3SS = > 0x%x\n", path, base); */ in phy_StoreTxPowerByRateBase() 238 /* DBG_871X("Power index base of 5G path %d 1Tx OFDM = > 0x%x\n", path, base); */ in phy_StoreTxPowerByRateBase() 242 /* DBG_871X("Power index bas in phy_StoreTxPowerByRateBase() 274 u8 index = 0; PHY_GetRateSectionIndexOfTxPowerByRate() local 768 u8 index = PHY_GetRateSectionIndexOfTxPowerByRate(padapter, RegAddr, BitMask); PHY_StoreTxPowerByRateOld() local 1211 u8 index = 0; PHY_GetRateIndexOfTxPowerByRate() local [all...] |