/external/pdfium/core/src/fxcodec/codec/ |
fx_codec_jpx_opj.cpp | 3 // found in the LICENSE file. 410 unsigned char *inbuf, *outbuf, *in, *out; local 413 in = inbuf = FX_Alloc(unsigned char, nr_samples); 419 *in++ = (unsigned char) * r++; 420 *in++ = (unsigned char) * g++; 421 *in++ = (unsigned char) * b++; 435 unsigned short *inbuf, *outbuf, *in, *out; local 438 in = inbuf = FX_Alloc(unsigned short, nr_samples); 444 *in++ = (unsigned short) * r++; 445 *in++ = (unsigned short) * g++ 461 unsigned char *in, *inbuf, *out, *outbuf; local 513 cmsHPROFILE in, out; local [all...] |
/external/protobuf/java/src/test/java/com/google/protobuf/ |
CodedInputStreamTest.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 70 * reading in small blocks. 79 public SmallBlockInputStream(InputStream in, int blockSize) { 80 super(in); 355 * Test that a bug in skipRawBytes() has been fixed: if the skip skip 597 CodedInputStream in = CodedInputStream.newInstance(bytes, 3, 5); 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 321 cil_log(CIL_ERR, "Unknown operator in expression\n"); 394 cil_log(CIL_ERR, "Unknown operand in expression\n"); 403 cil_log(CIL_ERR, "Unknown flavor in expression\n") 606 struct cil_in *in = node->data; local [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/webp/src/dsp/ |
lossless_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. 163 const __m128i in = _mm_loadu_si128((__m128i*)&argb_data[i]); local 164 const __m128i in_00g0 = _mm_and_si128(in, mask); // 00g0|00g0|... 168 const __m128i out = _mm_sub_epi8(in, in_0g0g); 179 const __m128i in = _mm_loadu_si128((__m128i*)&argb_data[i]); local 180 const __m128i in_00g0 = _mm_and_si128(in, mask); // 00g0|00g0|.. 218 const __m128i in = _mm_loadu_si128((__m128i*)&argb_data[i]); local 257 const __m128i in = _mm_loadu_si128((__m128i*)&argb_data[i]); local 291 const __m128i* in = (const __m128i*)src; local 320 const __m128i* in = (const __m128i*)src; local 355 const __m128i* in = (const __m128i*)src; local 393 const __m128i* in = (const __m128i*)src; local [all...] |
/external/webp/src/enc/ |
frame.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. 30 // we allow 2k of extra head-room in PARTITION0 limit. 33 typedef struct { // struct for organizing convergence in either size or PSNR 52 : 40.; // default, just in case 476 const uint8_t* const in = it->yuv_in_; local 478 // Note: not totally accurate at boundary. And doesn't include in-loop filter [all...] |
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
EffectBundle.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 39 "null pointer returned by %s in %s\n\n\n\n", callingFunc, calledFunc);\ 43 "bad alignment returned by %s in %s\n\n\n\n", callingFunc, calledFunc);\ 47 "bad number of samples returned by %s in %s\n\n\n\n", callingFunc, calledFunc);\ 51 "out of range returned by %s in %s\n", callingFunc, calledFunc);\ 208 // If this is the first create in this session 210 ALOGV("\tEffectCreate - This is the first effect in current sessionId %d sessionNo %d", 255 /* Saved strength is used to return the exact strength that was used in the set to the get 396 // Disable effect, in this case ignore errors (return codes 2876 LVM_INT16 *in = (LVM_INT16 *)inBuffer->raw; local [all...] |
/frameworks/av/services/audioflinger/ |
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 85 // Set to default copy buffer size in frames for input processing. 101 // The value of 1 << x is undefined in C when x >= 32. 214 t->in = NULL; 489 * even if there is a nonzero floating point increment (in that case, the volume 495 * @param newVolume set volume target in floating point [0.0, 1.0]. 1193 const int16_t *in = static_cast<const int16_t *>(t->in); local 1285 const int16_t *in = static_cast<int16_t const *>(t->in); local 1620 const int16_t *in = b.i16; local 1857 const TI *in = reinterpret_cast<TI*>(b.raw); local 1932 const TI *in = static_cast<const TI *>(t->in); local [all...] |
Effects.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 34 // Note: the following macro is used for extremely verbose logging message. In 121 // first non destroyed handle is considered in control 129 // if inserted in first place, move effect control from previous owner to this handle 141 ALOGV("addHandle() %p added handle %p in position %d", this, handle, i); 159 ALOGV("removeHandle() %p removed handle %p in position %d", this, handle, i); 162 // if removed from first place, move effect control from this handle to next in line 183 // the first valid handle in the list has control over the module 279 // do the actual processing in the effect engin 301 int16_t *in = mConfig.inputCfg.buffer.s16; 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 76 InputStream in = p.getInputStream(); local 78 while ( ( ch = in.read() ) != -1 ){ 185 //in here 849 // 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/packages/PrintSpooler/src/com/android/printspooler/ui/ |
FusedPrintersProvider.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 215 // Some of the found printers may have be a printer that is in the 553 final FileInputStream in; local 555 in = mStatePersistFile.openRead(); 566 parser.setInput(in, StandardCharsets.UTF_8.name()); 579 IoUtils.closeQuietly(in);
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsState.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 /** Non-binary value will be written in this attribute. */ 87 * KXmlSerializer won't like some characters. We encode such characters in base64 and 88 * store in this attribute. 93 // This was used in version 120 and before. 465 FileInputStream in; local 470 in = new AtomicFile(mStatePersistFile).openRead(); 477 parser.setInput(in, StandardCharsets.UTF_8.name()); 484 IoUtils.closeQuietly(in); [all...] |
/frameworks/base/services/backup/java/com/android/server/backup/ |
PackageManagerBackupAgent.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 79 // version & signature info of each app in a restore set 110 // in backup. This set changes as apps are installed & removed. 247 * String incremental -- the incremental release name of the OS stored in 285 // metadata again. In either case, take it out of mExisting so that 308 // marshal the version code in a canonical form 325 // At this point, the only entries in 'existing' are apps that were 326 // mentioned in the saved state file, but appear to no longer be present 358 // set of app signatures associated with each backed-up app in this restor 527 DataInputStream in = new DataInputStream(inbuffer); local [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
TaskPersister.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 /** The maximum number of entries to keep in the queue before draining it automatically. */ 257 // See if it is in the write queue 350 final XmlPullParser in = Xml.newPullParser(); local 351 in.setInput(reader); 354 while (((event = in.next()) != XmlPullParser.END_DOCUMENT) && 356 final String name = in.getName(); 361 TaskRecord.restoreFromXml(in, mStackSupervisor); 383 XmlUtils.skipCurrentTag(in); [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 56 // Period of time in which to consider light samples in milliseconds. 65 // The intercept used for the weighting calculation. This is used in order to keep all possible 71 // non-zero, which in turn ensures that the total weight is non-zero. 91 // Debounce for sampling user-initiated changes in display brightness to ensure 119 // Light sensor event rate in milliseconds. 122 // Stability requirements in milliseconds for accepting a new brightness level. This is used 125 // brightness changes occur in response to an observed change in light level that exceeds th 498 final float in = value; local [all...] |
/frameworks/base/services/core/java/com/android/server/net/ |
NetworkStatsCollection.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 108 * Return first atomic bucket in this collection, which is more conservative 157 * Combine all {@link NetworkStatsHistory} in this collection which match 166 * Combine all {@link NetworkStatsHistory} in this collection which match 195 * Summarize all {@link NetworkStatsHistory} in this collection which match 261 * Record all {@link NetworkStatsHistory} contained in the given collection 294 public void read(InputStream in) throws IOException { 295 read(new DataInputStream(in)); 298 public void read(DataInputStream in) throws IOException 369 DataInputStream in = null; local 408 DataInputStream in = null; local [all...] |
/frameworks/base/wifi/java/android/net/wifi/passpoint/ |
WifiPasspointDmTree.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 63 public SpFqdn(Parcel in) { 64 readFromParcel(in); 76 public void readFromParcel(Parcel in) { 77 if (in == null) { 80 nodeName = in.readString(); 81 perProviderSubscription = in.readParcelable(PerProviderSubscription.class 87 public SpFqdn createFromParcel(Parcel in) { 88 return new SpFqdn(in); [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/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/x86/ |
vp9_loopfilter_intrin_sse2.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. 1539 unsigned char *in = src[idx8x8]; 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 60 // fixed channel count of 8 limitation (for data processing in AudioFlinger) 88 alsa_device_profile * profile; /* Points to the alsa_device_profile in the audio_device */ 101 size_t conversion_buffer_size; /* in bytes */ 113 alsa_device_profile * profile; /* Points to the alsa_device_profile in the audio_device */ 123 /* We may need to read more data from the device in order to data reduce to 16bit, 4chan */ 127 size_t conversion_buffer_size; /* in bytes */ 144 * associated key/value pair is not found in the provided string. 215 void lock_input_stream(struct stream_in *in) 645 const struct stream_in * in = ((const struct stream_in*)stream); local 651 const struct stream_in *in = (const struct stream_in*)stream; local 671 struct stream_in *in = (struct stream_in *)stream; local 695 struct stream_in *in = (struct stream_in *)stream; local 737 struct stream_in *in = (struct stream_in *)stream; local 781 struct stream_in * in = (struct stream_in *)stream; local 867 struct stream_in *in = (struct stream_in *)calloc(1, sizeof(struct stream_in)); local 967 struct stream_in *in = (struct stream_in *)stream; local [all...] |
/hardware/qcom/audio/hal/ |
audio_hw.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 190 struct stream_in *in; member in union:stream_ptr
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
BigDecimalTest.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 115 * BigDecimal does not support a + sign in the exponent when converting 731 assertTrue("123E-104 is not positive in signum()", sign.signum() == 1); 733 assertTrue("-1234.3959 is not negative in signum()", 736 assertTrue("000D is not zero in signum()", sign.signum() == 0); 884 char[] in = { '1', '5', '6', '7', '8', '7', '.', '0', '0' }; local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
CharsetTest.java | 5 * (the "License"); you may not use this file except in compliance with 10 * Unless required by applicable law or agreed to in writing, software 174 // This test uses REPLACE mode, so we get the U+FFFD replacement character in the result. 176 // Accepts a big-endian BOM and includes U+FEFF in the decoded output. 186 // Accepts a little-endian BOM and includes U+FEFF in the decoded output. 189 // This test uses REPLACE mode, so we get the U+FFFD replacement character in the result. 223 // This test uses REPLACE mode, so we get the U+FFFD replacement character in the result. 238 // This test uses REPLACE mode, so we get the U+FFFD replacement character in the result. 249 // This test uses REPLACE mode, so we get the U+FFFD replacement character in the result. 264 // This test uses REPLACE mode, so we get the U+FFFD replacement character in the result 286 ByteBuffer in = ByteBuffer.wrap(toByteArray(byteInts)); local [all...] |