Home
last modified time | relevance | path

Searched refs:alr (Results 1 – 5 of 5) sorted by relevance

/external/qemu/android/
Dasync-utils.c114 asyncLineReader_init(AsyncLineReader* alr, in asyncLineReader_init() argument
119 alr->buffer = buffer; in asyncLineReader_init()
120 alr->buffsize = buffsize; in asyncLineReader_init()
121 alr->pos = 0; in asyncLineReader_init()
122 alr->io = io; in asyncLineReader_init()
123 alr->eol = '\n'; in asyncLineReader_init()
129 asyncLineReader_read(AsyncLineReader* alr) in asyncLineReader_read() argument
133 if (alr->pos >= alr->buffsize) { in asyncLineReader_read()
140 ret = socket_recv(alr->io->fd, &ch, 1); in asyncLineReader_read()
150 loopIo_wantRead(alr->io); in asyncLineReader_read()
[all …]
Dasync-utils.h154 void asyncLineReader_init(AsyncLineReader* alr,
165 asyncLineReader_setEOL(AsyncLineReader* alr, char eol) in asyncLineReader_setEOL() argument
167 alr->eol = eol; in asyncLineReader_setEOL()
185 AsyncStatus asyncLineReader_read(AsyncLineReader* alr);
198 const char* asyncLineReader_getLineRaw(AsyncLineReader* alr, int *pLength);
203 const char* asyncLineReader_getLine(AsyncLineReader* alr);
Dandroid-device.c136 AsyncLineReader alr; member
1046 asyncLineReader_init(&adsevent->alr, str, strsize, adsevent->io); in _android_event_socket_listen()
1048 asyncLineReader_setEOL(&adsevent->alr, '\0'); in _android_event_socket_listen()
1049 status = asyncLineReader_read(&adsevent->alr); in _android_event_socket_listen()
1135 status = asyncLineReader_read(&adsevent->alr); in _on_event_socket_io()
1236 adsevent->on_event(ad->opaque, ad, (char*)adsevent->alr.buffer, in _on_event_received()
1237 adsevent->alr.pos); in _on_event_received()
/external/valgrind/main/none/tests/s390x/
Dadd.stdout.exp122 alr 0 + 0000000000000000 + 0000000000000000 = 0000000000000000 (cc=0)
123 alr 0 + 0000000000000001 + 0000000000000000 = 0000000000000001 (cc=1)
124 alr 0 + 000000000000FFFF + 0000000000000000 = 000000000000FFFF (cc=1)
125 alr 0 + 0000000000007FFF + 0000000000000000 = 0000000000007FFF (cc=1)
126 alr 0 + 0000000000008000 + 0000000000000000 = 0000000000008000 (cc=1)
127 alr 0 + 00000000FFFFFFFF + 0000000000000000 = 00000000FFFFFFFF (cc=1)
128 alr 0 + 0000000080000000 + 0000000000000000 = 0000000080000000 (cc=1)
129 alr 0 + 000000007FFFFFFF + 0000000000000000 = 000000007FFFFFFF (cc=1)
130 alr 0 + FFFFFFFFFFFFFFFF + 0000000000000000 = FFFFFFFFFFFFFFFF (cc=1)
131 alr 0 + 8000000000000000 + 0000000000000000 = 8000000000000000 (cc=0)
[all …]
Dadd.c31 regsweep(alr, s2, 0); in do_regmem_insns()