Home
last modified time | relevance | path

Searched refs:path_max (Results 1 – 25 of 829) sorted by relevance

12345678910>>...34

/dports/lang/librep/librep_0.92.7/src/
H A Drealpath.c83 long int path_max; in realpath() local
87 path_max = PATH_MAX; in realpath()
90 if (path_max <= 0) in realpath()
91 path_max = 1024; in realpath()
94 rpath = resolved ? alloca (path_max) : malloc (path_max); in realpath()
95 rpath_limit = rpath + path_max; in realpath()
100 if (!getcwd (rpath, path_max)) in realpath()
147 if (end - start + 1 > path_max) in realpath()
150 new_size += path_max; in realpath()
166 char *buf = alloca (path_max); in realpath()
[all …]
/dports/biology/sra-tools/sra-tools-2.11.0/ncbi-vdb/libs/vfs/
H A Dsrapath.c699 if ( rc != 0 || ( total = len ) >= path_max ) in SRAPathFullInt()
717 if ( rc != 0 || ( total += len ) >= path_max ) in SRAPathFullInt()
726 const char *accession, char *path, size_t path_max ) in SRAPathFullEBI() argument
763 if ( rc < 0 || ( total = len ) >= path_max ) in SRAPathFullEBI()
782 if ( len < 0 || ( total += len ) >= path_max ) in SRAPathFullEBI()
795 const char *accession, char *path, size_t path_max ) in SRAPathFullREFSEQ() argument
841 if ( rc != 0 || ( total += len ) >= path_max ) in SRAPathFullREFSEQ()
859 size_t path_max in SRAPathFullREFSEQArchive() argument
922 const char *accession, char *path, size_t path_max ) in SRAPathFullWGS() argument
979 if ( rc != 0 || ( total += len ) >= path_max ) in SRAPathFullWGS()
[all …]
/dports/biology/ncbi-vdb/ncbi-vdb-2.11.0/libs/vfs/
H A Dsrapath.c699 if ( rc != 0 || ( total = len ) >= path_max ) in SRAPathFullInt()
717 if ( rc != 0 || ( total += len ) >= path_max ) in SRAPathFullInt()
726 const char *accession, char *path, size_t path_max ) in SRAPathFullEBI() argument
763 if ( rc < 0 || ( total = len ) >= path_max ) in SRAPathFullEBI()
782 if ( len < 0 || ( total += len ) >= path_max ) in SRAPathFullEBI()
795 const char *accession, char *path, size_t path_max ) in SRAPathFullREFSEQ() argument
841 if ( rc != 0 || ( total += len ) >= path_max ) in SRAPathFullREFSEQ()
859 size_t path_max in SRAPathFullREFSEQArchive() argument
922 const char *accession, char *path, size_t path_max ) in SRAPathFullWGS() argument
979 if ( rc != 0 || ( total += len ) >= path_max ) in SRAPathFullWGS()
[all …]
/dports/mail/mailutils/mailutils-3.13/libmailutils/base/
H A Dgetcwd.c31 unsigned path_max; in mu_getcwd() local
42 path_max = 128; in mu_getcwd()
43 path_max += 2; /* The getcwd docs say to do this. */ in mu_getcwd()
47 char *cwd = (char *) malloc (path_max); in mu_getcwd()
50 ret = getcwd (cwd, path_max); in mu_getcwd()
63 path_max += path_max / 16; in mu_getcwd()
64 path_max += 32; in mu_getcwd()
/dports/devel/gettext-runtime/gettext-0.21/gnulib-local/lib/
H A Dxgetcwd.c56 unsigned path_max; in xgetcwd() local
66 path_max = (unsigned) PATH_MAX; in xgetcwd()
67 path_max += 2; /* The getcwd docs say to do this. */ in xgetcwd()
71 char *cwd = XNMALLOC (path_max, char); in xgetcwd()
74 ret = getcwd (cwd, path_max); in xgetcwd()
87 path_max += path_max / 16; in xgetcwd()
88 path_max += 32; in xgetcwd()
/dports/devel/gettext-runtime/gettext-0.21/gettext-tools/gnulib-lib/
H A Dxgetcwd.c56 unsigned path_max; in xgetcwd() local
66 path_max = (unsigned) PATH_MAX; in xgetcwd()
67 path_max += 2; /* The getcwd docs say to do this. */ in xgetcwd()
71 char *cwd = XNMALLOC (path_max, char); in xgetcwd()
74 ret = getcwd (cwd, path_max); in xgetcwd()
87 path_max += path_max / 16; in xgetcwd()
88 path_max += 32; in xgetcwd()
/dports/devel/gettext-tools/gettext-0.21/gettext-tools/gnulib-lib/
H A Dxgetcwd.c56 unsigned path_max; in xgetcwd() local
66 path_max = (unsigned) PATH_MAX; in xgetcwd()
67 path_max += 2; /* The getcwd docs say to do this. */ in xgetcwd()
71 char *cwd = XNMALLOC (path_max, char); in xgetcwd()
74 ret = getcwd (cwd, path_max); in xgetcwd()
87 path_max += path_max / 16; in xgetcwd()
88 path_max += 32; in xgetcwd()
/dports/devel/gettext-tools/gettext-0.21/gnulib-local/lib/
H A Dxgetcwd.c56 unsigned path_max; in xgetcwd() local
66 path_max = (unsigned) PATH_MAX; in xgetcwd()
67 path_max += 2; /* The getcwd docs say to do this. */ in xgetcwd()
71 char *cwd = XNMALLOC (path_max, char); in xgetcwd()
74 ret = getcwd (cwd, path_max); in xgetcwd()
87 path_max += path_max / 16; in xgetcwd()
88 path_max += 32; in xgetcwd()
/dports/devel/gettext-po-mode/gettext-0.21/gettext-tools/gnulib-lib/
H A Dxgetcwd.c56 unsigned path_max; in xgetcwd() local
66 path_max = (unsigned) PATH_MAX; in xgetcwd()
67 path_max += 2; /* The getcwd docs say to do this. */ in xgetcwd()
71 char *cwd = XNMALLOC (path_max, char); in xgetcwd()
74 ret = getcwd (cwd, path_max); in xgetcwd()
87 path_max += path_max / 16; in xgetcwd()
88 path_max += 32; in xgetcwd()
/dports/devel/gettext-po-mode/gettext-0.21/gnulib-local/lib/
H A Dxgetcwd.c56 unsigned path_max; in xgetcwd() local
66 path_max = (unsigned) PATH_MAX; in xgetcwd()
67 path_max += 2; /* The getcwd docs say to do this. */ in xgetcwd()
71 char *cwd = XNMALLOC (path_max, char); in xgetcwd()
74 ret = getcwd (cwd, path_max); in xgetcwd()
87 path_max += path_max / 16; in xgetcwd()
88 path_max += 32; in xgetcwd()
/dports/devel/libtextstyle/gettext-0.21/gettext-tools/gnulib-lib/
H A Dxgetcwd.c56 unsigned path_max; in xgetcwd() local
66 path_max = (unsigned) PATH_MAX; in xgetcwd()
67 path_max += 2; /* The getcwd docs say to do this. */ in xgetcwd()
71 char *cwd = XNMALLOC (path_max, char); in xgetcwd()
74 ret = getcwd (cwd, path_max); in xgetcwd()
87 path_max += path_max / 16; in xgetcwd()
88 path_max += 32; in xgetcwd()
/dports/biology/diamond/diamond-2.0.13/src/chaining/
H A Dchaining.h35 path_max(0), in Diagonal_node()
42 path_max(score), in Diagonal_segment()
49 path_max(d.score), in Diagonal_node()
60 path_max = score; in reset()
65 return path_max == prefix_score; in is_maximum()
69 return prefix_score == path_max ? prefix_score : prefix_score - path_min; in rel_score()
79 int link_idx, prefix_score, path_max, path_min; member
96 path_max(path_max), in Edge()
112 int prefix_score, path_max, j, path_min, prefix_score_begin; member
145 d.path_max = edge.path_max; in add_edge()
[all …]
/dports/archivers/unshield/unshield-1.4.3/lib/
H A Dhelper.c43 long int path_max; in unshield_fopen_for_reading() local
46 path_max = PATH_MAX; in unshield_fopen_for_reading()
48 path_max = pathconf(unshield->filename_pattern, _PC_PATH_MAX); in unshield_fopen_for_reading()
49 if (path_max <= 0) in unshield_fopen_for_reading()
50 path_max = 4096; in unshield_fopen_for_reading()
53 dirname = malloc(path_max); in unshield_fopen_for_reading()
54 filename = malloc(path_max); in unshield_fopen_for_reading()
61 if(snprintf(filename, path_max, unshield->filename_pattern, index, suffix)>=path_max) in unshield_fopen_for_reading()
74 strncpy( dirname, unshield->filename_pattern,path_max); in unshield_fopen_for_reading()
78 dirname[path_max-1]=0; in unshield_fopen_for_reading()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/nasm/nasmlib/
H A Drealpath.c79 long path_max = -1; in nasm_realpath() local
83 path_max = pathconf(rel_path, _PC_PATH_MAX); /* POSIX */ in nasm_realpath()
86 if (path_max < 0) { in nasm_realpath()
88 path_max = PATH_MAX; /* SUSv2 */ in nasm_realpath()
90 path_max = MAXPATHLEN; /* Solaris */ in nasm_realpath()
92 path_max = 65536; /* Crazily high, we hope */ in nasm_realpath()
96 rp = nasm_malloc(path_max); in nasm_realpath()
104 rp[path_max - 1] = '\0'; /* Just in case overrun is possible */ in nasm_realpath()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/nasm/nasmlib/
H A Drealpath.c77 long path_max = -1; in nasm_realpath() local
81 path_max = pathconf(rel_path, _PC_PATH_MAX); /* POSIX */ in nasm_realpath()
84 if (path_max < 0) { in nasm_realpath()
86 path_max = PATH_MAX; /* SUSv2 */ in nasm_realpath()
88 path_max = MAXPATHLEN; /* Solaris */ in nasm_realpath()
90 path_max = 65536; /* Crazily high, we hope */ in nasm_realpath()
94 rp = nasm_malloc(path_max); in nasm_realpath()
102 rp[path_max - 1] = '\0'; /* Just in case overrun is possible */ in nasm_realpath()
/dports/devel/nasm/nasm-2.15.05/nasmlib/
H A Drealpath.c77 long path_max = -1; in nasm_realpath() local
81 path_max = pathconf(rel_path, _PC_PATH_MAX); /* POSIX */ in nasm_realpath()
84 if (path_max < 0) { in nasm_realpath()
86 path_max = PATH_MAX; /* SUSv2 */ in nasm_realpath()
88 path_max = MAXPATHLEN; /* Solaris */ in nasm_realpath()
90 path_max = 65536; /* Crazily high, we hope */ in nasm_realpath()
94 rp = nasm_malloc(path_max); in nasm_realpath()
102 rp[path_max - 1] = '\0'; /* Just in case overrun is possible */ in nasm_realpath()
/dports/lang/smalltalk/smalltalk-3.2.5/libgst/sysdep/posix/
H A Dfiles.c97 long int path_max; in _gst_get_full_file_name() local
104 path_max = PATH_MAX; in _gst_get_full_file_name()
107 if (path_max <= 0) in _gst_get_full_file_name()
108 path_max = 1024; in _gst_get_full_file_name()
111 rpath = malloc (path_max); in _gst_get_full_file_name()
114 rpath_limit = rpath + path_max; in _gst_get_full_file_name()
118 if (!getcwd (rpath, path_max)) in _gst_get_full_file_name()
164 if (end - start + 1 > path_max) in _gst_get_full_file_name()
167 new_size += path_max; in _gst_get_full_file_name()
197 buf = alloca (path_max); in _gst_get_full_file_name()
[all …]
/dports/biology/py-python-libsbml/python-libsbml-5.19.0/libsbml_dependencies/libiconv/source/srclib/
H A Dcanonicalize-lgpl.c102 long int path_max; in __realpath() local
126 path_max = PATH_MAX; in __realpath()
129 if (path_max <= 0) in __realpath()
130 path_max = 1024; in __realpath()
135 rpath = malloc (path_max); in __realpath()
146 rpath_limit = rpath + path_max; in __realpath()
150 if (!__getcwd (rpath, path_max)) in __realpath()
210 if (end - start + 1 > path_max) in __realpath()
213 new_size += path_max; in __realpath()
256 buf = malloca (path_max); in __realpath()
[all …]
/dports/print/ghostscript7-base/ghostscript-7.07/gimp-print-4.2.7/lib/
H A Dxgetcwd.c55 unsigned path_max; in xgetcwd() local
58 path_max = (unsigned) PATH_MAX; in xgetcwd()
59 path_max += 2; /* The getcwd docs say to do this. */ in xgetcwd()
61 cwd = xmalloc (path_max); in xgetcwd()
64 while ((ret = getcwd (cwd, path_max)) == NULL && errno == ERANGE) in xgetcwd()
66 path_max += PATH_INCR; in xgetcwd()
67 cwd = xrealloc (cwd, path_max); in xgetcwd()
/dports/print/a2ps/a2ps-4.13/lib/
H A Dxgetcwd.c55 unsigned path_max; in xgetcwd() local
58 path_max = (unsigned) PATH_MAX; in xgetcwd()
59 path_max += 2; /* The getcwd docs say to do this. */ in xgetcwd()
61 cwd = xmalloc (path_max); in xgetcwd()
64 while ((ret = getcwd (cwd, path_max)) == NULL && errno == ERANGE) in xgetcwd()
66 path_max += PATH_INCR; in xgetcwd()
67 cwd = xrealloc (cwd, path_max); in xgetcwd()
/dports/print/gv/gv-3.7.4/lib/
H A Dcanonicalize-lgpl.c102 long int path_max; in __realpath() local
124 path_max = PATH_MAX; in __realpath()
126 path_max = pathconf (name, _PC_PATH_MAX); in __realpath()
127 if (path_max <= 0) in __realpath()
128 path_max = 1024; in __realpath()
133 rpath = malloc (path_max); in __realpath()
144 rpath_limit = rpath + path_max; in __realpath()
148 if (!__getcwd (rpath, path_max)) in __realpath()
214 if (end - start + 1 > path_max) in __realpath()
217 new_size += path_max; in __realpath()
[all …]
/dports/shells/ksh93-devel/ast-cc1bca27/src/lib/libcmd/
H A Dpathchk.c107 register long r,name_max,path_max; in pathchk() local
119 path_max = _POSIX_PATH_MAX; in pathchk()
124 name_max = path_max = 0; in pathchk()
130 path_max = r; in pathchk()
133 if(name_max==0||path_max==0) in pathchk()
143 while(name_max==0 || path_max==0) in pathchk()
150 if(path_max==0 && (r=mypathconf(cpold, 1)) > _POSIX_PATH_MAX) in pathchk()
151 path_max=r; in pathchk()
168 if(path_max==0) in pathchk()
169 path_max=_POSIX_PATH_MAX; in pathchk()
[all …]
/dports/shells/ksh93/ast-93u/src/lib/libcmd/
H A Dpathchk.c107 register long r,name_max,path_max; in pathchk() local
119 path_max = _POSIX_PATH_MAX; in pathchk()
124 name_max = path_max = 0; in pathchk()
130 path_max = r; in pathchk()
133 if(name_max==0||path_max==0) in pathchk()
143 while(name_max==0 || path_max==0) in pathchk()
150 if(path_max==0 && (r=mypathconf(cpold, 1)) > _POSIX_PATH_MAX) in pathchk()
151 path_max=r; in pathchk()
168 if(path_max==0) in pathchk()
169 path_max=_POSIX_PATH_MAX; in pathchk()
[all …]
/dports/shells/ast-ksh/ast-ksh93v/src/lib/libcmd/
H A Dpathchk.c107 register long r,name_max,path_max; in pathchk() local
119 path_max = _POSIX_PATH_MAX; in pathchk()
124 name_max = path_max = 0; in pathchk()
130 path_max = r; in pathchk()
133 if(name_max==0||path_max==0) in pathchk()
143 while(name_max==0 || path_max==0) in pathchk()
150 if(path_max==0 && (r=mypathconf(cpold, 1)) > _POSIX_PATH_MAX) in pathchk()
151 path_max=r; in pathchk()
168 if(path_max==0) in pathchk()
169 path_max=_POSIX_PATH_MAX; in pathchk()
[all …]
/dports/misc/posixtestsuite/posixtestsuite/conformance/interfaces/shm_unlink/
H A D10-2.c31 int result, i, path_max; in main() local
34 path_max = pathconf("/", _PC_PATH_MAX); in main()
35 if(path_max == -1) { in main()
39 shm_name = malloc(path_max+1); in main()
41 for(i=0; i<path_max; i++) in main()
43 shm_name[path_max+1] = 0; in main()

12345678910>>...34