| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/ |
| u_debug_describe.c | 33 debug_describe_reference(char* buf, UNUSED const struct pipe_reference*ptr) 39 debug_describe_resource(char* buf, const struct pipe_resource *ptr) 41 switch(ptr->target) 44 util_sprintf(buf, "pipe_buffer<%u>", (unsigned)util_format_get_stride(ptr->format, ptr->width0)); 47 util_sprintf(buf, "pipe_texture1d<%u,%s,%u>", ptr->width0, util_format_short_name(ptr->format), ptr->last_level); 50 util_sprintf(buf, "pipe_texture2d<%u,%u,%s,%u>", ptr->width0, ptr->height0, util_format_short_name(ptr->format), ptr->last_level) [all...] |
| u_debug_describe.h | 41 void debug_describe_reference(char* buf, const struct pipe_reference*ptr); 42 void debug_describe_resource(char* buf, const struct pipe_resource *ptr); 43 void debug_describe_surface(char* buf, const struct pipe_surface *ptr); 44 void debug_describe_sampler_view(char* buf, const struct pipe_sampler_view *ptr); 45 void debug_describe_image_view(char* buf, const struct pipe_image_view *ptr); 47 const struct pipe_stream_output_target *ptr);
|
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| u_debug_describe.c | 33 debug_describe_reference(char* buf, UNUSED const struct pipe_reference*ptr) 39 debug_describe_resource(char* buf, const struct pipe_resource *ptr) 41 switch(ptr->target) 44 sprintf(buf, "pipe_buffer<%u>", (unsigned)util_format_get_stride(ptr->format, ptr->width0)); 47 sprintf(buf, "pipe_texture1d<%u,%s,%u>", ptr->width0, util_format_short_name(ptr->format), ptr->last_level); 50 sprintf(buf, "pipe_texture2d<%u,%u,%s,%u>", ptr->width0, ptr->height0, util_format_short_name(ptr->format), ptr->last_level) [all...] |
| strndup.h | 40 char *ptr; local 46 ptr = (char *) calloc(n + 1, sizeof(char)); 47 if (!ptr) 50 memcpy(ptr, str, n); 51 return ptr;
|
| u_atomic.c | 40 __atomic_fetch_add_8(volatile long long *ptr, long long val, int memorder) 45 *ptr += val; 46 r = *ptr; 53 __atomic_fetch_sub_8(volatile long long *ptr, long long val, int memorder) 58 *ptr -= val; 59 r = *ptr; 66 __atomic_load_8(const volatile long long *ptr, int memorder) 71 r = *ptr; 79 __sync_val_compare_and_swap_8(volatile long long *ptr, long long oldval, long long newval) 84 r = *ptr; [all...] |
| u_debug_describe.h | 41 void debug_describe_reference(char* buf, const struct pipe_reference*ptr); 42 void debug_describe_resource(char* buf, const struct pipe_resource *ptr); 43 void debug_describe_surface(char* buf, const struct pipe_surface *ptr); 44 void debug_describe_sampler_view(char* buf, const struct pipe_sampler_view *ptr); 45 void debug_describe_image_view(char* buf, const struct pipe_image_view *ptr); 47 const struct pipe_stream_output_target *ptr);
|
| /xsrc/external/bsd/libuuid_ul/dist/ |
| unpack.c | 40 const uint8_t *ptr = in; local 43 tmp = *ptr++; 44 tmp = (tmp << 8) | *ptr++; 45 tmp = (tmp << 8) | *ptr++; 46 tmp = (tmp << 8) | *ptr++; 49 tmp = *ptr++; 50 tmp = (tmp << 8) | *ptr++; 53 tmp = *ptr++; 54 tmp = (tmp << 8) | *ptr++; 57 tmp = *ptr++ [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/parser/ |
| DRI.c | 57 ptr->dri_group = -1; 62 if ((token = xf86getSubToken (&(ptr->dri_comment))) == STRING) 63 ptr->dri_group_name = val.str; 65 ptr->dri_group = val.num; 70 if (xf86getSubToken (&(ptr->dri_comment)) != NUMBER) 74 ptr->dri_mode = val.num; 80 ptr->dri_comment = xf86addComment(ptr->dri_comment, val.str); 92 return ptr; 98 xf86printDRISection (FILE * cf, XF86ConfDRIPtr ptr) [all...] |
| Device.c | 107 ptr->dev_chipid = -1; 108 ptr->dev_chiprev = -1; 109 ptr->dev_irq = -1; 115 ptr->dev_comment = xf86addComment(ptr->dev_comment, val.str); 118 if (xf86getSubToken (&(ptr->dev_comment)) != STRING) 122 ptr->dev_identifier = val.str; 126 if (xf86getSubToken (&(ptr->dev_comment)) != STRING) 128 ptr->dev_vendor = val.str; 131 if (xf86getSubToken (&(ptr->dev_comment)) != STRING [all...] |
| Input.c | 93 ptr->inp_comment = xf86addComment(ptr->inp_comment, val.str); 96 if (xf86getSubToken (&(ptr->inp_comment)) != STRING) 100 ptr->inp_identifier = val.str; 104 if (xf86getSubToken (&(ptr->inp_comment)) != STRING) 107 ptr->inp_driver = strdup("kbd"); 111 ptr->inp_driver = val.str; 114 ptr->inp_option_lst = xf86parseOption(ptr->inp_option_lst); 132 return ptr; [all...] |
| Files.c | 97 ptr->file_comment = xf86addComment(ptr->file_comment, val.str); 100 if (xf86getSubToken (&(ptr->file_comment)) != STRING) 104 if (ptr->file_fontpath == NULL) 106 ptr->file_fontpath = malloc (1); 107 ptr->file_fontpath[0] = '\0'; 112 i = strlen (ptr->file_fontpath) + strlen (str) + 1; 113 if (ptr->file_fontpath[strlen (ptr->file_fontpath) - 1] != ',') 119 ptr->file_fontpath [all...] |
| Extensions.c | 62 ptr->ext_option_lst = xf86parseOption(ptr->ext_option_lst); 68 ptr->extensions_comment = 69 xf86addComment(ptr->extensions_comment, val.str); 81 return ptr; 87 xf86printExtensionsSection (FILE * cf, XF86ConfExtensionsPtr ptr) 91 if (ptr == NULL || ptr->ext_option_lst == NULL) 94 p = ptr->ext_option_lst; 96 if (ptr->extensions_comment [all...] |
| Video.c | 78 xf86freeVideoPortList (XF86ConfVideoPortPtr ptr) 82 while (ptr) 84 TestFree (ptr->vp_identifier); 85 TestFree (ptr->vp_comment); 86 xf86optionListFree (ptr->vp_option_lst); 87 prev = ptr; 88 ptr = ptr->list.next; 105 ptr->vp_comment = xf86addComment(ptr->vp_comment, val.str) [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/parser/ |
| Device.c | 102 ptr->dev_chipid = -1; 103 ptr->dev_chiprev = -1; 104 ptr->dev_irq = -1; 108 ptr->dev_comment = xf86addComment(ptr->dev_comment, xf86_lex_val.str); 113 if (xf86getSubToken(&(ptr->dev_comment)) != STRING) 117 ptr->dev_identifier = xf86_lex_val.str; 121 if (xf86getSubToken(&(ptr->dev_comment)) != STRING) 123 ptr->dev_vendor = xf86_lex_val.str; 126 if (xf86getSubToken(&(ptr->dev_comment)) != STRING [all...] |
| DRI.c | 57 ptr->dri_group = -1; 61 if ((token = xf86getSubToken(&(ptr->dri_comment))) == STRING) 62 ptr->dri_group_name = xf86_lex_val.str; 64 ptr->dri_group = xf86_lex_val.num; 69 if (xf86getSubToken(&(ptr->dri_comment)) != NUMBER) 73 ptr->dri_mode = xf86_lex_val.num; 79 ptr->dri_comment = xf86addComment(ptr->dri_comment, xf86_lex_val.str); 93 return ptr; 99 xf86printDRISection(FILE * cf, XF86ConfDRIPtr ptr) [all...] |
| Input.c | 86 ptr->inp_comment = xf86addComment(ptr->inp_comment, xf86_lex_val.str); 91 if (xf86getSubToken(&(ptr->inp_comment)) != STRING) 95 ptr->inp_identifier = xf86_lex_val.str; 99 if (xf86getSubToken(&(ptr->inp_comment)) != STRING) 102 ptr->inp_driver = strdup("kbd"); 106 ptr->inp_driver = xf86_lex_val.str; 109 ptr->inp_option_lst = xf86parseOption(ptr->inp_option_lst); 127 return ptr; [all...] |
| Extensions.c | 62 ptr->ext_option_lst = xf86parseOption(ptr->ext_option_lst); 68 ptr->extensions_comment = 69 xf86addComment(ptr->extensions_comment, xf86_lex_val.str); 83 return ptr; 89 xf86printExtensionsSection(FILE * cf, XF86ConfExtensionsPtr ptr) 93 if (ptr == NULL || ptr->ext_option_lst == NULL) 96 p = ptr->ext_option_lst; 98 if (ptr->extensions_comment [all...] |
| Video.c | 74 xf86freeVideoPortList(XF86ConfVideoPortPtr ptr) 78 while (ptr) { 79 TestFree(ptr->vp_identifier); 80 TestFree(ptr->vp_comment); 81 xf86optionListFree(ptr->vp_option_lst); 82 prev = ptr; 83 ptr = ptr->list.next; 99 ptr->vp_comment = xf86addComment(ptr->vp_comment, xf86_lex_val.str) [all...] |
| OutputClass.c | 46 xf86freeOutputClassList(XF86ConfOutputClassPtr ptr) 50 while (ptr) { 54 TestFree(ptr->identifier); 55 TestFree(ptr->comment); 56 TestFree(ptr->driver); 57 TestFree(ptr->modulepath); 59 xorg_list_for_each_entry_safe(group, next, &ptr->match_driver, entry) { 66 xf86optionListFree(ptr->option_lst); 68 prev = ptr; 69 ptr = ptr->list.next [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/util/ |
| strndup.h | 40 char *ptr; local 46 ptr = (char *) calloc(n + 1, sizeof(char)); 47 if (!ptr) 50 memcpy(ptr, str, n); 51 return ptr;
|
| os_memory_aligned.h | 61 char *ptr, *buf; local 76 ptr = (char *) os_malloc(alloc_size); 77 if (!ptr) 80 buf = (char *)(((uintptr_t)ptr + sizeof(void *) + alignment - 1) & ~((uintptr_t)(alignment - 1))); 81 *(char **)(buf - sizeof(void *)) = ptr; 91 os_free_aligned(void *ptr) 93 if (ptr) { 94 void **cubbyHole = (void **) ((char *) ptr - sizeof(void *));
|
| u_atomic.c | 40 __atomic_fetch_add_8(volatile long long *ptr, long long val, int memorder) 45 *ptr += val; 46 r = *ptr; 53 __atomic_fetch_sub_8(volatile long long *ptr, long long val, int memorder) 58 *ptr -= val; 59 r = *ptr; 67 __sync_val_compare_and_swap_8(volatile long long *ptr, long long oldval, long long newval) 72 r = *ptr; 73 if (*ptr == oldval) 74 *ptr = newval [all...] |
| /xsrc/external/mit/MesaLib/dist/src/freedreno/decode/ |
| util.h | 48 uint8_t *ptr = (uint8_t *)buf; local 49 uint8_t *end = ptr + sz; 52 while (ptr < end) { 57 d |= *(ptr++) << 0; 58 d |= *(ptr++) << 8; 59 d |= *(ptr++) << 16; 60 d |= (uint32_t)*(ptr++) << 24; 79 uint8_t *ptr = (uint8_t *)buf; local 80 uint8_t *end = ptr + sz - 3; 83 while (ptr < end) 112 uint8_t *ptr = (uint8_t *)buf; local 122 uint8_t *ptr = (uint8_t *)buf; local 143 uint8_t *ptr = (uint8_t *)buf; local [all...] |
| /xsrc/external/mit/libICE/dist/src/ |
| ping.c | 43 _IcePingWait *ptr = iceConn->ping_waits; local 52 while (ptr && ptr->next) 53 ptr = ptr->next; 55 if (ptr == NULL) 58 ptr->next = newping;
|
| /xsrc/external/mit/pixman/dist/pixman/ |
| pixman-accessor.h | 3 #define READ(img, ptr) \ 4 (((bits_image_t *)(img))->read_func ((ptr), sizeof(*(ptr)))) 5 #define WRITE(img, ptr,val) \ 6 (((bits_image_t *)(img))->write_func ((ptr), (val), sizeof (*(ptr)))) 19 #define READ(img, ptr) (*(ptr)) 20 #define WRITE(img, ptr, val) (*(ptr) = (val) [all...] |