/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
H A D | UCAConformanceTest.java | 7 * UCAConformanceTest performs conformance tests defined in the data 85 BufferedReader in; field in class:UCAConformanceTest 91 in = TestUtil.getDataReader(collationTest+type+"_SHORT"+ext); 94 in = TestUtil.getDataReader(collationTest+type+ext); 97 in = TestUtil.getDataReader(collationTest+type+"_STUB"+ext); 184 if(in == null || coll == null) { 195 logln("-prop:ucaconfnosortkeys=1 turns off getSortKey() in UCAConformanceTest"); 205 while ((line = in.readLine()) != null) { 278 in.close(); 281 in [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
H A D | CompatibilityTest.java | 98 ObjectInputStream in = new ObjectInputStream(inputStream); 99 Object inputObjects[] = (Object[]) in.readObject(); 102 in.close(); 144 // GeneralMeasureFormat was in technical preview, but is going away after ICU 52.1. 205 private static InputStream copyInputStream(InputStream in) throws IOException { argument 210 int r = in.read(buf); 218 in.close();
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/ |
H A D | TestData.java | 186 "cs7.dillons.co.uk.203.119.193.in-addr.arpa", 424 private static byte[] getBytes(String in){ argument 425 if(in==null){ 428 byte[] bytes = new byte[in.length()]; 429 for(int i=0; i < in.length();i++){ 430 bytes[i] = (byte)in.charAt(i); 434 ConformanceTestCase(String comt, String in, String out, argument 440 byte[] bytes = getBytes(in);
|
/external/iproute2/include/linux/ |
H A D | netfilter.h | 65 struct in_addr in; member in union:nf_inet_addr
|
/external/ipsec-tools/src/racoon/missing/crypto/rijndael/ |
H A D | rijndael-alg-fst.c | 14 * This code is placed in the public domain. 142 int rijndaelEncrypt(word8 in[16], word8 out[16], word8 rk[MAXROUNDS+1][4][4], int ROUNDS) { argument 156 memcpy(a, in, sizeof a); 238 * Only used in the Intermediate Value Known Answer Test. 307 int rijndaelDecrypt(word8 in[16], word8 out[16], word8 rk[MAXROUNDS+1][4][4], int ROUNDS) { argument 321 memcpy(a, in, sizeof a); 404 * Only used in the Intermediate Value Known Answer Test.
|
/external/iptables/include/linux/ |
H A D | netfilter.h | 65 struct in_addr in; member in union:nf_inet_addr
|
/external/jarjar/src/main/com/tonicsystems/jarjar/util/ |
H A D | ClassHeaderReader.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 30 private InputStream in; field in class:ClassHeaderReader 53 public void read(InputStream in) throws IOException { argument 55 this.in = in; 122 in.close(); 146 bsize += read(in, b, bsize, rounded - bsize); 152 private static int read(InputStream in, byte[] b, int off, int len) throws IOException { argument 155 int result = in [all...] |
/external/javassist/src/main/javassist/bytecode/ |
H A D | AttributeInfo.java | 6 * 1.1 (the "License"); you may not use this file except in compliance with 60 protected AttributeInfo(ConstPool cp, int n, DataInputStream in) argument 65 int len = in.readInt(); 68 in.readFully(info); 71 static AttributeInfo read(ConstPool cp, DataInputStream in) argument 74 int name = in.readUnsignedShort(); 78 return new AnnotationDefaultAttribute(cp, name, in); 80 return new CodeAttribute(cp, name, in); 82 return new ConstantAttribute(cp, name, in); 84 return new DeprecatedAttribute(cp, name, in); [all...] |
H A D | ExceptionTable.java | 6 * 1.1 (the "License"); you may not use this file except in compliance with 55 ExceptionTable(ConstPool cp, DataInputStream in) throws IOException { argument 57 int length = in.readUnsignedShort(); 60 int start = in.readUnsignedShort(); 61 int end = in.readUnsignedShort(); 62 int handle = in.readUnsignedShort(); 63 int type = in.readUnsignedShort(); 83 * of entries in the <code>exception_table[]</code>. 177 * in the table. 193 * Adds a new entry at the specified position in th [all...] |
H A D | FieldInfo.java | 6 * 1.1 (the "License"); you may not use this file except in compliance with 60 FieldInfo(ConstPool cp, DataInputStream in) throws IOException { argument 62 read(in); 245 private void read(DataInputStream in) throws IOException { argument 246 accessFlags = in.readUnsignedShort(); 247 name = in.readUnsignedShort(); 248 descriptor = in.readUnsignedShort(); 249 int n = in.readUnsignedShort(); 252 attribute.add(AttributeInfo.read(constPool, in));
|
H A D | InnerClassesAttribute.java | 6 * 1.1 (the "License"); you may not use this file except in compliance with 31 InnerClassesAttribute(ConstPool cp, int n, DataInputStream in) argument 34 super(cp, n, in);
|
H A D | LocalVariableAttribute.java | 6 * 1.1 (the "License"); you may not use this file except in compliance with 60 LocalVariableAttribute(ConstPool cp, int n, DataInputStream in) argument 63 super(cp, n, in); 149 * This represents the number of entries in the table. 168 * This represents the length of the code region in which the local 178 * Adjusts start_pc and length if bytecode is inserted in a method body. 267 * in <code>SignatureAttribute</code>.
|
/external/javassist/src/main/javassist/tools/reflect/ |
H A D | ClassMetaobject.java | 6 * 1.1 (the "License"); you may not use this file except in compliance with 89 private void readObject(ObjectInputStream in) argument 92 javaClass = getClassObject(in.readUTF()); 338 * <p>This method is useful, in conjuction with 340 * to the original method in the reflected class (i.e. not the proxy
|
/external/javassist/src/main/javassist/tools/rmi/ |
H A D | AppletServer.java | 6 * 1.1 (the "License"); you may not use this file except in compliance with 133 public void doReply(InputStream in, OutputStream out, String cmd) argument 137 processRMI(in, out); 139 lookupName(cmd, in, out); 141 super.doReply(in, out, cmd); 147 ObjectInputStream in = new ObjectInputStream(ins); 149 int objectId = in.readInt(); 150 int methodId = in.readInt(); 156 Object[] args = readParameters(in); 185 in 188 readParameters(ObjectInputStream in) argument [all...] |
H A D | ObjectImporter.java | 6 * 1.1 (the "License"); you may not use this file except in compliance with 50 * <p>The parameters to a remote method is passed in the <i>call-by-value</i> 165 InputStream in = new BufferedInputStream(sock.getInputStream()); 166 skipHeader(in); 167 ObjectInputStream din = new ObjectInputStream(in); 219 * object in Netscape's JVM. It returns a 273 private void skipHeader(InputStream in) throws IOException { argument 278 while ((c = in.read()) >= 0 && c != 0x0d) 281 in.read(); /* skip 0x0a (LF) */
|
/external/jetty/src/java/org/eclipse/jetty/io/ |
H A D | ByteArrayBuffer.java | 382 public int readFrom(InputStream in,int max) throws IOException argument 391 len=in.read(_bytes,p,available); 401 if (in.available()<=0)
|
/external/jetty/src/java/org/eclipse/jetty/io/nio/ |
H A D | DirectNIOBuffer.java | 238 public int readFrom(InputStream in, int max) throws IOException argument 240 if (_in==null || !_in.isOpen() || in!=_inStream) 242 _in=Channels.newChannel(in); 243 _inStream=in; 262 _inStream=in; 275 if (in.available()<=0) 286 _inStream=in; 294 _inStream=in;
|
/external/jetty/src/java/org/eclipse/jetty/util/ |
H A D | UrlEncoded.java | 382 * @param in InputSteam to read 386 public static void decode88591To(InputStream in, MultiMap map, int maxLength, int maxKeys) argument 399 while ((b=in.read())>=0) 435 int code0=in.read(); 438 int code1=in.read(); 441 int code2=in.read(); 444 int code3=in.read(); 452 int code1=in.read(); 481 * @param in InputSteam to read 485 public static void decodeUtf8To(InputStream in, MultiMa argument 587 decodeUtf16To(InputStream in, MultiMap map, int maxLength, int maxKeys) argument 600 decodeTo(InputStream in, MultiMap map, String charset, int maxLength, int maxKeys) argument [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/audio/ |
H A D | AudioStream.java | 5 * Redistribution and use in source and binary forms, with or without 12 * * Redistributions in binary form must reproduce the above copyright 13 * notice, this list of conditions and the following disclaimer in the 53 protected InputStream in; field in class:AudioStream 66 // This is what gets destroyed in reality 70 public void updateData(InputStream in, float duration){ argument 71 if (id != -1 || this.in != null) 74 this.in = in; 85 * @param offset The offset in th [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
H A D | Transform.java | 5 * Redistribution and use in source and binary forms, with or without 12 * * Redistributions in binary form must reproduce the above copyright 13 * notice, this list of conditions and the following disclaimer in the 40 * Represents a translation, rotation and scale in one object. 98 * Return the translation vector in this matrix. 126 * Return the scale vector in this matrix. 158 * Return the rotation quaternion in this matrix. 238 public Vector3f transformVector(final Vector3f in, Vector3f store){ argument 244 return rot.mult(store.set(in).multLocal(scale), store).addLocal(translation); 247 public Vector3f transformInverseVector(final Vector3f in, Vector3 argument [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
H A D | LittleEndien.java | 5 * Redistribution and use in source and binary forms, with or without 12 * * Redistributions in binary form must reproduce the above copyright 13 * notice, this list of conditions and the following disclaimer in the 38 * via a InputStream. All functions work as defined in DataInput, but 44 private BufferedInputStream in; field in class:LittleEndien 49 * stream is wrapped in a BufferedReader automatically. 50 * @param in The input stream to read from. 52 public LittleEndien(InputStream in) { argument 53 this.in = new BufferedInputStream(in); [all...] |
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/ |
H A D | HDRLoader.java | 5 * Redistribution and use in source and binary forms, with or without 12 * * Redistributions in binary form must reproduce the above copyright 13 * notice, this list of conditions and the following disclaimer in the 116 private short flip(int in){ argument 117 return (short) ((in << 8 & 0xFF00) | (in >> 8)); 142 private boolean decodeScanlineRLE(InputStream in, int width) throws IOException{ argument 156 int code = in.read(); 159 int val = in.read(); 166 int val = in 187 decodeScanlineUncompressed(InputStream in, int width) argument 199 decodeScanline(InputStream in, int width) argument 222 load(InputStream in, boolean flipY) argument [all...] |
/external/jmonkeyengine/engine/src/jogg/com/jme3/audio/plugins/ |
H A D | OGGLoader.java | 5 * Redistribution and use in source and binary forms, with or without
12 * * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
158 * @param dataBytesTotal The number of bytes in the input
160 * of bytes in the input, it is returned, otherwise the number
161 * of bytes in the input is returned.
197 // Don't know how many bytes are in input, pass MAX_VALUE
249 private AudioData load(InputStream in, boolean readStream, boolean streamCache) throws IOException{
argument 251 oggStream = new CachedOggStream(in);
253 oggStream = new UncachedOggStream(in);
[all...] |
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/ |
H A D | MaterialLoader.java | 5 * Redistribution and use in source and binary forms, with or without 12 * * Redistributions in binary form must reproduce the above copyright 13 * notice, this list of conditions and the following disclaimer in the 425 private MaterialList load(AssetManager assetManager, AssetKey key, InputStream in) throws IOException{ argument 430 List<Statement> statements = BlockLanguageParser.parse(in); 462 InputStream in = null; 464 in = info.openStream(); 465 return load(info.getManager(), info.getKey(), in); 467 if (in != null){ 468 in [all...] |
H A D | SkeletonLoader.java | 5 * Redistribution and use in source and binary forms, with or without 12 * * Redistributions in binary form must reproduce the above copyright 13 * notice, this list of conditions and the following disclaimer in the 226 * Reset the SkeletonLoader in case an error occured while parsing XML. 253 public Object load(InputStream in) throws IOException { argument 267 InputStreamReader r = new InputStreamReader(in); 292 InputStream in = null; 294 in = info.openStream(); 295 return load(in); 297 if (in ! [all...] |