Lines Matching defs:next
286 static int file_read_dir(URLContext *h, AVIODirEntry **next)
293 *next = ff_alloc_dir_entry();
294 if (!*next)
300 av_freep(next);
310 (*next)->type = AVIO_ENTRY_DIRECTORY;
312 (*next)->type = AVIO_ENTRY_NAMED_PIPE;
314 (*next)->type = AVIO_ENTRY_CHARACTER_DEVICE;
316 (*next)->type = AVIO_ENTRY_BLOCK_DEVICE;
318 (*next)->type = AVIO_ENTRY_SYMBOLIC_LINK;
320 (*next)->type = AVIO_ENTRY_SOCKET;
322 (*next)->type = AVIO_ENTRY_FILE;
324 (*next)->type = AVIO_ENTRY_UNKNOWN;
326 (*next)->group_id = st.st_gid;
327 (*next)->user_id = st.st_uid;
328 (*next)->size = st.st_size;
329 (*next)->filemode = st.st_mode & 0777;
330 (*next)->modification_timestamp = INT64_C(1000000) * st.st_mtime;
331 (*next)->access_timestamp = INT64_C(1000000) * st.st_atime;
332 (*next)->status_change_timestamp = INT64_C(1000000) * st.st_ctime;
337 (*next)->name = av_strdup(dir->d_name);