Lines Matching refs:str
242 static unsigned int ftp_pl_get_permission(const char *str)
246 if(str[0] == 'r')
248 else if(str[0] != '-')
250 if(str[1] == 'w')
252 else if(str[1] != '-')
255 if(str[2] == 'x')
257 else if(str[2] == 's') {
261 else if(str[2] == 'S')
263 else if(str[2] != '-')
266 if(str[3] == 'r')
268 else if(str[3] != '-')
270 if(str[4] == 'w')
272 else if(str[4] != '-')
274 if(str[5] == 'x')
276 else if(str[5] == 's') {
280 else if(str[5] == 'S')
282 else if(str[5] != '-')
285 if(str[6] == 'r')
287 else if(str[6] != '-')
289 if(str[7] == 'w')
291 else if(str[7] != '-')
293 if(str[8] == 'x')
295 else if(str[8] == 't') {
299 else if(str[8] == 'T')
301 else if(str[8] != '-')
319 char *str = Curl_dyn_ptr(&infop->buf);
320 finfo->filename = str + parser->offsets.filename;
322 str + parser->offsets.group : NULL;
324 str + parser->offsets.perm : NULL;
326 str + parser->offsets.symlink_target : NULL;
327 finfo->strings.time = str + parser->offsets.time;
329 str + parser->offsets.user : NULL;