Lines Matching defs:ptr
80 char *ptr;
82 if( (ptr = strrchr( filepath, '/' )) == NULL )
84 *ptr = '\0';
86 *ptr++ = '/';
87 if( stat( ptr, &st ) == -1 )
89 ftp_addentry( ptr, st.st_mtime );
104 char buf[ STRLEN ], *ptr;
109 if( (ptr = strchr( buf, ' ' )) != NULL ) {
110 *ptr++ = '\0';
111 hashput( htab, buf, ptr );
130 char *ptr;
133 if( (ptr = strrchr( buf, ' ' )) == NULL )
135 *ptr++ = '\0';
136 fi->fname = ptr;
145 if( *(ptr - 14) == ' ' ) {
146 ptr -= 15;
147 while( *ptr != ' ' ) ptr--;
148 fi->fsize = (int)strtol( ptr+1, (char**)0, 0 );
153 fi->info = ptr;
154 if( (ptr = strrchr( buf, ' ' )) == NULL ||
155 strcmp( ptr, " ->" ) != 0 )
157 *ptr = '\0';
166 if( *(ptr - 2) != ' ' ) {
167 ptr -= 2;
168 while( *ptr != ' ' ) ptr--;
169 fi->fsize = (int)strtol( ptr+1, (char**)0, 0 );
251 char token[4], *ptr;
275 if( (ptr = strchr( buf, '\r' )) != NULL && ptr[1] == '\n' ) {
276 *ptr++ = '\n';
277 *ptr = '\0';
305 char *arg[6], *ptr;
310 (ptr = strchr( reply, '(' )) == NULL ) {
314 if( SplitFields( arg, 6, ptr+1, ',' ) < 6 ) {