Home
last modified time | relevance | path

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

/frameworks/compile/libbcc/tests/data/src/
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 …]
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()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java39 Parcelable[] pa = intent.getParcelableArrayExtra(Intent.EXTRA_INITIAL_INTENTS); in onCreate() local
41 if (pa != null) { in onCreate()
42 initialIntents = new Intent[pa.length]; in onCreate()
43 for (int i=0; i<pa.length; i++) { in onCreate()
44 if (!(pa[i] instanceof Intent)) { in onCreate()
46 + " not an Intent: " + pa[i]); in onCreate()
50 initialIntents[i] = (Intent)pa[i]; in onCreate()
/frameworks/native/opengl/tests/angeles/
Ddemo.c243 VECTOR3 pa, pb, pc, pd; in createSuperShape() local
249 superShapeMap(&pa, r0, r1, t1, p1); in createSuperShape()
256 pa.z = pb.z = 0; in createSuperShape()
258 vector3Sub(&v1, &pb, &pa); in createSuperShape()
259 vector3Sub(&v2, &pd, &pa); in createSuperShape()
284 ca = pa.z + 0.5f; in createSuperShape()
309 result->vertexArray[currentVertex * 3] = FIXED(pa.x); in createSuperShape()
310 result->vertexArray[currentVertex * 3 + 1] = FIXED(pa.y); in createSuperShape()
311 result->vertexArray[currentVertex * 3 + 2] = FIXED(pa.z); in createSuperShape()
/frameworks/base/media/libdrm/mobile1/src/xml/
Dxml_tinyparser.c807 XML_TREE_ATTR *pa, *lastpa; in XML_freeTree() local
823 pa = pTree->attr; in XML_freeTree()
824 while (NULL != pa) { in XML_freeTree()
825 lastpa = pa; in XML_freeTree()
826 pa = pa->next; in XML_freeTree()
/frameworks/base/core/java/android/widget/
DStackView.java860 ObjectAnimator pa = ObjectAnimator.ofPropertyValuesHolder(animationSlider,
862 pa.setDuration(duration);
863 pa.setInterpolator(new LinearInterpolator());
864 pa.start();
879 ObjectAnimator pa = ObjectAnimator.ofPropertyValuesHolder(animationSlider,
881 pa.setDuration(duration);
882 pa.start();
/frameworks/base/core/java/android/content/pm/
DPackageParser.java2525 PatternMatcher pa = null; in parseProviderTags() local
2530 pa = new PatternMatcher(str, PatternMatcher.PATTERN_LITERAL); in parseProviderTags()
2536 pa = new PatternMatcher(str, PatternMatcher.PATTERN_PREFIX); in parseProviderTags()
2542 pa = new PatternMatcher(str, PatternMatcher.PATTERN_SIMPLE_GLOB); in parseProviderTags()
2547 if (pa != null) { in parseProviderTags()
2550 outInfo.info.uriPermissionPatterns[0] = pa; in parseProviderTags()
2555 newp[N] = pa; in parseProviderTags()
2577 PathPermission pa = null; in parseProviderTags() local
2618 pa = new PathPermission(path, in parseProviderTags()
2625 pa = new PathPermission(path, in parseProviderTags()
[all …]
/frameworks/base/services/java/com/android/server/pm/
DPackageManagerService.java1216 for (PreferredActivity pa : mSettings.mPreferredActivities.filterSet()) { in PackageManagerService()
1217 if (mActivities.mActivities.get(pa.mPref.mComponent) == null) { in PackageManagerService()
1218 removed.add(pa); in PackageManagerService()
1222 PreferredActivity pa = removed.get(i); in PackageManagerService() local
1224 + pa.mPref.mComponent); in PackageManagerService()
1225 mSettings.mPreferredActivities.removeFilter(pa); in PackageManagerService()
2396 final PreferredActivity pa = prefs.get(i); in findPreferredActivity() local
2397 if (pa.mPref.mMatch != match) { in findPreferredActivity()
2400 final ActivityInfo ai = getActivityInfo(pa.mPref.mComponent, flags, userId); in findPreferredActivity()
2416 + pa.mPref.mComponent); in findPreferredActivity()
[all …]
DSettings.java1306 for (final PreferredActivity pa : mPreferredActivities.filterSet()) { in writePreferredActivitiesLPr()
1308 pa.writeToXml(serializer); in writePreferredActivitiesLPr()
2220 PreferredActivity pa = new PreferredActivity(parser); in readPreferredActivitiesLPw() local
2221 if (pa.mPref.getParseError() == null) { in readPreferredActivitiesLPw()
2222 mPreferredActivities.addFilter(pa); in readPreferredActivitiesLPw()
2226 + pa.mPref.getParseError() + " at " in readPreferredActivitiesLPw()
/frameworks/base/core/res/assets/webkit/
Dhyph_en_US.dic3770 1pa
7588 .1pa