/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
RopeByteStringTest.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 46 * <p>A full test of the result of {@link RopeByteString#substring(int, int)} is found in the 183 InputStream in = new ByteArrayInputStream(pickled); local 184 ObjectInputStream ois = new ObjectInputStream(in);
|
/external/protobuf/src/google/protobuf/io/ |
gzip_stream.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 92 const void* in; local 95 bool ok = sub_stream_->Next(&in, &in_size); 101 zcontext_.next_in = static_cast<Bytef*>(const_cast<void*>(in)); 292 // The loop in Deflate should consume all avail_i [all...] |
/external/sl4a/ScriptingLayerForAndroid/src/org/apache/harmony/niochar/charset/additional/ |
IBM437.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 86 char in = (char)(bArr[i] & 0xFF); local 87 if(in >= 26){ 88 int index = (int)in - 26; 91 cArr[cStart++] = (char)(in & 0xFF); 100 char in = (char)(bb.get() & 0xFF); local 101 if(in >= 26){ 102 int index = (int)in - 26; 105 cb.put((char)(in & 0xFF)) [all...] |
/external/speex/libspeex/ |
fftwrap.c | 6 Redistribution and use in source and binary forms, with or without 13 - Redistributions in binary form must reproduce the above copyright 14 notice, this list of conditions and the following disclaimer in the 24 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR 29 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 30 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 45 static int maximize_range(spx_word16_t *in, spx_word16_t *out, spx_word16_t bound, int len) 51 if (in[i]>max_val) 52 max_val = in[i]; 53 if (-in[i]>max_val 173 float *in; member in struct:fftw_config [all...] |
/external/swiftshader/third_party/LLVM/examples/BrainF/ |
BrainF.h | 46 /// The different symbols in the BrainF language 79 std::istream *in; member in class:BrainF
|
/external/syslinux/core/lwip/src/netif/ppp/ |
md5.c | 16 ** Digest Algorithm" in all material mentioning or referencing this ** 21 ** Data Security, Inc. MD5 Message-Digest Algorithm" in all ** 29 ** These notices must be retained in any copies of any part of this ** 36 #if PPP_SUPPORT /* don't build if not configured for use in lwipopts.h */ 54 ** The message digest is now in mdContext->digest[0...15] ** 59 static void Transform (u32_t *buf, u32_t *in); 131 in the message whose digest is being computed. 136 u32_t in[16]; local 157 mdContext->in[mdi++] = *inBuf++; 162 in[i] = (((u32_t)mdContext->in[ii+3]) << 24) 179 u32_t in[16]; local [all...] |
/external/valgrind/drd/tests/ |
circular_buffer.c | 23 has built-in functions for atomic memory access. 35 /* Counting semaphore representing the number of data items in the buffer. */ 40 int in; member in struct:__anon37594 43 /* Mutex that protects 'in'. */ 98 b->in = 0; 127 int in; local 131 in = fetch_and_add(&b->in, 1); 132 if (in >= BUFFER_MAX) 134 fetch_and_add(&b->in, -BUFFER_MAX) [all...] |
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/programmer/ |
FirmwareImage.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 50 BufferedReader in = new BufferedReader(new InputStreamReader(stream)); local 53 while ((line = in.readLine()) != null) {
|
/external/webp/src/dsp/ |
filters_msa.c | 4 // that can be found in the COPYING file in the root of the source 6 // in the file PATENTS. All contributing project authors may 7 // be found in the AUTHORS file in the root of the source tree. 59 #define SANITY_CHECK(in, out) \ 60 assert(in != NULL); \ 72 const uint8_t* in = data; local 75 SANITY_CHECK(in, out); 78 out[0] = in[0] 134 const uint8_t* in = data; local 162 const uint8_t* in = data; local [all...] |
lossless_msa.c | 4 // that can be found in the COPYING file in the root of the source 6 // in the file PATENTS. All contributing project authors may 7 // be found in the AUTHORS file in the root of the source tree. 250 const uint8_t* in = (const uint8_t*)src; local 258 LD_UB2(in, 16, src0, src1); 262 in += 32; 268 src0 = LD_UB(in); 272 in += 16 [all...] |
/external/webrtc/webrtc/base/ |
stream_unittest.cc | 5 * that can be found in the LICENSE file in the root of the source 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 99 const char in[kSize * 2 + 1] = "0123456789ABCDEFGHIJKLMNOPQRSTUV"; local 118 EXPECT_EQ(SR_SUCCESS, stream->Write(in, kSize, &bytes, NULL)); 122 EXPECT_EQ(SR_BLOCK, stream->Write(in, kSize, &bytes, NULL)); 127 EXPECT_EQ(0, memcmp(in, out, kSize)); 133 EXPECT_EQ(SR_SUCCESS, stream->Write(in, kSize * 2, &bytes, NULL)) 327 const char in[kSize * 2 + 1] = "0123456789ABCDEFGHIJKLMNOPQRSTUV"; local [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
filterbanks.c | 5 * that can be found in the LICENSE file in the root of the source 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 33 int16_t *data_ch1, // Input and output in channel 1, in Q0 34 int16_t *data_ch2, // Input and output in channel 2, in Q0 35 const int16_t *factor_ch1, // Scaling factor for channel 1, in Q1 98 int32_t a1 = 0, b1 = 0, c = 0, in = 0; local 324 int16_t in[FRAMESAMPLES]; local 385 int16_t in[FRAMESAMPLES]; local [all...] |
/external/wpa_supplicant_8/src/crypto/ |
md4-internal.c | 51 * written by Colin Plumb in 1993, no copyright is claimed. 52 * This code is in the public domain; do with it what you wish. 131 /* Process data in MD4_BLOCK_LENGTH-byte chunks. */ 153 /* Convert count to 8 bytes in little endian order. */ 166 * Final wrapup--call MD4Pad, fill in digest and zero out ctx. 188 /* This is the central step in the MD4 algorithm. */ 200 u32 a, b, c, d, in[MD4_BLOCK_LENGTH / 4]; local 203 os_memcpy(in, block, sizeof(in)); 206 in[a] = (u32) [all...] |
/external/zlib/src/contrib/inflate86/ |
inffas86.c | 5 * For conditions of distribution and use, see copyright notice in zlib.h 12 * data, it uses rep movsw, which moves data in 2-byte chunks instead of single 20 * the gcc -S output of zlib-1.2.0/inffast.c. Zlib-1.2.0 is in beta release at 42 inflate execution time is spent in this routine. 56 BAD -- error in block data 81 /* 16 8 */ unsigned char FAR *in; /* esi rsi local strm->next_in */ member in struct:inffast_ar 82 /* 24 12 */ unsigned char FAR *last; /* r9 while in < last */ 110 ar.in = strm->next_in; 111 ar.last = ar.in + (strm->avail_in - PAD_AVAIL_IN); 128 /* align in on 1/2 hold size boundary * [all...] |
/external/zlib/src/examples/ |
gzjoin.c | 7 warranty. In no event will the author be held liable for any damages 16 in a product, an acknowledgment in the product documentation would be 39 decompress all of the input data in order to find the bits in the compressed 48 compressed data in order to connect the streams. The output gzip file 65 /* exit with an error (return a value to allow use in an expression) */ 75 #define CHUNK 32768 /* must be a power of two and fit in unsigned */ 87 local void bclose(bin *in) 89 if (in != NULL) 102 bin *in; local 285 bin *in; \/* buffered input file *\/ local [all...] |
zran.c | 3 * For conditions of distribution and use, see copyright notice in zlib.h 13 stream is provided on the command line. The compressed stream is decoded in 15 in the uncompressed output. The compressed file is left open, and can then 23 point in the uncompressed stream. build_index() works by decompressing the 26 a new access point. If so, that point is saved in a data structure that 29 To use the index, an offset in the uncompressed data is provided, for which 30 the latest accees point at or preceding that offset is located in the index. 31 The input file is positioned to the specified location in the index, and if 34 the decompression then proceeds until the desired offset in the file is 38 Another approach would be to generate the index on demand. In that case 69 off_t in; \/* offset in input file of first full byte *\/ member in struct:point 358 FILE *in; local [all...] |
/frameworks/av/media/libaudioprocessing/ |
AudioResampler.cpp | 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 51 // number of bits used in interpolation multiply - 15 bits avoids overflow 63 void AsmMono16Loop(int16_t *in, int32_t* maxOutPt, int32_t maxInIdx, 66 void AsmStereo16Loop(int16_t *in, int32_t* maxOutPt, int32_t maxInIdx, 373 int16_t *in = mBuffer.i16; 378 out[outputIndex++] += vl * Interp(mX0L, in[0], phaseFraction); 379 out[outputIndex++] += vr * Interp(mX0R, in[1], phaseFraction); 396 AsmStereo16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr, 402 out[outputIndex++] += vl * Interp(in[inputIndex*2-2] 468 int16_t *in = mBuffer.i16; member in namespace:android [all...] |
/frameworks/base/core/java/android/app/ |
PictureInPictureArgs.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 50 * @param aspectRatio the new aspect ratio for the activity in picture-in-picture, must be 65 * @param actions the new actions to show in the picture-in-picture menu. 83 * picture-in-picture, and describe the bounds in window coordinates of activity entering 84 * picture-in-picture that will be visible following the transition. For the best effect, 85 * these bounds should also match the aspect ratio in the arguments [all...] |
PictureInPictureParams.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 29 * Represents a set of parameters used to initialize and update an Activity in picture-in-picture 52 * @param aspectRatio the new aspect ratio for the activity in picture-in-picture, must be 67 * @param actions the new actions to show in the picture-in-picture menu. 85 * picture-in-picture, and describe the bounds in window coordinates of activity enterin [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothAvrcpPlayerSettings.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 121 public BluetoothAvrcpPlayerSettings createFromParcel(Parcel in) { 122 return new BluetoothAvrcpPlayerSettings(in); 130 private BluetoothAvrcpPlayerSettings(Parcel in) { 131 mSettings = in.readInt(); 132 int numSettings = in.readInt(); 134 mSettingsValue.put(in.readInt(), in.readInt()); 159 * The setting must be part of possible settings in {@link getSettings()} [all...] |
/frameworks/base/core/java/android/companion/ |
BluetoothDeviceFilter.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 62 private BluetoothDeviceFilter(Parcel in) { 64 patternFromString(in.readString()), 65 in.readString(), 66 readUuids(in), 67 readUuids(in)); 70 private static List<ParcelUuid> readUuids(Parcel in) { 71 return in.readParcelableList(new ArrayList<>(), ParcelUuid.class.getClassLoader()); 150 public BluetoothDeviceFilter createFromParcel(Parcel in) { [all...] |
/frameworks/base/core/java/android/content/pm/ |
EphemeralResolveInfo.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 82 EphemeralResolveInfo(Parcel in) { 83 mInstantAppResolveInfo = in.readParcelable(null /*loader*/); 85 in.readList(mLegacyFilters, null /*loader*/); 151 public EphemeralResolveInfo createFromParcel(Parcel in) { 152 return new EphemeralResolveInfo(in); 184 EphemeralDigest(Parcel in) { 185 mInstantAppDigest = in.readParcelable(null /*loader*/); 215 public EphemeralDigest createFromParcel(Parcel in) { [all...] |
InstantAppResolveInfo.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 72 InstantAppResolveInfo(Parcel in) { 73 mDigest = in.readParcelable(null /*loader*/); 74 mPackageName = in.readString(); 76 in.readList(mFilters, null /*loader*/); 77 mVersionCode = in.readInt(); 115 public InstantAppResolveInfo createFromParcel(Parcel in) { 116 return new InstantAppResolveInfo(in); 198 InstantAppDigest(Parcel in) { [all...] |
/frameworks/base/core/java/android/database/ |
BulkCursorNative.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 27 * Native implementation of the bulk cursor. This is only for use in implementing 48 IBulkCursor in = (IBulkCursor)obj.queryLocalInterface(descriptor); local 49 if (in != null) { 50 return in;
|
/frameworks/base/core/java/android/ddm/ |
DdmHandleHeap.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 50 * Register for the messages we're interested in. 112 ByteBuffer in = wrapChunk(request); local 114 int when = in.get(); 130 ByteBuffer in = wrapChunk(request); local 132 int when = in.get(); 133 int what = in.get(); 156 ByteBuffer in = wrapChunk(request); local 160 int len = in.getInt() 190 ByteBuffer in = wrapChunk(request); local 231 ByteBuffer in = wrapChunk(request); local [all...] |