Searched defs:ptr (Results 1 - 25 of 99) sorted by relevance

1234

/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/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
H A Dvp9_thread.c29 static THREADFN thread_loop(void *ptr) { // thread loop argument
30 VP9Worker* const worker = (VP9Worker*)ptr;
/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/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/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/platform/linux/
H A Dmlos_linux.c67 * @param ptr pointer to space to deallocate
70 inv_error_t inv_free(void *ptr) argument
73 free(ptr);
/hardware/ti/omap3/omx/system/src/openmax_il/perf/src/
H A Dperf_config.c118 char const *ptr; local
129 for (ptr = line; *ptr && !isspace(*ptr) && *ptr != '.' && *ptr != '='; ptr++);
131 if (*ptr == '.')
134 if (!tag || strncmp(line, tag, ptr - line)) return;
137 line = ptr
[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/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/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/nestegg/test/
H A Dtest.c87 unsigned char * codec_data, * ptr; local
234 nestegg_packet_data(pkt, i, &ptr, &size);
/hardware/intel/common/utils/ISV/base/
H A Disv_bufmanager.cpp128 ALOGE("%s: get graphic buffer ptr failed", __func__);
133 char* ptr = (char*)vaddr[0]; local
135 memcpy(ptr, random_buf, sizeof(random_buf));
136 ptr += sizeof(random_buf);
/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/img/libdrm/libdrm/nouveau/
H A Dnouveau_pushbuf.c58 nouveau_pushbuf_emit_reloc(struct nouveau_channel *chan, void *ptr, argument
103 r->reloc_index = (uint32_t *)ptr - nvpb->pushbuf;
115 *(uint32_t *)ptr = (flags & NOUVEAU_BO_DUMMY) ? 0 :
/hardware/libhardware/modules/sensors/tests/
H A DSensorEventQueue_test.cpp104 void *fullQueueWriterTask(void* ptr) { argument
105 TaskContext* ctx = (TaskContext*)ptr;
143 void* fullQueueReaderTask(void* ptr) { argument
144 TaskContext* ctx = (TaskContext*)ptr;
/hardware/ti/omap4-aah/ion/
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/omap4-aah/test/CameraHal/
H A Dsurfacetexture_test.cpp181 unsigned char *ptr; local
205 ptr = (unsigned char *)mmap (NULL, SIZE, PROT_READ|PROT_WRITE,
207 printf("mmap returned %p\n", ptr);
209 ptr = (unsigned char *)mmap (NULL, SIZE, PROT_READ|PROT_WRITE,
211 printf("mmap returned %p\n", ptr);
214 ret = ion_map (fd, handle, SIZE, PROT_READ, 0, 0, &ptr, &map_fd);
222 printf("%d: %p\n", i, ptr);
/hardware/ti/omap4xxx/ion/
H A Dion.c108 int flags, off_t offset, unsigned char **ptr, int *map_fd)
121 *ptr = mmap(NULL, length, prot, flags, *map_fd, offset);
122 if (*ptr == MAP_FAILED) {
107 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
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/
H A Dvp8_multi_resolution_encoder.c90 unsigned char *ptr; local
102 ptr = img->planes[img->fmt==VPX_IMG_FMT_YV12? VPX_PLANE_V : VPX_PLANE_U];
105 ptr = img->planes[img->fmt==VPX_IMG_FMT_YV12?VPX_PLANE_U : VPX_PLANE_V];
108 ptr = img->planes[plane];
115 nbytes = fread(ptr, 1, to_read, f);
123 ptr += img->stride[plane];

Completed in 941 milliseconds

1234