Lines Matching refs:strlen
67 config_file = (char*) malloc (strlen (home_dir) + strlen ("/.config/user-dirs.dirs") + 1);
76 config_file = (char*) malloc (strlen (config_home) + strlen ("/user-dirs.dirs") + 1);
93 len = strlen (buffer);
104 if (strncmp (p, type, strlen (type)) != 0)
106 p += strlen (type);
136 user_dir = (char*) malloc (strlen (home_dir) + 1 + strlen (p) + 1);
145 user_dir = (char*) malloc (strlen (p) + 1);
152 d = user_dir + strlen (user_dir);
207 user_dir = (char*) malloc (strlen (home_dir) + strlen ("/Desktop") + 1);