Lines Matching refs:strlen
25 if (strncmp(dir,"/shares/shares",strlen("/shares/shares"))==0)
29 dir = dir+strlen("/shares");
49 if (strlen(tmp) == 0 || strcmp(tmp, "/") == 0) {
70 cwd = realloc(cwd, strlen(tmp) + 1);
88 if (result[strlen(result) - 1] == '/')
89 result[strlen(result) - 1] = '\0';
94 if ((result[strlen(result) - 1] == '/') && (strlen(result) > 1))
95 result[strlen(result) - 1] = '\0';
98 if (result[strlen(result) - 1] != '/')
108 char *result = malloc(strlen(path) + strlen(cwd) + 16);
129 cutto(path2, strlen(tmp) + 1);