Lines Matching full:length
64 int length, cmd_length = 0; in msh_exec_script() local
68 /* get the length of command0 */ in msh_exec_script()
72 /* get name length */ in msh_exec_script()
73 length = cmd_length + 32; in msh_exec_script()
76 pg_name = (char *) rt_malloc(length); in msh_exec_script()
91 rt_snprintf(pg_name, length - 1, "/bin/%.*s", cmd_length, cmd_line); in msh_exec_script()
101 int length; in msh_exec_script() local
108 length = msh_readline(fd, line_buf, RT_CONSOLEBUF_SIZE); in msh_exec_script()
109 if (length > 0) in msh_exec_script()
114 for (index = 0; index < length; index ++) in msh_exec_script()
122 msh_exec(line_buf, length); in msh_exec_script()
125 while (length > 0); in msh_exec_script()