/libcore/benchmarks/src/benchmarks/regression/ |
SerializationBenchmark.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 98 ObjectInputStream in = new ObjectInputStream(bais); local 99 in.readObject(); 100 in.close();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
BufferedReaderTest.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 61 private void assertLines(String in, String... lines) throws IOException { 63 = new BufferedReader(new Support_StringReader(in)); 75 assertTrue("Used in tests", true); 83 assertTrue("Used in tests", true); 131 Reader in = new BufferedReader(new Support_StringReader(new String( local 134 in.skip(6); 135 in.mark(14); 136 in.read(new char[14], 0, 14) 205 Reader in = new BufferedReader(new Support_StringReader(new String( local [all...] |
FileInputStreamTest.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 246 FileInputStream in = new FileInputStream(tmpFile); local 248 in.read(null, 0, 0); 253 in.close();
|
/bionic/tests/ |
fcntl_test.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 161 int in = open("/proc/cpuinfo", O_RDONLY); local 162 ASSERT_NE(in, -1); 166 ssize_t bytes_read = splice(in, 0, pipe_fds[1], NULL, 8*1024, SPLICE_F_MORE | SPLICE_F_MOVE); 174 close(in); 211 int in = open("/proc/version", O_RDONLY); local 212 ASSERT_NE(in, -1); 215 ssize_t bytes_read = splice(in, 0, pipe1[1], NULL, 8*1024, SPLICE_F_MORE | SPLICE_F_MOVE);
|
/bootable/recovery/mtdutils/ |
flash_image.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 78 MtdReadContext *in = mtd_read_partition(partition); local 79 if (in == NULL) { 84 int checklen = mtd_read_data(in, check, sizeof(check)); 92 mtd_read_close(in);
|
/build/tools/ |
java-layers.py | 12 sys.stderr.write("the rules defined in the DEPENDENCY_FILE.\n") 22 sys.stderr.write(" to any classes present in the second package, or any\n") 30 sys.stderr.write(" listed in the dependency file.\n") 49 for d in self.transitive: 58 if dep in visited: 61 for v in visited: 67 for upper in dep.uppers: 69 if upper in deps: 72 self.parts = [(dep.lower.split('.'),dep) for dep in deps.itervalues()] 74 for dep in deps.itervalues() 231 sys.stderr.write("%s: Illegal import in package '%s' of '%s'\\n" namespace [all...] |
/build/tools/rgb2565/ |
to565.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 31 unsigned char in[3]; local 34 while(read(0, in, 3) == 3) { 35 out = to565(in[0],in[1],in[2]); 43 unsigned char in[3]; local 55 while(read(0, in, 3) == 3) { 56 int r = in[0] + error[i*3+0] 103 unsigned char in[3]; local [all...] |
/dalvik/dexgen/src/com/android/dexgen/util/ |
DexJarMaker.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 66 // Ignoring deliberately in order to keep the original exception clear. 84 BufferedInputStream in = new BufferedInputStream(new FileInputStream(source)); local 90 while ((curr = in.read()) != -1) {
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
TextSwitcher1.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 51 Animation in = AnimationUtils.loadAnimation(this, local 55 mSwitcher.setInAnimation(in);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
SecureClassLoader2Test.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 65 InputStream in = jar.getInputStream(jar.getEntry("packA/SecurityTest.class")); local 66 byte[] bytes = InputStreamHelper.readFullyAndClose(in);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
BerInputStreamTest.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 82 BerInputStream in = new BerInputStream( local 87 assertEquals(expected, in.getLength()); 116 encoding[1] = (byte) 0x82; // length is encoded in two bytes 120 BerInputStream in = new BerInputStream(new ByteArrayInputStream( local 122 assertEquals(encoding.length, in.getBuffer().length); 140 BerInputStream in = new BerInputStream(encoded, 0, 3); local 141 assertEquals("boolean", 1, in.getLength()); 144 in = new BerInputStream(encoded, 3, 4) 178 ByteArrayInputStream in = new ByteArrayInputStream(encoding) { local [all...] |
BitStringTest.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 64 DerInputStream in = new DerInputStream( local 68 BitString decoded = (BitString) asn1.decode(in); 79 DerInputStream in = new DerInputStream(new ByteArrayInputStream( local 83 BitString decoded = (BitString) asn1.decode(in); 111 // wrong content: unused bits in final octet are not 0 118 DerInputStream in = new DerInputStream(invalid[i]); local 119 ASN1BitString.getInstance().decode(in); 159 DerInputStream in = new DerInputStream local 201 DerInputStream in = new DerInputStream( local [all...] |
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/util/ |
VideoTestWebServer.java | 3 // found in the LICENSE file. 22 // VIDEO_ID must be kept in sync with the id in full_screen_video_test.html. 77 InputStream in = context.getAssets().open(asset); local 81 int len = in.read(buffer, 0, buflen); 85 len = in.read(buffer, 0, buflen);
|
/external/chromium_org/media/base/ |
audio_buffer_converter_unittest.cc | 3 // found in the LICENSE file. 54 void AddInput(const scoped_refptr<AudioBuffer>& in) { 55 if (!in->end_of_stream()) { 56 input_frames_ += in->frame_count(); 58 in->frame_count() * 60 in->sample_rate()); 62 audio_buffer_converter_->AddInput(in); 96 scoped_refptr<AudioBuffer> in = local 98 AddInput(in); 103 scoped_refptr<AudioBuffer> in local 110 scoped_refptr<AudioBuffer> in = local 139 scoped_refptr<AudioBuffer> in = local 146 scoped_refptr<AudioBuffer> in = local 153 scoped_refptr<AudioBuffer> in = local [all...] |
/external/chromium_org/skia/ext/ |
recursive_gaussian_convolution.cc | 3 // found in the LICENSE file. 18 // All of the filter scaling factors are in fixed point with kShiftBits bits of 86 const unsigned char* in = source_data; local 90 ++r, in += source_row_stride, out += output_row_stride) { 94 w[0] = w[1] = w[2] = in[0]; 99 in[0], in[0], in[source_pixel_stride], w, 3, b); 104 w[n] = ForwardFilter<order>(in[byte_index - source_pixel_stride], 105 in[byte_index] [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
FEDropShadow.cpp | 2 * Copyright (C) Research In Motion Limited 2011. All rights reserved. 10 * This library is distributed in the hope that it will be useful, 73 FilterEffect* in = inputEffect(0); local 83 FloatRect drawingRegion = drawingRegionOfInputImage(in->absolutePaintRect()); 94 RefPtr<Image> image = in->asImageBuffer()->copyImage(DontCopyBackingStore);
|
FETile.cpp | 11 * This library is distributed in the hope that it will be useful, 54 FilterEffect* in = inputEffect(0); local 60 setIsAlphaImage(in->isAlphaImage()); 64 FloatRect tileRect = in->maxEffectRect(); 67 if (in->filterEffectType() == FilterEffectTypeSourceInput) { 83 if (ImageBuffer* tileImageBuffer = in->asImageBuffer()) 84 tileImageContext->drawImageBuffer(tileImageBuffer, IntRect(in->absolutePaintRect().location(), tileImageBuffer->size()));
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/ |
__init__.py | 3 # Redistribution and use in source and binary forms, with or without 9 # * Redistributions in binary form must reproduce the above 11 # in the documentation and/or other materials provided with the 20 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 import builders # Why is this in port? namespace
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/ |
IndexDataManager.cpp | 4 // found in the LICENSE file. 26 const GLubyte *in = static_cast<const GLubyte*>(input); local 31 out[i] = in[i]; 47 const GLushort *in = static_cast<const GLushort*>(input); local 52 out[i] = in[i];
|
/external/chromium_org/third_party/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 133 const uint8_t *in = ptr; local [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/x509/ |
pkcs7.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 28 CBS in, content_info, content_type, wrapped_signed_data, signed_data, local 34 /* The input may be in BER format. */ 39 CBS_init(&in, der_bytes, der_len); 41 CBS_init(&in, CBS_data(cbs), CBS_len(cbs)); 45 if (!CBS_get_asn1(&in, &content_info, CBS_ASN1_SEQUENCE) ||
|
/external/chromium_org/third_party/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 */ 350 /* adjust contours count in newest outline */ 373 FT_Outline* in = &source->base.outline; local 376 FT_ARRAY_COPY( out->points, in->points, 378 FT_ARRAY_COPY( out->tags, in->tags, 380 FT_ARRAY_COPY( out->contours, in->contours,
|
/external/chromium_org/third_party/icu/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/chromium_org/third_party/libevent/test/ |
regress_dns.c | 5 * Redistribution and use in source and binary forms, with or without 10 * 2. Redistributions in binary form must reproduce the above copyright 11 * notice, this list of conditions and the following disclaimer in the 19 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 46 #include <netinet/in.h> 173 struct in_addr in; local 174 in.s_addr = htonl(0x7f000001ul); /* 127.0.0.1 */ 177 evdns_resolve_reverse(&in, 0, dns_gethostbyname_cb, NULL) [all...] |
/external/chromium_org/third_party/mesa/src/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...] |