Lines Matching refs:cmd
65 static int _rt_module_split_arg(char *cmd, rt_size_t length, char *argv[]) in _rt_module_split_arg() argument
68 char *ptr = cmd; in _rt_module_split_arg()
70 while ((ptr - cmd) < length) in _rt_module_split_arg()
73 while ((*ptr == ' ' || *ptr == '\t') && (ptr - cmd) < length) in _rt_module_split_arg()
76 if ((ptr - cmd) >= length) break; in _rt_module_split_arg()
84 while (*ptr != '"' && (ptr - cmd) < length) in _rt_module_split_arg()
86 if ((ptr - cmd) >= length) break; in _rt_module_split_arg()
94 while ((*ptr != ' ' && *ptr != '\t') && (ptr - cmd) < length) in _rt_module_split_arg()
566 struct rt_dlmodule* dlmodule_exec(const char* pgname, const char* cmd, int cmd_size) in dlmodule_exec() argument
578 module->cmd_line = rt_strdup(cmd); in dlmodule_exec()
743 struct rt_dlmodule* dlmodule_exec_custom(const char* pgname, const char* cmd, int cmd_size, struct … in dlmodule_exec_custom() argument
755 module->cmd_line = rt_strdup(cmd); in dlmodule_exec_custom()