Home
last modified time | relevance | path

Searched refs:num_bytes (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Gallery2/jni_jpegstream/src/
Djpeg_hook.cpp117 void Mgr_skip_input_data_fcn(j_decompress_ptr cinfo, long num_bytes) { in Mgr_skip_input_data_fcn() argument
119 if (num_bytes <= 0) { in Mgr_skip_input_data_fcn()
124 if (src->mgr.bytes_in_buffer >= (size_t)num_bytes) { in Mgr_skip_input_data_fcn()
125 src->mgr.bytes_in_buffer -= num_bytes; in Mgr_skip_input_data_fcn()
126 src->mgr.next_input_byte += num_bytes; in Mgr_skip_input_data_fcn()
129 int64_t skip = num_bytes - src->mgr.bytes_in_buffer; in Mgr_skip_input_data_fcn()
/packages/modules/StatsD/statsd/src/guardrail/
DStatsdStats.h235 void noteMetricsReportSent(const ConfigKey& key, const size_t num_bytes);
641 void noteMetricsReportSent(const ConfigKey& key, const size_t num_bytes, int32_t timeSec);
DStatsdStats.cpp292 void StatsdStats::noteMetricsReportSent(const ConfigKey& key, const size_t num_bytes) { in noteMetricsReportSent() argument
293 noteMetricsReportSent(key, num_bytes, getWallClockSec()); in noteMetricsReportSent()
296 void StatsdStats::noteMetricsReportSent(const ConfigKey& key, const size_t num_bytes, in noteMetricsReportSent() argument
307 it->second->dump_report_stats.push_back(std::make_pair(timeSec, num_bytes)); in noteMetricsReportSent()
/packages/modules/adb/
Dsysdeps_win32.cpp890 DWORD num_bytes = 0; in adb_sendmsg() local
894 auto ret = WSASendMsg(fh->fh_socket, &wmsg, 0, &num_bytes, NULL, NULL); in adb_sendmsg()
902 return num_bytes; in adb_sendmsg()
949 DWORD num_bytes = 0; in adb_recvmsg() local
956 const auto ret = WSARecvMsgFunc(fh->fh_socket, &wmsg, &num_bytes, NULL, NULL); in adb_recvmsg()
964 bytes_remaining -= num_bytes; in adb_recvmsg()
/packages/apps/Nfc/nci/jni/
DNativeNfcManager.cpp527 eventData->tlv_detect.num_tlvs, eventData->tlv_detect.num_bytes); in nfaConnectionCallback()