Searched defs:length (Results 1 - 25 of 71) sorted by relevance

123

/hardware/samsung_slsi/exynos5/include/
H A Dexynos_mem.h25 size_t length; member in struct:exynos_mem_flush_range
H A Ds5p_fimc_v4l2.h108 size_t length; member in struct:fimc_buffer
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/
H A D802.3.h27 #define SNAP_HDR_LEN 6 /* 802.3 SNAP header length */
28 #define DOT3_OUI_LEN 3 /* 802.3 oui length */
33 uint16 length; /* frame length incl header */ member in struct:dot3_mac_llc_snap_header
H A Dbcmeth.h43 * 8 bit length in bytes (0-255)
47 * 16 bit big-endian length in bytes (0-65535)
49 * length is the number of additional bytes beyond the 4 or 6 byte header
95 uint16 length; member in struct:bcmeth_hdr
H A Dvlan.h64 uint16 length; /* frame length incl header */ member in struct:dot3_mac_llc_snapvlan_header
/hardware/invensense/60xx/mlsdk/mllite/
H A DmlMathFunc.h35 int length; member in struct:filter_long
H A DmlFIFOHW.c101 * @param length
111 uint_fast16_t inv_get_fifo(uint_fast16_t length, unsigned char *buffer) argument
119 toRead = length - FIFO_FOOTER_SIZE + fifo_objHW.fifoCount;
120 /*---- make sure length is correct ----*/
121 if (length > MAX_FIFO_LENGTH || toRead > length || NULL == buffer) {
133 if (inFifo < length + fifo_objHW.fifoCount) {
182 return length - FIFO_FOOTER_SIZE;
198 * @brief Get the length from the fifo
H A DmlMathFunc.c25 * y(0) = ---- * |SUM b(k) * x(k) - | SUM a(k) * y(k)|| for N = length
28 * The filters A and B should be (sizeof(long) * state->length).
29 * The state variables x and y should be (sizeof(long) * (state->length - 1))
33 * @param state Contains the length of the filter, filter coefficients and
41 long length = state->length; local
47 for (ii = 0; ii < length - 1; ii++) {
50 for (ii = 0; ii < length - 1; ii++) {
56 for (ii = length - 2; ii > 0; ii--) {
196 /** Performs a length
[all...]
H A Dml_stored_data.c98 * @brief Returns the length of the <b>MPL internal calibration data</b>.
109 * @return the length of the internal calibrated data format.
114 unsigned int length; local
115 length = INV_CAL_HDR_LEN + // header
120 return length;
149 * the length of the calibration
253 * the length of the calibration
384 * the length of the calibration
538 * the length of the calibration
768 * the length o
1231 inv_store_cal(unsigned char *calData, int length) argument
1494 unsigned int length; local
1551 unsigned int length; local
[all...]
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/linux/
H A Dml_stored_data.c101 MPL_LOGE("bytes written (%d) don't match requested length (%d)\n",
132 * the length of the calibration
171 * the length of the calibration
210 len is the total record length including header and checksum */
238 * @param length
243 inv_error_t inv_store_cal(unsigned char *calData, size_t length) argument
314 size_t length; local
316 result = inv_get_mpl_state_size(&length);
317 calData = (unsigned char *)inv_malloc(length);
320 "aborting\n", length);
[all...]
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/
H A Dstorage_manager.c119 * @param[in] length Length of data vector in bytes
122 inv_error_t inv_load_mpl_states(const unsigned char *data, size_t length) argument
129 len = length; // Important so we get negative numbers
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
H A Dml_stored_data.c105 MPL_LOGE("bytes written (%d) don't match requested length (%d)\n",
136 * the length of the calibration
175 * the length of the calibration
214 len is the total record length including header and checksum */
242 * @param length
247 inv_error_t inv_store_cal(unsigned char *calData, size_t length) argument
318 size_t length; local
320 result = inv_get_mpl_state_size(&length);
321 calData = (unsigned char *)inv_malloc(length);
324 "aborting\n", length);
[all...]
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
H A Dstorage_manager.c123 * @param[in] length Length of data vector in bytes
126 inv_error_t inv_load_mpl_states(const unsigned char *data, size_t length) argument
133 len = length; // Important so we get negative numbers
/hardware/qcom/audio/legacy/alsa_sound/
H A DAudioUtil.cpp152 int length = 0; local
156 memcpy(&length, data, sizeof(int));
158 ALOGV("Total length is %d",length);
162 while (length >= MIN_AUDIO_DESC_LENGTH && count < MAX_SHORT_AUDIO_DESC_CNT) {
167 length -= MIN_AUDIO_DESC_LENGTH;
232 int length = 0; local
236 memcpy(&length, data, sizeof(int));
237 ALOGV("Total length is %d",length);
[all...]
/hardware/ti/omap4xxx/ion/
H A Dion.c107 int ion_map(int fd, struct ion_handle *handle, size_t length, int prot, argument
121 *ptr = mmap(NULL, length, prot, flags, *map_fd, offset);
/hardware/invensense/60xx/mlsdk/platform/linux/
H A Dmlsl_linux_mpu.c108 MPL_LOGE("bytes read (%d) don't match requested length (%d)\n",
146 MPL_LOGE("bytes write (%d) don't match requested length (%d)\n",
169 MPL_LOGE("bytes read (%d) don't match requested length (%d)\n",
200 MPL_LOGE("bytes written (%d) don't match requested length (%d)\n",
279 unsigned short length,
291 msg.length = length;
296 data[0], length, result);
302 for (ii = 0; ii < length; ii++) {
307 data[0], length, data_buf
277 inv_serial_write(void *sl_handle, unsigned char slaveAddr, unsigned short length, unsigned char const *data) argument
313 inv_serial_read(void *sl_handle, unsigned char slaveAddr, unsigned char registerAddr, unsigned short length, unsigned char *data) argument
352 inv_serial_write_mem(void *sl_handle, unsigned char mpu_addr, unsigned short memAddr, unsigned short length, const unsigned char *data) argument
384 inv_serial_read_mem(void *sl_handle, unsigned char mpu_addr, unsigned short memAddr, unsigned short length, unsigned char *data) argument
421 inv_serial_write_fifo(void *sl_handle, unsigned char mpu_addr, unsigned short length, const unsigned char *data) argument
457 inv_serial_read_fifo(void *sl_handle, unsigned char mpu_addr, unsigned short length, unsigned char *data) argument
[all...]
/hardware/qcom/media/mm-video-legacy/vidc/venc/test/
H A Dvideo_encoder_test.c48 static unsigned int read_frame ( unsigned char *dataptr,unsigned int length,
1042 static unsigned int read_frame (unsigned char *dataptr, unsigned int length, argument
1053 if (dataptr == NULL && length == 0)
1055 DEBUG_PRINT ("\n dataptr = %p length = %d",dataptr,(int)length);
1060 bytes_read = fread(&dataptr[readOffset],1,length,inputBufferFile);
/hardware/qcom/media/mm-video-v4l2/vidc/venc/test/
H A Dvideo_encoder_test.c48 static unsigned int read_frame ( unsigned char *dataptr,unsigned int length,
980 static unsigned int read_frame (unsigned char *dataptr, unsigned int length, argument
991 if (dataptr == NULL && length == 0) {
992 DEBUG_PRINT ("\n dataptr = %p length = %d",dataptr,(int)length);
997 bytes_read = fread(&dataptr[readOffset],1,length,inputBufferFile);
/hardware/qcom/msm8960/kernel-headers/linux/
H A Dmsm_ion.h91 unsigned int length; member in struct:ion_flush_data
/hardware/samsung_slsi/exynos5/libv4l2/
H A Dexynos_mc.c396 * @param length - size of @a name.
403 const char *name, size_t length)
411 if (strncmp(entity->info.name, name, length) == 0)
402 exynos_media_get_entity_by_name(struct media_device *media, const char *name, size_t length) argument
/hardware/samsung_slsi/exynos5/mobicore/include/Public/
H A Dmc_linux.h67 /** notification buffer start/length [16:16] [start, length] */
69 /** length of notification queue */
71 /** mcp buffer start/length [16:16] [start, length] */
73 /** length of mcp buffer */
102 size_t len; /**< Buffer length */
133 /**< length of DDR area */
134 uint32_t length; member in struct:mc_ioctl_execute
145 /**< length memor
146 uint32_t length; member in struct:mc_ioctl_resolv_cont_wsm
[all...]
/hardware/ti/omap3/omx/ti_omx_config_parser/src/
H A Dti_video_config_parser.cpp121 int16 length = 0; local
126 tmp_ptr += length;
127 length = GetNAL_Config(&tmp_ptr, &initbufsize);
128 buffer_begin[0] = length & 0xFF;
129 buffer_begin[1] = (length >> 8) & 0xFF;
130 oscl_memcpy(buffer_begin + 2, tmp_ptr, length);
131 buffer_begin += (length + 2);
132 tConfigSize += (length + 2);
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
H A DOMXCapture.cpp278 status_t OMXCameraAdapter::getPictureBufferSize(size_t &length, size_t bufferCount) argument
300 length = imgCaptureData->mBufSize;
305 length = 0;
309 CAMHAL_LOGDB("getPictureBufferSize %d", length);
H A DOMXFocus.cpp600 status_t OMXCameraAdapter::encodeFocusDistance(OMX_U32 dist, char *buffer, size_t length) argument
617 strncpy(buffer, CameraParameters::FOCUS_DISTANCE_INFINITY, ( length - 1 ));
623 snprintf(buffer, ( length - 1 ) , "%5.3f", distFinal);
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
H A Dbcmdefs.h178 uint32 length; member in struct:__anon19

Completed in 538 milliseconds

123