Searched refs:bytes (Results 1 - 25 of 133) sorted by relevance

123456

/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
H A Dbcmendian.h29 /* Reverse the bytes in a 16-bit value */
34 /* Reverse the bytes in a 32-bit value */
125 #define htol16_ua_store(val, bytes) ({ \
127 uint8 *_bytes = (uint8 *)(bytes); \
132 #define htol32_ua_store(val, bytes) ({ \
134 uint8 *_bytes = (uint8 *)(bytes); \
141 #define hton16_ua_store(val, bytes) ({ \
143 uint8 *_bytes = (uint8 *)(bytes); \
148 #define hton32_ua_store(val, bytes) ({ \
150 uint8 *_bytes = (uint8 *)(bytes); \
216 htol16_ua_store(uint16 val, uint8 *bytes) argument
226 htol32_ua_store(uint32 val, uint8 *bytes) argument
238 hton16_ua_store(uint16 val, uint8 *bytes) argument
248 hton32_ua_store(uint32 val, uint8 *bytes) argument
260 ltoh16_ua(const void *bytes) argument
269 ltoh32_ua(const void *bytes) argument
278 ntoh16_ua(const void *bytes) argument
287 ntoh32_ua(const void *bytes) argument
[all...]
/hardware/qcom/wlan/qcwcn/wifi_hal/
H A Dcommon.cpp203 void hexdump(char *bytes, u16 len) argument
209 bytes[i], bytes[i+1],
210 bytes[i+2], bytes[i+3],
211 bytes[i+4], bytes[i+5],
212 bytes[i+6], bytes[i+7]);
216 bytes[
[all...]
/hardware/ti/omap4xxx/camera/
H A DMemoryManager.cpp46 void* MemoryManager::allocateBuffer(int width, int height, const char* format, int &bytes, int numBufs) argument
77 if(bytes != 0)
85 int ret = ion_alloc(mIonFd, bytes, 0, 1 << ION_HEAP_TYPE_CARVEOUT, &handle);
92 CAMHAL_LOGDB("Before mapping, handle = %x, nSize = %d", handle, bytes);
93 if ((ret = ion_map(mIonFd, handle, bytes, PROT_READ | PROT_WRITE, MAP_SHARED, 0,
103 mIonBufLength.add(bufsArr[i], (unsigned int) bytes);
107 else // If bytes is not zero, then it is a 2-D tiler buffer request
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
H A Dmd5_utils.h12 * To compute the message digest of a chunk of bytes, declare an
14 * needed on buffers full of bytes, and then call MD5Final, which
36 UWORD32 bytes[2]; member in struct:MD5Context
H A Dmd5_utils.c12 * To compute the message digest of a chunk of bytes, declare an
14 * needed on buffers full of bytes, and then call MD5Final, which
31 /* Only swap bytes for big endian machines */
57 ctx->bytes[0] = 0;
58 ctx->bytes[1] = 0;
63 * of bytes.
71 t = ctx->bytes[0];
73 if ((ctx->bytes[0] = t + len) < t)
74 ctx->bytes[1]++; /* Carry from low to high */
99 /* Handle any remaining bytes o
[all...]
/hardware/libhardware_legacy/audio/
H A DAudioDumpInterface.cpp279 ssize_t AudioStreamOutDump::write(const void* buffer, size_t bytes) argument
284 ret = mFinalStream->write(buffer, bytes);
286 usleep((((bytes * 1000) / frameSize()) / sampleRate()) * 1000);
287 ret = bytes;
298 fwrite(buffer, bytes, 1, mFile);
439 ssize_t AudioStreamInDump::read(void* buffer, ssize_t bytes) argument
444 ret = mFinalStream->read(buffer, bytes);
454 fwrite(buffer, bytes, 1, mFile);
457 usleep((((bytes * 1000) / frameSize()) / sampleRate()) * 1000);
458 ret = bytes;
[all...]
H A DAudioHardwareStub.cpp128 ssize_t AudioStreamOutStub::write(const void* buffer, size_t bytes) argument
131 usleep(bytes * 1000000 / sizeof(int16_t) /
133 return bytes;
175 ssize_t AudioStreamInStub::read(void* buffer, ssize_t bytes) argument
178 usleep(bytes * 1000000 / sizeof(int16_t) /
180 memset(buffer, 0, bytes);
181 return bytes;
/hardware/akm/AK8975_FS/libsensors/
H A DSensorBase.h50 char const *path, char const *value, int bytes);
H A DAdxlSensor.cpp132 int bytes; local
156 bytes = sprintf(buffer, "%d", rate_val);
157 err = write_sys_attribute(input_sysfs_path, buffer, bytes);
H A DSensorBase.cpp70 const char *path, const char *value, int bytes)
81 amt = write(fd, value, bytes);
69 write_sys_attribute( const char *path, const char *value, int bytes) argument
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/x86/
H A 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 t
[all...]
/hardware/ti/omap4-aah/libtiutils/
H A DMessageQueue.cpp193 size_t bytes = 0; local
212 while( bytes < sizeof(msg) )
214 int err = write(this->fd_write, p, sizeof(*msg) - bytes);
224 bytes += err;
/hardware/ti/omap4xxx/libtiutils/
H A DMessageQueue.cpp192 size_t bytes = 0; local
211 while( bytes < sizeof(msg) )
213 int err = write(this->fd_write, p, sizeof(*msg) - bytes);
223 bytes += err;
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
H A Dmpu_iio.c98 int bytes = 0; local
101 if (bytes % channels[i].bytes == 0)
102 channels[i].location = bytes;
104 channels[i].location = bytes - bytes%channels[i].bytes
105 + channels[i].bytes;
106 bytes = channels[i].location + channels[i].bytes;
[all...]
/hardware/libhardware/modules/audio/
H A Daudio_hw.c105 size_t bytes)
108 usleep(bytes * 1000000 / audio_stream_out_frame_size(stream) /
110 return bytes;
193 size_t bytes)
196 usleep(bytes * 1000000 / audio_stream_in_frame_size(stream) /
198 return bytes;
104 out_write(struct audio_stream_out *stream, const void* buffer, size_t bytes) argument
192 in_read(struct audio_stream_in *stream, void* buffer, size_t bytes) argument
/hardware/qcom/media/mm-core/inc/
H A Dqc_omx_component.h130 OMX_U32 bytes,
140 OMX_U32 bytes)=0;
/hardware/qcom/media/mm-core/omxcore/inc/
H A Dqc_omx_component.h130 OMX_U32 bytes,
140 OMX_U32 bytes)=0;
/hardware/qcom/msm8960/kernel-headers/linux/mfd/wcd9xxx/
H A Dcore.h159 int bytes, void *dest, bool interface_reg);
161 int bytes, void *src, bool interface_reg);
/hardware/samsung_slsi/exynos5/mobicore/common/MobiCore/inc/
H A DmcContainer.h53 #define MC_BYTES_TO_WORDS(bytes) ( (bytes) / sizeof(uint32_t) )
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/armv6/
H A 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
H A 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
H A 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
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/x86/
H A 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 t
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/arm/armv6/
H A 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/qcom/media/mm-video-legacy/vidc/venc/inc/
H A 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,

Completed in 822 milliseconds

123456