Home
last modified time | relevance | path

Searched refs:amount (Results 1 - 5 of 5) sorted by relevance

/foundation/communication/dsoftbus/core/connection/manager/
H A Dsoftbus_conn_flow_control.c27 int32_t amount; member
48 appliedTotal += it->amount; in Apply()
63 int32_t amount = remain > expect ? expect : remain; in Apply() local
70 history->amount = amount; in Apply()
75 return amount; in Apply()
/foundation/communication/dsoftbus/core/connection/ble/src/
H A Dsoftbus_conn_ble_trans.c280 uint32_t amount = (uint32_t)g_flowController->apply(g_flowController, (int32_t)sendLen); in ConnGattTransSend() local
281 uint8_t *buff = (uint8_t *)SoftBusCalloc(amount + BLE_TRANS_HEADER_SIZE); in ConnGattTransSend()
285 if (memcpy_s(buff + BLE_TRANS_HEADER_SIZE, amount, waitSendData, amount) != EOK) { in ConnGattTransSend()
291 header->size = htonl(amount); in ConnGattTransSend()
295 int32_t status = ConnBleSend(connection, buff, amount + BLE_TRANS_HEADER_SIZE, module); in ConnGattTransSend()
299 connection->connectionId, module, sequence, dataLen, amount, offset, status); in ConnGattTransSend()
305 waitSendData += amount; in ConnGattTransSend()
306 waitSendLen -= amount; in ConnGattTransSend()
307 offset += amount; in ConnGattTransSend()
569 uint32_t amount = (uint32_t)g_flowController->apply(g_flowController, (int32_t)(dataLen - sentLen)); ConnCocTransSend() local
[all...]
/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/shaders/common/
H A D3d_dm_shadowing_common.h217 float ReduceLightBleedingVsm(float pMax, float amount) in ReduceLightBleedingVsm() argument
219 // Remove the [0, amount] tail and linearly rescale (amount, 1]. in ReduceLightBleedingVsm()
220 return LinstepVsm(amount, 1.0, pMax); in ReduceLightBleedingVsm()
/foundation/communication/dsoftbus/core/connection/br/src/
H A Dsoftbus_conn_br_trans.c134 int32_t amount = g_flowController->apply(g_flowController, (int32_t)expect); in BrTransSend() local
135 int32_t writeLen = g_sppDriver->Write(socketHandle, data, amount); in BrTransSend()
/foundation/ability/ability_runtime/frameworks/native/ability/native/
H A Dability.cpp774 int amount = 0; in BatchInsert() local
777 amount++; in BatchInsert()
780 TAG_LOGD(AAFwkTag::ABILITY, "insert amount:%{public}d", amount); in BatchInsert()
781 return amount; in BatchInsert()

Completed in 7 milliseconds