/packages/apps/Music/tests/src/com/android/music/functional/ |
TestSongs.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 87 InputStream in = new FileInputStream(src); local 90 // Transfer bytes from in to out 93 while ((len = in.read(buf)) > 0) { 96 in.close(); 116 * Verification: The new playlist title should be sorted in alphabetical order 156 //This only check if there only 1 ringtone set in music player
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
CaptureLoader.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 43 DataInputStream in = null; local 53 in = new DataInputStream(new BufferedInputStream(socket.getInputStream())); 59 int width = in.readInt(); 60 int height = in.readInt(); 64 while (readLayer(in, psd)) { 77 if (in != null) { 78 in.close(); 91 private static boolean readLayer(DataInputStream in, PsdFile psd) 131 BufferedInputStream in = null; local [all...] |
ViewHierarchyLoader.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 43 BufferedReader in = null; local 56 in = new BufferedReader(new InputStreamReader(socket.getInputStream(), "utf-8")); 70 while ((line = in.readLine()) != null) { 122 if (in != null) { 123 in.close();
|
/libcore/luni/src/test/java/libcore/java/net/ |
OldJarURLConnectionTest.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 234 InputStream in = connection.getInputStream(); local 237 in.read(); 238 in.close();
|
/libcore/luni/src/test/java/tests/api/java/nio/charset/ |
AbstractCharsetEncoderTestCase.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 165 CharBuffer in = CharBuffer.wrap("aaa"); local 170 encoder.encode(in, out, true); 183 encoder.encode(in, out, false); 220 // encode facade can be execute in anywhere 221 CharBuffer in = CharBuffer.wrap("aaa"); local 223 encoder.encode(in); 224 in.rewind(); 227 encoder.encode(in); 292 CharBuffer in = CharBuffer.wrap("aaa"); local 374 CharBuffer in = CharBuffer.wrap("aaa"); local 552 CharBuffer in = CharBuffer.wrap("\\ud800"); local 594 CharBuffer in; local 679 CharBuffer in = CharBuffer.wrap(unistr); local 814 CharBuffer in = getMalformedCharBuffer(); local 903 CharBuffer in = CharBuffer.wrap("aaa"); local [all...] |
/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/ |
MagicSmokeRS.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 242 Bitmap in = BitmapFactory.decodeResource(mResources, id, opts); local 245 in.getPixels(pixels, 0, 256, 0, 0, 256, 256); 251 in.recycle(); 274 // really matter; the name by which we refer to the object in RenderScript 329 // Specify the name by which to refer to the WorldState object in the
|
/cts/tests/tests/os/src/android/os/cts/ |
MemoryFileTest.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 114 InputStream in = mMemoryFile.getInputStream(); local 115 assertEquals(1, in.read()); 116 assertEquals(2, in.read()); 117 assertEquals(3, in.read()); 118 assertEquals(4, in.read());
|
/dalvik/hit/src/com/android/hit/ |
HprofParser.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 61 * When a sub-tag of this type appears in a HPROF_HEAP_DUMP or 65 * may appear in a single HEAP_DUMP[_SEGMENT]. 95 public HprofParser(DataInputStream in) { 96 mInput = in; 105 DataInputStream in = mInput; local 107 mIdSize = in.readInt(); 110 in.readLong(); // Timestamp, ignored for now 113 int tag = in.readUnsignedByte() 162 DataInputStream in = mInput; local 198 DataInputStream in = mInput; local 238 DataInputStream in = mInput; local 435 DataInputStream in = mInput; local [all...] |
/dalvik/vm/ |
Misc.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 46 union { u4 in; float out; } conv; member in union:__anon663 47 conv.in = val; 51 union { float in; u4 out; } conv; member in union:__anon664 52 conv.in = val; 80 * Print a hex dump at VERBOSE level. This does nothing in non-debug builds. 115 * Fill in a DebugOutputTarget struct. 140 int storageSize; /* current size, in 32-bit words */ 150 * space in the bitmap, and it's not marked expandable, dvmAllocBi [all...] |
/development/apps/Development/src/com/android/development/ |
LogViewer.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 78 final DataInputStream in; field in class:LogViewer.LogReader 86 this.in = new DataInputStream(this.socket.getInputStream()); 95 while (in.available() > 0) { 98 int length = in.readInt(); 100 in.readFully(bytes);
|
/development/samples/BackupRestore/src/com/example/android/backuprestore/ |
ExampleAgent.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 89 // may throw an IOException, but in that case something has gone 112 // If we decided that we do in fact need to write our dataset, go 134 // Finally, in all cases, we need to write the new state blob 147 DataInputStream in = new DataInputStream(instream); local 150 int stateVersion = in.readInt(); 155 // In this implementation, we recover by simply rewriting 163 int lastFilling = in.readInt(); 164 boolean lastMayo = in.readBoolean() 223 DataInputStream in = new DataInputStream(baStream); local [all...] |
MultiRecordExampleAgent.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 36 * stores each distinct piece of application data in a separate record within 42 // Key strings for each record in the backup set 65 // may throw an IOException, but in that case something has gone 88 DataInputStream in = new DataInputStream(instream); local 92 lastFilling = in.readInt(); 93 lastMayo = in.readBoolean(); 94 lastTomato = in.readBoolean(); 169 // In this implementation, we trust that we won't see any record key 176 DataInputStream in = new DataInputStream(instream); local [all...] |
/development/simulator/wrapsim/ |
DevFb.c | 125 * TODO: surfaceflinger encodes the dirty region in vinfo.reserved[]. We 148 uint16_t in = *ptr16++; local 150 R = ((in>>8)&0xF8) | (in>>(8+5)); 151 G = (in & 0x7E0)>>3; 153 B = (in & 0x1F)<<3;
|
/external/apache-http/src/org/apache/http/impl/io/ |
ChunkedInputStream.java | 12 * "License"); you may not use this file except in compliance 17 * Unless required by applicable law or agreed to in writing, 74 private SessionInputBuffer in; field in class:ChunkedInputStream 95 public ChunkedInputStream(final SessionInputBuffer in) { 97 if (in == null) { 100 this.in = in; 106 * <p> Returns all the data in a chunked stream in coalesced form. A chunk 131 return in.read() [all...] |
/external/bluetooth/bluez/sbc/ |
sbc_primitives_neon.c | 16 * This library is distributed in the hope that it will be useful, 41 static inline void _sbc_analyze_four_neon(const int16_t *in, int32_t *out, 45 * function) in order to have only aligned reads from 'in' array 93 : "+r" (in), "+r" (consts) 101 static inline void _sbc_analyze_eight_neon(const int16_t *in, int32_t *out, 105 * function) in order to have only aligned reads from 'in' array 204 : "+r" (in), "+r" (consts) 249 int32_t *in = &sb_sample_f[0][ch][sb] local 302 int32_t *in = &sb_sample_f[0][0][0]; local [all...] |
/external/bluetooth/glib/tests/ |
convert-test.c | 9 * This library is distributed in the hope that it will be useful, 38 gchar *in = "\xf4\xe5\xf8\xe5\xed"; local 45 out = g_convert (in, -1, "UTF-8", "CP1255", 62 gchar *in = "\xc2\xbd"; local 68 out = g_convert (in, -1, 79 out = g_convert (in, -1, 91 out = g_convert_with_fallback (in, -1,
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
PKCS12BagAttributeCarrierImpl.java | 113 public void readObject(ObjectInputStream in) 116 Object obj = in.readObject(); 121 // we only write out Hashtable/Vector in empty case 122 in.readObject(); // consume empty Vector
|
/external/chromium/base/ |
md5.cc | 1 // The original file was copied from sqlite, and was in the public domain. 7 * written by Colin Plumb in 1993, no copyright is claimed. 8 * This code is in the public domain; do with it what you wish. 30 unsigned char in[64]; member in struct:Context 53 /* This is the central step in the MD5 algorithm. */ 62 static void MD5Transform(uint32 buf[4], const uint32 in[16]){ 70 MD5STEP(F1, a, b, c, d, in[ 0]+0xd76aa478, 7); 71 MD5STEP(F1, d, a, b, c, in[ 1]+0xe8c7b756, 12); 72 MD5STEP(F1, c, d, a, b, in[ 2]+0x242070db, 17); 73 MD5STEP(F1, b, c, d, a, in[ 3]+0xc1bdceee, 22) [all...] |
/external/chromium/net/base/ |
escape_unittest.cc | 3 // found in the LICENSE file. 80 // Test all the values in we're supposed to be escaping. 87 std::string in; local 88 in.push_back(i); 89 std::string out = EscapeQueryParamValue(in, true); 95 } else if (no_escape.find(in) == std::string::npos) { 100 // No change for things in the no_escape list. 101 EXPECT_EQ(out, in); 197 input.push_back(0); // Also have a NULL in the input. 261 input.push_back(0); // Also have a NULL in the input [all...] |
/external/chromium/third_party/icu/source/test/intltest/ |
punyref.c | 24 and distribute it in any way that does not diminish the rights 37 /* Implementation (would normally go in its own .c file): */ 60 /* point (for use in representing integers) in the range 0 to */ 70 /* (when used for representing integers) is d, which needs to be in */ 72 /* nonzero, in which case the uppercase form is used. The behavior */ 223 b, j, in, oldi, w, k, digit, t; local 248 for (in = b > 0 ? b + 1 : 0; in < input_length; ++out) { 250 /* in is the index of the next character to be consumed, and * [all...] |
/external/e2fsprogs/lib/ext2fs/ |
dirhash.c | 21 * Keyed 32-bit hash function using TEA in a Davis-Meyer function 33 static void TEA_transform(__u32 buf[4], __u32 const in[]) 37 __u32 a = in[0], b = in[1], c = in[2], d = in[3]; 58 * good macro practice, in favor of extra legibility. 70 static void halfMD4Transform (__u32 buf[4], __u32 const in[]) 75 ROUND(F, a, b, c, d, in[0] + K1, 3); 76 ROUND(F, d, a, b, c, in[1] + K1, 7) 198 __u32 in[8], buf[4]; local [all...] |
/external/e2fsprogs/util/ |
subst.c | 96 * The substitution variable must all be in the of [0-9A-Za-z_]. 310 FILE *in, *out; local 320 in = fopen(optarg, "r"); 321 if (!in) { 325 parse_config_file(in); 326 fclose(in); 341 in = fopen(argv[optind], "r"); 342 if (!in) { 348 in = stdin; 369 while (!feof(in)) { [all...] |
/external/icu4c/test/intltest/ |
punyref.c | 24 and distribute it in any way that does not diminish the rights 37 /* Implementation (would normally go in its own .c file): */ 60 /* point (for use in representing integers) in the range 0 to */ 70 /* (when used for representing integers) is d, which needs to be in */ 72 /* nonzero, in which case the uppercase form is used. The behavior */ 223 b, j, in, oldi, w, k, digit, t; local 248 for (in = b > 0 ? b + 1 : 0; in < input_length; ++out) { 250 /* in is the index of the next character to be consumed, and * [all...] |
/external/iproute2/include/linux/ |
netfilter.h | 55 struct in_addr in; member in union:nf_inet_addr
|
/external/iptables/ |
ip6tables-restore.c | 111 FILE *in; local 155 in = fopen(argv[optind], "r"); 156 if (!in) { 166 else in = stdin; 169 while (fgets(buffer, sizeof(buffer), in)) { 308 /* we have counters in our input */
|