Home
last modified time | relevance | path

Searched refs:p_statbuf (Results 1 – 25 of 35) sorted by relevance

12

/dports/sysutils/libcdio/libcdio-2.1.0/src/
H A Dutil.c488 p_statbuf->rr.st_nlinks, in print_fs_attrs()
489 p_statbuf->rr.st_uid, in print_fs_attrs()
490 p_statbuf->rr.st_gid, in print_fs_attrs()
491 (long unsigned int) p_statbuf->lsn, in print_fs_attrs()
492 S_ISLNK(p_statbuf->rr.st_mode) in print_fs_attrs()
493 ? strlen(p_statbuf->rr.psz_symlink) in print_fs_attrs()
494 : (unsigned int) p_statbuf->size ); in print_fs_attrs()
503 p_statbuf->xa.filenum, in print_fs_attrs()
509 (unsigned int) p_statbuf->size ); in print_fs_attrs()
516 (unsigned int) p_statbuf->size ); in print_fs_attrs()
[all …]
H A Diso-info.c272 iso9660_stat_t *p_statbuf = _cdio_list_node_data (entnode); in print_iso9660_recurse() local
273 char *psz_iso_name = p_statbuf->filename; in print_iso9660_recurse()
279 if (yep != p_statbuf->rr.b3_rock || 1 == opts.no_rock_ridge) { in print_iso9660_recurse()
291 if (p_statbuf->type == _STAT_DIR in print_iso9660_recurse()
297 print_fs_attrs(p_statbuf, in print_iso9660_recurse()
303 printf("%9u %s%s\n", (unsigned int) p_statbuf->size, psz_path, in print_iso9660_recurse()
304 yep == p_statbuf->rr.b3_rock in print_iso9660_recurse()
H A Dcd-info.c574 iso9660_stat_t *p_statbuf = _cdio_list_node_data (entnode); in print_iso9660_recurse() local
575 char *psz_iso_name = p_statbuf->filename; in print_iso9660_recurse()
586 if (yep != p_statbuf->rr.b3_rock || 1 == opts.no_rock_ridge) { in print_iso9660_recurse()
597 if (p_statbuf->type == _STAT_DIR in print_iso9660_recurse()
602 print_fs_attrs(p_statbuf, 0 == opts.no_rock_ridge, fs & CDIO_FS_ANAL_XA, in print_iso9660_recurse()
604 if (p_statbuf->rr.i_symlink) { in print_iso9660_recurse()
605 free(p_statbuf->rr.psz_symlink); in print_iso9660_recurse()
606 p_statbuf->rr.i_symlink = 0; in print_iso9660_recurse()
/dports/sysutils/libcdio/libcdio-2.1.0/test/
H A Dtestisocd_joliet.c64 iso9660_stat_t *p_statbuf; in main() local
98 p_statbuf = iso9660_ifs_stat (p_iso, "/."); in main()
100 if (NULL == p_statbuf) { in main()
109 const lsn_t i_lsn = p_statbuf->lsn; in main()
117 if (p_statbuf->lsn != p_statbuf2->lsn || in main()
118 p_statbuf->size != p_statbuf2->size || in main()
119 p_statbuf->type != p_statbuf2->type) { in main()
124 p_statbuf->lsn, p_statbuf->size, p_statbuf->type); in main()
160 (long unsigned int) p_statbuf->lsn); in main()
164 iso9660_stat_free(p_statbuf); in main()
H A Dtestisocd2.c63 iso9660_stat_t *p_statbuf; in main() local
96 p_statbuf = iso9660_ifs_stat (p_iso, "/."); in main()
98 if (NULL == p_statbuf) { in main()
102 iso9660_stat_free(p_statbuf); in main()
108 const lsn_t i_lsn = p_statbuf->lsn; in main()
114 if (p_statbuf->lsn != p_statbuf2->lsn || in main()
115 p_statbuf->size != p_statbuf2->size || in main()
116 p_statbuf->type != p_statbuf2->type) { in main()
150 (long unsigned int) p_statbuf->lsn); in main()
159 iso9660_stat_free(p_statbuf); in main()
H A Dtestisocd.c89 iso9660_stat_t *p_statbuf = iso9660_fs_stat (p_cdio, "/."); in main() local
92 if (NULL == p_statbuf) { in main()
102 const lsn_t i_lsn = p_statbuf->lsn; in main()
110 if (p_statbuf->lsn != p_statbuf2->lsn || in main()
111 p_statbuf->size != p_statbuf2->size || in main()
112 p_statbuf->type != p_statbuf2->type) { in main()
146 (long unsigned int) p_statbuf->lsn); in main()
150 iso9660_stat_free(p_statbuf); in main()
/dports/sysutils/libcdio/libcdio-2.1.0/example/
H A Disofile2.c72 free(p_statbuf); \
80 iso9660_stat_t *p_statbuf; in main() local
117 p_statbuf = iso9660_fs_stat (p_cdio, untranslated_name); in main()
119 if (NULL == p_statbuf) in main()
133 free(p_statbuf); in main()
139 const unsigned int i_blocks = CEILING(p_statbuf->size, ISO_BLOCKSIZE); in main()
142 const lsn_t lsn = p_statbuf->lsn + i; in main()
149 (long unsigned int) p_statbuf->lsn); in main()
168 if (ftruncate (fileno (p_outfd), p_statbuf->size)) in main()
H A Disofile.c61 free(p_statbuf); \
68 iso9660_stat_t *p_statbuf; in main() local
98 p_statbuf = iso9660_ifs_stat_translate (p_iso, psz_fname); in main()
100 if (NULL == p_statbuf) in main()
112 free(p_statbuf); in main()
119 const unsigned int i_blocks = CEILING(p_statbuf->size, ISO_BLOCKSIZE); in main()
123 const lsn_t lsn = p_statbuf->lsn + i; in main()
149 if (ftruncate (fileno (p_outfd), p_statbuf->size)) in main()
H A Disolist.c105 iso9660_stat_t *p_statbuf = in main() local
107 iso9660_name_translate(p_statbuf->filename, filename); in main()
109 _STAT_DIR == p_statbuf->type ? "d" : "-", in main()
110 p_statbuf->lsn, p_statbuf->size, psz_path, filename); in main()
H A Dextract.c175 iso9660_stat_t *p_statbuf; in iso_extract_files() local
196 p_statbuf = (iso9660_stat_t*) _cdio_list_node_data(p_entnode); in iso_extract_files()
198 if ( (strcmp(p_statbuf->filename, ".") == 0) in iso_extract_files()
199 || (strcmp(p_statbuf->filename, "..") == 0) ) in iso_extract_files()
201 iso9660_name_translate_ext(p_statbuf->filename, psz_basename, i_joliet_level); in iso_extract_files()
202 if (p_statbuf->type == _STAT_DIR) { in iso_extract_files()
213 i_file_length = p_statbuf->size; in iso_extract_files()
216 lsn = p_statbuf->lsn + i; in iso_extract_files()
H A Disofuzzy.c84 iso9660_stat_t *p_statbuf = in main() local
86 iso9660_name_translate(p_statbuf->filename, filename); in main()
/dports/sysutils/libcdio/libcdio-2.1.0/example/C++/
H A Disofile.cpp60 free(p_statbuf); \
67 iso9660_stat_t *p_statbuf; in main() local
97 p_statbuf = iso9660_ifs_stat_translate (p_iso, psz_fname); in main()
99 if (NULL == p_statbuf) in main()
111 free(p_statbuf); in main()
118 const unsigned int i_blocks = CEILING(p_statbuf->size, ISO_BLOCKSIZE); in main()
122 const lsn_t lsn = p_statbuf->lsn + i; in main()
148 if (ftruncate (fileno (p_outfd), p_statbuf->size)) in main()
H A Disofile2.cpp60 free(p_statbuf); \
67 iso9660_stat_t *p_statbuf; in main() local
97 p_statbuf = iso9660_ifs_stat_translate (p_iso, psz_fname); in main()
99 if (NULL == p_statbuf) in main()
111 free(p_statbuf); in main()
118 const unsigned int i_blocks = CEILING(p_statbuf->size, ISO_BLOCKSIZE); in main()
122 const lsn_t lsn = p_statbuf->lsn + i; in main()
148 if (ftruncate (fileno (p_outfd), p_statbuf->size)) in main()
H A Disolist.cpp107 iso9660_stat_t *p_statbuf = in main() local
109 iso9660_name_translate(p_statbuf->filename, filename); in main()
111 2 == p_statbuf->type ? "d" : "-", in main()
112 p_statbuf->lsn, p_statbuf->size, psz_path, filename); in main()
/dports/ftp/vsftpd/vsftpd-3.0.5/
H A Dmain.c115 struct vsf_sysutil_statbuf* p_statbuf = 0; in main() local
116 int retval = vsf_sysutil_stat(VSFTP_DEFAULT_CONFIG, &p_statbuf); in main()
121 vsf_sysutil_free(p_statbuf); in main()
272 struct vsf_sysutil_statbuf* p_statbuf = 0; in do_sanity_checks() local
273 vsf_sysutil_fstat(VSFTP_COMMAND_FD, &p_statbuf); in do_sanity_checks()
274 if (!vsf_sysutil_statbuf_is_socket(p_statbuf)) in do_sanity_checks()
278 vsf_sysutil_free(p_statbuf); in do_sanity_checks()
H A Dparseconf.c227 struct vsf_sysutil_statbuf* p_statbuf = 0; in vsf_parseconf_load_file() local
228 retval = vsf_sysutil_stat(p_filename, &p_statbuf); in vsf_parseconf_load_file()
234 vsf_sysutil_statbuf_get_uid(p_statbuf) != vsf_sysutil_getuid() || in vsf_parseconf_load_file()
235 !vsf_sysutil_statbuf_is_regfile(p_statbuf)) in vsf_parseconf_load_file()
239 vsf_sysutil_free(p_statbuf); in vsf_parseconf_load_file()
H A Dtwoprocess.c169 struct vsf_sysutil_statbuf* p_statbuf = 0; in drop_all_privs() local
170 if (vsf_sysutil_retval_is_error(str_lstat(&dir_str, &p_statbuf))) in drop_all_privs()
175 vsf_sysutil_free(p_statbuf); in drop_all_privs()
490 struct vsf_sysutil_statbuf* p_statbuf = 0; in handle_per_user_config() local
506 retval = str_stat(&filename_str, &p_statbuf); in handle_per_user_config()
517 vsf_sysutil_free(p_statbuf); in handle_per_user_config()
H A Dsysutil.c1328 const struct stat* p_stat = (const struct stat*) p_statbuf; in vsf_sysutil_statbuf_get_perms()
1368 const struct stat* p_stat = (const struct stat*) p_statbuf; in vsf_sysutil_statbuf_get_date()
1395 const struct vsf_sysutil_statbuf* p_statbuf, in vsf_sysutil_statbuf_get_numeric_date() argument
1399 const struct stat* p_stat = (const struct stat*) p_statbuf; in vsf_sysutil_statbuf_get_numeric_date()
1421 const struct stat* p_stat = (const struct stat*) p_statbuf; in vsf_sysutil_statbuf_get_size()
1432 const struct stat* p_stat = (const struct stat*) p_statbuf; in vsf_sysutil_statbuf_get_uid()
1439 const struct stat* p_stat = (const struct stat*) p_statbuf; in vsf_sysutil_statbuf_get_gid()
1446 const struct stat* p_stat = (const struct stat*) p_statbuf; in vsf_sysutil_statbuf_get_links()
1452 const struct vsf_sysutil_statbuf* p_statbuf) in vsf_sysutil_statbuf_is_readable_other() argument
1454 const struct stat* p_stat = (const struct stat*) p_statbuf; in vsf_sysutil_statbuf_is_readable_other()
[all …]
/dports/ftp/vsftpd-ext/vsFTPd-3.0.3-ext.1/
H A Dmain.c132 struct vsf_sysutil_statbuf* p_statbuf = 0; in main() local
133 int retval = vsf_sysutil_stat(VSFTP_DEFAULT_CONFIG, &p_statbuf); in main()
138 vsf_sysutil_free(p_statbuf); in main()
294 struct vsf_sysutil_statbuf* p_statbuf = 0; in do_sanity_checks() local
295 vsf_sysutil_fstat(VSFTP_COMMAND_FD, &p_statbuf); in do_sanity_checks()
296 if (!vsf_sysutil_statbuf_is_socket(p_statbuf)) in do_sanity_checks()
300 vsf_sysutil_free(p_statbuf); in do_sanity_checks()
H A Dparseconf.c253 struct vsf_sysutil_statbuf* p_statbuf = 0; in vsf_parseconf_load_file() local
254 retval = vsf_sysutil_stat(p_filename, &p_statbuf); in vsf_parseconf_load_file()
260 vsf_sysutil_statbuf_get_uid(p_statbuf) != vsf_sysutil_getuid() || in vsf_parseconf_load_file()
261 !vsf_sysutil_statbuf_is_regfile(p_statbuf)) in vsf_parseconf_load_file()
265 vsf_sysutil_free(p_statbuf); in vsf_parseconf_load_file()
H A Dtwoprocess.c179 struct vsf_sysutil_statbuf* p_statbuf = 0; in drop_all_privs() local
180 if (vsf_sysutil_retval_is_error(str_lstat(&dir_str, &p_statbuf))) in drop_all_privs()
185 vsf_sysutil_free(p_statbuf); in drop_all_privs()
500 struct vsf_sysutil_statbuf* p_statbuf = 0; in handle_per_user_config() local
516 retval = str_stat(&filename_str, &p_statbuf); in handle_per_user_config()
527 vsf_sysutil_free(p_statbuf); in handle_per_user_config()
H A Dhttp.c195 static struct vsf_sysutil_statbuf* p_statbuf; in http_request_resource_type() local
216 retval = str_stat(&path, &p_statbuf); in http_request_resource_type()
219 if (vsf_sysutil_statbuf_is_dir(p_statbuf)) in http_request_resource_type()
236 *p_size = vsf_sysutil_statbuf_get_size(p_statbuf); in http_request_resource_type()
H A Dsysutil.c1390 const struct stat* p_stat = (const struct stat*) p_statbuf; in vsf_sysutil_statbuf_get_perms()
1426 const struct stat* p_stat = (const struct stat*) p_statbuf; in vsf_sysutil_statbuf_get_filedate()
1437 const struct stat* p_stat = (const struct stat*) p_statbuf; in vsf_sysutil_statbuf_get_date()
1464 const struct vsf_sysutil_statbuf* p_statbuf, in vsf_sysutil_statbuf_get_numeric_date() argument
1468 const struct stat* p_stat = (const struct stat*) p_statbuf; in vsf_sysutil_statbuf_get_numeric_date()
1490 const struct stat* p_stat = (const struct stat*) p_statbuf; in vsf_sysutil_statbuf_get_size()
1501 const struct stat* p_stat = (const struct stat*) p_statbuf; in vsf_sysutil_statbuf_get_uid()
1508 const struct stat* p_stat = (const struct stat*) p_statbuf; in vsf_sysutil_statbuf_get_gid()
1515 const struct stat* p_stat = (const struct stat*) p_statbuf; in vsf_sysutil_statbuf_get_links()
1521 const struct vsf_sysutil_statbuf* p_statbuf) in vsf_sysutil_statbuf_is_readable_other() argument
[all …]
/dports/sysutils/libcdio/libcdio-2.1.0/lib/cdio++/
H A Diso9660.cpp79 iso9660_stat_t *p_statbuf = in readdir() local
81 stat_vector.push_back(new ISO9660::Stat(p_statbuf)); in readdir()
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/libmeminfo/libdmabufinfo/
H A Ddmabufinfo.cpp89 struct stat p_statbuf; in is_symlink() local
90 if (lstat(filename, &p_statbuf) < 0) { in is_symlink()
93 if (S_ISLNK(p_statbuf.st_mode) == 1) { in is_symlink()

12