/external/dropbear/ |
D | progressmeter.c | 120 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/openssh/ |
D | progressmeter.c | 130 int file_len; in refresh_progress_meter() local 161 file_len = win_size - 35; in refresh_progress_meter() 162 if (file_len > 0) { in refresh_progress_meter() 163 len = snprintf(buf, file_len + 1, "\r%s", file); in refresh_progress_meter() 166 if (len >= file_len + 1) in refresh_progress_meter() 167 len = file_len; in refresh_progress_meter() 168 for (i = len; i < file_len; i++) in refresh_progress_meter() 170 buf[file_len] = '\0'; in refresh_progress_meter()
|
/external/icu4c/test/perf/ubrkperf/ |
D | ubrkperf.h | 23 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/chromium_org/third_party/icu/source/test/perf/ubrkperf/ |
D | ubrkperf.h | 23 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/bluetooth/bluedroid/bta/fs/ |
D | bta_fs_ci.c | 263 UINT16 file_len = strlen(p_file) + 1; in bta_fs_ci_resume_op() local 264 UINT16 size = sizeof(tBTA_FS_CI_OPEN_EVT) + file_len; in bta_fs_ci_resume_op() 274 BCM_STRNCPY_S (p, file_len, p_file, file_len-1); in bta_fs_ci_resume_op() 275 p[file_len] = '\0'; in bta_fs_ci_resume_op()
|
/external/qemu/android/utils/ |
D | filelock.c | 376 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/chromium/net/disk_cache/ |
D | block_files.cc | 404 size_t file_len = file->GetLength(); in OpenBlockFile() local 405 if (file_len < static_cast<size_t>(kBlockHeaderSize)) { in OpenBlockFile() 422 if (static_cast<int>(file_len) < in OpenBlockFile() 430 scoped_array<char> buf(new char[file_len]); in OpenBlockFile() 431 if (!file->Read(buf.get(), file_len, 0)) in OpenBlockFile()
|
/external/wpa_supplicant_8/src/utils/ |
D | pcsc_funcs.c | 259 int *ps_do, int *file_len) in scard_parse_fsp_templ() argument 265 if (file_len) in scard_parse_fsp_templ() 266 *file_len = -1; in scard_parse_fsp_templ() 314 if ((pos[1] == 1 || pos[1] == 2) && file_len) { in scard_parse_fsp_templ() 316 *file_len = (int) pos[2]; in scard_parse_fsp_templ() 318 *file_len = ((int) pos[2] << 8) | in scard_parse_fsp_templ() 321 *file_len); in scard_parse_fsp_templ()
|
/external/chromium_org/net/disk_cache/ |
D | block_files.cc | 482 size_t file_len = file->GetLength(); in OpenBlockFile() local 483 if (file_len < static_cast<size_t>(kBlockHeaderSize)) { in OpenBlockFile() 503 if (static_cast<int>(file_len) < in OpenBlockFile() 511 scoped_ptr<char[]> buf(new char[file_len]); in OpenBlockFile() 512 if (!file->Read(buf.get(), file_len, 0)) in OpenBlockFile()
|
/external/chromium_org/third_party/sqlite/src/test/ |
D | pager1.test | 1657 set ::file_len [string length $filename] 1663 for {set ii [expr $::file_len-5]} {$ii < [expr $::file_len+20]} {incr ii} { 1666 # The length of the full path to file "test.db-journal" is ($::file_len+8). 1670 if {$ii >= [expr $::file_len+8]} {
|