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

1 2 3 4 5 6

  /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/perfetto/src/tracing/core/
patch_list.h 33 class Patch {
36 Patch(ChunkID c, uint16_t o) : chunk_id(c), offset(o) {}
37 Patch(const Patch&) = default; // For tests.
50 bool operator==(const Patch& o) const {
56 Patch& operator=(const Patch&) = default;
57 Patch(Patch&&) noexcept = delete;
58 Patch& operator=(Patch&&) = delete
    [all...]
patch_list_unittest.cc 28 std::ostream& operator<<(std::ostream& o, const Patch& p);
29 std::ostream& operator<<(std::ostream& o, const Patch& p) {
44 ASSERT_THAT(pl, ElementsAre(Patch(ChunkID(5), 50)));
47 ASSERT_THAT(pl, ElementsAre(Patch(ChunkID(5), 50), Patch(ChunkID(6), 60)));
49 ASSERT_EQ(pl.front(), Patch(ChunkID(5), 50));
50 ASSERT_EQ(pl.back(), Patch(ChunkID(6), 60));
53 ASSERT_EQ(pl.front(), Patch(ChunkID(6), 60));
57 ASSERT_EQ(pl.front(), Patch(ChunkID(7), 70));
58 ASSERT_EQ(pl.back(), Patch(ChunkID(7), 70))
    [all...]
commit_data_request.cc 192 CommitDataRequest::ChunkToPatch::Patch::Patch() = default;
193 CommitDataRequest::ChunkToPatch::Patch::~Patch() = default;
194 CommitDataRequest::ChunkToPatch::Patch::Patch(
195 const CommitDataRequest::ChunkToPatch::Patch&) = default;
196 CommitDataRequest::ChunkToPatch::Patch& CommitDataRequest::ChunkToPatch::Patch::
197 operator=(const CommitDataRequest::ChunkToPatch::Patch&) = default
    [all...]
  /frameworks/av/services/audioflinger/
PatchPanel.h 25 class Patch;
37 /* Create a patch between several source and sink ports */
38 status_t createAudioPatch(const struct audio_patch *patch,
41 /* Release a patch */
51 status_t createPatchConnections(Patch *patch,
53 void clearPatchConnections(Patch *patch);
55 class Patch {
57 explicit Patch(const struct audio_patch *patch)
    [all...]
  /external/perfetto/include/perfetto/tracing/core/
commit_data_request.h 86 class PERFETTO_EXPORT Patch {
88 Patch();
89 ~Patch();
90 Patch(Patch&&) noexcept;
91 Patch& operator=(Patch&&);
92 Patch(const Patch&);
93 Patch& operator=(const Patch&)
    [all...]
  /external/swiftshader/third_party/PowerVR_SDK/Tools/
PVRTFixedPoint.cpp 112 // we're leaving the patch stuff alone
114 new_mesh->Patch.nType = mesh->Patch.nType;
115 new_mesh->Patch.nNumPatches = mesh->Patch.nNumPatches;
116 new_mesh->Patch.nNumVertices = mesh->Patch.nNumVertices;
117 new_mesh->Patch.nNumSubdivisions = mesh->Patch.nNumSubdivisions;
118 new_mesh->Patch.pControlPoints = mesh->Patch.pControlPoints
    [all...]
  /external/perfetto/protos/perfetto/common/
commit_data_request.proto 39 // Used to patch chunks that have already been sent to the service. The chunk
42 // It is perfectly valid to patch a chunk that is being notified in the same
48 message Patch {
54 // Bytes to patch at the given offset.
65 repeated Patch patches = 4;
68 // should be still considered as patch-pending. When false the chunk becomes
  /device/linaro/bootloader/edk2/MdePkg/Library/BasePeCoffLib/Arm/
PeCoffLoaderEx.c 57 @param Address New addres to patch into the instruction
65 UINT16 Patch;
68 Patch = ((Address >> 12) & 0x000f); // imm4
69 Patch |= (((Address & BIT11) != 0) ? BIT10 : 0); // i
71 *(Instruction) = (*Instruction & ~0x040f) | Patch;
74 Patch = Address & 0x000000ff; // imm8
75 Patch |= ((Address << 4) & 0x00007000); // imm3
78 *Instruction = (*Instruction & ~0x70ff) | Patch;
111 @param Address New addres to patch into the instructions
  /tools/acloud/internal/lib/
android_compute_client_test.py 73 self.Patch(android_compute_client.AndroidComputeClient,
80 self.Patch(gcompute_client.ComputeClient, "CreateImage")
81 self.Patch(
97 self.Patch(
101 self.Patch(gcompute_client.ComputeClient, "CreateInstance")
102 self.Patch(
106 self.Patch(
132 self.Patch(
142 self.Patch(
utils_test.py 37 self.Patch(os.path, "exists", side_effect=lambda path: path == public_key)
38 self.Patch(subprocess, "check_call")
46 self.Patch(os.path, "exists", return_value=False)
47 self.Patch(subprocess, "check_call")
48 self.Patch(os, "rename")
84 self.Patch(time, "sleep")
driver_test_lib.py 35 def Patch(self, *args, **kwargs):
36 """A wrapper for mock.patch.object.
42 *args: Arguments to pass to mock.patch.
43 **kwargs: Keyword arguments to pass to mock.patch.
48 patcher = mock.patch.object(*args, **kwargs)
gstorage_client_test.py 26 self.Patch(gstorage_client.StorageClient, "InitResourceHandle")
45 self.Patch(
69 self.Patch(io, "FileIO", return_value=mock_file_io)
70 self.Patch(
92 self.Patch(io, "FileIO", side_effect=OSError("fake OSError"))
131 self.Patch(
138 self.Patch(
142 self.Patch(time, "sleep")
android_build_client_test.py 43 self.Patch(android_build_client.AndroidBuildClient,
58 self.Patch(io, "FileIO", return_value=mock_file_io)
59 self.Patch(
87 self.Patch(io, "FileIO", side_effect=OSError("fake OSError"))
113 self.Patch(time, "sleep")
base_cloud_client_test.py 44 self.Patch(base_cloud_client, "build")
58 self.Patch(
91 self.Patch(
98 self.Patch(time, "sleep")
141 self.Patch(time, "sleep")
gcompute_client_test.py 51 self.Patch(gcompute_client.ComputeClient, "InitResourceHandle")
133 self.Patch(utils, "PollAndWait")
134 self.Patch(errors, "GceOperationTimeoutError", return_value=mock_error)
152 self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
174 self.Patch(
178 self.Patch(
182 self.Patch(gcompute_client.ComputeClient, "DeleteImage")
232 self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
258 self.Patch(apiclient.http, "BatchHttpRequest", return_value=mock_batch)
263 self.Patch(gcompute_client.ComputeClient, "WaitOnOperation"
    [all...]
  /frameworks/base/libs/hwui/
Patch.h 37 // 9-patch structures
40 class Patch {
42 Patch(const float bitmapWidth, const float bitmapHeight, float width, float height,
43 const UvMapper& mapper, const Res_png_9patch* patch);
46 * Returns the size of this patch's mesh in bytes.
68 }; // struct Patch
PatchCache.h 31 class Patch;
56 const Patch* get(const uint32_t bitmapWidth, const uint32_t bitmapHeight,
57 const float pixelWidth, const float pixelHeight, const Res_png_9patch* patch);
67 * Removes the entries associated with the specified 9-patch. This is meant
71 void removeDeferred(Res_png_9patch* patch);
89 const Res_png_9patch* patch)
90 : mPatch(patch)
130 * The patch cache maintains a linked-list of buffer blocks
142 typedef Pair<const PatchDescription*, Patch*> patch_pair_t;
147 void setupMesh(Patch* newMesh)
    [all...]
PatchCache.cpp 21 #include "Patch.h"
37 , mCache(LruCache<PatchDescription, Patch*>::kUnlimitedCapacity)
74 LruCache<PatchDescription, Patch*>::Iterator i(mCache);
89 void PatchCache::remove(Vector<patch_pair_t>& patchesToRemove, Res_png_9patch* patch) {
90 LruCache<PatchDescription, Patch*>::Iterator i(mCache);
93 if (key.getPatch() == patch) {
99 void PatchCache::removeDeferred(Res_png_9patch* patch) {
102 // Assert that patch is not already garbage
105 if (patch == mGarbage[i]) {
106 patch = nullptr
122 Res_png_9patch* patch = mGarbage[i]; local
137 Patch* patch = pair.getSecond(); local
    [all...]
  /build/blueprint/parser/
modify.go 59 // A Patch represents a region of a text buffer to be replaced [Start, End) and its Replacement
60 type Patch struct {
65 // A PatchList is a list of sorted, non-overlapping Patch objects
66 type PatchList []Patch
70 // Add adds a Patch to a PatchList. It returns a PatchOverlapError if the patch cannot be added.
72 patch := Patch{start, end, replacement}
73 if patch.Start > patch.End
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
PeCoffLoaderEx.c 300 @param Address New addres to patch into the instruction
308 UINT16 Patch;
311 Patch = ((Address >> 12) & 0x000f); // imm4
312 Patch |= (((Address & BIT11) != 0) ? BIT10 : 0); // i
313 *Instruction = (*Instruction & ~0x040f) | Patch;
316 Patch = Address & 0x000000ff; // imm8
317 Patch |= ((Address << 4) & 0x00007000); // imm3
319 *Instruction = (*Instruction & ~0x70ff) | Patch;
351 @param Address New addres to patch into the instructions
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/EbcDxe/EbcDebugger/
EdbSupportString.c 705 Patch a character to the end of a string.
708 @param Patch The patch character.
715 IN CHAR16 Patch
728 *Str = Patch;
732 *Str = Patch;
742 Patch a character at the beginning of a string.
745 @param Patch The patch character.
752 IN CHAR16 Patch
    [all...]
  /external/volley/src/test/java/com/android/volley/mock/
TestRequest.java 158 /** Test example of a PATCH request in the new style. */
159 public static class Patch extends Base {
160 public Patch() {
161 super(Method.PATCH, TEST_URL, null);
165 /** Test example of a PATCH request in the new style with a body. */
166 public static class PatchWithBody extends Patch {
  /tools/acloud/public/acloud_kernel/
kernel_swapper_test.py 36 self.Patch(auth, 'CreateCredentials', return_value=self.credentials)
38 self.Patch(
42 self.subprocess_call = self.Patch(subprocess, 'check_call')

Completed in 864 milliseconds

1 2 3 4 5 6