Home
last modified time | relevance | path

Searched refs:MAXPATHLEN (Results 1 – 25 of 74) sorted by relevance

123

/external/bison/lib/
Dpathmax.h51 # if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN
55 # if !defined PATH_MAX && defined MAXPATHLEN
56 # define PATH_MAX MAXPATHLEN
/external/linux-tools-perf/util/
Dparse-events.c34 char debugfs_path[MAXPATHLEN];
143 char evt_path[MAXPATHLEN]; in tp_event_has_id()
146 snprintf(evt_path, MAXPATHLEN, "%s/%s/%s/id", debugfs_path, in tp_event_has_id()
174 char evt_path[MAXPATHLEN]; in tracepoint_id_to_path()
175 char dir_path[MAXPATHLEN]; in tracepoint_id_to_path()
186 snprintf(dir_path, MAXPATHLEN, "%s/%s", debugfs_path, in tracepoint_id_to_path()
194 snprintf(evt_path, MAXPATHLEN, "%s/%s/id", dir_path, in tracepoint_id_to_path()
448 char evt_path[MAXPATHLEN]; in parse_single_tracepoint_event()
453 snprintf(evt_path, MAXPATHLEN, "%s/%s/%s/id", debugfs_path, in parse_single_tracepoint_event()
487 char evt_path[MAXPATHLEN]; in parse_multiple_tracepoint_event()
[all …]
Dconfig.c17 char buildid_dir[MAXPATHLEN]; /* root dir for buildid, binary cache */
452 strncpy(c->dir, v, MAXPATHLEN-1); in buildid_dir_command_config()
453 c->dir[MAXPATHLEN-1] = '\0'; in buildid_dir_command_config()
476 snprintf(buildid_dir, MAXPATHLEN-1, "%s/%s", in set_buildid_dir()
479 strncpy(buildid_dir, DEBUG_CACHE_DIR, MAXPATHLEN-1); in set_buildid_dir()
481 buildid_dir[MAXPATHLEN-1] = '\0'; in set_buildid_dir()
/external/srec/portable/include/
Dpstdio.h89 #elif defined(MAXPATHLEN)
90 #define P_PATH_MAX MAXPATHLEN
/external/bison/m4/
Dpathmax.m422 #if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN
25 #if !defined PATH_MAX && defined MAXPATHLEN
26 # define PATH_MAX MAXPATHLEN
/external/linux-tools-perf/
Dperf.c32 static char debugfs_mntpt[MAXPATHLEN];
89 snprintf(debugfs_path, MAXPATHLEN, "%s/%s", path ?: debugfs_mntpt, in set_debugfs_path()
164 strncpy(debugfs_mntpt, (*argv)[1], MAXPATHLEN); in handle_options()
165 debugfs_mntpt[MAXPATHLEN - 1] = '\0'; in handle_options()
171 strncpy(debugfs_mntpt, cmd + strlen(CMD_DEBUGFS_DIR), MAXPATHLEN); in handle_options()
172 debugfs_mntpt[MAXPATHLEN - 1] = '\0'; in handle_options()
Dbuiltin-script.c834 char scripts_path[MAXPATHLEN]; in list_available_scripts()
836 char script_path[MAXPATHLEN]; in list_available_scripts()
837 char lang_path[MAXPATHLEN]; in list_available_scripts()
843 snprintf(scripts_path, MAXPATHLEN, "%s/scripts", perf_exec_path()); in list_available_scripts()
850 snprintf(lang_path, MAXPATHLEN, "%s/%s/bin", scripts_path, in list_available_scripts()
862 snprintf(script_path, MAXPATHLEN, "%s/%s", in list_available_scripts()
884 char scripts_path[MAXPATHLEN]; in get_script_path()
885 char script_path[MAXPATHLEN]; in get_script_path()
887 char lang_path[MAXPATHLEN]; in get_script_path()
891 snprintf(scripts_path, MAXPATHLEN, "%s/scripts", perf_exec_path()); in get_script_path()
[all …]
/external/openssh/openbsd-compat/
Dglob.c172 Char *bufnext, *bufend, patbuf[MAXPATHLEN]; in glob()
193 bufend = bufnext + MAXPATHLEN - 1; in glob()
250 Char patbuf[MAXPATHLEN]; in globexp2()
462 Char *bufnext, patbuf[MAXPATHLEN];
464 qpatnext = globtilde(pattern, patbuf, MAXPATHLEN, pglob);
534 if ((err = glob1(patbuf, patbuf+MAXPATHLEN-1, pglob, limitp)) != 0)
566 Char pathbuf[MAXPATHLEN];
571 return(glob2(pathbuf, pathbuf+MAXPATHLEN-1,
572 pathbuf, pathbuf+MAXPATHLEN-1,
657 char buf[MAXPATHLEN];
[all …]
Dgetcwd.c80 if ((pt = malloc(ptsize = MAXPATHLEN)) == NULL) in getcwd()
92 if ((up = malloc(upsize = MAXPATHLEN)) == NULL) in getcwd()
Ddirname.c31 static char dname[MAXPATHLEN]; in dirname()
Dbasename.c29 static char bname[MAXPATHLEN]; in basename()
/external/ipsec-tools/src/racoon/
Disakmp_cfg.h102 char default_domain[MAXPATHLEN + 1];
103 char motd[MAXPATHLEN + 1];
163 char default_domain[MAXPATHLEN + 1]; /* Default domain recieved */
Dsession.c123 char pid_file[MAXPATHLEN]; in session()
158 strlcpy(pid_file, _PATH_VARRUN "racoon.pid", MAXPATHLEN); in session()
160 strlcpy(pid_file, lcconf->pathinfo[LC_PATHTYPE_PIDFILE], MAXPATHLEN); in session()
162 strlcat(pid_file, _PATH_VARRUN, MAXPATHLEN); in session()
163 strlcat(pid_file, lcconf->pathinfo[LC_PATHTYPE_PIDFILE], MAXPATHLEN); in session()
/external/e2fsprogs/intl/
Dos2compat.c42 char libintl_nl_default_dirname[MAXPATHLEN+1];
96 if (strlen (_nlos2_localedir) <= MAXPATHLEN) in nlos2_initialize()
/external/openssh/
Dsftp-glob.c67 static char buf[sizeof(struct dirent) + MAXPATHLEN]; in fudge_readdir()
83 strlcpy(ret->d_name, od->dir[od->offset++]->filename, MAXPATHLEN); in fudge_readdir()
Ddefines.h90 #ifndef MAXPATHLEN
92 # define MAXPATHLEN PATH_MAX macro
94 # define MAXPATHLEN 64 macro
Dauth.c337 char *file, ret[MAXPATHLEN]; in expand_authorized_keys()
429 char buf[MAXPATHLEN], homedir[MAXPATHLEN]; in secure_filename()
/external/grub/stage2/
Ddefs.h93 #define MAXPATHLEN 1024 macro
/external/llvm/lib/Support/Unix/
DPath.inc64 #if defined(__GNU__) && !defined(MAXPATHLEN)
65 # define MAXPATHLEN 4096
105 // This code doesn't check MAXPATHLEN because there's no need. Nothing in
196 char pathname[MAXPATHLEN];
254 char pathname[MAXPATHLEN];
255 if (!getcwd(pathname, MAXPATHLEN)) {
326 char exe_path[MAXPATHLEN];
329 char link_path[MAXPATHLEN];
340 char exe_path[MAXPATHLEN];
361 char link_path[MAXPATHLEN];
/external/ppp/pppd/
Dutils.c906 static char lock_file[MAXPATHLEN];
951 char lockdev[MAXPATHLEN];
955 strncpy(lockdev, dev, MAXPATHLEN-1);
956 lockdev[MAXPATHLEN-1] = 0;
Dmain.c135 static char pidfilename[MAXPATHLEN]; /* name of pid file */
136 static char linkpidfile[MAXPATHLEN]; /* name of linkname pid file */
137 char ppp_devnam[MAXPATHLEN]; /* name of PPP tty (maybe ttypx) */
1677 char file[MAXPATHLEN];
1680 snprintf(file, MAXPATHLEN, "%s-%s", prog, linkname);
1681 file[MAXPATHLEN - 1] = '\0';
/external/webkit/Source/WebKit2/UIProcess/mac/
DWebContextMac.mm62 char cacheDirectory[MAXPATHLEN];
63 size_t cacheDirectoryLen = confstr(_CS_DARWIN_USER_CACHE_DIR, cacheDirectory, MAXPATHLEN);
/external/blktrace/btreplay/
Dbtrecord.c341 char full_name[MAXPATHLEN]; in add_input_file()
681 char ofile_name[MAXPATHLEN]; in stream_open()
707 char vfile_name[MAXPATHLEN]; in stream_open()
/external/ppp/pppd/plugins/radius/
Dradrealms.c28 char radrealms_config[MAXPATHLEN] = "/etc/radiusclient/realms";
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/
DSDLMain.m10 #include <sys/param.h> /* for MAXPATHLEN */
89 char parentdir[MAXPATHLEN];
92 if (CFURLGetFileSystemRepresentation(url2, 1, (UInt8 *)parentdir, MAXPATHLEN)) {

123