Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 25 of 170) sorted by relevance

1234567

/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcmendian.h125 #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/
Dcommon.cpp247 char *bytes = (char *)buf; in hexdump() local
253 bytes[i], bytes[i+1], in hexdump()
254 bytes[i+2], bytes[i+3], in hexdump()
255 bytes[i+4], bytes[i+5], in hexdump()
256 bytes[i+6], bytes[i+7]); in hexdump()
260 bytes[i], bytes[i+1], in hexdump()
261 bytes[i+2], bytes[i+3]); in hexdump()
265 ALOGV("%02x", bytes[i]); in hexdump()
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVehicleUtils.cpp48 val->value.bytes.resize(vecSize); in createVehiclePropValue()
73 return value.bytes.size(); in getVehicleRawValueVectorSize()
91 dest->bytes = src.bytes; in copyVehicleRawValue()
119 shallowCopyHidlVec(&dest->value.bytes, src.value.bytes); in shallowCopy()
/hardware/libhardware_legacy/audio/
DAudioHardwareStub.cpp128 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()
DAudioDumpInterface.cpp279 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/libhardware/modules/audio/
Daudio_hw.c123 size_t bytes) in out_write() argument
125 ALOGV("out_write: bytes: %zu", bytes); in out_write()
133 int64_t sleep_time = bytes * 1000000LL / audio_stream_out_frame_size(stream) / in out_write()
151 return bytes; in out_write()
246 size_t bytes) in in_read() argument
248 ALOGV("in_read: bytes %zu", bytes); in in_read()
260 int64_t sleep_time = bytes * 1000000LL / audio_stream_in_frame_size(stream) / in in_read()
274 memset(buffer, 0, bytes); in in_read()
275 return bytes; in in_read()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
Dmpu_iio.c98 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/qcom/audio/legacy/alsa_sound/
DAudioStreamOutALSA.cpp110 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/
Domx_video_base.h198 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/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/
Domx_vdec.h273 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/akm/AK8975_FS/libsensors/
DAdxlSensor.cpp133 int bytes; in setDelay() local
157 bytes = sprintf(buffer, "%d", rate_val); in setDelay()
158 err = write_sys_attribute(input_sysfs_path, buffer, bytes); in setDelay()
DSensorBase.cpp71 const char *path, const char *value, int bytes) in write_sys_attribute() argument
82 amt = write(fd, value, bytes); in write_sys_attribute()
/hardware/interfaces/cas/native/1.0/
Dtypes.hal30 * 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/2.0/
Dtypes.hal48 * 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/
Domx_video_base.h208 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/
DRilSapSocket.cpp227 uimFuncs->onRequest(req->id, req->payload->bytes, req->payload->size, currRequest, id); in dispatchRequest()
229 uimFuncs->onRequest(req->id, req->payload->bytes, req->payload->size, currRequest); in dispatchRequest()
249 memcpy(rsp.payload->bytes, response, response_len); in onRequestComplete()
280 memcpy(payload->bytes, data, datalen); in onUnsolicitedResponse()
/hardware/interfaces/weaver/1.0/
Dtypes.hal26 /** The number of bytes used for a key. */
28 /** The number of bytes used for a value. */
/hardware/qcom/media/msm8996/videopp/inc/
Domx_vdpp.h437 OMX_U32 bytes
529 OMX_U32 bytes,
537 OMX_U32 bytes,
545 OMX_U32 bytes,
677 OMX_U32 bytes);
683 OMX_U32 bytes);
688 OMX_U32 bytes);
693 OMX_U32 bytes,
/hardware/qcom/media/sdm845/mm-video-v4l2/vidc/venc/inc/
Domx_video_base.h251 OMX_U32 bytes
380 OMX_U32 bytes,
507 OMX_U32 bytes);
512 OMX_U32 bytes);
517 OMX_U32 bytes);
523 OMX_U32 bytes,
530 OMX_U32 bytes,
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/inc/
Domx_video_base.h213 OMX_U32 bytes
344 OMX_U32 bytes,
475 OMX_U32 bytes);
480 OMX_U32 bytes);
485 OMX_U32 bytes);
491 OMX_U32 bytes,
498 OMX_U32 bytes,
/hardware/qcom/audio/hal/audio_extn/
Dsndmonitor.c112 ssize_t bytes=read(fd, state, avail); in read_state() local
113 if (bytes <= 0) in read_state()
117 while (bytes && isspace(*(state+bytes-1))) { in read_state()
118 *(state + bytes - 1) = '\0'; in read_state()
119 --bytes; in read_state()
/hardware/qcom/msm8960/kernel-headers/linux/mfd/wcd9xxx/
Dcore.h159 int bytes, void *dest, bool interface_reg);
161 int bytes, void *src, bool interface_reg);
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec_hevc_swvdec.h329 OMX_U32 bytes
421 OMX_U32 bytes,
429 OMX_U32 bytes,
613 OMX_U32 bytes);
620 OMX_U32 bytes);
625 OMX_U32 bytes);
630 OMX_U32 bytes,
686 OMX_ERRORTYPE allocate_interm_buffer(OMX_IN OMX_U32 bytes);
1035 OMX_U32 bytes);
/hardware/intel/audio_media/hdmi/
Dtinyaudio_hw.c565 size_t bytes) in out_write() argument
572 ALOGV("%s enter for bytes = %d channels = %d",__func__,bytes, out->pcm_config.channels); in out_write()
599 dstbuff = (int32_t*)malloc(bytes* 2); in out_write()
607 memset(dstbuff,0,bytes * 2); in out_write()
609 outbytes = make_sinkcompliant_buffers((void*)buffer, (void*)dstbuff,bytes); in out_write()
616 ret = pcm_write(out->pcm, (void *)buffer, bytes); in out_write()
618 …cm_write: %s done for %d input bytes, output bytes = %d ", pcm_get_error(out->pcm),bytes,outbytes); in out_write()
627 uint64_t duration_ms = ((bytes * 1000)/ in out_write()
635 return bytes; in out_write()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/inc/
Domx_video_base.h225 OMX_U32 bytes
356 OMX_U32 bytes,
487 OMX_U32 bytes);
492 OMX_U32 bytes);
497 OMX_U32 bytes);
503 OMX_U32 bytes,
510 OMX_U32 bytes,

1234567