/external/bluetooth/bluedroid/bta/fs/ |
bta_fs_ci.c | 263 UINT16 file_len = strlen(p_file) + 1; local 264 UINT16 size = sizeof(tBTA_FS_CI_OPEN_EVT) + file_len; 274 BCM_STRNCPY_S (p, file_len, p_file, file_len-1); 275 p[file_len] = '\0';
|
/external/qemu/android/utils/ |
filelock.c | 376 int file_len = strlen(file); local 377 int lock_len = file_len + sizeof(LOCK_NAME); 381 int temp_len = file_len + sizeof(TEMP_NAME); 383 int total_len = sizeof(FileLock) + file_len + lock_len + temp_len + 3; 388 memcpy( (char*)lock->file, file, file_len+1 ); 390 lock->lock = lock->file + file_len + 1; 391 memcpy( (char*)lock->lock, file, file_len+1 );
|
/system/core/libsparse/ |
sparse.c | 231 int64_t file_len = 0; local 252 if (file_len + count > len) { 258 if (!last_bb || (len - file_len > (len / 8))) { 259 backed_block_split(from->backed_block_list, bb, len - file_len); 264 file_len += count;
|
/external/dropbear/ |
progressmeter.c | 120 int file_len; local 151 file_len = win_size - 35; 152 if (file_len > 0) { 153 len = snprintf(buf, file_len + 1, "\r%s", file); 156 if (len >= file_len + 1) 157 len = file_len; 158 for (i = len; i < file_len; i++ ) 160 buf[file_len] = '\0';
|
/external/openssh/ |
progressmeter.c | 130 int file_len; local 161 file_len = win_size - 35; 162 if (file_len > 0) { 163 len = snprintf(buf, file_len + 1, "\r%s", file); 166 if (len >= file_len + 1) 167 len = file_len; 168 for (i = len; i < file_len; i++) 170 buf[file_len] = '\0';
|
/external/chromium/net/disk_cache/ |
block_files.cc | 404 size_t file_len = file->GetLength(); local 405 if (file_len < static_cast<size_t>(kBlockHeaderSize)) { 422 if (static_cast<int>(file_len) < 430 scoped_array<char> buf(new char[file_len]); 431 if (!file->Read(buf.get(), file_len, 0))
|
/external/chromium_org/net/disk_cache/ |
block_files.cc | 447 size_t file_len = file->GetLength(); local 448 if (file_len < static_cast<size_t>(kBlockHeaderSize)) { 467 if (static_cast<int>(file_len) < 475 scoped_ptr<char[]> buf(new char[file_len]); 476 if (!file->Read(buf.get(), file_len, 0))
|