Home
last modified time | relevance | path

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

12

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/
D5-1.c95 long PATH_MAX, NAME_MAX; in main() local
154 NAME_MAX = pathconf("/", _PC_NAME_MAX); in main()
157 output("NAME_MAX: %ld\n", NAME_MAX); in main()
161 if (NAME_MAX > 0) { in main()
163 sem_name = calloc(NAME_MAX + 2, sizeof(char)); in main()
173 sem_name[NAME_MAX + 1] = '\0'; in main()
175 memset(sem_name + 1, 'N', NAME_MAX); in main()
/external/syslinux/com32/include/sys/
Ddirent.h11 #ifndef NAME_MAX
12 #define NAME_MAX 255 macro
20 char d_name[NAME_MAX + 1];
/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/libvncserver/libvncserver/tightvnc-filetransfer/
Dfilelistinfo.h31 #if !defined(NAME_MAX)
32 #define NAME_MAX 255 macro
40 char name[NAME_MAX];
/external/syslinux/com32/modules/
Dpwd.c25 # ifdef NAME_MAX
26 # define PATH_MAX NAME_MAX
/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/kernel-headers/original/uapi/linux/
Dauto_fs.h54 char name[NAME_MAX+1];
61 char name[NAME_MAX+1];
Dauto_fs4.h113 char name[NAME_MAX+1];
134 char name[NAME_MAX+1];
Dlimits.h11 #define NAME_MAX 255 /* # chars in a file name */ macro
Dnfs3.h10 #define NFS3_MAXNAMLEN NAME_MAX
/external/e2fsprogs/lib/e2p/
Diod.c42 #ifdef NAME_MAX in iterate_on_dir()
43 max_len = NAME_MAX; in iterate_on_dir()
/external/syslinux/com32/rosh/
Drosh.h235 #elif NAME_MAX
236 # define ROSH_PATH_SZ NAME_MAX
/external/ltp/include/lapi/
Dreaddir.h27 char d_name[NAME_MAX+1]; /* filename (null-terminated) */
/external/google-breakpad/src/client/linux/dump_writer_common/
Dmapping_info.h48 char name[NAME_MAX];
/external/libchrome/base/process/
Dinternal_linux.cc35 for (i = 0; i < NAME_MAX && d_name[i]; ++i) { in ProcDirSlotToPid()
40 if (i == NAME_MAX) in ProcDirSlotToPid()
/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/syslinux/com32/lua/src/
Dlfs.c35 # ifdef NAME_MAX
36 # define PATH_MAX NAME_MAX

12