OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:LOG_MAGIC_SIZE
(Results
1 - 3
of
3
) sorted by null
/device/htc/common/updater/
bootloader.h
74
#define
LOG_MAGIC_SIZE
8
log_recovery.c
60
if (memcmp(buffer, LOG_MAGIC,
LOG_MAGIC_SIZE
) != 0) {
66
size_t log_size = *(size_t *)(buffer +
LOG_MAGIC_SIZE
);
69
fwrite(buffer + sizeof(size_t) +
LOG_MAGIC_SIZE
, 1, log_size, stdout);
bootloader.c
288
fseek(f, -(erase_size-sizeof(size_t)-
LOG_MAGIC_SIZE
), SEEK_END);
289
memcpy(log, LOG_MAGIC,
LOG_MAGIC_SIZE
);
290
size_t read = fread(log+sizeof(size_t)+
LOG_MAGIC_SIZE
,
291
1, erase_size-sizeof(size_t)-
LOG_MAGIC_SIZE
, f);
293
*(size_t *)(log +
LOG_MAGIC_SIZE
) = read;
Completed in 373 milliseconds