/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 */
|
latticetune.c | 6 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * 30 /* This util takes a training-collected file listing codewords used in 46 FILE *in=NULL; local 88 in=fopen(argv[2],"r"); 89 if(!in){ 96 line=setup_line(in); 105 line=setup_line(in); 112 line=setup_line(in); 126 line=setup_line(in); 130 fclose(in); [all...] |
/external/ltp/testcases/open_posix_testsuite/functional/semaphores/ |
sem_conpro.c | 36 int in, out; variable 53 buf->buffer[in] = data; 54 printf("producer has added %d to the buffer[%d] \n", data, in); 55 in = (in + 1) % BUF_SIZE; 122 in = out = 0;
|
/external/ltp/testcases/open_posix_testsuite/stress/semaphores/ |
multi_con_pro.c | 38 int in, out; variable 63 buf->buffer[in] = data; 65 ThreadID, data, in); 66 in = (in + 1) % BUF_SIZE; 90 buf->buffer[in] = data; 92 data, in); 93 in = (in + 1) % BUF_SIZE; 192 in = out = 0 [all...] |
/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
ir3_group.c | 8 * to deal in the Software without restriction, including without limitation 14 * paragraph) shall be included in all copies or substantial portions of the 19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 57 /* so, we can't insert a mov in front of a meta:in.. and the downstream 59 * morph the meta:in instruction into a mov and insert a new meta:in 62 struct ir3_instruction *in; local [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
nv50_ir_target.cpp | 6 * to deal in the Software without restriction, including without limitation 11 * The above copyright notice and this permission notice shall be included in 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 18 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20 * OTHER DEALINGS IN THE SOFTWARE. 264 BasicBlock *in = func->bbArray[j]; local 265 Instruction *exit = in->getExit(); 268 in->binSize -= 8; 274 in->remove(exit) [all...] |
/external/mesa3d/src/gallium/drivers/r600/sb/ |
sb_liveness.cpp | 6 * to deal in the Software without restriction, including without limitation 12 * paragraph) shall be included in all copies or substantial portions of the 17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 19 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 20 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE 21 * USE OR OTHER DEALINGS IN THE SOFTWARE. 308 if_node &in = (if_node&)n; local 309 if (in.cond) 310 live_changed |= live.add_val(in.cond);
|
/external/nanohttpd/core/src/main/java/fi/iki/elonen/util/ |
ServerRunner.java | 9 * Redistribution and use in source and binary forms, with or without modification, 15 * 2. Redistributions in binary form must reproduce the above copyright notice, 16 * this list of conditions and the following disclaimer in the documentation 26 * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 30 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 31 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 60 System.in.read();
|
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
ApacheHttpClient.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 InputStream in = response.getEntity().getContent(); local 70 in = new GZIPInputStream(in); 73 long total = readAllAndClose(in); 77 System.out.println(String.format("Transferred % 8d bytes in %4d ms",
|
/external/openssh/openbsd-compat/ |
md5.c | 6 * written by Colin Plumb in 1993, no copyright is claimed. 7 * This code is in the public domain; do with it what you wish. 89 /* Process data in MD5_BLOCK_LENGTH-byte chunks. */ 112 /* Convert count to 8 bytes in little endian order. */ 125 * Final wrapup--call MD5Pad, fill in digest and zero out ctx. 147 /* This is the central step in the MD5 algorithm. */ 159 u_int32_t a, b, c, d, in[MD5_BLOCK_LENGTH / 4]; local 162 memcpy(in, block, sizeof(in)); 165 in[a] = (u_int32_t) [all...] |
/external/pdfium/third_party/freetype/src/base/ |
ftgloadr.c | 50 /* several glyphs (those `in the stack'). */ 62 /* re-implement it in one way or the other, which wasted code and */ 354 /* adjust contours count in newest outline */ 377 FT_Outline* in = &source->base.outline; local 380 FT_ARRAY_COPY( out->points, in->points, 382 FT_ARRAY_COPY( out->tags, in->tags, 384 FT_ARRAY_COPY( out->contours, in->contours,
|
/external/pdfium/third_party/zlib_v128/ |
inffast.c | 3 * For conditions of distribution and use, see copyright notice in zlib.h 38 inflate execution time is spent in this routine. 52 BAD -- error in block data 72 z_const unsigned char FAR *in; /* local strm->next_in */ local 73 z_const unsigned char FAR *last; /* have enough input while in < last */ 81 unsigned whave; /* valid bytes in the window */ 99 in = strm->next_in - OFF; 100 last = in + (strm->avail_in - 5); 122 hold += (unsigned long)(PUP(in)) << bits; 124 hold += (unsigned long)(PUP(in)) << bits [all...] |
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
BoundedByteStringTest.java | 5 // Redistribution and use in source and binary forms, with or without 11 // * Redistributions in binary form must reproduce the above 13 // in the documentation and/or other materials provided with the 22 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 27 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 94 InputStream in = new ByteArrayInputStream(pickled); local 95 ObjectInputStream ois = new ObjectInputStream(in);
|
/external/protobuf/src/google/protobuf/util/ |
field_mask_util_test.cc | 5 // Redistribution and use in source and binary forms, with or without 11 // * Redistributions in binary form must reproduce the above 13 // in the documentation and/or other materials provided with the 22 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 27 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 243 FieldMask in, out; local 245 FieldMaskUtil::FromString("baz.quz,bar,foo", &in); 246 FieldMaskUtil::ToCanonicalForm(in, &out); 249 FieldMaskUtil::FromString("foo,bar,foo", &in); [all...] |
/external/python/cpython2/Modules/zlib/ |
inffast.c | 3 * For conditions of distribution and use, see copyright notice in zlib.h 38 inflate execution time is spent in this routine. 52 BAD -- error in block data 72 z_const unsigned char FAR *in; /* local strm->next_in */ local 73 z_const unsigned char FAR *last; /* have enough input while in < last */ 81 unsigned whave; /* valid bytes in the window */ 99 in = strm->next_in - OFF; 100 last = in + (strm->avail_in - 5); 122 hold += (unsigned long)(PUP(in)) << bits; 124 hold += (unsigned long)(PUP(in)) << bits [all...] |