Home
last modified time | relevance | path

Searched refs:NAME_MAX (Results 1 – 25 of 85) sorted by relevance

1234

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/
D5-1.c93 long PATH_MAX, NAME_MAX; in main() local
152 NAME_MAX = pathconf("/", _PC_NAME_MAX); in main()
155 output("NAME_MAX: %ld\n", NAME_MAX); in main()
159 if (NAME_MAX > 0) { in main()
161 sem_name = calloc(NAME_MAX + 2, sizeof(char)); in main()
171 sem_name[NAME_MAX + 1] = '\0'; in main()
173 memset(sem_name + 1, 'N', NAME_MAX); in main()
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_dumper.cc119 char filename[NAME_MAX]; in ElfFileIdentifierForMapping()
121 if (filename_len >= NAME_MAX) { in ElfFileIdentifierForMapping()
199 char filename[NAME_MAX]; in ElfFileSoName()
201 if (filename_len >= NAME_MAX) { in ElfFileSoName()
258 char auxv_path[NAME_MAX]; in ReadAuxv()
284 char maps_path[NAME_MAX]; in EnumerateMappings()
452 char exe_link[NAME_MAX]; in HandleDeletedFileInMapping()
453 char new_path[NAME_MAX]; in HandleDeletedFileInMapping()
471 my_memcpy(path, exe_link, NAME_MAX); in HandleDeletedFileInMapping()
Dlinux_core_dumper_unittest.cc47 char maps_path[NAME_MAX] = ""; in TEST()
48 char maps_path_expected[NAME_MAX]; in TEST()
58 char long_node[NAME_MAX]; in TEST()
59 size_t long_node_len = NAME_MAX - strlen(procfs_path) - 1; in TEST()
Dlinux_ptrace_dumper_unittest.cc250 char maps_path[NAME_MAX] = ""; in TEST_F()
251 char maps_path_expected[NAME_MAX]; in TEST_F()
262 char long_node[NAME_MAX]; in TEST_F()
263 size_t long_node_len = NAME_MAX - strlen("/proc/123") - 1; in TEST_F()
Dlinux_ptrace_dumper.cc122 if (total_length >= NAME_MAX) in BuildProcPath()
163 char status_path[NAME_MAX]; in GetThreadInfoByIndex()
311 char task_path[NAME_MAX]; in EnumerateThreads()
Ddirectory_reader.h101 uint8_t buf_[sizeof(struct kernel_dirent) + NAME_MAX + 1];
/external/kernel-headers/original/uapi/linux/
Dauto_fs.h54 char name[NAME_MAX+1];
61 char name[NAME_MAX+1];
180 char name[NAME_MAX+1];
201 char name[NAME_MAX+1];
Dlimits.h12 #define NAME_MAX 255 /* # chars in a file name */ macro
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/
D27-2.c30 char qname[NAME_MAX * 2]; in main()
37 for (i = 0; i < NAME_MAX; i++) in main()
/external/libchrome/base/process/
Dinternal_aix.cc27 #define NAME_MAX 255 macro
42 for (i = 0; i < NAME_MAX && d_name[i]; ++i) { in ProcDirSlotToPid()
47 if (i == NAME_MAX) in ProcDirSlotToPid()
Dinternal_linux.cc24 #define NAME_MAX 255 macro
40 for (i = 0; i < NAME_MAX && d_name[i]; ++i) { in ProcDirSlotToPid()
45 if (i == NAME_MAX) in ProcDirSlotToPid()
/external/e2fsprogs/lib/e2p/
Diod.c42 #ifdef NAME_MAX in iterate_on_dir()
43 max_len = NAME_MAX; in iterate_on_dir()
/external/u-boot/fs/yaffs2/
Dyaffsfs.h29 #ifndef NAME_MAX
30 #define NAME_MAX 256 macro
41 YCHAR d_name[NAME_MAX+1]; /* file name (null-terminated) */
/external/kernel-headers/original/uapi/linux/netfilter/
Dxt_hashlimit.h108 char name[NAME_MAX];
116 char name[NAME_MAX];
/external/bcc/tools/
Dstatsnoop.py133 NAME_MAX = 255 # linux/limits.h variable
141 ("fname", ct.c_char * NAME_MAX)
Dopensnoop.py140 NAME_MAX = 255 # linux/limits.h variable
148 ("fname", ct.c_char * NAME_MAX)
/external/ltp/include/lapi/
Dreaddir.h27 char d_name[NAME_MAX+1]; /* filename (null-terminated) */
/external/iproute2/include/uapi/linux/
Dlimits.h12 #define NAME_MAX 255 /* # chars in a file name */ macro
/external/google-breakpad/src/client/linux/dump_writer_common/
Dmapping_info.h48 char name[NAME_MAX];
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_getvalue/
D4-1.c29 char semname[NAME_MAX - 4]; in main()
D1-1.c30 char semname[NAME_MAX - 4]; in main()
D2-1.c28 char semname[NAME_MAX - 4]; in main()
D5-1.c29 char semname[NAME_MAX - 4]; in main()
/external/iproute2/misc/
Dlnstat.h28 char basename[NAME_MAX+1];
/external/ltp/testcases/kernel/syscalls/nftw/
Dtest64.c264 char path[PATH_MAX + NAME_MAX]; in test6A()
592 char path[PATH_MAX + NAME_MAX]; in test16A()
593 char orig[PATH_MAX + NAME_MAX]; in test16A()

1234