Home
last modified time | relevance | path

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

123

/hardware/broadcom/wlan/bcm4329/dhdutil/include/
Dbcmendian.h121 #define htol16_ua_store(val, bytes) ({ \ argument
123 uint8 *_bytes = (uint8 *)(bytes); \
128 #define htol32_ua_store(val, bytes) ({ \ argument
130 uint8 *_bytes = (uint8 *)(bytes); \
137 #define hton16_ua_store(val, bytes) ({ \ argument
139 uint8 *_bytes = (uint8 *)(bytes); \
144 #define hton32_ua_store(val, bytes) ({ \ argument
146 uint8 *_bytes = (uint8 *)(bytes); \
153 #define ltoh16_ua(bytes) ({ \ argument
154 const uint8 *_bytes = (const uint8 *)(bytes); \
[all …]
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcmendian.h121 #define htol16_ua_store(val, bytes) ({ \ argument
123 uint8 *_bytes = (uint8 *)(bytes); \
128 #define htol32_ua_store(val, bytes) ({ \ argument
130 uint8 *_bytes = (uint8 *)(bytes); \
137 #define hton16_ua_store(val, bytes) ({ \ argument
139 uint8 *_bytes = (uint8 *)(bytes); \
144 #define hton32_ua_store(val, bytes) ({ \ argument
146 uint8 *_bytes = (uint8 *)(bytes); \
153 #define ltoh16_ua(bytes) ({ \ argument
154 const uint8 *_bytes = (const uint8 *)(bytes); \
[all …]
/hardware/ti/omap4xxx/camera/
DMemoryManager.cpp46 void* MemoryManager::allocateBuffer(int width, int height, const char* format, int &bytes, int numB… in allocateBuffer() argument
77 if(bytes != 0) in allocateBuffer()
85 int ret = ion_alloc(mIonFd, bytes, 0, 1 << ION_HEAP_TYPE_CARVEOUT, &handle); in allocateBuffer()
92 CAMHAL_LOGDB("Before mapping, handle = %x, nSize = %d", handle, bytes); in allocateBuffer()
93 if ((ret = ion_map(mIonFd, handle, bytes, PROT_READ | PROT_WRITE, MAP_SHARED, 0, in allocateBuffer()
103 mIonBufLength.add(bufsArr[i], (unsigned int) bytes); in allocateBuffer()
/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) / AudioSystem::popCount(channels()) / sampleRate()); in write()
132 return bytes; in write()
174 ssize_t AudioStreamInStub::read(void* buffer, ssize_t bytes) in read() argument
177 usleep(bytes * 1000000 / sizeof(int16_t) / AudioSystem::popCount(channels()) / sampleRate()); in read()
178 memset(buffer, 0, bytes); in read()
179 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 …]
DAudioHardwareGeneric.cpp233 ssize_t AudioStreamOutGeneric::write(const void* buffer, size_t bytes) in write() argument
236 return ssize_t(::write(mFd, buffer, bytes)); in write()
343 ssize_t AudioStreamInGeneric::read(void* buffer, ssize_t bytes) in read() argument
350 return ::read(mFd, buffer, bytes); in read()
DAudioHardwareStub.h39 virtual ssize_t write(const void* buffer, size_t bytes);
55 virtual ssize_t read(void* buffer, ssize_t bytes);
DAudioHardwareGeneric.h56 virtual ssize_t write(const void* buffer, size_t bytes);
89 virtual ssize_t read(void* buffer, ssize_t bytes);
DAudioDumpInterface.h45 virtual ssize_t write(const void* buffer, size_t bytes);
93 virtual ssize_t read(void* buffer, ssize_t bytes);
/hardware/ti/wlan/mac80211/wpa_supplicant_lib/
Ddriver_mac80211.c135 int bytes; in wpa_driver_wext_event_wireless_custom() local
139 bytes = strspn(spos, "0123456789abcdefABCDEF"); in wpa_driver_wext_event_wireless_custom()
140 if (!bytes || (bytes & 1)) { in wpa_driver_wext_event_wireless_custom()
143 bytes /= 2; in wpa_driver_wext_event_wireless_custom()
145 data.assoc_info.req_ies = os_malloc(bytes); in wpa_driver_wext_event_wireless_custom()
149 data.assoc_info.req_ies_len = bytes; in wpa_driver_wext_event_wireless_custom()
150 hexstr2bin(spos, data.assoc_info.req_ies, bytes); in wpa_driver_wext_event_wireless_custom()
152 spos += bytes * 2; in wpa_driver_wext_event_wireless_custom()
160 bytes = strspn(spos, "0123456789abcdefABCDEF"); in wpa_driver_wext_event_wireless_custom()
161 if (!bytes || (bytes & 1)) { in wpa_driver_wext_event_wireless_custom()
[all …]
/hardware/ti/omap4xxx/libtiutils/
DMessageQueue.cpp192 size_t bytes = 0; in put() local
211 while( bytes < sizeof(msg) ) in put()
213 int err = write(this->fd_write, p, sizeof(*msg) - bytes); in put()
223 bytes += err; in put()
/hardware/qcom/media/mm-video/vidc/venc/inc/
Domx_video_base.h137 OMX_U32 bytes
241 OMX_U32 bytes,
361 OMX_U32 bytes);
366 OMX_U32 bytes);
372 OMX_U32 bytes,
379 OMX_U32 bytes,
/hardware/qcom/media/mm-video/vidc/vdec/inc/
Domx_vdec.h182 OMX_U32 bytes
274 OMX_U32 bytes,
402 OMX_U32 bytes);
409 OMX_U32 bytes);
414 OMX_U32 bytes);
420 OMX_U32 bytes,
427 OMX_U32 bytes,
/hardware/libhardware/modules/audio/
Daudio_hw.c105 size_t bytes) in out_write() argument
108 usleep(bytes * 1000000 / audio_stream_frame_size(&stream->common) / in out_write()
110 return bytes; in out_write()
193 size_t bytes) in in_read() argument
196 usleep(bytes * 1000000 / audio_stream_frame_size(&stream->common) / in in_read()
198 return bytes; in in_read()
/hardware/ril/mock-ril/src/cpp/
Dctrl_server.cpp78 uint8_t *bytes = (uint8_t *)data; in WriteAll() local
82 ret_value = send(s, bytes, length, 0); in WriteAll()
89 bytes += ret_value; in WriteAll()
98 uint8_t *bytes = (uint8_t *)data; in ReadAll() local
102 ret_value = recv(s, bytes, length, 0); in ReadAll()
109 bytes += ret_value; in ReadAll()
/hardware/msm7k/libaudio-qdsp5v2/
DAudioHardware.cpp215 ssize_t AudioHardware::AudioStreamOutQ5V2::write(const void* buffer, size_t bytes) in write() argument
219 size_t count = bytes; in write()
285 return bytes; in write()
293 usleep(bytes * 1000000 / frameSize() / sampleRate()); in write()
/hardware/libhardware/modules/usbaudio/
Daudio_hw.c191 size_t bytes) in out_write() argument
206 pcm_write(out->pcm, (void *)buffer, bytes); in out_write()
211 return bytes; in out_write()
217 usleep(bytes * 1000000 / audio_stream_frame_size(&stream->common) / in out_write()
221 return bytes; in out_write()
/hardware/qcom/media/mm-core/omxcore/inc/
Dqc_omx_component.h130 OMX_U32 bytes,
140 OMX_U32 bytes)=0;
/hardware/qcom/media/mm-video/vidc/venc/src/
Domx_video_base.cpp1872 OMX_IN OMX_U32 bytes, in use_input_buffer() argument
1880 …_HIGH("use_input_buffer: port = %d appData = %p bytes = %d buffer = %p",port,appData,bytes,buffer); in use_input_buffer()
1881 if(bytes != m_sInPortDef.nBufferSize) in use_input_buffer()
1884 "bytes[%d] != Port.nBufferSize[%d]", bytes, m_sInPortDef.nBufferSize); in use_input_buffer()
2017 OMX_IN OMX_U32 bytes, in use_output_buffer() argument
2026 if(bytes != m_sOutPortDef.nBufferSize) in use_output_buffer()
2029 "bytes[%d] != Port.nBufferSize[%d]", bytes, m_sOutPortDef.nBufferSize); in use_output_buffer()
2072 bufHdr->nAllocLen = bytes; in use_output_buffer()
2187 OMX_IN OMX_U32 bytes, in use_buffer() argument
2198 eRet = use_input_buffer(hComp,bufferHdr,port,appData,bytes,buffer); in use_buffer()
[all …]
/hardware/qcom/media/mm-core/omxcore/src/common/
Domx_core_cmp.h110 OMX_IN OMX_U32 bytes,
120 OMX_IN OMX_U32 bytes);
Domx_core_cmp.cpp253 OMX_IN OMX_U32 bytes, in qc_omx_component_use_buffer() argument
266 bytes, in qc_omx_component_use_buffer()
279 OMX_IN OMX_U32 bytes) in qc_omx_component_allocate_buffer() argument
288 eRet = pThis->allocate_buffer(hComp,bufferHdr,port,appData,bytes); in qc_omx_component_allocate_buffer()
/hardware/ti/wlan/mac80211/ti-utils/scripts/
Dmkcard.sh9 echo DISK SIZE - $SIZE bytes
/hardware/libhardware_legacy/include/hardware_legacy/
DAudioHardwareInterface.h89 virtual ssize_t write(const void* buffer, size_t bytes) = 0;
155 virtual ssize_t read(void* buffer, ssize_t bytes) = 0;
/hardware/libhardware/include/hardware/
Daudio.h245 size_t bytes);
275 size_t bytes);
/hardware/msm7k/libaudio/
DAudioHardware.cpp703 ssize_t AudioHardware::AudioStreamOutMSM72xx::write(const void* buffer, size_t bytes) in write() argument
707 size_t count = bytes; in write()
770 return bytes; in write()
778 usleep(bytes * 1000000 / frameSize() / sampleRate()); in write()
1007 ssize_t AudioHardware::AudioStreamInMSM72xx::read( void* buffer, ssize_t bytes) in read() argument
1009 ALOGV("AudioStreamInMSM72xx::read(%p, %ld)", buffer, bytes); in read()
1012 size_t count = bytes; in read()
1045 return bytes; in read()

123