/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
SwapByteOrder.h | 32 // The DLL version of the runtime lacks these functions (bug!?), but in a 103 } in, out; local 104 in.f = C; 105 out.i = SwapByteOrder_32(in.i); 113 } in, out; local 114 in.d = C; 115 out.i = SwapByteOrder_64(in.i);
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
SwapByteOrder.h | 32 // The DLL version of the runtime lacks these functions (bug!?), but in a 103 } in, out; local 104 in.f = C; 105 out.i = SwapByteOrder_32(in.i); 113 } in, out; local 114 in.d = C; 115 out.i = SwapByteOrder_64(in.i);
|
/external/tensorflow/tensorflow/lite/examples/label_image/ |
label_image_test.cc | 4 you may not use this file except in compliance with the License. 9 Unless required by applicable law or agreed to in writing, software 45 uint8_t in[] = {1, 1, 2, 2, 4, 4, 16, 32, 128, 64}; local 48 get_top_n<uint8_t>(in, 10, 5, 0.025, &top_results, false);
|
/external/toybox/toys/other/ |
dos2unix.c | 42 int len, in, out; local 48 for (in = out = 0; in < len; in++) { 49 char x = toybuf[in+sizeof(toybuf)/2]; 51 // Drop \r only if followed by \n in dos2unix mode 55 // Add \r only if \n not after \r in unix2dos mode
|
/external/toybox/toys/posix/ |
uudecode.c | 17 -o Write to OUTFILE instead of filename in header 49 char *in, *out; local 60 in = out = line; 61 if (!m) olen = (*(in++) - 32) & 0x3f; 73 if (!(c = *(in++))) goto line_done;
|
uuencode.c | 15 Uuencode stdin (or file) to stdout, with encode-filename in the output. 35 char *in; local 40 in = buf; 42 for (in = buf; in-buf < i; ) { 43 int j, x, bytes = i - (in-buf); 50 if (j < bytes) x |= (*(in++) & 0x0ff) << (8*(2-j));
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
filters_mips.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. 13 // MIPS optimized implementation of the Autocorrelation function in fixed point. 14 // NOTE! Different from SPLIB-version in how it scales the signal. 22 int16_t* in = (int16_t*)x; local 37 // Loop is unrolled 8 times, set accumulator to zero in branch delay slot. 43 "ulw %[r0], 0(%[in]) \n\t [all...] |
/external/xz-embedded/userspace/ |
boottest.c | 22 /* Disable the CRC64 support even if it was enabled in the Makefile. */ 27 static uint8_t in[1024 * 1024]; variable 44 in_size = fread(in, 1, sizeof(in), stdin); 45 ret = decompress(in, in_size, NULL, NULL, out, NULL, &error); 55 in_size = fread(in, 1, sizeof(in), stdin); 56 ret = decompress(in, in_size, NULL, &flush, NULL, &in_used, &error); 75 ret = decompress(in, 0, &fill, NULL, out, &in_used, &error);
|
/external/xz-java/src/ |
XZSeekDecDemo.java | 14 * Decompresses a .xz file in random access mode to standard output. 28 SeekableXZInputStream in = new SeekableXZInputStream(file); local 30 System.err.println("Number of XZ Streams: " + in.getStreamCount()); 31 System.err.println("Number of XZ Blocks: " + in.getBlockCount()); 33 System.err.println("Uncompressed size: " + in.length() + " B"); 36 + in.getLargestBlockSize() + " B"); 39 int checkTypes = in.getCheckTypes(); 46 + in.getIndexMemoryUsage() + " KiB"); 51 while ((size = in.read(buf)) != -1) 58 in.seek(pos) [all...] |
/external/zlib/src/examples/ |
zpipe.c | 10 1.3 6 Apr 2005 Remove incorrect assertion in inf() 41 unsigned char in[CHUNK]; local 54 strm.avail_in = fread(in, 1, CHUNK, source); 60 strm.next_in = in; 63 compression if all of source has been read in */ 77 /* done when last data in file processed */ 97 unsigned char in[CHUNK]; local 112 strm.avail_in = fread(in, 1, CHUNK, source); 119 strm.next_in = in;
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/ |
TarTestCase.java | 7 * "License"); you may not use this file except in compliance 12 * Unless required by applicable law or agreed to in writing, 79 final FileInputStream in = new FileInputStream(file1); local 80 IOUtils.copy(in, os); 84 in.close(); 117 final ArchiveInputStream in = new ArchiveStreamFactory().createArchiveInputStream("tar", is); local 118 final TarArchiveEntry entry = (TarArchiveEntry)in.getNextEntry(); 120 IOUtils.copy(in, out); 121 in.close(); 129 final ArchiveInputStream in = new TarArchiveInputStream(is local 149 final TarArchiveEntry in = new TarArchiveEntry(tmp[0], "foo"); local 189 final TarArchiveEntry in = new TarArchiveEntry("foo\/"); local 229 final TarArchiveEntry in = new TarArchiveEntry(tmp[1], "foo"); local 278 final TarArchiveEntry in = new TarArchiveEntry("foo"); local 322 final ArchiveInputStream in = new ArchiveStreamFactory().createArchiveInputStream("tar", is); local [all...] |
DumpTestCase.java | 7 * "License"); you may not use this file except in compliance 12 * Unless required by applicable law or agreed to in writing, 50 ArchiveInputStream in = null; local 53 in = new ArchiveStreamFactory() 56 ArchiveEntry entry = in.getNextEntry(); 62 entry = in.getNextEntry(); 66 IOUtils.copy(in, out); 69 entry = in.getNextEntry(); 75 if (in != null) { 76 in.close() [all...] |
JarTestCase.java | 7 * "License"); you may not use this file except in compliance 12 * Unless required by applicable law or agreed to in writing, 61 final ArchiveInputStream in = new ArchiveStreamFactory().createArchiveInputStream("jar", is); local 63 ZipArchiveEntry entry = (ZipArchiveEntry)in.getNextEntry(); 67 IOUtils.copy(in, out); 70 entry = (ZipArchiveEntry)in.getNextEntry(); 74 IOUtils.copy(in, out); 77 entry = (ZipArchiveEntry)in.getNextEntry(); 81 IOUtils.copy(in, out); 84 in.close() 92 final ArchiveInputStream in = new ArchiveStreamFactory().createArchiveInputStream("jar", is); local [all...] |
/cts/hostsidetests/multiuser/src/android/host/multiuser/ |
CreateUsersNoAppCrashesTest.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 114 Scanner in = new Scanner(logs); local 115 while (in.hasNextLine()) { 116 String line = in.nextLine(); 120 // Parse all logs in case crashes occur as a result of onUserChange callbacks 122 } else if (line.contains("FATAL EXCEPTION IN SYSTEM PROCESS")) { 126 in.close(); 176 // Fail only if same apps are crashing in both runs
|
/cts/tests/tests/security/src/android/security/cts/ |
HwRngTest.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 74 * Asserts that the {@code /dev/hw_random} device is configured in an acceptable way or is not 88 // In short, assert that: 90 // 2. a driver is selected in the hrwng framework, and 106 // 2. Assert that a driver is selected in the hrwng framework. 127 InputStream in = null; local 129 in = new FileInputStream(file); 130 return new String(readyFully(in), "US-ASCII"); 132 closeSilently(in); 152 BufferedReader in = null; local [all...] |
/development/tools/idegen/src/ |
Configuration.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 59 throw new AssertionError("Not in root directory."); 101 // Look for user-specific excluded-paths file in current directory. 120 * source roots in our generated source directory (specifically, 152 // Do not check excludes in this branch. 175 * if the file doesn't have a package or if the file isn't in the 203 BufferedReader in = new BufferedReader(new FileReader(file)); local 206 while ((line = in.readLine()) != null) { 211 // line ends in a ";" 253 BufferedReader in = new BufferedReader(new FileReader(file)); local [all...] |
/external/antlr/gunit/src/main/java/org/antlr/gunit/swingui/ |
ImageFactory.java | 44 final InputStream in = loader.getResourceAsStream(name); local 45 final byte[] data = new byte[in.available()]; 46 in.read(data); 47 in.close();
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/ |
ExplodingInputStream.java | 7 * "License"); you may not use this file except in compliance 12 * Unless required by applicable law or agreed to in writing, 29 * The implode compression method was added to PKZIP 1.01 released in 1989. 30 * It was then dropped from PKZIP 2.0 released in 1993 in favor of the deflate 33 * The algorithm is described in the ZIP File Format Specification. 43 private final InputStream in; field in class:ExplodingInputStream 78 * @param in the compressed data stream 80 public ExplodingInputStream(final int dictionarySize, final int numberOfTrees, final InputStream in) { 90 this.in = in [all...] |
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/ |
BitInputStream.java | 7 * "License"); you may not use this file except in compliance 12 * Unless required by applicable law or agreed to in writing, 32 private static final int MAXIMUM_CACHE_SIZE = 63; // bits in long minus sign bit 41 private final CountingInputStream in; field in class:BitInputStream 48 * @param in the InputStream 52 public BitInputStream(final InputStream in, final ByteOrder byteOrder) { 53 this.in = new CountingInputStream(in); 59 in.close(); 114 return bitsCachedSize + ((long) Byte.SIZE) * in.available() [all...] |
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/ |
DetectArchiverTestCase.java | 7 * "License"); you may not use this file except in compliance 12 * Unless required by applicable law or agreed to in writing, 134 ar.deleteOnExit(); // Just in case file cannot be deleted 136 BufferedInputStream in = null; local 138 in = new BufferedInputStream(new FileInputStream(ar)); 139 ais = factory.createArchiveInputStream(in); 145 } else if (in != null){ 146 in.close();
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/arj/ |
ArjArchiveInputStreamTest.java | 7 * "License"); you may not use this file except in compliance 12 * Unless required by applicable law or agreed to in writing, 43 final ArjArchiveInputStream in = new ArjArchiveInputStream(new FileInputStream(getFile("bla.arj"))); local 47 while ((entry = in.getNextEntry()) != null) { 50 while ((tmp = in.read()) != -1) { 55 in.close(); 61 final ArjArchiveInputStream in = new ArjArchiveInputStream(new FileInputStream(getFile("bla.arj"))); local 62 final ArjArchiveEntry entry = in.getNextEntry(); 70 in.close(); 75 final ArjArchiveInputStream in = new ArjArchiveInputStream(new FileInputStream(getFile("bla.unix.arj"))) local [all...] |
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/cpio/ |
CpioArchiveInputStreamTest.java | 7 * "License"); you may not use this file except in compliance 12 * Unless required by applicable law or agreed to in writing, 40 final CpioArchiveInputStream in = new CpioArchiveInputStream(new FileInputStream(getFile("bla.cpio"))); local 44 while ((entry = (CpioArchiveEntry) in.getNextEntry()) != null) { 47 while ((tmp = in.read()) != -1) { 51 in.close(); 57 final CpioArchiveInputStream in = local 62 while ((entry = (CpioArchiveEntry) in.getNextEntry()) != null) { 66 in.close(); 73 final CpioArchiveInputStream in local [all...] |
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/ |
BZip2TestCase.java | 7 * "License"); you may not use this file except in compliance 12 * Unless required by applicable law or agreed to in writing, 44 final FileInputStream in = new FileInputStream(input); local 45 IOUtils.copy(in, cos); 47 in.close(); 54 final CompressorInputStream in = local 57 IOUtils.copy(in, os); 70 final CompressorInputStream in = new CompressorStreamFactory().createCompressorInputStream("bzip2", is); local 72 IOUtils.copy(in, os); 81 try (CompressorInputStream in = new CompressorStreamFactory( [all...] |
FramedSnappyTestCase.java | 7 * "License"); you may not use this file except in compliance 12 * Unless required by applicable law or agreed to in writing, 76 // support in the autodetection test 77 final CompressorInputStream in = wrapper.wrap(new BufferedInputStream(is)); local 81 IOUtils.copy(in, out); 82 assertEquals(995, in.getBytesRead()); 87 in.close();
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/bzip2/ |
BZip2CompressorInputStreamTest.java | 7 * "License"); you may not use this file except in compliance 12 * Unless required by applicable law or agreed to in writing, 37 try (FileInputStream in = new FileInputStream(getFile("bla.zip"))) { 38 BZip2CompressorInputStream bis = new BZip2CompressorInputStream(in); 63 // Try to read it back in 77 final BZip2CompressorInputStream in = local 79 IOUtils.toByteArray(in); 80 Assert.assertEquals(-1, in.read()); 81 Assert.assertEquals(-1, in.read()); 82 in.close() 91 final BZip2CompressorInputStream in = local [all...] |