/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
ExplicitTest.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 176 DerInputStream in = new DerInputStream((byte[]) taggedType[i][1]); local 178 ((ASN1Type) taggedType[i][2]).decode(in));
|
GeneralizedTimeTest.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 107 DerInputStream in = new DerInputStream( local 111 gtime.decode(in)); //decoded 116 DerInputStream in = new DerInputStream(new ByteArrayInputStream( local 120 gtime.decode(in)); //decoded
|
ImplicitTest.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 167 DerInputStream in = new DerInputStream((byte[]) taggedType[i][1]); local 169 ((ASN1Type) taggedType[i][2]).decode(in));
|
IntegerTest.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 93 DerInputStream in = new DerInputStream((byte[]) validTestcase[i][2]); local 96 (byte[]) asn1.decode(in))); // returned 101 DerInputStream in = new DerInputStream(new ByteArrayInputStream( local 105 (byte[]) asn1.decode(in))); //returned 126 // wrong content: is not encoded in minimum number of octets 128 // wrong content: is not encoded in minimum number of octets 133 DerInputStream in = new DerInputStream(invalid[i]); local 134 ASN1Integer.getInstance().decode(in); [all...] |
UTCTimeTest.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 99 DerInputStream in = new DerInputStream((byte[]) validUTCTimes[i][1]); local 102 utime.decode(in)); //decoded 107 DerInputStream in = new DerInputStream(new ByteArrayInputStream( local 111 utime.decode(in)); //decoded
|
/external/apache-http/src/org/apache/http/impl/conn/ |
LoggingSessionInputBuffer.java | 12 * (the "License"); you may not use this file except in compliance with 17 * Unless required by applicable law or agreed to in writing, software 56 private final SessionInputBuffer in; field in class:LoggingSessionInputBuffer 63 * @param in The session input buffer. 66 public LoggingSessionInputBuffer(final SessionInputBuffer in, final Wire wire) { 68 this.in = in; 73 return this.in.isDataAvailable(timeout); 77 int l = this.in.read(b, off, len); 85 int l = this.in.read() [all...] |
/external/apache-http/src/org/apache/http/impl/io/ |
ContentLengthInputStream.java | 12 * "License"); you may not use this file except in compliance 17 * Unless required by applicable law or agreed to in writing, 94 private SessionInputBuffer in = null; field in class:ContentLengthInputStream 99 * @param in The session input buffer to wrap 103 public ContentLengthInputStream(final SessionInputBuffer in, long contentLength) { 105 if (in == null) { 111 this.in = in; 152 return this.in.read(); 179 int count = this.in.read(b, off, len) [all...] |
/external/boringssl/src/crypto/cipher/ |
aead_test.cc | 5 * copyright notice and this permission notice appear in all copies. 9 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 11 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 12 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 33 // IN: 6a4583908d 41 std::vector<uint8_t> key, nonce, in, ad, ct, tag; local 44 !t->GetBytes(&in, "IN") || 58 std::vector<uint8_t> out(in.size() + EVP_AEAD_max_overhead(aead)); 62 nonce.data(), nonce.size(), in.data(), in.size() [all...] |
/external/curl/lib/ |
if2ip.c | 10 * This software is licensed as described in the file COPYING, which 26 # include <netinet/in.h> 56 /* The last 3 #include files should be in this order */ 146 /* We are interested only in interface addresses whose 211 struct in_addr in; local 243 memcpy(&in, &s->sin_addr, sizeof(in)); 244 Curl_inet_ntop(s->sin_family, &in, buf, buf_size);
|
/external/elfutils/libebl/ |
eblobjnote.c | 19 or both in parallel, as here. 21 elfutils is distributed in the hope that it will be useful, but 159 Elf_Data in = local 187 if (elf32_xlatetom (&out, &in, ebl->data) != NULL)
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
ReserializingTestCollectionGenerator.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 58 ObjectInputStream in = new ObjectInputStream( local 60 return (T) in.readObject();
|
/external/guava/guava-tests/test/com/google/common/io/ |
TestInputStream.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 40 public TestInputStream(InputStream in, TestOption... options) throws IOException { 41 this(in, Arrays.asList(options)); 44 public TestInputStream(InputStream in, Iterable<TestOption> options) throws IOException { 45 super(checkNotNull(in)); 58 return in.read(); 65 return in.read(b, off, len); 72 return in.skip(n); 78 return options.contains(TestOption.AVAILABLE_ALWAYS_ZERO) ? 0 : in.available() [all...] |
/external/jetty/src/java/org/eclipse/jetty/webapp/ |
JarScanner.java | 38 * Abstract base class for configurations that want to scan jars in 44 * method to handle entries in jar files whose names match the supplied 65 * jar names, and you want to match them in order, you should 70 * in any order. 91 * all jar names in the classloader will match. 98 * jar names, and you want to match them in order, you should 102 * Will iterate over the jar names in the classloader and match 103 * in any order. 106 * Will iterate over the jar names in the classloader, matching 111 * classloader passed in 151 InputStream in = Resource.newResource(uri).getInputStream(); local [all...] |
/external/jsoncpp/scons-tools/ |
substinfile.py | 2 from SCons.Script import * # the usual scons stuff you get in a SConscript namespace 22 then all instances of %VERSION% in the file will be replaced with 1.2345 etc. 30 for (k,v) in list(dict.items()): 41 if 'SUBST_DICT' not in env: 44 for (k,v) in list(d.items()): 51 for (t,s) in zip(target, source): 57 for (t,s) in zip(target, source)]) 64 for (k,v) in list(d.items()):
|
/external/libchrome/base/json/ |
string_escape_unittest.cc | 3 // found in the LICENSE file. 52 std::string in = cases[0].to_escape; local 54 EscapeJSONString(in, false, &out); 59 EscapeJSONString(in, true, &out_quoted); 64 // now try with a NULL in the string 67 in = null_prepend + in; 71 EscapeJSONString(in, false, &out); 92 string16 in = WideToUTF16(cases[i].to_escape); local 95 EscapeJSONString(in, false, &out) 104 string16 in = WideToUTF16(cases[0].to_escape); local 173 std::string in = std::string(cases[i].to_escape); local [all...] |
/external/libvncserver/examples/ |
pnmshow.c | 18 FILE* in=stdin; local 26 in=fopen(argv[1],"rb"); 27 if(!in) { 33 fgets(buffer,1024,in); 50 fgets(buffer,1024,in); 57 fgets(buffer,1024,in); 82 fread(rfbScreen->frameBuffer,width*bitsPerPixelInFile/8,height,in); 83 fclose(in);
|
/external/llvm/examples/BrainF/ |
BrainFDriver.cpp | 14 // with the head starting in the middle. 54 JIT("jit", cl::desc("Run program Just-In-Time")); 116 std::istream *in = &std::cin; local 118 in = new std::ifstream(InputFilename.c_str()); 127 std::unique_ptr<Module> Mod(bf.parse(in, 65536, cf, Context)); // 64 KiB 128 if (in != &std::cin) 129 delete in;
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/rangecoder/ |
RangeDecoderFromBuffer.java | 28 public void prepareInputBuffer(DataInputStream in, int len) 33 if (in.readUnsignedByte() != 0x00) 36 code = in.readInt(); 41 in.readFully(buf, 0, end);
|
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
UrlConnection.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 64 InputStream in = urlConnection.getInputStream(); local 66 in = new GZIPInputStream(in); 69 long total = readAllAndClose(in); 73 System.out.println(String.format("Transferred % 8d bytes in %4d ms",
|
/external/opencv3/3rdparty/libjasper/ |
jpc_mqdec.h | 20 * files (the "Software"), to deal in the Software without restriction, 27 * includes the disclaimer below) shall be included in all copies or 39 * PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO 42 * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, 43 * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION 52 * IS NOT FAULT-TOLERANT AND IS NOT INTENDED FOR USE IN MISSION-CRITICAL 53 * SYSTEMS, SUCH AS THOSE USED IN THE OPERATION OF NUCLEAR FACILITIES, 55 * SYSTEMS, DIRECT LIFE SUPPORT MACHINES, OR WEAPONS SYSTEMS, IN WHICH 109 jas_stream_t *in; member in struct:__anon20303 124 jpc_mqdec_t *jpc_mqdec_create(int maxctxs, jas_stream_t *in); [all...] |
/external/slf4j/slf4j-jdk14/src/test/java/org/slf4j/issue/ |
LoggerSerializationTest.java | 7 * "Software"), to deal in the Software without restriction, including 14 * included in all copies or substantial portions of the Software. 19 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 20 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 21 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 22 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 75 ObjectInputStream in = new ObjectInputStream(is); local 76 LoggerHolder lh2 = (LoggerHolder) in.readObject();
|
/external/squashfs-tools/kernel/fs/squashfs/ |
block.c | 12 * This program is distributed in the hope that it will be useful, 43 * Read the metadata block length, this is stored in the first two 76 * if a datablock is being read (the size is stored elsewhere in the 78 * the metadata block. A bit in the length field indicates if the block 79 * is stored uncompressed in the filesystem (usually because compression 231 int i, in, pg_offset = 0; local 240 in = min(bytes, msblk->devblksize - offset); 241 bytes -= in; 242 while (in) { 247 avail = min_t(int, in, PAGE_CACHE_SIZE [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
filterbanks_unittest.cc | 5 * that can be found in the LICENSE file in the root of the source 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 78 int16_t in[kSamples]; local 98 in[i] = WEBRTC_SPL_WORD32_MAX / (i + 1); 101 WebRtcIsacfix_HighpassFilterFixDec32(in, kSamples, 105 EXPECT_EQ(out[i], in[i]);
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/ |
filterbanks.c | 5 * that can be found in the LICENSE file in the root of the source 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 26 * sections are used to filter the input in a cascade manner. 50 the input signal, and part of the signal in the input 'lookahead buffer'. 53 in: a length FRAMESAMPLES array of input samples 60 based on the samples in the two prefiltdata->INLABUFx arrays 64 array in[] 94 float in[FRAMESAMPLES]; local [all...] |
/frameworks/av/services/audioflinger/ |
AudioResamplerCubic.cpp | 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 75 int16_t *in = mBuffer.i16; local 84 // out[outputIndex++] += vr * in[inputIndex*2]; 103 in = mBuffer.i16; 108 advance(&left, in[inputIndex*2]); 109 advance(&right, in[inputIndex*2+1]); 142 int16_t *in = mBuffer.i16; local 172 in = mBuffer.i16; 176 advance(&left, in[inputIndex]) [all...] |