/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/instr/ |
SignatureRemoverTest.java | 101 InputStream in = new ByteArrayInputStream( local 105 assertTrue(remover.filterEntry("META-INF/MANIFEST.MF", in, out));
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/ |
TargetLoader.java | 68 private static byte[] readBytes(InputStream in) throws IOException { 72 while ((len = in.read(buffer)) != -1) { 75 in.close();
|
/external/jline/src/src/test/java/jline/ |
ConsoleReaderTest.java | 148 InputStream in = new ByteArrayInputStream(bytes); local 150 ConsoleReader reader = new ConsoleReader(in, writer);
|
/external/jsilver/src/com/google/clearsilver/jsilver/precompiler/ |
PrecompiledTemplateMapFileReader.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 35 * Utility class that reads in the file output by BatchCompiler that is a list of template names and 48 * Helper object that reads in the specified resource file and generates a mapping of template 52 * @param dirPattern prefix to remove from read in template names. Used in conjunction with 55 * to the location of the templates in production via a flag. 100 throw new IllegalArgumentException("No template file name found in " + templateMapFile 113 throw new IllegalArgumentException("No class name found in " + templateMapFile + " on line " 125 throw new IllegalArgumentException("Invalid escape mode found in " + templateMapFil 136 InputStream in = classLoader.getResourceAsStream(templateMapFile); local [all...] |
/external/libcxx/benchmarks/ |
unordered_set_operations.bench.cpp | 112 auto in = gen(st.range(0)); local 113 const auto end = in.data() + in.size(); 117 for (auto it = in.data(); it != end; ++it) {
|
/external/libopus/celt/ |
opus_custom_demo.c | 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 19 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 24 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 61 opus_int16 *in, *out; local 128 in = (opus_int16*)malloc(frame_size*channels*sizeof(opus_int16)); 134 err = fread(in, sizeof(short), frame_size*channels, fin); 137 len = opus_custom_encode(enc, in, frame_size, data, bytes_per_packet) [all...] |
/external/libopus/celt/tests/ |
test_unit_dft.c | 4 Redistribution and use in source and binary forms, with or without 11 - Redistributions in binary form must reproduce the above copyright 12 notice, this list of conditions and the following disclaimer in the 18 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 23 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 24 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 71 void check(kiss_fft_cpx * in,kiss_fft_cpx * out,int nfft,int isinverse) 95 ansr += in[k].r * re - in[k].i * im; 96 ansi += in[k].r * im + in[k].i * re 116 kiss_fft_cpx * in = (kiss_fft_cpx*)malloc(buflen); local [all...] |
test_unit_mdct.c | 4 Redistribution and use in source and binary forms, with or without 11 - Redistributions in binary form must reproduce the above copyright 12 notice, this list of conditions and the following disclaimer in the 18 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 23 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 24 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 70 void check(kiss_fft_scalar * in,kiss_fft_scalar * out,int nfft,int isinverse) 85 ansr += in[k] * re; 100 void check_inv(kiss_fft_scalar * in,kiss_fft_scalar * out,int nfft,int isinverse) 115 ansr += in[k] * re 136 kiss_fft_scalar * in = (kiss_fft_scalar*)malloc(buflen); local [all...] |
/external/libopus/doc/ |
trivial_example.c | 3 Redistribution and use in source and binary forms, with or without 10 - Redistributions in binary form must reproduce the above copyright 11 notice, this list of conditions and the following disclaimer in the 17 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 22 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 23 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 54 opus_int16 in[FRAME_SIZE*CHANNELS]; local 80 in worse quality, but better. */ 123 in[i]=pcm_bytes[2*i+1]<<8|pcm_bytes[2*i]; 126 nbBytes = opus_encode(encoder, in, FRAME_SIZE, cbits, MAX_PACKET_SIZE) [all...] |
/external/libvorbis/vq/ |
distribution.c | 6 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * 13 function: utility for finding the distribution in a data set 34 FILE *in; local 51 in=fopen(argv[1],"r"); 52 if(!in){ 64 fclose(in); 163 line=setup_line(in); 185 line=setup_line(in); 205 rewind(in); 206 line=setup_line(in); [all...] |
latticebuild.c | 6 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * 63 FILE *in=NULL; local 80 in=fopen(filename,"r"); 81 if(!in){ 97 line=get_line(in); 118 line=setup_line(in); 172 /* save the book in C header form */
|