Home
last modified time | relevance | path

Searched refs:NAME_MAX (Results 1 – 25 of 75) 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 + 3, sizeof(char)); in main()
179 sem_name[NAME_MAX + 2] = '\0'; in main()
181 memset(sem_name + 1, 'N', NAME_MAX + 1); 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_newlib/kernel/include/sys/
Dsyslimits.h37 #undef NAME_MAX
39 #define NAME_MAX 256 macro
/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.c53 size_t domlen = strnlen(domainname, NAME_MAX+1); in bindtextdomain()
55 if (domlen > NAME_MAX || dirlen >= PATH_MAX) { in bindtextdomain()
142 domlen = strnlen(domainname, NAME_MAX+1); in dcngettext()
143 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/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/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/node/deps/openssl/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/musl/porting/linux/user/src/locale/
Ddcngettext.c77 size_t domlen = strnlen(domainname, NAME_MAX+1); in bindtextdomain()
79 if (domlen > NAME_MAX || dirlen >= PATH_MAX) { in bindtextdomain()
179 domlen = strnlen(domainname, NAME_MAX+1); in dcngettext()
180 if (domlen > NAME_MAX) { in dcngettext()
/third_party/musl/ndk_musl_include/
Dlimits.h44 #ifndef NAME_MAX
45 #define NAME_MAX 255 macro
/third_party/musl/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/porting/liteos_m/user/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()
262 if (namelen > NAME_MAX) in nfs_lookup()
372 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/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_getvalue/
D4-1.c29 char semname[NAME_MAX - 4]; in main()

123