Home
last modified time | relevance | path

Searched refs:accuracy (Results 1 – 25 of 38) sorted by relevance

12

/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/time_sync/src/
Dlnn_time_sync_manager.c42 TimeSyncAccuracy accuracy; member
65 TimeSyncAccuracy accuracy; member
100 static StartTimeSyncReq *CreateStartTimeSyncReq(const char *pkgName, TimeSyncAccuracy accuracy, in CreateStartTimeSyncReq() argument
114 req->accuracy = accuracy; in CreateStartTimeSyncReq()
134 info->curAccuracy = para->accuracy; in CreateTimeSyncReqInfo()
149 if (item->accuracy < startReq->accuracy || item->period > startReq->period) { in TryUpdateStartTimeSyncReq()
151 … item->accuracy, startReq->accuracy, item->period, startReq->period, startReq->pkgName); in TryUpdateStartTimeSyncReq()
152 item->accuracy = startReq->accuracy; in TryUpdateStartTimeSyncReq()
158 startReq->accuracy, startReq->period, startReq->pkgName); in TryUpdateStartTimeSyncReq()
159 item = CreateStartTimeSyncReq(startReq->pkgName, startReq->accuracy, startReq->period); in TryUpdateStartTimeSyncReq()
[all …]
Dlnn_time_sync_manager_virtual.c22 TimeSyncAccuracy accuracy, TimeSyncPeriod period) in LnnStartTimeSync() argument
26 (void)accuracy; in LnnStartTimeSync()
Dlnn_time_sync_impl_virtual.c32 int32_t LnnStartTimeSyncImpl(const char *targetNetworkId, TimeSyncAccuracy accuracy, in LnnStartTimeSyncImpl() argument
36 (void)accuracy; in LnnStartTimeSyncImpl()
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/
Dtiming_wheel.c168 static void FillpInitTimingWheelTimeHand(struct FillpTimingWheelHand *hand, FILLP_INT accuracy) in FillpInitTimingWheelTimeHand() argument
170 if (accuracy == 0) { in FillpInitTimingWheelTimeHand()
176 hand->accuracy = accuracy; in FillpInitTimingWheelTimeHand()
179 hand->handLength = accuracy * FILLP_TIMING_WHEEL_SLOT_NUM; in FillpInitTimingWheelTimeHand()
186 void FillpTimingWheelInit(struct FillpTimingWheel *ftWheel, FILLP_LLONG accuracy) in FillpTimingWheelInit() argument
189 if (accuracy <= 0) { in FillpTimingWheelInit()
190 accuracy = 1; in FillpTimingWheelInit()
192 ftWheel->accuracy = accuracy; in FillpTimingWheelInit()
196 FillpInitTimingWheelTimeHand(&ftWheel->secHand, (FILLP_INT)accuracy); in FillpTimingWheelInit()
197 …FillpInitTimingWheelTimeHand(&ftWheel->minHand, (FILLP_INT)(accuracy * FILLP_TIMING_WHEEL_SLOT_NUM… in FillpTimingWheelInit()
[all …]
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/
Dtiming_wheel.h51 FILLP_INT accuracy; member
64 FILLP_LLONG accuracy; member
135 void FillpTimingWheelInit(struct FillpTimingWheel *ftWheel, FILLP_LLONG accuracy);
/foundation/ace/ace_engine/frameworks/core/animation/
Dspring_motion.cpp62 void SpringMotion::SetAccuracy(double accuracy) in SetAccuracy() argument
64 accuracy_ = std::abs(accuracy); in SetAccuracy()
Dspring_motion.h49 void SetAccuracy(double accuracy);
/foundation/communication/dsoftbus/sdk/bus_center/ipc/mini/
Dbus_center_server_proxy.c63 int32_t ServerIpcStartTimeSync(const char *pkgName, const char *targetNetworkId, int32_t accuracy, … in ServerIpcStartTimeSync() argument
65 return LnnIpcStartTimeSync(pkgName, targetNetworkId, accuracy, period); in ServerIpcStartTimeSync()
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/time_sync/include/
Dlnn_time_sync_manager.h27 TimeSyncAccuracy accuracy, TimeSyncPeriod period);
Dlnn_time_sync_impl.h32 int32_t LnnStartTimeSyncImpl(const char *targetNetworkId, TimeSyncAccuracy accuracy,
/foundation/communication/dsoftbus/interfaces/kits/bus_center/
Dsoftbus_bus_center.h203 TimeSyncAccuracy accuracy; member
533 int32_t StartTimeSync(const char *pkgName, const char *targetNetworkId, TimeSyncAccuracy accuracy,
/foundation/communication/dsoftbus/core/bus_center/ipc/mini_system/
Dlnn_bus_center_ipc.c102 int32_t LnnIpcStartTimeSync(const char *pkgName, const char *targetNetworkId, int32_t accuracy, int… in LnnIpcStartTimeSync() argument
104 …return LnnStartTimeSync(pkgName, targetNetworkId, (TimeSyncAccuracy)accuracy, (TimeSyncPeriod)peri… in LnnIpcStartTimeSync()
/foundation/communication/dsoftbus/sdk/bus_center/ipc/include/
Dbus_center_server_proxy.h36 int32_t ServerIpcStartTimeSync(const char *pkgName, const char *targetNetworkId, int32_t accuracy, …
/foundation/communication/dsoftbus/sdk/frame/standard/src/
Dsoftbus_server_proxy_standard.cpp208 …ServerProxyFrame::StartTimeSync(const char *pkgName, const char *targetNetworkId, int32_t accuracy, in StartTimeSync() argument
213 (void)accuracy; in StartTimeSync()
/foundation/graphic/utils/test/
Dgraphic_math_unit_test.cpp87 const float accuracy = 0.000001; variable
91 if (ret > testInteger - accuracy && ret < testInteger + accuracy) {
98 if (ret > testFloat - accuracy && ret < testFloat + accuracy) {
/foundation/communication/dsoftbus/core/bus_center/ipc/include/
Dlnn_bus_center_ipc.h35 int32_t LnnIpcStartTimeSync(const char *pkgName, const char *targetNetworkId, int32_t accuracy, int…
/foundation/communication/dsoftbus/sdk/bus_center/ipc/standard/src/
Dbus_center_server_proxy.cpp143 int32_t ServerIpcStartTimeSync(const char *pkgName, const char *targetNetworkId, int32_t accuracy, … in ServerIpcStartTimeSync() argument
149 int ret = g_serverProxy->StartTimeSync(pkgName, targetNetworkId, accuracy, period); in ServerIpcStartTimeSync()
/foundation/communication/dsoftbus/sdk/bus_center/manager/include/
Dclient_bus_center_manager.h39 …2_t StartTimeSyncInner(const char *pkgName, const char *targetNetworkId, TimeSyncAccuracy accuracy,
/foundation/communication/dsoftbus/sdk/transmission/ipc/standard/include/
Dtrans_server_proxy_standard.h50 int32_t StartTimeSync(const char *pkgName, const char *targetNetworkId, int32_t accuracy,
/foundation/communication/dsoftbus/sdk/discovery/ipc/standard/include/
Ddisc_server_proxy_standard.h51 int32_t StartTimeSync(const char *pkgName, const char *targetNetworkId, int32_t accuracy,
/foundation/communication/dsoftbus/core/frame/standard/init/src/
Dsoftbus_server.cpp198 …_t SoftBusServer::StartTimeSync(const char *pkgName, const char *targetNetworkId, int32_t accuracy, in StartTimeSync() argument
201 return LnnIpcStartTimeSync(pkgName, targetNetworkId, accuracy, period); in StartTimeSync()
/foundation/communication/dsoftbus/sdk/frame/standard/include/
Dsoftbus_server_proxy_standard.h53 int32_t StartTimeSync(const char *pkgName, const char *targetNetworkId, int32_t accuracy,
/foundation/communication/bluetooth/services/bluetooth_standard/stack/src/hci/
Dhci_def_status_params_cmd.h116 uint16_t accuracy; member
/foundation/communication/dsoftbus/core/frame/standard/init/include/
Dif_softbus_server.h52 … virtual int32_t StartTimeSync(const char *pkgName, const char *targetNetworkId, int32_t accuracy,
/foundation/communication/dsoftbus/sdk/discovery/ipc/standard/src/
Ddisc_server_proxy_standard.cpp292 … DiscServerProxy::StartTimeSync(const char *pkgName, const char *targetNetworkId, int32_t accuracy, in StartTimeSync() argument
297 (void)accuracy; in StartTimeSync()

12