Home
last modified time | relevance | path

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

12

/hardware/nxp/keymint/transport/
DSocketTransport.cpp115 ssize_t numBytes = read(mSocket, buffer, MAX_RECV_BUFFER_SIZE); in readData() local
116 if (0 > numBytes) { in readData()
120 totalBytesRead += numBytes; in readData()
129 for (; i < numBytes; i++) { in readData()
/hardware/nxp/nfc/pn8x/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/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/nxp/nfc/snxxx/halimpl/tml/transport/
DNfccI2cTransport.cc270 int numBytes = nNbBytesToWrite; in Write() local
285 numBytes = numWrote + gpphTmlNfc_Context->fragment_len; in Write()
287 numBytes = nNbBytesToWrite; in Write()
291 numBytes - numWrote); in Write()
/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()
/hardware/qcom/media/msm8996/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-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()
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
Dmlos.h51 void *inv_malloc(unsigned int numBytes);
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
Dmlos.h51 void *inv_malloc(unsigned int numBytes);
/hardware/google/gfxstream/host/gl/
DColorBufferGl.h149 bool replaceContents(const void* pixels, size_t numBytes);
153 bool readContents(size_t* numBytes, void* pixels);
DColorBufferGl.cpp638 bool ColorBufferGl::replaceContents(const void* newContents, size_t numBytes) { in replaceContents() argument
642 bool ColorBufferGl::readContents(size_t* numBytes, void* pixels) { in readContents() argument
645 *numBytes = m_yuv_converter->getDataSize(); in readContents()
649 return readPixelsYUVCached(0, 0, 0, 0, pixels, *numBytes); in readContents()
651 *numBytes = m_numBytes; in readContents()
/hardware/qcom/media/msm8998/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-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/google/aemu/host-common/
DMediaVideoToolBoxVideoHelper.cpp75 size_t numBytes = szBytes; in dumpBytes() local
77 numBytes = 32; in dumpBytes()
80 for (size_t i = 0; i < (numBytes > szBytes ? szBytes : numBytes); ++i) { in dumpBytes()
DMediaH264DecoderVideoToolBox.cpp276 size_t numBytes = szBytes; in dumpBytes() local
278 numBytes = 32; in dumpBytes()
281 for (size_t i = 0; i < (numBytes > szBytes ? szBytes : numBytes); ++i) { in dumpBytes()
/hardware/google/pixel/vibrator/cs40l26/
DHardware.h302 bool uploadOwtEffect(const uint8_t *owtData, const uint32_t numBytes, struct ff_effect *effect, in uploadOwtEffect() argument
315 (*effect).u.periodic.custom_len = numBytes / sizeof(uint16_t); in uploadOwtEffect()
316 memcpy((*effect).u.periodic.custom_data, owtData, numBytes); in uploadOwtEffect()
337 HWAPI_RECORD(StringPrintf("#%d: %dB", *outEffectIndex, numBytes), &mInputIoStream); in uploadOwtEffect()
/hardware/interfaces/security/keymint/support/include/remote_prov/
Dremote_prov_utils.h89 bytevec randomBytes(size_t numBytes);
/hardware/interfaces/identity/aidl/default/
DEicOpsImpl.cc121 bool eicOpsRandom(uint8_t* buf, size_t numBytes) { in eicOpsRandom() argument
122 optional<vector<uint8_t>> bytes = ::android::hardware::identity::support::getRandom(numBytes); in eicOpsRandom()
126 memcpy(buf, bytes.value().data(), numBytes); in eicOpsRandom()
/hardware/google/pixel/vibrator/cs40l26/tests/
Dmocks.h50 bool(const uint8_t *owtData, const uint32_t numBytes, struct ff_effect *effect,
/hardware/interfaces/identity/aidl/default/libeic/
DEicOps.h156 bool eicOpsRandom(uint8_t* buf, size_t numBytes);
/hardware/interfaces/identity/support/src/
DIdentityCredentialSupport.cpp421 optional<vector<uint8_t>> getRandom(size_t numBytes) { in getRandom() argument
423 output.resize(numBytes); in getRandom()
424 if (RAND_bytes(output.data(), numBytes) != 1) { in getRandom()
425 LOG(ERROR) << "RAND_bytes: failed getting " << numBytes << " random"; in getRandom()
1030 size_t numBytes = BN_num_bytes(bignum); in ecKeyPairGetPrivateKey() local
1031 if (numBytes > 32) { in ecKeyPairGetPrivateKey()
1032 LOG(ERROR) << "Size is " << numBytes << ", expected this to be 32 or less"; in ecKeyPairGetPrivateKey()
1036 for (size_t n = 0; n < 32 - numBytes; n++) { in ecKeyPairGetPrivateKey()
1039 BN_bn2bin(bignum, privateKey.data() + 32 - numBytes); in ecKeyPairGetPrivateKey()

12