Home
last modified time | relevance | path

Searched refs:statbuf (Results 176 – 200 of 6507) sorted by last modified time

12345678910>>...261

/dports/math/vtk6/VTK-6.2.0/ThirdParty/netcdf/vtknetcdf/libsrc4/
H A Dnc4hdf.c3702 H5G_stat_t statbuf; in nc4_rec_match_dimscales() local
3733 if (H5Gget_objinfo(dim->hdf_dimscaleid, ".", 1, &statbuf) < 0) in nc4_rec_match_dimscales()
3735 if (var->dimscale_hdf5_objids[d].fileno[0] == statbuf.fileno[0] && in nc4_rec_match_dimscales()
3736 var->dimscale_hdf5_objids[d].objno[0] == statbuf.objno[0] && in nc4_rec_match_dimscales()
3737 var->dimscale_hdf5_objids[d].fileno[1] == statbuf.fileno[1] && in nc4_rec_match_dimscales()
3738 var->dimscale_hdf5_objids[d].objno[1] == statbuf.objno[1]) in nc4_rec_match_dimscales()
/dports/math/vtk8/VTK-8.2.0/ThirdParty/netcdf/vtknetcdf/libsrc4/
H A Dnc4file.c131 H5G_stat_t statbuf; /* Information about the object */ member
697 new_dim->hdf5_objid.fileno[0] = statbuf->fileno[0]; in read_scale()
698 new_dim->hdf5_objid.fileno[1] = statbuf->fileno[1]; in read_scale()
699 new_dim->hdf5_objid.objno[0] = statbuf->objno[0]; in read_scale()
700 new_dim->hdf5_objid.objno[1] = statbuf->objno[1]; in read_scale()
805 H5G_stat_t statbuf; in dimscale_visitor() local
808 if (H5Gget_objinfo(dsid, ".", 1, &statbuf) < 0) in dimscale_visitor()
814 (*(HDF5_OBJID_T *)dimscale_hdf5_objids).objno[0] = statbuf.objno[0]; in dimscale_visitor()
1928 const H5G_stat_t *statbuf) in read_dataset() argument
2025 if (H5Gget_objinfo(oinfo.oid, ".", 1, &oinfo.statbuf) < 0) in nc4_rec_read_metadata_cb()
[all …]
H A Dnc4hdf.c2158 H5G_stat_t statbuf; in var_exists() local
2161 if (H5Gget_objinfo(grpid, name, 1, &statbuf) < 0) in var_exists()
2164 if (H5G_DATASET == statbuf.type) in var_exists()
/dports/math/sc/sc-7.16/
H A Dcmds.c3542 struct stat statbuf; local
3566 if (stat(path, &statbuf) == 0) {
3569 if ((statbuf.st_blksize > buflen) || (buf == NULL)) {
3570 buflen = statbuf.st_blksize;
3582 outfd = open(tpath, O_TRUNC|O_WRONLY|O_CREAT, statbuf.st_mode);
3586 chown(tpath, statbuf.st_uid, statbuf.st_gid);
3589 while ((count = read(infd, buf, statbuf.st_blksize)) > 0) {
3602 timebuf.actime = statbuf.st_atime;
3603 timebuf.modtime = statbuf.st_mtime;
/dports/mail/spamguard/spamguard/
H A Dloadconfig.c176 struct stat statbuf; in readconfig() local
230 if ((stat(logfile, &statbuf)) == 0) { in readconfig()
231 if((S_ISREG(statbuf.st_mode)) == 0) { in readconfig()
/dports/mail/exim-ldap2/exim-4.95/src/
H A Dexim_lock.c318 struct stat statbuf, ostatbuf, lstatbuf, statbuf2; in main() local
338 rc2 = fstat(hd, &statbuf); in main()
342 if (rc != 0 && (rc2 != 0 || statbuf.st_nlink != 2)) in main()
410 if (fstat(fd, &statbuf) < 0) in main()
421 (long)statbuf.st_ino); in main()
423 if (lstat(tempname, &statbuf) >= 0) in main()
425 if ((statbuf.st_mode & S_IFMT) == S_IFLNK) in main()
431 if (statbuf.st_nlink > 1) in main()
492 if (lstat(tempname, &statbuf) != 0 || in main()
494 statbuf.st_dev != ostatbuf.st_dev || in main()
[all …]
H A Dtransport.c1654 struct stat statbuf; in transport_check_waiting() local
1753 if (Ustat(spool_fname(US"input", subdir, mid, US"-D"), &statbuf) != 0) in transport_check_waiting()
H A Dexpand.c1991 struct stat statbuf; in find_variable() local
1992 if (fstat(deliver_datafile, &statbuf) == 0) in find_variable()
1994 start_offset = statbuf.st_size - len; in find_variable()
2544 struct stat statbuf; in eval_condition() local
2659 *yield = (Ustat(sub[0], &statbuf) == 0) == testfor; in eval_condition()
H A Dexim.c563 struct stat statbuf; in exim_nullstd() local
566 if (fstat(i, &statbuf) < 0 && errno == EBADF) in exim_nullstd()
1678 struct stat statbuf; local
1800 if (fstat(fileno(stderr), &statbuf) >= 0) log_stderr = stderr;
2437 struct stat statbuf; local
2439 if (fstat(fileno(trust_list), &statbuf) != 0 ||
2440 (statbuf.st_uid != root_uid /* owner not root */
2445 (statbuf.st_gid != root_gid /* group not root */
2449 && (statbuf.st_mode & 020) != 0 /* group writeable */
2451 (statbuf.st_mode & 2) != 0) /* world writeable */
[all …]
H A Dreceive.c181 struct STATVFS statbuf; in receive_statvfs() local
237 memset(&statbuf, 0, sizeof(statbuf)); in receive_statvfs()
239 if (STATVFS(CS path, &statbuf) != 0) in receive_statvfs()
253 *inodeptr = (statbuf.F_FILES > 0)? statbuf.F_FAVAIL : -1; in receive_statvfs()
257 return (int_eximarith_t)(((double)statbuf.F_BAVAIL * (double)statbuf.F_FRSIZE)/1024.0); in receive_statvfs()
1713 struct stat statbuf; in receive_msg() local
3403 message_body_size = (fstat(data_fd, &statbuf) == 0)? in receive_msg()
3404 statbuf.st_size - SPOOL_DATA_START_OFFSET : -1; in receive_msg()
3412 message_body_size = (fstat(data_fd, &statbuf) == 0)? in receive_msg()
3413 statbuf.st_size - SPOOL_DATA_START_OFFSET : -1; in receive_msg()
[all …]
H A Ddeliver.c1524 struct stat statbuf; in post_process_one() local
1529 if (fstat(addr->return_file, &statbuf) == 0 && statbuf.st_size > 0) in post_process_one()
5700 struct stat statbuf; in deliver_message() local
5702 &statbuf) == 0) in deliver_message()
5704 "size=" OFF_T_FMT, spoolname, statbuf.st_size); in deliver_message()
7927 struct stat statbuf; in deliver_message() local
7941 && fstat(deliver_datafile, &statbuf) == 0 in deliver_message()
7942 && statbuf.st_size > max in deliver_message()
H A Dtls-gnu.c799 struct stat statbuf; in init_server_dh() local
803 if (fstat(fd, &statbuf) < 0) /* EIO */ in init_server_dh()
809 if (!S_ISREG(statbuf.st_mode)) in init_server_dh()
822 m.size = statbuf.st_size; in init_server_dh()
1366 struct stat statbuf; in creds_load_cabundle() local
1374 if (Ustat(bundle, &statbuf) < 0) in creds_load_cabundle()
1387 if (S_ISDIR(statbuf.st_mode)) in creds_load_cabundle()
1396 bundle, statbuf.st_size); in creds_load_cabundle()
1398 if (statbuf.st_size == 0) in creds_load_cabundle()
1408 (statbuf.st_mode & S_IFMT) == S_IFDIR in creds_load_cabundle()
[all …]
H A Dtls-openssl.c2896 struct stat statbuf; in setup_certs() local
2898 if (Ustat(expcerts, &statbuf) < 0) in setup_certs()
2907 if ((statbuf.st_mode & S_IFMT) == S_IFDIR) in setup_certs()
2927 && statbuf.st_size > 0 in setup_certs()
2944 if ( (!file || statbuf.st_size > 0) in setup_certs()
H A Dfiltertest.c169 struct stat statbuf; in filter_runtest() local
176 if (fstat(fd, &statbuf) != 0) in filter_runtest()
182 filebuf = store_get(statbuf.st_size + 1, is_tainted(filename)); in filter_runtest()
183 rc = read(fd, filebuf, statbuf.st_size); in filter_runtest()
186 if (rc != statbuf.st_size) in filter_runtest()
192 filebuf[statbuf.st_size] = 0; in filter_runtest()
/dports/mail/exim-ldap2/exim-4.95/src/transports/
H A Dautoreply.c441 struct stat statbuf; in autoreply_transport_entry() local
444 if (cache_fd < 0 || fstat(cache_fd, &statbuf) != 0) in autoreply_transport_entry()
458 cache_size = statbuf.st_size; in autoreply_transport_entry()
695 struct stat statbuf; in autoreply_transport_entry() local
698 if (fstat(deliver_datafile, &statbuf) == 0 && statbuf.st_size > max) in autoreply_transport_entry()
702 "------ %d or so are included here.\n\n", rubric, statbuf.st_size, in autoreply_transport_entry()
/dports/mail/exim-sa-exim/exim-4.95/src/
H A Dexim_lock.c318 struct stat statbuf, ostatbuf, lstatbuf, statbuf2; in main() local
338 rc2 = fstat(hd, &statbuf); in main()
342 if (rc != 0 && (rc2 != 0 || statbuf.st_nlink != 2)) in main()
410 if (fstat(fd, &statbuf) < 0) in main()
421 (long)statbuf.st_ino); in main()
423 if (lstat(tempname, &statbuf) >= 0) in main()
425 if ((statbuf.st_mode & S_IFMT) == S_IFLNK) in main()
431 if (statbuf.st_nlink > 1) in main()
492 if (lstat(tempname, &statbuf) != 0 || in main()
494 statbuf.st_dev != ostatbuf.st_dev || in main()
[all …]
H A Dreceive.c181 struct STATVFS statbuf; in receive_statvfs() local
237 memset(&statbuf, 0, sizeof(statbuf)); in receive_statvfs()
239 if (STATVFS(CS path, &statbuf) != 0) in receive_statvfs()
253 *inodeptr = (statbuf.F_FILES > 0)? statbuf.F_FAVAIL : -1; in receive_statvfs()
257 return (int_eximarith_t)(((double)statbuf.F_BAVAIL * (double)statbuf.F_FRSIZE)/1024.0); in receive_statvfs()
1713 struct stat statbuf; in receive_msg() local
3403 message_body_size = (fstat(data_fd, &statbuf) == 0)? in receive_msg()
3404 statbuf.st_size - SPOOL_DATA_START_OFFSET : -1; in receive_msg()
3412 message_body_size = (fstat(data_fd, &statbuf) == 0)? in receive_msg()
3413 statbuf.st_size - SPOOL_DATA_START_OFFSET : -1; in receive_msg()
[all …]
H A Dtransport.c1654 struct stat statbuf; in transport_check_waiting() local
1753 if (Ustat(spool_fname(US"input", subdir, mid, US"-D"), &statbuf) != 0) in transport_check_waiting()
H A Dexim.c563 struct stat statbuf; in exim_nullstd() local
566 if (fstat(i, &statbuf) < 0 && errno == EBADF) in exim_nullstd()
1678 struct stat statbuf; local
1800 if (fstat(fileno(stderr), &statbuf) >= 0) log_stderr = stderr;
2437 struct stat statbuf; local
2439 if (fstat(fileno(trust_list), &statbuf) != 0 ||
2440 (statbuf.st_uid != root_uid /* owner not root */
2445 (statbuf.st_gid != root_gid /* group not root */
2449 && (statbuf.st_mode & 020) != 0 /* group writeable */
2451 (statbuf.st_mode & 2) != 0) /* world writeable */
[all …]
H A Ddeliver.c1524 struct stat statbuf; in post_process_one() local
1529 if (fstat(addr->return_file, &statbuf) == 0 && statbuf.st_size > 0) in post_process_one()
5700 struct stat statbuf; in deliver_message() local
5702 &statbuf) == 0) in deliver_message()
5704 "size=" OFF_T_FMT, spoolname, statbuf.st_size); in deliver_message()
7927 struct stat statbuf; in deliver_message() local
7941 && fstat(deliver_datafile, &statbuf) == 0 in deliver_message()
7942 && statbuf.st_size > max in deliver_message()
H A Dexpand.c1991 struct stat statbuf; in find_variable() local
1992 if (fstat(deliver_datafile, &statbuf) == 0) in find_variable()
1994 start_offset = statbuf.st_size - len; in find_variable()
2544 struct stat statbuf; in eval_condition() local
2659 *yield = (Ustat(sub[0], &statbuf) == 0) == testfor; in eval_condition()
H A Dtls-openssl.c2896 struct stat statbuf; in setup_certs() local
2898 if (Ustat(expcerts, &statbuf) < 0) in setup_certs()
2907 if ((statbuf.st_mode & S_IFMT) == S_IFDIR) in setup_certs()
2927 && statbuf.st_size > 0 in setup_certs()
2944 if ( (!file || statbuf.st_size > 0) in setup_certs()
H A Dtls-gnu.c799 struct stat statbuf; in init_server_dh() local
803 if (fstat(fd, &statbuf) < 0) /* EIO */ in init_server_dh()
809 if (!S_ISREG(statbuf.st_mode)) in init_server_dh()
822 m.size = statbuf.st_size; in init_server_dh()
1366 struct stat statbuf; in creds_load_cabundle() local
1374 if (Ustat(bundle, &statbuf) < 0) in creds_load_cabundle()
1387 if (S_ISDIR(statbuf.st_mode)) in creds_load_cabundle()
1396 bundle, statbuf.st_size); in creds_load_cabundle()
1398 if (statbuf.st_size == 0) in creds_load_cabundle()
1408 (statbuf.st_mode & S_IFMT) == S_IFDIR in creds_load_cabundle()
[all …]
H A Dfiltertest.c169 struct stat statbuf; in filter_runtest() local
176 if (fstat(fd, &statbuf) != 0) in filter_runtest()
182 filebuf = store_get(statbuf.st_size + 1, is_tainted(filename)); in filter_runtest()
183 rc = read(fd, filebuf, statbuf.st_size); in filter_runtest()
186 if (rc != statbuf.st_size) in filter_runtest()
192 filebuf[statbuf.st_size] = 0; in filter_runtest()
/dports/mail/exim-sa-exim/exim-4.95/src/transports/
H A Dautoreply.c441 struct stat statbuf; in autoreply_transport_entry() local
444 if (cache_fd < 0 || fstat(cache_fd, &statbuf) != 0) in autoreply_transport_entry()
458 cache_size = statbuf.st_size; in autoreply_transport_entry()
695 struct stat statbuf; in autoreply_transport_entry() local
698 if (fstat(deliver_datafile, &statbuf) == 0 && statbuf.st_size > max) in autoreply_transport_entry()
702 "------ %d or so are included here.\n\n", rubric, statbuf.st_size, in autoreply_transport_entry()

12345678910>>...261