Home
last modified time | relevance | path

Searched refs:isr (Results 1 – 25 of 27) sorted by relevance

12

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
DPrintStreamTest.java224 InputStreamReader isr = new InputStreamReader(bis); in test_printC() local
225 assertEquals("Incorrect char written", 't', isr.read()); in test_printC()
363 InputStreamReader isr = new InputStreamReader(bis); in test_println() local
364 assertTrue("Newline not written", (c = (char) isr.read()) == '\r' in test_println()
378 InputStreamReader isr = new InputStreamReader(bis); in test_println$C() local
391 while ((r = isr.read()) != -1) { in test_println$C()
407 InputStreamReader isr = new InputStreamReader(bis); in test_printlnC() local
408 assertEquals("Incorrect char written", 't', isr.read()); in test_printlnC()
409 assertTrue("Newline not written", (c = isr.read()) == '\r' || c == '\n'); in test_printlnC()
421 InputStreamReader isr = new InputStreamReader(bis); in test_printlnD() local
[all …]
DInputStreamReaderTest.java304 InputStreamReader isr = new InputStreamReader(fis, "8859_1"); in test_getEncoding() local
306 "ISO8859_1", isr.getEncoding()); in test_getEncoding()
308 isr = new InputStreamReader(fis, "ISO-8859-1"); in test_getEncoding()
310 "ISO8859_1", isr.getEncoding()); in test_getEncoding()
313 isr = new InputStreamReader(new ByteArrayInputStream(b), "UTF-16BE"); in test_getEncoding()
314 isr.close(); in test_getEncoding()
315 assertNull(isr.getEncoding()); in test_getEncoding()
318 isr = new InputStreamReader(System.in, "UTF-16BE"); in test_getEncoding()
322 assertEquals("UnicodeBigUnmarked", isr.getEncoding()); in test_getEncoding()
374 InputStreamReader isr = new InputStreamReader(new ByteArrayInputStream( in test_read_1() local
[all …]
DOutputStreamWriterTest.java52 InputStreamReader isr; field in OutputStreamWriterTest
79 if (isr != null) { in tearDown()
80 isr.close(); in tearDown()
450 InputStreamReader isr = null; in testSingleCharIO() local
472 isr = new InputStreamReader(new ByteArrayInputStream(result), in testSingleCharIO()
476 + MINIMAL_CHARSETS[i], expected, isr.read()); in testSingleCharIO()
480 isr.close(); in testSingleCharIO()
492 InputStreamReader isr = null; in testBlockIO() local
521 isr = new InputStreamReader(new ByteArrayInputStream(result), in testBlockIO()
526 read = isr.read(largeBuffer); in testBlockIO()
[all …]
DByteArrayInputStreamTest.java117 InputStreamReader isr = new InputStreamReader(is); in test_read() local
118 int c = isr.read(); in test_read()
DFileInputStreamTest.java162 InputStreamReader isr = new InputStreamReader(new FileInputStream(fileName)); in test_read() local
163 int c = isr.read(); in test_read()
164 isr.close(); in test_read()
DPrintWriterTest.java628 InputStreamReader isr = new InputStreamReader(new ByteArrayInputStream(bao.toByteArray())); in test_writeI() local
629 cab[0] = (char) isr.read(); in test_writeI()
630 cab[1] = (char) isr.read(); in test_writeI()
631 cab[2] = (char) isr.read(); in test_writeI()
DBufferedInputStreamTest.java269 InputStreamReader isr = new InputStreamReader(is); in test_read() local
270 int c = isr.read(); in test_read()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
DANTLRFileStream.java58 InputStreamReader isr; in load() local
61 isr = new InputStreamReader(fis, encoding); in load()
64 isr = new InputStreamReader(fis); in load()
68 super.n = isr.read(data); in load()
71 isr.close(); in load()
DANTLRInputStream.java61 InputStreamReader isr; in ANTLRInputStream() local
63 isr = new InputStreamReader(input, encoding); in ANTLRInputStream()
66 isr = new InputStreamReader(input); in ANTLRInputStream()
68 load(isr, size, readBufferSize); in ANTLRInputStream()
/external/qemu/hw/
Di8259.c40 uint8_t isr; /* interrupt service register */ member
126 mask = s->isr; in pic_get_irq()
219 s->isr |= (1 << irq); in pic_intack()
271 s->isr = 0; in pic_reset()
322 priority = get_priority(s, s->isr); in pic_ioport_write()
325 s->isr &= ~(1 << irq); in pic_ioport_write()
333 s->isr &= ~(1 << irq); in pic_ioport_write()
342 s->isr &= ~(1 << irq); in pic_ioport_write()
385 s->pics_state->pics[0].isr &= ~(1 << 2); in pic_poll_read()
389 s->isr &= ~(1 << ret); in pic_poll_read()
[all …]
Dne2000.c136 uint8_t isr; member
154 s->isr = ENISR_RESET; in ne2000_reset()
168 int isr; in ne2000_update_irq() local
169 isr = (s->isr & s->imr) & 0x7f; in ne2000_update_irq()
172 isr ? 1 : 0, s->isr, s->imr); in ne2000_update_irq()
174 qemu_set_irq(s->irq, (isr != 0)); in ne2000_update_irq()
318 s->isr |= ENISR_RX; in ne2000_receive()
337 s->isr &= ~ENISR_RESET; in ne2000_ioport_write()
341 s->isr |= ENISR_RDC; in ne2000_ioport_write()
355 s->isr |= ENISR_TX; in ne2000_ioport_write()
[all …]
Dapic.c75 uint32_t isr[8]; /* in service register */ member
339 isrv = get_highest_priority_int(s->isr); in apic_get_ppr()
396 isrv = get_highest_priority_int(s->isr); in apic_eoi()
399 reset_bit(s->isr, isrv); in apic_eoi()
470 memset(s->isr, 0, sizeof(s->isr)); in apic_init_reset()
576 set_bit(s->isr, intno); in apic_get_interrupt()
710 val = s->isr[index & 7]; in apic_mem_readl()
846 qemu_put_be32s(f, &s->isr[i]); in apic_save()
882 qemu_get_be32s(f, &s->isr[i]); in apic_load()
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
DANTLRFileStream.js50 isr,
53 isr = new java.io.InputStreamReader(fis, encoding);
55 isr = new java.io.InputStreamReader(fis);
58 isr.read(data, 0, size);
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
Drhino-python.prog6 isr,
9 isr = new java.io.InputStreamReader(fis, encoding);
11 isr = new java.io.InputStreamReader(fis);
14 /* Should use the ternary version of isr.read here, but can't figure
19 while ((charCode = isr.read()) >= 0) {
/external/jdiff/src/jdiff/
DStreamReader.java24 InputStreamReader isr = new InputStreamReader(is_); in run() local
25 BufferedReader br = new BufferedReader(isr); in run()
/external/ipsec-tools/src/libipsec/
Dkey_debug.c584 struct ipsecrequest *isr; local
585 for (isr = sp->req; isr != NULL; isr = isr->next) {
587 printf(" level=%u\n", isr->level);
588 kdebug_secasindex(&isr->saidx);
590 if (isr->sav != NULL)
591 kdebug_secasv(isr->sav);
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/
DDesignerPlugin.java102 final InputStreamReader isr = new InputStreamReader(inputStream, charset); in readFile() local
103 closeMe = isr; in readFile()
105 return CharStreams.toString(isr); in readFile()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/
DUnpackUpdateJars.java134 InputStreamReader isr = new InputStreamReader(is); in run() local
135 BufferedReader br = new BufferedReader(isr); in run()
/external/quake/quake/src/WinQuake/
Dnet_comx.cpp413 void (*isr)(void); in ComPort_Enable() local
459 isr = COM1_ISR_8250; in ComPort_Enable()
461 isr = COM2_ISR_8250; in ComPort_Enable()
467 isr = COM1_ISR_16550; in ComPort_Enable()
469 isr = COM2_ISR_16550; in ComPort_Enable()
472 p->protectedModeInfo.pm_offset = (int)isr; in ComPort_Enable()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
DDebugEventSocketProxy.java82 InputStreamReader isr = new InputStreamReader(is, "UTF8"); in handshake() local
83 in = new BufferedReader(isr); in handshake()
DRemoteDebugEventSocketListener.java199 InputStreamReader isr = new InputStreamReader(is, "UTF8"); in openConnection() local
200 in = new BufferedReader(isr); in openConnection()
/external/grub/netboot/
Dsis900.h24 isr=0x10, /* Interrupt Status Register */ enumerator
/external/qemu/android/config/linux-x86/asm/
Dkvm.h39 __u8 isr; /* interrupt service register */ member
/external/qemu/android/config/linux-x86_64/asm/
Dkvm.h39 __u8 isr; /* interrupt service register */ member
/external/kernel-headers/original/asm-x86/
Dapicdef_32.h205 } isr [8]; member

12