/external/boringssl/src/crypto/bytestring/ |
ber.c | 5 * copyright notice and this permission notice appear in all copies. 9 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 11 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 12 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 27 /* cbs_find_ber walks an ASN.1 structure in |orig_in| and sets |*ber_found| 29 * |in| is not changed. It returns one on success (i.e. |*ber_found| was set) 32 CBS in; local 38 CBS_init(&in, CBS_data(orig_in), CBS_len(orig_in)); 41 while (CBS_len(&in) > 0) { 46 if (!CBS_get_any_ber_asn1_element(&in, &contents, &tag, &header_len)) [all...] |
/external/boringssl/src/crypto/cipher/ |
aead_test.cc | 5 * copyright notice and this permission notice appear in all copies. 9 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 11 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 12 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 33 // IN: 6a4583908d 53 std::vector<uint8_t> key, nonce, in, ad, ct, tag; local 56 !t->GetBytes(&in, "IN") || 72 std::vector<uint8_t> out(in.size() + EVP_AEAD_max_overhead(aead)); 77 bssl::vector_data(&in), in.size() [all...] |
cipher_test.cc | 8 * Redistribution and use in source and binary forms, with or without 15 * 2. Redistributions in binary form must reproduce the above copyright 16 * notice, this list of conditions and the following disclaimer in 23 * for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)" 31 * nor may "OpenSSL" appear in their names without prior written 37 * for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)" 42 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR 47 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 49 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 113 const std::vector<uint8_t> *in, *out local [all...] |
/external/boringssl/src/crypto/ |
mem.c | 9 * apply to all code found in this distribution, be it the RC4, RSA, 14 * Copyright remains Eric Young's, and as such any Copyright notices in 16 * If this package is used in a product, Eric Young should be given attribution 18 * This can be in the form of a textual message at program startup or 19 * in documentation (online or textual) provided with the package. 21 * Redistribution and use in source and binary forms, with or without 26 * 2. Redistributions in binary form must reproduce the above copyright 27 * notice, this list of conditions and the following disclaimer in the 42 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 46 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRIC 137 const uint8_t *in = ptr; local [all...] |
/external/boringssl/src/decrepit/blowfish/ |
blowfish.c | 10 * apply to all code found in this distribution, be it the RC4, RSA, 15 * Copyright remains Eric Young's, and as such any Copyright notices in 17 * If this package is used in a product, Eric Young should be given attribution 19 * This can be in the form of a textual message at program startup or 20 * in documentation (online or textual) provided with the package. 22 * Redistribution and use in source and binary forms, with or without 27 * 2. Redistributions in binary form must reproduce the above copyright 28 * notice, this list of conditions and the following disclaimer in the 43 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 47 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRIC 441 uint32_t *p, ri, in[2]; local [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 */ 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/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/jmonkeyengine/engine/src/core/com/jme3/animation/ |
Animation.java | 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 23 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 28 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 69 * @param length Length in seconds of the animation. 85 * Returns the length in seconds of this animation 87 * @return the length in seconds of this animation 156 * Returns the tracks set in {@link #setTracks(com.jme3.animation.Track[]) } 197 InputCapsule in = im.getCapsule(this); local [all...] |
Pose.java | 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 23 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 28 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 120 InputCapsule in = i.getCapsule(this); local 121 name = in.readString("name", ""); 122 targetMeshIndex = in.readInt("meshIndex", -1); 123 offsets = (Vector3f[]) in.readSavableArray("offsets", null) [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
Line.java | 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 23 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 28 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 118 InputCapsule in = im.getCapsule(this); local 120 start = (Vector3f) in.readSavable("startVertex", null); 121 end = (Vector3f) in.readSavable("endVertex", null);
|
/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/libvncserver/vncterm/ |
VNCommand.c | 40 int in[2],out[2],err[2],pid; local 41 if(pipe(in)<0 || pipe(out)<0 || pipe(err)<0) { 48 dup2(in[0],0); 73 input_pipe=fdopen(in[1],"w");
|
/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/src/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/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/rule/ |
MockWebServerRuleTest.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 InputStream in = connection.getInputStream(); local 76 BufferedReader reader = new BufferedReader(new InputStreamReader(in));
|