Home
last modified time | relevance | path

Searched refs:file_len (Results 1 - 8 of 8) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/mlock/
H A Dmlock04.c34 static int fd = -1, file_len = 40960; variable
41 buf = SAFE_MMAP(NULL, file_len, PROT_WRITE, MAP_SHARED, fd, 0); in verify_mlock()
42 TST_EXP_PASS(mlock(buf, file_len), "mlock(%p, %d)", buf, file_len); in verify_mlock() local
43 SAFE_MUNLOCK(buf, file_len); in verify_mlock()
44 SAFE_MUNMAP(buf, file_len); in verify_mlock()
50 SAFE_FTRUNCATE(fd, file_len); in setup()
/third_party/icu/icu4c/source/test/perf/ubrkperf/
H A Dubrkperf.h27 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/
H A Dprocess.c345 size_t file_len = wcslen(file); in search_path() local
351 if (file_len == 0 in search_path()
352 || (file_len == 1 && file[0] == L'.')) { in search_path()
358 for (file_name_start = (WCHAR*)file + file_len; in search_path()
375 file_name_start, file_len - (file_name_start - file), in search_path()
385 file, file_len, in search_path()
435 file, file_len, in search_path()
/third_party/node/deps/uv/src/win/
H A Dprocess.c353 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/
H A Dpcsc_funcs.c267 int *ps_do, int *file_len) in scard_parse_fsp_templ()
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()
266 scard_parse_fsp_templ(unsigned char *buf, size_t buf_len, int *ps_do, int *file_len) scard_parse_fsp_templ() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dpcsc_funcs.c267 int *ps_do, int *file_len) in scard_parse_fsp_templ()
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()
266 scard_parse_fsp_templ(unsigned char *buf, size_t buf_len, int *ps_do, int *file_len) scard_parse_fsp_templ() argument
/third_party/lwip/src/apps/http/
H A Dhttp_client.c727 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()
/third_party/libuv/test/
H A Dtest-spawn.c1426 int file_len; in TEST_IMPL() local
1437 for (len = strlen(exepath), file_len = 0; in TEST_IMPL()
1439 len--, file_len++); in TEST_IMPL()
1441 (int) (file_len - sizeof(".exe") + 1), in TEST_IMPL()

Completed in 12 milliseconds