Home
last modified time | relevance | path

Searched refs:total (Results 1 - 25 of 136) sorted by relevance

123456

/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/
H A Dgesture_group.cpp64 int32_t total = *plen; in Deserialize() local
65 if (total <= 0 || total >= MAX_BYTES_SIZE) { in Deserialize()
68 auto ret = total; in Deserialize()
69 total -= sizeof(int32_t); in Deserialize()
70 if (total < 0) { in Deserialize()
73 total -= sizeof(GestureType); in Deserialize()
74 if (total < 0) { in Deserialize()
79 total -= sizeof(GestureMode); in Deserialize()
80 if (total < in Deserialize()
99 int32_t total = 0; SizeofMe() local
126 auto total = SizeofMe(); Serialize() local
[all...]
/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()
/foundation/communication/dhcp/test/unittest/services/dhcp_client/
H A Ddhcp_socket_test.cpp160 int total = 0; in HWTEST_F() local
167 total = count + 1; in HWTEST_F()
168 EXPECT_EQ(CheckReadBytes(count, total), SOCKET_OPT_FAILED); in HWTEST_F()
170 total = count; in HWTEST_F()
171 EXPECT_EQ(CheckReadBytes(count, total), SOCKET_OPT_SUCCESS); in HWTEST_F()
179 int total = (int)sizeof(struct UdpDhcpPacket) + 1; in HWTEST_F() local
180 EXPECT_EQ(CheckUdpPacket(&packet, total), SOCKET_OPT_FAILED); in HWTEST_F()
182 total = (int)sizeof(struct UdpDhcpPacket); in HWTEST_F()
185 EXPECT_EQ(CheckUdpPacket(&packet, total), SOCKET_OPT_FAILED); in HWTEST_F()
190 EXPECT_EQ(CheckUdpPacket(&packet, total), SOCKET_OPT_FAILE in HWTEST_F()
210 int total = (int)sizeof(struct UdpDhcpPacket) + 1; HWTEST_F() local
[all...]
/foundation/communication/dsoftbus/core/connection/ble/src/
H A Dsoftbus_conn_ble_trans.c49 header->total = ntohl(tmp->total); in UnpackTransHeader()
50 if ((header->size != dataLen - BLE_TRANS_HEADER_SIZE) || (header->total > MAX_DATA_LEN) || in UnpackTransHeader()
51 (header->size > header->total) || (header->total - header->size < header->offset)) { in UnpackTransHeader()
53 "unpack ble trans header failed, dataLen=%{public}u, total=%{public}u, currentPacketSize=%{public}u", in UnpackTransHeader()
54 dataLen, header->total, header->size); in UnpackTransHeader()
67 it->header.seq, it->header.total, it->header.size, it->header.offset); in DiscardBuffer()
74 buffer->total = 0; in DiscardBuffer()
93 if (header.size == header.total) { in ConnGattTransRecv()
[all...]
/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/async_impl/downloader/
H A Doperator.rs53 /// total: Option<u64>
71 /// the total file size.
93 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>,
160 Pin::new(&mut fut.operator).poll_progress(cx, fut.downloaded, fut.total)
/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/async_impl/uploader/
H A Doperator.rs45 /// total: Option<u64>
54 /// the total size.
65 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>,
106 Pin::new(&mut fut.operator).poll_progress(cx, fut.uploaded, fut.total)
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_progress_ffi.cpp34 void FfiOHOSAceFrameworkProgressCreate(double value, double total, int32_t type) in FfiOHOSAceFrameworkProgressCreate() argument
42 if (value > total) { in FfiOHOSAceFrameworkProgressCreate()
43 realValue = total; in FfiOHOSAceFrameworkProgressCreate()
48 ProgressModel::GetInstance()->Create(0.0, realValue, 0.0, total, PROGRESS_TYPES_NG[type]); in FfiOHOSAceFrameworkProgressCreate()
/foundation/arkui/ace_engine/frameworks/base/memory/
H A Dmemory_monitor.cpp66 info.total -= it->second.size;
85 info.total += size;
95 std::string out = "total = " + std::to_string(total_) + ", count = " + std::to_string(count_);
98 if (info.total == 0) {
101 out = typeName + ": total = " + std::to_string(info.total) + ", count = " + std::to_string(info.count);
114 size_t total = 0; member
/foundation/systemabilitymgr/samgr_lite/samgr/adapter/posix/
H A Dlock_free_queue.c26 int total = size * count + 1; in LFQUE_Create() local
27 if (total <= 0) { in LFQUE_Create()
31 register LockFreeQueue *queue = (LockFreeQueue *)SAMGR_Malloc(sizeof(LockFreeQueue) + total); in LFQUE_Create()
38 queue->totalSize = total; in LFQUE_Create()
/foundation/filemanagement/dfs_service/test/unittests/distributed_file_daemon/
H A Dtrans_mananger_test.cpp144 uint64_t total = 0; in HWTEST_F() local
146 transManager_->NotifyFileProgress(sessionName, total, processed); in HWTEST_F()
155 uint64_t total = 0; in HWTEST_F() local
157 TransManager::GetInstance().NotifyFileProgress(sessionName, total, processed); in HWTEST_F()
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/src/local/src/
H A Dcast_local_file_channel_server.cpp376 int total = 0; in ReadFileDataByFd() local
377 nread = read(fd, buffer + total, sendLen - total); in ReadFileDataByFd()
378 while (total < sendLen && nread > 0) { in ReadFileDataByFd()
379 total += nread; in ReadFileDataByFd()
380 nread = read(fd, buffer + total, sendLen - total); in ReadFileDataByFd()
383 return total; in ReadFileDataByFd()
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/stream/src/local/src/
H A Dcast_local_file_channel_server.cpp365 int total = 0; in ReadFileDataByFd() local
366 nread = read(fd, buffer + total, sendLen - total); in ReadFileDataByFd()
367 while (total < sendLen && nread > 0) { in ReadFileDataByFd()
368 total += nread; in ReadFileDataByFd()
369 nread = read(fd, buffer + total, sendLen - total); in ReadFileDataByFd()
372 return total; in ReadFileDataByFd()
/foundation/filemanagement/storage_service/interfaces/innerkits/storage_manager/native/
H A Dstorage_stats.h26 StorageStats(int64_t total, int64_t audio, int64_t video, int64_t image, int64_t file, int64_t app) in StorageStats() argument
27 : total_(total), audio_(audio), video_(video), image_(image), file_(file), app_(app) {} in StorageStats()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_single_ver_storage_executor_extend.cpp331 int SQLiteSingleVerStorageExecutor::GetCountValue(sqlite3_stmt *&countStatement, uint32_t &total) const in GetCountValue()
338 total = 0; in GetCountValue()
341 total = static_cast<uint32_t>(readCount); in GetCountValue()
344 LOGD("[GetCountValue]Entry count in this result set is %" PRIu32 "", total); in GetCountValue()
352 int SQLiteSingleVerStorageExecutor::GetUnSyncTotalByTimestamp(Timestamp begin, Timestamp end, uint32_t &total) const in GetUnSyncTotalByTimestamp()
359 return GetCountValue(countStatement, total); in GetUnSyncTotalByTimestamp()
363 uint32_t &total) const in GetDeletedSyncTotalByTimestamp()
370 return GetCountValue(countStatement, total); in GetDeletedSyncTotalByTimestamp()
374 const std::pair<Timestamp, Timestamp> &timeRange, uint32_t &total) const in GetSyncTotalWithQuery()
387 return GetCountValue(queryStmt, total); in GetSyncTotalWithQuery()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Drs_skia_memory_tracer.cpp159 [](int total, const auto& typedValue) { return total + typedValue.second.value; }); in GetGLMemorySize()
172 TraceValue total = ConvertUnits(totalSize_); in LogTotals() local
174 log.AppendFormat(" %.0f bytes, %.2f %s (%.2f %s is purgeable)\n", totalSize_.value, total.value, in LogTotals()
175 total.units.c_str(), purgeable.value, purgeable.units.c_str()); in LogTotals()
/foundation/arkui/ace_engine/frameworks/base/log/
H A Dace_performance_monitor.cpp143 auto total = static_cast<int64_t>(duration_cast<nanoseconds>(end_ - begin_).count()); in FlushPerfMonitor() local
144 auto frameWork = total - timeSlice_[MonitorTag::COMPONENT_CREATION] - timeSlice_[MonitorTag::COMPONENT_LIFECYCLE] - in FlushPerfMonitor()
152 json->Put("total", total); in FlushPerfMonitor()
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/heif_impl/heif_parser/box/
H A Ditem_data_box.h43 size_t total = 0; in GetExtentsTotalSize() local
45 total += extent.data.size(); in GetExtentsTotalSize()
47 return total; in GetExtentsTotalSize()
/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/
H A Ddhcp_message_sim.cpp48 int total = 0; in SendTotal() local
50 total = m_sendMessages.size(); in SendTotal()
52 return total; in SendTotal()
57 int total = 0; in RecvTotal() local
59 total = m_recvMessages.size(); in RecvTotal()
61 return total; in RecvTotal()
/foundation/communication/dsoftbus/core/common/dfx/hidumper_adapter/
H A Dsoftbus_hidumper_util.c133 int32_t total; member
290 static void OnCompleteDisc(int32_t reason, int32_t total) in OnCompleteDisc() argument
292 COMM_LOGI(COMM_DFX, "OnCompleteDisc start, reason=%{public}d, total=%{public}d", reason, total); in OnCompleteDisc()
385 static void OnCompleteConn(int32_t reason, int32_t total) in OnCompleteConn() argument
387 COMM_LOGI(COMM_DFX, "OnCompleteConn start, reason=%{public}d, total=%{public}d", reason, total); in OnCompleteConn()
463 static void OnCompleteLnn(int32_t reason, int32_t total) in OnCompleteLnn() argument
465 COMM_LOGI(COMM_DFX, "OnCompleteLnn start, reason=%{public}d, total=%{public}d", reason, total); in OnCompleteLnn()
616 OnCompleteTrans(int32_t reason, int32_t total) OnCompleteTrans() argument
678 OnCompleteAlarm(int32_t reason, int32_t total) OnCompleteAlarm() argument
896 int32_t total = g_transStatsInfo.openSessionSuccessTotal + g_transStatsInfo.openSessionFailTotal; SoftBusProcessStatsQueryData() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/
H A Dlazy_layout_wrapper_builder.cpp146 auto total = GetTotalCount(); in OnExpandChildLayoutWrapper() local
148 if (static_cast<int32_t>(childWrappers_.size()) == total) { in OnExpandChildLayoutWrapper()
157 for (int32_t index = 0; index < total; ++index) { in OnExpandChildLayoutWrapper()
176 endIndex_ = total - 1; in OnExpandChildLayoutWrapper()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/interface/
H A Dmatrix_test.cpp56 OH_Drawing_Matrix* total = OH_Drawing_MatrixCreate(); in OnTestPerformance() local
62 OH_Drawing_MatrixConcat(total, matrix_a, matrix_b); in OnTestPerformance()
64 OH_Drawing_PathTransform(path, total); in OnTestPerformance()
66 OH_Drawing_MatrixDestroy(total); in OnTestPerformance()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/
H A Dprogress_date.h111 ProgressConfiguration(float value, float total, bool enabled) in ProgressConfiguration() argument
112 : CommonConfiguration(enabled), value_(value), total_(total) {} in ProgressConfiguration()
/foundation/communication/dsoftbus/core/connection/ble/include/
H A Dsoftbus_conn_ble_trans.h46 uint32_t total; member
58 uint32_t total; member
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/ipc/
H A Dtrans_mananger.cpp29 void TransManager::NotifyFileProgress(const std::string &sessionName, uint64_t total, uint64_t processed) in NotifyFileProgress() argument
41 iter->second->OnFileReceive(total, processed); in NotifyFileProgress()
/foundation/arkui/ace_engine/adapter/ohos/tools/raw_input_injector/
H A Draw_input_command.h60 auto total = (duration / eventInjectingInterval_); in SetDuration() local
61 totalCount_ = (duration % eventInjectingInterval_ != 0) ? (total + 1) : total; in SetDuration()
127 int32_t duration_ = 0; // the total time for this command can be executed

Completed in 14 milliseconds

123456