/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
NioByteStringTest.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 155 fail("Should have thrown an exception when given a negative sourceOffset in " 164 fail("Should have thrown an exception when given a negative destinationOffset in " 173 fail("Should have thrown an exception when given a negative size in " 182 fail("Should have thrown an exception when the destinationOffset is too large in " 610 InputStream in = new ByteArrayInputStream(pickled); local [all...] |
/external/protobuf/src/google/protobuf/stubs/ |
strutil.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 54 // occurs with some input values, not all. In any case, _snprintf does the 67 // The definitions of these in ctype.h change based on locale. Since our 68 // string manipulation is all in relation to the protocol buffer and C++ 84 // in 'remove') with the character 'replacewith' 2096 uint32 in = BigEndian::Load32(cur_src) >> 8; local [all...] |
/external/selinux/libsepol/cil/src/ |
cil_tree.c | 4 * Redistribution and use in source and binary forms, with or without 10 * 2. Redistributions in binary form must reproduce the above copyright notice, 11 * this list of conditions and the following disclaimer in the documentation 16 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO 21 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 22 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 25 * The views and conclusions contained in the software and documentation are those 407 cil_log(CIL_ERR, "Unknown operator in expression\n"); 480 cil_log(CIL_ERR, "Unknown operand in expression\n"); 489 cil_log(CIL_ERR, "Unknown flavor in expression\n") 692 struct cil_in *in = node->data; local [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
GattServerFacade.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 102 int in = sGattServerCount; local 103 mBluetoothGattServerList.put(in, mGattServer); 104 return in; [all...] |
/external/sonic/ |
sonic.c | 282 /* Set the sample rate of the stream. This will cause samples buffered in the stream to 299 /* Set the num channels of the stream. This will cause samples buffered in the stream to 544 has. No extra delay will be added to the output, but flushing in the middle of 577 /* Return the number of samples in the output buffer */ 608 /* Find the best frequency match in the range, and given a sample skip multiple. 680 speed, we down sample by an integer factor get in the 11KHz range, and then 797 /* Just move the new samples in the output buffer to the pitch buffer */ 884 short *in, 888 short left = *in; 889 short right = in[stream->numChannels] 909 short *in, *out; local [all...] |
/external/swiftshader/src/OpenGL/libGL/ |
Program.cpp | 4 // you may not use this file except in compliance with the License. 9 // Unless required by applicable law or agreed to in writing, software 1128 int in = input->reg; local 1133 ASSERT(in >= 0); 1135 if(in + registers > MAX_VARYING_VECTORS) 1151 vertexBinary->setOutput(out + i, components, sw::Shader::Semantic(sw::Shader::USAGE_COLOR, in + i)); 1158 pixelBinary->setInput(in + i, components, sw::Shader::Semantic()); [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/CppBackend/ |
CPPBackend.cpp | 126 inline void in() { indent_level++; } function in class:__anon32756::CppWriter 370 // See if the type has a name in the symboltable and build accordingly 440 Out << '{'; in(); nl(Out); 526 in(); nl(Out) << "/*Result=*/" << retTypeName; 673 // or its already in the constant list then we've printed it already and we [all...] |
/external/swiftshader/third_party/LLVM/test/MC/X86/ |
x86-64.s | 274 in (%dx), %al label 276 in (%dx), %ax label 278 in (%dx), %eax label 517 // rdar://8482675 - 32-bit mem operand support in 64-bit mode (0x67 prefix)
|
/external/testng/src/main/java/org/testng/xml/ |
TestNGContentHandler.java | 102 System.out.println("WARNING: couldn't find in classpath " + publicId 503 * this tag in one place. If I am only doing something when the tag opens, 504 * the code is inlined below in the startElement() method. 553 // will complain, but in the meantime, dodge the NPE so SAX 631 String in = m_currentInclude.invocationNumbers; local 633 if (!Utils.isStringEmpty(in)) { 634 include = new XmlInclude(name, stringToList(in), m_currentIncludeIndex++); 686 private List<Integer> stringToList(String in) { 687 String[] numbers = in.split(" ");
|
/external/webp/src/dsp/ |
lossless_enc_sse2.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. 32 const __m128i in = _mm_loadu_si128((__m128i*)&argb_data[i]); // argb local 33 const __m128i A = _mm_srli_epi16(in, 8); // 0 a 0 g 36 const __m128i out = _mm_sub_epi8(in, C); 62 const __m128i in = _mm_loadu_si128((__m128i*)&argb_data[i]); // argb local 63 const __m128i A = _mm_and_si128(in, mask_ag); // a 0 g 397 const __m128i in = _mm_loadu_si128((const __m128i*)&row[x]); local 416 const __m128i in = _mm_loadu_si128((const __m128i*)&row[x]); local 432 const __m128i in = _mm_loadu_si128((const __m128i*)&row[x]); local 447 const __m128i in = _mm_loadu_si128((const __m128i*)&row[x]); local [all...] |
/external/webp/src/enc/ |
frame_enc.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. 31 // we allow 2k of extra head-room in PARTITION0 limit. 34 typedef struct { // struct for organizing convergence in either size or PSNR 53 : 40.; // default, just in case 475 const uint8_t* const in = it->yuv_in_; local 477 // Note: not totally accurate at boundary. And doesn't include in-loop filter [all...] |
/external/webrtc/webrtc/voice_engine/test/android/android_test/src/org/webrtc/voiceengine/test/ |
AndroidTest.java | 5 * in the LICENSE file in the root of the source tree. An additional
6 * intellectual property rights grant can be found in the file PATENTS. All
7 * contributing project authors may be found in the AUTHORS file in the root of
379 Create(); // Error logging is done in native API wrapper
406 Delete(); // Error logging is done in native API wrapper
724 FileInputStream in = null;
local 726 in = new FileInputStream(fr);
732 // in.read(playBuffer); [all...] |
/external/xz-embedded/linux/lib/xz/ |
xz_dec_lzma2.c | 35 * In multi-call mode, also these are true: 41 * in which the dictionary variables address the actual output 48 /* Old position in buf (before decoding more data) */ 51 /* Position in buf */ 64 * End of the dictionary buffer. In multi-call mode, this is 65 * the same as the dictionary size. In single-call mode, this 71 * Size of the dictionary as specified in Block Header. This is used 78 * Maximum allowed dictionary size in multi-call mode. 79 * This is ignored in single-call mode. 109 const uint8_t *in; member in struct:rc_dec [all...] |
/frameworks/av/media/libaudioprocessing/ |
AudioMixer.cpp | 6 ** you may not use this file except in compliance with the License. 11 ** Unless required by applicable law or agreed to in writing, software 81 // Set to default copy buffer size in frames for input processing. 97 // The value of 1 << x is undefined in C when x >= 32. 210 t->in = NULL; 491 * even if there is a nonzero floating point increment (in that case, the volume 497 * @param newVolume set volume target in floating point [0.0, 1.0]. 1194 const int16_t *in = static_cast<const int16_t *>(t->in); local 1286 const int16_t *in = static_cast<int16_t const *>(t->in); local 1613 const int16_t *in = b.i16; local 1840 const TI *in = reinterpret_cast<TI*>(b.raw); local 1915 const TI *in = static_cast<const TI *>(t->in); local [all...] |
/frameworks/base/core/java/android/app/backup/ |
FullBackup.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 47 * binary format. Nothing in this namespace is part of any API; it's all 119 * read from it in this case. 132 * in this parameter. If this parameter is negative then neither 134 * @param mtime A timestamp in the standard Unix epoch that will be imposed as the 145 // anything from the pipe in this case. Just create the directory here and 156 // in practice this will only be for the default semantic directories, 170 FileInputStream in = new FileInputStream(data.getFileDescriptor()); local 173 int got = in.read(buffer, 0, toRead) [all...] |
/frameworks/base/core/java/android/os/ |
Binder.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 58 * <p>You must keep in mind the situations in which your process 160 * the remote interface is a built-in system component that can never be 161 * upgraded. In particular, this <em>must never</em> be called for 218 * of the caller. It is distinct from {@link #getCallingUid()} in that a 258 * Convenience method for running the provided action enclosed in 282 * Convenience method for running the provided action enclosed in 297 return null; // overridden by throwing in finally bloc 484 ParcelFileDescriptor in = data.readFileDescriptor(); local [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
CodecTest.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 83 InputStream in = p.getInputStream(); local 85 while ( ( ch = in.read() ) != -1 ){ 192 //in here 897 // it's not interrupted in the middle. If true, that is an exceptional case to investigate.
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
MediaPlayerPerformance.java | 5 * use this file except in compliance with the License. You may obtain a copy of 10 * Unless required by applicable law or agreed to in writing, software 163 // preview callbacks in the queue after quit is called. The preview 327 InputStream in = p.getInputStream(); local 329 while ((ch = in.read()) != -1) { 339 // media.log process in the first line. Update the parsing
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
PerformFullTransportBackupTask.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 109 // This is true when a backup operation for some package is in progress. 133 Slog.d(TAG, "Skipping full backup. A backup is already in progress."); 163 // Cull any packages that are found in the queue but now aren't supposed 178 // Cull any packages in the 'stopped' state: they've either just been 179 // installed or have explicitly been force-stopped by the user. In both 359 FileInputStream in = new FileInputStream( local 383 nRead = in.read(buffer); 385 Slog.v(TAG, "in.read(buffer) from app: " + nRead) [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
AutomaticBrightnessController.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 52 // non-zero, which in turn ensures that the total weight is non-zero. 55 // Debounce for sampling user-initiated changes in display brightness to ensure 87 // Initial light sensor event rate in milliseconds. 90 // Steady-state light sensor event rate in milliseconds. 93 // The current light sensor event rate in milliseconds. 96 // Stability requirements in milliseconds for accepting a new brightness level. This is used 99 // brightness changes occur in response to an observed change in light level that exceeds th 548 final float in = value; local [all...] |
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
PackageDexUsage.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 77 // Instead we put a special marker in the dex usage file in order to recognize the case and 85 // recorded in a previous version and we didn't have a chance to update its usage. 174 // Secondary dex files are stored in the app user directory. A change in 297 BufferedReader in = null; local 299 in = new BufferedReader(new InputStreamReader(file.openRead())); 300 read(in); 312 BufferedReader in = new BufferedReader(reader); local [all...] |
/frameworks/ml/nn/common/operations/internal/optimized/ |
optimized_ops.h | 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 135 // NdArrayDesc<N> is basically identical to Dims<N> defined in types.h. 141 // The "extent" of each dimension. Indices along dimension d must be in the 166 // Returns the adjusted dims as instances of NdArrayDesc in 'desc0_out' and 173 // Dims<N> refer to shapes in reverse order. In this case, input0_dims will be 184 // array0 to be referenced *at any index* in dimension d and still access the 340 // is because the current --variable_batch hack consists in overwriting the 342 // array of which dimension is the batch dimension in it 409 int in = 0; local [all...] |
/frameworks/native/opengl/libagl/ |
primitives.cpp | 6 ** you may not use this file except in compliance with the License. 11 ** Unless required by applicable law or agreed to in writing, software 601 // in a few cases we won't render the triangle (if culled). 866 // original list of vertices (polygon to clip, in fact this 868 vertex_t* in[3] = { v0, v1, v2 }; local 877 vertex_t** ivl = in; 879 // 3 input vertices, 0 in the output list, first plane 882 // User clip-planes first, the clipping is always done in eye-coordinate [all...] |
/hardware/intel/common/libmix/mix_audio/src/ |
mixaudio.c | 4 The source code contained or described herein and all documents related to the source code ("Material") are owned by Intel Corporation or its suppliers or licensors. Title to the Material remains with Intel Corporation or its suppliers and licensors. The Material contains trade secrets and proprietary and confidential information of Intel or its suppliers and licensors. The Material is protected by worldwide copyright and trade secret laws and treaty provisions. No part of the Material may be used, copied, reproduced, modified, published, uploaded, posted, transmitted, distributed, or disclosed in any way without Intel?s prior express written permission. 6 No license under any patent, copyright, trade secret or other intellectual property right is granted to or conferred upon you by disclosure or delivery of the Materials, either expressly, by implication, inducement, estoppel or otherwise. Any license under such intellectual property rights must be express and approved by Intel in writing. 27 * <listitem>mix_audio_stop_drain() is called after the last buffer is passed for decoding in with mix_audio_decode(). </listitem> 31 * Since mix_audio_decode() is a blocking call during playback, the following methods are called in a seperate thread to control progress: 176 g_message("MixAudio running in stub mode!"); 260 // value as describe in GLogLevelFlags structure. Not that lsb in GLogLevelFlags is not "ERROR" and 261 // here we shifted the log_level to ignore the first 2 values in GLogLevelFlags, making ERROR align to 297 We are not going to check the thread lock anymore in this method. 299 object and in that case, this method won't be called 1482 struct iovec *in = (struct iovec*)g_alloca(sizeof(struct iovec) * iovincnt); local 1602 struct iovec *in = (struct iovec*)g_alloca(sizeof(struct iovec) * iovincnt); local [all...] |
/hardware/libhardware/modules/usbaudio/ |
audio_hal.c | 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 88 alsa_device_profile * profile; /* Points to the alsa_device_profile in the audio_device */ 96 audio_channel_mask_t hal_channel_mask; /* USB devices deal in channel counts, not masks 107 size_t conversion_buffer_size; /* in bytes */ 119 alsa_device_profile * profile; /* Points to the alsa_device_profile in the audio_device */ 127 audio_channel_mask_t hal_channel_mask; /* USB devices deal in channel counts, not masks 135 /* We may need to read more data from the device in order to data reduce to 16bit, 4chan */ 139 size_t conversion_buffer_size; /* in bytes */ 207 * associated key/value pair is not found in the provided string 713 const struct stream_in * in = ((const struct stream_in*)stream); local 719 const struct stream_in *in = (const struct stream_in*)stream; local 739 struct stream_in *in = (struct stream_in *)stream; local 772 struct stream_in *in = (struct stream_in *)stream; local 814 struct stream_in *in = (struct stream_in *)stream; local 858 struct stream_in * in = (struct stream_in *)stream; local 943 struct stream_in *in = (struct stream_in *)calloc(1, sizeof(struct stream_in)); local 1092 struct stream_in *in = (struct stream_in *)stream; local [all...] |