| /xsrc/external/mit/xorg-server/dist/os/ |
| H A D | strndup.c | 42 size_t len; local in function:strndup 45 for (len = 0; len < n && str[len]; len++) 48 if ((copy = malloc(len + 1)) == NULL) 50 memcpy(copy, str, len); 51 copy[len] = '\0';
|
| /xsrc/external/mit/xsm/dist/ |
| H A D | printhex.c | 67 fprintfhex(register FILE *fp, unsigned int len, char *cp) 71 for (; len > 0; len--, ucp++) 66 fprintfhex(register FILE * fp,unsigned int len,char * cp) argument
|
| /xsrc/external/mit/libX11/dist/src/ |
| H A D | ChProp.c | 44 register long len; local in function:XChangeProperty 62 len = ((long)nelements + 3)>>2; 63 if (dpy->bigreq_size || req->length + len <= (unsigned) 65535) { 64 SetReqLen(req, len, len); 70 len = ((long)nelements + 1)>>1; 71 if (dpy->bigreq_size || req->length + len <= (unsigned) 65535) { 72 SetReqLen(req, len, len); 73 len [all...] |
| H A D | DrRects.c | 41 long len; local in function:XDrawRectangles 51 len = ((long)n) << 1; 52 if (!dpy->bigreq_size && len > (dpy->max_request_size - req->length)) { 54 len = ((long)n) << 1; 56 SetReqLen(req, len, len); 57 len <<= 2; /* watch out for macros... */ 58 Data16 (dpy, (short *) rects, len);
|
| H A D | DrSegs.c | 41 long len; local in function:XDrawSegments 51 len = ((long)n) << 1; 52 if (!dpy->bigreq_size && len > (dpy->max_request_size - req->length)) { 54 len = ((long)n) << 1; 56 SetReqLen(req, len, len); 57 len <<= 2; /* watch out for macros... */ 58 Data16 (dpy, (short *) segments, len);
|
| H A D | FillArcs.c | 43 long len; local in function:XFillArcs 53 len = ((long)n) * arc_scale; 54 if (!dpy->bigreq_size && len > (dpy->max_request_size - req->length)) { 56 len = ((long)n) * arc_scale; 58 SetReqLen(req, len, len); 59 len <<= 2; /* watch out for macros... */ 60 Data16 (dpy, (short *) arcs, len);
|
| H A D | FillRcts.c | 41 long len; local in function:XFillRectangles 51 len = ((long)n) << 1; 52 if (!dpy->bigreq_size && len > (dpy->max_request_size - req->length)) { 54 len = ((long)n) << 1; 56 SetReqLen(req, len, len); 57 len <<= 2; /* watch out for macros... */ 58 Data16 (dpy, (short *) rectangles, len);
|
| H A D | DrArcs.c | 43 register long len; local in function:XDrawArcs 50 len = ((long)n_arcs) * arc_scale; 51 SetReqLen(req, len, 1); 52 len <<= 2; /* watch out for macros... */ 53 Data16 (dpy, (short *) arcs, len);
|
| H A D | XlibAsync.c | 53 int len, 96 int len, /* value passed to calling handler */ 101 if (discard && (rep->generic.length << 2) > len) 102 _XEatData (dpy, (rep->generic.length << 2) - len); 108 if (size > len) { 109 memcpy(replbuf, buf, len); 110 _XRead(dpy, replbuf + len, size - len); 112 len = size; 116 (rep->generic.length << 2) > len) 49 _XAsyncErrorHandler(register Display * dpy,register xReply * rep,char * buf,int len,XPointer data) argument 91 _XGetAsyncReply(register Display * dpy,register char * replbuf,register xReply * rep,char * buf,int len,int extra,Bool discard) argument 133 _XGetAsyncData(Display * dpy,char * data,char * buf,int len,int skip,int datalen,int discardtotal) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| H A D | streaming-load-memcpy.h | 37 _mesa_streaming_load_memcpy(void *restrict dst, void *restrict src, size_t len);
|
| H A D | streaming-load-memcpy.c | 37 _mesa_streaming_load_memcpy(void *restrict dst, void *restrict src, size_t len) argument 44 memcpy(d, s, len); 49 * are aligned to a 16-byte boundary or <len> == 0. 55 memcpy(d, s, MIN2(bytes_before_alignment_boundary, len)); 59 len -= MIN2(bytes_before_alignment_boundary, len); 62 if (len >= 64) 65 while (len >= 64) { 81 len -= 64; 85 if (len) { [all...] |
| /xsrc/external/mit/libdrm/dist/tests/amdgpu/ |
| H A D | vcn_tests.c | 211 static uint32_t remove_03 (uint8_t *bptr, uint32_t len); 561 int len, r; local in function:amdgpu_cs_vcn_dec_create 576 len = 0; 578 vcn_dec_cmd(session_ctx_buf.addr, 5, &len); 580 vcn_dec_cmd(msg_buf.addr, 0, &len); 582 ib_cpu[len++] = reg[vcn_reg_index].data0; 583 ib_cpu[len++] = msg_buf.addr; 584 ib_cpu[len++] = reg[vcn_reg_index].data1; 585 ib_cpu[len++] = msg_buf.addr >> 32; 586 ib_cpu[len 612 int size, len, i, r; local in function:amdgpu_cs_vcn_dec_decode 697 int len, r; local in function:amdgpu_cs_vcn_dec_destroy 742 int len, r; local in function:amdgpu_cs_vcn_enc_create 1027 remove_03(uint8_t * bptr,uint32_t len) argument 1279 amdgpu_cs_vcn_ib_zero_count(int * len,int num) argument 1288 int len, r; local in function:amdgpu_cs_vcn_enc_encode_frame 1594 int len = 0, r; local in function:amdgpu_cs_vcn_enc_destroy [all...] |
| H A D | vce_tests.c | 289 int len, r; local in function:amdgpu_cs_vce_create 299 len = 0; 301 len += sizeof(vce_session) / 4; 302 memcpy((ib_cpu + len), vce_taskinfo, sizeof(vce_taskinfo)); 303 len += sizeof(vce_taskinfo) / 4; 304 memcpy((ib_cpu + len), vce_create, sizeof(vce_create)); 305 ib_cpu[len + 8] = ALIGN(enc.width, align); 306 ib_cpu[len + 9] = ALIGN(enc.width, align); 309 ib_cpu[len + 11] = 0x01000001; 311 ib_cpu[len 327 int len = 0, r; local in function:amdgpu_cs_vce_config 358 int len = 0, i, r; local in function:amdgpu_cs_vce_encode_idr 405 int len, i, r; local in function:amdgpu_cs_vce_encode_p 572 int len = 0, i, r; local in function:amdgpu_cs_vce_mv 740 int len, r; local in function:amdgpu_cs_vce_destroy [all...] |
| H A D | uvd_enc_tests.c | 280 int len, r; local in function:amdgpu_cs_uvd_enc_session_init 282 len = 0; 283 memcpy((ib_cpu + len), uve_session_info, sizeof(uve_session_info)); 284 len += sizeof(uve_session_info) / 4; 285 ib_cpu[len++] = enc.session.addr >> 32; 286 ib_cpu[len++] = enc.session.addr; 288 memcpy((ib_cpu + len), uve_task_info, sizeof(uve_task_info)); 289 len += sizeof(uve_task_info) / 4; 290 ib_cpu[len++] = 0x000000d8; 291 ib_cpu[len 330 int len, r, i; local in function:amdgpu_cs_uvd_enc_encode 467 int len, r; local in function:amdgpu_cs_uvd_enc_destroy [all...] |
| /xsrc/external/mit/libXi/dist/src/ |
| H A D | XChDProp.c | 49 int len; local in function:XChangeDeviceProperty 74 len = ((long)nelements + 3) >> 2; 75 if (dpy->bigreq_size || req->length + len <= (unsigned) 65535) { 76 SetReqLen(req, len, len); 82 len = ((long)nelements + 1) >> 1; 83 if (dpy->bigreq_size || req->length + len <= (unsigned) 65535) { 84 SetReqLen(req, len, len); 85 len [all...] |
| /xsrc/external/mit/libfontenc/dist/src/ |
| H A D | fontencI.h | 27 unsigned len; /* might be 0x10000 */ member in struct:_FontEncSimpleMap 34 unsigned len; member in struct:_FontEncSimpleName
|
| /xsrc/external/mit/xf86-video-intel/dist/libobj/ |
| H A D | getline.c | 5 extern int getline(char **line, size_t *len, FILE *file); 7 int getline(char **line, size_t *len, FILE *file) argument 14 if (*len == 0) 19 *len = 4096; 23 end = *line + *len; 30 newline = realloc(*line, *len + 4096); 37 *len += 4096; 40 end = *line + *len;
|
| /xsrc/external/mit/xf86-video-intel-2014/dist/libobj/ |
| H A D | getline.c | 5 extern int getline(char **line, size_t *len, FILE *file); 7 int getline(char **line, size_t *len, FILE *file) argument 14 if (*len == 0) 19 *len = 4096; 23 end = *line + *len; 30 newline = realloc(*line, *len + 4096); 37 *len += 4096; 40 end = *line + *len;
|
| /xsrc/external/mit/xorgproto/dist/include/X11/ |
| H A D | Xfuncs.h | 43 # define bzero(b,len) memset(b, 0, len) 44 # define bcmp(b1,b2,len) memcmp(b1, b2, len) 61 # define bzero(b,len) memset(b,0,len) 64 # define bcopy(b1,b2,len) memmove(b2, b1, (size_t)(len))
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| H A D | streaming-load-memcpy.h | 39 _mesa_streaming_load_memcpy(void *restrict dst, void *restrict src, size_t len);
|
| H A D | streaming-load-memcpy.c | 37 _mesa_streaming_load_memcpy(void *restrict dst, void *restrict src, size_t len) argument 44 memcpy(d, s, len); 49 * are aligned to a 16-byte boundary or <len> == 0. 55 memcpy(d, s, MIN2(bytes_before_alignment_boundary, len)); 59 len -= MIN2(bytes_before_alignment_boundary, len); 62 if (len >= 64) 65 while (len >= 64) { 81 len -= 64; 85 if (len) { [all...] |
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| H A D | u_process.h | 37 util_get_process_exec_path(char* process_path, size_t len);
|
| /xsrc/external/mit/libXpm/dist/src/ |
| H A D | WrFFrBuf.c | 47 size_t fcheck, len; local in function:XpmWriteFileFromBuffer 53 len = strlen(buffer); 54 fcheck = fwrite(buffer, len, 1, fp);
|
| /xsrc/external/mit/xf86-video-qxl/dist/src/ |
| H A D | murmurhash3.h | 31 void MurmurHash3_x86_32 ( const void * key, int len, uint32_t seed, void * out ); 33 void MurmurHash3_x86_128 ( const void * key, int len, uint32_t seed, void * out ); 35 void MurmurHash3_x64_128 ( const void * key, int len, uint32_t seed, void * out );
|
| /xsrc/external/mit/libX11/dist/src/xcms/ |
| H A D | IdOfPr.c | 65 size_t len; 70 if ((len = strlen(prefix)) >= sizeof(string_buf)) { 71 string_lowered = Xmalloc(len+1); 84 if (len >= sizeof(string_buf)) Xfree(string_lowered); 98 if (len >= sizeof(string_buf)) Xfree(string_lowered); 105 if (len >= sizeof(string_buf)) Xfree(string_lowered); 64 size_t len; local in function:XcmsFormatOfPrefix
|