/external/toybox/toys/pending/ |
host.c | 75 struct addrinfo *ai, iplit_hints = { .ai_flags = AI_NUMERICHOST }; local 81 if (!getaddrinfo(name, 0, &iplit_hints, &ai)) { 85 if (ai->ai_family == AF_INET) { 86 a = (void *)&((struct sockaddr_in *)ai->ai_addr)->sin_addr; 89 } else if (ai->ai_family == AF_INET6) { 90 a = (void *)&((struct sockaddr_in6 *)ai->ai_addr)->sin6_addr; 122 if ((ret = getaddrinfo(nsname, "53", &ns_hints, &ai)) < 0) 124 int s = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol) [all...] |
/external/valgrind/drd/ |
drd_error.c | 108 * Describe the client address a as good as possible, putting the result in ai. 111 void describe_malloced_addr(Addr const a, AddrInfo* const ai) 115 if (DRD_(heap_addrinfo)(a, &heap_block_start, &ai->size, &ai->lastchange)) 117 ai->akind = eMallocd; 118 ai->rwoffset = a - heap_block_start; 122 ai->akind = eUnknown; 163 AddrInfo ai; local 199 describe_malloced_addr(dri->addr, &ai); 211 } else if (ai.akind == eMallocd && ai.lastchange) [all...] |
/external/valgrind/perf/ |
ffbench.c | 280 double r, ij, ar, ai; local 284 ai = 0; 290 ai += ij; 300 ar / fanum, ai / fanum);
|
/frameworks/base/core/java/android/service/notification/ |
StatusBarNotification.java | 342 ApplicationInfo ai = context.getPackageManager() local 344 mContext = context.createApplicationContext(ai,
|
/frameworks/base/core/java/android/view/inputmethod/ |
InputMethodInfo.java | 300 ApplicationInfo ai = new ApplicationInfo(); local 301 ai.packageName = packageName; 302 ai.enabled = true; 303 si.applicationInfo = ai;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
PreferredComponent.java | 208 ActivityInfo ai = ri.activityInfo; local 211 if (mSetPackages[j].equals(ai.packageName) 212 && mSetClasses[j].equals(ai.name)) {
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
CarrierAppUtils.java | 138 for (ApplicationInfo ai : candidates) { 139 String packageName = ai.packageName; 147 if (!ai.isUpdatedSystemApp() 148 && (ai.enabledSetting == 150 || ai.enabledSetting == 183 enabledCarrierPackages.add(ai.packageName); 187 if (!ai.isUpdatedSystemApp() 188 && ai.enabledSetting == 263 ApplicationInfo ai = candidates.get(i); local 264 String packageName = ai.packageName 306 ApplicationInfo ai = local 326 ApplicationInfo ai = local 350 ApplicationInfo ai = packageManager.getApplicationInfo(packageName, local [all...] |
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
DpiTestActivity.java | 56 ApplicationInfo ai = app.getPackageManager().getApplicationInfo( local 59 ai.flags |= ApplicationInfo.FLAG_SUPPORTS_XLARGE_SCREENS 65 app.getResources().setCompatibilityInfo(new CompatibilityInfo(ai,
|
/libcore/ojluni/src/main/java/java/util/ |
DualPivotQuicksort.java | 226 int ai = a[i + 1]; local 227 while (ai < a[j]) { 233 a[j + 1] = ai; 674 long ai = a[i + 1]; local 675 while (ai < a[j]) { 681 a[j + 1] = ai; 1158 short ai = a[i + 1]; local 1642 char ai = a[i + 1]; local 2222 float ai = a[i + 1]; local 2761 double ai = a[i + 1]; local [all...] |
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
AvailableVirtualKeyboardFragment.java | 110 final ApplicationInfo ai = si.applicationInfo; local 112 if (si == null || ai == null || packageName == null) { 117 Drawable drawable = loadDrawable(packageManager, packageName, si.logo, ai); 121 drawable = loadDrawable(packageManager, packageName, si.icon, ai); 127 drawable = loadDrawable(packageManager, packageName, ai.logo, ai); 131 drawable = loadDrawable(packageManager, packageName, ai.icon, ai);
|
/system/netd/server/ |
DnsProxyListener.cpp | 152 static bool sendaddrinfo(SocketClient* c, struct addrinfo* ai) { 167 sendBE32(c, ai->ai_flags) && 168 sendBE32(c, ai->ai_family) && 169 sendBE32(c, ai->ai_socktype) && 170 sendBE32(c, ai->ai_protocol); 176 if (!sendLenAndData(c, ai->ai_addrlen, ai->ai_addr)) { 181 if (!sendLenAndData(c, ai->ai_canonname ? strlen(ai->ai_canonname) + 1 : 0, ai->ai_canonname)) 206 struct addrinfo* ai = result; local [all...] |
/development/apps/Development/src/com/android/development/ |
PackageSummary.java | 172 ActivityInfo ai = info.activities[i]; local 174 if (ai != null) { 178 new ComponentName(ai.applicationInfo.packageName, 179 ai.name))); 180 setItemText(view, info, ai.name); 191 ActivityInfo ai = info.receivers[i]; local 194 Log.i("foo", "Receiver #" + i + " of " + N + ": " + ai); 195 setItemText(view, info, ai.name);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
Utility.java | 470 int ai = 0, i = 1; local 473 while (ai < length && i < maxI) { 479 array[ai++] = c; 484 array[ai++] = runValue; 489 array[ai++] = c; 493 if (ai != length || i != maxI) { 509 int ai = 0; local 515 array[ai++] = (short) c; 519 for (int j=0; j<runLength; ++j) array[ai++] = runValue; 523 array[ai++] = (short) c 539 int ai = 0; local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
Utility.java | 466 int ai = 0, i = 1; local 469 while (ai < length && i < maxI) { 475 array[ai++] = c; 480 array[ai++] = runValue; 485 array[ai++] = c; 489 if (ai != length || i != maxI) { 505 int ai = 0; local 511 array[ai++] = (short) c; 515 for (int j=0; j<runLength; ++j) array[ai++] = runValue; 519 array[ai++] = (short) c 535 int ai = 0; local [all...] |
/external/iputils/ |
tracepath6.c | 382 struct addrinfo hints, *ai, *ai0; local 450 for (ai = ai0; ai; ai = ai->ai_next) { 452 if (family && ai->ai_family != family) 454 if (ai->ai_family != AF_INET6 && 455 ai->ai_family != AF_INET) 457 family = ai->ai_family; 458 fd = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol) [all...] |
/external/libvpx/libvpx/vp9/common/ |
vp9_postproc.c | 546 int ai = a, qi = q, i; local 550 sigma = ai + .5 + .6 * (63 - qi) / 63.0;
|
/external/lzma/CPP/7zip/UI/Common/ |
LoadCodecs.h | 191 HRESULT CreateArchiveHandler(const CArcInfoEx &ai, void **archive, bool outHandler) const
193 return Libs[ai.LibIndex].CreateObject(&ai.ClassID, outHandler ? &IID_IOutArchive : &IID_IInArchive, (void **)archive);
253 const CArcInfoEx &ai = Formats[formatIndex];
local 255 if (ai.LibIndex < 0)
259 archive = ai.CreateInArchive();
264 return CreateArchiveHandler(ai, (void **)&archive, false);
272 const CArcInfoEx &ai = Formats[formatIndex];
local 274 if (ai.LibIndex < 0)
278 archive = ai.CreateOutArchive(); [all...] |
/external/mesa3d/src/gallium/drivers/nv30/ |
nvfx_fragprog.c | 448 int ai = -1, ci = -1, ii = -1; local 484 } else if (ai == -1 || ai == fsrc->Register.Index) { 485 ai = fsrc->Register.Index; [all...] |
nvfx_vertprog.c | 470 int ai = -1, ci = -1, ii = -1; local 490 if (ai == -1 || ai == fsrc->Register.Index) { 491 ai = fsrc->Register.Index; [all...] |
/external/mesa3d/src/mesa/main/ |
imports.h | 356 int ai, bi; local 361 __asm__ ("fstps %0" : "=m" (ai) : "t" (af) : "st"); 363 return (ai - bi) >> 1; 369 int ai, bi; local 375 u.f = (float) af; ai = u.i; 377 return (ai - bi) >> 1; 403 int ai, bi; local 408 __asm__ ("fstps %0" : "=m" (ai) : "t" (af) : "st"); 410 return (ai - bi + 1) >> 1; 416 int ai, bi local [all...] |
/frameworks/base/core/java/android/content/pm/ |
ResolveInfo.java | 200 ApplicationInfo ai = ci.applicationInfo; local 202 label = pm.getText(ci.packageName, labelRes, ai); 232 ApplicationInfo ai = ci.applicationInfo; local 233 dr = pm.getDrawable(ci.packageName, iconResourceId, ai);
|
/frameworks/base/core/tests/coretests/src/com/android/internal/inputmethod/ |
InputMethodSubtypeSwitchingControllerTest.java | 58 final ApplicationInfo ai = new ApplicationInfo(); local 59 ai.packageName = DUMMY_PACKAGE_NAME; 60 ai.enabled = true; 61 si.applicationInfo = ai;
|
/frameworks/base/services/core/java/com/android/server/search/ |
Searchables.java | 130 ActivityInfo ai = null; local 132 ai = mPm.getActivityInfo(activity, PackageManager.GET_META_DATA, mUserId); 140 Bundle md = ai.metaData; 146 md = ai.applicationInfo.metaData; 236 ActivityInfo ai = info.activityInfo; local 238 if (newSearchablesMap.get(new ComponentName(ai.packageName, ai.name)) == null) { 239 SearchableInfo searchable = SearchableInfo.getActivityMetaData(mContext, ai, 371 ActivityInfo ai = providerList.get(0).activityInfo; local 372 return new ComponentName(ai.packageName, ai.name) 399 ActivityInfo ai = activities.get(0).activityInfo; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
vp9_postproc.c | 383 int ai = a, qi = q, i; local 387 sigma = ai + .5 + .6 * (63 - qi) / 63.0;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/ |
AttributesImplTest.java | 50 AttributesImpl ai = new AttributesImpl(empty); local 51 assertEquals(0, ai.getLength()); 54 ai = new AttributesImpl(multi); 55 assertEquals(5, ai.getLength()); 59 ai = new AttributesImpl(null); 60 assertEquals(0, ai.getLength()); 68 AttributesImpl ai = new AttributesImpl(empty); local 69 assertEquals(0, ai.getLength()); 71 ai = new AttributesImpl(multi); 72 assertEquals(5, ai.getLength()) [all...] |