Home
last modified time | relevance | path

Searched refs:file_len (Results 1 – 7 of 7) sorted by relevance

/external/dropbear/
Dprogressmeter.c120 int file_len; in refresh_progress_meter() local
151 file_len = win_size - 35; in refresh_progress_meter()
152 if (file_len > 0) { in refresh_progress_meter()
153 len = snprintf(buf, file_len + 1, "\r%s", file); in refresh_progress_meter()
156 if (len >= file_len + 1) in refresh_progress_meter()
157 len = file_len; in refresh_progress_meter()
158 for (i = len; i < file_len; i++ ) in refresh_progress_meter()
160 buf[file_len] = '\0'; in refresh_progress_meter()
/external/icu4c/test/perf/ubrkperf/
Dubrkperf.h23 ICUBreakFunction(const char *locale, const char *mode, const UChar *file, int32_t file_len) : in ICUBreakFunction() argument
26 m_fileLen_(file_len), in ICUBreakFunction()
59 ICUIsBound(const char *locale, const char *mode, const UChar *file, int32_t file_len) : in ICUIsBound() argument
60 ICUBreakFunction(locale, mode, file, file_len) in ICUIsBound()
86 ICUForward(const char *locale, const char *mode, const UChar *file, int32_t file_len) : in ICUForward() argument
87 ICUBreakFunction(locale, mode, file, file_len) in ICUForward()
/external/qemu/android/utils/
Dfilelock.c376 int file_len = strlen(file); in filelock_create() local
377 int lock_len = file_len + sizeof(LOCK_NAME); in filelock_create()
381 int temp_len = file_len + sizeof(TEMP_NAME); in filelock_create()
383 int total_len = sizeof(FileLock) + file_len + lock_len + temp_len + 3; in filelock_create()
388 memcpy( (char*)lock->file, file, file_len+1 ); in filelock_create()
390 lock->lock = lock->file + file_len + 1; in filelock_create()
391 memcpy( (char*)lock->lock, file, file_len+1 ); in filelock_create()
/external/wpa_supplicant_8/src/utils/
Dpcsc_funcs.c241 int *ps_do, int *file_len) in scard_parse_fsp_templ() argument
247 if (file_len) in scard_parse_fsp_templ()
248 *file_len = -1; in scard_parse_fsp_templ()
273 (pos[1] == 1 || pos[1] == 2) && file_len) { in scard_parse_fsp_templ()
275 *file_len = (int) pos[2]; in scard_parse_fsp_templ()
277 *file_len = ((int) pos[2] << 8) | in scard_parse_fsp_templ()
280 *file_len); in scard_parse_fsp_templ()
/external/wpa_supplicant/
Dpcsc_funcs.c241 int *ps_do, int *file_len) in scard_parse_fsp_templ() argument
247 if (file_len) in scard_parse_fsp_templ()
248 *file_len = -1; in scard_parse_fsp_templ()
273 (pos[1] == 1 || pos[1] == 2) && file_len) { in scard_parse_fsp_templ()
275 *file_len = (int) pos[2]; in scard_parse_fsp_templ()
277 *file_len = ((int) pos[2] << 8) | in scard_parse_fsp_templ()
280 *file_len); in scard_parse_fsp_templ()
/external/wpa_supplicant_6/wpa_supplicant/src/utils/
Dpcsc_funcs.c241 int *ps_do, int *file_len) in scard_parse_fsp_templ() argument
247 if (file_len) in scard_parse_fsp_templ()
248 *file_len = -1; in scard_parse_fsp_templ()
273 (pos[1] == 1 || pos[1] == 2) && file_len) { in scard_parse_fsp_templ()
275 *file_len = (int) pos[2]; in scard_parse_fsp_templ()
277 *file_len = ((int) pos[2] << 8) | in scard_parse_fsp_templ()
280 *file_len); in scard_parse_fsp_templ()
/external/chromium/net/disk_cache/
Dblock_files.cc404 size_t file_len = file->GetLength(); in OpenBlockFile() local
405 if (file_len < static_cast<size_t>(kBlockHeaderSize)) { in OpenBlockFile()
424 scoped_array<char> buf(new char[file_len]); in OpenBlockFile()
425 if (!file->Read(buf.get(), file_len, 0)) in OpenBlockFile()