HomeSort by relevance Sort by last modified time
    Searched defs:ai (Results 1 - 25 of 394) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
PackageUtils.java 35 final ApplicationInfo ai = context.getPackageManager().getApplicationInfo(packageName, local
39 return (ai != null) && ((ai.flags & ApplicationInfo.FLAG_INSTALLED) != 0);
  /development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
AppListFragment.java 37 protected void onBindAction2(Button v, LauncherActivityInfo ai, OnClickListener listener) {
39 if (mUserManager.isUserUnlocked(ai.getUser())
41 mQuery.setPackage(ai.getComponentName().getPackageName());
46 mQuery.setActivity(ai.getComponentName());
48 if (mLauncherApps.getShortcuts(mQuery, ai.getUser()).size() > 0) {
60 protected void onLaunch(LauncherActivityInfo ai) {
61 mLauncherApps.startMainActivity(ai.getComponentName(), ai.getUser(), null, null);
65 protected void onAction2(LauncherActivityInfo ai) {
68 ai.getComponentName().getPackageName()
    [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();
  /external/curl/lib/
hostip4.c 97 Curl_addrinfo *ai = NULL; local
105 ai = Curl_ipv4_resolve_r(hostname, port);
106 if(!ai)
109 return ai;
129 Curl_addrinfo *ai = NULL; local
152 (void)Curl_getaddrinfo_ex(hostname, sbufptr, &hints, &ai);
300 ai = Curl_he2ai(h, port);
306 return ai;
  /external/curl/tests/server/
resolve.c 124 struct addrinfo *ai; local
133 rc = (getaddrinfo)(host, "80", &hints, &ai);
135 (freeaddrinfo)(ai);
  /external/curl/tests/unit/
unit1305.c 78 static Curl_addrinfo *ai; local
80 ai = calloc(1, sizeof(Curl_addrinfo));
81 if(!ai)
84 ai->ai_canonname = strdup("dummy");
85 if(!ai->ai_canonname) {
86 free(ai);
90 ai->ai_addr = calloc(1, sizeof(struct sockaddr_in));
91 if(!ai->ai_addr) {
92 free(ai->ai_canonname);
93 free(ai);
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
IterableComparator.java 44 Iterator<T> ai = a.iterator(); local
47 if (!ai.hasNext()) {
53 T aItem = ai.next();
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
IterableComparator.java 42 Iterator<T> ai = a.iterator(); local
45 if (!ai.hasNext()) {
51 T aItem = ai.next();
  /external/toybox/lib/
net.c 21 struct addrinfo info, *ai; local
30 rc = getaddrinfo(host, port, &info, &ai);
31 if (rc || !ai)
35 return ai;
40 struct addrinfo *ai; local
44 for (ai = ai_arg; ai; ai = ai->ai_next) {
45 fd = (ai->ai_next ? socket : xsocket)(ai->ai_family, ai->ai_socktype
    [all...]
  /frameworks/base/core/tests/coretests/src/com/android/internal/app/
ResolverDataProvider.java 60 ActivityInfo ai = new ActivityInfo(); local
61 ai.name = "activity_name" + i;
62 ai.packageName = "foo_bar" + i;
63 ai.enabled = true;
64 ai.exported = true;
65 ai.permission = null;
66 ai.applicationInfo = createApplicationInfo();
67 return ai;
71 ApplicationInfo ai = new ApplicationInfo(); local
72 ai.name = "app_name"
    [all...]
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
MdmPackageInfo.java 62 ApplicationInfo ai = pm.getApplicationInfo(packageName, /* default flags */ 0); local
64 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...]

Completed in 396 milliseconds

1 2 3 4 5 6 7 8 91011>>