Home
last modified time | relevance | path

Searched refs:remain (Results 1 – 25 of 401) sorted by relevance

12345678910>>...17

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/
H A Dsecurity_component_layout_algorithm.cpp155 remain = right_.ShrinkWidth(remain + (diff / HALF)); in ShrinkWidth()
156 remain = left_.ShrinkWidth(remain); in ShrinkWidth()
157 if (NearEqual(remain, 0.0)) { in ShrinkWidth()
163 remain = middle_.ShrinkWidth(remain); in ShrinkWidth()
202 remain = right_.EnlargeWidth(remain + (diff / HALF)); in EnlargeWidth()
203 remain = left_.EnlargeWidth(remain); in EnlargeWidth()
215 remain = bottom_.ShrinkHeight(remain + (diff / HALF)); in ShrinkHeight()
216 remain = top_.ShrinkHeight(remain); in ShrinkHeight()
223 remain = middle_.ShrinkHeight(remain); in ShrinkHeight()
261 remain = bottom_.EnlargeHeight(remain + (diff / HALF)); in EnlargeHeight()
[all …]
H A Dsecurity_component_layout_element.cpp75 int remain = reduceSize - (width_ - minIconSize_); in ShrinkWidth() local
77 return remain; in ShrinkWidth()
91 double remain = reduceSize - (height_ - minIconSize_); in ShrinkHeight() local
93 return remain; in ShrinkHeight()
325 int remain = reduceSize - (width_ - minTextWidth); in ShrinkWidth() local
328 return remain; in ShrinkWidth()
347 double remain = reduceSize - (height_ - minTextHeight); in ShrinkHeight() local
350 return remain; in ShrinkHeight()
H A Dsecurity_component_layout_element.h112 double remain = reduceSize - (width_ - minPadddingSize_); in ShrinkWidth() local
114 return remain; in ShrinkWidth()
126 double remain = reduceSize - (height_ - minPadddingSize_); in ShrinkHeight() local
128 return remain; in ShrinkHeight()
/ohos5.0/base/telephony/core_service/services/sim/src/
H A Dsim_state_manager.cpp174 response.remain = static_cast<int32_t>(simStateHandle_->GetUnlockData().remain); in UnlockPin()
175 …ELEPHONY_LOGI("response.result :%{public}d, remain :%{public}d", response.result, response.remain); in UnlockPin()
208 response.remain = static_cast<int32_t>(simStateHandle_->GetUnlockData().remain); in UnlockPuk()
209 …ELEPHONY_LOGI("response.result :%{public}d, remain :%{public}d", response.result, response.remain); in UnlockPuk()
242 response.remain = static_cast<int32_t>(simStateHandle_->GetUnlockData().remain); in AlterPin()
285 response.remain = static_cast<int32_t>(simStateHandle_->GetUnlockData().remain); in SetLockState()
359 response.remain = static_cast<int32_t>(simStateHandle_->GetUnlockData().remain); in UnlockPin2()
393 response.remain = static_cast<int32_t>(simStateHandle_->GetUnlockData().remain); in UnlockPuk2()
427 response.remain = static_cast<int32_t>(simStateHandle_->GetUnlockData().remain); in AlterPin2()
473 TELEPHONY_LOGI("SimStateManager::UnlockSimLock(), remain: %{public}d", response.remain); in UnlockSimLock()
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/src/
H A Dpacket.c270 if (remain >= size) { in PacketCopyToBuffer()
277 retSize = remain; in PacketCopyToBuffer()
278 (void)memcpy_s(buffer, remain, (uint8_t *)BufferPtr(start->buf) + offset, remain); in PacketCopyToBuffer()
280 buffer += remain; in PacketCopyToBuffer()
281 remain = size - remain; in PacketCopyToBuffer()
289 uint32_t copySize = ((remain <= buffSize) ? remain : buffSize); in PacketCopyToBuffer()
304 if (remain >= size) { in PacketCopyFromBuffer()
311 retSize = remain; in PacketCopyFromBuffer()
314 buffer += remain; in PacketCopyFromBuffer()
315 remain = size - remain; in PacketCopyFromBuffer()
[all …]
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/ril/
H A D_lock_status_resp_v10.md21 | int [remain](#remain) | 剩余次数 |
27 ### remain subsection
30 int LockStatusResp::remain
H A D_lock_status_resp_v11.md21 | int [remain](#remain) | 剩余次数 |
27 ### remain subsection
30 int LockStatusResp::remain
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dgt_extractor_util.cpp236 uint64_t remain = size; in HasCopiedData() local
237 uint64_t reading = (remain > READ_SIZE) ? READ_SIZE : remain; in HasCopiedData()
254 while (remain > 0) { in HasCopiedData()
269 remain = remain - reading; in HasCopiedData()
270 reading = (remain > READ_SIZE) ? READ_SIZE : remain; in HasCopiedData()
/ohos5.0/base/telephony/cellular_call/services/common/src/
H A Dsupplement_request_cs.cpp182 …slot%{public}d] result: %{public}d, remain: %{public}d", slotId, response.result, response.remain); in AlterPinPassword()
187 pinResData->remain = response.remain; in AlterPinPassword()
209 …slot%{public}d] result: %{public}d, remain: %{public}d", slotId, response.result, response.remain); in UnlockPuk()
214 pinResData->remain = response.remain; in UnlockPuk()
236 …slot%{public}d] result: %{public}d, remain: %{public}d", slotId, response.result, response.remain); in AlterPin2Password()
241 pinResData->remain = response.remain; in AlterPin2Password()
263 …slot%{public}d] result: %{public}d, remain: %{public}d", slotId, response.result, response.remain); in UnlockPuk2()
268 pinResData->remain = response.remain; in UnlockPuk2()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/scrollable/
H A Dscrollable_test_ng.cpp104 .remain = 5.0f,
137 .remain = 5.0f,
165 .remain = 5.0f,
193 .remain = 5.0f,
220 .remain = 5.0f,
247 .remain = 0.0f,
274 .remain = 5.0f,
301 .remain = 5.0f,
349 .remain = 0.0f,
375 .remain = 5.0f,
[all …]
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/tools/qt/simulator/jsfwk/targets/simulator/mock/timerthread/
H A Dtimer_thread.cpp78 if (info->remain > 0) { in Traverse()
79 info->remain -= TIMER_STEP; in Traverse()
84 info->remain = info->delay; in Traverse()
105 info->remain = delay; in StartTimerTaskInner()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/
H A Dswiper_event_test_ng.cpp542 EXPECT_EQ(res.remain, 0.0f);
547 EXPECT_EQ(res.remain, 5.0f);
569 EXPECT_EQ(res.remain, 0.0f);
598 EXPECT_EQ(res.remain, 5.0f);
629 EXPECT_EQ(res.remain, 0.0f);
649 EXPECT_EQ(res.remain, 4.5f);
665 EXPECT_EQ(res.remain, 4.5f);
681 EXPECT_EQ(res.remain, 5.0f);
688 EXPECT_EQ(res.remain, 0.0f);
703 EXPECT_EQ(res.remain, 0.0f);
[all …]
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/
H A Dstream_depacketizer.cpp61 int remain = static_cast<int>(bufferSize - (ptr - buffer)); in DepacketizeBuffer() local
62 if (remain < dataLength_) { in DepacketizeBuffer()
63 …GE(TRANS_STREAM, "Data out of bounds, remain=%{public}d, dataLen=%{public}d", remain, dataLength_); in DepacketizeBuffer()
/ohos5.0/foundation/communication/dsoftbus/adapter/common/bus_center/network/
H A Dlnn_linkwatch.c64 int32_t remain = bufLen; in ProcessNetlinkAnswer() local
66 for (hdr = (struct nlmsghdr *)answer; remain >= (int32_t)sizeof(*hdr);) { in ProcessNetlinkAnswer()
68 if ((hdr->nlmsg_len - sizeof(*hdr)) < 0 || len > (uint32_t)remain) { in ProcessNetlinkAnswer()
74 remain -= NLMSG_ALIGN(len); in ProcessNetlinkAnswer()
/ohos5.0/base/telephony/sms_mms/services/sms/gsm/
H A Dgsm_user_data_decode.cpp243 uint8_t remain = buffer.GetSize() - buffer.GetIndex(); in Decode8bitPduPartData() local
244 uint8_t len = userData->length < remain ? userData->length : remain; in Decode8bitPduPartData()
339 uint8_t remain = buffer.GetSize() - buffer.GetIndex(); in DecodeUcs2PduPartData() local
340 uint8_t len = userData->length < remain ? userData->length : remain; in DecodeUcs2PduPartData()
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/manager/
H A Dconnection_flow_control_test.cpp106 int32_t remain = quotaInBytes - got; variable
108 got = controller->apply(controller, remain + 1);
110 EXPECT_EQ(remain, got);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/refresh/
H A Drefresh_event_test_ng.cpp1086 EXPECT_EQ(res.remain, 0.f);
1091 EXPECT_EQ(res.remain, 0.f);
1096 EXPECT_EQ(res.remain, 5.f);
1123 EXPECT_EQ(res.remain, 0.f);
1128 EXPECT_EQ(res.remain, 0.f);
1134 .WillOnce(Return(ScrollResult { .remain = 0.f, .reachEdge = true }));
1136 EXPECT_EQ(res.remain, 0.f);
1164 .WillOnce(Return(ScrollResult { .remain = 0.f, .reachEdge = true }));
1166 EXPECT_EQ(res.remain, 0.f);
1174 EXPECT_EQ(res.remain, 0.f);
[all …]
/ohos5.0/base/telephony/ril_adapter/services/vendor/src/
H A Dat_sim.c600 lockStatus.remain = -1; in ReqUnlockPin()
610 lockStatus.remain = -1; in ReqUnlockPin()
619 lockStatus.remain = -1; in ReqUnlockPin()
654 lockStatus.remain = -1; in ReqUnlockPuk()
664 lockStatus.remain = -1; in ReqUnlockPuk()
673 lockStatus.remain = -1; in ReqUnlockPuk()
799 lockStatus.remain = -1; in ReqUnlockPin2()
809 lockStatus.remain = -1; in ReqUnlockPin2()
818 lockStatus.remain = -1; in ReqUnlockPin2()
863 lockStatus.remain = -1; in ReqUnlockPuk2()
[all …]
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/
H A Dlf_ring.c276 FILLP_ULONG remain; in FillpRingFreeEntries() local
287 remain = (r->size + consTail - prodHead); in FillpRingFreeEntries()
288 cnt = (int)remain; in FillpRingFreeEntries()
290 FILLP_LOGERR("cnt is %d, real size:%lu", cnt, remain); in FillpRingFreeEntries()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/store/
H A Dauto_cache.cpp335 size_t remain = watchers.size(); in OnChange() local
337 remain--; in OnChange()
341 … watcher->OnChange(origin, primaryFields, (remain != 0) ? ChangeInfo(values) : std::move(values)); in OnChange()
358 size_t remain = watchers.size(); in OnChange() local
360 remain--; in OnChange()
364 watcher->OnChange(origin, fields, (remain != 0) ? ChangeData(datas) : std::move(datas)); in OnChange()
/ohos5.0/foundation/communication/dsoftbus/core/connection/manager/
H A Dsoftbus_conn_flow_control.c62 int32_t remain = self->quotaInBytes - appliedTotal; in Apply() local
63 int32_t amount = remain > expect ? expect : remain; in Apply()
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.0.9.5/
H A Dchangelogs-distributeddatamgr.md8 … is changed from **close** to **destroy**. The input parameters and return values remain unchanged.
43 …from **destroyPredicates** to **destroy**. The input parameters and return values remain unchanged.
78 …rom **destroyValueObject** to **destroy**. The input parameters and return values remain unchanged.
113 …om **destroyValuesBucket** to **destroy**. The input parameters and return values remain unchanged.
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_3.2.10.3/
H A Dchangelogs-bundlemanager.md5 …ce_sdk-js/blob/master/api/@ohos.bundle.distributedBundleManager.d.ts)**. The APIs remain unchanged.
13 ….bundle.distributedBundle** to **ohos.bundle.distributedBundleManager**. The APIs remain unchanged.
/ohos5.0/base/security/huks/frameworks/crypto_lite/cipher/src/
H A Dcipher_rsa.c274 int32_t remain = strlen((const char *)(uintptr_t)plainText) % rsaContentLen; in RsaEncryptMultipleBlock() local
300 if (remain > 0) { in RsaEncryptMultipleBlock()
303 remain, (const unsigned char *)(plainText + count * rsaContentLen), buf)) { in RsaEncryptMultipleBlock()
349 size_t remain = plain->length % rsaContentLen; in RsaEncrypt() local
351 cipher->length = rsaLen * count + (remain ? rsaLen : 0); in RsaEncrypt()
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/http/
H A Dhttp_media_downloader.cpp388 uint64_t remain = fileContentLength - mediaOffset; in ReadRingBuffer() local
389 readDataInfo.wantReadLength_ = remain < readDataInfo.wantReadLength_ ? remain : in ReadRingBuffer()
437 size_t remain = cacheMediaBuffer_->GetBufferSize(readOffset_); in ReadCacheBuffer() local
439 …Len: " + std::to_string(readDataInfo.wantReadLength_) + ", bufferSize: " + std::to_string(remain)); in ReadCacheBuffer()
503 size_t remain = GetCurrentBufferSize(); in CheckDownloadPos() local
509 if (remain < wantReadLength && isServerAcceptRange_ && in CheckDownloadPos()
510 (writeOffsetTmp < readOffset_ || writeOffsetTmp > readOffset_ + remain)) { in CheckDownloadPos()
512 ChangeDownloadPos(remain > 0); in CheckDownloadPos()
771 size_t remain = cacheMediaBuffer_->GetBufferSize(offset); in SeekCacheBuffer() local
772 MEDIA_LOG_I("HTTP Seek: buffer size " PUBLIC_LOG_ZU ", offset " PUBLIC_LOG_D64, remain, offset); in SeekCacheBuffer()
[all …]

12345678910>>...17