Home
last modified time | relevance | path

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

12

/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/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.c76 char path[FILENAME_MAX] = "/dev/cpuctl";
90 char mygroup[FILENAME_MAX], mytaskfile[FILENAME_MAX]; in main()
91 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_def_task04.c88 char mygroup[FILENAME_MAX], mytaskfile[FILENAME_MAX]; in main()
89 char mysharesfile[FILENAME_MAX], ch; in main()
Dcpuctl_def_task02.c89 char mygroup[FILENAME_MAX], mytaskfile[FILENAME_MAX]; in main()
90 char mysharesfile[FILENAME_MAX], ch; in main()
Dcpuctl_test01.c90 char mygroup[FILENAME_MAX], mytaskfile[FILENAME_MAX]; in main()
91 char mysharesfile[FILENAME_MAX], ch; in main()
Dcpuctl_test03.c88 char mygroup[FILENAME_MAX], mytaskfile[FILENAME_MAX]; in main()
89 char mysharesfile[FILENAME_MAX], ch; in main()
Dcpuctl_test04.c89 char mygroup[FILENAME_MAX], mytaskfile[FILENAME_MAX]; in main()
90 char mysharesfile[FILENAME_MAX], ch; in main()
Dcpuctl_def_task03.c85 char mygroup[FILENAME_MAX], mytaskfile[FILENAME_MAX]; in main()
86 char mysharesfile[FILENAME_MAX], ch; in main()
Dcpuctl_test02.c91 char mygroup[FILENAME_MAX], mytaskfile[FILENAME_MAX]; in main()
92 char mysharesfile[FILENAME_MAX], ch; in main()
/external/zlib/src/contrib/minizip/
Diowin32.c111 WCHAR filenameW[FILENAME_MAX + 0x200 + 1]; in win32_open64_file_func()
112 MultiByteToWideChar(CP_ACP,0,(const char*)filename,-1,filenameW,FILENAME_MAX + 0x200); in win32_open64_file_func()
136 WCHAR filenameW[FILENAME_MAX + 0x200 + 1]; in win32_open64_file_funcA()
137 MultiByteToWideChar(CP_ACP,0,(const char*)filename,-1,filenameW,FILENAME_MAX + 0x200); in win32_open64_file_funcA()
184 WCHAR filenameW[FILENAME_MAX + 0x200 + 1]; in win32_open_file_func()
185 MultiByteToWideChar(CP_ACP,0,(const char*)filename,-1,filenameW,FILENAME_MAX + 0x200); in win32_open_file_func()
/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/ltp/testcases/kernel/controllers/memctl/
Dmemctl_test01.c69 char mygroup[FILENAME_MAX], mytaskfile[FILENAME_MAX]; in main()
/external/ltp/testcases/kernel/syscalls/clone/
Dclone02.c98 static char cwd_parent[FILENAME_MAX];
425 char cwd[FILENAME_MAX]; in modified_FS()
/external/libcxx/test/std/depr/depr.c.headers/
Dstdio_h.pass.cpp44 #ifndef FILENAME_MAX
45 #error FILENAME_MAX not defined
/external/libcxx/test/std/input.output/file.streams/c.files/
Dcstdio.pass.cpp25 #ifndef FILENAME_MAX
26 #error FILENAME_MAX not defined
/external/libpng/contrib/libtests/
Dtimepng.c533 char filename[FILENAME_MAX+1]; in main()
535 while (fgets(filename, FILENAME_MAX+1, stdin)) in main()
/external/v8/src/base/platform/
Dplatform-openbsd.cc50 const int kLibNameLen = FILENAME_MAX + 1; in GetSharedLibraryAddresses()
Dplatform-linux.cc105 const int kLibNameLen = FILENAME_MAX + 1; in GetSharedLibraryAddresses()
/external/libnl/src/lib/
Dutils.c185 char path[FILENAME_MAX+1]; in nl_cli_load_module()
/external/ltp/testcases/kernel/syscalls/swapon/
Dswapon03.c261 char filename[FILENAME_MAX]; in clean_swap()
/external/icu/icu4c/source/tools/tzcode/
Dzdump.c560 char path[FILENAME_MAX + 1]; in main()
1043 char path[FILENAME_MAX + 1]; in getzones()
1077 char subpath[FILENAME_MAX + 1]; in getzones()

12