HomeSort by relevance Sort by last modified time
    Searched refs:Patch (Results 1 - 25 of 65) sorted by null

1 2 3

  /external/clang/test/CodeGenCXX/
pr12104.cpp 5 template struct Patch<1>;
pr12104.h 1 template <int dimm> struct Patch {
5 const unsigned int Patch<dim>::no_neighbor;
8 f(Patch<1>::no_neighbor);
  /external/chromium_org/base/win/
iat_patch_function.h 40 // Note: Patching a function will make the IAT patch take some "ownership" on
44 // patch is still active.
45 DWORD Patch(const wchar_t* module,
  /external/chromium_org/chrome/browser/component_updater/
component_patcher_win.h 15 virtual ComponentUnpacker::Error Patch(PatchType patch_type,
component_patcher.h 41 // Applies a delta patch to a single file. Specifically, creates a file at
44 // the error code of the failing patch operation, if there is such a failure.
47 // The type of a patch file.
54 virtual ComponentUnpacker::Error Patch(PatchType patch_type,
65 virtual ComponentUnpacker::Error Patch(PatchType patch_type,
78 // Sets |error| to the error code of the first failing patch operation.
component_patcher.cc 39 ComponentUnpacker::Error ComponentPatcherCrossPlatform::Patch(
component_patcher_win.cc 59 // Applies the patch to the input file. Returns kNone if the patch was
60 // successfully applied, kDeltaOperationFailure if the patch operation
62 // when running the patch code out of process. In the error case, detailed error
64 ComponentUnpacker::Error ComponentPatcherWin::Patch(
component_patcher_operation.cc 32 const char kPatch[] = "patch";
184 return patcher->Patch(ComponentPatcher::kPatchTypeBsdiff,
216 return patcher->Patch(ComponentPatcher::kPatchTypeCourgette,
  /external/chromium_org/chrome/browser/component_updater/test/
component_patcher_mock.h 19 virtual ComponentUnpacker::Error Patch(PatchType patch_type,
  /frameworks/base/libs/hwui/
Patch.h 36 // 9-patch structures
39 struct Patch {
40 Patch();
41 ~Patch();
44 * Returns the size of this patch's mesh in bytes.
58 float width, float height, const Res_png_9patch* patch);
60 float width, float height, const UvMapper& mapper, const Res_png_9patch* patch);
71 }; // struct Patch
PatchCache.h 28 #include "Patch.h"
57 const Patch* get(const AssetAtlas::Entry* entry,
59 const float pixelWidth, const float pixelHeight, const Res_png_9patch* patch);
79 * Removes the entries associated with the specified 9-patch. This is meant
83 void removeDeferred(Res_png_9patch* patch);
98 const float pixelWidth, const float pixelHeight, const Res_png_9patch* patch):
99 mPatch(patch), mBitmapWidth(bitmapWidth), mBitmapHeight(bitmapHeight),
144 * The patch cache maintains a linked-list of buffer blocks
157 typedef Pair<const PatchDescription*, Patch*> patch_pair_t;
162 void setupMesh(Patch* newMesh, TextureVertex* vertices)
    [all...]
Patch.cpp 24 #include "Patch.h"
35 Patch::Patch(): vertices(NULL), verticesCount(0), indexCount(0), hasEmptyQuads(false) {
38 Patch::~Patch() {
45 uint32_t Patch::getSize() const {
49 TextureVertex* Patch::createMesh(const float bitmapWidth, const float bitmapHeight,
50 float width, float height, const Res_png_9patch* patch) {
52 return createMesh(bitmapWidth, bitmapHeight, width, height, mapper, patch);
55 TextureVertex* Patch::createMesh(const float bitmapWidth, const float bitmapHeight
    [all...]
PatchCache.cpp 34 mSize(0), mCache(LruCache<PatchDescription, Patch*>::kUnlimitedCapacity),
38 INIT_LOGD(" Setting patch cache size to %skB", property);
41 INIT_LOGD(" Using default patch cache size of %.2fkB", DEFAULT_PATCH_CACHE_SIZE);
95 LruCache<PatchDescription, Patch*>::Iterator i(mCache);
110 void PatchCache::remove(Vector<patch_pair_t>& patchesToRemove, Res_png_9patch* patch) {
111 LruCache<PatchDescription, Patch*>::Iterator i(mCache);
114 if (key.getPatch() == patch) {
120 void PatchCache::removeDeferred(Res_png_9patch* patch) {
122 mGarbage.push(patch);
143 const Patch* patch = pair.getSecond() local
    [all...]
  /external/chromium_org/sandbox/win/src/sidestep/
preamble_patcher.h 42 // the function being patched, we cannot patch it because in the
45 // if you really really need to patch a function like this, it
48 // we cannot patch the function because it may not be long enough
49 // for the jmp instruction we use to inject our patch.
65 static SideStepError Patch(T target_function, T replacement_function,
  /external/chromium_org/third_party/tcmalloc/chromium/src/windows/
preamble_patcher_test.cc 69 // Function for testing - this is what we patch
140 sidestep::PreamblePatcher::Patch(IncrementNumber,
155 sidestep::PreamblePatcher::Patch(JumpShortCondFunction,
169 sidestep::PreamblePatcher::Patch(JumpNearCondFunction,
184 sidestep::PreamblePatcher::Patch(JumpAbsoluteFunction,
199 sidestep::PreamblePatcher::Patch(
216 sidestep::PreamblePatcher::Patch(IncrementNumber,
231 // jmp to the hook function. So verify that we now can not patch
238 sidestep::PreamblePatcher::Patch(IncrementNumber,
247 sidestep::PreamblePatcher::Patch(TooShortFunction
    [all...]
preamble_patcher.h 104 // To patch a function, use either of the typesafe Patch() methods. You
115 // original_func_stub = PreamblePatcher::Patch(
128 // the function being patched, we cannot patch it because in the
131 // if you really really need to patch a function like this, it
134 // we cannot patch the function because it may not be long enough
135 // for the jmp instruction we use to inject our patch.
149 // may mean if you patch the function in between your patch will never get
164 // PreamblePatcher::Patch(MessageBox, Hook_MessageBox, &original)
    [all...]
patch_functions.cc 33 // The main purpose of this file is to patch the libc allocation
35 // windows-specific libc-style routines). However, we also patch
52 // just be ignoring it because he's seen we already patch it). Of the
53 // above, we do not patch the *_dbg functions, and of the windows
54 // functions, we only patch HeapAlloc and HeapFree.
144 // .dll's), and we need to patch/unpatch them all. This defines
164 // nothing to patch. Also populates the rest of the module_entry
205 // This is the address of the function we are going to patch
207 // patch-specific subclasses, below.
254 bool Patch(const LibcInfo& me_info)
    [all...]
auto_testing_hook.h 74 // This class helps patch a function, then unpatch it when the object exits
123 SIDESTEP_CHK(SIDESTEP_SUCCESS == PreamblePatcher::Patch(target_function,
  /external/chromium_org/third_party/tcmalloc/vendor/src/windows/
preamble_patcher_test.cc 69 // Function for testing - this is what we patch
140 sidestep::PreamblePatcher::Patch(IncrementNumber,
155 sidestep::PreamblePatcher::Patch(JumpShortCondFunction,
169 sidestep::PreamblePatcher::Patch(JumpNearCondFunction,
184 sidestep::PreamblePatcher::Patch(JumpAbsoluteFunction,
199 sidestep::PreamblePatcher::Patch(
216 sidestep::PreamblePatcher::Patch(IncrementNumber,
231 // jmp to the hook function. So verify that we now can not patch
238 sidestep::PreamblePatcher::Patch(IncrementNumber,
247 sidestep::PreamblePatcher::Patch(TooShortFunction
    [all...]
preamble_patcher.h 104 // To patch a function, use either of the typesafe Patch() methods. You
115 // original_func_stub = PreamblePatcher::Patch(
128 // the function being patched, we cannot patch it because in the
131 // if you really really need to patch a function like this, it
134 // we cannot patch the function because it may not be long enough
135 // for the jmp instruction we use to inject our patch.
149 // may mean if you patch the function in between your patch will never get
164 // PreamblePatcher::Patch(MessageBox, Hook_MessageBox, &original)
    [all...]
patch_functions.cc 33 // The main purpose of this file is to patch the libc allocation
35 // windows-specific libc-style routines). However, we also patch
52 // just be ignoring it because he's seen we already patch it). Of the
53 // above, we do not patch the *_dbg functions, and of the windows
54 // functions, we only patch HeapAlloc and HeapFree.
144 // .dll's), and we need to patch/unpatch them all. This defines
164 // nothing to patch. Also populates the rest of the module_entry
205 // This is the address of the function we are going to patch
207 // patch-specific subclasses, below.
254 bool Patch(const LibcInfo& me_info)
    [all...]
auto_testing_hook.h 74 // This class helps patch a function, then unpatch it when the object exits
123 SIDESTEP_CHK(SIDESTEP_SUCCESS == PreamblePatcher::Patch(target_function,
  /external/chromium_org/tools/memory_watcher/
preamble_patcher.h 55 // To patch a function, use either of the typesafe Patch() methods. You
66 // original_func_stub = PreamblePatcher::Patch(
79 // the function being patched, we cannot patch it because in the
82 // if you really really need to patch a function like this, it
85 // we cannot patch the function because it may not be long enough
86 // for the jmp instruction we use to inject our patch.
100 // may mean if you patch the function in between your patch will never get
115 // PreamblePatcher::Patch(MessageBox, Hook_MessageBox, &original)
    [all...]
  /bootable/recovery/applypatch/
applypatch.h 28 } Patch;
74 const Value* patch, ssize_t patch_offset,
77 const Value* patch, ssize_t patch_offset,
82 const Value* patch,
  /external/google-diff-match-patch/name/fraser/neil/plaintext/
diff_match_patch.java 2 * Diff Match and Patch
5 * http://code.google.com/p/google-diff-match-patch/
40 * Functions for diff, match and patch.
41 * Computes the difference between two texts to create a patch.
42 * Applies the patch onto another text, allowing for errors.
48 * Class containing the diff, match and patch methods.
1802 Patch patch = new Patch(); local
2029 Patch patch = patches.getFirst(); local
2079 Patch patch; local
2205 Patch patch; local
    [all...]

Completed in 1010 milliseconds

1 2 3