/hardware/ti/omap4-aah/ |
H A D | tm.c | 23 char *ptr[6]; local 27 ptr[0] = malloc(10); 28 ptr[1] = calloc(1,20); 29 ptr[2] = malloc(30); 30 ptr[3] = malloc(40); 31 ptr[4] = malloc(50); 32 ptr[5] = malloc(60); 34 free(ptr[1]); 35 free(ptr[1]); 36 free(ptr[ [all...] |
/hardware/ti/omap4xxx/ |
H A D | tm.c | 23 char *ptr[6]; local 27 ptr[0] = malloc(10); 28 ptr[1] = calloc(1,20); 29 ptr[2] = malloc(30); 30 ptr[3] = malloc(40); 31 ptr[4] = malloc(50); 32 ptr[5] = malloc(60); 34 free(ptr[1]); 35 free(ptr[1]); 36 free(ptr[ [all...] |
/hardware/intel/common/wrs_omxil_core/utils/inc/ |
H A D | list.h | 64 #define list_foreach(list, ptr) \ 65 for (ptr = list; \ 66 ptr != NULL; \ 67 ptr = __list_next(ptr)) 69 #define list_foreach_safe(list, ptr, nxt) \ 70 for (ptr = list, nxt = __list_next(ptr); \ 71 ptr != NULL; \ 72 ptr [all...] |
/hardware/qcom/camera/QCamera2/stack/common/ |
H A D | cam_list.h | 39 #define member_of(ptr, type, member) ({ \ 40 const typeof(((type *)0)->member) *__mptr = (ptr); \ 47 static inline void cam_list_init(struct cam_list *ptr) argument 49 ptr->next = ptr; 50 ptr->prev = ptr; 73 static inline void cam_list_del_node(struct cam_list *ptr) argument 75 struct cam_list *prev = ptr->prev; 76 struct cam_list *next = ptr [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/ |
H A D | viddec_parse_sc.c | 19 uint8_t *ptr; local 30 ptr = cxt->buf; 40 if(((((uint32_t)ptr) & 0x3) == 0) && (phase == 0)) 47 data = *((uint32_t *)ptr); 57 ptr+=4;size+=4;data_left-=4; 71 if(*ptr == FIRST_STARTCODE_BYTE) 74 ptr++;size++;data_left--; 79 if ( (((uint32_t)ptr) & 0x3) == 0 ) 83 if(*((uint32_t *)ptr) != 0) 87 ptr [all...] |
/hardware/intel/img/psb_video/fw/msvdx/ |
H A D | msvdx_bin.c | 56 FILE *ptr = NULL; local 77 ptr = fopen("msvdx_fw_mfld_DE2.0.bin", "w"); 78 if (ptr == NULL) { 82 fwrite(&fw, sizeof(fw), 1, ptr); 85 fwrite(&fw_DE3.pui8Text[i*4], 4, 1, ptr); 88 fwrite(&fw_DE3.pui8Data[i*4], 4, 1, ptr); 90 fclose(ptr); 93 ptr = fopen("unsigned_msvdx_fw.bin", "w"); 94 if (ptr == NULL) { 106 fwrite(buf, 1, LINKED_LIST_SIZE, ptr); [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp4/parser/ |
H A D | viddec_parse_sc_mp4.c | 23 uint8_t *ptr; local 33 ptr = cxt->buf; 43 if(((((uint32_t)ptr) & 0x3) == 0) && (phase == 0)) 50 data = *((uint32_t *)ptr); 60 ptr+=4;size+=4;data_left-=4; 74 if(*ptr == FIRST_STARTCODE_BYTE) 77 ptr++;size++;data_left--; 82 if ( (((uint32_t)ptr) & 0x3) == 0 ) 86 if(*((uint32_t *)ptr) != 0) 90 ptr [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/nestegg/halloc/src/ |
H A D | halloc.c | 50 static void * _realloc(void * ptr, size_t n); 58 void * halloc(void * ptr, size_t len) argument 70 if (! ptr) 87 p = structof(ptr, hblock_t, data); 151 void * ptr = halloc(0, len*=n); local 152 return ptr ? memset(ptr, 0, len) : NULL; 155 void * h_realloc(void * ptr, size_t len) argument 157 return halloc(ptr, len); 160 void h_free(void * ptr) argument 168 char * ptr = halloc(0, len + 1); local 203 _realloc(void * ptr, size_t n) argument [all...] |
/hardware/ti/omap4-aah/ion/ |
H A D | ion_test.c | 65 void _ion_tiler_map_test(unsigned char *ptr) argument 72 ptr[i] = (unsigned char)i; 77 if (ptr[i] != (unsigned char)i) 79 "memory\n", __func__, i, ptr[i]); 89 unsigned char *ptr; local 96 ret = ion_map(fd, handle, len, prot, map_flags, 0, &ptr, &map_fd); 101 _ion_tiler_map_test(ptr); 104 ptr[i] = (unsigned char)i; 107 if (ptr[i] != (unsigned char)i) 109 "memory\n", __func__, i, ptr[ 154 char *ptr; local 187 char* ptr; local [all...] |
H A D | ion.c | 109 int flags, off_t offset, unsigned char **ptr, int *map_fd) 122 *ptr = mmap(NULL, length, prot, flags, *map_fd, offset); 123 if (*ptr == MAP_FAILED) { 170 int flags, off_t offset, unsigned char **ptr, int *map_fd) 184 *ptr = mmap(NULL, length, prot, flags, *map_fd, offset); 185 if (*ptr == MAP_FAILED) { 193 unsigned char *ptr) 197 .vaddr = (unsigned long)ptr, 204 unsigned char *ptr) 208 .vaddr = (unsigned long)ptr, 108 ion_map(int fd, struct ion_handle *handle, size_t length, int prot, int flags, off_t offset, unsigned char **ptr, int *map_fd) argument 169 ion_map_cacheable(int fd, struct ion_handle *handle, size_t length, int prot, int flags, off_t offset, unsigned char **ptr, int *map_fd) argument 192 ion_flush_cached(int fd, struct ion_handle *handle, size_t length, unsigned char *ptr) argument 203 ion_inval_cached(int fd, struct ion_handle *handle, size_t length, unsigned char *ptr) argument [all...] |
/hardware/ti/omap4xxx/camera/ |
H A D | MemoryManager.cpp | 171 unsigned int ptr = (unsigned int) *bufEntry++; local 172 if(mIonBufLength.valueFor(ptr)) 174 munmap((void *)ptr, mIonBufLength.valueFor(ptr)); 175 close(mIonFdMap.valueFor(ptr)); 176 ion_free(mIonFd, (ion_handle*)mIonHandleMap.valueFor(ptr)); 177 mIonHandleMap.removeItem(ptr); 178 mIonBufLength.removeItem(ptr); 179 mIonFdMap.removeItem(ptr);
|
/hardware/intel/common/wrs_omxil_core/utils/src/ |
H A D | list.c | 60 struct list *ptr, *tmp; local 62 list_foreach_safe(list, ptr, tmp) { 63 __list_free(ptr); 226 struct list *ptr, *tmp; local 228 list_foreach_safe(list, ptr, tmp) { 229 if (ptr->data == data) { 230 list = __list_delete(list, ptr); 240 struct list *ptr, *tmp; local 242 list_foreach_safe(list, ptr, tmp) { 243 if (ptr 252 struct list *ptr; local 264 struct list *ptr; local [all...] |
/hardware/qcom/bt/msm8909/libbt-vendor/src/ |
H A D | hw_ar3k.c | 388 unsigned char *ptr = cmd + 1; local 389 hci_command_hdr *ch = (void *)ptr; 394 ptr = cmd + 1; 398 ptr += HCI_COMMAND_HDR_SIZE; 401 ptr[0] = (char)baud; 402 ptr[1] = (char)(baud >> 8); 434 static int get_ps_type(char *ptr, int index, char *type, char *sub_type) argument 443 if (__is_delim(ptr[i])) { 448 if (isalpha(ptr[i])) { 450 (*type) = toupper(ptr[ 469 char *ptr = NULL; local 507 char *ptr = buf; local 528 update_tag_data(struct ps_cfg_entry *tag, struct tag_info *info, const char *ptr) argument 567 char *ptr; local 680 uint8_t *ptr = cmd; local 743 const char *ptr = str; local 766 uint8_t *ptr = cmd; local 907 char ptr[MAX_PATCH_CMD + 1]; local 1054 unsigned char *ptr = cmd + 1; local [all...] |
/hardware/qcom/bt/msm8992/libbt-vendor/src/ |
H A D | hw_ar3k.c | 388 unsigned char *ptr = cmd + 1; local 389 hci_command_hdr *ch = (void *)ptr; 394 ptr = cmd + 1; 398 ptr += HCI_COMMAND_HDR_SIZE; 401 ptr[0] = (char)baud; 402 ptr[1] = (char)(baud >> 8); 434 static int get_ps_type(char *ptr, int index, char *type, char *sub_type) argument 443 if (__is_delim(ptr[i])) { 448 if (isalpha(ptr[i])) { 450 (*type) = toupper(ptr[ 469 char *ptr = NULL; local 507 char *ptr = buf; local 528 update_tag_data(struct ps_cfg_entry *tag, struct tag_info *info, const char *ptr) argument 567 char *ptr; local 680 uint8_t *ptr = cmd; local 743 const char *ptr = str; local 766 uint8_t *ptr = cmd; local 907 char ptr[MAX_PATCH_CMD + 1]; local 1054 unsigned char *ptr = cmd + 1; local [all...] |
/hardware/qcom/bt/msm8996/libbt-vendor/src/ |
H A D | hw_ar3k.c | 388 unsigned char *ptr = cmd + 1; local 389 hci_command_hdr *ch = (void *)ptr; 394 ptr = cmd + 1; 398 ptr += HCI_COMMAND_HDR_SIZE; 401 ptr[0] = (char)baud; 402 ptr[1] = (char)(baud >> 8); 434 static int get_ps_type(char *ptr, int index, char *type, char *sub_type) argument 443 if (__is_delim(ptr[i])) { 448 if (isalpha(ptr[i])) { 450 (*type) = toupper(ptr[ 469 char *ptr = NULL; local 507 char *ptr = buf; local 528 update_tag_data(struct ps_cfg_entry *tag, struct tag_info *info, const char *ptr) argument 567 char *ptr; local 680 uint8_t *ptr = cmd; local 743 const char *ptr = str; local 766 uint8_t *ptr = cmd; local 907 char ptr[MAX_PATCH_CMD + 1]; local 1054 unsigned char *ptr = cmd + 1; local [all...] |
/hardware/bsp/intel/peripheral/libupm/src/lpd8806/ |
H A D | lpd8806.cxx | 84 uint8_t *ptr = &m_pixels[pixelOffset * 3]; local 85 *ptr++ = g | 0x80; // Strip color order is GRB, 86 *ptr++ = r | 0x80; // not the more common RGB, 87 *ptr++ = b | 0x80; // so the order here is intentional; don't "fix" 93 uint8_t *ptr = m_pixels; local 97 m_spi.writeByte (*ptr++);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/x86/ |
H A D | iwalsh_mmx.asm | 102 mov word ptr[rdx+32*0], ax 103 mov word ptr[rdx+32*1], cx 106 mov word ptr[rdx+32*4], ax 107 mov word ptr[rdx+32*5], cx 110 mov word ptr[rdx+32*8], ax 111 mov word ptr[rdx+32*9], cx 114 mov word ptr[rdx+32*12], ax 115 mov word ptr[rdx+32*13], cx 121 mov word ptr[rdx+32*2], ax 122 mov word ptr[rd [all...] |
H A D | iwalsh_sse2.asm | 82 mov word ptr[rdx+32*0], ax 83 mov word ptr[rdx+32*2], cx 86 mov word ptr[rdx+32*4], ax 87 mov word ptr[rdx+32*6], cx 92 mov word ptr[rdx+32*8], ax 93 mov word ptr[rdx+32*10], cx 96 mov word ptr[rdx+32*12], ax 97 mov word ptr[rdx+32*14], cx 103 mov word ptr[rdx+32*1], ax 104 mov word ptr[rd [all...] |
/hardware/qcom/msm8994/kernel-headers/linux/mmc/ |
H A D | ioctl.h | 42 #define mmc_ioc_cmd_set_data(ic, ptr) ic.data_ptr = (__u64)(unsigned long) ptr
|
/hardware/qcom/msm8994/original-kernel-headers/linux/mmc/ |
H A D | ioctl.h | 46 #define mmc_ioc_cmd_set_data(ic, ptr) ic.data_ptr = (__u64)(unsigned long) ptr
|
/hardware/qcom/msm8996/kernel-headers/linux/mmc/ |
H A D | ioctl.h | 42 #define mmc_ioc_cmd_set_data(ic,ptr) ic.data_ptr = (__u64) (unsigned long) ptr
|
/hardware/qcom/msm8996/original-kernel-headers/linux/mmc/ |
H A D | ioctl.h | 46 #define mmc_ioc_cmd_set_data(ic, ptr) ic.data_ptr = (__u64)(unsigned long) ptr
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ |
H A D | reconintra4x4.c | 124 unsigned char *ptr = Above; local 125 dst[0 * dst_stride + 0] = (ptr[0] + ptr[1] * 2 + ptr[2] + 2) >> 2; 127 dst[1 * dst_stride + 0] = (ptr[1] + ptr[2] * 2 + ptr[3] + 2) >> 2; 130 dst[2 * dst_stride + 0] = (ptr[2] + ptr[3] * 2 + ptr[ [all...] |
/hardware/ti/omap4-aah/system-core-headers-ti/ion/ |
H A D | ion.h | 38 int flags, off_t offset, unsigned char **ptr, int *map_fd); 42 int prot, int flags, off_t offset, unsigned char **ptr, int *map_fd); 44 unsigned char *ptr); 46 unsigned char *ptr);
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
H A D | alsa_audio.h | 92 #define __snd_alloca(ptr,type) do { *ptr = (type *) alloca(sizeof(type)); memset(*ptr, 0, sizeof(type)); } while (0) 93 #define snd_ctl_elem_id_alloca(ptr) __snd_alloca(ptr, snd_ctl_elem_id) 94 #define snd_ctl_card_info_alloca(ptr) __snd_alloca(ptr, snd_ctl_card_info) 95 #define snd_ctl_event_alloca(ptr) __snd_alloca(ptr, snd_ctl_event) 96 #define snd_ctl_elem_list_alloca(ptr) __snd_alloc [all...] |