Home
last modified time | relevance | path

Searched refs:len (Results 1 – 25 of 296) sorted by relevance

12345678910>>...12

/device/generic/opengl-transport/host/libs/virglrenderer/GLESv3_dec/
Dgles3.attrib5 len name (strlen(name) + 1)
8 len data size
12 len data size
16 len data imageSize
22 len data imageSize
28 len buffers (n * sizeof(GLuint))
32 len framebuffers (n * sizeof(GLuint))
36 len renderbuffers (n * sizeof(GLuint))
40 len textures (n * sizeof(GLuint))
47 len buffers (n * sizeof(GLuint))
[all …]
/device/generic/opengl-transport/host/libs/virglrenderer/GLESv1_dec/
Dgles1.attrib6 len equation (4 * sizeof(float))
24 len m (16 * sizeof(GLfloat))
27 len m (16 * sizeof(GLfloat))
30 len data size
35 len data size
40 len eqn (4 * sizeof(GLfixed))
43 len pointer (sizeof(unsigned int))
47 len data imageSize
51 len data imageSize
55 len buffers (n * sizeof(GLuint))
[all …]
/device/google/crosshatch/audio/
Dconvert_config_string.py11 for i in range(len(inlist)-1):
23 print("Actual CRC=", inlist[len(inlist)-1])
52 for i in range(21,len(binarydata)-1):
69 binarydata[len(binarydata)-1]=crc
106 for i in range(21,len(binarydata)-1):
123 binarydata[len(binarydata)-1]=crc
177 for i in range(len(binarydata)-1):
180 fileo.write(str(binarydata[len(binarydata)-1])+'\n\n\n\n')
184 for i in range(len(binarydata1)-1):
187 fileo.write(str(binarydata1[len(binarydata1)-1])+'\n\n\n\n')
[all …]
/device/google/bonito/audio/
Dconvert_config_string.py11 for i in range(len(inlist)-1):
23 print("Actual CRC=", inlist[len(inlist)-1])
52 for i in range(21,len(binarydata)-1):
69 binarydata[len(binarydata)-1]=crc
106 for i in range(21,len(binarydata)-1):
123 binarydata[len(binarydata)-1]=crc
177 for i in range(len(binarydata)-1):
180 fileo.write(str(binarydata[len(binarydata)-1])+'\n\n\n\n')
184 for i in range(len(binarydata1)-1):
187 fileo.write(str(binarydata1[len(binarydata1)-1])+'\n\n\n\n')
[all …]
/device/linaro/dragonboard/qcom/rmtfs/
Dqmi_tlv.c26 uint16_t len; member
51 struct qmi_tlv *qmi_tlv_decode(void *buf, size_t len, unsigned *txn, unsigned msg_type) in qmi_tlv_decode() argument
63 tlv->size = len; in qmi_tlv_decode()
71 void *qmi_tlv_encode(struct qmi_tlv *tlv, size_t *len) in qmi_tlv_encode() argument
82 *len = tlv->size; in qmi_tlv_encode()
107 offset += sizeof(struct qmi_tlv_item) + item->len; in qmi_tlv_get_item()
112 void *qmi_tlv_get(struct qmi_tlv *tlv, unsigned id, size_t *len) in qmi_tlv_get() argument
120 *len = item->len; in qmi_tlv_get()
124 void *qmi_tlv_get_array(struct qmi_tlv *tlv, unsigned id, unsigned len_size, size_t *len, size_t *s… in qmi_tlv_get_array() argument
147 *len = count; in qmi_tlv_get_array()
[all …]
/device/generic/goldfish-opengl/system/renderControl_enc/
DrenderControl.attrib7 len major sizeof(EGLint)
9 len minor sizeof(EGLint)
13 len buffer bufferSize
17 len buffer bufferSize
21 len numAttribs sizeof(uint32_t)
25 len buffer bufSize
29 len attribs attribs_size
32 len configs configs_size*sizeof(uint32_t)
36 len pixels (((glUtilsPixelBitSize(format, type) * width) >> 3) * height)
40 len pixels (((glUtilsPixelBitSize(format, type) * width) >> 3) * height)
[all …]
/device/generic/goldfish-opengl/host/include/libOpenglRender/
DIOStream.h33 virtual size_t idealAllocSize(size_t len) { in idealAllocSize() argument
34 return m_bufsize < len ? len : m_bufsize; in idealAllocSize()
39 virtual const unsigned char *readFully( void *buf, size_t len) = 0;
40 virtual const unsigned char *commitBufferAndReadFully(size_t size, void *buf, size_t len) = 0;
42 virtual int writeFully(const void* buf, size_t len) = 0;
49 virtual unsigned char *alloc(size_t len) { in alloc() argument
51 if (m_iostreamBuf && len > m_free) { in alloc()
58 if (!m_iostreamBuf || len > m_bufsize) { in alloc()
59 int allocLen = this->idealAllocSize(len); in alloc()
71 m_free -= len; in alloc()
[all …]
/device/generic/opengl-transport/host/libs/virglrenderer/renderControl_dec/
DrenderControl.attrib7 len major sizeof(EGLint)
9 len minor sizeof(EGLint)
14 len buffer bufferSize
19 len buffer bufferSize
23 len numAttribs sizeof(uint32_t)
27 len buffer bufSize
32 len attribs attribs_size
35 len configs configs_size*sizeof(uint32_t)
83 len attribs num_attribs
85 len glsync_out sizeof(uint64_t)
[all …]
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DVirtioGpuStream.cpp258 int VirtioGpuStream::writeFully(const void *buf, size_t len) in writeFully() argument
264 if (len > 0) { in writeFully()
268 __func__, len); in writeFully()
279 len, m_cmdPos, m_flushPos); in writeFully()
283 if (m_flushPos + len > cmd->cmdSize) { in writeFully()
286 __func__, len, m_cmdPos, m_flushPos, cmd->cmdSize); in writeFully()
290 if (len > VIRGL_MAX_CMDBUF_SIZE) { in writeFully()
292 __func__, len); in writeFully()
296 memcpy(&m_buf[m_flushPos], buf, len); in writeFully()
297 commitBuffer(len); in writeFully()
[all …]
DVirtioGpuPipeStream.cpp201 int VirtioGpuPipeStream::writeFully(const void *buf, size_t len) in writeFully() argument
206 if (len>0) { in writeFully()
210 " lethal error, exiting", len); in writeFully()
216 size_t res = len; in writeFully()
220 ssize_t stat = transferToHost((const char *)(buf) + (len - res), res); in writeFully()
242 const unsigned char *VirtioGpuPipeStream::readFully(void *buf, size_t len) in readFully() argument
248 if (len > 0) { in readFully()
252 " error, exiting.", len); in readFully()
257 size_t res = len; in readFully()
259 ssize_t stat = transferFromHost((char *)(buf) + len - res, res); in readFully()
[all …]
DVirtioGpuPipeStream.h41 virtual const unsigned char *readFully( void *buf, size_t len);
43 size_t size, void *buf, size_t len);
48 int recv(void *buf, size_t len);
50 virtual int writeFully(const void *buf, size_t len);
58 ssize_t transferToHost(const void* buffer, size_t len);
59 ssize_t transferFromHost(void* buffer, size_t len);
DVirtioGpuStream.h46 virtual unsigned char *alloc(size_t len) in alloc() argument
48 return static_cast<unsigned char *>(allocBuffer(len)); in alloc()
55 virtual int writeFully(const void *buf, size_t len);
56 virtual const unsigned char *readFully(void *buf, size_t len);
58 virtual const unsigned char* commitBufferAndReadFully(size_t size, void *buf, size_t len) in commitBufferAndReadFully() argument
60 return commitBuffer(size) ? nullptr : readFully(buf, len); in commitBufferAndReadFully()
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/util/
Dtinyvprintf.c71 int width = 0, len = 1, rightjust = 1; in tiny_vsprintf() local
80 len = 0; in tiny_vsprintf()
83 len = t - s; in tiny_vsprintf()
131 len = s - buf; in tiny_vsprintf()
147 len = buf + 11 - s; in tiny_vsprintf()
161 len = buf + 8 - s; in tiny_vsprintf()
176 if (len < width) { in tiny_vsprintf()
179 do { *out++ = pad; } while (len < --width); in tiny_vsprintf()
181 total += len; in tiny_vsprintf()
182 for(n = len; n > 0; n--) *out++ = *s++; in tiny_vsprintf()
[all …]
/device/linaro/dragonboard/qcom/tqftpserv/
Dtqftpserv.c78 ssize_t len; in tftp_send_data() local
91 len = pread(client->fd, p, client->blksize, offset); in tftp_send_data()
92 if (len <= 0) { in tftp_send_data()
93 if (len < 0) in tftp_send_data()
96 return len; in tftp_send_data()
99 p += len; in tftp_send_data()
102 len = send(client->sock, buf, p - buf, 0); in tftp_send_data()
106 return len; in tftp_send_data()
180 size_t len; in tftp_send_error() local
184 len = 4 + strlen(msg) + 1; in tftp_send_error()
[all …]
/device/generic/goldfish-opengl/android-emu/android/base/files/
DStreamSerializing.h35 void saveBufferRaw(Stream* stream, char* buffer, uint32_t len);
46 auto len = stream->getBe32(); in loadBuffer() local
47 buffer->resize(len); in loadBuffer()
48 int ret = (int)stream->read(buffer->data(), len * sizeof(T)); in loadBuffer()
49 return ret == len * sizeof(T); in loadBuffer()
60 auto len = stream->getBe32(); in loadBuffer() local
62 buffer->resize_noinit(len); in loadBuffer()
63 int ret = (int)stream->read(buffer->data(), len * sizeof(T)); in loadBuffer()
64 return ret == len * sizeof(T); in loadBuffer()
83 auto len = stream->getBe32(); in loadBufferPtr() local
[all …]
DStreamSerializing.cpp28 void saveBufferRaw(Stream* stream, char* buffer, uint32_t len) { in saveBufferRaw() argument
29 stream->putBe32(len); in saveBufferRaw()
30 stream->write(buffer, len); in saveBufferRaw()
34 auto len = stream->getBe32(); in loadBufferRaw() local
35 int ret = (int)stream->read(buffer, len); in loadBufferRaw()
36 return ret == (int)len; in loadBufferRaw()
/device/google/contexthub/contexthubhal/
Dnanohubhal.cpp68 …hub_app_name_t &appId, uint32_t evtId, uint16_t endpoint, const void *data, size_t len, int status) in dumpBuffer() argument
72 os << pfx << ": [ID=" << appId << "; SZ=" << std::dec << len; in dumpBuffer()
78 for (size_t i = 0; i < len; ++i) { in dumpBuffer()
87 static int rwrite(int fd, const void *buf, int len) in rwrite() argument
92 ret = write(fd, buf, len); in rwrite()
95 if (ret != len) { in rwrite()
102 static int rread(int fd, void *buf, int len) in rread() argument
107 ret = read(fd, buf, len); in rread()
165 int NanoHub::doSendToDevice(const hub_app_name_t name, const void *data, uint32_t len, uint32_t mes… in doSendToDevice() argument
167 if (len > MAX_RX_PACKET) { in doSendToDevice()
[all …]
Dsystem_comms.cpp64 uint8_t type, len; in readNanohubMemInfo() local
85 len = buf.readU8(); in readNanohubMemInfo()
86 if (buf.getRoom() >= len) { in readNanohubMemInfo()
89 if (len == sizeof(ramFree)) in readNanohubMemInfo()
92 buf.readRaw(len); in readNanohubMemInfo()
95 if (len == sizeof(mi.ramSz)) in readNanohubMemInfo()
98 buf.readRaw(len); in readNanohubMemInfo()
101 if (len == sizeof(mi.ramSz)) in readNanohubMemInfo()
104 buf.readRaw(len); in readNanohubMemInfo()
107 if (len == sizeof(eeFree)) in readNanohubMemInfo()
[all …]
Dnanohubhal.h41 …pp_name_t &appId, uint32_t evtId, uint16_t endpoint, const void *data, size_t len, int status = 0);
67 uint16_t endpoint, const void *data, uint32_t len) { in HubMessage() argument
70 message_len = len; in HubMessage()
74 if (len > 0 && data != nullptr) { in HubMessage()
75 data_ = std::unique_ptr<uint8_t>(new uint8_t[len]); in HubMessage()
76 memcpy(data_.get(), data, len); in HubMessage()
82 uint32_t len) : HubMessage(name, typ, 0, endpoint, data, len) { } in HubMessage() argument
154 int doSendToDevice(const hub_app_name_t name, const void *data, uint32_t len,
192 static int sendToDevice(const hub_app_name_t *name, const void *data, uint32_t len, in sendToDevice() argument
194 return hubInstance()->doSendToDevice(*name, data, len, transactionId, ENDPOINT_UNSPECIFIED); in sendToDevice()
/device/linaro/hikey/power/
Dpower_hikey.c109 int len; in sysfs_write() local
118 len = write(fd, s, strlen(s)); in sysfs_write()
119 if (len < 0) { in sysfs_write()
125 return len; in sysfs_write()
130 int len; in sysfs_read() local
138 len = read(fd, s, slen); in sysfs_read()
139 if (len < 0) { in sysfs_read()
144 return len; in sysfs_read()
191 int len; in interactive_boostpulse() local
206 len = write(hikey->boostpulse_fd, "1", 1); in interactive_boostpulse()
[all …]
/device/linaro/hikey/hifi/xaf/hifi-dpf/build_hikey/hifi_hikey_lsp/ldscripts/
Delf32xtensa.x5 sram0_seg : org = 0xC0000000, len = 0x408000
6 old_vlpd_seg : org = 0xC0408000, len = 0x10000
7 efr_fr_hr_vlpd_seg : org = 0xC0418000, len = 0x10000
8 amr_vlpd_seg : org = 0xC0428000, len = 0x10000
9 amrwb_vlpd_seg : org = 0xC0438000, len = 0x10000
10 evrc_evrcb_vlpt_seg : org = 0xC0448000, len = 0x48000
11 efr_fr_hr_vlpt_seg : org = 0xC0490000, len = 0x30000
12 amr_vlpt_seg : org = 0xC04C0000, len = 0x20000
13 amrwb_vlpt_seg : org = 0xC04E0000, len = 0x30000
14 vlpt_seg : org = 0xC0510000, len = 0x48000
[all …]
Delf32xtensa.xbn5 sram0_seg : org = 0xC0000000, len = 0x408000
6 old_vlpd_seg : org = 0xC0408000, len = 0x10000
7 efr_fr_hr_vlpd_seg : org = 0xC0418000, len = 0x10000
8 amr_vlpd_seg : org = 0xC0428000, len = 0x10000
9 amrwb_vlpd_seg : org = 0xC0438000, len = 0x10000
10 evrc_evrcb_vlpt_seg : org = 0xC0448000, len = 0x48000
11 efr_fr_hr_vlpt_seg : org = 0xC0490000, len = 0x30000
12 amr_vlpt_seg : org = 0xC04C0000, len = 0x20000
13 amrwb_vlpt_seg : org = 0xC04E0000, len = 0x30000
14 vlpt_seg : org = 0xC0510000, len = 0x48000
[all …]
Delf32xtensa.xn5 sram0_seg : org = 0xC0000000, len = 0x408000
6 old_vlpd_seg : org = 0xC0408000, len = 0x10000
7 efr_fr_hr_vlpd_seg : org = 0xC0418000, len = 0x10000
8 amr_vlpd_seg : org = 0xC0428000, len = 0x10000
9 amrwb_vlpd_seg : org = 0xC0438000, len = 0x10000
10 evrc_evrcb_vlpt_seg : org = 0xC0448000, len = 0x48000
11 efr_fr_hr_vlpt_seg : org = 0xC0490000, len = 0x30000
12 amr_vlpt_seg : org = 0xC04C0000, len = 0x20000
13 amrwb_vlpt_seg : org = 0xC04E0000, len = 0x30000
14 vlpt_seg : org = 0xC0510000, len = 0x48000
[all …]
/device/google/contexthub/lib/nanohub/
Dnanoapp.c46 bool readFile(void *dst, uint32_t len, const char *fileName) in readFile() argument
54 if (len != fread(dst, 1, len, f)) in readFile()
57 if (fread(&len, 1, 1, f)) //make sure file is actually over in readFile()
72 uint32_t len = 0, grow = 16384, total = 0; in loadFile() local
81 len += grow; dst = reallocOrDie(dst, len); in loadFile()
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DSocketStream.cpp113 const unsigned char *SocketStream::readFully(void *buf, size_t len) in readFully() argument
119 size_t res = len; in readFully()
121 ssize_t stat = ::recv(m_sock, (char *)(buf) + len - res, res, 0); in readFully()
133 const unsigned char *SocketStream::commitBufferAndReadFully(size_t size, void *buf, size_t len) in commitBufferAndReadFully() argument
135 return commitBuffer(size) ? NULL : readFully(buf, len); in commitBufferAndReadFully()
158 int SocketStream::recv(void *buf, size_t len) in recv() argument
163 res = ::recv(m_sock, (char *)buf, len, 0); in recv()

12345678910>>...12