OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:file_len
(Results
1 - 4
of
4
) sorted by null
/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/extras/tests/framebuffer/
mdp_test.c
232
int
file_len
;
local
235
if (open_file(optarg, &file_fd, &
file_len
, &src_fmt) < 0) {
240
if (get_pmem(&src_fd, &src_data,
file_len
) < 0) {
246
while (
file_len
) {
247
bytes = read(file_fd, ptr,
file_len
);
252
file_len
-= bytes;
/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/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))
Completed in 250 milliseconds