Home
last modified time | relevance | path

Searched refs:s (Results 1 – 21 of 21) sorted by relevance

/bootable/bootloader/legacy/arch_msm7k/
Dhsusb.c224 setup_packet s; in handle_setup() local
226 memcpy(&s, ept->head->setup_data, sizeof(s)); in handle_setup()
230 s.type, s.request, s.value, s.index, s.length, in handle_setup()
231 reqname(s.request)); in handle_setup()
233 switch(SETUP(s.type,s.request)) { in handle_setup()
236 if(s.length == 2) { in handle_setup()
245 if(s.value == d->id) { in handle_setup()
247 if(len > s.length) len = s.length; in handle_setup()
258 if((s.value == 0) && (s.index == 0) && (s.length == 1)) { in handle_setup()
264 if(s.value == 1) { in handle_setup()
[all …]
Dclock.c217 void info(unsigned c, unsigned s) in info() argument
221 if(s & 1) { in info()
231 unsigned src = s & 1; in info()
232 unsigned pdiv = cs_div[(s >> 1) & 3]; in info()
240 c, s, src, pdiv, src_sel, div, cps, clk); in info()
246 unsigned c, s; in arm11_clock_test() local
257 s = val; in arm11_clock_test()
258 info(c, s); in arm11_clock_test()
Dshared.c32 static void get_version(char *s, unsigned id) in get_version() argument
37 snprintf(s, 32, "%d.%d", n >> 16, n & 0xffff); in get_version()
40 void get_version_modem(char *s) in get_version_modem() argument
42 get_version(s, VERSION_MODEM); in get_version_modem()
45 void get_version_modem_sbl(char *s) in get_version_modem_sbl() argument
47 get_version(s, VERSION_MODEM_SBL); in get_version_modem_sbl()
Duart.c117 void uart_puts(const char *s) in uart_puts() argument
119 while(*s) { in uart_puts()
120 if(*s == '\n') uart_putc('\r'); in uart_puts()
121 uart_putc(*s++); in uart_puts()
Dmddi.c77 unsigned s; in mddi_remote_write() local
104 s = readl(MDDI_STAT); in mddi_remote_write()
105 while((s & 0x20) == 0){ in mddi_remote_write()
106 s = readl(MDDI_STAT); in mddi_remote_write()
/bootable/bootloader/legacy/libc/
Dxprintf.c42 static void xputs(const char *s, void (*xputc)(unsigned n, void *cookie), void *cookie) in xputs() argument
44 while (*s) { in xputs()
45 xputc(*s++, cookie); in xputs()
116 char *s = va_arg(ap, char*); in __xprintf() local
117 if(s == 0) s = "(null)"; in __xprintf()
118 xputs(s, xputc, cookie); in __xprintf()
Dstrlen.c29 int strlen(const char *s) in strlen() argument
32 while(*s++) len++; in strlen()
/bootable/recovery/edify/
Dparser.y29 void yyerror(Expr** root, int* error_count, const char* s);
124 void yyerror(Expr** root, int* error_count, const char* s) {
125 if (strlen(s) == 0) {
126 s = "syntax error";
128 printf("line %d col %d: %s\n", gLine, gColumn, s);
DREADME43 - There's no distinction between quoted and unquoted strings; the
86 second argument only if it's needed to determine the truth of the
Dexpr.c31 int BooleanString(const char* s) { in BooleanString() argument
32 return s[0] != '\0'; in BooleanString()
/bootable/recovery/applypatch/
Dbsdiff.c232 off_t s,Sf,lenf,Sb,lenb; in bsdiff() local
304 s=0;Sf=0;lenf=0; in bsdiff()
306 if(old[lastpos+i]==new[lastscan+i]) s++; in bsdiff()
308 if(s*2-i>Sf*2-lenf) { Sf=s; lenf=i; }; in bsdiff()
313 s=0;Sb=0; in bsdiff()
315 if(old[pos-i]==new[scan-i]) s++; in bsdiff()
316 if(s*2-i>Sb*2-lenb) { Sb=s; lenb=i; }; in bsdiff()
322 s=0;Ss=0;lens=0; in bsdiff()
325 old[lastpos+lenf-overlap+i]) s++; in bsdiff()
327 old[pos-lenb+i]) s--; in bsdiff()
[all …]
Dimgdiff_test.sh61 stat -c %s $1 | tr -d '\n'
Dapplypatch.sh105 NEW_SIZE=$(stat -c %s $DATA_DIR/new.file)
/bootable/recovery/minui/
Dminui.h36 int gr_text(int x, int y, const char *s);
37 int gr_measure(const char *s);
Dgraphics.c200 int gr_measure(const char *s) in gr_measure() argument
202 return gr_font->cwidth * strlen(s); in gr_measure()
211 int gr_text(int x, int y, const char *s) in gr_text() argument
225 while((off = *s++)) { in gr_text()
/bootable/bootloader/legacy/include/msm7k/
Dshared.h42 void get_version_modem(char *s);
43 void get_version_modem_sbl(char *s);
/bootable/bootloader/legacy/usbloader/
Dmain.c269 char *s = serialno; in _main() local
271 while (*sn && (*sn != ' ') && ((s - serialno) < 31)) { in _main()
272 *s++ = *sn++; in _main()
274 *s++ = 0; in _main()
/bootable/bootloader/legacy/
Dfastboot_protocol.txt109 "getvar:%s" Read a config/version variable from the bootloader.
123 "flash:%s" Write the previously downloaded image to the
126 "erase:%s" Erase the indicated partition (clear to 0xFFs)
148 The "getvar:%s" command is used to read client variables which
DREADME12 mobile device using SEMI's 65002 ARM-based system-on-chip.
/bootable/bootloader/legacy/include/boot/
Dboot.h96 int strlen(const char *s);
/bootable/recovery/
DNOTICE93 Contribution(s) alone or by combination of their Contribution(s)
94 with the Work to which such Contribution(s) was submitted. If You