Home
last modified time | relevance | path

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

123

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/
D5-1.c88 #ifdef NAME_MAX
89 #undef NAME_MAX
101 long PATH_MAX, NAME_MAX; in main() local
160 NAME_MAX = pathconf("/", _PC_NAME_MAX); in main()
163 output("NAME_MAX: %ld\n", NAME_MAX); in main()
167 if (NAME_MAX > 0) { in main()
169 sem_name = calloc(NAME_MAX + 2, sizeof(char)); in main()
179 sem_name[NAME_MAX + 1] = '\0'; in main()
181 memset(sem_name + 1, 'N', NAME_MAX); in main()
/third_party/musl/src/mman/
Dshm_open.c18 if (p-name > NAME_MAX) { in __shm_mapname()
30 char buf[NAME_MAX+10]; in shm_open()
40 char buf[NAME_MAX+10]; in shm_unlink()
/third_party/musl/porting/liteos_a/user/src/mman/
Dshm_open.c19 if (p-name > NAME_MAX) { in __shm_mapname()
31 char buf[NAME_MAX+10]; in shm_open()
42 char buf[NAME_MAX+10]; in shm_unlink()
/third_party/musl/porting/liteos_a/kernel/include/
Dlimits.h77 #ifndef NAME_MAX
78 #define NAME_MAX 255 macro
82 #define CONFIG_NAME_MAX NAME_MAX
/third_party/musl/src/locale/
Dtextdomain.c19 if (domlen > NAME_MAX) { in textdomain()
25 current_domain = malloc(NAME_MAX+1); in textdomain()
Ddcngettext.c45 size_t domlen = strnlen(domainname, NAME_MAX+1); in bindtextdomain()
47 if (domlen > NAME_MAX || dirlen >= PATH_MAX) { in bindtextdomain()
131 domlen = strnlen(domainname, NAME_MAX+1); in dcngettext()
132 if (domlen > NAME_MAX) goto notrans; in dcngettext()
/third_party/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()
/third_party/e2fsprogs/lib/e2p/
Diod.c42 #ifdef NAME_MAX in iterate_on_dir()
43 max_len = NAME_MAX; in iterate_on_dir()
/third_party/NuttX/fs/romfs/
Dfs_romfsutil.c91 char name[NAME_MAX + 1]; in romfs_checkentry()
489 for (namelen = 0, done = false; namelen < NAME_MAX && !done; ) in romfs_parsefilename()
517 if (namelen + chunklen > NAME_MAX) in romfs_parsefilename()
519 chunklen = NAME_MAX - namelen; in romfs_parsefilename()
/third_party/openssl/crypto/
DLPdir_win.c58 #ifndef NAME_MAX
59 # define NAME_MAX 255 macro
71 char entry_name[NAME_MAX + 1];
DLPdir_unix.c61 #elif defined(NAME_MAX)
62 # define LP_ENTRY_SIZE NAME_MAX
/third_party/musl/src/process/
Dexecvp.c22 k = strnlen(file, NAME_MAX+1); in __execvpe()
23 if (k > NAME_MAX) { in __execvpe()
/third_party/lwip/src/apps/http/makefsdata/
Dtinydir.h141 !(defined _TINYDIR_USE_FPATHCONF || defined NAME_MAX)
783 #if defined(NAME_MAX) in tinydir_open()
784 name_max = (NAME_MAX > 255) ? NAME_MAX : 255; in tinydir_open()
788 #elif defined(NAME_MAX) in tinydir_open()
789 name_max = (NAME_MAX > 255) ? NAME_MAX : 255; in tinydir_open()
/third_party/musl/porting/linux/user/src/locale/
Ddcngettext.c69 size_t domlen = strnlen(domainname, NAME_MAX+1); in bindtextdomain()
71 if (domlen > NAME_MAX || dirlen >= PATH_MAX) { in bindtextdomain()
166 domlen = strnlen(domainname, NAME_MAX+1); in dcngettext()
167 if (domlen > NAME_MAX) { in dcngettext()
/third_party/iptables/include/linux/netfilter/
Dxt_hashlimit.h105 char name[NAME_MAX];
113 char name[NAME_MAX];
/third_party/musl/include/
Dlimits.h44 #ifndef NAME_MAX
45 #define NAME_MAX 255 macro
/third_party/musl/porting/liteos_m/user/include/
Dlimits.h44 #ifndef NAME_MAX
45 #define NAME_MAX 255 macro
/third_party/musl/porting/liteos_a/user/include/
Dlimits.h44 #ifndef NAME_MAX
45 #define NAME_MAX 255 macro
/third_party/musl/ndk_musl_include/
Dlimits.h44 #ifndef NAME_MAX
45 #define NAME_MAX 255 macro
/third_party/musl/porting/liteos_m/kernel/include/
Dlimits.h46 #ifndef NAME_MAX
47 #define NAME_MAX 255 macro
/third_party/musl/porting/uniproton/kernel/include/
Dlimits.h46 #ifndef NAME_MAX
47 #define NAME_MAX 255 macro
/third_party/NuttX/fs/nfs/
Dnfs_util.c82 else if (nbytes >= NAME_MAX) in nfs_pathsegment()
238 if (namelen > NAME_MAX) in nfs_lookup()
348 char buffer[NAME_MAX + 1]; in nfs_findnode()
/third_party/ltp/include/lapi/
Dreaddir.h16 char d_name[NAME_MAX+1]; /* filename (null-terminated) */
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dlimits.h37 #define NAME_MAX 255 macro
/third_party/musl/src/conf/
Dfpathconf.c11 [_PC_NAME_MAX] = NAME_MAX, in fpathconf()

123