OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:path_max
(Results
1 - 7
of
7
) sorted by null
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
39-2.c
11
* of the name argument exceeds {
PATH_MAX
} (including the terminating null).
32
int fd, i,
path_max
;
local
35
path_max
= pathconf("/", _PC_PATH_MAX);
36
if (
path_max
== -1) {
40
shm_name = malloc(
path_max
+ 1);
42
for (i = 0; i <
path_max
; i++)
44
shm_name[
path_max
] = 0;
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/
10-2.c
11
* of the name argument exceeds {
PATH_MAX
} (including the terminating null).
32
int result, i,
path_max
;
local
35
path_max
= pathconf("/", _PC_PATH_MAX);
36
if (
path_max
== -1) {
40
shm_name = malloc(
path_max
+ 1);
47
for (i = 0; i <
path_max
; i++)
49
shm_name[
path_max
] = 0;
/toolchain/binutils/binutils-2.25/libiberty/
lrealpath.c
60
# if defined (
PATH_MAX
)
61
# define REALPATH_LIMIT
PATH_MAX
108
though, some systems do not limit
PATH_MAX
(return -1 for
115
long
path_max
= pathconf ("/", _PC_PATH_MAX);
local
116
if (
path_max
> 0)
118
/*
PATH_MAX
is bounded. */
120
buf = (char *) malloc (
path_max
);
/external/minijail/
minijail0.c
202
const size_t
path_max
= 4096;
local
227
if (strlen(optarg) >=
path_max
) {
231
filter_path = strndup(optarg,
path_max
);
/external/e2fsprogs/intl/
dcigettext.c
171
PATH_MAX
but might cause redefinition warnings when sys/param.h is
181
#if !defined
PATH_MAX
&& defined _PC_PATH_MAX
182
# define
PATH_MAX
(pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 : pathconf ("/", _PC_PATH_MAX))
186
#if defined HAVE_SYS_PARAM_H && !defined
PATH_MAX
&& !defined MAXPATHLEN
190
#if !defined
PATH_MAX
&& defined MAXPATHLEN
191
# define
PATH_MAX
MAXPATHLEN
194
#ifndef
PATH_MAX
195
# define
PATH_MAX
_POSIX_PATH_MAX
533
size_t
path_max
;
local
536
path_max
= (unsigned int) PATH_MAX
[
all
...]
/toolchain/binutils/binutils-2.25/intl/
dcigettext.c
166
PATH_MAX
but might cause redefinition warnings when sys/param.h is
176
#if !defined
PATH_MAX
&& defined _PC_PATH_MAX
177
# define
PATH_MAX
(pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 : pathconf ("/", _PC_PATH_MAX))
181
#if defined HAVE_SYS_PARAM_H && !defined
PATH_MAX
&& !defined MAXPATHLEN
185
#if !defined
PATH_MAX
&& defined MAXPATHLEN
186
# define
PATH_MAX
MAXPATHLEN
189
#ifndef
PATH_MAX
190
# define
PATH_MAX
_POSIX_PATH_MAX
537
size_t
path_max
;
local
540
path_max
= (unsigned int) PATH_MAX
[
all
...]
/external/compiler-rt/lib/sanitizer_common/
sanitizer_platform_limits_posix.cc
394
unsigned
path_max
=
PATH_MAX
;
member in namespace:__sanitizer
[
all
...]
Completed in 1800 milliseconds