Home
last modified time | relevance | path

Searched refs:NAME_MAX (Results 1 - 25 of 77) sorted by relevance

1234

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/
H A D5-1.c21 * NAME_MAX.
27 * -> If NAME_MAX is positive, do similar test.
88 #ifdef NAME_MAX
89 #undef NAME_MAX macro
101 long PATH_MAX, NAME_MAX; in main() local
159 /* Get NAME_MAX value */ in main()
160 NAME_MAX = pathconf("/", _PC_NAME_MAX); in main()
163 output("NAME_MAX: %ld\n", NAME_MAX); in main()
167 if (NAME_MAX > in main()
[all...]
/third_party/musl/src/mman/
H A Dshm_open.c19 if (p-name > NAME_MAX) { in __shm_mapname()
32 char buf[NAME_MAX+10]; in shm_open()
43 char buf[NAME_MAX+10]; in shm_unlink()
/third_party/musl/porting/liteos_a/user/src/mman/
H A 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/
H A Dsyslimits.h37 #undef NAME_MAX macro
39 #define NAME_MAX 256 macro
/third_party/ltp/testcases/kernel/syscalls/rename/
H A Drename10.c21 static char long_path[NAME_MAX + 1] = {[0 ... NAME_MAX] = 'a'};
/third_party/musl/src/locale/
H A Dtextdomain.c19 if (domlen > NAME_MAX) { in textdomain()
25 current_domain = malloc(NAME_MAX+1); in textdomain()
H A Ddcngettext.c53 size_t domlen = strnlen(domainname, NAME_MAX+1); in bindtextdomain()
55 if (domlen > NAME_MAX || dirlen >= PATH_MAX) { in bindtextdomain()
161 domlen = strnlen(domainname, NAME_MAX+1); in dcngettext()
162 if (domlen > NAME_MAX) goto notrans; in dcngettext()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/
H A D27-2.c11 * name is greater than NAME_MAX.
14 * 27-1.c for NAME_MAX.
30 char qname[NAME_MAX * 2]; in main()
36 /* Ensures queue name will have > NAME_MAX chars */ in main()
37 for (i = 0; i < NAME_MAX; i++) in main()
/third_party/musl/porting/liteos_a/kernel/include/
H A Dlimits.h77 #ifndef NAME_MAX
78 #define NAME_MAX 255 macro
82 #define CONFIG_NAME_MAX NAME_MAX
/third_party/node/deps/openssl/openssl/crypto/
H A DLPdir_win.c58 #ifndef NAME_MAX
59 # define NAME_MAX 255 macro
71 char entry_name[NAME_MAX + 1];
H A DLPdir_unix.c55 * NAME_MAX. However, some operating systems use PATH_MAX instead.
57 * if it doesn't exist, use NAME_MAX.
61 #elif defined(NAME_MAX)
62 # define LP_ENTRY_SIZE NAME_MAX
66 * Of course, there's the possibility that neither PATH_MAX nor NAME_MAX
67 * exist. It's also possible that NAME_MAX exists but is define to a very
/third_party/openssl/crypto/
H A DLPdir_win.c58 #ifndef NAME_MAX
59 # define NAME_MAX 255 macro
71 char entry_name[NAME_MAX + 1];
H A DLPdir_unix.c55 * NAME_MAX. However, some operating systems use PATH_MAX instead.
57 * if it doesn't exist, use NAME_MAX.
61 #elif defined(NAME_MAX)
62 # define LP_ENTRY_SIZE NAME_MAX
66 * Of course, there's the possibility that neither PATH_MAX nor NAME_MAX
67 * exist. It's also possible that NAME_MAX exists but is define to a very
/third_party/lwip/src/apps/http/makefsdata/
H A Dtinydir.h141 !(defined _TINYDIR_USE_FPATHCONF || defined NAME_MAX)
769 * This code does not trust values of NAME_MAX that are less than * in tinydir_open()
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/src/process/
H A Dexecvp.c22 k = strnlen(file, NAME_MAX+1); in __execvpe()
23 if (k > NAME_MAX) { in __execvpe()
/third_party/musl/porting/liteos_a/user/include/
H A Dlimits.h44 #ifndef NAME_MAX
45 #define NAME_MAX 255 macro
/third_party/musl/porting/liteos_m/user/include/
H A Dlimits.h44 #ifndef NAME_MAX
45 #define NAME_MAX 255 macro
/third_party/musl/porting/uniproton/kernel/include/
H A Dlimits.h46 #ifndef NAME_MAX
47 #define NAME_MAX 255 macro
/third_party/musl/porting/liteos_m/kernel/include/
H A Dlimits.h46 #ifndef NAME_MAX
47 #define NAME_MAX 255 macro
/third_party/musl/include/
H A Dlimits.h44 #ifndef NAME_MAX
45 #define NAME_MAX 255 macro
/third_party/musl/porting/linux/user/src/locale/
H A 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/NuttX/fs/nfs/
H A 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/musl/porting/liteos_m_iccarm/kernel/include/
H A Dlimits.h37 #define NAME_MAX 255 macro
/third_party/ltp/include/lapi/
H A Dreaddir.h16 char d_name[NAME_MAX+1]; /* filename (null-terminated) */
/third_party/ltp/lib/
H A Dtst_cgroup.c144 char group_name[NAME_MAX + 1];
299 static char cgroup_test_dir[NAME_MAX + 1];
402 #define CONFIG_FORMAT "%" TST_TO_STR(CTRL_NAME_MAX) "s\t%d\t%d\t%" TST_TO_STR(PATH_MAX_STRLEN) "s\t%d\t%d\t%" TST_TO_STR(NAME_MAX) "s"
459 char ctrl_name[CTRL_NAME_MAX + 1], mnt_path[PATH_MAX_STRLEN + 1], test_dir_name[NAME_MAX + 1]; in cgroup_parse_config_line()
494 strncpy(cgroup_test_dir, test_dir_name, NAME_MAX + 1); in cgroup_parse_config_line()
1097 name_len = vsnprintf(cg->group_name, NAME_MAX, in tst_cg_group_mk()
1101 if (name_len >= NAME_MAX) in tst_cg_group_mk()
1285 strncpy(cg->group_name, cg->dirs[0]->dir_name, NAME_MAX); in group_from_roots()

Completed in 12 milliseconds

1234