Home
last modified time | relevance | path

Searched refs:retval (Results 1 – 6 of 6) sorted by relevance

/system/extras/tests/fstest/
Dperm_checker.c227 int retval = 0; in validate_file() local
233 retval++; in validate_file()
240 if ((retval + rules_matched) > 1) in validate_file()
244 if (retval) in validate_file()
246 if (rules_matched || retval) in validate_file()
247 return retval; in validate_file()
256 retval++; in validate_file()
267 retval++; in validate_file()
275 retval++; // In case no rules either matched or failed, be sure to fail in validate_file()
277 if (retval) in validate_file()
[all …]
/system/core/sh/
Dhistedit.c225 int i, retval; in histcmd() local
395 retval = history(hist, &he, H_NEXT_EVENT, first); in histcmd()
396 for (;retval != -1; retval = history(hist, &he, direction)) { in histcmd()
485 int i, retval; in str_to_event() local
487 retval = history(hist, &he, H_FIRST); in str_to_event()
498 while (retval != -1 && i--) { in str_to_event()
499 retval = history(hist, &he, H_NEXT); in str_to_event()
501 if (retval == -1) in str_to_event()
502 retval = history(hist, &he, H_LAST); in str_to_event()
504 retval = history(hist, &he, H_NEXT_EVENT, i); in str_to_event()
[all …]
Djobs.c605 int status, retval = 127; in waitcmd() local
633 retval = 127; in waitcmd()
643 retval = WEXITSTATUS(status); in waitcmd()
646 retval = WSTOPSIG(status) + 128; in waitcmd()
650 retval = WTERMSIG(status) + 128; in waitcmd()
655 return retval; in waitcmd()
/system/core/fs_mgr/
Dfs_mgr_verity.c91 int retval = -1; in verify_table() local
113 retval = 0; in verify_table()
117 return retval; in verify_table()
157 int retval = -1; in read_verity_metadata() local
228 retval = 0; in read_verity_metadata()
233 return retval; in read_verity_metadata()
339 int retval = -1; in fs_mgr_setup_verity() local
357 return retval; in fs_mgr_setup_verity()
405 retval = 0; in fs_mgr_setup_verity()
409 return retval; in fs_mgr_setup_verity()
/system/extras/micro_bench/
Dmicro_bench.cpp454 int retval; in benchmarkStrcmp() local
458retval = strcmp_func(reinterpret_cast<char*>(buf1), reinterpret_cast<char*>(buf2)); \ in benchmarkStrcmp()
459 if (retval != 0) printf("%s failed, return value %d\n", name, retval)); in benchmarkStrcmp()
467 int retval; in benchmarkStrcmpCold() local
475retval = strcmp_func(reinterpret_cast<char*>(buf1), reinterpret_cast<char*>(buf2)); \ in benchmarkStrcmpCold()
476 if (retval != 0) printf("%s failed, return value %d\n", name, retval)); in benchmarkStrcmpCold()
/system/vold/
Dcryptfs.c778 int retval = -1; in create_crypto_blk_dev() local
833 retval = 0; in create_crypto_blk_dev()
838 return retval; in create_crypto_blk_dev()
846 int retval = -1; in delete_crypto_blk_dev() local
862 retval = 0; in delete_crypto_blk_dev()
867 return retval; in delete_crypto_blk_dev()