Home
last modified time | relevance | path

Searched refs:h (Results 1 – 15 of 15) sorted by relevance

/bootable/recovery/minadbd/
Dusb_linux_client.c82 int usb_write(usb_handle *h, const void *data, int len) in usb_write() argument
86 D("about to write (fd=%d, len=%d)\n", h->fd, len); in usb_write()
87 n = adb_write(h->fd, data, len); in usb_write()
90 h->fd, n, errno, strerror(errno)); in usb_write()
93 D("[ done fd=%d ]\n", h->fd); in usb_write()
97 int usb_read(usb_handle *h, void *data, int len) in usb_read() argument
101 D("about to read (fd=%d, len=%d)\n", h->fd, len); in usb_read()
102 n = adb_read(h->fd, data, len); in usb_read()
105 h->fd, n, errno, strerror(errno)); in usb_read()
108 D("[ done fd=%d ]\n", h->fd); in usb_read()
[all …]
Dadb.h260 void register_usb_transport(usb_handle *h, const char *serial, unsigned writeable);
384 int usb_write(usb_handle *h, const void *data, int len);
385 int usb_read(usb_handle *h, void *data, int len);
386 int usb_close(usb_handle *h);
387 void usb_kick(usb_handle *h);
DREADME.txt14 adb.h
32 sysdeps.h
Dtransport_usb.c108 void init_usb_transport(atransport *t, usb_handle *h, int state) in init_usb_transport() argument
118 t->usb = h; in init_usb_transport()
/bootable/bootloader/legacy/libboot/
Dtags_cmdline.c41 struct tag_handler h; in tags_get_cmdline() local
43 h.type = 0x54410009; in tags_get_cmdline()
44 h.func = tag_cmdline; in tags_get_cmdline()
45 h.cookie = &cmdline; in tags_get_cmdline()
47 tags_parse(tags, &h, 1); in tags_get_cmdline()
Dtags_serialno.c42 struct tag_handler h; in tags_get_serialno() local
44 h.type = 0x54410006; in tags_get_serialno()
45 h.func = tag_serialno; in tags_get_serialno()
46 h.cookie = sn; in tags_get_serialno()
48 tags_parse(tags, &h, 1); in tags_get_serialno()
Dtags_revision.c43 struct tag_handler h; in tags_get_revision() local
45 h.type = 0x54410007; in tags_get_revision()
46 h.func = tag_revision; in tags_get_revision()
47 h.cookie = &n; in tags_get_revision()
49 tags_parse(tags, &h, 1); in tags_get_revision()
Dtags.c54 struct tag_handler *h = handlers + n; in tags_parse() local
55 if((h->type == type) || (h->type == 0)) { in tags_parse()
56 h->func(type, (void*) &tags[2], (size - 2) * 4, h->cookie); in tags_parse()
/bootable/recovery/
Dmake-overlay.py49 h, w = base.size variable
51 for i in range(h):
66 h = maxmaxj - minminj + 1 variable
73 out = Image.new("RGB", (w, h))
75 for j in range(h):
88 for j in range(h):
Dadb_install.h22 int apply_from_adb(RecoveryUI* h, int* wipe_cache, const char* install_file);
Drecovery.cpp424 const char** h = new_headers; in prepend_title() local
425 for (p = title; *p; ++p, ++h) *h = *p; in prepend_title()
426 for (p = headers; *p; ++p, ++h) *h = *p; in prepend_title()
427 *h = NULL; in prepend_title()
/bootable/recovery/applypatch/
Dbsdiff.c60 static void split(off_t *I,off_t *V,off_t start,off_t len,off_t h) in split() argument
66 j=1;x=V[I[k]+h]; in split()
68 if(V[I[k+i]+h]<x) { in split()
69 x=V[I[k+i]+h]; in split()
72 if(V[I[k+i]+h]==x) { in split()
83 x=V[I[start+len/2]+h]; in split()
86 if(V[I[i]+h]<x) jj++; in split()
87 if(V[I[i]+h]==x) kk++; in split()
93 if(V[I[i]+h]<x) { in split()
95 } else if(V[I[i]+h]==x) { in split()
[all …]
/bootable/recovery/minui/
Dminui.h39 void gr_fill(int x, int y, int w, int h);
44 void gr_blit(gr_surface source, int sx, int sy, int w, int h, int dx, int dy);
Dgraphics.c237 void gr_fill(int x, int y, int w, int h) in gr_fill() argument
241 gl->recti(gl, x, y, w, h); in gr_fill()
244 void gr_blit(gr_surface source, int sx, int sy, int w, int h, int dx, int dy) { in gr_blit() argument
256 gl->recti(gl, dx, dy, dx + w, dy + h); in gr_blit()
/bootable/bootloader/legacy/include/boot/
Dtags.h41 void tags_parse(void *tags, struct tag_handler *h, unsigned count);