/external/snakeyaml/src/main/java/org/yaml/snakeyaml/reader/ |
UnicodeReader.java | 80 * Read-ahead four bytes and check for BOM marks. Extra bytes are unread 89 int n, unread; local 94 unread = n - 3; 97 unread = n - 2; 100 unread = n - 2; 102 // Unicode BOM mark not found, unread all bytes 104 unread = n; 107 if (unread > 0) 108 internalIn.unread(bom, (n - unread), unread) [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldPushbackInputStreamTest.java | 38 pis.unread("He".getBytes()); 45 fail("Failed to throw exception on unread when buffer full"); 65 pis.unread("Hello world".getBytes()); 66 fail("Test 3: IOException expected when the unread buffer is full."); 190 pis.unread(buf); 208 tobj.unread(buf2); 211 tobj.unread(buf2); 226 // Test for method void java.io.PushbackInputStream.unread(byte []) 232 pis.unread(buf); 234 assertTrue("Failed to unread bytes", new String(buf, 0, 50 [all...] |
OldPushbackReaderTest.java | 42 pbr.unread(buf); 243 * java.io.PushbackReader#unread(char[]) 252 tobj.unread(buf2); 254 tobj.unread(buf2); 269 // Test for method void java.io.PushbackReader.unread(char []) 273 pbr.unread(c); 275 assertTrue("Failed to unread chars", new String(c).equals(pbString 303 * java.io.PushbackReader#unread(char[], int, int) 312 tobj.unread(buf2, 15, 10); 314 tobj.unread(buf2, 15, 10) [all...] |
OldAndroidPushbackReaderTest.java | 36 a.unread("PUSH".toCharArray()); 44 b.unread('X');
|
OldAndroidPushbackInputStreamTest.java | 36 a.unread("push".getBytes()); 44 b.unread('X');
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
MimeBoundaryInputStream.java | 68 this.s.unread(b); 103 * Consumes all unread bytes of this stream. After a call to this method 138 s.unread(b2); 153 s.unread(b); 156 s.unread(boundary[j]);
|
EOLConvertingInputStream.java | 106 in.unread(c);
|
/external/desugar/java/com/google/devtools/common/options/ |
ShellQuotedParamsFilePreProcessor.java | 67 private void unread(char value) throws IOException { method in class:ShellQuotedParamsFilePreProcessor.ShellQuotedReader 68 reader.unread(value); 75 unread(value); 104 unread(c); 121 unread(next);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
PushbackInputStreamTest.java | 67 pis.unread("He".getBytes()); 68 fail("Failed to throw exception on unread when buffer full"); 83 pis.unread("Hellos".getBytes()); 90 fail("Failed to throw exception on unread when buffer full"); 166 pis.unread(buf); 175 * java.io.PushbackInputStream#unread(byte[]) 178 // Test for method void java.io.PushbackInputStream.unread(byte []) 184 pis.unread(buf); 186 assertTrue("Failed to unread bytes", new String(buf, 0, 50, "UTF-8") 189 fail("IOException during unread test : " + e.getMessage()) [all...] |
PushbackReaderTest.java | 43 pbr.unread(buf); 201 * java.io.PushbackReader#unread(char[]) 204 // Test for method void java.io.PushbackReader.unread(char []) 208 pbr.unread(c); 210 assertTrue("Failed to unread chars", new String(c).equals(pbString 245 pReader2.unread('a'); 246 pReader2.unread('b'); 257 pReader.unread('i'); 283 * java.io.PushbackReader#unread(char[], int, int) 286 // Test for method void java.io.PushbackReader.unread(char [], int, int [all...] |
/prebuilts/go/darwin-x86/src/testing/iotest/ |
reader.go | 49 unread []byte 57 if len(r.unread) == 0 { 59 r.unread = r.data[0:n1] 65 n = copy(p, r.unread) 66 r.unread = r.unread[n:]
|
/prebuilts/go/linux-x86/src/testing/iotest/ |
reader.go | 49 unread []byte 57 if len(r.unread) == 0 { 59 r.unread = r.data[0:n1] 65 n = copy(p, r.unread) 66 r.unread = r.unread[n:]
|
/libcore/ojluni/src/main/java/java/io/ |
PushbackInputStream.java | 31 * the ability to "push back" or "unread" 37 * the code fragment can "unread" it, so that 206 public void unread(int b) throws IOException { method in class:PushbackInputStream 229 public void unread(byte[] b, int off, int len) throws IOException { method in class:PushbackInputStream 251 public void unread(byte[] b) throws IOException { method in class:PushbackInputStream 252 unread(b, 0, b.length); method 370 * Once the stream has been closed, further read(), unread(),
|
PushbackReader.java | 151 public void unread(int c) throws IOException { method in class:PushbackReader 174 public void unread(char cbuf[], int off, int len) throws IOException { method in class:PushbackReader 195 public void unread(char cbuf[]) throws IOException { method in class:PushbackReader 196 unread(cbuf, 0, cbuf.length); method 242 * unread(), ready(), or skip() invocations will throw an IOException.
|
ObjectInputStream.java | 2408 private int unread = 0; field in class:ObjectInputStream.BlockDataInputStream [all...] |
/external/autotest/client/deps/ibusclient/src/ |
ibusclient.cc | 273 GVariant* unread = NULL; local 275 if (!ibus_config_get_unused(ibus_config, &unread, &unwritten)) { 280 if (g_variant_classify(unread) != G_VARIANT_CLASS_ARRAY) { 281 printf("FAIL (unread is not an array)\n"); 282 g_variant_unref(unread); 289 g_variant_unref(unread); 294 printf("Unread:\n"); 295 if (!PrintArray(unread)) { 296 g_variant_unref(unread); 303 g_variant_unref(unread); [all...] |
/external/tagsoup/templates/org/ccil/cowan/tagsoup/ |
HTMLScanner.java | 122 private void unread(PushbackReader r, int c) throws IOException { method in class:HTMLScanner 123 if (c != -1) r.unread(c); 173 if (firstChar != '\uFEFF') unread(r, firstChar); method 184 unread(r, ch); // nope method 320 unread(r, ch); method 325 unread(r, ch); method 414 unread(r, ch); method
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
FixASCIIControlsReader.java | 84 unread(readAheadBuffer, 0, readAhead + 1); method 95 unread(readAheadBuffer, 0, readAhead); method
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversationlist/ |
ConversationListItemViewTest.java | 84 final boolean unread = !isRead(cursor, index); 85 verifyContent(view, name, snippet, timestamp, unread); 93 final boolean unread) { 106 if (unread) {
|
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
HTMLScanner.java | 343 private void unread(PushbackReader r, int c) throws IOException { method in class:HTMLScanner 344 if (c != -1) r.unread(c); 394 if (firstChar != '\uFEFF') unread(r, firstChar); method 405 unread(r, ch); // nope method 541 unread(r, ch); method 546 unread(r, ch); method 635 unread(r, ch); method
|
/libcore/ojluni/src/main/java/java/util/zip/ |
ZipInputStream.java | 356 ((PushbackInputStream)in).unread(buf, len - n, n); method 369 ((PushbackInputStream)in).unread( method 383 ((PushbackInputStream)in).unread( method
|
/external/emma/core/java12/com/vladium/jcd/lib/ |
Types.java | 631 m_in.unread (c); 654 m_in.unread (c); 690 m_in.unread (c);
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
OpenSSLX509CertificateFactory.java | 90 pbis.unread(buffer, 0, len); 153 pbis.unread(buffer, 0, len);
|
/packages/apps/Messaging/src/com/android/messaging/widget/ |
BaseWidgetFactory.java | 156 * Make the given text bold if the item is unread 158 protected CharSequence boldifyIfUnread(CharSequence text, final boolean unread) { 159 if (!unread) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/analytics/ |
AnalyticsUtils.java | 77 } else if (id == R.id.unread) {
|