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

12345678

/hardware/bsp/intel/peripheral/libupm/src/lcd/
H A 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) {
H A Dssd1308.h72 * explanation of how pixels are mapped to bytes
75 * @param bytes Number of bytes to read from the pointer
78 mraa::Result draw(uint8_t* data, int bytes);
H A Dssd1327.h72 * explanation of how pixels are mapped to bytes
75 * @param bytes Number of bytes to read from the pointer
78 mraa::Result draw(uint8_t* data, int bytes);
H A Dssd1308.cxx61 SSD1308::draw(uint8_t* data, int bytes) argument
66 for (int idx = 0; idx < bytes; idx++) {
/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/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/qcom/wlan/qcwcn/wifi_hal/
H A Dcommon.cpp245 char *bytes = (char *)buf; local
249 bytes[i], bytes[i+1],
250 bytes[i+2], bytes[i+3],
251 bytes[i+4], bytes[i+5],
252 bytes[i+6], bytes[i+7]);
256 bytes[
[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.cpp133 int bytes; local
157 bytes = sprintf(buffer, "%d", rate_val);
158 err = write_sys_attribute(input_sysfs_path, buffer, bytes);
H A DSensorBase.cpp71 const char *path, const char *value, int bytes)
82 amt = write(fd, value, bytes);
70 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/bsp/intel/peripheral/libmraa/examples/
H A Diio_driver.c60 printf("channel %d - bytes %d\n", channels[i].index, channels[i].bytes);
61 switch (channels[i].bytes) {
/hardware/libhardware/modules/audio/
H A Daudio_hw.c118 size_t bytes)
120 ALOGV("out_write: bytes: %d", bytes);
122 usleep((int64_t)bytes * 1000000 / audio_stream_out_frame_size(stream) /
124 return bytes;
217 size_t bytes)
219 ALOGV("in_read: bytes %d", bytes);
221 usleep((int64_t)bytes * 1000000 / audio_stream_in_frame_size(stream) /
223 memset(buffer, 0, bytes);
117 out_write(struct audio_stream_out *stream, const void* buffer, size_t bytes) argument
216 in_read(struct audio_stream_in *stream, void* buffer, size_t bytes) argument
[all...]
/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/qcom/audio/hal/audio_extn/
H A Daudio_extn.h76 #define audio_extn_sound_trigger_read(in, buffer, bytes) (0)
97 size_t bytes);
/hardware/qcom/audio/msm8909/hal/audio_extn/
H A Dcompress_capture.c108 /*One AMR WB frame is 61 bytes. Return that to the caller.
116 void *buffer, size_t bytes)
137 bytes - sizeof(*header) - header->reserved[0];
115 audio_extn_compr_cap_read(struct stream_in * in, void *buffer, size_t bytes) argument
/hardware/qcom/media/msm8974/mm-core/inc/
H A Dqc_omx_component.h130 OMX_U32 bytes,
140 OMX_U32 bytes)=0;
/hardware/qcom/media/msm8974/mm-core/omxcore/inc/
H A Dqc_omx_component.h130 OMX_U32 bytes,
140 OMX_U32 bytes)=0;
/hardware/qcom/media/msm8996/mm-core/inc/
H A Dqc_omx_component.h130 OMX_U32 bytes,
140 OMX_U32 bytes)=0;

Completed in 5620 milliseconds

12345678