Searched refs:file_len (Results 1 – 6 of 6) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/mlock/ |
D | mlock04.c | 49 int fd, file_len = 40960; variable 63 buf = mmap(NULL, file_len, PROT_WRITE, MAP_SHARED, fd, 0); in main() 68 if (mlock(buf, file_len) == -1) in main() 71 tst_resm(TINFO, "locked %d bytes from %p", file_len, buf); in main() 73 if (munlock(buf, file_len) == -1) in main() 76 SAFE_MUNMAP(cleanup, buf, file_len); in main() 92 SAFE_FTRUNCATE(cleanup, fd, file_len); in setup()
|
/third_party/icu/icu4c/source/test/perf/ubrkperf/ |
D | ubrkperf.h | 27 ICUBreakFunction(const char *locale, const char *mode, const UChar *file, int32_t file_len) : in ICUBreakFunction() argument 30 m_fileLen_(file_len), in ICUBreakFunction() 63 ICUIsBound(const char *locale, const char *mode, const UChar *file, int32_t file_len) : in ICUIsBound() argument 64 ICUBreakFunction(locale, mode, file, file_len) in ICUIsBound() 90 ICUForward(const char *locale, const char *mode, const UChar *file, int32_t file_len) : in ICUForward() argument 91 ICUBreakFunction(locale, mode, file, file_len) in ICUForward()
|
/third_party/libuv/src/win/ |
D | process.c | 353 size_t file_len = wcslen(file); in search_path() local 359 if (file_len == 0 in search_path() 360 || (file_len == 1 && file[0] == L'.')) { in search_path() 366 for (file_name_start = (WCHAR*)file + file_len; in search_path() 383 file_name_start, file_len - (file_name_start - file), in search_path() 392 file, file_len, in search_path() 441 file, file_len, in search_path()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
D | pcsc_funcs.c | 267 int *ps_do, int *file_len) in scard_parse_fsp_templ() argument 273 if (file_len) in scard_parse_fsp_templ() 274 *file_len = -1; in scard_parse_fsp_templ() 328 if ((len == 1 || len == 2) && file_len) { in scard_parse_fsp_templ() 330 *file_len = (int) pos[0]; in scard_parse_fsp_templ() 332 *file_len = WPA_GET_BE16(pos); in scard_parse_fsp_templ() 334 *file_len); in scard_parse_fsp_templ()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
D | pcsc_funcs.c | 267 int *ps_do, int *file_len) in scard_parse_fsp_templ() argument 273 if (file_len) in scard_parse_fsp_templ() 274 *file_len = -1; in scard_parse_fsp_templ() 328 if ((len == 1 || len == 2) && file_len) { in scard_parse_fsp_templ() 330 *file_len = (int) pos[0]; in scard_parse_fsp_templ() 332 *file_len = WPA_GET_BE16(pos); in scard_parse_fsp_templ() 334 *file_len); in scard_parse_fsp_templ()
|
/third_party/lwip/src/apps/http/ |
D | http_client.c | 727 size_t file_len, alloc_len; in httpc_fs_init() local 730 file_len = strlen(local_file_name); in httpc_fs_init() 731 alloc_len = sizeof(httpc_filestate_t) + file_len + 1; in httpc_fs_init() 739 memcpy((char *)(filestate + 1), local_file_name, file_len + 1); in httpc_fs_init()
|