Home
last modified time | relevance | path

Searched refs:pa (Results 1 – 9 of 9) sorted by relevance

/system/core/libacc/tests/data/
Dpointers.c2 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()
Dpointers2.c5 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/
Dproperty_service.c158 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/
Dwatchprops.c42 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()
Dtop.c510 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/
Dlatencytop.c436 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/
Desta_drv.c1178 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/
Desta_drv.h174 unsigned long pa; member
/system/wlan/ti/wilink_6_1/external_drivers/sdio/linux/
DSdioDrv.c36 #define IO_ADDRESS(pa) OMAP2_L4_IO_ADDRESS(pa) argument