Home
last modified time | relevance | path

Searched refs:PATH_MAX (Results 1 – 25 of 37) sorted by relevance

12

/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dcompat.h59 #ifndef PATH_MAX
60 #define PATH_MAX 4096 macro
H A Drealpath.c28 strncpy(resolved_path, path, PATH_MAX); in ntfs_realpath()
29 resolved_path[PATH_MAX] = '\0'; in ntfs_realpath()
/haiku/src/system/libnetwork/netresolv/dst/
H A Ddst_internal.h30 #ifndef PATH_MAX
32 # define PATH_MAX POSIX_PATH_MAX macro
34 # define PATH_MAX 255 /*%< this is the value of POSIX_PATH_MAX */ macro
H A Ddst_api.c108 if (len > PATH_MAX) { in dst_init()
110 " ignoring\n", __func__, s, PATH_MAX)); in dst_init()
331 char keyname[PATH_MAX]; in dst_read_key()
412 char file[PATH_MAX]; in dst_s_write_private_key()
433 PRIVATE_KEY, PATH_MAX); in dst_s_write_private_key()
474 char name[PATH_MAX], enckey[RAW_KEY_SIZE], *notspace; in dst_s_read_public_key()
483 PATH_MAX) == -1) { in dst_s_read_public_key()
594 char filename[PATH_MAX]; in dst_s_write_public_key()
610 key->dk_alg, PUBLIC_KEY, PATH_MAX) == -1) { in dst_s_write_public_key()
833 char filename[PATH_MAX]; in dst_s_read_private_key_file()
[all …]
H A Dsupport.c310 char pathname[PATH_MAX]; in dst_s_fopen()
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DSymLink.cpp30 status_t error = (newSize >= 0 && newSize < PATH_MAX ? B_OK : B_BAD_VALUE); in SetSize()
54 int32 len = strnlen(path, PATH_MAX - 1); in SetLinkedPath()
/haiku/src/tools/
H A Drm_attrs.cpp26 if (len == 0 || len >= PATH_MAX) in Init()
55 if (fPathLen + separatorLen + leafLen >= PATH_MAX) in PushLeaf()
79 char fPath[PATH_MAX];
/haiku/src/add-ons/kernel/bus_managers/scsi/
H A Dsim_interface.cpp98 name = (char*)malloc(PATH_MAX + 1); in scsi_controller_register_raw_device()
102 snprintf(name, PATH_MAX + 1, "bus/scsi/%d/bus_raw", pathID); in scsi_controller_register_raw_device()
/haiku/src/tests/system/network/
H A Dselect_test2.c21 char path[PATH_MAX]; in main()
29 getcwd(path, PATH_MAX); in main()
/haiku/src/system/libroot/posix/musl/misc/
H A Dnftw.c96 if (strlen(de->d_name) >= PATH_MAX-l) { in do_nftw()
127 char pathbuf[PATH_MAX+1]; in nftw()
132 if (l > PATH_MAX) { in nftw()
/haiku/src/bin/
H A Dfortune.c55 char name[PATH_MAX]; in choose_file()
80 char path[PATH_MAX] = {'\0'}; in main()
/haiku/headers/posix/sys/
H A Dparam.h14 #define MAXPATHLEN PATH_MAX
/haiku/src/system/libroot/posix/stdlib/
H A Drealpath.cpp23 resolvedPath = (char*)malloc(PATH_MAX + 1); in realpath()
/haiku/src/system/libroot/posix/unistd/
H A Ddirectory.c37 buffer = malloc(size = PATH_MAX); in getcwd()
/haiku/src/system/runtime_loader/
H A Druntime_loader.cpp201 char buffer[PATH_MAX]; in try_open_executable()
203 false, buffer, PATH_MAX); in try_open_executable()
237 char buffer[PATH_MAX]; in try_open_executable()
238 size_t length = PATH_MAX - 1; in try_open_executable()
306 char buffer[PATH_MAX]; in open_executable()
367 strlcpy(name, buffer, PATH_MAX); in open_executable()
/haiku/src/system/libroot/posix/sys/
H A Dmman.cpp214 char path[PATH_MAX]; in shm_open()
226 char path[PATH_MAX]; in shm_unlink()
/haiku/headers/posix/
H A Dlimits.h44 #define PATH_MAX (1024) macro
/haiku/src/tests/add-ons/kernel/partitioning_systems/
H A DPartitioningSystemsTest.cpp30 char path[PATH_MAX];
146 char name[PATH_MAX]; in scan_partition()
323 char name[PATH_MAX]; in scan_partition()
/haiku/src/tests/servers/app/newerClipping/drawing/
H A DAccelerantHWInterface.cpp156 char path[PATH_MAX]; in _OpenGraphicsDevice()
211 char path[PATH_MAX]; in _OpenAccelerant()
212 if (find_directory(dirs[i], -1, false, path, PATH_MAX) != B_OK) in _OpenAccelerant()
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A Dhelper.c108 char mountpoint[PATH_MAX]; in fuse_helper_opt_proc()
/haiku/src/bin/unzip/
H A Dunzpriv.h485 # undef PATH_MAX
486 # define PATH_MAX 36 macro
1054 #ifndef PATH_MAX
1056 # define PATH_MAX MAXPATHLEN /* in <sys/param.h> on some systems */ macro
1059 # define PATH_MAX _MAX_PATH macro
1062 # define PATH_MAX FILENAME_MAX /* used like PATH_MAX on some systems */ macro
1064 # define PATH_MAX 1024 macro
1070 #define FILNAMSIZ PATH_MAX
H A Dbeos.c1318 char buff[PATH_MAX], cwd_buff[PATH_MAX]; in assign_MIME()
1324 sprintf( buff, "%s/%s", getcwd( cwd_buff, PATH_MAX ), file ); in assign_MIME()
/haiku/src/tests/system/boot/loader/
H A Dplatform_devices.cpp76 char nextPath[PATH_MAX]; in recursive_add_device()
/haiku/src/bin/consoled/
H A Dconsoled.cpp97 char path[PATH_MAX]; in keyboard_reader()
249 char path[PATH_MAX]; in open_keyboards()
/haiku/src/servers/app/drawing/interface/virtual/
H A DDWindowHWInterface.cpp418 char path[PATH_MAX]; in _OpenGraphicsDevice()
478 char path[PATH_MAX]; in _OpenAccelerant()
479 if (find_directory(dirs[i], -1, false, path, PATH_MAX) != B_OK) in _OpenAccelerant()

12