Home
last modified time | relevance | path

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

123

/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/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
Dnfs3.h11 #define NFS3_MAXNAMLEN NAME_MAX
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_core_dumper_unittest.cc57 char maps_path[NAME_MAX] = ""; in TEST()
58 char maps_path_expected[NAME_MAX]; in TEST()
68 char long_node[NAME_MAX]; in TEST()
69 size_t long_node_len = NAME_MAX - strlen(procfs_path) - 1; in TEST()
Dlinux_dumper.cc153 my_strlcpy(curr->name, next->name, NAME_MAX); in TryRecoverMappings()
184 my_strncmp(prev->name, next->name, NAME_MAX) == 0 && in TryRecoverMappings()
188 my_strlcpy(curr->name, prev->name, NAME_MAX); in TryRecoverMappings()
516 char auxv_path[NAME_MAX]; in ReadAuxv()
542 char maps_path[NAME_MAX]; in EnumerateMappings()
943 char exe_link[NAME_MAX]; in HandleDeletedFileInMapping()
965 my_memcpy(path, exe_link, NAME_MAX); in HandleDeletedFileInMapping()
Dlinux_ptrace_dumper.cc122 if (total_length >= NAME_MAX) in BuildProcPath()
207 char status_path[NAME_MAX]; in GetThreadInfoByIndex()
346 char task_path[NAME_MAX]; in EnumerateThreads()
Dlinux_ptrace_dumper_unittest.cc314 char maps_path[NAME_MAX] = ""; in TEST_F()
315 char maps_path_expected[NAME_MAX]; in TEST_F()
326 char long_node[NAME_MAX]; in TEST_F()
327 size_t long_node_len = NAME_MAX - strlen("/proc/123") - 1; in TEST_F()
Ddirectory_reader.h101 uint8_t buf_[sizeof(struct kernel_dirent) + NAME_MAX + 1];
/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/e2fsprogs/lib/e2p/
Diod.c42 #ifdef NAME_MAX in iterate_on_dir()
43 max_len = NAME_MAX; in iterate_on_dir()
/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/kernel-headers/original/uapi/linux/netfilter/
Dxt_hashlimit.h108 char name[NAME_MAX];
116 char name[NAME_MAX];
/external/iptables/include/linux/netfilter/
Dxt_hashlimit.h105 char name[NAME_MAX];
113 char name[NAME_MAX];
/external/bcc/tools/
Dstatsnoop.py133 NAME_MAX = 255 # linux/limits.h variable
141 ("fname", ct.c_char * NAME_MAX)
Dopensnoop.py186 NAME_MAX = 255 # linux/limits.h variable
195 ("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.h61 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];

123