/external/webkit/WebKitTools/Scripts/webkitpy/steps/ |
closebug.py | 46 patches = self._tool.bugs.fetch_bug(state["patch"].bug_id()).patches() 47 for patch in patches: 48 if patch.review() == "?" or patch.review() == "+": 49 log("Not closing bug %s as attachment %s has review=%s. Assuming there are more patches to land from this bug." % (patch.bug_id(), patch.id(), patch.review())) 51 self._tool.bugs.close_bug_as_fixed(state["patch"].bug_id(), "All reviewed patches have been landed. Closing bug.")
|
updatechangelogswithreviewer.py | 47 log("%s on bug %s, cannot infer reviewer." % (pluralize("reviewed patch", len(patches)), bug_id)) 49 patch = patches[0] 50 log("Guessing \"%s\" as reviewer from attachment %s on bug %s." % (patch.reviewer().full_name, patch.id(), bug_id)) 51 return patch.reviewer().full_name 55 if not bug_id and state.get("patch"): 56 bug_id = state.get("patch").bug_id()
|
obsoletepatches.py | 49 log("Obsoleting %s on bug %s" % (pluralize("old patch", len(patches)), bug_id)) 50 for patch in patches: 51 self._tool.bugs.obsolete_attachment(patch.id())
|
/external/webkit/WebKitTools/Scripts/ |
svn-unapply | 33 # Differences from invoking "patch -p0 -R": 39 # Paths from Index: lines are used rather than the paths on the patch lines, which 43 # the patch before it is applied (svn-apply sets it when applying a patch). 44 # Handles binary files (requires patches made by svn-create-patch). 45 # Handles copied and moved files (requires patches made by svn-create-patch). 51 # Handle copied and moved directories (would require patches made by svn-create-patch). 52 # Use version numbers in the patch file and do a 3-way merge. 54 # Notice a patch that's being unapplied at the "wrong level" and make it work anyway. 55 # Do a dry run on the whole patch and don't do anything if part of the patch i 166 sub patch($) subroutine [all...] |
svn-apply | 31 # "patch" script for WebKit Open Source Project, used to apply patches. 33 # Differences from invoking "patch -p0": 40 # Has mode where it will roll back to svn version numbers in the patch file so svn 42 # Paths from Index: lines are used rather than the paths on the patch lines, which 46 # the patch to today's date using $changeLogTimeZone. 47 # Handles binary files (requires patches made by svn-create-patch). 48 # Handles copied and moved files (requires patches made by svn-create-patch). 54 # Handle copied and moved directories (would require patches made by svn-create-patch). 56 # Notice a patch that's being applied at the "wrong level" and make it work anyway. 57 # Do a dry run on the whole patch and don't do anything if part of the patch i 328 sub patch($) subroutine [all...] |
check-webkit-style | 84 patch = scm.create_patch_since_local_commit(commit) 86 patch = scm.create_patch() 87 style_checker.check_patch(patch)
|
/external/webkit/WebKitTools/Scripts/webkitpy/ |
statusserver.py | 54 def _add_patch(self, patch): 55 if not patch: 57 if patch.bug_id(): 58 self.browser["bug_id"] = str(patch.bug_id()) 59 if patch.id(): 60 self.browser["patch_id"] = str(patch.id()) 67 def _post_to_server(self, queue_name, status, patch, results_file): 76 self._add_patch(patch) 81 def update_status(self, queue_name, status, patch=None, results_file=None): 87 return NetworkTransaction().run(lambda: self._post_to_server(queue_name, status, patch, results_file) [all...] |
style_references.py | 49 """Parse a patch string and return the affected files.""" 51 patch = DiffParser(patch_string.splitlines()) 52 return patch.files
|
/external/webkit/WebKitTools/Scripts/webkitpy/commands/ |
queries.py | 58 for patch in patches: 59 print patch.url() 67 make_option("--bugs", action="store_true", dest="bugs", help="Output bug links instead of patch links"), 72 def _needs_commit_queue(patch): 73 if patch.commit_queue() == "+": # If it's already cq+, ignore the patch. 74 log("%s already has cq=%s" % (patch.id(), patch.commit_queue())) 78 committer_record = CommitterList().committer_by_email(patch.attacher_email()) 80 log("%s committer = %s" % (patch.id(), committer_record) [all...] |
early_warning_system.py | 46 def should_proceed_with_work_item(self, patch): 54 self._update_status("Building", patch) 60 def _review_patch(self, patch): 70 patch.id()]) 79 message = "Attachment %s did not build on %s:\nBuild output: %s" % (state["patch"].id(), cls.port_name, results_link) 80 tool.bugs.post_comment_to_bug(state["patch"].bug_id(), message, cc=cls.watchers) 113 def process_work_item(self, patch): 114 if not self._committers.committer_by_email(patch.attacher_email()): 115 self._did_error(patch, "%s cannot process patches from non-committers :(" % self.name) 117 AbstractEarlyWarningSystem.process_work_item(self, patch) [all...] |
queues.py | 70 def _update_status(self, message, patch=None, results_file=None): 71 self.tool.status_server.update_status(self.name, message, patch, results_file) 73 def _did_pass(self, patch): 74 self._update_status(self._pass_status, patch) 76 def _did_fail(self, patch): 77 self._update_status(self._fail_status, patch) 79 def _did_error(self, patch, reason): 81 self._update_status(message, patch) 86 def work_item_log_path(self, patch): 87 return os.path.join("%s-logs" % self.name, "%s.log" % patch.bug_id() [all...] |
/bootable/recovery/applypatch/ |
imgpatch.c | 17 // See imgdiff.c in this directory for a description of the patch file 33 * Apply the patch given in 'patch_filename' to the source data given 39 const Value* patch, 42 char* header = patch->data; 43 if (patch->size < 12) { 44 printf("patch too short to contain header\n"); 52 printf("corrupt patch file header (magic number)\n"); 61 if (pos + 4 > patch->size) { 65 int type = Read4(patch->data + pos); 69 char* normal_header = patch->data + pos [all...] |
imgdiff_test.sh | 71 run_command rm $WORK_DIR/patch 86 imgdiff "$@" $tmpdir/source $tmpdir/target $tmpdir/patch 87 bsdiff $tmpdir/source $tmpdir/target $tmpdir/patch.bs 88 echo "patch for $fn is $(size $tmpdir/patch) [of $(size $tmpdir/target)] ($(size $tmpdir/patch.bs) with bsdiff)" 89 echo "$fn $(size $tmpdir/patch) of $(size $tmpdir/target) bsdiff $(size $tmpdir/patch.bs)" >> /tmp/stats.txt 92 $ADB push $tmpdir/patch $WORK_DIR/patch || fail "patch push failed [all...] |
bspatch.c | 101 const Value* patch, ssize_t patch_offset, 106 if (ApplyBSDiffPatchMem(old_data, old_size, patch, patch_offset, 124 const Value* patch, ssize_t patch_offset, 126 // Patch data format: 138 unsigned char* header = (unsigned char*) patch->data + patch_offset; 140 printf("corrupt bsdiff patch file header (magic number)\n"); 150 printf("corrupt patch file header (data lengths)\n"); 157 cstream.next_in = patch->data + patch_offset + 32; 167 dstream.next_in = patch->data + patch_offset + 32 + ctrl_len; 177 estream.next_in = patch->data + patch_offset + 32 + ctrl_len + data_len [all...] |
/external/webkit/WebKitTools/Scripts/webkitperl/VCSUtils_unittest/ |
runPatchCommand.pl | 50 $title = "runPatchCommand: Unsuccessful patch, forcing."; 52 # Since $patch has no "Index:" path, passing this to runPatchCommand 54 my $patch = <<'END'; 55 Garbage patch contents 59 # patch: **** Only garbage was found in the patch input. 61 $exitStatus = callSilently(\&runPatchCommand, $patch, ".", "file_to_patch.txt", $argsHashRef); 71 $patch = <<END; 87 $exitStatus = runPatchCommand($patch, ".", $fileToPatch, $argsHashRef); 95 $exitStatus = runPatchCommand($patch, ".", $fileToPatch, $argsHashRef) [all...] |
/external/libnfc-nxp/src/ |
phLibNfcStatus.h | 34 #define LIB_NFC_VERSION_SET(v,major,minor,patch,build) ((v) = \ 37 ( ((patch) << 8) & 0x0000FF00 ) | \
|
/external/bouncycastle/ |
import_bouncycastle.sh | 45 echo " ./import_bouncycastle.sh regenerate <patch/*.patch>" 46 echo " ./import_bouncycastle.sh generate <patch/*.patch> </path/to/bcprov-jdk*-*.tar.gz>" 52 die "Bouncy Castle patch directory patches/ not found" 83 declare -r patch=$1 84 shift || usage "No patch file specified." 87 regenerate $patch 89 declare -r patch=$1 90 shift || usage "No patch file specified. [all...] |
/external/v8/test/cctest/ |
test-version.cc | 39 void SetVersion(int major, int minor, int build, int patch, 44 Version::patch_ = patch; 53 int patch, bool candidate, 60 SetVersion(major, minor, build, patch, candidate, ""); 68 SetVersion(major, minor, build, patch, candidate, soname);
|
/external/qemu/distrib/sdl-1.2.12/include/ |
SDL_version.h | 45 Uint8 patch; member in struct:SDL_version 55 (X)->patch = SDL_PATCHLEVEL; \
|
/prebuilt/darwin-x86/sdl/include/SDL/ |
SDL_version.h | 45 Uint8 patch; member in struct:SDL_version 55 (X)->patch = SDL_PATCHLEVEL; \
|
/prebuilt/linux-x86/sdl/include/SDL/ |
SDL_version.h | 45 Uint8 patch; member in struct:SDL_version 55 (X)->patch = SDL_PATCHLEVEL; \
|
/prebuilt/windows/sdl/host/include/SDL/ |
SDL_version.h | 50 Uint8 patch; member in struct:SDL_version 60 (X)->patch = SDL_PATCHLEVEL; \
|
/prebuilt/windows/sdl/include/SDL/ |
SDL_version.h | 45 Uint8 patch; member in struct:SDL_version 55 (X)->patch = SDL_PATCHLEVEL; \
|
/external/openssl/ |
import_openssl.sh | 45 echo " ./import_openssl.sh regenerate <patch/*.patch>" 46 echo " ./import_openssl.sh generate <patch/*.patch> </path/to/openssl-*.tar.gz>" 52 die "OpenSSL patch directory patches/ not found" 83 declare -r patch=$1 84 shift || usage "No patch file specified." 87 regenerate $patch 89 declare -r patch=$1 90 shift || usage "No patch file specified. [all...] |
/frameworks/base/graphics/java/android/graphics/ |
NinePatch.java | 24 * transparent so that the patch can provide a selection about a rectangle. 29 * <a href="{@docRoot}guide/topics/graphics/2d-graphics.html#nine-patch">2D 32 * The <a href="{@docRoot}guide/developing/tools/draw9patch.html">Draw 9-Patch</a> 42 * @param chunk The 9-patch data chunk describing how the underlying 56 public NinePatch(NinePatch patch) { 57 mBitmap = patch.mBitmap; 58 mChunk = patch.mChunk; 59 mSrcName = patch.mSrcName; 60 if (patch.mPaint != null) { 61 mPaint = new Paint(patch.mPaint) [all...] |