/external/jarjar/src/main/com/tonicsystems/jarjar/util/ |
H A D | IoUtil.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 31 public static void pipe(InputStream is, OutputStream out, byte[] buf) throws IOException { argument 33 int amt = is.read(buf); 119 final InputStream is = inputZip.getInputStream(inputEntry); 120 IoUtil.pipe(is, baos, buf); 121 is.close();
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
H A D | module.cpp | 4 // Permission is hereby granted, free of charge, to any person obtaining a 9 // Software is furnished to do so, subject to the following conditions: 44 _proc(std::istream &is, T &x) { argument 45 _serializer<T>::proc(is, x); 50 _proc(std::istream &is) { argument 52 _serializer<T>::proc(is, x); 73 proc(std::istream &is, T &x) { argument 74 is.read(reinterpret_cast<char *>(&x), sizeof(x)); 97 proc(std::istream &is, std::vector<T> &v) { argument 98 v.resize(_proc<uint32_t>(is)); 125 proc(std::istream &is, std::vector<T> &v) argument 147 proc(std::istream &is, std::string &s) argument 218 deserialize(std::istream &is) argument [all...] |
/external/mockito/src/main/java/org/mockito/internal/util/io/ |
H A D | IOUtil.java | 3 * This program is made available under the terms of the MIT License. 34 public static Collection<String> readLines(InputStream is) { argument 36 BufferedReader r = new BufferedReader(new InputStreamReader(is)); 43 throw new MockitoException("Problems reading from: " + is, e); 49 * Closes the target. Does nothing when target is null. Is silent. 62 * Closes the target. Does nothing when target is null. Is not silent and exceptions are rethrown.
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/model/ |
H A D | ScalingList.java | 4 Permission is hereby granted, free of charge, to any person obtaining a copy of this 8 permit persons to whom the Software is furnished to do so, subject to the following 57 public static ScalingList read(CAVLCReader is, int sizeOfScalingList) argument 66 int deltaScale = is.readSE("deltaScale");
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/ |
H A D | RawResourceLoaderTest.java | 33 InputStream is = rawResourceLoader.getValue(R.raw.raw_resource); 34 assertEquals("raw txt file contents", readString(is)); 39 InputStream is = rawResourceLoader.getValue(R.raw.raw_no_ext); 40 assertEquals("no ext file contents", readString(is)); 43 private static String readString(InputStream is) throws IOException { argument 47 Reader reader = new BufferedReader(new InputStreamReader(is, "UTF-8")); 53 is.close();
|
/external/sfntly/cpp/src/test/ |
H A D | file_io_test.cc | 11 * distributed under the License is distributed on an "AS IS" BASIS, 46 FileInputStream is; local 47 is.Open(SAMPLE_TTF_FILE); 48 EXPECT_EQ(length, (size_t)is.Available()); 50 is.Read(&b2, 0, length); 51 is.Close(); 56 is.Open(SAMPLE_TTF_FILE); 57 is.Skip(89); 58 is.Read(&b2, 0, 100); 63 is 106 FileInputStream is; local 133 FileInputStream is; local [all...] |
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/events/ |
H A D | DocumentEndEvent.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 39 public boolean is(Event.ID id) { method in class:DocumentEndEvent
|
H A D | DocumentStartEvent.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 73 public boolean is(Event.ID id) { method in class:DocumentStartEvent
|
H A D | MappingStartEvent.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 23 * This event is followed by a number of key value pairs. <br> 41 public boolean is(Event.ID id) { method in class:MappingStartEvent
|
H A D | SequenceStartEvent.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 23 * This event is followed by the elements contained in the sequence, and a 36 public boolean is(Event.ID id) { method in class:SequenceStartEvent
|
H A D | ScalarEvent.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 29 // The implicit flag of a scalar event is a pair of boolean values that 30 // indicate if the tag may be omitted when the scalar is emitted in a plain 47 * is available. 98 public boolean is(Event.ID id) { method in class:ScalarEvent
|
/external/testng/src/main/java/org/testng/reporters/ |
H A D | Files.java | 21 try (InputStream is = new FileInputStream(f)) { 22 return readFile(is); 26 public static String readFile(InputStream is) throws IOException { argument 28 BufferedReader br = new BufferedReader(new InputStreamReader(is)); 61 public static String streamToString(InputStream is) throws IOException { argument 62 if (is != null) { 67 Reader reader = new BufferedReader(new InputStreamReader(is, "UTF-8")); 73 is.close();
|
/external/testng/src/main/java/org/testng/xml/ |
H A D | XMLParser.java | 37 public void parse(InputStream is, DefaultHandler dh) throws SAXException, IOException { argument 39 m_saxParser.parse(is, dh);
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
H A D | simple_lpc_analysis.c | 4 * Use of this source code is governed by a BSD-style license 37 size_t is; local 45 is=LPC_LOOKBACK+BLOCKL_MAX-iLBCenc_inst->blockl; 46 WEBRTC_SPL_MEMCPY_W16(iLBCenc_inst->lpc_buffer+is,data,iLBCenc_inst->blockl); 48 /* No lookahead, last window is asymmetric */ 52 is = LPC_LOOKBACK; 56 /* Hanning table WebRtcIlbcfix_kLpcWin[] is in Q15-domain so the output is right-shifted 15 */ 60 /* Hanning table WebRtcIlbcfix_kLpcAsymWin[] is in Q15-domain so the output is righ [all...] |
/external/clang/test/CodeGen/ |
H A D | staticinit.c | 12 static int is[] = { 1, 2, 3, 4 }; local
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/data/ |
H A D | ResourceReader.java | 26 * resource data is loaded through the class loader, so it will 30 * resource is opened by constructing a <code>ResourceReader</code> 31 * object the encoding is specified. 36 * @hide Only a subset of ICU is exposed in Android 46 * object is initialized. Has the special value 0 after initialization 47 * but before the first line is read. 57 * an exception is thrown 59 * <code>encoding</code> is not supported by the JDK. 82 * an exception is thrown 84 * <code>encoding</code> is no 101 ResourceReader(InputStream is, String resourceName, String encoding) argument 125 ResourceReader(InputStream is, String resourceName) argument [all...] |
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/ |
H A D | Java9Support.java | 5 * which accompanies this distribution, and is available at 36 * @param is 42 public static byte[] readFully(final InputStream is) argument 44 if (is == null) { 50 int r = is.read(buf);
|
/external/ksoap2/kobjects/org/ksoap2/kobjects/mime/ |
H A D | Decoder.java | 3 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * sell copies of the Software, and to permit persons to whom the Software is 29 InputStream is; field in class:Decoder 45 int i = is.read(); 63 * The "main" element is returned in the 118 public Decoder(InputStream is, String _bound) throws IOException { argument 119 this(is, _bound, null); 122 public Decoder(InputStream is, String _bound, String characterEncoding) throws IOException { argument 125 this.is = is; [all...] |
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.sample/ |
H A D | sample.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 60 const unsigned is = sizeof(ia) / sizeof(ia[0]); local 72 PopulationIterator(ia + is), 74 assert(static_cast<std::size_t>(end.base() - oa) == std::min(os, is)); 75 // sample() is deterministic but non-reproducible; 79 PopulationIterator(ia + is), 81 assert(static_cast<std::size_t>(end.base() - oa) == std::min(os, is)); 106 const unsigned is = sizeof(ia) / sizeof(ia[0]); local 110 std::sample(PopulationIterator(ia), PopulationIterator(ia + is), 118 // The population size is les 122 const unsigned is = sizeof(ia) / sizeof(ia[0]); local [all...] |
/external/libcxx/test/std/experimental/algorithms/alg.random.sample/ |
H A D | sample.pass.cpp | 5 // This file is dual licensed under the MIT and the University of Illinois Open 55 const unsigned is = sizeof(ia) / sizeof(ia[0]); local 67 PopulationIterator(ia + is), 69 assert(static_cast<std::size_t>(end.base() - oa) == std::min(os, is)); 70 // sample() is deterministic but non-reproducible; 74 PopulationIterator(ia + is), 76 assert(static_cast<std::size_t>(end.base() - oa) == std::min(os, is)); 101 const unsigned is = sizeof(ia) / sizeof(ia[0]); local 105 std::experimental::sample(PopulationIterator(ia), PopulationIterator(ia + is), 113 // The population size is les 117 const unsigned is = sizeof(ia) / sizeof(ia[0]); local [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_resource.c | 4 * Permission is hereby granted, free of charge, to any person 9 * of the Software, and to permit persons to whom the Software is 121 svga_init_screen_resource_functions(struct svga_screen *is) argument 123 is->screen.resource_create = svga_resource_create; 124 is->screen.resource_from_handle = svga_resource_from_handle; 125 is->screen.resource_get_handle = u_resource_get_handle_vtbl; 126 is->screen.resource_destroy = u_resource_destroy_vtbl; 127 is->screen.can_create_resource = svga_can_create_resource;
|
/external/python/cpython2/Lib/lib2to3/fixes/ |
H A D | fix_exitfunc.py | 40 if self.sys_import is None: namespace 52 if self.sys_import is None: namespace
|
/external/python/cpython2/Lib/test/ |
H A D | test_threaded_import.py | 1 # This is a variant of the very old (early 90's) file 4 # There are no pleasant failure modes -- most likely is that Python 41 # In case this test is run again, make sure the helper module 60 raise unittest.SkipTest("can't run when import lock is held") namespace
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/ |
H A D | DexBackedOdexFile.java | 87 @Nonnull public static DexBackedOdexFile fromInputStream(@Nonnull Opcodes opcodes, @Nonnull InputStream is) argument 89 DexUtil.verifyOdexHeader(is); 91 is.reset(); 93 ByteStreams.readFully(is, odexBuf); 96 ByteStreams.skipFully(is, dexOffset - OdexHeaderItem.ITEM_SIZE); 99 byte[] dexBuf = ByteStreams.toByteArray(is);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
H A D | ASN1InputStream.java | 14 * the stream. If an ASN.1 NULL is encountered a DER/BER Null object is 27 InputStream is) 29 this(is, StreamUtil.findLimit(is)); 34 * the stream is automatically limited to the length of the input array. 46 * the stream is automatically limited to the length of the input array. 293 // with tagged object tag number is bottom 5 bits, or stored at the start of the content 449 return DERNull.INSTANCE; // actual content is ignored (enforce 0 length?) 26 ASN1InputStream( InputStream is) argument
|