Home
last modified time | relevance | path

Searched refs:datalen (Results 1 – 17 of 17) sorted by relevance

/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dres_mkquery.c109 int datalen, /* length of data */ in res_mkquery() argument
189 if (buflen < 1 + RRFIXEDSZ + datalen) in res_mkquery()
198 __putshort((u_int16_t)datalen, cp); in res_mkquery()
200 if (datalen) { in res_mkquery()
201 memcpy(cp, data, datalen); in res_mkquery()
202 cp += datalen; in res_mkquery()
Dgetaddrinfo.c96 …uery(state,op,dname,class,type,data,datalen,newrr_in,buf,buflen) res_mkquery( op, dname, class, t… argument
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dbinascii.c1200 Py_ssize_t datalen = 0; in binascii_a2b_qp() local
1209 datalen = pdata.len; in binascii_a2b_qp()
1215 odata = (unsigned char *) PyMem_Malloc(datalen); in binascii_a2b_qp()
1221 memset(odata, 0, datalen); in binascii_a2b_qp()
1224 while (in < datalen) { in binascii_a2b_qp()
1227 if (in >= datalen) break; in binascii_a2b_qp()
1231 while (in < datalen && data[in] != '\n') in++; in binascii_a2b_qp()
1233 if (in < datalen) in++; in binascii_a2b_qp()
1305 Py_ssize_t datalen = 0, odatalen = 0; in binascii_b2a_qp() local
1321 datalen = pdata.len; in binascii_b2a_qp()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dbinascii.c1185 Py_ssize_t datalen = 0; in binascii_a2b_qp() local
1194 datalen = pdata.len; in binascii_a2b_qp()
1200 odata = (unsigned char *) PyMem_Malloc(datalen); in binascii_a2b_qp()
1206 memset(odata, 0, datalen); in binascii_a2b_qp()
1209 while (in < datalen) { in binascii_a2b_qp()
1212 if (in >= datalen) break; in binascii_a2b_qp()
1216 while (in < datalen && data[in] != '\n') in++; in binascii_a2b_qp()
1218 if (in < datalen) in++; in binascii_a2b_qp()
1290 Py_ssize_t datalen = 0, odatalen = 0; in binascii_b2a_qp() local
1306 datalen = pdata.len; in binascii_b2a_qp()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/cjkcodecs/
Dmultibytecodec.c471 const Py_UNICODE **data, Py_ssize_t datalen, in multibytecodec_encode() argument
477 if (datalen == 0 && !(flags & MBENC_RESET)) in multibytecodec_encode()
482 buf.inbuf_end = buf.inbuf_top + datalen; in multibytecodec_encode()
484 if (datalen > (PY_SSIZE_T_MAX - 16) / 2) { in multibytecodec_encode()
489 buf.outobj = PyString_FromStringAndSize(NULL, datalen * 2 + 16); in multibytecodec_encode()
551 Py_ssize_t datalen; in MultibyteCodec_Encode() local
572 datalen = PyUnicode_GET_SIZE(arg); in MultibyteCodec_Encode()
584 (const Py_UNICODE **)&data, datalen, errorcb, in MultibyteCodec_Encode()
591 return make_tuple(r, datalen); in MultibyteCodec_Encode()
608 Py_ssize_t datalen, finalsize; in MultibyteCodec_Decode() local
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/
Dmultibytecodec.c468 const Py_UNICODE **data, Py_ssize_t datalen, in multibytecodec_encode() argument
474 if (datalen == 0 && !(flags & MBENC_RESET)) in multibytecodec_encode()
479 buf.inbuf_end = buf.inbuf_top + datalen; in multibytecodec_encode()
481 if (datalen > (PY_SSIZE_T_MAX - 16) / 2) { in multibytecodec_encode()
486 buf.outobj = PyString_FromStringAndSize(NULL, datalen * 2 + 16); in multibytecodec_encode()
548 Py_ssize_t datalen; in MultibyteCodec_Encode() local
569 datalen = PyUnicode_GET_SIZE(arg); in MultibyteCodec_Encode()
581 (const Py_UNICODE **)&data, datalen, errorcb, in MultibyteCodec_Encode()
588 return make_tuple(r, datalen); in MultibyteCodec_Encode()
605 Py_ssize_t datalen, finalsize; in MultibyteCodec_Decode() local
[all …]
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DglUtils.cpp403 unsigned int datalen) in glUtilsPackPointerData() argument
418 memcpy(dst, src, datalen); in glUtilsPackPointerData()
420 for (unsigned int i = 0; i < datalen; i += vsize) { in glUtilsPackPointerData()
430 unsigned int datalen) in glUtilsWritePackPointerData() argument
438 stream->writeFully(src, datalen); in glUtilsWritePackPointerData()
440 for (unsigned int i = 0; i < datalen; i += vsize) { in glUtilsWritePackPointerData()
DglUtils.h58 unsigned int datalen);
61 unsigned int datalen);
/device/generic/goldfish-opengl/system/GLESv1_enc/
Dgl_entry.cpp159 void glVertexPointerData(GLint size, GLenum type, GLsizei stride, void* data, GLuint datalen);
160 void glColorPointerData(GLint size, GLenum type, GLsizei stride, void* data, GLuint datalen);
161 void glNormalPointerData(GLenum type, GLsizei stride, void* data, GLuint datalen);
162 …xCoordPointerData(GLint unit, GLint size, GLenum type, GLsizei stride, void* data, GLuint datalen);
163 void glPointSizePointerData(GLenum type, GLsizei stride, void* data, GLuint datalen);
164 void glWeightPointerData(GLint size, GLenum type, GLsizei stride, void* data, GLuint datalen);
165 void glMatrixIndexPointerData(GLint size, GLenum type, GLsizei stride, void* data, GLuint datalen);
167 void glDrawElementsData(GLenum mode, GLsizei count, GLenum type, void* data, GLuint datalen);
1217 void glVertexPointerData(GLint size, GLenum type, GLsizei stride, void* data, GLuint datalen) in glVertexPointerData() argument
1220 ctx->glVertexPointerData(ctx, size, type, stride, data, datalen); in glVertexPointerData()
[all …]
DGLEncoder.cpp412 unsigned int datalen = state.elementSize * count; in sendVertexData() local
423 (unsigned char *)state.data + firstIndex, datalen); in sendVertexData()
427 (unsigned char *)state.data + firstIndex, datalen); in sendVertexData()
431 (unsigned char *)state.data + firstIndex, datalen); in sendVertexData()
444 (unsigned char *)state.data + firstIndex, datalen); in sendVertexData()
449 … (unsigned char *) state.data + firstIndex, datalen); in sendVertexData()
453 (unsigned char * ) state.data + firstIndex, datalen); in sendVertexData()
457 … (unsigned char *)state.data + firstIndex, datalen); in sendVertexData()
Dgl_enc.cpp4218 …exPointerData_enc(void *self , GLint size, GLenum type, GLsizei stride, void* data, GLuint datalen) in glVertexPointerData_enc() argument
4226 const unsigned int __size_data = datalen; in glVertexPointerData_enc()
4241 …glUtilsPackPointerData((unsigned char *)ptr, (unsigned char *)data, size, type, stride, datalen);p… in glVertexPointerData_enc()
4242 memcpy(ptr, &datalen, 4); ptr += 4; in glVertexPointerData_enc()
4249 …orPointerData_enc(void *self , GLint size, GLenum type, GLsizei stride, void* data, GLuint datalen) in glColorPointerData_enc() argument
4257 const unsigned int __size_data = datalen; in glColorPointerData_enc()
4272 …glUtilsPackPointerData((unsigned char *)ptr, (unsigned char *)data, size, type, stride, datalen);p… in glColorPointerData_enc()
4273 memcpy(ptr, &datalen, 4); ptr += 4; in glColorPointerData_enc()
4280 void glNormalPointerData_enc(void *self , GLenum type, GLsizei stride, void* data, GLuint datalen) in glNormalPointerData_enc() argument
4288 const unsigned int __size_data = datalen; in glNormalPointerData_enc()
[all …]
/device/generic/goldfish-opengl/system/GLESv2_enc/
Dgl2_entry.cpp209 …t indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, void* data, GLuint datalen);
212 void glDrawElementsData(GLenum mode, GLsizei count, GLenum type, void* data, GLuint datalen);
268 …PointerDataAEMU(GLuint index, GLint size, GLenum type, GLsizei stride, void* data, GLuint datalen);
274 …(GLenum mode, GLsizei count, GLenum type, const void* indices, GLsizei primcount, GLsizei datalen);
277 …ode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid* indices, GLsizei datalen);
407 void glDrawArraysIndirectDataAEMU(GLenum mode, const void* indirect, GLuint datalen);
410 …void glDrawElementsIndirectDataAEMU(GLenum mode, GLenum type, const void* indirect, GLuint datalen
1652 …nt indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, void* data, GLuint datalen) in glVertexAttribPointerData() argument
1655 ctx->glVertexAttribPointerData(ctx, indx, size, type, normalized, stride, data, datalen); in glVertexAttribPointerData()
1670 void glDrawElementsData(GLenum mode, GLsizei count, GLenum type, void* data, GLuint datalen) in glDrawElementsData() argument
[all …]
Dgl2_enc.cpp4833 …nt indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, void* data, GLuint datalen) in glVertexAttribPointerData_enc() argument
4841 const unsigned int __size_data = datalen; in glVertexAttribPointerData_enc()
4858 …glUtilsPackPointerData((unsigned char *)ptr, (unsigned char *)data, size, type, stride, datalen);p… in glVertexAttribPointerData_enc()
4859 memcpy(ptr, &datalen, 4); ptr += 4; in glVertexAttribPointerData_enc()
4924 …wElementsData_enc(void *self , GLenum mode, GLsizei count, GLenum type, void* data, GLuint datalen) in glDrawElementsData_enc() argument
4932 const unsigned int __size_data = datalen; in glDrawElementsData_enc()
4948 memcpy(ptr, &datalen, 4); ptr += 4; in glDrawElementsData_enc()
6514 …enc(void *self , GLuint index, GLint size, GLenum type, GLsizei stride, void* data, GLuint datalen) in glVertexAttribIPointerDataAEMU_enc() argument
6522 const unsigned int __size_data = datalen; in glVertexAttribIPointerDataAEMU_enc()
6538 …glUtilsPackPointerData((unsigned char *)ptr, (unsigned char *)data, size, type, stride, datalen);p… in glVertexAttribIPointerDataAEMU_enc()
[all …]
DGL2Encoder.cpp1077 unsigned int datalen = state.elementSize * count; in sendVertexAttributes() local
1080 … __FUNCTION__, i, divisor, state.stride, effectiveStride, state.elementSize, state.type, datalen); in sendVertexAttributes()
1082 datalen = state.elementSize * actual_count; in sendVertexAttributes()
1083 ALOGV("%s: actual datalen %u", __FUNCTION__, datalen); in sendVertexAttributes()
1093 if (datalen && (!offset || !((unsigned char*)offset + firstIndex))) { in sendVertexAttributes()
1098 …erDataAEMU(this, i, state.size, state.type, stride, (unsigned char *)offset + firstIndex, datalen); in sendVertexAttributes()
1100 …, state.size, state.type, state.normalized, stride, (unsigned char *)offset + firstIndex, datalen); in sendVertexAttributes()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dbinhex.py122 datalen = len(self.data)
123 todo = (datalen//3)*3
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dbinhex.py123 datalen = len(self.data)
124 todo = (datalen//3)*3
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Workspace/
DWorkspaceDatabase.py1068 datalen = 0
1070 datalen = (len(skuobj.HiiDefaultValue)- 3 + 1) * 2
1072 datalen = len(skuobj.HiiDefaultValue.split(","))
1074 datalen = len(skuobj.HiiDefaultValue) -2 + 1
1075 if datalen>MaxSize:
1076 MaxSize = datalen