/system/core/libacc/tests/data/ |
D | pointers.c | 2 int* pa = (int*) malloc(100); in main() local 3 int* pb = pa + 1; in main() 5 *pa = 1; in main() 7 printf("Pointer difference: %d %d\n", pb - pa, ((int) pb) - ((int) pa)); in main() 8 int c = * (pa + 1); in main() 10 printf("Pointer comparison to zero: %d %d %d\n", pa == 0, pb == 0, pc == 0); in main() 11 printf("Pointer comparison: %d %d %d %d %d\n", pa < pb, pa == pb, pa > pb, ! pb, ! pc); in main() 12 free(pa); in main()
|
D | pointers2.c | 5 int* pa = &a; in testsingle() local 6 printf("a = %d, *pa = %d\n", a, *pa); in testsingle() 7 *pa = 2; in testsingle() 8 printf("a = %d, *pa = %d\n", a, *pa); in testsingle() 13 int* pa = &a; in testdouble() local 14 int** ppa = &pa; in testdouble() 15 printf("a = %d, *pa = %d **ppa = %d\n", a, *pa, **ppa); in testdouble() 17 printf("a = %d, *pa = %d **ppa = %d\n", a, *pa, **ppa); in testdouble() 22 int* pa = &a; in testtripple() local 23 int** ppa = &pa; in testtripple() [all …]
|
/system/core/init/ |
D | property_service.c | 158 prop_area *pa; in init_property_area() local 170 pa = pa_workspace.data; in init_property_area() 171 memset(pa, 0, PA_SIZE); in init_property_area() 172 pa->magic = PROP_AREA_MAGIC; in init_property_area() 173 pa->version = PROP_AREA_VERSION; in init_property_area() 176 __system_property_area__ = pa; in init_property_area() 287 prop_area *pa; in property_set() local 303 pa = __system_property_area__; in property_set() 305 pa->serial++; in property_set() 306 __futex_wake(&pa->serial, INT32_MAX); in property_set() [all …]
|
/system/core/toolbox/ |
D | watchprops.c | 42 prop_area *pa = __system_property_area__; in watchprops_main() local 43 unsigned serial = pa->serial; in watchprops_main() 44 unsigned count = pa->count; in watchprops_main() 56 __futex_wait(&pa->serial, serial, 0); in watchprops_main() 57 } while(pa->serial == serial); in watchprops_main() 59 while(count < pa->count){ in watchprops_main()
|
D | top.c | 510 struct proc_info *pa, *pb; in proc_cpu_cmp() local 512 pa = *((struct proc_info **)a); pb = *((struct proc_info **)b); in proc_cpu_cmp() 514 if (!pa && !pb) return 0; in proc_cpu_cmp() 515 if (!pa) return 1; in proc_cpu_cmp() 518 return -numcmp(pa->delta_time, pb->delta_time); in proc_cpu_cmp() 522 struct proc_info *pa, *pb; in proc_vss_cmp() local 524 pa = *((struct proc_info **)a); pb = *((struct proc_info **)b); in proc_vss_cmp() 526 if (!pa && !pb) return 0; in proc_vss_cmp() 527 if (!pa) return 1; in proc_vss_cmp() 530 return -numcmp(pa->vss, pb->vss); in proc_vss_cmp() [all …]
|
/system/extras/latencytop/ |
D | latencytop.c | 436 const struct latency_entry *pa, *pb; in lat_cmp() local 438 pa = (*((struct latency_entry **)a)); in lat_cmp() 441 return numcmp(pb->max, pa->max); in lat_cmp()
|
/system/wlan/ti/sta_dk_4_0_4_32/pform/linux/src/ |
D | esta_drv.c | 1178 if (drv->acx_mem.pa && drv->acx_mem.va) in tiwlan_free_drv() 1180 if (drv->acx_reg.pa && drv->acx_reg.va && drv->acx_reg.va != drv->acx_reg.va) in tiwlan_free_drv() 1209 drv->acx_mem.pa = mem_start; in tiwlan_alloc_drv() 1210 drv->acx_reg.pa = reg_start; in tiwlan_alloc_drv() 1211 drv->acx_mem.va = ioremap(drv->acx_mem.pa, drv->acx_mem.size); in tiwlan_alloc_drv() 1212 if (drv->acx_mem.pa!=drv->acx_reg.pa || drv->acx_mem.size!=drv->acx_reg.size) in tiwlan_alloc_drv() 1213 drv->acx_reg.va = ioremap(drv->acx_reg.pa, drv->acx_reg.size); in tiwlan_alloc_drv()
|
/system/wlan/ti/sta_dk_4_0_4_32/pform/linux/inc/ |
D | esta_drv.h | 174 unsigned long pa; member
|
/system/wlan/ti/wilink_6_1/external_drivers/sdio/linux/ |
D | SdioDrv.c | 36 #define IO_ADDRESS(pa) OMAP2_L4_IO_ADDRESS(pa) argument
|