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/base/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.java857 ObjectAnimator pa = ObjectAnimator.ofPropertyValuesHolder(animationSlider,
859 pa.setDuration(duration);
860 pa.setInterpolator(new LinearInterpolator());
861 pa.start();
876 ObjectAnimator pa = ObjectAnimator.ofPropertyValuesHolder(animationSlider,
878 pa.setDuration(duration);
879 pa.start();
/frameworks/base/core/java/android/content/pm/
DPackageParser.java2375 PatternMatcher pa = null; in parseProviderTags() local
2380 pa = new PatternMatcher(str, PatternMatcher.PATTERN_LITERAL); in parseProviderTags()
2386 pa = new PatternMatcher(str, PatternMatcher.PATTERN_PREFIX); in parseProviderTags()
2392 pa = new PatternMatcher(str, PatternMatcher.PATTERN_SIMPLE_GLOB); in parseProviderTags()
2397 if (pa != null) { in parseProviderTags()
2400 outInfo.info.uriPermissionPatterns[0] = pa; in parseProviderTags()
2405 newp[N] = pa; in parseProviderTags()
2427 PathPermission pa = null; in parseProviderTags() local
2468 pa = new PathPermission(path, in parseProviderTags()
2475 pa = new PathPermission(path, in parseProviderTags()
[all …]
/frameworks/base/services/java/com/android/server/pm/
DPackageManagerService.java2198 final PreferredActivity pa = prefs.get(i); in findPreferredActivity() local
2199 if (pa.mPref.mMatch != match) { in findPreferredActivity()
2202 final ActivityInfo ai = getActivityInfo(pa.mPref.mComponent, flags); in findPreferredActivity()
2226 if (!pa.mPref.sameSet(query, priority)) { in findPreferredActivity()
2229 mSettings.mPreferredActivities.removeFilter(pa); in findPreferredActivity()
6998 for (PreferredActivity pa : mSettings.mPreferredActivities.filterSet()) { in removePackageDataLI()
6999 if (pa.mPref.mComponent.getPackageName().equals(deletedPs.name)) { in removePackageDataLI()
7000 removed.add(pa); in removePackageDataLI()
7003 for (PreferredActivity pa : removed) { in removePackageDataLI()
7004 mSettings.mPreferredActivities.removeFilter(pa); in removePackageDataLI()
[all …]
DSettings.java899 for (final PreferredActivity pa : mPreferredActivities.filterSet()) { in writeLPr()
901 pa.writeToXml(serializer); in writeLPr()
1877 PreferredActivity pa = new PreferredActivity(parser); in readPreferredActivitiesLPw() local
1878 if (pa.mPref.getParseError() == null) { in readPreferredActivitiesLPw()
1879 mPreferredActivities.addFilter(pa); in readPreferredActivitiesLPw()
1883 + pa.mPref.getParseError() + " at " in readPreferredActivitiesLPw()
/frameworks/base/core/res/assets/webkit/
Dhyph_en_US.dic3770 1pa
7588 .1pa