/bootable/bootloader/legacy/libc/ |
H A D | memset.c | 29 void *memset(void *_p, unsigned v, unsigned count) argument 32 while(count-- > 0) *p++ = v;
|
H A D | sha.h | 14 uint64_t count; member in struct:SHA_CTX
|
/bootable/bootloader/legacy/libboot/ |
H A D | tags.c | 34 void tags_parse(void *_tags, struct tag_handler *handlers, unsigned count) argument 53 for(n = 0; n < count; n++) {
|
/bootable/recovery/minadbd/ |
H A D | services.c | 49 unsigned count = (unsigned) cookie; local 61 while(count > 0) { 62 unsigned xfer = (count > 4096) ? 4096 : count; 65 count -= xfer; 68 if(count == 0) { 76 if (count == 0) {
|
H A D | adb.c | 162 unsigned count; local 176 count = p->msg.data_length; 178 if(count > DUMPMAX) { 179 count = DUMPMAX; 184 while(count-- > 0){
|
H A D | transport.c | 216 unsigned count; local 220 count = p->msg.data_length; 223 while(count-- > 0){ 566 D("transport: %s unref (count=%d)\n", t->serial, t->ref_count); 809 unsigned count, sum; local 812 count = p->msg.data_length; 815 while(count-- > 0) {
|
/bootable/bootloader/legacy/arch_msm7k/ |
H A D | mddi_console.c | 82 unsigned count = fb_width * fb_height; local 85 while(count--) *dst++ = BGCOLOR; 92 unsigned count = fb_height * (fb_width - 12); local 94 while(count--) { 97 count = fb_width * 12; 98 while(count--) {
|
H A D | nand.c | 516 unsigned count = ptn->length; local 518 while(count-- > 0) { 531 unsigned count = (bytes + 2047 + extra_per_page) / (2048 + extra_per_page); local 540 if(count == 0) { 552 count -= 1;
|
/bootable/bootloader/legacy/nandwrite/ |
H A D | nandwrite.c | 118 int count = 0; local 123 if(++count == 16) { 125 count = 0; 128 if(count != 0) dprintf("\n");
|
/bootable/recovery/applypatch/ |
H A D | freecache.c | 47 int count; local 48 count = readlink(fd_path, link, sizeof(link)-1); 49 if (count >= 0) { 50 link[count] = '\0';
|
H A D | applypatch.c | 731 int count = slash - target_filename; local 732 strncpy(target_fs, target_filename, count); 733 target_fs[count] = '\0';
|
/bootable/recovery/ |
H A D | bootloader.cpp | 171 int count = fread(&temp, sizeof(temp), 1, f); local 172 if (count != 1) { 192 int count = fwrite(in, sizeof(*in), 1, f); local 193 if (count != 1) {
|
H A D | recovery.cpp | 416 // count the number of lines in our title, plus the 418 int count = 0; local 420 for (p = title; *p; ++p, ++count); 421 for (p = headers; *p; ++p, ++count); 423 const char** new_headers = (const char**)malloc((count+1) * sizeof(char*));
|
/bootable/recovery/tools/ota/ |
H A D | check-lost+found.c | 104 int count = 0; local 108 ++count; 111 if (count > 0) { 112 fprintf(out, "OMGZ FOUND %d FILES IN %s\n", count, fn);
|
/bootable/recovery/minzip/ |
H A D | Hash.c | 117 int i, count; local 119 for (count = i = 0; i < pHashTable->tableSize; i++) { 121 count++; 123 return count; 320 int count = 0; local 345 count++; 350 return count; 374 int count; local 376 count = countProbes(pHashTable, (*calcFunc)(data), data, cmpFunc); 380 if (count < minProb [all...] |
H A D | Zip.c | 535 size_t count; local 538 count = bytesLeft; 539 if (count > sizeof(buf)) { 540 count = sizeof(buf); 542 n = read(pArchive->fd, buf, count); 543 if (n < 0 || (size_t)n != count) { 544 LOGE("Can't read %zu bytes from zip file: %ld\n", count, n); 551 bytesLeft -= count;
|
/bootable/recovery/edify/ |
H A D | expr.c | 327 Expr* Build(Function fn, YYLTYPE loc, int count, ...) { argument 329 va_start(v, count); 333 e->argc = count; 334 e->argv = malloc(count * sizeof(Expr*)); 336 for (i = 0; i < count; ++i) { 402 // Evaluate the expressions in argv, giving 'count' char* (the ... is 405 int ReadArgs(State* state, Expr* argv[], int count, ...) { argument 406 char** args = malloc(count * sizeof(char*)); 408 va_start(v, count); 410 for (i = 0; i < count; 431 ReadValueArgs(State* state, Expr* argv[], int count, ...) argument [all...] |