Home
last modified time | relevance | path

Searched refs:n (Results 1 – 14 of 14) sorted by relevance

/bootable/recovery/minadbd/
Dusb_linux_client.c84 int n; in usb_write() local
87 n = adb_write(h->fd, data, len); in usb_write()
88 if(n != len) { in usb_write()
90 h->fd, n, errno, strerror(errno)); in usb_write()
99 int n; in usb_read() local
102 n = adb_read(h->fd, data, len); in usb_read()
103 if(n != len) { in usb_read()
105 h->fd, n, errno, strerror(errno)); in usb_read()
Dfdevent.c208 int i, n; in fdevent_process() local
210 n = epoll_wait(epoll_fd, events, 256, -1); in fdevent_process()
212 if(n < 0) { in fdevent_process()
218 for(i = 0; i < n; i++) { in fdevent_process()
269 int i, n; in fdevent_disconnect() local
275 for(n = 0, i = 0; i < select_n; i++) { in fdevent_disconnect()
276 if(fd_table[i] != 0) n = i; in fdevent_disconnect()
278 select_n = n + 1; in fdevent_disconnect()
307 int i, n = 0; in fdevent_fd_check() local
315 n++; in fdevent_fd_check()
[all …]
Dtransport_usb.c37 unsigned host_to_le32(unsigned n) in host_to_le32() argument
39 return H4(n); in host_to_le32()
43 unsigned host_to_le32(unsigned n) in host_to_le32() argument
45 return n; in host_to_le32()
Dsockets.c201 apacket *p, *n; in local_socket_destroy() local
210 for(p = s->pkt_first; p; p = n) { in local_socket_destroy()
212 n = p->next; in local_socket_destroy()
542 unsigned n = 0, c; in unhex() local
564 n = (n << 4) | c; in unhex()
567 return n; in unhex()
Dtransport.c104 int n; in dump_packet() local
106 for (n = 0; n < 4; n++) { in dump_packet()
107 int b = (command >> (n*8)) & 255; in dump_packet()
110 cmd[n] = (char)b; in dump_packet()
112 if (n == 4) { in dump_packet()
Dadb.h394 unsigned host_to_le32(unsigned n);
/bootable/recovery/edify/
Dmain.c162 void ExprDump(int depth, Expr* n, char* script) { in ExprDump() argument
164 char temp = script[n->end]; in ExprDump()
165 script[n->end] = '\0'; in ExprDump()
167 n->name == NULL ? "(NULL)" : n->name, n->fn, n->start, n->end, in ExprDump()
168 script+n->start); in ExprDump()
169 script[n->end] = temp; in ExprDump()
171 for (i = 0; i < n->argc; ++i) { in ExprDump()
172 ExprDump(depth+1, n->argv[i], script); in ExprDump()
Dlexer.l63 \\n { gColumn += yyleng; gPos += yyleng; *string_pos++ = '\n'; }
76 \n {
110 (#.*)?\n gPos += yyleng; ++gLine; gColumn = 1;
DREADME9 - String literals appear in double quotes. \n, \t, \", and \\ are
/bootable/recovery/minui/
Devents.c125 unsigned n; in ev_dispatch() local
128 for (n = 0; n < ev_count; n++) { in ev_dispatch()
129 ev_callback cb = ev_fdinfo[n].cb; in ev_dispatch()
130 if (cb && (ev_fds[n].revents & ev_fds[n].events)) in ev_dispatch()
131 cb(ev_fds[n].fd, ev_fds[n].revents, ev_fdinfo[n].data); in ev_dispatch()
Dmkfont.c6 unsigned n; in main() local
12 n = gimp_image.width * gimp_image.height; in main()
29 n--; in main()
32 while(n-- > 0) { in main()
Dgraphics.c176 static void set_active_framebuffer(unsigned n) in set_active_framebuffer() argument
178 if (n > 1 || !double_buffering) return; in set_active_framebuffer()
180 vi.yoffset = n * vi.yres; in set_active_framebuffer()
/bootable/recovery/minzip/
DZip.c534 ssize_t n; in processStoredEntry() local
542 n = read(pArchive->fd, buf, count); in processStoredEntry()
543 if (n < 0 || (size_t)n != count) { in processStoredEntry()
544 LOGE("Can't read %zu bytes from zip file: %ld\n", count, n); in processStoredEntry()
547 ret = processFunction(buf, n, cookie); in processStoredEntry()
779 ssize_t n = write(fd, data+soFar, dataLen-soFar); in writeProcessFunction() local
780 if (n <= 0) { in writeProcessFunction()
786 } else if (n > 0) { in writeProcessFunction()
787 soFar += n; in writeProcessFunction()
/bootable/recovery/
Dverifier.cpp246 &(key->len), &(key->n0inv), &(key->n[0])) != 3) { in load_keys()
254 if (fscanf(f, " , %u", &(key->n[i])) != 1) goto exit; in load_keys()