Searched refs:retval (Results 1 – 6 of 6) sorted by relevance
/system/extras/tests/fstest/ |
D | perm_checker.c | 227 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/ |
D | histedit.c | 225 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 …]
|
D | jobs.c | 605 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/ |
D | fs_mgr_verity.c | 91 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/ |
D | micro_bench.cpp | 454 int retval; in benchmarkStrcmp() local 458 … retval = 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 475 … retval = 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/ |
D | cryptfs.c | 778 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()
|