Searched defs:len (Results 1 - 25 of 196) sorted by relevance

12345678

/hardware/samsung_slsi/exynos5/mobicore/daemon/Registry/Public/
H A DMobiCoreRegistry.h49 uint32_t len; member in struct:__anon1881
/hardware/invensense/60xx/mlsdk/mlutils/
H A Dchecksum.c5 uint32_t inv_checksum(unsigned char *str, int len) argument
10 for (i = 0; i < len; i++) {
/hardware/akm/AK8975_FS/akmdfs/AKFS_APIs_8975/
H A DAKFS_Device.c43 const int16 len, /*!< size of buffer */
50 if((shift < 1) || (len < shift)) {
53 for (i = len-1; i >= shift; i--) {
42 AKFS_BufShift( const int16 len, const int16 shift, AKFVEC v[] ) argument
/hardware/qcom/display/msm8960/libqdutils/
H A Dmdp_version.cpp88 int len = strlen("msmfbXX_"); local
90 len++;
91 panel_type = fb_finfo.id[len];
/hardware/qcom/display/msm8x26/libqdutils/
H A Dmdp_version.cpp88 int len = strlen("msmfbXX_"); local
90 len++;
91 panel_type = fb_finfo.id[len];
/hardware/samsung_slsi/exynos5/mobicore/daemon/Common/
H A DCWsm.h45 uint32_t len; member in class:CWsm
50 uint32_t len,
55 len(len),
49 CWsm(addr_t virtAddr, uint32_t len, uint32_t handle, addr_t physAddr = NULL) argument
H A DConnection.cpp78 int32_t len; local
89 len = strlen(remote.sun_path) + sizeof(remote.sun_family);
92 if (::connect(socketDescriptor, (struct sockaddr *) &remote, len) < 0) {
101 size_t Connection::readData(void *buffer, uint32_t len) argument
103 return readData(buffer, len, -1);
108 size_t Connection::readData(void *buffer, uint32_t len, int32_t timeout) argument
149 ret = recv(socketDescriptor, buffer, len, MSG_DONTWAIT);
159 size_t Connection::writeData(void *buffer, uint32_t len) argument
166 ret = send(socketDescriptor, buffer, len, 0);
167 if (ret != len) {
[all...]
H A DNetlinkConnection.cpp170 uint32_t len
173 return readData(buffer, len, -1);
180 uint32_t len,
198 // __FUNCTION__, len, dataLen);
203 if (len > dataLen) {
208 ret = len;
209 memcpy(buffer, dataStart, len);
210 dataLen -= len;
211 dataStart += len;
231 uint32_t len
178 readData( void *buffer, uint32_t len, int32_t timeout ) argument
259 memcpy(NLMSG_DATA(nlh), buffer, len); local
[all...]
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/linux/
H A Dml_load_dmp.c245 inv_error_t inv_write_dmp_data(FILE *fd, const unsigned char *dmp, size_t len) argument
250 if (len <= 0) {
254 MPL_LOGI("dmp firmware size to write = %d", len);
259 bytesWritten = fwrite(dmp, 1, len, fd);
260 if (bytesWritten != len) {
262 bytesWritten, len);
H A Dml_stored_data.c81 inv_error_t inv_write_cal(unsigned char *cal, size_t len) argument
87 if (len <= 0) {
92 MPL_LOGI("cal data size to write = %d", len);
99 bytesWritten = fwrite(cal, 1, len, fp);
100 if (bytesWritten != len) {
102 bytesWritten, len);
131 * @param len
136 inv_error_t inv_load_cal_V0(unsigned char *calData, size_t len) argument
142 /*if (len != expLen) {
144 expLen, len);
175 inv_load_cal_V1(unsigned char *calData, size_t len) argument
196 int len = 0; local
[all...]
/hardware/ti/omap4xxx/
H A Dmapinfo.c27 int len = strlen(line); local
29 if(len < 1) return 0;
30 line[--len] = 0;
32 if(len < 50) return 0;
35 mi = __real_malloc(sizeof(mapinfo) + (len - 47));
/hardware/invensense/60xx/mlsdk/mllite/
H A Dcompass.h52 int len; member in struct:yas_adaptive_filter
H A DmlFIFOHW.c200 * @param[out] len amount of data currently stored in the fifo.
204 inv_error_t inv_get_fifo_length(uint_fast16_t * len) argument
210 if (NULL == len)
221 *len = 0;
225 *len = (uint_fast16_t) (fifoBuf[0] << 8);
226 *len += (uint_fast16_t) (fifoBuf[1]);
246 * @param[in] len Amount of data to read out of the fifo
250 inv_error_t inv_read_fifo(unsigned char *data, uint_fast16_t len) argument
256 (unsigned short)len, data);
275 int len local
[all...]
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
H A Dml_load_dmp.c217 inv_error_t inv_write_dmp_data(FILE *fd, const unsigned char *dmp, size_t len) argument
222 if (len <= 0) {
227 MPL_LOGI("dmp firmware size to write = %d", len);
232 bytesWritten = fwrite(dmp, 1, len, fd);
233 if (bytesWritten != len) {
235 bytesWritten, len);
H A Dml_stored_data.c85 inv_error_t inv_write_cal(unsigned char *cal, size_t len) argument
91 if (len <= 0) {
96 MPL_LOGI("cal data size to write = %d", len);
103 bytesWritten = fwrite(cal, 1, len, fp);
104 if (bytesWritten != len) {
106 bytesWritten, len);
135 * @param len
140 inv_error_t inv_load_cal_V0(unsigned char *calData, size_t len) argument
146 /*if (len != expLen) {
148 expLen, len);
179 inv_load_cal_V1(unsigned char *calData, size_t len) argument
200 int len = 0; local
[all...]
/hardware/samsung_slsi/exynos5/mobicore/daemon/ClientLib/
H A DSession.cpp107 mcResult_t Session::addBulkBuf(addr_t buf, uint32_t len, BulkBufferDescriptor **blkBuf) argument
126 mcResult_t ret = mcKMod->registerWsmL2(buf, len, 0, &handle, &pPhysWsmL2);
136 *blkBuf = new BulkBufferDescriptor(buf, 0x0, len, handle, pPhysWsmL2);
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/public/
H A DMobiCoreDevice.h65 uint32_t len; /**< Length of the data to load. */ member in struct:__anon1863
195 virtual bool getMciInstance(uint32_t len, CWsm_ptr *mci, bool *reused) = 0;
197 virtual CWsm_ptr registerWsmL2(addr_t buffer, uint32_t len, uint32_t pid) = 0;
207 virtual bool findContiguousWsm(uint32_t handle, addr_t *phys, uint32_t *len) = 0;
217 virtual CWsm_ptr allocateContiguousPersistentWsm(uint32_t len) = 0;
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Server/
H A DServer.cpp73 uint32_t len = strlen(serverAddr.sun_path) + sizeof(serverAddr.sun_family); local
76 if (bind(serverSock, (struct sockaddr *) &serverAddr, len) < 0) {
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/
H A Dstorage_manager.c127 long len; local
129 len = length; // Important so we get negative numbers
130 if (len < sizeof(struct data_header_t))
135 len = MIN(hd->size, len);
136 len = hd->size;
137 len -= sizeof(struct data_header_t);
139 checksum = inv_checksum(data, len);
143 while (len > (long)sizeof(struct data_header_t)) {
147 len
[all...]
/hardware/libhardware/include/hardware/
H A Dqemud.h44 qemud_fd_write(int fd, const void* buff, int len) argument
48 len2 = write(fd, buff, len);
54 qemud_fd_read(int fd, void* buff, int len) argument
58 len2 = read(fd, buff, len);
/hardware/libhardware/modules/consumerir/
H A Dconsumerir.c57 size_t len, consumerir_freq_range_t *ranges)
61 to_copy = len < to_copy ? len : to_copy;
56 consumerir_get_carrier_freqs(struct consumerir_device *dev, size_t len, consumerir_freq_range_t *ranges) argument
/hardware/qcom/display/msm8960/libhwcomposer/
H A Dhwc_uevents.cpp54 static void handle_uevent(hwc_context_t* ctx, const char* udata, int len) argument
106 if (str - udata >= len)
181 int len = 0; local
190 len = uevent_next_event(udata, sizeof(udata) - 2);
191 handle_uevent(ctx, udata, len);
H A Dhwc_vsync.cpp66 ssize_t len = -1; local
98 len = pread(fd_timestamp, vdata, MAX_DATA, 0);
99 if (len < 0) {
/hardware/qcom/display/msm8960/libqservice/
H A DIQService.cpp157 int len = read(fd, buf, size - 1); local
158 buf[len] = 0;
/hardware/qcom/display/msm8974/libhwcomposer/
H A Dhwc_uevents.cpp55 static void handle_uevent(hwc_context_t* ctx, const char* udata, int len) argument
98 if (str - udata >= len)
186 int len = 0; local
195 len = uevent_next_event(udata, sizeof(udata) - 2);
196 handle_uevent(ctx, udata, len);

Completed in 1576 milliseconds

12345678