/external/webkit/Tools/Scripts/webkitperl/VCSUtils_unittest/ |
parsePatch.pl | 42 my $patch = <<'END', 81 open($fileHandle, "<", \$patch);
|
/external/valgrind/main/drd/scripts/ |
download-and-build-splash2.in | 28 if [ ! -e splash2-modified.patch.gz ]; then 29 wget -q http://www.capsl.udel.edu/splash/splash2-modified.patch.gz 35 gzip -cd < "$downloads/splash2-modified.patch.gz" | patch -p1 -s 36 patch -p1 -s <<'EOF' 58 radiosity.h: patch.h model.h parallel.h task.h 80 patch -p1 -s <<EOF 157 @@ -6,7 +6,7 @@ HS = model.h parallel.h patch.h radiosit
|
/external/aac/libSBRenc/src/ |
ton_corr.cpp | 486 \brief resets the patch 496 INT xposctrl, /*!< Different patch modes. */ 503 INT patch,k,i; 532 /* First patch */ 537 patch = 0; 541 if (patch >= MAX_NUM_PATCHES) 544 patchParam[patch].guardStartBand = targetStopBand; 546 patchParam[patch].targetStartBand = targetStopBand; 548 numBandsInPatch = goalSb - targetStopBand; /* get the desired range of the patch */ 551 /* desired number bands are not available -> patch whole source range * [all...] |
/bootable/recovery/applypatch/ |
applypatch.sh | 85 run_command rm $WORK_DIR/patch.bsdiff 155 # --------------- apply patch ---------------------- 158 $ADB push $DATA_DIR/patch.bsdiff $WORK_DIR 162 # Check that the partition has enough space to apply the patch without 169 echo "Not enough space on /$WORK_FS to patch test file." 177 testname "apply bsdiff patch" 178 run_command $WORK_DIR/applypatch $WORK_DIR/old.file - $NEW_SHA1 $NEW_SIZE $BAD1_SHA1:$WORK_DIR/foo $OLD_SHA1:$WORK_DIR/patch.bsdiff || fail 182 testname "reapply bsdiff patch" 183 run_command $WORK_DIR/applypatch $WORK_DIR/old.file - $NEW_SHA1 $NEW_SIZE $BAD1_SHA1:$WORK_DIR/foo $OLD_SHA1:$WORK_DIR/patch.bsdiff || fail 188 # --------------- apply patch in new location --------------------- [all...] |
/external/webkit/Tools/Scripts/webkitpy/tool/bot/ |
flakytestreporter.py | 126 def _latest_flake_message(self, flaky_result, patch): 128 flake_message = "The %s just saw %s flake (%s) while processing attachment %s on bug %s." % (self._bot_name, flaky_result.filename, ", ".join(failure_messages), patch.id(), patch.bug_id()) 179 def report_flaky_tests(self, patch, flaky_test_results, results_archive): 180 message = "The %s encountered the following flaky tests while processing attachment %s:\n\n" % (self._bot_name, patch.id()) 184 latest_flake_message = self._latest_flake_message(flaky_result, patch) 199 message += "The %s is continuing to process your patch." % self._bot_name 200 self._tool.bugs.post_comment_to_bug(patch.bug_id(), message)
|
feeders_unittest.py | 80 self.assertEquals([patch.id for patch in feeder._patches_with_acceptable_review_flag(patches)], [1, 3])
|
/external/webkit/Tools/Scripts/ |
svn-create-patch | 112 print STDERR "WARNING: Patch's size is " . int($patchSize/1024) . " kbytes.\n"; 224 my $patch = ""; 232 $patch .= $_; 236 my $changeLogHash = fixChangeLogPatch($patch); 237 $patch = $changeLogHash->{patch}; 239 print $patch; 241 print "\n" if ($patch && $patch =~ m/\n\S+$/m); 244 return length($patch); [all...] |
VCSUtils.pm | 347 # Some users have a workflow where svn-create-patch, svn-apply and 626 } elsif (/^GIT binary patch$/ ) { 720 # The "from" clause is created by svn-create-patch, in 816 # that, if necessary, the text of an SVN or Git patch can be 844 # Parse one diff from a patch file created by svn-create-patch, and 887 # Then assume all diffs in the patch are Git-formatted. This 889 # all diffs in the patch are formatted the same (SVN or Git). 909 # modified or patch(1) will complain. So, we only modify non-chunk range lines. [all...] |
webkit-tools-completion.sh | 91 complete -F _webkit-patch_complete webkit-patch
|
/external/skia/legacy/src/animator/ |
SkDraw3D.cpp | 39 SK_MEMBER(patch, 3D_Patch), 47 Sk3D_Camera::Sk3D_Camera() : hackWidth(0), hackHeight(0), patch(NULL) { 56 fCamera.patchToMatrix(patch->fPatch, &matrix);
|
/external/skia/legacy/src/core/ |
SkGraphics.cpp | 32 void SkGraphics::GetVersion(int32_t* major, int32_t* minor, int32_t* patch) { 39 if (patch) { 40 *patch = SKIA_VERSION_PATCH;
|
/external/skia/src/animator/ |
SkDraw3D.cpp | 39 SK_MEMBER(patch, 3D_Patch), 47 Sk3D_Camera::Sk3D_Camera() : hackWidth(0), hackHeight(0), patch(NULL) { 56 fCamera.patchToMatrix(patch->fPatch, &matrix);
|
/external/skia/src/core/ |
SkGraphics.cpp | 33 void SkGraphics::GetVersion(int32_t* major, int32_t* minor, int32_t* patch) { 40 if (patch) { 41 *patch = SKIA_VERSION_PATCH;
|
SkMaskFilter.cpp | 202 NinePatch patch; local 204 patch.fMask.fImage = NULL; 206 clip.getBounds(), &patch)) { 208 SkASSERT(NULL == patch.fMask.fImage); 212 draw_nine(patch.fMask, patch.fOuterRect, patch.fCenter, 214 SkMask::FreeImage(patch.fMask.fImage); 218 SkASSERT(NULL == patch.fMask.fImage);
|
/external/webkit/Tools/Scripts/webkitpy/tool/commands/ |
queries.py | 48 help_text = "Suggest reviewers for a patch based on recent changes to the modified files." 79 for patch in patches: 80 print patch.url() 88 make_option("--bugs", action="store_true", dest="bugs", help="Output bug links instead of patch links"), 93 def _needs_commit_queue(patch): 94 if patch.commit_queue() == "+": # If it's already cq+, ignore the patch. 95 log("%s already has cq=%s" % (patch.id(), patch.commit_queue())) 99 committer_record = CommitterList().committer_by_email(patch.attacher_email() [all...] |
upload.py | 71 def _flags_to_clear_on_patch(self, patch): 72 if not patch.is_obsolete(): 75 if patch.review() == "+": 76 if patch.reviewer(): 77 what_was_cleared.append("%s's review+" % patch.reviewer().full_name) 87 for patch in patches: 88 flags_to_clear = self._flags_to_clear_on_patch(patch) 91 message = "Cleared %s from obsolete attachment %s so that this bug does not appear in http://webkit.org/pending-commit." % (flags_to_clear, patch.id()) 92 self._tool.bugs.obsolete_attachment(patch.id(), message) 106 patch = self._tool.bugs.fetch_attachment(patch_id [all...] |
download.py | 139 for patch in patches: 140 bugs_to_patches[patch.bug_id()] = bugs_to_patches.get(patch.bug_id(), []) + [patch] 149 log("Processing %s from %s." % (pluralize("patch", len(patches)), pluralize("bug", len(bugs_to_patches)))) 151 for patch in patches: 152 self._process_patch(patch, options, args, tool) 169 def _process_patch(self, patch, options, args, tool): 170 state = { "patch" : patch } [all...] |
/external/webkit/Tools/Scripts/webkitpy/common/checkout/ |
scm_unittest.py | 133 # This 4th commit is used to make sure that our patch file handling 370 # Patch formats are slightly different between svn and git, so just regexp for things we know should be there. 383 GIT binary patch 411 GIT binary patch 439 GIT binary patch 546 # Patch files were created against just 'first_entry'. 585 # create_patch depends on 'svn-create-patch', so make a dummy version. 588 create_patch_path = os.path.join(scripts_path, 'svn-create-patch') 597 # Our fake 'svn-create-patch' returns $PWD instead of a patch, check that it was executed from the root of the repo [all...] |
diff_parser_unittest.py | 142 patch = p.sub(lambda x: " %s/" % prefix[x.group(1)], self._PATCH) 143 self.test_diff_parser(diff_parser.DiffParser(patch.splitlines()))
|
/ndk/build/tools/ |
patch-sources.sh | 18 # Script used to patch a source directory from a series of patches 25 "Patch a target source directory with a series of patches taken 27 is found under <patches-dir>/subdir/foo.patch will be applied with 28 'patch -p1' in <src-dir>/subdir. 60 PATCHES=`(cd $PATCHES_DIR && find . -name "*.patch" | sort ) 2> /dev/null` 66 for PATCH in $PATCHES; do 67 PATCHDIR=`dirname $PATCH` 68 PATCHNAME=`basename $PATCH` 70 cd $SRC_DIR/$PATCHDIR && patch -p1 < $PATCHES_DIR/$PATCH [all...] |
/external/strace/ |
strace.spec | 313 - add further s390 patch from IBM 319 - Added latest s390(x) patch. 322 - preliminary x86_64 support with an ugly patch to help 326 - newer version of the clone fixing patch (Roland McGrath) 341 - fix for the last patch by Jeff Law (#62591) 344 - integrate patch from Jeff Law to eliminate hang tracing threads 363 - modify new syscall patch to allocate enough heap space in setgroups32() 379 - added S/390 patch from IBM, adapting it to not conflict with 380 IA64 patch 383 - doh, actually apply the 2.4 syscalls patch [all...] |
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
db_feature_matching.cpp | 559 inline void db_SignedSquareNormCorr5x5_PreAlign_u(short *patch,const unsigned char * const *f_img,int x_f,int y_f,float *sum,float *recip) 570 f= *pf++; f2sum=f*f; fsum=f; (*patch++)=f; 571 f= *pf++; f2sum+=f*f; fsum+=f; (*patch++)=f; 572 f= *pf++; f2sum+=f*f; fsum+=f; (*patch++)=f; 573 f= *pf++; f2sum+=f*f; fsum+=f; (*patch++)=f; 574 f= *pf; f2sum+=f*f; fsum+=f; (*patch++)=f; 577 f= *pf++; f2sum+=f*f; fsum+=f; (*patch++)=f; 578 f= *pf++; f2sum+=f*f; fsum+=f; (*patch++)=f; 579 f= *pf++; f2sum+=f*f; fsum+=f; (*patch++)=f; 580 f= *pf++; f2sum+=f*f; fsum+=f; (*patch++)=f [all...] |
/packages/apps/Gallery2/jni_mosaic/feature_stab/db_vlvm/ |
db_feature_matching.cpp | 559 inline void db_SignedSquareNormCorr5x5_PreAlign_u(short *patch,const unsigned char * const *f_img,int x_f,int y_f,float *sum,float *recip) 570 f= *pf++; f2sum=f*f; fsum=f; (*patch++)=f; 571 f= *pf++; f2sum+=f*f; fsum+=f; (*patch++)=f; 572 f= *pf++; f2sum+=f*f; fsum+=f; (*patch++)=f; 573 f= *pf++; f2sum+=f*f; fsum+=f; (*patch++)=f; 574 f= *pf; f2sum+=f*f; fsum+=f; (*patch++)=f; 577 f= *pf++; f2sum+=f*f; fsum+=f; (*patch++)=f; 578 f= *pf++; f2sum+=f*f; fsum+=f; (*patch++)=f; 579 f= *pf++; f2sum+=f*f; fsum+=f; (*patch++)=f; 580 f= *pf++; f2sum+=f*f; fsum+=f; (*patch++)=f [all...] |
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
db_feature_matching.cpp | 559 inline void db_SignedSquareNormCorr5x5_PreAlign_u(short *patch,const unsigned char * const *f_img,int x_f,int y_f,float *sum,float *recip) 570 f= *pf++; f2sum=f*f; fsum=f; (*patch++)=f; 571 f= *pf++; f2sum+=f*f; fsum+=f; (*patch++)=f; 572 f= *pf++; f2sum+=f*f; fsum+=f; (*patch++)=f; 573 f= *pf++; f2sum+=f*f; fsum+=f; (*patch++)=f; 574 f= *pf; f2sum+=f*f; fsum+=f; (*patch++)=f; 577 f= *pf++; f2sum+=f*f; fsum+=f; (*patch++)=f; 578 f= *pf++; f2sum+=f*f; fsum+=f; (*patch++)=f; 579 f= *pf++; f2sum+=f*f; fsum+=f; (*patch++)=f; 580 f= *pf++; f2sum+=f*f; fsum+=f; (*patch++)=f [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
TerrainQuad.java | 252 * the LOD values of each patch.
437 // go through each patch and calculate its LOD based on camera distance
468 * Back on the ogl thread: update the terrain patch geometries
520 TerrainPatch patch = (TerrainPatch) child;
521 if (!patch.searchedForNeighboursAlready) {
523 patch.rightNeighbour = findRightPatch(patch);
524 patch.bottomNeighbour = findDownPatch(patch);
525 patch.leftNeighbour = findLeftPatch(patch); [all...] |