/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...] |
/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/minadbd/ |
H A D | usb_linux_client.c | 350 size_t count = 0; local 354 ret = adb_write(bulk_in, buf + count, length - count); 359 count += ret; 361 } while (count < length); 364 return count; 384 size_t count = 0; local 388 ret = adb_read(bulk_out, buf + count, length - count); 391 D("[ bulk_read failed fd=%d length=%zu count [all...] |
H A D | adb.c | 160 unsigned count; local 174 count = p->msg.data_length; 176 if(count > DUMPMAX) { 177 count = DUMPMAX; 182 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); 788 unsigned count, sum; local 791 count = p->msg.data_length; 794 while(count-- > 0) {
|
/bootable/recovery/edify/ |
H A D | expr.h | 48 #define VAL_STRING 1 // data will be NULL-terminated; size doesn't count null 97 Expr* Build(Function fn, YYLTYPE loc, int count, ...); 135 // Evaluate the expressions in argv, giving 'count' char* (the ... is 138 int ReadArgs(State* state, Expr* argv[], int count, ...); 140 // Evaluate the expressions in argv, giving 'count' Value* (the ... is 143 int ReadValueArgs(State* state, Expr* argv[], int count, ...);
|
H A D | expr.c | 325 Expr* Build(Function fn, YYLTYPE loc, int count, ...) { argument 327 va_start(v, count); 331 e->argc = count; 332 e->argv = malloc(count * sizeof(Expr*)); 334 for (i = 0; i < count; ++i) { 400 // Evaluate the expressions in argv, giving 'count' char* (the ... is 403 int ReadArgs(State* state, Expr* argv[], int count, ...) { argument 404 char** args = malloc(count * sizeof(char*)); 406 va_start(v, count); 408 for (i = 0; i < count; 429 ReadValueArgs(State* state, Expr* argv[], int count, ...) argument [all...] |
/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.sh | 131 run_command dd if=/dev/urandom of=$WORK_DIR/old.file count=100 bs=1024 || fail 223 run_command dd if=/dev/urandom of=$WORK_DIR/old.file count=100 bs=1024 || fail 231 run_command dd if=/dev/urandom of=$CACHE_TEMP_SOURCE count=100 bs=1024 || fail 238 run_command dd if=/dev/urandom of=$WORK_DIR/new.file count=100 bs=1024 || fail 250 echo run_command dd if=/dev/zero of=$WORK_DIR/bloat.dat count=$((free_kb-512)) bs=1024 || fail 251 run_command dd if=/dev/zero of=$WORK_DIR/bloat.dat count=$((free_kb-512)) bs=1024 || fail 281 run_command dd if=/dev/zero of=/cache/bloat_small.dat count=128 bs=1024 || fail 282 run_command dd if=/dev/zero of=/cache/bloat_large.dat count=$((free_kb-640)) bs=1024 || fail 326 run_command dd if=/dev/urandom of=$WORK_DIR/old.file count=100 bs=1024 || fail
|
H A D | applypatch.c | 826 int count = slash - target_filename; local 827 strncpy(target_fs, target_filename, count); 828 target_fs[count] = '\0';
|
/bootable/recovery/ |
H A D | ui.h | 141 int count; member in struct:RecoveryUI::__anon29 152 void time_key(int key_code, int count);
|
H A D | bootloader.cpp | 172 int count = fread(&temp, sizeof(temp), 1, f); local 173 if (count != 1) { 193 int count = fwrite(in, sizeof(*in), 1, f); local 194 if (count != 1) {
|
H A D | ui.cpp | 133 info->count = key_down_count; 178 info->ui->time_key(info->key_code, info->count); 183 void RecoveryUI::time_key(int key_code, int count) { argument 187 if (key_last_down == key_code && key_down_count == count) {
|
H A D | screen_ui.cpp | 251 for (int ty = gr_fb_height() - char_height, count = 0; 252 ty > y+2 && count < text_rows; 253 ty -= char_height, ++count) {
|
H A D | recovery.cpp | 455 // count the number of lines in our title, plus the 457 int count = 3; // our title has 3 lines local 459 for (p = headers; *p; ++p, ++count); 461 const char** new_headers = (const char**)malloc((count+1) * sizeof(char*));
|
/bootable/recovery/updater/ |
H A D | blockimg.c | 52 int count; member in struct:__anon30 68 out->count = num / 2; 166 if (rss->p_block < rss->tgt->count) { 229 if (nti->rss->p_block == nti->rss->tgt->count) { 416 for (i = 0; i < src->count; ++i) { 424 for (i = 0; i < tgt->count; ++i) { 447 for (i = 0; i < tgt->count; ++i) { 506 for (i = 0; i < src->count; ++i) { 536 if (rss.p_block != tgt->count || rss.p_remain != 0) { 554 for (i = 0; i < tgt->count; [all...] |
/bootable/recovery/uncrypt/ |
H A D | uncrypt.c | 31 // 3 # count of block ranges 160 int count = 0; local
|