/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
D | bcmendian.h | 125 #define htol16_ua_store(val, bytes) ({ \ argument 127 uint8 *_bytes = (uint8 *)(bytes); \ 132 #define htol32_ua_store(val, bytes) ({ \ argument 134 uint8 *_bytes = (uint8 *)(bytes); \ 141 #define hton16_ua_store(val, bytes) ({ \ argument 143 uint8 *_bytes = (uint8 *)(bytes); \ 148 #define hton32_ua_store(val, bytes) ({ \ argument 150 uint8 *_bytes = (uint8 *)(bytes); \ 157 #define ltoh16_ua(bytes) ({ \ argument 158 const uint8 *_bytes = (const uint8 *)(bytes); \ [all …]
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | common.cpp | 200 char *bytes = (char *)buf; in hexdump() local 206 bytes[i], bytes[i+1], in hexdump() 207 bytes[i+2], bytes[i+3], in hexdump() 208 bytes[i+4], bytes[i+5], in hexdump() 209 bytes[i+6], bytes[i+7]); in hexdump() 213 bytes[i], bytes[i+1], in hexdump() 214 bytes[i+2], bytes[i+3]); in hexdump() 218 ALOGV("%02x", bytes[i]); in hexdump()
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
D | VehicleUtils.cpp | 49 val->value.bytes.resize(vecSize); in createVehiclePropValue() 75 return value.bytes.size(); in getVehicleRawValueVectorSize() 93 dest->bytes = src.bytes; in copyVehicleRawValue() 122 shallowCopyHidlVec(&dest->value.bytes, src.value.bytes); in shallowCopy()
|
/hardware/libhardware_legacy/audio/ |
D | AudioHardwareStub.cpp | 128 ssize_t AudioStreamOutStub::write(const void* buffer, size_t bytes) in write() argument 131 usleep(bytes * 1000000 / sizeof(int16_t) / in write() 133 return bytes; in write() 175 ssize_t AudioStreamInStub::read(void* buffer, ssize_t bytes) in read() argument 178 usleep(bytes * 1000000 / sizeof(int16_t) / in read() 180 memset(buffer, 0, bytes); in read() 181 return bytes; in read()
|
D | AudioDumpInterface.cpp | 279 ssize_t AudioStreamOutDump::write(const void* buffer, size_t bytes) in write() argument 284 ret = mFinalStream->write(buffer, bytes); in write() 286 usleep((((bytes * 1000) / frameSize()) / sampleRate()) * 1000); in write() 287 ret = bytes; in write() 298 fwrite(buffer, bytes, 1, mFile); in write() 439 ssize_t AudioStreamInDump::read(void* buffer, ssize_t bytes) in read() argument 444 ret = mFinalStream->read(buffer, bytes); in read() 454 fwrite(buffer, bytes, 1, mFile); in read() 457 usleep((((bytes * 1000) / frameSize()) / sampleRate()) * 1000); in read() 458 ret = bytes; in read() [all …]
|
/hardware/google/av/media/codecs/flac/ |
D | C2SoftFlacEnc.cpp | 299 const FLAC__byte buffer[], size_t bytes, unsigned samples, in onEncodedFlacAvailable() argument 302 ALOGV("%s (bytes=%zu, samples=%u, curr_frame=%u)", __func__, bytes, samples, in onEncodedFlacAvailable() 306 ALOGI("saving %zu bytes of header", bytes); in onEncodedFlacAvailable() 307 memcpy(mHeader + mHeaderOffset, buffer, bytes); in onEncodedFlacAvailable() 308 mHeaderOffset += bytes;// will contain header size when finished receiving header in onEncodedFlacAvailable() 315 ALOGV("ignoring %zu bytes of header data (samples=%d)", bytes, samples); in onEncodedFlacAvailable() 322 ALOGV("writing %zu bytes of encoded data on output", bytes); in onEncodedFlacAvailable() 326 if (bytes + mEncoderReturnedNbBytes > mOutputBlock->capacity()) { in onEncodedFlacAvailable() 327 ALOGE("not enough space left to write encoded data, dropping %zu bytes", bytes); in onEncodedFlacAvailable() 331 memcpy(outData + mEncoderReturnedNbBytes, buffer, bytes); in onEncodedFlacAvailable() [all …]
|
D | C2SoftFlacEnc.h | 58 size_t bytes, unsigned samples, unsigned current_frame, 61 const FLAC__byte buffer[], size_t bytes, unsigned samples,
|
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/ |
D | JsonFakeValueGenerator.cpp | 132 value.bytes = generateDiagnosticBytes(value); in parseFakeValueJson() 175 hidl_vec<uint8_t> bytes(byteSize % 8 == 0 ? byteSize / 8 : byteSize / 8 + 1); in generateDiagnosticBytes() local 180 setBit(bytes, i); in generateDiagnosticBytes() 187 setBit(bytes, i + (size_t)DiagnosticIntegerSensorIndex::LAST_SYSTEM_INDEX + 1); in generateDiagnosticBytes() 190 return bytes; in generateDiagnosticBytes() 193 void JsonFakeValueGenerator::setBit(hidl_vec<uint8_t>& bytes, size_t idx) { in setBit() argument 195 bytes[idx / 8] |= mask; in setBit()
|
/hardware/interfaces/automotive/vehicle/2.0/default/tests/ |
D | VmsUtils_test.cpp | 142 const std::string bytes = "aaa"; in TEST() local 144 auto message = createDataMessageWithLayerPublisherInfo(layer_and_publisher, bytes); in TEST() 160 EXPECT_EQ(message->value.bytes.size(), bytes.size()); in TEST() 161 EXPECT_EQ(memcmp(message->value.bytes.data(), bytes.data(), bytes.size()), 0); in TEST() 178 const std::string bytes = "aaa"; in TEST() local 180 auto message = createDataMessageWithLayerPublisherInfo(layer_and_publisher, bytes); in TEST() 183 EXPECT_EQ(data_str, bytes); in TEST() 194 std::string bytes = "pub_id"; in TEST() local 195 auto message = createPublisherIdRequest(bytes); in TEST() 201 EXPECT_EQ(message->value.bytes.size(), bytes.size()); in TEST() [all …]
|
/hardware/nxp/nfc/extns/intf/nxpnfc/1.0/ |
D | INxpNfc.hal | 24 * Based on the ioctlType, input data bytes are processed and 25 * Output data bytes are generated. 30 * @return output data as stream of bytes
|
/hardware/nxp/secure_element/extns/intf/nxpese/1.0/ |
D | INxpEse.hal | 24 * Based on the ioctlType, input data bytes are processed and 25 * Output data bytes are generated. 28 * @return output data as stream of bytes
|
/hardware/qcom/sdm845/display/liblight/ |
D | lights.c | 135 size_t bytes = snprintf(buffer, sizeof(buffer), "%d\n", value); in write_int() local 136 if(bytes < sizeof(buffer)) { in write_int() 137 amt = write(fd, buffer, bytes); in write_int() 163 size_t bytes = snprintf(buffer, sizeof(buffer), "%d %d\n", value1, value2); in write_double_int() local 164 if(bytes < sizeof(buffer)) { in write_double_int() 165 amt = write(fd, buffer, bytes); in write_double_int()
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/ |
D | mpu_iio.c | 98 int bytes = 0; in size_from_channelarray() local 101 if (bytes % channels[i].bytes == 0) in size_from_channelarray() 102 channels[i].location = bytes; in size_from_channelarray() 104 channels[i].location = bytes - bytes%channels[i].bytes in size_from_channelarray() 105 + channels[i].bytes; in size_from_channelarray() 106 bytes = channels[i].location + channels[i].bytes; in size_from_channelarray() 109 return bytes; in size_from_channelarray() 147 switch (infoarray[k].bytes) { in process_scan()
|
/hardware/knowles/athletico/sound_trigger_hal/ |
D | adnc_strm.c | 292 size_t adnc_strm_read(long handle, void *buffer, size_t bytes) in adnc_strm_read() argument 306 if (bytes > adnc_strm_dev->pcm_avail_size) { in adnc_strm_read() 374 adnc_strm_dev->pcm_avail_size < bytes) { in adnc_strm_read() 383 bytes); in adnc_strm_read() 395 fwrite(buffer, bytes, 1, out_fp); in adnc_strm_read() 403 adnc_strm_dev->pcm_avail_size -= bytes; in adnc_strm_read() 404 adnc_strm_dev->pcm_read_offset += bytes; in adnc_strm_read() 410 return bytes; in adnc_strm_read()
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | AudioStreamOutALSA.cpp | 110 ssize_t AudioStreamOutALSA::write(const void *buffer, size_t bytes) in write() argument 115 ALOGV("write:: buffer %p, bytes %d", buffer, bytes); in write() 121 int write_pending = bytes; in write() 200 return bytes; in write() 268 return bytes; in write() 280 } while ((mHandle->handle||(mHandle->rxHandle && mParent->mVoipStreamCount)) && sent < bytes); in write()
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/inc/ |
D | omx_video_base.h | 198 OMX_U32 bytes 311 OMX_U32 bytes, 439 OMX_U32 bytes); 444 OMX_U32 bytes); 449 OMX_U32 bytes); 455 OMX_U32 bytes, 462 OMX_U32 bytes,
|
/hardware/interfaces/bluetooth/audio/2.0/default/session/ |
D | BluetoothAudioSession.cpp | 373 size_t bytes) { in OutWritePcmData() argument 374 if (buffer == nullptr || !bytes) return 0; in OutWritePcmData() 382 if (availableToWrite > (bytes - totalWritten)) { in OutWritePcmData() 383 availableToWrite = bytes - totalWritten; in OutWritePcmData() 388 ALOGE("FMQ datapath writting %zu/%zu failed", totalWritten, bytes); in OutWritePcmData() 397 ALOGD("data %zu/%zu overflow %d ms", totalWritten, bytes, in OutWritePcmData() 401 } while (totalWritten < bytes); in OutWritePcmData()
|
/hardware/libhardware/modules/audio/ |
D | audio_hw.c | 157 size_t bytes) in out_write() argument 159 ALOGV("out_write: bytes: %zu", bytes); in out_write() 167 int64_t sleep_time = bytes * 1000000LL / audio_stream_out_frame_size(stream) / in out_write() 185 return bytes; in out_write() 298 size_t bytes) in in_read() argument 300 ALOGV("in_read: bytes %zu", bytes); in in_read() 312 int64_t sleep_time = bytes * 1000000LL / audio_stream_in_frame_size(stream) / in in_read() 326 memset(buffer, 0, bytes); in in_read() 327 return bytes; in in_read()
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/inc/ |
D | omx_video_base.h | 250 OMX_U32 bytes 388 OMX_U32 bytes, 526 OMX_U32 bytes); 531 OMX_U32 bytes); 536 OMX_U32 bytes); 542 OMX_U32 bytes, 549 OMX_U32 bytes, 556 OMX_U32 bytes, 563 OMX_U32 bytes,
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/ |
D | omx_vdec.h | 273 OMX_U32 bytes 365 OMX_U32 bytes, 373 OMX_U32 bytes, 533 OMX_U32 bytes); 540 OMX_U32 bytes); 545 OMX_U32 bytes); 550 OMX_U32 bytes, 847 OMX_U32 bytes); 850 OMX_U32 bytes, OMX_U8 *buffer);
|
/hardware/interfaces/cas/native/1.0/ |
D | types.hal | 30 * A subsample consists of some number of bytes of clear (unscrambled) 31 * data followed by a number of bytes of scrambled data. 55 * The size of the shared buffer in bytes
|
/hardware/interfaces/graphics/mapper/3.0/ |
D | types.hal | 67 * Stride describes the distance in bytes from the first value of one row of 73 * chromaStep is the distance in bytes from one chroma pixel value to the 74 * next. This is 2 bytes for semiplanar (because chroma values are interleaved
|
/hardware/interfaces/graphics/mapper/2.0/ |
D | types.hal | 48 * Stride describes the distance in bytes from the first value of one row of 54 * chromaStep is the distance in bytes from one chroma pixel value to the 55 * next. This is 2 bytes for semiplanar (because chroma values are interleaved
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/inc/ |
D | omx_video_base.h | 208 OMX_U32 bytes 337 OMX_U32 bytes, 464 OMX_U32 bytes); 469 OMX_U32 bytes); 474 OMX_U32 bytes); 480 OMX_U32 bytes, 487 OMX_U32 bytes,
|
/hardware/ril/libril/ |
D | RilSapSocket.cpp | 226 uimFuncs->onRequest(req->id, req->payload->bytes, req->payload->size, currRequest, id); in dispatchRequest() 228 uimFuncs->onRequest(req->id, req->payload->bytes, req->payload->size, currRequest); in dispatchRequest() 254 memcpy(rsp.payload->bytes, response, response_len); in onRequestComplete() 285 memcpy(payload->bytes, data, datalen); in onUnsolicitedResponse()
|