Home | History | Annotate | Download | only in src

Lines Matching refs:px

13     int px = &x;
14 // int z = * px; // An error, expected a pointer type
15 int y = * (int*) px;
20 int px = (int) malloc(120);
21 * (int*) px = 8;
22 * (int*) (px + 4) = 9;
23 printf("Testing writing (int*): %d %d\n", * (int*) px, * (int*) (px + 4));
24 free((void*) px);
29 int px = &x;
30 int a = * (char*) px;
31 int b = * (char*) (px + 1);
32 int c = * (char*) (px + 2);
33 int d = * (char*) (px + 3);
39 int px = &x;
40 * (char*) px = 0x21;
41 * (char*) (px + 1) = 0x43;
42 * (char*) (px + 2) = 0x65;
43 * (char*) (px + 3) = 0x87;
59 int px = (int) malloc(120);
60 * (float*) px = 8.8f;
61 * (float*) (px + 4) = 9.9f;
62 printf("Testing read/write (float*): %g %g\n", * (float*) px, * (float*) (px + 4));
63 free((void*) px);
67 int px = (int) malloc(120);
68 * (double*) px = 8.8;
69 * (double*) (px + 8) = 9.9;
70 printf("Testing read/write (double*): %g %g\n", * (double*) px, * (double*) (px + 8));
71 free((void*) px);