Searched refs:ptr (Results 1 - 25 of 177) sorted by relevance

12345678

/hardware/ti/omap4-aah/
H A Dtm.c23 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 Dtm.c23 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 Dlist.h64 #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/intel/img/psb_video/fw/msvdx/
H A Dmsvdx_bin.c56 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/invensense/60xx/mlsdk/mllite/
H A Dml_stored_data.c393 int ptr = INV_CAL_HDR_LEN; local
408 inv_obj.temp_ptrs[i] += 16777216L * ((long)calData[ptr++]);
409 inv_obj.temp_ptrs[i] += 65536L * ((long)calData[ptr++]);
410 inv_obj.temp_ptrs[i] += 256 * ((int)calData[ptr++]);
411 inv_obj.temp_ptrs[i] += (int)calData[ptr++];
416 inv_obj.temp_valid_data[i] += 16777216L * ((long)calData[ptr++]);
417 inv_obj.temp_valid_data[i] += 65536L * ((long)calData[ptr++]);
418 inv_obj.temp_valid_data[i] += 256 * ((int)calData[ptr++]);
419 inv_obj.temp_valid_data[i] += (int)calData[ptr++];
427 tmp += 16777216LL * (long long)calData[ptr
553 int ptr = INV_CAL_HDR_LEN; local
782 int ptr = INV_CAL_HDR_LEN; local
1064 int ptr = INV_CAL_HDR_LEN; local
1166 int ptr; local
1234 int ptr = 0; local
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/nestegg/halloc/src/
H A Dhalloc.c50 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 Dion_test.c65 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 Dion.c109 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 DMemoryManager.cpp171 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 Dlist.c60 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/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/x86/
H A Diwalsh_mmx.asm102 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 Diwalsh_sse2.asm82 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/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
H A Dreconintra4x4.c124 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 Dion.h38 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 Dalsa_audio.h92 #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...]
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
H A Dbcmendian.h83 #define ltoh_ua(ptr) \
84 (sizeof(*(ptr)) == sizeof(uint8) ? *(const uint8 *)(ptr) : \
85 sizeof(*(ptr)) == sizeof(uint16) ? _LTOH16_UA((const uint8 *)(ptr)) : \
86 sizeof(*(ptr)) == sizeof(uint32) ? _LTOH32_UA((const uint8 *)(ptr)) : \
89 #define ntoh_ua(ptr) \
90 (sizeof(*(ptr)) == sizeof(uint8) ? *(const uint8 *)(ptr)
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/nestegg/halloc/
H A Dhalloc.h38 typedef void * (* realloc_t)(void * ptr, size_t len);
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/linux/
H A Dmlos.h52 inv_error_t inv_free(void *ptr);
80 static inline void kfree(void *ptr) argument
82 inv_free(ptr);
H A Dmlos_linux.c55 * @param ptr pointer to space to deallocate
58 inv_error_t inv_free(void *ptr) argument
60 if (ptr)
61 free(ptr);
/hardware/invensense/60xx/mlsdk/platform/include/
H A Dmlos.h64 inv_error_t inv_free(void *ptr);
90 static inline void kfree(void *ptr) argument
92 inv_free(ptr);
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
H A Dmlos.h52 inv_error_t inv_free(void *ptr);
80 static inline void kfree(void *ptr) argument
82 inv_free(ptr);
H A Dmlos_linux.c55 * @param ptr pointer to space to deallocate
58 inv_error_t inv_free(void *ptr) argument
60 if (ptr)
61 free(ptr);
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
H A Dmlos.h52 inv_error_t inv_free(void *ptr);
80 static inline void kfree(void *ptr) argument
82 inv_free(ptr);
H A Dmlos_linux.c55 * @param ptr pointer to space to deallocate
58 inv_error_t inv_free(void *ptr) argument
60 if (ptr)
61 free(ptr);
/hardware/ti/omap3/omx/system/src/openmax_il/omx_core/inc/
H A DOMX_DebugMem.h19 void* OMX_DebugMem_realloc(void *ptr, size_t size,
21 void OMX_DebugMem_free(void* ptr,
23 int OMX_DebugMem_validate(void *ptr,

Completed in 381 milliseconds

12345678