/external/chromium_org/third_party/opus/src/celt/tests/ |
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 54 void check(kiss_fft_scalar * in,kiss_fft_scalar * out,int nfft,int isinverse) 69 ansr += in[k] * re; 84 void check_inv(kiss_fft_scalar * in,kiss_fft_scalar * out,int nfft,int isinverse) 99 ansr += in[k] * re 120 kiss_fft_scalar * in = (kiss_fft_scalar*)malloc(buflen); local [all...] |
/external/chromium_org/third_party/opus/src/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/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
LiteTest.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 56 // We put this in setUp() rather than in its own test method because we 67 // time, leaving not much to do in this method. Let's just do some random 138 ObjectInputStream in = new ObjectInputStream(bais) local [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/sample/chromium/ |
chrome_subsetter.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 29 explicit HexTo(const char* in) { 31 ss << std::hex << in; local
|
/external/chromium_org/third_party/skia/gm/rebaseline_server/ |
compare_rendered_pictures_test.py | 7 found in the LICENSE file. 11 TODO(epoger): Create a command to update the expected results (in 13 1. examine the results in self._output_dir_actual and make sure they are ok 29 import gm_json # must import results first, so that gm_json will be in sys.path namespace 41 'only-in-before.skp': 128, 47 'only-in-after.skp': 128, 71 for skpname, redvalue in skpdict.iteritems(): 94 red: Value of red color channel in image, 0-255. 95 green: Value of green color channel in image, 0-255. 96 blue: Value of blue color channel in image, 0-255 [all...] |
/external/chromium_org/third_party/sqlite/src/tool/ |
speedtest16.c | 80 printf("sqlite3_prepare16_v2() returns %d in %llu cycles\n", rc, iElapse); 87 printf("sqlite3_step() returns %d after %d rows in %llu cycles\n", 93 printf("sqlite3_finalize() returns %d in %llu cycles\n", rc, iElapse); 105 FILE *in; local 117 in = fopen(argv[2], "r"); 118 fseek(in, 0L, SEEK_END); 119 nSql = ftell(in); 121 fseek(in, 0L, SEEK_SET); 122 nSql = fread(zSql, 1, nSql, in); 132 printf("sqlite3_open16() returns %d in %llu cycles\n", rc, iElapse) [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
md5.c | 4 * written by Colin Plumb in 1993, no copyright is claimed. 5 * This code is in the public domain; do with it what you wish. 18 /* This code was modified in 1997 by Jim Kingdon of Cyclic Software to 23 copyright in any changes I have made; this code remains in the 90 t = (t >> 3) & 0x3f; /* Bytes already in shsInfo->data */ 95 unsigned char *p = ctx->in + t; 103 yasm_md5_transform (ctx->buf, ctx->in); 108 /* Process data in 64-byte chunks */ 111 memcpy(ctx->in, buf, 64) 191 unsigned long in[16]; local [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/preprocs/raw/ |
raw-preproc.c | 6 * Redistribution and use in source and binary forms, with or without 11 * 2. Redistributions in binary form must reproduce the above copyright 12 * notice, this list of conditions and the following disclaimer in the 18 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR OTHER CONTRIBUTORS BE 22 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 24 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 37 FILE *in; member in struct:yasm_preproc_raw 60 preproc_raw->in = f; 84 if (!fgets(p, bufsize-(p-buf), preproc_raw->in)) { 85 if (ferror(preproc_raw->in)) { [all...] |
/external/chromium_org/third_party/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 unsigned char FAR *in; /* local strm->next_in */ local 73 unsigned char FAR *last; /* while in < last, enough input available */ 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/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 */ 353 /* adjust contours count in newest outline */ 376 FT_Outline* in = &source->base.outline; local 379 FT_ARRAY_COPY( out->points, in->points, 381 FT_ARRAY_COPY( out->tags, in->tags, 383 FT_ARRAY_COPY( out->contours, in->contours,
|
/external/guava/guava-tests/test/com/google/common/io/ |
LittleEndianDataOutputStreamTest.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 42 /* Write out various test values in LITTLE ENDIAN FORMAT */ 61 DataInput in = new DataInputStream(new ByteArrayInputStream(data)); local 63 /* Read in various values NORMALLY */ 65 in.readFully(b); 68 assertEquals(true, in.readBoolean()); 69 assertEquals(false, in.readBoolean()); 70 assertEquals(100, in.readByte()); 71 assertEquals(-100, in.readByte()) 92 DataInput in = new DataInputStream(new ByteArrayInputStream(data)); local 109 DataInput in = new DataInputStream(new ByteArrayInputStream(data)); local 126 DataInput in = new DataInputStream(new ByteArrayInputStream(data)); local [all...] |
/external/icu/icu4c/source/samples/layout/ |
GnomeFontInstance.cpp | 182 le_int32 in, out; local 184 for (in = 0, out = 0; in < glyphCount; in += 1) { 185 TTGlyphID glyph = LE_GET_GLYPH(glyphs[in]); 189 glyph_t[out].x = x + positions[in*2]; 190 glyph_t[out].y = y + positions[in*2 + 1];
|
/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/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 54 void check(kiss_fft_cpx * in,kiss_fft_cpx * out,int nfft,int isinverse) 78 ansr += in[k].r * re - in[k].i * im; 79 ansi += in[k].r * im + in[k].i * re 99 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 54 void check(kiss_fft_scalar * in,kiss_fft_scalar * out,int nfft,int isinverse) 69 ansr += in[k] * re; 84 void check_inv(kiss_fft_scalar * in,kiss_fft_scalar * out,int nfft,int isinverse) 99 ansr += in[k] * re 120 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/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
run-command.h | 19 * Using .in, .out, .err: 23 * .in: returns the writable pipe end; parent writes to it, 30 * .in: a readable FD, becomes child's stdin 33 * The specified FD is closed by start_command(), even in case 36 int in; member in struct:child_process
|
/external/lzma/xz-embedded/ |
xz.h | 26 /* In Linux, this is used to make extern functions static when needed. */ 66 * return code is possible only in multi-call mode 70 * is still possible in multi-call mode by simply 74 * which is not used in the kernel. Unsupported 85 * only in multi-call mode (XZ_PREALLOC or 91 * compression options. In the decoder this means 99 * In multi-call mode, XZ_BUF_ERROR is returned when two consecutive calls 106 * In single-call mode, XZ_BUF_ERROR is returned only when the output buffer 107 * is too small or the compressed input is corrupt in a way that makes the 126 * @in: Beginning of the input buffer. This may be NULL if and onl 141 const uint8_t *in; member in struct:xz_buf [all...] |
/external/mesa3d/src/gallium/drivers/nv50/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 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF 19 * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 223 BasicBlock *in = func->bbArray[j]; local 224 Instruction *exit = in->getExit(); 227 in->binSize -= 8; 233 in->remove(exit) [all...] |
/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/okhttp/okio/src/test/java/okio/ |
OkioTest.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 44 InputStream in = new ByteArrayInputStream( local 48 Source source = Okio.source(in);
|