/external/e2fsprogs/lib/ss/ |
prompt.c | 22 void ss_set_prompt(int sci_idx, char *new_prompt) 24 ss_info(sci_idx)->prompt = new_prompt; 27 char *ss_get_prompt(int sci_idx) 29 return(ss_info(sci_idx)->prompt);
|
requests.c | 20 int sci_idx, void *infop) 27 int sci_idx, void *infop __SS_ATTR((unused))) 29 register ss_data *info = ss_info(sci_idx); 39 int sci_idx, 42 printf("%s\n", ss_info(sci_idx)->subsystem_name); 50 int sci_idx, 53 printf("%s\n", ss_info(sci_idx)->subsystem_version); 62 int sci_idx, void *infop __SS_ATTR((unused))) 64 ss_perror(sci_idx, SS_ET_UNIMPLEMENTED, "");
|
execute_cmd.c | 21 char *argv[], int sci_idx)); 22 static int really_execute_command PROTOTYPE((int sci_idx, int argc, 58 * check_request_table(rqtbl, argc, argv, sci_idx) 71 * sci_idx (int) 79 static int check_request_table (rqtbl, argc, argv, sci_idx) 83 int sci_idx; 95 info = ss_info(sci_idx); 103 sci_idx,info->info_ptr); 112 * really_execute_command(sci_idx, argc, argv) 118 * sci_idx (int [all...] |
ss.h | 69 char *ss_name(int sci_idx); 81 void ss_abort_subsystem(int sci_idx, int code); 82 void ss_quit(int argc, const char * const *argv, int sci_idx, void *infop); 83 void ss_self_identify(int argc, const char * const *argv, int sci_idx, void *infop); 85 int sci_idx, void *infop); 87 int sci_idx, void *infop); 89 int sci_idx, void *infop); 90 void ss_set_prompt(int sci_idx, char *new_prompt); 91 char *ss_get_prompt(int sci_idx); 92 void ss_get_readline(int sci_idx); [all...] |
test_ss.c | 34 static int source_file(const char *cmd_file, int sci_idx) 72 retval = ss_execute_line(sci_idx, buf); 74 ss_perror(sci_idx, retval, buf); 86 int sci_idx; local 104 sci_idx = ss_create_invocation(subsystem_name, version, 107 ss_perror(sci_idx, code, "creating invocation"); 111 (void) ss_add_request_table (sci_idx, &ss_std_requests, 1, &code); 113 ss_perror (sci_idx, code, "adding standard requests"); 121 code = ss_execute_line(sci_idx, request); 123 ss_perror(sci_idx, code, request) [all...] |
ss_internal.h | 80 #define ss_info(sci_idx) (_ss_table[sci_idx]) 81 #define ss_current_request(sci_idx,code_ptr) \ 82 (*code_ptr=0,ss_info(sci_idx)->current_request) 83 void ss_add_info_dir (int sci_idx, char *info_dir, int *code_ptr); 84 void ss_delete_info_dir (int sci_idx, char *info_dir, int *code_ptr); 85 int ss_execute_line(int sci_idx, char *line_ptr); 86 char **ss_parse(int sci_idx, char *line_ptr, int *argc_ptr); 90 int ss_execute_command(int sci_idx, char *argv[]);
|
error.c | 22 char * ss_name(sci_idx) 23 int sci_idx; 28 infop = ss_info(sci_idx); 60 void ss_error (int sci_idx, long code, const char * fmt, ...) 66 whoami = ss_name (sci_idx); 72 void ss_perror (sci_idx, code, msg) /* for compatibility */ 73 int sci_idx; 77 ss_error (sci_idx, code, "%s", msg);
|
help.c | 38 void ss_help (argc, argv, sci_idx, info_ptr) 41 int sci_idx; 51 request_name = ss_current_request(sci_idx, &code); 53 ss_perror(sci_idx, code, ""); 57 ss_list_requests(argc, argv, sci_idx, info_ptr); 64 ss_perror(sci_idx, 0, 70 ss_perror(sci_idx, 0, buffer); 74 info = ss_info(sci_idx); 76 ss_perror(sci_idx, SS_ET_NO_INFO_DIR, (char *)NULL); 80 ss_perror(sci_idx, SS_ET_NO_INFO_DIR, (char *)NULL) [all...] |
invocation.c | 30 register int sci_idx; local 44 for (sci_idx = 1; table[sci_idx] != (ss_data *)NULL; sci_idx++) 47 ((unsigned)sci_idx+2)*size); 48 table[sci_idx+1] = (ss_data *) NULL; 49 table[sci_idx] = new_table; 80 ss_get_readline(sci_idx); 82 return(sci_idx); 86 ss_delete_invocation(sci_idx) [all...] |
request_tbl.c | 22 void ss_add_request_table(sci_idx, rqtbl_ptr, position, code_ptr) 23 int sci_idx; 31 info = ss_info(sci_idx); 54 void ss_delete_request_table(sci_idx, rqtbl_ptr, code_ptr) 55 int sci_idx; 63 info = ss_info(sci_idx);
|
listen.c | 48 int ss_listen (int sci_idx) 60 current_info = info = ss_info(sci_idx); 103 code = ss_execute_line (sci_idx, line); 114 ss_error (sci_idx, 0, 129 void ss_abort_subsystem(int sci_idx, int code) 131 ss_info(sci_idx)->abort = 1; 132 ss_info(sci_idx)->exit_status = code; 138 int sci_idx, pointer infop __SS_ATTR((unused))) 140 ss_abort_subsystem(sci_idx, 0);
|
parse.c | 45 char **ss_parse (sci_idx, line_ptr, argc_ptr) 46 int sci_idx; 56 ss_error(sci_idx, errno, "Can't allocate storage"); 116 ss_error (sci_idx, 0,
|
list_rqs.c | 26 int sci_idx, void *infop __SS_ATTR((unused))) 51 ss_info (sci_idx) -> subsystem_name); 53 for (table = ss_info(sci_idx)->rqt_tables; *table; table++) {
|
get_readline.c | 41 void ss_get_readline(int sci_idx) 45 ss_data *info = ss_info(sci_idx);
|
/external/e2fsprogs/tests/progs/ |
test_icount.c | 246 static int source_file(const char *cmd_file, int sci_idx) 284 retval = ss_execute_line(sci_idx, buf); 286 ss_perror(sci_idx, retval, buf); 296 int sci_idx; local 332 sci_idx = ss_create_invocation("test_icount", "0.0", (char *) NULL, 335 ss_perror(sci_idx, retval, "creating invocation"); 339 (void) ss_add_request_table (sci_idx, &ss_std_requests, 1, &retval); 341 ss_perror(sci_idx, retval, "adding standard requests"); 346 retval = ss_execute_line(sci_idx, request); 348 ss_perror(sci_idx, retval, request) [all...] |
test_rel.c | 662 static int source_file(const char *cmd_file, int sci_idx) 700 retval = ss_execute_line(sci_idx, buf); 702 ss_perror(sci_idx, retval, buf); 712 int sci_idx; local 734 sci_idx = ss_create_invocation("test_rel", "0.0", (char *) NULL, 737 ss_perror(sci_idx, retval, "creating invocation"); 741 (void) ss_add_request_table (sci_idx, &ss_std_requests, 1, &retval); 743 ss_perror(sci_idx, retval, "adding standard requests"); 748 retval = ss_execute_line(sci_idx, request); 750 ss_perror(sci_idx, retval, request) [all...] |
/external/e2fsprogs/debugfs/ |
debugfs.c | 1812 int sci_idx; local [all...] |