Home
last modified time | relevance | path

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

12345678

/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/bsp/intel/peripheral/libupm/src/lcd/
Djavaupm_i2clcd.i10 %typemap(jni) (uint8_t *data, int bytes) "jbyteArray";
11 %typemap(jtype) (uint8_t *data, int bytes) "byte[]";
12 %typemap(jstype) (uint8_t *data, int bytes) "byte[]";
14 %typemap(javain) (uint8_t *data, int bytes) "$javainput";
16 %typemap(in) (uint8_t *data, int bytes) {
21 %typemap(freearg) (uint8_t *data, int bytes) {
/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/qcom/wlan/qcwcn/wifi_hal/
Dcommon.cpp245 char *bytes = (char *)buf; in hexdump() local
249 bytes[i], bytes[i+1], in hexdump()
250 bytes[i+2], bytes[i+3], in hexdump()
251 bytes[i+4], bytes[i+5], in hexdump()
252 bytes[i+6], bytes[i+7]); in hexdump()
256 bytes[i], bytes[i+1], in hexdump()
257 bytes[i+2], bytes[i+3]); in hexdump()
261 ALOGV("%02x", bytes[i]); in hexdump()
/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/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/x86/
Dvp9_variance_impl_mmx.asm97 movq mm0, [rax] ; Copy eight bytes to mm0
98 movq mm1, [rbx] ; Copy eight bytes to mm1
116 movq mm1, [rbx] ; Copy eight bytes to mm1
122 movq mm0, [rax] ; Copy eight bytes to mm0
140 movq mm1, [rbx] ; Copy eight bytes to mm1
145 movq mm0, [rax] ; Copy eight bytes to mm0
163 movq mm1, [rbx] ; Copy eight bytes to mm1
168 movq mm0, [rax] ; Copy eight bytes to mm0
186 movq mm1, [rbx] ; Copy eight bytes to mm1
191 movq mm0, [rax] ; Copy eight bytes to mm0
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/x86/
Dvariance_impl_mmx.asm97 movq mm0, [rax] ; Copy eight bytes to mm0
98 movq mm1, [rbx] ; Copy eight bytes to mm1
116 movq mm1, [rbx] ; Copy eight bytes to mm1
122 movq mm0, [rax] ; Copy eight bytes to mm0
140 movq mm1, [rbx] ; Copy eight bytes to mm1
145 movq mm0, [rax] ; Copy eight bytes to mm0
163 movq mm1, [rbx] ; Copy eight bytes to mm1
168 movq mm0, [rax] ; Copy eight bytes to mm0
186 movq mm1, [rbx] ; Copy eight bytes to mm1
191 movq mm0, [rax] ; Copy eight bytes to mm0
[all …]
/hardware/libhardware/modules/audio/
Daudio_hw.c118 size_t bytes) in out_write() argument
120 ALOGV("out_write: bytes: %d", bytes); in out_write()
122 usleep((int64_t)bytes * 1000000 / audio_stream_out_frame_size(stream) / in out_write()
124 return bytes; in out_write()
217 size_t bytes) in in_read() argument
219 ALOGV("in_read: bytes %d", bytes); in in_read()
221 usleep((int64_t)bytes * 1000000 / audio_stream_in_frame_size(stream) / in in_read()
223 memset(buffer, 0, bytes); in in_read()
224 return bytes; in in_read()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Dmd5_utils.c57 ctx->bytes[0] = 0; in MD5Init()
58 ctx->bytes[1] = 0; in MD5Init()
71 t = ctx->bytes[0]; in MD5Update()
73 if ((ctx->bytes[0] = t + len) < t) in MD5Update()
74 ctx->bytes[1]++; /* Carry from low to high */ in MD5Update()
109 int count = ctx->bytes[0] & 0x3f; /* Number of bytes in ctx->in */ in MD5Final()
130 ctx->in[14] = ctx->bytes[0] << 3; in MD5Final()
131 ctx->in[15] = ctx->bytes[1] << 3 | ctx->bytes[0] >> 29; in MD5Final()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/arm/armv6/
Dvp8_mse16x16_armv6.asm46 sel r7, r8, lr ; select bytes with positive difference
49 sel r8, r9, lr ; select bytes with negative difference
68 sel r7, r8, lr ; select bytes with positive difference
70 sel r8, r9, lr ; select bytes with negative difference
87 sel r7, r8, lr ; select bytes with positive difference
89 sel r8, r9, lr ; select bytes with negative difference
109 sel r7, r8, lr ; select bytes with positive difference
112 sel r8, r9, lr ; select bytes with negative difference
/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/ti/omap4-aah/libtiutils/
DMessageQueue.cpp193 size_t bytes = 0; in put() local
212 while( bytes < sizeof(msg) ) in put()
214 int err = write(this->fd_write, p, sizeof(*msg) - bytes); in put()
224 bytes += err; in put()
/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/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/armv6/
Dvp8_variance16x16_armv6.asm45 sel r7, r6, lr ; select bytes with positive difference
48 sel r6, r9, lr ; select bytes with negative difference
69 sel r7, r6, lr ; select bytes with positive difference
71 sel r6, r9, lr ; select bytes with negative difference
93 sel r7, r6, lr ; select bytes with positive difference
95 sel r6, r9, lr ; select bytes with negative difference
118 sel r7, r6, lr ; select bytes with positive difference
121 sel r6, r9, lr ; select bytes with negative difference
Dvp8_variance_halfpixvar16x16_v_armv6.asm51 sel r7, r6, lr ; select bytes with positive difference
54 sel r6, r6, lr ; select bytes with negative difference
82 sel r7, r6, lr ; select bytes with positive difference
84 sel r6, r6, lr ; select bytes with negative difference
113 sel r7, r6, lr ; select bytes with positive difference
115 sel r6, r6, lr ; select bytes with negative difference
145 sel r7, r6, lr ; select bytes with positive difference
148 sel r6, r6, lr ; select bytes with negative difference
Dvp8_variance_halfpixvar16x16_h_armv6.asm50 sel r7, r6, lr ; select bytes with positive difference
53 sel r6, r6, lr ; select bytes with negative difference
81 sel r7, r6, lr ; select bytes with positive difference
83 sel r6, r6, lr ; select bytes with negative difference
112 sel r7, r6, lr ; select bytes with positive difference
114 sel r6, r6, lr ; select bytes with negative difference
144 sel r7, r6, lr ; select bytes with positive difference
147 sel r6, r6, lr ; select bytes with negative difference
/hardware/qcom/audio/msm8909/mm-audio/aenc-amrnb/qdsp6/inc/
Domx_amr_aenc.h154 OMX_U32 bytes);
237 OMX_U32 bytes,
461 OMX_U32 bytes);
467 OMX_U32 bytes);
473 OMX_IN OMX_U32 bytes,
480 OMX_IN OMX_U32 bytes,
/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/qcom/audio/msm8909/mm-audio/aenc-qcelp13/qdsp6/inc/
Domx_qcelp13_aenc.h155 OMX_U32 bytes);
238 OMX_U32 bytes,
462 OMX_U32 bytes);
468 OMX_U32 bytes);
474 OMX_IN OMX_U32 bytes,
481 OMX_IN OMX_U32 bytes,
/hardware/qcom/audio/msm8909/mm-audio/aenc-evrc/qdsp6/inc/
Domx_evrc_aenc.h155 OMX_U32 bytes);
238 OMX_U32 bytes,
462 OMX_U32 bytes);
468 OMX_U32 bytes);
474 OMX_IN OMX_U32 bytes,
481 OMX_IN OMX_U32 bytes,
/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()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/inc/
Domx_video_base.h211 OMX_U32 bytes
340 OMX_U32 bytes,
471 OMX_U32 bytes);
476 OMX_U32 bytes);
481 OMX_U32 bytes);
487 OMX_U32 bytes,
494 OMX_U32 bytes,

12345678