Home
last modified time | relevance | path

Searched refs:FILENAME_MAX (Results 1 – 25 of 83) sorted by relevance

1234

/external/libmtp/util/
Dmtp-probe.c65 char pbuf[FILENAME_MAX]; in get_ep_type()
80 strncpy(pbuf + len, "type", FILENAME_MAX - len); in get_ep_type()
81 pbuf[FILENAME_MAX - 1] = '\0'; /* Sentinel */ in get_ep_type()
101 strncpy(pbuf + len, "direction", FILENAME_MAX - len); in get_ep_type()
102 pbuf[FILENAME_MAX - 1] = '\0'; /* Sentinel */ in get_ep_type()
135 char pbuf[FILENAME_MAX]; in has_3_ep()
143 strncpy(pbuf + len, "bNumEndpoints", FILENAME_MAX - len); in has_3_ep()
144 pbuf[FILENAME_MAX - 1] = '\0'; /* Sentinel */ in has_3_ep()
164 char dirbuf[FILENAME_MAX]; in check_interface()
200 strncpy(dirbuf + len, dent->d_name, FILENAME_MAX - len); in check_interface()
[all …]
/external/ltp/utils/ffsb-6.0-rc2/
Dfilelist.c63 char buf[FILENAME_MAX]; in build_dirs()
72 snprintf(buf, FILENAME_MAX, "%s/%s%s%d", in build_dirs()
157 char buf[FILENAME_MAX]; in add_file()
161 namesize = snprintf(buf, FILENAME_MAX, "%s/%s%s%d", in add_file()
165 namesize = snprintf(buf, FILENAME_MAX, in add_file()
170 if (namesize >= FILENAME_MAX) in add_file()
212 char buf[FILENAME_MAX]; in add_dir()
214 namesize = snprintf(buf, FILENAME_MAX, "%s/%s%s%d", in add_dir()
217 if (namesize >= FILENAME_MAX) in add_dir()
365 char fmt_str[FILENAME_MAX]; in validate_filename()
[all …]
Dffsb_fs.c231 char buf[FILENAME_MAX * 3]; in check_existing_fileset()
244 if (FILENAME_MAX <= in check_existing_fileset()
245 snprintf(buf, FILENAME_MAX, "%s/%s", fs->basedir, FILES_BASE)) { in check_existing_fileset()
269 if (FILENAME_MAX <= in check_existing_fileset()
270 snprintf(buf, FILENAME_MAX, "%s/%s", fs->basedir, META_BASE)) { in check_existing_fileset()
312 char buf[FILENAME_MAX * 3]; in construct_new_fileset()
317 if (FILENAME_MAX * 3 <= snprintf(buf, FILENAME_MAX * 3, in construct_new_fileset()
332 if (FILENAME_MAX <= in construct_new_fileset()
333 snprintf(buf, FILENAME_MAX, "%s/%s", fs->basedir, FILES_BASE)) { in construct_new_fileset()
345 snprintf(buf, FILENAME_MAX, "%s/%s", fs->basedir, META_BASE); in construct_new_fileset()
/external/syslinux/core/fs/lib/
Dsearchconfig.c8 __export char ConfigName[FILENAME_MAX];
9 __export char config_cwd[FILENAME_MAX];
21 char namebuf[FILENAME_MAX]; in search_dirs()
31 if (realpath(realname, namebuf, FILENAME_MAX) == (size_t)-1) in search_dirs()
/external/ltp/testcases/kernel/controllers/cpuctl/
Dcpuctl_latency_test.c64 char mytaskfile[FILENAME_MAX]; in main()
89 strncpy(mytaskfile, argv[2], FILENAME_MAX); in main()
91 FILENAME_MAX - strlen(mytaskfile) - 1); in main()
Dcpuctl_def_task01.c75 char path[FILENAME_MAX] = "/dev/cpuctl";
89 char mygroup[FILENAME_MAX], mytaskfile[FILENAME_MAX]; in main()
90 char mysharesfile[FILENAME_MAX], ch; in main()
Dcpuctl_latency_check_task.c76 char mytaskfile[FILENAME_MAX]; in main()
97 strncpy(mytaskfile, argv[4], FILENAME_MAX); in main()
99 FILENAME_MAX - strlen(mytaskfile) - 1); in main()
Dcpuctl_test04.c88 char mygroup[FILENAME_MAX], mytaskfile[FILENAME_MAX]; in main()
89 char mysharesfile[FILENAME_MAX], ch; in main()
Dcpuctl_def_task02.c88 char mygroup[FILENAME_MAX], mytaskfile[FILENAME_MAX]; in main()
89 char mysharesfile[FILENAME_MAX], ch; in main()
Dcpuctl_def_task04.c87 char mygroup[FILENAME_MAX], mytaskfile[FILENAME_MAX]; in main()
88 char mysharesfile[FILENAME_MAX], ch; in main()
Dcpuctl_test03.c87 char mygroup[FILENAME_MAX], mytaskfile[FILENAME_MAX]; in main()
88 char mysharesfile[FILENAME_MAX], ch; in main()
Dcpuctl_def_task03.c84 char mygroup[FILENAME_MAX], mytaskfile[FILENAME_MAX]; in main()
85 char mysharesfile[FILENAME_MAX], ch; in main()
Dcpuctl_test01.c89 char mygroup[FILENAME_MAX], mytaskfile[FILENAME_MAX]; in main()
90 char mysharesfile[FILENAME_MAX], ch; in main()
Dcpuctl_test02.c90 char mygroup[FILENAME_MAX], mytaskfile[FILENAME_MAX]; in main()
91 char mysharesfile[FILENAME_MAX], ch; in main()
/external/syslinux/com32/modules/
Dpwd.c27 # elif FILENAME_MAX
28 # define PATH_MAX FILENAME_MAX
/external/syslinux/core/include/
Dgraphics.h37 #define VGA_FILE_BUF_SIZE (FILENAME_MAX + 2)
39 #define VGA_FILE_BUF_SIZE FILENAME_MAX
Dfs.h22 #define FILENAME_MAX (1 << FILENAME_MAX_LG2) macro
24 #define CURRENTDIR_MAX FILENAME_MAX
/external/zlib/src/contrib/minizip/
Diowin32.c110 WCHAR filenameW[FILENAME_MAX + 0x200 + 1]; in win32_open64_file_func()
111 MultiByteToWideChar(CP_ACP,0,(const char*)filename,-1,filenameW,FILENAME_MAX + 0x200); in win32_open64_file_func()
135 WCHAR filenameW[FILENAME_MAX + 0x200 + 1]; in win32_open64_file_funcA()
136 MultiByteToWideChar(CP_ACP,0,(const char*)filename,-1,filenameW,FILENAME_MAX + 0x200); in win32_open64_file_funcA()
183 WCHAR filenameW[FILENAME_MAX + 0x200 + 1]; in win32_open_file_func()
184 MultiByteToWideChar(CP_ACP,0,(const char*)filename,-1,filenameW,FILENAME_MAX + 0x200); in win32_open_file_func()
/external/syslinux/core/fs/pxe/
Dftp_readdir.c48 char bufs[2][FILENAME_MAX + 1]; in ftp_readdir()
120 if (!name && p < buf + FILENAME_MAX) in ftp_readdir()
/external/webrtc/webrtc/test/testsupport/
Dfileutils.cc69 char relative_dir_path[FILENAME_MAX];
93 strncpy(relative_dir_path, temp_path.c_str(), FILENAME_MAX); in SetExecutablePath()
155 char path_buffer[FILENAME_MAX]; in WorkingDir()
/external/syslinux/com32/elflink/ldlinux/
Dexecute.c146 config = malloc(FILENAME_MAX); in execute()
150 realpath(config, kernel, FILENAME_MAX); in execute()
/external/ltp/testcases/kernel/controllers/memctl/
Dmemctl_test01.c69 char mygroup[FILENAME_MAX], mytaskfile[FILENAME_MAX]; in main()
/external/syslinux/core/elflink/
Dload_env32.c105 char realname[FILENAME_MAX]; in load_env32()
152 char path[FILENAME_MAX]; in load_env32()
/external/syslinux/com32/rosh/
Drosh.h237 #elif FILENAME_MAX
238 # define ROSH_PATH_SZ FILENAME_MAX
/external/syslinux/core/
Dcom32.inc58 Com32Name resb FILENAME_MAX
63 CurrentDirName resb FILENAME_MAX

1234