/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
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 67 InputStream in = p.getInputStream(); local 69 while ( ( ch = in.read() ) != -1 ) { 171 //in here
|
/cts/tests/tests/os/src/android/os/cts/ |
LaunchpadActivity.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 54 public MyBadParcelable createFromParcel(Parcel in) { 55 return new MyBadParcelable(in); 63 public MyBadParcelable(Parcel in) { 64 in.readString(); 81 // Also used as the Binder interface descriptor string in these tests 219 * @param debugName for the lifecycle shown in the logs
|
/dalvik/dx/src/com/android/dx/io/instructions/ |
InstructionCodec.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 37 CodeInput in) throws EOFException { 50 CodeInput in) throws EOFException { 65 CodeInput in) throws EOFException { 84 CodeInput in) throws EOFException { 103 CodeInput in) throws EOFException { 119 CodeInput in) throws EOFException { 120 int baseAddress = in.cursor() - 1; 136 CodeInput in) throws EOFException [all...] |
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
DiskLruCache.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 * Taken from the JB source code, can be found in: 61 * 0} and {@code Integer.MAX_VALUE} bytes in length. 63 * <p>The cache stores its data in a directory on the filesystem. This 70 * remove entries in the background until the limit is satisfied. The limit is 135 * Each of the subsequent lines in the file is a record of the state of a 215 public static String readAsciiLine(InputStream in) throws IOException { 220 int c = in.read(); 251 * Recursively delete everything in {@code dir} 340 InputStream in = new BufferedInputStream(new FileInputStream(journalFile), IO_BUFFER_SIZE); local 803 InputStream in = newInputStream(index); local [all...] |
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
DiskLruCache.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 * Taken from the JB source code, can be found in: 61 * 0} and {@code Integer.MAX_VALUE} bytes in length. 63 * <p>The cache stores its data in a directory on the filesystem. This 70 * remove entries in the background until the limit is satisfied. The limit is 135 * Each of the subsequent lines in the file is a record of the state of a 215 public static String readAsciiLine(InputStream in) throws IOException { 220 int c = in.read(); 251 * Recursively delete everything in {@code dir} 340 InputStream in = new BufferedInputStream(new FileInputStream(journalFile), IO_BUFFER_SIZE); local 803 InputStream in = newInputStream(index); local [all...] |
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
DiskLruCache.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 * Taken from the JB source code, can be found in: 61 * 0} and {@code Integer.MAX_VALUE} bytes in length. 63 * <p>The cache stores its data in a directory on the filesystem. This 70 * remove entries in the background until the limit is satisfied. The limit is 135 * Each of the subsequent lines in the file is a record of the state of a 215 public static String readAsciiLine(InputStream in) throws IOException { 220 int c = in.read(); 251 * Recursively delete everything in {@code dir} 340 InputStream in = new BufferedInputStream(new FileInputStream(journalFile), IO_BUFFER_SIZE); local 803 InputStream in = newInputStream(index); local [all...] |
/device/generic/goldfish/gps/ |
gps_qemu.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 21 * it will be loaded by the code in hardware/libhardware/hardware.c 188 char in[ NMEA_MAX_SIZE+1 ]; member in struct:__anon3020 416 // Possibly parse it from the NMEA sentence in the future. 432 D("Received: '%.*s'", r->pos, r->in); 438 nmea_tokenizer_init(tzer, r->in, r->in + r->pos); 489 D("in RMC, fixStatus=%c", tok_fixStatus.p[0]); 556 if (r->pos >= (int) sizeof(r->in)-1 ) [all...] |
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/ |
usb.c | 5 * Redistribution and use in source and binary forms, with or without 11 * Redistributions in binary form must reproduce the above copyright notice, 12 * this list of conditions and the following disclaimer in the documentation 22 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 26 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 65 unsigned char in; member in struct:usb_endpoint 155 /* EP0 IN ACTIVE NEXT=1 */ 171 /* IN EP interrupt mask */ 218 if (dir) { // IN: to hos [all...] |
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
BaseTest.java | 6 * Redistribution and use in source and binary forms, with or without 11 * 2. Redistributions in binary form must reproduce the above copyright 12 * notice, this list of conditions and the following disclaimer in the 20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 81 lastTestFailed = false; // hope for the best, but set to true in asserts that fail 500 BufferedReader in; field in class:BaseTest.StreamVacuum 503 public StreamVacuum(InputStream in, String inputFile) { 504 this.in = new BufferedReader( new InputStreamReader(in) ) [all...] |
/external/conscrypt/common/src/main/java/org/conscrypt/ |
ConscryptEngineSocket.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 53 private SSLInputStream in; field in class:ConscryptEngineSocket 141 in = new SSLInputStream(); 145 // Do nothing in both cases. 154 if (in.readInternal(EmptyArray.BYTE, 0, 0) < 0) { 201 return in; 646 // Try to unwrap any data already in the socket buffer.
|
/external/curl/lib/ |
telnet.c | 10 * This software is licensed as described in the file COPYING, which 28 #include <netinet/in.h> 64 /* The last 3 #include files should be in this order */ 215 /* should always succeed. But, just in case... */ 261 can be changed thanks to the "BINARY" option in 270 the connection). Hence, we ignore ECHO in the 282 In this case, the width (or height) that will be assumed by the 881 failf(data, "Syntax error in telnet option: %s", head->data); 888 /* To take care or not of the 8th bit in data exchange */ 903 failf(data, "Syntax error in telnet option: %s", head->data) 1065 int in = 0; local [all...] |
/external/deqp/modules/gles2/functional/ |
es2fShaderMatrixTests.cpp | 8 * you may not use this file except in compliance with the License. 13 * Unless required by applicable law or agreed to in writing, software 70 // \note Input1 should not contain 0 components as it is used as divisor in div cases. 355 m.setColumn(0, evalCtx.in[0].swizzle(0,1)); 356 m.setColumn(1, evalCtx.in[1].swizzle(0,1)); 364 m.setColumn(0, evalCtx.in[0].swizzle(0,1,2)); 365 m.setColumn(1, evalCtx.in[1].swizzle(0,1,2)); 366 m.setColumn(2, evalCtx.in[2].swizzle(0,1,2)); 374 m.setColumn(0, evalCtx.in[0]); 375 m.setColumn(1, evalCtx.in[1]) 826 const ShaderInput& in = inNdx > 0 ? m_in1 : m_in0; local 1053 const ShaderInput& in = inNdx > 0 ? m_in1 : m_in0; local [all...] |
/external/e2fsprogs/lib/support/ |
dict.c | 9 * possibly in exchange for a fee, provided that this copyright notice appears 51 * In general, highly portable and reusable C modules which expose their 54 * readable, in the implementation, however! 311 * Free all the nodes in the dictionary by using the dictionary's 359 * Initialize a dictionary in the likeness of another dictionary 380 * Remove all nodes from the dictionary (without freeing them in any way). 396 * debugging purposes, and should be placed in assert statements. Just because 398 * corruptions in the tree may simply cause undefined behavior. 454 * Locate a node in the dictionary having the given key. 676 * successor (i.e. the leftmost node in the right subtree.) By doing this 1297 input_t in; local 1362 input_t in; local [all...] |
/external/e2fsprogs/misc/ |
badblocks.c | 164 com_err (program_name, errcode, "adding to in-memory bad block list"); 389 fprintf(stderr, _("Weird value (%ld) in do_read\n"), got); 458 fprintf(stderr, "Weird value (%ld) in do_write\n", got); 520 fputs(_("Checking for bad blocks in read-only mode\n"), stderr); 618 fputs(_("Checking for bad blocks in read-write mode\n"), 781 fputs(_("Checking for bad blocks in non-destructive read-write mode\n"), stderr); 1010 fprintf(stderr, _("%s is apparently in use by the system; "), 1022 * an error message if it fails, and returning success or failure in err. 1046 FILE * in = NULL; local 1185 "specified in read-only mode")) [all...] |
/external/glide/third_party/disklrucache/src/main/java/com/bumptech/glide/disklrucache/ |
DiskLruCache.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 46 * {@code Integer.MAX_VALUE} bytes in length. 48 * <p>The cache stores its data in a directory on the filesystem. This 55 * remove entries in the background until the limit is satisfied. The limit is 118 * Each of the subsequent lines in the file is a record of the state of a 187 * Opens the cache in {@code directory}, creating a cache if none exists 438 * edit is in progress. 455 return null; // Another edit is in progress. 493 * Returns the number of bytes currently being used to store the values in 740 InputStream in = newInputStream(index); local [all...] |
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
PredicatesTest.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 488 Predicate<Integer> isOneOrFive = Predicates.in(nums); 503 .addEqualityGroup(Predicates.in(nums), Predicates.in(nums), 504 Predicates.in(sameOrder), Predicates.in(differentOrder)) 505 .addEqualityGroup(Predicates.in(differentNums)) 519 Predicate<Integer> isFalse = Predicates.in(nums); 533 Predicate<Integer> isThree = Predicates.in(nums) [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
FilesTest.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 InputStream in = closer.register(new FileInputStream(asciiFile)); local 90 byte[] bytes = Files.readFile(in, asciiFile.length()); 104 InputStream in = closer.register(new FileInputStream(asciiFile)); local 105 byte[] bytes = Files.readFile(in, 10); 119 InputStream in = closer.register(new FileInputStream(asciiFile)); local 120 byte[] bytes = Files.readFile(in, 500); 134 InputStream in = closer.register(new FileInputStream(asciiFile)); local 135 byte[] bytes = Files.readFile(in, 0) [all...] |
/external/guava/guava-tests/test/com/google/common/reflect/ |
ClassPathTest.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 300 // with/relative/directory is the Class-Path value in the mf file. 308 // with/relative/directory is the Class-Path value in the mf file. 316 // with/relative/directory is the Class-Path value in the mf file. 454 InputStream in = new ByteArrayInputStream(content.getBytes(Charsets.US_ASCII)); local 456 manifest.read(in);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
TimeZoneGenericNames.java | 44 * @hide Only a subset of ICU is exposed in Android 49 // TimeZoneGenericNames in ICU 49. ICU 4.8 android.icu.text.TimeZoneFormat used to 126 // Window size used for DST check for a zone in a metazone (about a half year) 244 // If this is only the single zone in the country, use the country name 248 // If there are multiple zones including this in the country, 369 // We may get a wrong answer in edge case, but it should practically work OK. 390 // In CLDR, a same display name is used for both generic and standard 391 // for some meta zones in some locales. This looks like a data bugs. 413 // Check offset in the golden zone with wall time. 586 * A private class used for storing the name information in the local trie [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/ |
TestIDNA.java | 436 // for every entry in unicodeIn array 530 "com". (The zero-length root label described in [STD13], which can 531 be explicit as in "www.example.com." or implicit as in 532 "www.example.com", is not considered a label in this specification.) 558 // for every entry in unicodeIn array 742 String[] in = new String[]{ local 762 String[] in = new String[]{ local [all...] |
/external/icu/icu4c/source/common/ |
ucnv.c | 44 /* size of intermediate and preflighting buffers in ucnv_convert() */ 151 /* Creating a temporary stack-based object that can be used in one thread, 229 * on a 64-bit boundary in memory. 322 /*Decreases the reference counter in the shared immutable section of the object 341 /* In order to speed up the close, only call the callbacks when they have been changed. 433 if (*len < converter->subCharLen) /*not enough space in subChars */ 439 uprv_memcpy (mySubChar, converter->subChars, converter->subCharLen); /*fills in the subchars */ 465 * In order to always have subChar written after it is explicitly set, 556 /* See comment in ucnv_setSubstChars(). */ 793 * or the error input sequence started in a previous buffe 2482 UConverter in, out; \/* stack-allocated *\/ local [all...] |
uniset_props.cpp | 53 // *** same as in uniset.cpp ! *** 91 * Delimiter string used in patterns to close a category reference: 136 Inclusion &in = gInclusions[i]; local 137 delete in.fSet; 138 in.fSet = NULL; 139 in.fInitOnce.reset(); 326 * @param pattern a string specifying what characters are in the set 381 // Need to build the pattern in a temporary string because 388 // syntaxError(chars, "Extra chars in variable value"); 396 * Return true if the given position, in the given pattern, appear [all...] |
/external/icu/icu4c/source/extra/uconv/ |
uconv.cpp | 14 * contributed in 1999. 194 zero, tags and aliases for each converter are printed too, in the format 216 in non-canon mode). But since we do not know at this 232 single converter to print but in canon mode, hence we need to 233 get to it in order to print everything. */ 426 // and include it in the chunk 428 // do not include FF or VT in case they are part of a paragraph 461 return -1; // LF may be in the next chunk 463 ++u; // include the LF in this chunk 489 // the fromUnicode side of the converter must be in its initial stat 510 const UChar *in; local [all...] |
/external/icu/icu4c/source/test/cintltst/ |
cnormtst.c | 123 /*These two are broken in Unicode 2.1.2 but fixed in 2.1.5 and later*/ 185 log_err("ERROR in unorm_normalize(%s)[%d]: " 195 log_data_err("ERROR in unorm_normalize(%s/NUL) at %s: %s - (Are you missing data?)\n", 202 log_data_err("ERROR in unorm_normalize(%s/srcLength) at %s: %s - (Are you missing data?)\n", 235 log_err("ERROR in decomposition at index = %d. EXPECTED: %s , GOT: %s\n", index, expected, 343 log_err("ERROR in NFD quick check at U+%04x\n", CPNFD[count]); 349 log_err("ERROR in NFC quick check at U+%04x\n", CPNFC[count]); 355 log_err("ERROR in NFKD quick check at U+%04x\n", CPNFKD[count]); 361 log_err("ERROR in NFKC quick check at U+%04x\n", CPNFKC[count]) 707 static const UChar in[]={ 0x68, 0xe4 }; local 1037 const UChar *expect, *outLimit, *in; local 1623 static const UChar in[]={ local [all...] |
/external/icu/icu4c/source/tools/gencnval/ |
gencnval.c | 23 * is written in such a way that a 2.0 reader will be able to use it, 109 uint16_t totalAliasCount; /* Total aliases in this column */ 120 uint16_t totalAliasCount; /* Total aliases in this row */ 160 parseFile(FileStream *in); 227 FileStream *in; local 240 "error in command line argument \"%s\"\n", 293 in=T_FileStream_open(path, "r"); 294 if(in==NULL) { 298 parseFile(in); 299 T_FileStream_close(in); [all...] |