Home
last modified time | relevance | path

Searched refs:numBytes (Results 1 – 23 of 23) sorted by relevance

/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DPipeComm.cpp63 int numBytes; in read() local
65 numBytes = qemu_pipe_frame_recv(mPipeFd, msg.data(), msg.size()); in read()
67 if (numBytes == MAX_RX_MSG_SZ) { in read()
69 } else if (numBytes > 0) { in read()
70 msg.resize(numBytes); in read()
73 ALOGD("%s: Connection terminated on pipe %d, numBytes=%d", __FUNCTION__, mPipeFd, numBytes); in read()
DCommConn.cpp45 int numBytes = msg.ByteSize(); in sendMessage() local
46 std::vector<uint8_t> buffer(static_cast<size_t>(numBytes)); in sendMessage()
47 if (!msg.SerializeToArray(buffer.data(), numBytes)) { in sendMessage()
DSocketComm.cpp149 std::vector<uint8_t> readExactly(int fd, int numBytes) { in readExactly() argument
150 std::vector<uint8_t> buffer(numBytes); in readExactly()
153 while (totalRead < numBytes) { in readExactly()
154 int numRead = ::read(fd, &buffer.data()[offset], numBytes - offset); in readExactly()
/hardware/nxp/nfc/halimpl/tml/
DphTmlNfc_i2c.cc230 int numBytes = nNbBytesToWrite; in phTmlNfc_i2c_write() local
245 numBytes = numWrote + FRAGMENTSIZE_MAX; in phTmlNfc_i2c_write()
247 numBytes = nNbBytesToWrite; in phTmlNfc_i2c_write()
250 ret = write((intptr_t)pDevHandle, pBuffer + numWrote, numBytes - numWrote); in phTmlNfc_i2c_write()
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/
DIPACM_Log.cpp74 int numBytes=0, len; in ipacm_log_send() local
95 …if ((numBytes = sendto(ipacm_log_sockfd, (void *)&ipacm_log_buffer, sizeof(ipacm_log_buffer.user_d… in ipacm_log_send()
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_Log.cpp74 int numBytes=0, len; in ipacm_log_send() local
95 …if ((numBytes = sendto(ipacm_log_sockfd, (void *)&ipacm_log_buffer, sizeof(ipacm_log_buffer.user_d… in ipacm_log_send()
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Log.cpp74 int numBytes=0, len; in ipacm_log_send() local
95 …if ((numBytes = sendto(ipacm_log_sockfd, (void *)&ipacm_log_buffer, sizeof(ipacm_log_buffer.user_d… in ipacm_log_send()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Dmp4_utils.cpp117 psBits->numBytes, in parseHeader()
130 m_posInfo.bytePtr = find_code(m_posInfo.bytePtr,psBits->numBytes, in parseHeader()
155 m_posInfo.bytePtr = find_code(m_posInfo.bytePtr,psBits->numBytes, in parseHeader()
166 psBits->numBytes, in parseHeader()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Dmp4_utils.cpp117 psBits->numBytes, in parseHeader()
130 m_posInfo.bytePtr = find_code(m_posInfo.bytePtr,psBits->numBytes, in parseHeader()
155 m_posInfo.bytePtr = find_code(m_posInfo.bytePtr,psBits->numBytes, in parseHeader()
166 psBits->numBytes, in parseHeader()
Domx_vdec.cpp5410 psBits.numBytes = buffer->nFilledLen; in empty_this_buffer_proxy()
6871 psBits.numBytes = pdest_frame->nFilledLen; in push_input_sc_codec()
Domx_vdec_hevc.cpp5055 psBits.numBytes = buffer->nFilledLen; in empty_this_buffer_proxy()
6393 psBits.numBytes = pdest_frame->nFilledLen; in push_input_sc_codec()
Domx_vdec_msm8974.cpp7934 psBits.numBytes = pdest_frame->nFilledLen; in push_input_sc_codec()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Dmp4_utils.cpp117 psBits->numBytes, in parseHeader()
129 m_posInfo.bytePtr = find_code(m_posInfo.bytePtr,psBits->numBytes, in parseHeader()
151 m_posInfo.bytePtr = find_code(m_posInfo.bytePtr,psBits->numBytes, in parseHeader()
161 psBits->numBytes, in parseHeader()
Domx_vdec_copper.cpp5251 psBits.numBytes = buffer->nFilledLen; in empty_this_buffer_proxy()
6642 psBits.numBytes = pdest_frame->nFilledLen; in push_input_sc_codec()
Domx_vdec.cpp5645 psBits.numBytes = buffer->nFilledLen; in empty_this_buffer_proxy()
7118 psBits.numBytes = pdest_frame->nFilledLen; in push_input_sc_codec()
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
Dmlos.h51 void *inv_malloc(unsigned int numBytes);
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
Dmlos.h51 void *inv_malloc(unsigned int numBytes);
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
Dmp4_utils.h126 unsigned long int numBytes; member
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
Dmp4_utils.h126 unsigned long int numBytes; member
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Dmp4_utils.h126 unsigned long int numBytes; member
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/
Dmp4_utils.h126 unsigned long int numBytes; member
/hardware/interfaces/identity/support/include/android/hardware/identity/support/
DIdentityCredentialSupport.h90 optional<vector<uint8_t>> getRandom(size_t numBytes);
/hardware/interfaces/identity/support/src/
DIdentityCredentialSupport.cpp356 optional<vector<uint8_t>> getRandom(size_t numBytes) { in getRandom() argument
358 output.resize(numBytes); in getRandom()
359 if (RAND_bytes(output.data(), numBytes) != 1) { in getRandom()
360 LOG(ERROR) << "RAND_bytes: failed getting " << numBytes << " random"; in getRandom()