Home
last modified time | relevance | path

Searched refs:total (Results 1 – 25 of 591) sorted by relevance

12345678910>>...24

/ohos5.0/base/global/resource_management/frameworks/resmgr/test/unittest/common/
H A Dresource_manager_performance_test.cpp115 long long total = 0; in ParseIndexCost() local
155 long long total = 0; in TestLoadFromIndex() local
216 long long total = 0; variable
239 average = total / 1000.0;
273 average = total / 1000.0;
466 average = total / 1000.0;
492 average = total / 1000.0;
713 average = total / 1000.0;
739 average = total / 1000.0;
768 average = total / 1000.0;
[all …]
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
H A Dresource_manager_performance_test.cpp184 average = total / 1000.0; in TestLoadFromIndex()
232 average = total / 1000.0;
266 average = total / 1000.0;
459 average = total / 1000.0;
485 average = total / 1000.0;
706 average = total / 1000.0;
732 average = total / 1000.0;
761 average = total / 1000.0;
787 average = total / 1000.0;
816 average = total / 1000.0;
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/
H A Dgesture_group.cpp65 if (total <= 0 || total >= MAX_BYTES_SIZE) { in Deserialize()
68 auto ret = total; in Deserialize()
70 if (total < 0) { in Deserialize()
74 if (total < 0) { in Deserialize()
80 if (total < 0) { in Deserialize()
84 while (total != 0) { in Deserialize()
88 total -= len; in Deserialize()
89 if (total < 0) { in Deserialize()
99 int32_t total = 0; in SizeofMe() local
106 return total; in SizeofMe()
[all …]
/ohos5.0/base/security/device_auth/deps_adapter/os_adapter/impl/src/liteos/mini/
H A Dhc_file_posix.c130 int total = 0; in HcFileRead() local
132 while (total < dstSize) { in HcFileRead()
133 int readCount = read(fp, dstBuffer + total, dstSize - total); in HcFileRead()
140 return total; in HcFileRead()
142 total += readCount; in HcFileRead()
145 return total; in HcFileRead()
156 int total = 0; in HcFileWrite() local
158 while (total < srcSize) { in HcFileWrite()
159 int writeCount = write(fp, srcBuffer + total, srcSize - total); in HcFileWrite()
164 total += writeCount; in HcFileWrite()
[all …]
/ohos5.0/base/global/i18n/frameworks/zone/test/unittest/
H A Dzone_util_performance_test.cpp57 uint64_t total = 0; variable
71 average = total / (1000.0 * 2);
82 uint64_t total = 0; variable
108 uint64_t total = 0; variable
120 average = total / 1000.0;
131 uint64_t total = 0; variable
143 average = total / 1000.0;
154 uint64_t total = 0; variable
166 average = total / 1000.0;
177 uint64_t total = 0; variable
[all …]
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-common-components-progress-indicator.md12 Progress(options: {value: number, total?: number, type?: ProgressType})
16 其中,value用于设置初始进度值,total用于设置进度总长度,type用于设置Progress样式。
19 Progress({ value: 24, total: 100, type: ProgressType.Linear }) // 创建一个进度总长为100,初始进度值为24的线性进度条
39 Progress({ value: 20, total: 100, type: ProgressType.Linear }).width(200).height(50)
40 Progress({ value: 20, total: 100, type: ProgressType.Linear }).width(50).height(200)
49 Progress({ value: 40, total: 150, type: ProgressType.Ring }).width(100).height(100)
51 Progress({ value: 40, total: 150, type: ProgressType.Ring }).width(100).height(100)
61 Progress({ value: 20, total: 150, type: ProgressType.ScaleRing }).width(100).height(100)
64 Progress({ value: 20, total: 150, type: ProgressType.ScaleRing }).width(100).height(100)
78 Progress({ value: 10, total: 150, type: ProgressType.Eclipse }).width(100).height(100)
[all …]
H A Dui-js-building-ui-interactions.md25 <text class="like-num" focusable="true">{{total}}</text>
61 total: 20,
66 temp = this.total + 1;
69 temp = this.total - 1;
72 this.total = temp;
/ohos5.0/base/security/device_auth/deps_adapter/os_adapter/impl/src/linux/
H A Dhc_file.c128 int total = 0; in HcFileRead() local
130 while (total < dstSize) { in HcFileRead()
131 int readCount = (int)fread(dstBuffer + total, 1, dstSize - total, fp); in HcFileRead()
136 return total; in HcFileRead()
138 total += readCount; in HcFileRead()
141 return total; in HcFileRead()
156 int total = 0; in HcFileWrite() local
158 while (total < srcSize) { in HcFileWrite()
159 int writeCount = (int)fwrite(srcBuffer + total, 1, srcSize - total, fp); in HcFileWrite()
163 total += writeCount; in HcFileWrite()
[all …]
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-common-components-progress-indicator.md12 Progress(options: {value: number, total?: number, type?: ProgressType})
16 In this API, **value** indicates the initial progress, **total** indicates the total progress, and …
19 Progress({ value: 24, total: 100, type: ProgressType.Linear }) // Create a linear progress indicato…
39 Progress({ value: 20, total: 100, type: ProgressType.Linear }).width(200).height(50)
40 Progress({ value: 20, total: 100, type: ProgressType.Linear }).width(50).height(200)
49 Progress({ value: 40, total: 150, type: ProgressType.Ring }).width(100).height(100)
51 Progress({ value: 40, total: 150, type: ProgressType.Ring }).width(100).height(100)
61 Progress({ value: 20, total: 150, type: ProgressType.ScaleRing }).width(100).height(100)
64 Progress({ value: 20, total: 150, type: ProgressType.ScaleRing }).width(100).height(100)
78 Progress({ value: 10, total: 150, type: ProgressType.Eclipse }).width(100).height(100)
[all …]
/ohos5.0/foundation/communication/dsoftbus/core/connection/ble/src/
H A Dsoftbus_conn_ble_trans.c49 header->total = ntohl(tmp->total); in UnpackTransHeader()
51 (header->size > header->total) || (header->total - header->size < header->offset)) { in UnpackTransHeader()
74 buffer->total = 0; in DiscardBuffer()
93 if (header.size == header.total) { in ConnGattTransRecv()
103 uint32_t valueLen = header.total; in ConnGattTransRecv()
126 if (buffer->seq != 0 && (buffer->seq != header.seq || buffer->total != header.total)) { in ConnGattTransRecv()
133 …connectionId, dataLen, header.seq, header.total, header.size, header.offset, buffer->seq, buffer-> in ConnGattTransRecv()
174 …connectionId, dataLen, header.seq, header.total, header.size, header.offset, buffer->seq, buffer-> in ConnGattTransRecv()
192 buffer->total = header.total; in ConnGattTransRecv()
213 uint32_t valueLen = buffer->total; in ConnGattTransRecv()
[all …]
/ohos5.0/foundation/communication/dhcp/test/unittest/services/dhcp_client/
H A Ddhcp_socket_test.cpp161 int total = 0; variable
168 total = count + 1;
169 EXPECT_EQ(CheckReadBytes(count, total), SOCKET_OPT_FAILED);
171 total = count;
172 EXPECT_EQ(CheckReadBytes(count, total), SOCKET_OPT_SUCCESS);
180 int total = (int)sizeof(struct UdpDhcpPacket) + 1; variable
183 total = (int)sizeof(struct UdpDhcpPacket);
201 uint16_t uLen = (uint16_t)(total - (int)sizeof(packet.ip));
211 int total = (int)sizeof(struct UdpDhcpPacket) + 1; variable
214 total = (int)sizeof(struct UdpDhcpPacket);
[all …]
/ohos5.0/base/hiviewdfx/hisysevent/test/unittest/common/napi/
H A Dnapi_hisysevent.test.js567 }, (reason, total) => {
592 }, (reason, total) => {
663 }, (reason, total) => {
708 }, (reason, total) => {
752 }, (reason, total) => {
797 }, (reason, total) => {
822 }, (reason, total) => {
847 }, (reason, total) => {
887 }, (reason, total) => {
1083 }, (reason, total) => {
[all …]
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/
H A Dstream_packetizer.cpp26 auto total = StreamPacketHeader::STREAM_HEADER_SIZE; in CalculateHeaderSize() local
28 return total; in CalculateHeaderSize()
33 auto total = 0; in CalculateExtSize() local
36 total += TwoLevelsTlv::HEADER_LEN + TwoLevelsTlv::NUMS_LEN; in CalculateExtSize()
37 total += TwoLevelsTlv::HEADER_LEN + TwoLevelsTlv::NUMS_LEN; in CalculateExtSize()
38 total += Align(extSize, SHIFT); in CalculateExtSize()
39 total += TwoLevelsTlv::CHECK_SUM_LEN; in CalculateExtSize()
42 return total; in CalculateExtSize()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
H A Dasync_pool.rs117 let total = 1; in sdv_async_pool_001() localVariable
125 .worker_num(total) in sdv_async_pool_001()
177 let total = 64; in sdv_async_pool_002() localVariable
185 .worker_num(total) in sdv_async_pool_002()
237 let total = 0; in sdv_async_pool_003() localVariable
245 .worker_num(total) in sdv_async_pool_003()
297 let total = 65; in sdv_async_pool_004() localVariable
357 let total = 1; in sdv_async_pool_005() localVariable
417 let total = 64; in sdv_async_pool_006() localVariable
477 let total = 0; in sdv_async_pool_007() localVariable
[all …]
/ohos5.0/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/async_impl/uploader/
H A Doperator.rs65 fn progress<'a>(&'a mut self, uploaded: u64, total: Option<u64>) -> ProgressFuture<'a, Self> in progress()
72 total, in progress()
85 total: Option<u64>, in poll_progress()
87 Pin::new(&mut **self).poll_progress(cx, uploaded, total) in poll_progress()
95 total: Option<u64>, field
106 Pin::new(&mut fut.operator).poll_progress(cx, fut.uploaded, fut.total) in poll()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/uploader/
H A Doperator.rs63 fn progress<'a>(&'a mut self, uploaded: u64, total: Option<u64>) -> ProgressFuture<'a, Self> in progress()
70 total, in progress()
83 total: Option<u64>, in poll_progress()
85 Pin::new(&mut **self).poll_progress(cx, uploaded, total) in poll_progress()
93 total: Option<u64>, field
104 Pin::new(&mut fut.operator).poll_progress(cx, fut.uploaded, fut.total) in poll()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-basic-components-progress.md40 …mber | 是 | 指定当前进度值。设置小于0的数值时置为0,设置大于total的数值时置为total。<br/>默认值:0<br…
103 设置当前进度值。设置小于0的数值时置为0,设置大于total的数值时置为total。非法数值不生效。
192 | total | number | 是 | 进度总长。 |
338 Progress({ value: 20, total: 150, type: ProgressType.ScaleRing })
356 Progress({ value: 20, total: 150, type: ProgressType.Ring })
364 Progress({ value: 20, total: 150, type: ProgressType.Capsule })
392 Progress({ value: 70, total: 100, type: ProgressType.Ring })
397 Progress({ value: 70, total: 100, type: ProgressType.Ring })
418 Progress({ value: 0, total: 100, type: ProgressType.Ring })
423 Progress({ value: 30, total: 100, type: ProgressType.Ring })
[all …]
/ohos5.0/docs/zh-cn/device-dev/kernel/
H A Dkernel-small-debug-shell-file-mkdir.md55 total 2
65 total 2
78 total 2
81 total 2
84 total 2
H A Dkernel-small-debug-shell-cmd-free.md44 total used free shared buffers
49 total used free shared buffers
54 total used free shared buffers
64 | total | 表示系统动态内存池总量。 |
/ohos5.0/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/async_impl/downloader/
H A Doperator.rs93 fn progress<'a>(&'a mut self, downloaded: u64, total: Option<u64>) -> ProgressFuture<'a, Self> in progress()
100 total, in progress()
121 total: Option<u64>, in poll_progress()
123 Pin::new(&mut **self).poll_progress(cx, downloaded, total) in poll_progress()
149 total: Option<u64>, field
160 Pin::new(&mut fut.operator).poll_progress(cx, fut.downloaded, fut.total) in poll()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/downloader/
H A Doperator.rs64 fn progress<'a>(&'a mut self, downloaded: u64, total: Option<u64>) -> ProgressFuture<'a, Self> in progress()
71 total, in progress()
92 total: Option<u64>, in poll_progress()
94 Pin::new(&mut **self).poll_progress(cx, downloaded, total) in poll_progress()
118 total: Option<u64>, field
129 Pin::new(&mut fut.processor).poll_progress(cx, fut.downloaded, fut.total) in poll()
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/photo_album_operation/
H A Dphoto_album_lpath_operation.cpp78 int32_t total = static_cast<int32_t>(invalidAlbumList.size()); in CleanInvalidPhotoAlbums() local
82 total, in CleanInvalidPhotoAlbums()
85 this->albumAffectedCount_ += total; in CleanInvalidPhotoAlbums()
94 total, in CleanInvalidPhotoAlbums()
129 int32_t total = static_cast<int32_t>(mainAlbumInfoList.size()); in CleanDuplicatePhotoAlbums() local
136 total, in CleanDuplicatePhotoAlbums()
158 int32_t total = static_cast<int32_t>(subAlbumInfoList.size()); in CleanDuplicatePhotoAlbum() local
167 total, in CleanDuplicatePhotoAlbum()
188 int32_t total = static_cast<int32_t>(subAlbumInfoList.size()); in CleanEmptylPathPhotoAlbums() local
196 total, in CleanEmptylPathPhotoAlbums()
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/ril/
H A D_emergency_call_v10.md21 | int [total](#total) | 号码总条数 |
104 ### total subsection
107 int EmergencyCall::total
H A D_emergency_call_v11.md21 | int [total](#total) | 号码总条数 |
104 ### total subsection
107 int EmergencyCall::total
/ohos5.0/docs/zh-cn/application-dev/quick-start/
H A Darkts-watch.md115 @State total: number = 0;
118 this.total += this.count;
122 Text(`Total: ${this.total}`)
147 …@State count变量更改,子组件TotalView中的\@Prop被更新,其\@Watch('onCountUpdated')方法被调用,更新了子组件TotalView 中的total变量。
175 let total = this.shopBasket.reduce((sum, i) => sum + i.price, 0);
177 if (total >= 100) {
178 total = 0.9 * total;
180 return total;

12345678910>>...24