/external/tcpdump/ |
print-ripng.c | 50 rip6_entry_print(register const struct netinfo6 *ni, int metric) 53 l = printf("%s/%d", ip6addr_string(&ni->rip6_dest), ni->rip6_plen); 54 if (ni->rip6_tag) 55 l += printf(" [%d]", EXTRACT_16BITS(&ni->rip6_tag)); 57 l += printf(" (%d)", ni->rip6_metric); 65 register const struct netinfo6 *ni; local 82 j = length / sizeof(*ni); 89 if (j * sizeof(*ni) != length - 4) 93 trunc = ((i / sizeof(*ni)) * sizeof(*ni) != i) [all...] |
print-rip.c | 97 rip_entry_print_v1(register const struct rip_netinfo *ni) 102 family = EXTRACT_16BITS(&ni->rip_family); 105 print_unknown_data((u_int8_t *)&ni->rip_family,"\n\t ",RIP_ROUTELEN); 108 if (EXTRACT_16BITS(&ni->rip_tag) || 109 EXTRACT_32BITS(&ni->rip_dest_mask) || 110 EXTRACT_32BITS(&ni->rip_router)) { 112 print_unknown_data((u_int8_t *)&ni->rip_family,"\n\t ",RIP_ROUTELEN); 116 ipaddr_string(&ni->rip_dest), 117 EXTRACT_32BITS(&ni->rip_metric)); 121 rip_entry_print_v2(register const struct rip_netinfo *ni) 163 register const struct rip_netinfo *ni; local [all...] |
/external/javassist/src/main/javassist/bytecode/ |
EnclosingMethodAttribute.java | 49 int ni = cp.addNameAndTypeInfo(methodName, methodDesc); local 53 bvalue[2] = (byte)(ni >>> 8); 54 bvalue[3] = (byte)ni; 68 int ni = 0; local 72 bvalue[2] = (byte)(ni >>> 8); 73 bvalue[3] = (byte)ni; 104 int ni = cp.getNameAndTypeName(mi); local 105 return cp.getUtf8Info(ni);
|
/frameworks/base/graphics/java/android/graphics/ |
TableMaskFilter.java | 31 private TableMaskFilter(int ni) { 32 native_instance = ni;
|
Typeface.java | 103 int ni = 0; local 110 ni = family.native_instance; 114 SparseArray<Typeface> styles = sTypefaceCache.get(ni); 123 typeface = new Typeface(nativeCreateFromTypeface(ni, style)); 126 sTypefaceCache.put(ni, styles); 173 private Typeface(int ni) { 174 if (ni == 0) { 178 native_instance = ni; 179 mStyle = nativeGetStyle(ni);
|
RegionIterator.java | 29 mNativeIter = nativeConstructor(region.ni());
|
PathDashPathEffect.java | 44 native_instance = nativeCreate(shape.ni(), advance, phase,
|
PathMeasure.java | 53 native_instance = native_create(path != null ? path.ni() : 0, 63 path != null ? path.ni() : 0, 119 return native_getSegment(native_instance, startD, stopD, dst.ni(), startWithMoveTo);
|
Region.java | 113 return nativeSetPath(mNativeRegion, path.ni(), clip.mNativeRegion); 158 nativeGetBoundaryPath(mNativeRegion, path.ni()); 167 return nativeGetBoundaryPath(mNativeRegion, path.ni()); 345 int ni = nativeCreateFromParcel(p); 346 if (ni == 0) { 349 return new Region(ni); 388 Region(int ni) { 389 if (ni == 0) { 392 mNativeRegion = ni; 397 private Region(int ni, int dummy) 401 final int ni() { method in class:Region [all...] |
Picture.java | 66 int ni = nativeBeginRecording(mNativePicture, width, height); local 67 mRecordingCanvas = new RecordingCanvas(this, ni); 167 final int ni() { method in class:Picture
|
NinePatch.java | 69 mNativeChunk = validateNinePatchChunk(mBitmap.ni(), chunk); 167 nativeDraw(canvas.mNativeCanvas, location, mBitmap.ni(), mNativeChunk, 172 nativeDraw(canvas.mNativeCanvas, location, mBitmap.ni(), mNativeChunk, 220 int r = nativeGetTransparentRegion(mBitmap.ni(), mNativeChunk, bounds);
|
BitmapShader.java | 45 final int b = bitmap.ni();
|
/external/valgrind/main/none/tests/s390x/ |
and.c | 12 memimmsweep(ni, 0); 13 memimmsweep(ni, 255); 14 memimmsweep(ni, 128); 15 memimmsweep(ni, 0xaa); 16 memimmsweep(ni, 0x55);
|
/libcore/luni/src/main/java/java/math/ |
Primality.java | 92 BigInt ni = n.getBigInt(); local 94 if (ni.bitLength() <= 10) { 95 int l = (int)ni.longInt(); 102 BigInt startPoint = ni.copy(); 106 startPoint.addPositiveInt(BigInt.remainderByPositiveInt(ni, 2) + 1);
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyNetworkMonitor.java | 45 NetworkInfo ni = (NetworkInfo) intent.getParcelableExtra( local 48 + "type=" + ni.getType() + ", state=" + ni.getState()); 50 if (NetworkInfo.State.CONNECTED == ni.getState()) { 52 mLastNetworkType = ni.getType(); 53 } else if (NetworkInfo.State.DISCONNECTED == ni.getState()) {
|
/cts/tests/tests/net/src/android/net/cts/ |
NetworkInfoTest.java | 37 NetworkInfo[] ni = cm.getAllNetworkInfo(); local 38 assertTrue(ni.length >= 1); 40 for (NetworkInfo netInfo: ni) {
|
ConnectivityManagerTest.java | 106 NetworkInfo[] ni = mCm.getAllNetworkInfo(); local 108 for (NetworkInfo n: ni) { 146 NetworkInfo ni = mCm.getActiveNetworkInfo(); local 148 assertTrue("You must have an active network connection to complete CTS", ni != null); 149 assertTrue(ConnectivityManager.isNetworkTypeValid(ni.getType())); 150 assertTrue(ni.getState() == State.CONNECTED); 156 NetworkInfo ni = mCm.getNetworkInfo(type); local 157 assertTrue("Info shouldn't be null for " + type, ni != null); 158 State state = ni.getState(); 161 DetailedState ds = ni.getDetailedState() 172 NetworkInfo[] ni = mCm.getAllNetworkInfo(); local 197 NetworkInfo ni = mCm.getNetworkInfo(TYPE_MOBILE); local 242 NetworkInfo ni = mCm.getNetworkInfo(type); local [all...] |
/packages/services/Telephony/src/com/android/phone/ |
NetworkSetting.java | 216 public String getNormalizedCarrierName(OperatorInfo ni) { 217 if (ni != null) { 218 return ni.getOperatorAlphaLong() + " (" + ni.getOperatorNumeric() + ")"; 423 for (OperatorInfo ni : result) { 425 carrier.setTitle(getNetworkTitle(ni)); 428 mNetworkMap.put(carrier, ni); 430 if (DBG) log(" " + ni); 448 private String getNetworkTitle(OperatorInfo ni) { 449 if (!TextUtils.isEmpty(ni.getOperatorAlphaLong())) [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
FuncId.java | 123 DTMIterator ni = arg.iter(); local 125 int pos = ni.nextNode(); 129 DTM ndtm = ni.getDTM(pos); 132 pos = ni.nextNode(); 136 // ni.detach();
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
TreeParser.java | 195 int ni = nodes.length-1; local 197 while ( ni>=0 && t!=null ) { 198 if ( nodes[ni].equals("...") ) { 199 // walk upwards until we see nodes[ni-1] then continue walking 200 if ( ni==0 ) return true; // ... at start is no-op 201 String goal = nodes[ni-1]; 205 ni--; 208 if ( !name.equals(nodes[ni]) ) { 209 //System.err.println("not matched: "+nodes[ni]+" at "+t); 213 ni-- [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/netfilter_bridge/ |
ebt_802_3.h | 25 /* ui has one byte ctrl, ni has two */ 48 struct hdr_ni ni; member in union:ebt_802_3_hdr::__anon39471
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/netfilter_bridge/ |
ebt_802_3.h | 25 /* ui has one byte ctrl, ni has two */ 48 struct hdr_ni ni; member in union:ebt_802_3_hdr::__anon41062
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/netfilter_bridge/ |
ebt_802_3.h | 25 /* ui has one byte ctrl, ni has two */ 48 struct hdr_ni ni; member in union:ebt_802_3_hdr::__anon42576
|
/packages/apps/Browser/src/com/android/browser/ |
PreloadRequestReceiver.java | 75 NetworkInfo ni = mConnectivityManager.getActiveNetworkInfo(); local 76 if (ni == null) { 79 switch (ni.getType()) {
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
FuncKey.java | 91 DTMIterator ni = arg.iter(); local 96 while (DTM.NULL != (pos = ni.nextNode()))
|