Home
last modified time | relevance | path

Searched refs:count (Results 1 – 12 of 12) sorted by relevance

/bootable/recovery/minzip/
DHash.c117 int i, count; in countTombStones() local
119 for (count = i = 0; i < pHashTable->tableSize; i++) { in countTombStones()
121 count++; in countTombStones()
123 return count; in countTombStones()
309 int count = 0; in countProbes() local
334 count++; in countProbes()
339 return count; in countProbes()
363 int count; in mzHashTableProbeCount() local
365 count = countProbes(pHashTable, (*calcFunc)(data), data, cmpFunc); in mzHashTableProbeCount()
369 if (count < minProbe) in mzHashTableProbeCount()
[all …]
/bootable/recovery/tools/ota/
Dcheck-lost+found.c105 int count = 0; in main() local
109 ++count; in main()
112 if (count > 0) { in main()
113 fprintf(out, "OMGZ FOUND %d FILES IN %s\n", count, fn); in main()
/bootable/recovery/edify/
Dexpr.c325 Expr* Build(Function fn, YYLTYPE loc, int count, ...) { in Build() argument
327 va_start(v, count); in Build()
331 e->argc = count; in Build()
332 e->argv = malloc(count * sizeof(Expr*)); in Build()
334 for (i = 0; i < count; ++i) { in Build()
403 int ReadArgs(State* state, Expr* argv[], int count, ...) { in ReadArgs() argument
404 char** args = malloc(count * sizeof(char*)); in ReadArgs()
406 va_start(v, count); in ReadArgs()
408 for (i = 0; i < count; ++i) { in ReadArgs()
429 int ReadValueArgs(State* state, Expr* argv[], int count, ...) { in ReadValueArgs() argument
[all …]
Dexpr.h97 Expr* Build(Function fn, YYLTYPE loc, int count, ...);
138 int ReadArgs(State* state, Expr* argv[], int count, ...);
143 int ReadValueArgs(State* state, Expr* argv[], int count, ...);
/bootable/recovery/applypatch/
Dfreecache.c47 int count; in EliminateOpenFiles() local
48 count = readlink(fd_path, link, sizeof(link)-1); in EliminateOpenFiles()
49 if (count >= 0) { in EliminateOpenFiles()
50 link[count] = '\0'; in EliminateOpenFiles()
Dapplypatch.sh131 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
Dapplypatch.c829 int count = slash - target_filename; in GenerateTarget() local
830 strncpy(target_fs, target_filename, count); in GenerateTarget()
831 target_fs[count] = '\0'; in GenerateTarget()
/bootable/recovery/
Dbootloader.cpp172 int count = fread(&temp, sizeof(temp), 1, f); in get_bootloader_message_block() local
173 if (count != 1) { in get_bootloader_message_block()
193 int count = fwrite(in, sizeof(*in), 1, f); in set_bootloader_message_block() local
194 if (count != 1) { in set_bootloader_message_block()
Dui.h147 int count; member
161 void time_key(int key_code, int count);
Dui.cpp152 info->count = key_down_count; in ProcessKey()
190 info->ui->time_key(info->key_code, info->count); in time_key_helper()
195 void RecoveryUI::time_key(int key_code, int count) { in time_key() argument
199 if (key_last_down == key_code && key_down_count == count) { in time_key()
Dscreen_ui.cpp286 size_t count = 0; in draw_screen_locked() local
288 ty >= y && count < text_rows_; in draw_screen_locked()
289 ty -= char_height, ++count) { in draw_screen_locked()
/bootable/recovery/updater/
Dblockimg.c59 int count; member
75 out->count = num / 2; in parse_range()
97 for (i = 0; i < r1->count; ++i) { in range_overlaps()
101 for (j = 0; j < r2->count; ++j) { in range_overlaps()
205 if (rss->p_block < rss->tgt->count) { in RangeSinkWrite()
273 if (nti->rss->p_block == nti->rss->tgt->count) { in receive_new_data()
301 for (i = 0; i < src->count; ++i) { in ReadBlocks()
327 for (i = 0; i < tgt->count; ++i) { in WriteBlocks()
882 for (i = locs->count-1; i >= 0; --i) { in MoveRange()
1231 for (i = 0; i < tgt->count; ++i) { in PerformCommandZero()
[all …]