/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/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);
|
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/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);
|
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/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);
|
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/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);
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/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);
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/src/ |
hash.cpp | 23 // handle all next_prime(i) for i in [1, 210), special case 0 138 // some potential prime numbers are not prime. In an ideal world, all potential 183 // If n is small enough, search in small_primes 189 // Start searching list of potential primes: L * k0 + indices[in] 194 size_t in = static_cast<size_t>(std::lower_bound(indices, indices + M, n - k0 * L) local 196 n = L * k0 + indices[in]; 201 // 2. The i > sqrt(n), in which case n is prime. 561 if (++in == M) 564 in = 0; 566 n = L * k0 + indices[in]; [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/src/ |
hash.cpp | 23 // handle all next_prime(i) for i in [1, 210), special case 0 138 // some potential prime numbers are not prime. In an ideal world, all potential 183 // If n is small enough, search in small_primes 189 // Start searching list of potential primes: L * k0 + indices[in] 194 size_t in = static_cast<size_t>(std::lower_bound(indices, indices + M, n - k0 * L) local 196 n = L * k0 + indices[in]; 201 // 2. The i > sqrt(n), in which case n is prime. 561 if (++in == M) 564 in = 0; 566 n = L * k0 + indices[in]; [all...] |
/system/core/libsparse/ |
img2simg.c | 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 48 int in; local 70 in = STDIN_FILENO; 72 in = open(argv[1], O_RDONLY | O_BINARY); 73 if (in < 0) { 89 len = lseek64(in, 0, SEEK_END); 90 lseek64(in, 0, SEEK_SET); 99 ret = sparse_file_read(s, in, false, false); 111 close(in); [all...] |
simg2simg.c | 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 44 int in; local 61 in = open(argv[1], O_RDONLY | O_BINARY); 62 if (in < 0) { 67 s = sparse_file_import(in, true, false); 112 close(in);
|
/system/core/libutils/tests/ |
String8_test.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 77 const char *in = "some string"; local 78 EXPECT_EQ(NO_MEMORY, String8("").setTo(in, SIZE_MAX)); 84 // first character in the pair and handling the rest correctly.
|
/system/update_engine/payload_generator/ |
zip_unittest.cc | 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 71 bool DecompressWithWriter(const brillo::Blob& in, brillo::Blob* out) { 76 ok = writer->Write(in.data(), in.size()) && ok; 87 bool ZipCompress(const brillo::Blob& in, brillo::Blob* out) const = 0; 88 bool ZipDecompress(const brillo::Blob& in, brillo::Blob* out) const = 0; 96 bool ZipCompress(const brillo::Blob& in, brillo::Blob* out) const { 97 return BzipCompress(in, out); 99 bool ZipDecompress(const brillo::Blob& in, brillo::Blob* out) const 163 brillo::Blob in; local [all...] |
/tools/loganalysis/tests/src/com/android/loganalysis/item/ |
MonkeyLogItemTest.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 48 assertTrue(in("category1", categories)); 49 assertTrue(in("category2", categories)); 54 assertTrue(in("package1", packages)); 55 assertTrue(in("package2", packages)); 56 assertTrue(in("package3", packages)); 59 private boolean in(String value, JSONArray array) throws JSONException { method in class:MonkeyLogItemTest
|
/tools/tradefederation/core/prod-tests/tests/src/com/android/continuous/ |
SmokeTestTest.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 TestIdentifier in = new TestIdentifier("com.android.smoketest.SmokeTestRunner$3", local 47 trim.testStarted(in);
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
SerializationUtil.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 45 // catch in order to clean up the tmp file. 65 ObjectInputStream in = null; local 68 in = new ObjectInputStream(fileIn); 69 return in.readObject(); 73 StreamUtil.close(in);
|
/art/test/137-cfi/src/ |
Main.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 80 // First do the in-process unwinding. 117 // In this case, log all the output. 119 // We rely on the run-test timeout infrastructure to terminate the primary in 164 BufferedReader in = new BufferedReader(new FileReader("/proc/self/cmdline")); local 165 String s = in.readLine(); 166 in.close();
|
/cts/hostsidetests/backup/src/android/cts/backup/ |
BaseBackupHostSideTest.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 110 * Run test <testName> in test <className> found in package <packageName> on the device, and 126 Scanner in = new Scanner(backupnowOutput); local 128 while (in.hasNextLine()) { 129 String line = in.nextLine(); 138 in.close(); 149 Scanner in = new Scanner(backupnowOutput); local 151 while (in.hasNextLine()) [all...] |
/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 73 * Asserts that the {@code /dev/hw_random} device is configured in an acceptable way or is not 84 // In short, assert that: 86 // 2. a driver is selected in the hrwng framework, and 102 // 2. Assert that a driver is selected in the hrwng framework. 123 InputStream in = null; local 125 in = new FileInputStream(file); 126 return new String(readyFully(in), "US-ASCII"); 128 closeSilently(in); 148 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/antlr-3.4/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-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/ |
ClassFileVersionTest.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 84 DataInputStream in = new DataInputStream(new FileInputStream( local 86 int magic = in.readInt(); 90 expectedMinorVersion = in.readUnsignedShort(); 91 expectedMajorVersion = in.readUnsignedShort(); 92 in.close(); 94 printErrorAndFail(thisCommandName + "has error in reading target class file!");
|
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/ |
RandomAccessFileOutputStreamTest.java | 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 90 // Do nothing, to trigger failure case in the constructor. 103 FileInputStream in = null; local 105 in = new FileInputStream(tempFile); 106 Assert.assertEquals(7, in.read()); 109 in.close(); 122 FileInputStream in = null; local 125 in = new FileInputStream(tempFile); 126 dataIn = new DataInputStream(in); [all...] |
/external/emma/core/java12/com/vladium/util/ |
Files.java | 43 BufferedReader in = null; local 46 in = new BufferedReader (new FileReader (atfile), 8 * 1024); // uses default encoding 49 for (String line; (line = in.readLine ()) != null; ) 59 if (in != null) try { in.close (); } catch (Exception ignore) {} 83 * Note that duplicate removal in classpaths affects ClassLoader.getResources(). 86 * necessary for reproducing its behavior in Sun-compatible JVMs. 292 * A slightly stricter version of File.createTempFile() in J2SDK 1.3: it requires 301 * guarantees do not hold if files are created in the same directory outside 311 * @return writeable temp file descriptor [incorporates 'parentDir' in its pathname [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
ImmutableClassToInstanceMapTest.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 75 Map<Class<?>, Object> in = Collections.emptyMap(); local 76 ClassToInstanceMap<Object> map = ImmutableClassToInstanceMap.copyOf(in); 83 Map<Class<? extends Number>, Number> in = Maps.newHashMap(); local 84 in.put(Number.class, 0); 85 in.put(Double.class, Math.PI); 86 ClassToInstanceMap<Number> map = ImmutableClassToInstanceMap.copyOf(in); 117 Map<Class<?>, Object> in = Collections.emptyMap(); local 118 ClassToInstanceMap<Object> map = ImmutableClassToInstanceMap.copyOf(in); 123 ImmutableMap<Class<? extends Number>, ? extends Number> in local [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
ByteSinkTest.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 67 ByteArrayInputStream in = new ByteArrayInputStream(bytes); local 68 sink.writeFrom(in); 75 TestInputStream in = new TestInputStream(new ByteArrayInputStream(new byte[10])); local 76 assertFalse(in.closed()); 77 sink.writeFrom(in); 78 assertFalse(in.closed()); 109 TestInputStream in = new TestInputStream( local 111 okSink.writeFrom(in); [all...] |
IoTestCase.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 82 // fall back to copying URLs to files in the testDir == null block below 87 // testdata resources aren't file:// urls, so create a directory to store them in and then 113 * deleted in the tear-down for this test. 125 * Gets a temp dir for testing. The returned directory and all contents of it will be deleted in 138 * Creates a new temp file in the temp directory returned by {@link #getTempDir()}. The file will 139 * be deleted in the tear-down for this test. 164 InputStream in = url.openStream(); local 169 for (int read = in.read(buf); read != -1; read = in.read(buf)) [all...] |