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

1 2 3 4

  /libcore/luni/src/test/java/tests/api/java/util/concurrent/
AtomicMarkableReferenceTest.java 23 AtomicMarkableReference ai = new AtomicMarkableReference(one, false); local
24 assertSame(one,ai.getReference());
25 assertFalse(ai.isMarked());
36 AtomicMarkableReference ai = new AtomicMarkableReference(one, false); local
37 assertSame(one,ai.getReference());
38 assertFalse(ai.isMarked());
39 assertSame(one, ai.get(mark));
41 ai.set(two, false);
42 assertSame(two,ai.getReference());
43 assertFalse(ai.isMarked())
58 AtomicMarkableReference ai = new AtomicMarkableReference(one, false); local
72 AtomicMarkableReference ai = new AtomicMarkableReference(one, false); local
95 final AtomicMarkableReference ai = new AtomicMarkableReference(one, false); local
115 final AtomicMarkableReference ai = new AtomicMarkableReference(one, false); local
136 AtomicMarkableReference ai = new AtomicMarkableReference(one, false); local
    [all...]
AtomicStampedReferenceTest.java 23 AtomicStampedReference ai = new AtomicStampedReference(one, 0); local
24 assertSame(one,ai.getReference());
25 assertEquals(0, ai.getStamp());
36 AtomicStampedReference ai = new AtomicStampedReference(one, 0); local
37 assertSame(one,ai.getReference());
38 assertEquals(0, ai.getStamp());
39 assertSame(one, ai.get(mark));
41 ai.set(two, 0);
42 assertSame(two,ai.getReference());
43 assertEquals(0, ai.getStamp())
58 AtomicStampedReference ai = new AtomicStampedReference(one, 0); local
72 AtomicStampedReference ai = new AtomicStampedReference(one, 0); local
95 final AtomicStampedReference ai = new AtomicStampedReference(one, 0); local
115 final AtomicStampedReference ai = new AtomicStampedReference(one, 0); local
136 AtomicStampedReference ai = new AtomicStampedReference(one, 0); local
    [all...]
AtomicReferenceArrayTest.java 25 AtomicReferenceArray<Integer> ai = new AtomicReferenceArray<Integer>(SIZE); local
27 assertNull(ai.get(i));
37 AtomicReferenceArray<Integer> ai = new AtomicReferenceArray<Integer>(a); local
47 AtomicReferenceArray<Integer> ai = new AtomicReferenceArray<Integer>(a); local
48 assertEquals(a.length, ai.length());
50 assertEquals(a[i], ai.get(i));
58 AtomicReferenceArray<Integer> ai = new AtomicReferenceArray<Integer>(SIZE); local
60 ai.get(SIZE);
65 ai.get(-1);
70 ai.set(SIZE, null)
85 AtomicReferenceArray ai = new AtomicReferenceArray(SIZE); local
100 AtomicReferenceArray ai = new AtomicReferenceArray(SIZE); local
115 AtomicReferenceArray ai = new AtomicReferenceArray(SIZE); local
153 AtomicReferenceArray ai = new AtomicReferenceArray(SIZE); local
168 AtomicReferenceArray ai = new AtomicReferenceArray(SIZE); local
206 AtomicReferenceArray<Integer> ai = new AtomicReferenceArray<Integer>(a); local
    [all...]
AtomicBooleanTest.java 32 AtomicBoolean ai = new AtomicBoolean(); local
33 assertFalse(ai.get());
40 AtomicBoolean ai = new AtomicBoolean(true); local
41 assertTrue(ai.get());
42 ai.set(false);
43 assertFalse(ai.get());
44 ai.set(true);
45 assertTrue(ai.get());
52 AtomicBoolean ai = new AtomicBoolean(true); local
53 assertTrue(ai.get())
64 AtomicBoolean ai = new AtomicBoolean(true); local
80 final AtomicBoolean ai = new AtomicBoolean(true); local
97 AtomicBoolean ai = new AtomicBoolean(true); local
110 AtomicBoolean ai = new AtomicBoolean(true); local
139 AtomicBoolean ai = new AtomicBoolean(); local
    [all...]
AtomicReferenceTest.java 24 AtomicReference ai = new AtomicReference(one); local
25 assertSame(one,ai.get());
32 AtomicReference ai = new AtomicReference(); local
33 assertNull(ai.get());
40 AtomicReference ai = new AtomicReference(one); local
41 assertSame(one,ai.get());
42 ai.set(two);
43 assertSame(two,ai.get());
44 ai.set(m3);
45 assertSame(m3,ai.get())
52 AtomicReference ai = new AtomicReference(one); local
64 AtomicReference ai = new AtomicReference(one); local
79 final AtomicReference ai = new AtomicReference(one); local
98 AtomicReference ai = new AtomicReference(one); local
110 AtomicReference ai = new AtomicReference(one); local
138 AtomicReference<Integer> ai = new AtomicReference<Integer>(one); local
    [all...]
AtomicIntegerArrayTest.java 26 AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); local
28 assertEquals(0,ai.get(i));
37 AtomicIntegerArray ai = new AtomicIntegerArray(a); local
47 AtomicIntegerArray ai = new AtomicIntegerArray(a); local
48 assertEquals(a.length, ai.length());
50 assertEquals(a[i], ai.get(i));
57 AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); local
59 ai.get(SIZE);
64 ai.get(-1);
69 ai.set(SIZE, 0)
84 AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); local
99 AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); local
114 AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); local
152 AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); local
167 AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); local
180 AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); local
194 AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); local
207 AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); local
224 AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); local
238 AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); local
252 AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); local
268 final AtomicIntegerArray ai; field in class:AtomicIntegerArrayTest.Counter
294 final AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); local
336 AtomicIntegerArray ai = new AtomicIntegerArray(a); local
    [all...]
AtomicLongArrayTest.java 25 AtomicLongArray ai = new AtomicLongArray(SIZE); local
27 assertEquals(0,ai.get(i));
36 AtomicLongArray ai = new AtomicLongArray(a); local
46 AtomicLongArray ai = new AtomicLongArray(a); local
47 assertEquals(a.length, ai.length());
49 assertEquals(a[i], ai.get(i));
56 AtomicLongArray ai = new AtomicLongArray(SIZE); local
58 ai.get(SIZE);
63 ai.get(-1);
68 ai.set(SIZE, 0)
83 AtomicLongArray ai = new AtomicLongArray(SIZE); local
98 AtomicLongArray ai = new AtomicLongArray(SIZE); local
113 AtomicLongArray ai = new AtomicLongArray(SIZE); local
151 AtomicLongArray ai = new AtomicLongArray(SIZE); local
166 AtomicLongArray ai = new AtomicLongArray(SIZE); local
179 AtomicLongArray ai = new AtomicLongArray(SIZE); local
193 AtomicLongArray ai = new AtomicLongArray(SIZE); local
206 AtomicLongArray ai = new AtomicLongArray(SIZE); local
223 AtomicLongArray ai = new AtomicLongArray(SIZE); local
237 AtomicLongArray ai = new AtomicLongArray(SIZE); local
251 AtomicLongArray ai = new AtomicLongArray(SIZE); local
267 final AtomicLongArray ai; field in class:AtomicLongArrayTest.Counter
293 final AtomicLongArray ai = new AtomicLongArray(SIZE); local
333 AtomicLongArray ai = new AtomicLongArray(a); local
    [all...]
AtomicIntegerTest.java 28 AtomicInteger ai = new AtomicInteger(1); local
29 assertEquals(1,ai.get());
36 AtomicInteger ai = new AtomicInteger(); local
37 assertEquals(0,ai.get());
44 AtomicInteger ai = new AtomicInteger(1); local
45 assertEquals(1,ai.get());
46 ai.set(2);
47 assertEquals(2,ai.get());
48 ai.set(-3);
49 assertEquals(-3,ai.get())
56 AtomicInteger ai = new AtomicInteger(1); local
68 AtomicInteger ai = new AtomicInteger(1); local
83 final AtomicInteger ai = new AtomicInteger(1); local
102 AtomicInteger ai = new AtomicInteger(1); local
114 AtomicInteger ai = new AtomicInteger(1); local
124 AtomicInteger ai = new AtomicInteger(1); local
135 AtomicInteger ai = new AtomicInteger(1); local
145 AtomicInteger ai = new AtomicInteger(1); local
159 AtomicInteger ai = new AtomicInteger(1); local
170 AtomicInteger ai = new AtomicInteger(1); local
181 AtomicInteger ai = new AtomicInteger(1); local
213 AtomicInteger ai = new AtomicInteger(); local
225 AtomicInteger ai = new AtomicInteger(); local
237 AtomicInteger ai = new AtomicInteger(); local
249 AtomicInteger ai = new AtomicInteger(); local
261 AtomicInteger ai = new AtomicInteger(); local
    [all...]
AtomicLongTest.java 30 AtomicLong ai = new AtomicLong(1); local
31 assertEquals(1,ai.get());
38 AtomicLong ai = new AtomicLong(); local
39 assertEquals(0,ai.get());
46 AtomicLong ai = new AtomicLong(1); local
47 assertEquals(1,ai.get());
48 ai.set(2);
49 assertEquals(2,ai.get());
50 ai.set(-3);
51 assertEquals(-3,ai.get())
58 AtomicLong ai = new AtomicLong(1); local
70 AtomicLong ai = new AtomicLong(1); local
85 final AtomicLong ai = new AtomicLong(1); local
104 AtomicLong ai = new AtomicLong(1); local
116 AtomicLong ai = new AtomicLong(1); local
126 AtomicLong ai = new AtomicLong(1); local
137 AtomicLong ai = new AtomicLong(1); local
147 AtomicLong ai = new AtomicLong(1); local
161 AtomicLong ai = new AtomicLong(1); local
172 AtomicLong ai = new AtomicLong(1); local
183 AtomicLong ai = new AtomicLong(1); local
215 AtomicLong ai = new AtomicLong(); local
227 AtomicLong ai = new AtomicLong(); local
239 AtomicLong ai = new AtomicLong(); local
251 AtomicLong ai = new AtomicLong(); local
263 AtomicLong ai = new AtomicLong(); local
    [all...]
  /external/openssl/crypto/asn1/
evp_asn1.c 142 ASN1_INTEGER *ai=NULL; local
162 if ((ai=d2i_ASN1_INTEGER(NULL,&c.p,c.slen)) == NULL) goto err;
170 *num=ASN1_INTEGER_get(ai);
186 if (ai != NULL) M_ASN1_INTEGER_free(ai);
  /external/chromium/net/base/
address_list.cc 127 struct addrinfo* ai = new addrinfo; local
128 memset(ai, 0, sizeof(addrinfo));
130 ai->ai_family = AF_INET6;
131 ai->ai_socktype = SOCK_STREAM;
132 ai->ai_addrlen = sizeof(struct sockaddr_in6);
135 new char[ai->ai_addrlen]);
138 ai->ai_addr = reinterpret_cast<struct sockaddr*>(addr6);
142 return AddressList(new Data(ai, false /*is_system_created*/));
host_resolver_proc.cc 162 struct addrinfo* ai = NULL; local
211 int err = getaddrinfo(host.c_str(), NULL, &hints, &ai);
219 err = getaddrinfo(host.c_str(), NULL, &hints, &ai);
226 addrlist->Adopt(ai);
  /external/dropbear/
fake-rfc2553.c 105 freeaddrinfo(struct addrinfo *ai)
109 for(; ai != NULL;) {
110 next = ai->ai_next;
111 free(ai);
112 ai = next;
121 struct addrinfo *ai; local
123 ai = malloc(sizeof(*ai) + sizeof(struct sockaddr_in));
124 if (ai == NULL)
127 memset(ai, '\0', sizeof(*ai) + sizeof(struct sockaddr_in))
    [all...]
  /frameworks/base/core/java/android/app/
AliasActivity.java 58 ActivityInfo ai = getPackageManager().getActivityInfo( local
60 parser = ai.loadXmlMetaData(getPackageManager(),
  /external/chromium/third_party/icu/source/tools/genrb/
rle.c 241 int32_t ai = 0; local
269 target[ai++] = c;
275 target[ai++] = runValue;
280 target[ai++] = c;
284 if (ai != length){
303 int32_t ai=0; local
325 for (; ai<tgtLen; ) {
354 target[ai++] = b;
362 target[ai++] = ESCAPE_BYTE;
377 if(ai<tgtLen)
    [all...]
  /external/icu4c/tools/genrb/
rle.c 241 int32_t ai = 0; local
269 target[ai++] = c;
275 target[ai++] = runValue;
280 target[ai++] = c;
284 if (ai != length){
303 int32_t ai=0; local
325 for (; ai<tgtLen; ) {
354 target[ai++] = b;
362 target[ai++] = ESCAPE_BYTE;
377 if(ai<tgtLen)
    [all...]
  /external/ipsec-tools/src/racoon/
kmpstat.c 212 struct addrinfo hint, *ai; local
220 error = getaddrinfo(name, port, &hint, &ai);
226 return ai->ai_addr;
  /libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
DSAPrivateKeyImpl.java 77 AlgorithmIdentifier ai = new AlgorithmIdentifier(AlgNameMapper local
82 pki = new PrivateKeyInfo(0, ai, ASN1Integer.getInstance().encode(
102 AlgorithmIdentifier ai; local
125 ai = privateKeyInfo.getAlgorithmIdentifier();
128 .decode(ai.getParameters());
141 alg = ai.getAlgorithm();
DSAPublicKeyImpl.java 79 AlgorithmIdentifier ai = new AlgorithmIdentifier(AlgNameMapper local
85 spki = new SubjectPublicKeyInfo(ai, ASN1Integer.getInstance().encode(
104 AlgorithmIdentifier ai; local
127 ai = subjectPublicKeyInfo.getAlgorithmIdentifier();
131 .decode(ai.getParameters());
145 alg = ai.getAlgorithm();
  /frameworks/base/core/tests/coretests/src/android/app/
SearchablesTest.java 167 ActionKeyInfo ai = si.findActionKey(KeyEvent.KEYCODE_CALL); local
168 if (ai != null) {
169 assertEquals(ai.getKeyCode(), KeyEvent.KEYCODE_CALL);
171 boolean m1 = (ai.getQueryActionMsg() != null) && (ai.getQueryActionMsg().length() > 0);
172 boolean m2 = (ai.getSuggestActionMsg() != null) && (ai.getSuggestActionMsg().length() > 0);
173 boolean m3 = (ai.getSuggestActionMsgColumn() != null) &&
174 (ai.getSuggestActionMsgColumn().length() > 0);
  /libcore/luni/src/test/java/tests/api/org/xml/sax/helpers/
AttributeListImplTest.java 60 AttributeListImpl ai = new AttributeListImpl(empty); local
61 assertEquals(0, ai.getLength());
64 ai = new AttributeListImpl(multi);
65 assertEquals(3, ai.getLength());
69 ai = new AttributeListImpl(null);
70 assertEquals(0, ai.getLength());
174 AttributeListImpl ai = new AttributeListImpl(empty); local
175 assertEquals(0, ai.getLength());
177 ai = new AttributeListImpl(multi);
178 assertEquals(3, ai.getLength())
    [all...]
  /external/openssl/crypto/x509/
x509_cmp.c 70 X509_CINF *ai,*bi; local
72 ai=a->cert_info;
74 i=M_ASN1_INTEGER_cmp(ai->serialNumber,bi->serialNumber);
76 return(X509_NAME_cmp(ai->issuer,bi->issuer));
  /external/qemu/
qemu-sockets.c 94 struct addrinfo ai,*res,*e; local
102 memset(&ai,0, sizeof(ai));
103 ai.ai_flags = AI_PASSIVE | AI_ADDRCONFIG;
104 ai.ai_family = PF_UNSPEC;
105 ai.ai_socktype = socktype;
123 ai.ai_family = PF_INET6;
131 ai.ai_family = PF_INET;
146 ai.ai_family = PF_INET;
148 ai.ai_family = PF_INET6
229 struct addrinfo ai,*res,*e; local
    [all...]
  /frameworks/base/core/java/android/content/pm/
ComponentInfo.java 82 ApplicationInfo ai = applicationInfo; local
85 label = pm.getText(packageName, labelRes, ai);
90 if (ai.nonLocalizedLabel != null) {
91 return ai.nonLocalizedLabel;
93 if (ai.labelRes != 0) {
94 label = pm.getText(packageName, ai.labelRes, ai);
  /frameworks/base/core/tests/coretests/src/android/app/activity/
MetaDataTest.java 100 ActivityInfo ai = mContext.getPackageManager().getActivityInfo( local
103 checkMetaData(cn, ai);
105 ai = mContext.getPackageManager().getActivityInfo(cn, 0);
107 assertNull("Meta data returned when not requested", ai.metaData);
113 ActivityInfo ai = mContext.getPackageManager().getReceiverInfo( local
116 checkMetaData(cn, ai);
118 ai = mContext.getPackageManager().getReceiverInfo(cn, 0);
120 assertNull("Meta data returned when not requested", ai.metaData);

Completed in 1461 milliseconds

1 2 3 4