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

1 2 3 4 5

  /dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/
AtomicBooleanTest.java 27 AtomicBoolean ai = new AtomicBoolean(true); local
28 assertEquals(true,ai.get());
35 AtomicBoolean ai = new AtomicBoolean(); local
36 assertEquals(false,ai.get());
43 AtomicBoolean ai = new AtomicBoolean(true); local
44 assertEquals(true,ai.get());
45 ai.set(false);
46 assertEquals(false,ai.get());
47 ai.set(true);
48 assertEquals(true,ai.get())
56 AtomicBoolean ai = new AtomicBoolean(true); local
72 final AtomicBoolean ai = new AtomicBoolean(true); local
93 AtomicBoolean ai = new AtomicBoolean(true); local
106 AtomicBoolean ai = new AtomicBoolean(true); local
140 AtomicBoolean ai = new AtomicBoolean(); local
    [all...]
AtomicIntegerTest.java 27 AtomicInteger ai = new AtomicInteger(1); local
28 assertEquals(1,ai.get());
35 AtomicInteger ai = new AtomicInteger(); local
36 assertEquals(0,ai.get());
43 AtomicInteger ai = new AtomicInteger(1); local
44 assertEquals(1,ai.get());
45 ai.set(2);
46 assertEquals(2,ai.get());
47 ai.set(-3);
48 assertEquals(-3,ai.get())
56 AtomicInteger ai = new AtomicInteger(1); local
71 final AtomicInteger ai = new AtomicInteger(1); local
93 AtomicInteger ai = new AtomicInteger(1); local
105 AtomicInteger ai = new AtomicInteger(1); local
115 AtomicInteger ai = new AtomicInteger(1); local
126 AtomicInteger ai = new AtomicInteger(1); local
136 AtomicInteger ai = new AtomicInteger(1); local
150 AtomicInteger ai = new AtomicInteger(1); local
161 AtomicInteger ai = new AtomicInteger(1); local
172 AtomicInteger ai = new AtomicInteger(1); local
208 AtomicInteger ai = new AtomicInteger(); local
219 AtomicInteger ai = new AtomicInteger(); local
231 AtomicInteger ai = new AtomicInteger(); local
242 AtomicInteger ai = new AtomicInteger(); local
253 AtomicInteger ai = new AtomicInteger(); local
    [all...]
AtomicLongTest.java 27 AtomicLong ai = new AtomicLong(1); local
28 assertEquals(1,ai.get());
35 AtomicLong ai = new AtomicLong(); local
36 assertEquals(0,ai.get());
43 AtomicLong ai = new AtomicLong(1); local
44 assertEquals(1,ai.get());
45 ai.set(2);
46 assertEquals(2,ai.get());
47 ai.set(-3);
48 assertEquals(-3,ai.get())
56 AtomicLong ai = new AtomicLong(1); local
71 final AtomicLong ai = new AtomicLong(1); local
93 AtomicLong ai = new AtomicLong(1); local
105 AtomicLong ai = new AtomicLong(1); local
115 AtomicLong ai = new AtomicLong(1); local
126 AtomicLong ai = new AtomicLong(1); local
136 AtomicLong ai = new AtomicLong(1); local
150 AtomicLong ai = new AtomicLong(1); local
161 AtomicLong ai = new AtomicLong(1); local
172 AtomicLong ai = new AtomicLong(1); local
208 AtomicLong ai = new AtomicLong(); local
219 AtomicLong ai = new AtomicLong(); local
230 AtomicLong ai = new AtomicLong(); local
241 AtomicLong ai = new AtomicLong(); local
    [all...]
AtomicMarkableReferenceTest.java 26 AtomicMarkableReference ai = new AtomicMarkableReference(one, false); local
27 assertEquals(one,ai.getReference());
28 assertFalse(ai.isMarked());
40 AtomicMarkableReference ai = new AtomicMarkableReference(one, false); local
41 assertEquals(one,ai.getReference());
42 assertFalse(ai.isMarked());
43 assertEquals(one, ai.get(mark));
45 ai.set(two, false);
46 assertEquals(two,ai.getReference());
47 assertFalse(ai.isMarked())
62 AtomicMarkableReference ai = new AtomicMarkableReference(one, false); local
76 AtomicMarkableReference ai = new AtomicMarkableReference(one, false); local
99 final AtomicMarkableReference ai = new AtomicMarkableReference(one, false); local
122 final AtomicMarkableReference ai = new AtomicMarkableReference(one, false); local
146 AtomicMarkableReference ai = new AtomicMarkableReference(one, false); local
    [all...]
AtomicStampedReferenceTest.java 26 AtomicStampedReference ai = new AtomicStampedReference(one, 0); local
27 assertEquals(one,ai.getReference());
28 assertEquals(0, ai.getStamp());
40 AtomicStampedReference ai = new AtomicStampedReference(one, 0); local
41 assertEquals(one,ai.getReference());
42 assertEquals(0, ai.getStamp());
43 assertEquals(one, ai.get(mark));
45 ai.set(two, 0);
46 assertEquals(two,ai.getReference());
47 assertEquals(0, ai.getStamp())
62 AtomicStampedReference ai = new AtomicStampedReference(one, 0); local
76 AtomicStampedReference ai = new AtomicStampedReference(one, 0); local
99 final AtomicStampedReference ai = new AtomicStampedReference(one, 0); local
122 final AtomicStampedReference ai = new AtomicStampedReference(one, 0); local
146 AtomicStampedReference ai = new AtomicStampedReference(one, 0); local
    [all...]
AtomicIntegerArrayTest.java 30 AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); local
32 assertEquals(0,ai.get(i));
41 AtomicIntegerArray ai = new AtomicIntegerArray(a); local
53 AtomicIntegerArray ai = new AtomicIntegerArray(a); local
54 assertEquals(a.length, ai.length());
56 assertEquals(a[i], ai.get(i));
63 AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); local
65 ai.get(SIZE);
69 ai.get(-1);
73 ai.set(SIZE, 0)
86 AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); local
101 AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); local
142 AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); local
157 AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); local
170 AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); local
184 AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); local
197 AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); local
214 AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); local
228 AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); local
242 AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); local
258 final AtomicIntegerArray ai; field in class:AtomicIntegerArrayTest.Counter
285 final AtomicIntegerArray ai = new AtomicIntegerArray(SIZE); local
336 AtomicIntegerArray ai = new AtomicIntegerArray(a); local
    [all...]
AtomicLongArrayTest.java 28 AtomicLongArray ai = new AtomicLongArray(SIZE); local
30 assertEquals(0,ai.get(i));
39 AtomicLongArray ai = new AtomicLongArray(a); local
51 AtomicLongArray ai = new AtomicLongArray(a); local
52 assertEquals(a.length, ai.length());
54 assertEquals(a[i], ai.get(i));
61 AtomicLongArray ai = new AtomicLongArray(SIZE); local
63 ai.get(SIZE);
67 ai.get(-1);
71 ai.set(SIZE, 0)
84 AtomicLongArray ai = new AtomicLongArray(SIZE); local
99 AtomicLongArray ai = new AtomicLongArray(SIZE); local
140 AtomicLongArray ai = new AtomicLongArray(SIZE); local
155 AtomicLongArray ai = new AtomicLongArray(SIZE); local
168 AtomicLongArray ai = new AtomicLongArray(SIZE); local
182 AtomicLongArray ai = new AtomicLongArray(SIZE); local
195 AtomicLongArray ai = new AtomicLongArray(SIZE); local
212 AtomicLongArray ai = new AtomicLongArray(SIZE); local
226 AtomicLongArray ai = new AtomicLongArray(SIZE); local
240 AtomicLongArray ai = new AtomicLongArray(SIZE); local
256 final AtomicLongArray ai; field in class:AtomicLongArrayTest.Counter
283 final AtomicLongArray ai = new AtomicLongArray(SIZE); local
331 AtomicLongArray ai = new AtomicLongArray(a); local
    [all...]
AtomicReferenceTest.java 27 AtomicReference ai = new AtomicReference(one); local
28 assertEquals(one,ai.get());
35 AtomicReference ai = new AtomicReference(); local
36 assertNull(ai.get());
43 AtomicReference ai = new AtomicReference(one); local
44 assertEquals(one,ai.get());
45 ai.set(two);
46 assertEquals(two,ai.get());
47 ai.set(m3);
48 assertEquals(m3,ai.get())
55 AtomicReference ai = new AtomicReference(one); local
70 final AtomicReference ai = new AtomicReference(one); local
92 AtomicReference ai = new AtomicReference(one); local
104 AtomicReference ai = new AtomicReference(one); local
136 AtomicReference<Integer> ai = new AtomicReference<Integer>(one); local
    [all...]
AtomicReferenceArrayTest.java 29 AtomicReferenceArray<Integer> ai = new AtomicReferenceArray<Integer>(SIZE); local
31 assertNull(ai.get(i));
41 AtomicReferenceArray<Integer> ai = new AtomicReferenceArray<Integer>(a); local
53 AtomicReferenceArray<Integer> ai = new AtomicReferenceArray<Integer>(a); local
54 assertEquals(a.length, ai.length());
56 assertEquals(a[i], ai.get(i));
64 AtomicReferenceArray<Integer> ai = new AtomicReferenceArray<Integer>(SIZE); local
66 ai.get(SIZE);
70 ai.get(-1);
74 ai.set(SIZE, null)
87 AtomicReferenceArray ai = new AtomicReferenceArray(SIZE); local
102 AtomicReferenceArray ai = new AtomicReferenceArray(SIZE); local
143 AtomicReferenceArray ai = new AtomicReferenceArray(SIZE); local
158 AtomicReferenceArray ai = new AtomicReferenceArray(SIZE); local
200 AtomicReferenceArray<Integer> ai = new AtomicReferenceArray<Integer>(a); local
    [all...]
  /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...]
  /external/openssl/crypto/bn/asm/
co-586.pl 17 local($a,$ai,$b,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
22 &comment("mul a[$ai]*b[$bi]");
25 # &mov("eax",&DWP($ai*4,$a,"",0)) ;
45 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
50 &comment("sqr a[$ai]*a[$bi]");
53 # &mov("eax",&DWP($ai*4,$a,"",0)) ;
56 if ($ai == $bi)
74 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
79 &comment("sqr a[$ai]*a[$bi]");
82 # &mov("eax",&DWP($ai*4,$a,"",0))
    [all...]
  /external/openssl/crypto/bn/asm/x86/
comba.pl 6 local($a,$ai,$b,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
11 &comment("mul a[$ai]*b[$bi]");
14 # &mov("eax",&DWP($ai*4,$a,"",0)) ;
34 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
39 &comment("sqr a[$ai]*a[$bi]");
42 # &mov("eax",&DWP($ai*4,$a,"",0)) ;
45 if ($ai == $bi)
63 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
68 &comment("sqr a[$ai]*a[$bi]");
71 # &mov("eax",&DWP($ai*4,$a,"",0))
    [all...]
  /sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/
UpdateChooserDialog.java 129 for (ArchiveInfo ai : mArchives) {
130 if (ai.isAccepted()) {
131 ais.add(ai);
288 for (ArchiveInfo ai : mArchives) {
289 Archive a = ai.getNewArchive();
292 ai.setAccepted(license == null || license.trim().length() == 0);
375 ArchiveInfo ai = getSelectedArchive(); local
376 displayInformation(ai);
377 displayMissingDependency(ai);
378 updateLicenceRadios(ai);
615 ArchiveInfo ai = getSelectedArchive(); local
665 ArchiveInfo ai = getSelectedArchive(); local
686 ArchiveInfo ai = (ArchiveInfo) element; local
703 ArchiveInfo ai = (ArchiveInfo) element; local
    [all...]
UpdaterLogic.java 241 for (ArchiveInfo ai : localArchives) {
242 Archive na = ai.getNewArchive();
277 for (ArchiveInfo ai : localArchives) {
278 Archive a = ai.getNewArchive();
297 ArchiveInfo ai = null; local
302 ai = ai2;
307 if (ai == null) {
308 ai = new ArchiveInfo(
313 outArchives.add(ai);
318 d.addDependencyFor(ai);
347 ArchiveInfo ai = findPlatformDependency( local
362 ArchiveInfo ai = findToolsDependency( local
377 ArchiveInfo ai = findMinApiLevelDependency( local
    [all...]
  /external/openssl/crypto/asn1/
a_enum.c 138 ASN1_ENUMERATED *BN_to_ASN1_ENUMERATED(BIGNUM *bn, ASN1_ENUMERATED *ai)
143 if (ai == NULL)
146 ret=ai;
170 if (ret != ai) M_ASN1_ENUMERATED_free(ret);
174 BIGNUM *ASN1_ENUMERATED_to_BN(ASN1_ENUMERATED *ai, BIGNUM *bn)
178 if ((ret=BN_bin2bn(ai->data,ai->length,bn)) == NULL)
180 else if(ai->type == V_ASN1_NEG_ENUMERATED) BN_set_negative(ret,1);
  /frameworks/base/core/java/android/server/search/
Searchables.java 109 ActivityInfo ai = null; local
111 ai = mContext.getPackageManager().
116 Bundle md = ai.metaData;
122 md = ai.applicationInfo.metaData;
212 ActivityInfo ai = info.activityInfo; local
214 if (newSearchablesMap.get(new ComponentName(ai.packageName, ai.name)) == null) {
215 SearchableInfo searchable = SearchableInfo.getActivityMetaData(mContext, ai);
257 ActivityInfo ai = activities.get(i).activityInfo; local
259 ai.packageName) == PackageManager.PERMISSION_GRANTED)
286 ActivityInfo ai = activities.get(i).activityInfo; 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);
  /hardware/broadcom/wlan/bcm4329/src/shared/
aiutils.c 417 aidmp_t *ai; local
420 ai = sii->curwrap;
422 return (R_REG(sii->osh, &ai->oobselouta30) & 0x1f);
434 aidmp_t *ai = sii->curwrap; local
435 W_REG(sii->osh, (uint32 *)((uint8 *)ai+offset), val);
465 aidmp_t *ai; local
468 ai = sii->curwrap;
470 return (((R_REG(sii->osh, &ai->ioctrl) & (SICF_FGC | SICF_CLOCK_EN)) == SICF_CLOCK_EN) &&
471 ((R_REG(sii->osh, &ai->resetctrl) & AIRC_RESET) == 0));
572 aidmp_t *ai; local
600 aidmp_t *ai; local
630 aidmp_t *ai; local
649 aidmp_t *ai; local
670 aidmp_t *ai; local
    [all...]
  /dalvik/libcore/xml/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/ssl/
ssl_asn1.c 302 ASN1_INTEGER ai,*aip; local
306 aip= &ai;
312 ai.data=NULL; ai.length=0;
315 if (ai.data != NULL) { OPENSSL_free(ai.data); ai.data=NULL; ai.length=0; }
321 if (ai.data != NULL) { OPENSSL_free(ai.data); ai.data=NULL; ai.length=0;
    [all...]
  /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...]
  /external/tcpdump/missing/
getaddrinfo.c 213 #define GET_AI(ai, afd, addr) \
216 (ai) = get_ai(pai, (afd), (addr)); \
217 if ((ai) == NULL) { \
223 #define GET_PORT(ai, serv) \
226 error = get_port((ai), (serv), 0); \
231 #define GET_CANONNAME(ai, str) \
234 error = get_canonname(pai, (ai), (str)); \
261 freeaddrinfo(ai)
262 struct addrinfo *ai;
267 next = ai->ai_next
297 struct addrinfo ai; local
995 struct addrinfo *ai; local
    [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...]
  /bionic/libc/netbsd/net/
getaddrinfo.c 253 #define GET_AI(ai, afd, addr) \
256 (ai) = get_ai(pai, (afd), (addr)); \
257 if ((ai) == NULL) { \
263 #define GET_PORT(ai, serv) \
266 error = get_port((ai), (serv), 0); \
271 #define GET_CANONNAME(ai, str) \
274 error = get_canonname(pai, (ai), (str)); \
302 freeaddrinfo(struct addrinfo *ai)
306 assert(ai != NULL);
309 next = ai->ai_next
374 struct addrinfo ai; local
874 struct addrinfo *ai; local
1075 struct addrinfo ai; local
1262 struct addrinfo *ai; member in struct:addrinfo_sort_elem
1627 struct addrinfo *ai; local
    [all...]
  /dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/crypto/
DSAPrivateKeyImpl.java 79 AlgorithmIdentifier ai = new AlgorithmIdentifier(AlgNameMapper local
84 pki = new PrivateKeyInfo(0, ai, ASN1Integer.getInstance().encode(
104 AlgorithmIdentifier ai; local
129 ai = privateKeyInfo.getAlgorithmIdentifier();
132 .decode(ai.getParameters());
146 alg = ai.getAlgorithm();

Completed in 853 milliseconds

1 2 3 4 5