Home
last modified time | relevance | path

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

12

/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/iproute2/ip/
Dipnetns.c58 char pathbuf[MAXPATHLEN]; in get_netns_fd()
93 char etc_netns_path[MAXPATHLEN]; in bind_etc()
94 char netns_name[MAXPATHLEN]; in bind_etc()
95 char etc_name[MAXPATHLEN]; in bind_etc()
125 char net_path[MAXPATHLEN]; in netns_exec()
177 char netns_path[MAXPATHLEN]; in netns_delete()
205 char netns_path[MAXPATHLEN]; in netns_add()
/external/linux-tools-perf/src/tools/perf/util/
Dconfig.c20 char buildid_dir[MAXPATHLEN]; /* root dir for buildid, binary cache */
476 strncpy(c->dir, v, MAXPATHLEN-1); in buildid_dir_command_config()
477 c->dir[MAXPATHLEN-1] = '\0'; in buildid_dir_command_config()
500 snprintf(buildid_dir, MAXPATHLEN-1, "%s/%s", in set_buildid_dir()
503 strncpy(buildid_dir, DEBUG_CACHE_DIR, MAXPATHLEN-1); in set_buildid_dir()
505 buildid_dir[MAXPATHLEN-1] = '\0'; in set_buildid_dir()
Dparse-events.c134 char evt_path[MAXPATHLEN]; in tp_event_has_id()
137 snprintf(evt_path, MAXPATHLEN, "%s/%s/%s/id", tracing_events_path, in tp_event_has_id()
165 char evt_path[MAXPATHLEN]; in tracepoint_id_to_path()
166 char dir_path[MAXPATHLEN]; in tracepoint_id_to_path()
177 snprintf(dir_path, MAXPATHLEN, "%s/%s", tracing_events_path, in tracepoint_id_to_path()
185 snprintf(evt_path, MAXPATHLEN, "%s/%s/id", dir_path, in tracepoint_id_to_path()
393 char evt_path[MAXPATHLEN]; in add_tracepoint_multi_event()
398 snprintf(evt_path, MAXPATHLEN, "%s/%s", tracing_events_path, sys_name); in add_tracepoint_multi_event()
998 char evt_path[MAXPATHLEN]; in print_tracepoint_events()
999 char dir_path[MAXPATHLEN]; in print_tracepoint_events()
[all …]
/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/src/tools/perf/
Dbuiltin-script.c997 char scripts_path[MAXPATHLEN]; in list_available_scripts()
999 char script_path[MAXPATHLEN]; in list_available_scripts()
1000 char lang_path[MAXPATHLEN]; in list_available_scripts()
1005 snprintf(scripts_path, MAXPATHLEN, "%s/scripts", perf_exec_path()); in list_available_scripts()
1012 snprintf(lang_path, MAXPATHLEN, "%s/%s/bin", scripts_path, in list_available_scripts()
1022 snprintf(script_path, MAXPATHLEN, "%s/%s", in list_available_scripts()
1053 char filename[MAXPATHLEN], evname[128]; in check_ev_match()
1113 char scripts_path[MAXPATHLEN], lang_path[MAXPATHLEN]; in find_scripts()
1123 snprintf(scripts_path, MAXPATHLEN, "%s/scripts", perf_exec_path()); in find_scripts()
1132 snprintf(lang_path, MAXPATHLEN, "%s/%s", scripts_path, in find_scripts()
[all …]
/external/openssh/openbsd-compat/
Dglob.c182 Char *bufnext, *bufend, patbuf[MAXPATHLEN]; in glob()
206 bufend = bufnext + MAXPATHLEN - 1; in glob()
263 Char patbuf[MAXPATHLEN]; in globexp2()
475 Char *bufnext, patbuf[MAXPATHLEN];
477 qpatnext = globtilde(pattern, patbuf, MAXPATHLEN, pglob);
547 if ((err = glob1(patbuf, patbuf+MAXPATHLEN-1, pglob, limitp)) != 0)
611 Char pathbuf[MAXPATHLEN];
616 return(glob2(pathbuf, pathbuf+MAXPATHLEN-1,
617 pathbuf, pathbuf+MAXPATHLEN-1,
702 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()
Dcfparse.y347 char path[MAXPATHLEN];
721 $2->v, MAXPATHLEN);
722 isakmp_cfg_config.default_domain[MAXPATHLEN] = '\0';
925 strncpy(&isakmp_cfg_config.motd[0], $2->v, MAXPATHLEN);
926 isakmp_cfg_config.motd[MAXPATHLEN] = '\0';
1695 char path[MAXPATHLEN];
1976 char path[MAXPATHLEN];
/external/e2fsprogs/intl/
Dos2compat.c42 char libintl_nl_default_dirname[MAXPATHLEN+1];
96 if (strlen (_nlos2_localedir) <= MAXPATHLEN) in nlos2_initialize()
Ddcigettext.c186 #if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN
190 #if !defined PATH_MAX && defined MAXPATHLEN
191 # define PATH_MAX MAXPATHLEN
/external/openssh/
Dsftp-glob.c68 static char buf[sizeof(struct dirent) + MAXPATHLEN]; in fudge_readdir()
84 strlcpy(ret->d_name, od->dir[od->offset++]->filename, MAXPATHLEN); in fudge_readdir()
Ddefines.h96 #ifndef MAXPATHLEN
98 # define MAXPATHLEN PATH_MAX macro
100 # define MAXPATHLEN 64 macro
/external/ppp/pppd/plugins/radius/
Dradrealms.c28 char radrealms_config[MAXPATHLEN] = "/etc/radiusclient/realms";
32 "Configuration file for RADIUS realms", OPT_STATIC, NULL, MAXPATHLEN },
/external/libxml2/os400/dlfcn/
Ddlfcn.c42 #define MAXPATHLEN 5120 macro
387 if (pathlen + i + 1 >= MAXPATHLEN) { in dlmakepath()
413 char buf1[MAXPATHLEN + 1]; in dlresolveLink()
414 char buf2[MAXPATHLEN + 1]; in dlresolveLink()
461 if (sbuf.st_size > MAXPATHLEN) { in dlresolveLink()
466 l2 = readlink(buf1, buf2, MAXPATHLEN + 1); in dlresolveLink()
/external/llvm/lib/Support/Unix/
DPath.inc132 char exe_path[MAXPATHLEN];
135 char link_path[MAXPATHLEN];
147 char exe_path[MAXPATHLEN];
168 char link_path[MAXPATHLEN];
200 #ifdef MAXPATHLEN
201 result.reserve(MAXPATHLEN);
/external/ppp/pppd/
Dutils.c869 static char lock_file[MAXPATHLEN];
914 char lockdev[MAXPATHLEN];
918 strncpy(lockdev, dev, MAXPATHLEN-1);
919 lockdev[MAXPATHLEN-1] = 0;
Dmain.c137 static char pidfilename[MAXPATHLEN]; /* name of pid file */
138 static char linkpidfile[MAXPATHLEN]; /* name of linkname pid file */
139 char ppp_devnam[MAXPATHLEN]; /* name of PPP tty (maybe ttypx) */
1847 char file[MAXPATHLEN];
1850 snprintf(file, MAXPATHLEN, "%s-%s", prog, linkname);
1851 file[MAXPATHLEN - 1] = '\0';
Dpppd.h246 extern char ppp_devnam[MAXPATHLEN];
280 extern char devnam[MAXPATHLEN]; /* Device name */
316 extern char linkname[MAXPATHLEN]; /* logical name for link */
/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/libedit/src/
Del.c44 #ifndef MAXPATHLEN
45 #define MAXPATHLEN 4096 macro

12