/foundation/graphic/graphic_3d/lume/metaobject/src/model/ |
H A D | composite_object_provider.cpp | 54 IObject::Ptr CompositeObjectProvider::CreateObject(const DataModelIndex& index) in CreateObject() argument 56 size_t ni = index.Index(); in CreateObject() 58 if (auto o = p->CreateObject(DataModelIndex { ni, index.GetDimensionPointer() })) { in CreateObject() 78 IObjectProvider* CompositeObjectProvider::FindProvider(size_t& index) const in FindProvider() 87 if (index < curSize) { in FindProvider() 88 index = index - prevSize; in FindProvider() 99 size_t CompositeObjectProvider::GetObjectCount(const DataModelIndex& index) const in GetObjectCount() 102 if (index.IsValid()) { in GetObjectCount() 103 size_t ni = index in GetObjectCount() 139 size_t index = CalculateIndex(provider, base.Index()); OnAddedProviderData() local 150 size_t index = CalculateIndex(provider, base.Index()); OnRemovedProviderData() local 197 size_t index = CalculateIndex(provider, 0); OnProviderAdded() local 206 size_t index = 0; CalculateIndexBase() local 232 size_t index = CalculateIndexBase(info.index); OnProviderRemoved() local 244 size_t index = 0; OnProviderMoved() local [all...] |
H A D | container_data_model.cpp | 25 META_ACCESS_EVENT(OnDataAdded)->Invoke(DataModelIndex(info.index), 1); in Build() 28 META_ACCESS_EVENT(OnDataRemoved)->Invoke(DataModelIndex(info.index), 1); in Build() 36 IMetadata::ConstPtr ContainerDataModel::GetModelData(const DataModelIndex& index) const in GetModelData() 38 return GetAt<IMetadata>(index.Index()); in GetModelData() 41 IMetadata::Ptr ContainerDataModel::GetModelData(const DataModelIndex& index) in GetModelData() argument 43 return GetAt<IMetadata>(index.Index()); in GetModelData() 46 size_t ContainerDataModel::GetSize(const DataModelIndex& index) const in GetSize()
|
/foundation/communication/dhcp/test/fuzztest/addressutils_fuzzer/ |
H A D | addressutils_fuzzer.cpp | 33 uint32_t index = 0; in NetworkAddressTest() local 34 uint32_t ip = static_cast<uint32_t>(data[index++]); in NetworkAddressTest() 41 uint32_t index = 0; in FirstIpAddressTest() local 42 uint32_t ip = static_cast<uint32_t>(data[index++]); in FirstIpAddressTest() 49 uint32_t index = 0; in NextIpAddressTest() local 50 uint32_t currIp = static_cast<uint32_t>(data[index++]); in NextIpAddressTest() 52 uint32_t offset = static_cast<uint32_t>(data[index++]); in NextIpAddressTest() 58 uint32_t index = 0; in FirstNetIpAddressTest() local 59 uint32_t networkAddr = static_cast<uint32_t>(data[index++]); in FirstNetIpAddressTest() 65 uint32_t index in LastIpAddressTest() local 73 uint32_t index = 0; IpInNetworkTest() local 82 uint32_t index = 0; IpInRangeTest() local 92 uint32_t index = 0; BroadCastAddressTest() local 166 uint32_t index = 0; HostToNetworkTest() local 173 uint32_t index = 0; NetworkToHostTest() local 186 int index = 0; AddrEquelsTest() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/ |
H A D | repeat_virtual_scroll_node.cpp | 93 int32_t index, const RefPtr<UINode>& node) -> bool { in DoSetActiveChildRange() 103 if (repeatNode->CheckNode4IndexInL1(index, start, end, cacheStart, cacheEnd, frameNode)) { in DoSetActiveChildRange() 105 TAG_LOGD(AceLogTag::ACE_REPEAT, "in visible, index %{public}d -> nodeId %{public}d: keep in L1", in DoSetActiveChildRange() 106 static_cast<int32_t>(index), frameNode->GetId()); in DoSetActiveChildRange() 109 TAG_LOGD(AceLogTag::ACE_REPEAT, "out of visible, index %{public}d -> nodeId %{public}d: SetActive(false), " in DoSetActiveChildRange() 110 "detach, move to spare items L2", index, frameNode->GetId()); in DoSetActiveChildRange() 129 bool RepeatVirtualScrollNode::CheckNode4IndexInL1(int32_t index, int32_t start, int32_t end, in CheckNode4IndexInL1() argument 132 if (((start <= index) && (index <= end)) || ((end < start) && (index < in CheckNode4IndexInL1() 260 GetFrameChildByIndex( uint32_t index, bool needBuild, bool isCache, bool addToRenderTree) GetFrameChildByIndex() argument 474 GetFrameNode(int32_t index) GetFrameNode() argument [all...] |
H A D | lazy_for_each_builder.h | 74 std::pair<std::string, RefPtr<UINode>> GetChildByIndex(int32_t index, bool needBuild, bool isCache = false); 83 bool OnDataAdded(size_t index); 85 bool OnDataBulkAdded(size_t index, size_t count); 87 RefPtr<UINode> OnDataDeleted(size_t index); 89 std::list<std::pair<std::string, RefPtr<UINode>>>& OnDataBulkDeleted(size_t index, size_t count); 91 bool OnDataChanged(size_t index); 93 std::list<std::pair<std::string, RefPtr<UINode>>>& OnDataBulkChanged(size_t index, size_t count); 106 OperationInfo& info, LazyForEachChild& child, int32_t index, int32_t changedIndex); 113 bool ValidateIndex(int32_t index, const std::string& type); 125 std::map<int32_t, LazyForEachChild>::iterator FindItem(int32_t index, 137 InvalidIndexOfChangedData(size_t index) InvalidIndexOfChangedData() argument 256 CacheItem(int32_t index, std::unordered_map<std::string, LazyForEachCacheChild>& cache, const std::optional<LayoutConstraintF>& itemConstraint, int64_t deadline, bool& isTimeout) CacheItem() argument 313 PreBuildByIndex(int32_t index, std::unordered_map<std::string, LazyForEachCacheChild>& cache, int64_t deadline, const std::optional<LayoutConstraintF>& itemConstraint, bool canRunLongPredictTask) PreBuildByIndex() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_select_controller.cpp | 33 firstHandleInfo_.index = firstHandleIndex; in UpdateHandleIndex() 34 secondHandleInfo_.index = secondHandleIndex; in UpdateHandleIndex() 35 caretInfo_.index = std::max(firstHandleInfo_.index, secondHandleInfo_.index); in UpdateHandleIndex() 40 void TextSelectController::UpdateCaretIndex(int32_t index) in UpdateCaretIndex() argument 42 auto newIndex = std::clamp(index, 0, static_cast<int32_t>(contentController_->GetWideText().length())); in UpdateCaretIndex() 43 caretInfo_.index = newIndex; in UpdateCaretIndex() 45 firstHandleInfo_.index = newIndex; in UpdateCaretIndex() 46 secondHandleInfo_.index in UpdateCaretIndex() 101 auto index = ConvertTouchOffsetToPosition(touchOffset); FitCaretMetricsToTouchPoint() local 161 auto index = ConvertTouchOffsetToPosition(localOffset); UpdateCaretInfoByOffset() local 180 auto index = ConvertTouchOffsetToPosition(localOffset); CalcCaretOffsetByOffset() local 496 MoveFirstHandleToContentRect(int32_t index, bool moveHandle, bool moveContent) MoveFirstHandleToContentRect() argument 518 MoveSecondHandleToContentRect(int32_t index, bool moveHandle, bool moveContent) MoveSecondHandleToContentRect() argument 540 MoveCaretToContentRect( int32_t index, TextAffinity textAffinity, bool isEditorValueChanged, bool moveContent) MoveCaretToContentRect() argument 612 auto index = ConvertTouchOffsetToPosition(touchOffset); MoveCaretAnywhere() local 671 auto index = ConvertTouchOffsetToPosition(localOffset); UpdateSecondHandleInfoByMouseOffset() local 681 MoveSecondHandleByKeyBoard(int32_t index) MoveSecondHandleByKeyBoard() argument 737 NeedAIAnalysis(int32_t& index, const CaretUpdateType targetType, const Offset& touchOffset, std::chrono::duration<float, std::ratio<1, SECONDS_TO_MILLISECONDS>> timeout) NeedAIAnalysis() argument 765 AdjustCursorPosition(int32_t& index, const OHOS::Ace::Offset& touchOffset) AdjustCursorPosition() argument 780 AdjustWordSelection( int32_t& index, int32_t& start, int32_t& end, const OHOS::Ace::Offset& touchOffset) AdjustWordSelection() argument 806 IsClickAtBoundary(int32_t index, const OHOS::Ace::Offset& touchOffset) IsClickAtBoundary() argument 841 auto index = ConvertTouchOffsetToPosition(localOffset); IsTouchAtLineEnd() local [all...] |
/foundation/communication/wifi/wifi/test/fuzztest/frameworks/native/c_adapter/wifichid2d_fuzzer/ |
H A D | wifichid2d_fuzzer.cpp | 128 int index = 0; in Hid2dConfigIPAddrTest() local 130 ipAddrInfo.ip[i] = static_cast<int>(data[index++]); in Hid2dConfigIPAddrTest() 131 ipAddrInfo.gateway[i] = static_cast<int>(data[index++]); in Hid2dConfigIPAddrTest() 132 ipAddrInfo.netmask[i] = static_cast<int>(data[index++]); in Hid2dConfigIPAddrTest() 153 int index = 0; in Hid2dGetRecommendChannelTest() local 156 request.remoteIfMode = static_cast<int>(data[index++]); in Hid2dGetRecommendChannelTest() 157 request.localIfMode = static_cast<int>(data[index++]); in Hid2dGetRecommendChannelTest() 158 request.prefBand = static_cast<int>(data[index++]); in Hid2dGetRecommendChannelTest() 168 index = 0; in Hid2dGetRecommendChannelTest() 170 response.index in Hid2dGetRecommendChannelTest() 221 int index = 0; Hid2dSetUpperSceneTest() local [all...] |
/foundation/communication/netstack/frameworks/cj/http/src/ |
H A D | net_http_utils.cpp | 190 for (size_t index = 0; index < CHAR_ARRAY_LENGTH_FOUR; ++index) { in GetNowTimeGMT() 191 charArrayFour[index] = table[index]; in GetNowTimeGMT() 206 for (size_t index = 0; index < CHAR_ARRAY_LENGTH_THREE; ++index) { in GetNowTimeGMT() 207 charArrayThree[index] = table[index]; in GetNowTimeGMT() 218 size_t index = 0; GetNowTimeGMT() local 262 size_t index = 0; GetNowTimeGMT() local 377 int index = 0; GetNowTimeGMT() local [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_lazy_foreach_component.h | 42 void OnDataAdded(size_t index) override 48 void OnDataBulkAdded(size_t index, size_t count) override 54 void OnDataDeleted(size_t index) override 60 void OnDataBulkDeleted(size_t index, size_t count) override 66 void OnDataChanged(size_t index) override 108 for (auto index = 0; index < totalIndex; index++) { in ExpandChildrenOnInitial() 109 params[0] = CallJSFunction(getDataFunc_, dataSourceObj_, index); in ExpandChildrenOnInitial() 110 params[1] = JSRef<JSVal>::Make(ToJSValue(index)); in ExpandChildrenOnInitial() [all...] |
/foundation/multimedia/av_codec/services/engine/codec/audio/ |
H A D | audio_codec_worker.cpp | 77 bool AudioCodecWorker::PushInputData(const uint32_t &index) in PushInputData() argument 79 AVCODEC_LOGD_LIMIT(LOGD_FREQUENCY, "%{public}s Worker PushInputData enter,index:%{public}u", name_.data(), index); in PushInputData() 97 inBufIndexQue_.push(index); in PushInputData() 244 std::shared_ptr<AudioBufferInfo> AudioCodecWorker::GetOutputBufferInfo(const uint32_t &index) const noexcept 246 return outputBuffer_->getMemory(index); 249 std::shared_ptr<AudioBufferInfo> AudioCodecWorker::GetInputBufferInfo(const uint32_t &index) const noexcept 251 return inputBuffer_->getMemory(index); 264 uint32_t index; in ProduceInputBuffer() local 267 index in ProduceInputBuffer() 303 ReleaseOutputBuffer(const uint32_t &index, const int32_t &ret) ReleaseOutputBuffer() argument 309 SetFirstAndEosStatus(std::shared_ptr<AudioBufferInfo> &outBuffer, bool isEos, uint32_t index) SetFirstAndEosStatus() argument 341 uint32_t index; ConsumerOutputBuffer() local [all...] |
/foundation/ability/ability_runtime/frameworks/js/napi/dataUriUtils/ |
H A D | data_uri_utils.js | 23 let index = uri.lastIndexOf(URI_SPLIT); 24 if (index === -1) { 27 let ret = uri.substring(index + 1); 49 let index = uri.lastIndexOf(URI_SPLIT); 50 if (index === -1) { 53 let id = uri.substring(index + 1); 57 return uri.substring(0, index);
|
/foundation/multimedia/av_codec/services/services/codec/ipc/ |
H A D | codec_listener_stub.cpp | 57 bool ReadFromParcel(uint32_t index, MessageParcel &parcel, BufferElem &elem, in ReadFromParcel() argument 61 auto iter = caches_.find(index); in ReadFromParcel() 64 AVCODEC_LOGW("Mark hit cache, but can find the index's cache, index: %{public}u", index); in ReadFromParcel() 77 PrintLogOnUpdateBuffer(index); in ReadFromParcel() 78 caches_.emplace(index, elem); in ReadFromParcel() 81 PrintLogOnUpdateBuffer(index); in ReadFromParcel() 89 AVCODEC_LOGE("Invalidate cache for index: %{public}u, flag: %{public}hhu", index, flag in ReadFromParcel() 93 ReturnBufferToServer(uint32_t index, BufferElem &elem) ReturnBufferToServer() argument 132 PrintLogOnUpdateBuffer(const uint32_t &index) PrintLogOnUpdateBuffer() argument 347 uint32_t index = data.ReadUint32(); OnRemoteRequest() local 352 uint32_t index = data.ReadUint32(); OnRemoteRequest() local 391 OnInputBufferAvailable(uint32_t index, std::shared_ptr<AVBuffer> buffer) OnInputBufferAvailable() argument 397 OnOutputBufferAvailable(uint32_t index, std::shared_ptr<AVBuffer> buffer) OnOutputBufferAvailable() argument 403 OnInputBufferAvailable(uint32_t index, MessageParcel &data) OnInputBufferAvailable() argument 438 OnOutputBufferAvailable(uint32_t index, MessageParcel &data) OnOutputBufferAvailable() argument 497 WriteInputMemoryToParcel(uint32_t index, AVCodecBufferInfo info, AVCodecBufferFlag flag, MessageParcel &data) WriteInputMemoryToParcel() argument 517 WriteInputBufferToParcel(uint32_t index, MessageParcel &data) WriteInputBufferToParcel() argument 531 WriteInputParameterToParcel(uint32_t index, MessageParcel &data) WriteInputParameterToParcel() argument 544 WriteOutputBufferToParcel(uint32_t index, MessageParcel &data) WriteOutputBufferToParcel() argument [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | rd_statement.cpp | 177 int RdStatement::InnerBindBlobTypeArgs(const ValueObject &arg, uint32_t index) const in InnerBindBlobTypeArgs() 184 ret = RdUtils::RdSqlBindBlob(stmtHandle_, index, static_cast<const void *>(blob.data()), blob.size(), in InnerBindBlobTypeArgs() 191 ret = RdUtils::RdSqlBindInt64(stmtHandle_, index, boolVal ? 1 : 0); in InnerBindBlobTypeArgs() 198 ret = RdUtils::RdSqlBindBlob(stmtHandle_, index, static_cast<const void *>(rawData.data()), in InnerBindBlobTypeArgs() 206 ret = RdUtils::RdSqlBindBlob(stmtHandle_, index, static_cast<const void *>(rawData.data()), in InnerBindBlobTypeArgs() 213 ret = RdUtils::RdSqlBindFloatVector(stmtHandle_, index, in InnerBindBlobTypeArgs() 220 ret = RdUtils::RdSqlBindText(stmtHandle_, index, str.c_str(), str.length(), nullptr); in InnerBindBlobTypeArgs() 227 int RdStatement::IsValid(int index) const in IsValid() 233 if (index < 0 || index > in IsValid() 259 uint32_t index = 1; Bind() local [all...] |
/foundation/ability/ability_runtime/test/moduletest/common/ams/app_running_processes_info_module_test/ |
H A D | app_running_processes_info_module_test.cpp | 72 void CheckLaunchApplication(const sptr<MockApplicationProxy>& mockApplication, const unsigned long index, in CheckLaunchApplication() argument 79 std::string applicationName(GetTestAppName(index)); in CheckLaunchApplication() 82 std::string processInfoName(GetTestAppName(index)); in CheckLaunchApplication() 102 const std::shared_ptr<AbilityInfo> abilityInfo, const std::shared_ptr<AppRunningRecord> record, const int index, in CheckAppRunningRecording() 114 std::string processName = GetTestAppName(index); in CheckAppRunningRecording() 190 unsigned long index = 0L; in HWTEST_F() local 193 abilityInfo->name = GetTestAbilityName(index); in HWTEST_F() 196 appInfo->name = GetTestAppName(index); in HWTEST_F() 198 std::string processName = GetTestAppName(index); in HWTEST_F() 211 CheckAppRunningRecording(appInfo, abilityInfo, record, index, resul in HWTEST_F() 101 CheckAppRunningRecording(const std::shared_ptr<ApplicationInfo> appInfo, const std::shared_ptr<AbilityInfo> abilityInfo, const std::shared_ptr<AppRunningRecord> record, const int index, RecordQueryResult& result) const CheckAppRunningRecording() argument 255 unsigned long index = 0L; HWTEST_F() local 322 unsigned long index = 0L; HWTEST_F() local 407 unsigned long index = 0L; HWTEST_F() local 470 unsigned long index = 0L; HWTEST_F() local 537 unsigned long index = 0L; HWTEST_F() local [all...] |
/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_session_key.c | 33 int32_t index; member 67 AUTH_LOGI(AUTH_FSM, "session key num reach max, remove the oldest, index=%{public}d, type=%{public}u", in RemoveOldKey() 68 oldKey->index, oldKey->type); in RemoveOldKey() 181 AuthLinkType GetSessionKeyTypeByIndex(const SessionKeyList *list, int32_t index) in GetSessionKeyTypeByIndex() argument 187 if (item->index == index) { in GetSessionKeyTypeByIndex() 227 AUTH_LOGI(AUTH_FSM, "latestUseTime=%{public}" PRIu64 ", type=%{public}d, index=%{public}d, time=%{public}" PRIu64 in GetLatestAvailableSessionKeyTime() 228 ", all type=%{public}u", latestKey->lastUseTime, type, latestKey->index, latestTime, latestKey->type); in GetLatestAvailableSessionKeyTime() 232 int32_t SetSessionKeyAvailable(SessionKeyList *list, int32_t index) in SetSessionKeyAvailable() argument 237 if (item->index ! in SetSessionKeyAvailable() 250 AddSessionKey(SessionKeyList *list, int32_t index, const SessionKey *key, AuthLinkType type, bool isOldKey) AddSessionKey() argument 280 GetLatestSessionKey(const SessionKeyList *list, AuthLinkType type, int32_t *index, SessionKey *key) GetLatestSessionKey() argument 322 SetSessionKeyAuthLinkType(const SessionKeyList *list, int32_t index, AuthLinkType type) SetSessionKeyAuthLinkType() argument 345 GetSessionKeyByIndex(const SessionKeyList *list, int32_t index, AuthLinkType type, SessionKey *key) GetSessionKeyByIndex() argument 371 RemoveSessionkeyByIndex(SessionKeyList *list, int32_t index, AuthLinkType type) RemoveSessionkeyByIndex() argument 426 int32_t index = 0; EncryptData() local 461 int32_t index = (int32_t)SoftBusLtoHl(*(uint32_t *)inDataInfo->inData); DecryptData() 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...] |