/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/ |
H A D | 5-1.c | 21 * 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 D | shm_open.c | 19 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 D | shm_open.c | 19 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 D | syslimits.h | 37 #undef NAME_MAX macro 39 #define NAME_MAX 256 macro
|
/third_party/ltp/testcases/kernel/syscalls/rename/ |
H A D | rename10.c | 21 static char long_path[NAME_MAX + 1] = {[0 ... NAME_MAX] = 'a'};
|
/third_party/musl/src/locale/ |
H A D | textdomain.c | 19 if (domlen > NAME_MAX) { in textdomain() 25 current_domain = malloc(NAME_MAX+1); in textdomain()
|
H A D | dcngettext.c | 53 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 D | 27-2.c | 11 * 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 D | limits.h | 77 #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 D | LPdir_win.c | 58 #ifndef NAME_MAX 59 # define NAME_MAX 255 macro 71 char entry_name[NAME_MAX + 1];
|
H A D | LPdir_unix.c | 55 * 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 D | LPdir_win.c | 58 #ifndef NAME_MAX 59 # define NAME_MAX 255 macro 71 char entry_name[NAME_MAX + 1];
|
H A D | LPdir_unix.c | 55 * 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 D | tinydir.h | 141 !(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 D | execvp.c | 22 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 D | limits.h | 44 #ifndef NAME_MAX 45 #define NAME_MAX 255 macro
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | limits.h | 44 #ifndef NAME_MAX 45 #define NAME_MAX 255 macro
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | limits.h | 46 #ifndef NAME_MAX 47 #define NAME_MAX 255 macro
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | limits.h | 46 #ifndef NAME_MAX 47 #define NAME_MAX 255 macro
|
/third_party/musl/include/ |
H A D | limits.h | 44 #ifndef NAME_MAX 45 #define NAME_MAX 255 macro
|
/third_party/musl/porting/linux/user/src/locale/ |
H A D | dcngettext.c | 77 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 D | nfs_util.c | 82 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 D | limits.h | 37 #define NAME_MAX 255 macro
|
/third_party/ltp/include/lapi/ |
H A D | readdir.h | 16 char d_name[NAME_MAX+1]; /* filename (null-terminated) */
|
/third_party/ltp/lib/ |
H A D | tst_cgroup.c | 144 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()
|