/external/clang/test/CodeGen/ |
blocks-aligned-byref-variable.c | 3 typedef int __attribute__((aligned(32))) ai; typedef 6 __block ai a = 10;
|
/external/compiler-rt/test/ubsan/TestCases/Misc/ |
log-path_test.cc | 30 unsigned int ai = (unsigned int) a; local 31 printf("%f %u\n", a, ai);
|
/external/compiler-rt/test/msan/ |
getaddrinfo-positive.cc | 14 struct addrinfo *ai; local 16 int res = getaddrinfo("localhost", NULL, NULL, &ai); 17 if (ai) z = 1; // OK 18 res = getaddrinfo("localhost", NULL, &hint, &ai);
|
getaddrinfo.cc | 16 struct addrinfo *ai; local 22 int res = getaddrinfo("not-in-etc-hosts", NULL, NULL, &ai);
|
/external/clang/test/Modules/ |
merge-template-members.cpp | 19 N::A<int> ai; variable
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
AtomicStampedReferenceTest.java | 31 AtomicStampedReference ai = new AtomicStampedReference(one, 0); local 32 assertSame(one, ai.getReference()); 33 assertEquals(0, ai.getStamp()); 44 AtomicStampedReference ai = new AtomicStampedReference(one, 0); local 45 assertSame(one, ai.getReference()); 46 assertEquals(0, ai.getStamp()); 47 assertSame(one, ai.get(mark)); 49 ai.set(two, 0); 50 assertSame(two, ai.getReference()); 51 assertEquals(0, ai.getStamp()) 66 AtomicStampedReference ai = new AtomicStampedReference(one, 0); local 80 AtomicStampedReference ai = new AtomicStampedReference(one, 0); local 103 final AtomicStampedReference ai = new AtomicStampedReference(one, 0); local 123 final AtomicStampedReference ai = new AtomicStampedReference(one, 0); local 144 AtomicStampedReference ai = new AtomicStampedReference(one, 0); local [all...] |
AtomicMarkableReferenceTest.java | 31 AtomicMarkableReference ai = new AtomicMarkableReference(one, false); local 32 assertSame(one, ai.getReference()); 33 assertFalse(ai.isMarked()); 44 AtomicMarkableReference ai = new AtomicMarkableReference(one, false); local 45 assertSame(one, ai.getReference()); 46 assertFalse(ai.isMarked()); 47 assertSame(one, ai.get(mark)); 49 ai.set(two, false); 50 assertSame(two, ai.getReference()); 51 assertFalse(ai.isMarked()) 66 AtomicMarkableReference ai = new AtomicMarkableReference(one, false); local 80 AtomicMarkableReference ai = new AtomicMarkableReference(one, false); local 103 final AtomicMarkableReference ai = new AtomicMarkableReference(one, false); local 123 final AtomicMarkableReference ai = new AtomicMarkableReference(one, false); local 144 AtomicMarkableReference ai = new AtomicMarkableReference(one, false); local [all...] |
AtomicBooleanTest.java | 39 AtomicBoolean ai = new AtomicBoolean(); local 40 assertFalse(ai.get()); 47 AtomicBoolean ai = new AtomicBoolean(true); local 48 assertTrue(ai.get()); 49 ai.set(false); 50 assertFalse(ai.get()); 51 ai.set(true); 52 assertTrue(ai.get()); 59 AtomicBoolean ai = new AtomicBoolean(true); local 60 assertTrue(ai.get()) 71 AtomicBoolean ai = new AtomicBoolean(true); local 87 final AtomicBoolean ai = new AtomicBoolean(true); local 104 AtomicBoolean ai = new AtomicBoolean(true); local 117 AtomicBoolean ai = new AtomicBoolean(true); local 141 AtomicBoolean ai = new AtomicBoolean(); local [all...] |
AtomicReferenceTest.java | 31 AtomicReference ai = new AtomicReference(one); local 32 assertSame(one, ai.get()); 39 AtomicReference ai = new AtomicReference(); local 40 assertNull(ai.get()); 47 AtomicReference ai = new AtomicReference(one); local 48 assertSame(one, ai.get()); 49 ai.set(two); 50 assertSame(two, ai.get()); 51 ai.set(m3); 52 assertSame(m3, ai.get()) 59 AtomicReference ai = new AtomicReference(one); local 71 AtomicReference ai = new AtomicReference(one); local 86 final AtomicReference ai = new AtomicReference(one); local 105 AtomicReference ai = new AtomicReference(one); local 117 AtomicReference ai = new AtomicReference(one); local 142 AtomicReference<Integer> ai = new AtomicReference<Integer>(one); local [all...] |
LongAdderTest.java | 32 LongAdder ai = new LongAdder(); local 33 assertEquals(0, ai.sum()); 40 LongAdder ai = new LongAdder(); local 41 ai.add(2); 42 assertEquals(2, ai.sum()); 43 ai.add(-4); 44 assertEquals(-2, ai.sum()); 51 LongAdder ai = new LongAdder(); local 52 ai.decrement(); 53 assertEquals(-1, ai.sum()) 62 LongAdder ai = new LongAdder(); local 73 LongAdder ai = new LongAdder(); local 84 LongAdder ai = new LongAdder(); local 110 LongAdder ai = new LongAdder(); local 120 LongAdder ai = new LongAdder(); local 130 LongAdder ai = new LongAdder(); local 140 LongAdder ai = new LongAdder(); local 150 LongAdder ai = new LongAdder(); local [all...] |
DoubleAccumulatorTest.java | 32 DoubleAccumulator ai = new DoubleAccumulator(Double::max, 0.0); local 33 assertEquals(0.0, ai.get()); 40 DoubleAccumulator ai = new DoubleAccumulator(Double::max, 0.0); local 41 ai.accumulate(2.0); 42 assertEquals(2.0, ai.get()); 43 ai.accumulate(-4.0); 44 assertEquals(2.0, ai.get()); 45 ai.accumulate(4.0); 46 assertEquals(4.0, ai.get()); 53 DoubleAccumulator ai = new DoubleAccumulator(Double::max, 0.0) local 64 DoubleAccumulator ai = new DoubleAccumulator(Double::max, 0.0); local 75 DoubleAccumulator ai = new DoubleAccumulator(Double::max, 0.0); local 85 DoubleAccumulator ai = new DoubleAccumulator(Double::max, 0.0); local 95 DoubleAccumulator ai = new DoubleAccumulator(Double::max, 0.0); local 105 DoubleAccumulator ai = new DoubleAccumulator(Double::max, 0.0); local 115 DoubleAccumulator ai = new DoubleAccumulator(Double::max, 0.0); local [all...] |
LongAccumulatorTest.java | 32 LongAccumulator ai = new LongAccumulator(Long::max, 0L); local 33 assertEquals(0, ai.get()); 40 LongAccumulator ai = new LongAccumulator(Long::max, 0L); local 41 ai.accumulate(2); 42 assertEquals(2, ai.get()); 43 ai.accumulate(-4); 44 assertEquals(2, ai.get()); 45 ai.accumulate(4); 46 assertEquals(4, ai.get()); 53 LongAccumulator ai = new LongAccumulator(Long::max, 0L) local 64 LongAccumulator ai = new LongAccumulator(Long::max, 0L); local 75 LongAccumulator ai = new LongAccumulator(Long::max, 0L); local 85 LongAccumulator ai = new LongAccumulator(Long::max, 0L); local 95 LongAccumulator ai = new LongAccumulator(Long::max, 0L); local 105 LongAccumulator ai = new LongAccumulator(Long::max, 0L); local 115 LongAccumulator ai = new LongAccumulator(Long::max, 0L); local [all...] |
AtomicIntegerTest.java | 35 AtomicInteger ai = new AtomicInteger(1); local 36 assertEquals(1, ai.get()); 43 AtomicInteger ai = new AtomicInteger(); local 44 assertEquals(0, ai.get()); 51 AtomicInteger ai = new AtomicInteger(1); local 52 assertEquals(1, ai.get()); 53 ai.set(2); 54 assertEquals(2, ai.get()); 55 ai.set(-3); 56 assertEquals(-3, ai.get()) 63 AtomicInteger ai = new AtomicInteger(1); local 75 AtomicInteger ai = new AtomicInteger(1); local 90 final AtomicInteger ai = new AtomicInteger(1); local 109 AtomicInteger ai = new AtomicInteger(1); local 121 AtomicInteger ai = new AtomicInteger(1); local 131 AtomicInteger ai = new AtomicInteger(1); local 142 AtomicInteger ai = new AtomicInteger(1); local 152 AtomicInteger ai = new AtomicInteger(1); local 166 AtomicInteger ai = new AtomicInteger(1); local 177 AtomicInteger ai = new AtomicInteger(1); local 188 AtomicInteger ai = new AtomicInteger(1); local 216 AtomicInteger ai = new AtomicInteger(); local 228 AtomicInteger ai = new AtomicInteger(); local 240 AtomicInteger ai = new AtomicInteger(); local 252 AtomicInteger ai = new AtomicInteger(); local 264 AtomicInteger ai = new AtomicInteger(); local [all...] |
/development/ndk/platforms/android-17/samples/Teapot/src/com/sample/teapot/ |
TeapotApplication.java | 38 ApplicationInfo ai; local 40 ai = pm.getApplicationInfo( this.getPackageName(), 0); 42 ai = null; 44 final String applicationName = (String) (ai != null ? pm.getApplicationLabel(ai) : "(unknown)");
|
/development/ndk/platforms/android-18/samples/MoreTeapots/src/com/sample/moreteapots/ |
MoreTeapotsApplication.java | 43 ApplicationInfo ai; local 45 ai = pm.getApplicationInfo( this.getPackageName(), 0); 47 ai = null; 49 final String applicationName = (String) (ai != null ? pm.getApplicationLabel(ai) : "(unknown)");
|
/external/toybox/lib/ |
net.c | 19 struct addrinfo info, *ai, *ai2; local 28 fd = getaddrinfo(host, port, &info, &ai); 29 if (fd || !ai) 34 for (ai2 = ai; ai; ai = ai->ai_next) { 35 fd = (ai->ai_next ? socket : xsocket)(ai->ai_family, ai->ai_socktype [all...] |
/development/samples/ShortcutDemo/common/src/com/example/android/pm/shortcutdemo/ |
AppLabelCache.java | 39 final ApplicationInfo ai = pm.getApplicationInfo(packageName, 0); local 40 name = pm.getApplicationLabel(ai).toString();
|
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/ |
AppListFragment.java | 146 public void bindView(View view, LauncherActivityInfo ai) { 150 v.setTag(ai); 158 v.setTag(ai); 162 if (mUserManager.isUserUnlocked(ai.getUser()) 164 mQuery.setPackage(ai.getComponentName().getPackageName()); 169 mQuery.setActivity(ai.getComponentName()); 171 if (mLauncherApps.getShortcuts(mQuery, ai.getUser()).size() > 0) { 185 line1.setText(ai.getLabel()); 188 final Drawable icon = ai.getBadgedIcon(DisplayMetrics.DENSITY_DEFAULT); 195 final LauncherActivityInfo ai = (LauncherActivityInfo) v.getTag() local [all...] |
/external/curl/lib/ |
hostip4.c | 96 Curl_addrinfo *ai = NULL; local 104 ai = Curl_ipv4_resolve_r(hostname, port); 105 if(!ai) 108 return ai; 128 Curl_addrinfo *ai = NULL; local 151 (void)Curl_getaddrinfo_ex(hostname, sbufptr, &hints, &ai); 299 ai = Curl_he2ai(h, port); 305 return ai;
|
/external/curl/tests/server/ |
resolve.c | 131 struct addrinfo *ai; local 140 rc = (getaddrinfo)(host, "80", &hints, &ai); 142 (freeaddrinfo)(ai);
|
/external/curl/tests/unit/ |
unit1305.c | 78 static Curl_addrinfo *ai; local 83 if((ai = calloc(1, sizeof(Curl_addrinfo))) == NULL) 86 if((ai->ai_canonname = strdup("dummy")) == NULL) { 87 free(ai); 91 if((ai->ai_addr = calloc(1, ss_size)) == NULL) { 92 free(ai->ai_canonname); 93 free(ai); 97 ai->ai_family = AF_INET; 98 ai->ai_addrlen = ss_size; 100 return ai; [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
IterableComparator.java | 41 Iterator<T> ai = a.iterator(); local 44 if (!ai.hasNext()) { 50 T aItem = ai.next();
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
IterableComparator.java | 39 Iterator<T> ai = a.iterator(); local 42 if (!ai.hasNext()) { 48 T aItem = ai.next();
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
MdmPackageInfo.java | 63 ApplicationInfo ai = pm.getApplicationInfo(packageName, /* default flags */ 0); local 65 pm.getApplicationLabel(ai).toString());
|
/external/javassist/src/main/javassist/bytecode/ |
AttributeInfo.java | 205 AttributeInfo ai = (AttributeInfo)iterator.next(); local 206 if (ai.getName().equals(name)) 207 return ai; 219 AttributeInfo ai = (AttributeInfo)iterator.next(); local 220 if (ai.getName().equals(name)) 264 AttributeInfo ai = (AttributeInfo)iterator.next(); local 265 ai.renameClass(oldname, newname); 272 AttributeInfo ai = (AttributeInfo)iterator.next(); local 273 ai.renameClass(classnames); 282 AttributeInfo ai = (AttributeInfo)iterator.next() local [all...] |