OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:imgdiff
(Results
1 - 7
of
7
) sorted by null
/bootable/recovery/applypatch/
imgdiff_main.cpp
17
#include "applypatch/
imgdiff
.h"
20
return
imgdiff
(argc, const_cast<const char**>(argv));
imgpatch.cpp
17
// See
imgdiff
.cpp in this directory for a description of the patch file
36
#include <applypatch/
imgdiff
.h>
imgdiff.cpp
36
* An "
imgdiff
" patch consists of a header describing the chunk structure of the file and any
53
* The
imgdiff
patch header looks like this:
115
* 2 [version of
imgdiff
]
143
#include "applypatch/
imgdiff
.h"
177
// We assume the header "
IMGDIFF
#" is 8 bytes.
336
char ptemp[] = "/data/local/tmp/
imgdiff
-patch-XXXXXX";
338
char ptemp[] = "/tmp/
imgdiff
-patch-XXXXXX";
546
// Figure out how big the
imgdiff
file header is going to be, so that we can correctly compute
556
if (!android::base::WriteStringToFd("
IMGDIFF
" + std::to_string(VERSION), patch_fd)) {
557
PLOG(ERROR) << "Failed to write \"
IMGDIFF
" << VERSION << "\""
1474
int
imgdiff
(int argc, const char** argv) {
function
[
all
...]
/bootable/recovery/applypatch/include/applypatch/
imgdiff.h
37
int
imgdiff
(int argc, const char** argv);
/bootable/recovery/tests/component/
imgdiff_test.cpp
29
#include <applypatch/
imgdiff
.h>
39
// Sanity check for the given
imgdiff
patch header.
104
ASSERT_EQ(2,
imgdiff
(1, (const char* []){ "
imgdiff
" }));
105
ASSERT_EQ(2,
imgdiff
(2, (const char* []){ "
imgdiff
", "-z" }));
106
ASSERT_EQ(2,
imgdiff
(2, (const char* []){ "
imgdiff
", "-b" }));
107
ASSERT_EQ(2,
imgdiff
(3, (const char* []){ "
imgdiff
", "-z", "-b" }))
[
all
...]
/build/make/tools/releasetools/
blockimgdiff.py
39
def compute_patch(srcfile, tgtfile,
imgdiff
=False):
42
cmd = ['
imgdiff
', '-z'] if
imgdiff
else ['bsdiff']
45
# Don't dump the bsdiff/
imgdiff
commands, which are not useful for the case
260
"""A class that collects
imgdiff
stats.
262
It keeps track of the files that will be applied
imgdiff
while generating
263
BlockImageDiff. It also logs the ones that cannot use
imgdiff
, with specific
264
reasons. The stats is only meaningful when
imgdiff
not being disabled by the
269
USED_IMGDIFF = "APK files diff'd with
imgdiff
"
270
USED_IMGDIFF_LARGE_APK = "Large APK files split and diff'd with
imgdiff
"
[
all
...]
/build/make/core/
Makefile
[
all
...]
Completed in 130 milliseconds