Searched refs:dest_len (Results 1 – 2 of 2) sorted by relevance
166 int dest_len = strlen(argv[1]); in shell_cmd_cd() local168 if (dest_len >= SHELL_CWD_MAX_SIZE - 1) in shell_cmd_cd()183 char *new_path = (char *)malloc(dest_len + 2); in shell_cmd_cd()184 memset(new_path, 0, dest_len + 2); in shell_cmd_cd()185 strncpy(new_path, argv[1], dest_len); in shell_cmd_cd()192 shell_current_path[dest_len] = '\0'; in shell_cmd_cd()202 if (dest_len > 2) in shell_cmd_cd()208 int new_len = current_dir_len + dest_len - dest_offset; in shell_cmd_cd()
1907 let mut dest_len: usize = 0; in copy_part() localVariable1912 if dest_len == dest.len() { in copy_part()1913 return (dest_len as u8, false, lossy_conv); in copy_part()1932 dest[dest_len] = c.to_ascii_uppercase() as u8; in copy_part()1933 dest_len += 1; in copy_part()1937 return (dest_len as u8, true, lossy_conv); in copy_part()