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

1 2 3 4 5 6 7 8 91011

  /external/tensorflow/tensorflow/compiler/tests/
extract_image_patches_op_test.py 32 def _VerifyValues(self, image, ksizes, strides, rates, padding, patches):
41 patches: Expected output.
58 self.assertAllClose(patches, out_tensor.eval(feed_dict=feed_dict))
65 patches = np.reshape(range(120), [2, 3, 4, 5])
73 patches=patches)
80 patches = image[:, ::2, ::3, :]
88 patches=patches)
95 patches = [[[[1, 2, 3, 4]]]
    [all...]
  /external/tensorflow/tensorflow/python/kernel_tests/
extract_image_patches_op_test.py 31 def _VerifyValues(self, image, ksizes, strides, rates, padding, patches):
40 patches: Expected output.
54 self.assertAllClose(patches, out_tensor.eval())
61 patches = np.reshape(range(120), [2, 3, 4, 5])
69 patches=patches)
76 patches = image[:, ::2, ::3, :]
84 patches=patches)
91 patches = [[[[1, 2, 3, 4]]]
    [all...]
  /external/deqp/scripts/verify/
package.py 34 def __init__ (self, basePath, statement, testLogs, gitStatus, gitLog, patches, summary, conformVersion, conformOs, otherItems):
40 self.patches = patches
52 patches = []
69 patches.append(item)
76 return PackageDescription(packagePath, statement, testLogs, gitStatus, gitLog, patches, summary, conformVersion, conformOs, otherItems)
  /external/bsdiff/
split_patch_writer.h 17 // patches of a fixed new-file size. The size of each patch data will depend on
21 // Create a PatchWriter that will split the patch in several patches where
25 const std::vector<PatchWriterInterface*>& patches)
26 : new_chunk_size_(new_chunk_size), patches_(patches) {
27 diff_sizes_.resize(patches.size());
28 extra_sizes_.resize(patches.size());
71 // The number of patches we already called Close() on. The patches are always
split_patch_writer_unittest.cc 23 std::vector<PatchWriterInterface*> patches; local
25 patches.push_back(&fake_patch);
27 patch_writer_.reset(new SplitPatchWriter(new_chunk_size, patches));
37 std::vector<PatchWriterInterface*> patches = {&p}; local
38 patch_writer_.reset(new SplitPatchWriter(10, patches));
39 // We should have pass two patches.
51 // Leaving patches at the end that are empty is considered an error.
54 // We write less than the amount needed for two patches, which should fail.
83 // patches
86 // The middle control entry would be split in tree different patches
    [all...]
  /external/icu/tools/srcgen/javadoc_patches/
common.sh 32 PATCHES_DIR=${ICU_DIR}/tools/srcgen/javadoc_patches/patches
  /external/tensorflow/tensorflow/contrib/gan/python/eval/python/
sliced_wasserstein_impl.py 85 """Extract patches from a batch.
89 patches_per_image: (int) Number of patches to extract per image.
90 patch_size: (int) Size of the patches (size, size, channels) to extract.
93 patches.
101 # Randomly pick patches.
110 patches = batch.flat[idx]
111 return patches
113 patches = script_ops.py_func(
115 return patches
118 def _normalize_patches(patches)
    [all...]
  /art/compiler/linker/mips64/
relative_patcher_mips64_test.cc 43 void CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches, uint32_t target_offset);
60 void Mips64RelativePatcherTest::CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches,
62 AddCompiledMethod(MethodRef(1u), kUnpatchedPcRelativeCode, ArrayRef<const LinkerPatch>(patches));
84 LinkerPatch patches[] = { local
89 CheckPcRelativePatch(ArrayRef<const LinkerPatch>(patches), bss_begin_ + string_entry_offset);
  /art/compiler/linker/mips/
relative_patcher_mips32r6_test.cc 41 void CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches, uint32_t target_offset);
58 void Mips32r6RelativePatcherTest::CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches,
60 AddCompiledMethod(MethodRef(1u), kUnpatchedPcRelativeCode, ArrayRef<const LinkerPatch>(patches));
82 LinkerPatch patches[] = { local
87 CheckPcRelativePatch(ArrayRef<const LinkerPatch>(patches), bss_begin_ + string_entry_offset);
93 LinkerPatch patches[] = { local
98 CheckPcRelativePatch(ArrayRef<const LinkerPatch>(patches), string_offset);
relative_patcher_mips_test.cc 42 void CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches, uint32_t target_offset);
61 void MipsRelativePatcherTest::CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches,
63 AddCompiledMethod(MethodRef(1u), kUnpatchedPcRelativeCode, ArrayRef<const LinkerPatch>(patches));
87 LinkerPatch patches[] = { local
92 CheckPcRelativePatch(ArrayRef<const LinkerPatch>(patches), bss_begin_ + string_entry_offset);
98 LinkerPatch patches[] = { local
103 CheckPcRelativePatch(ArrayRef<const LinkerPatch>(patches), string_offset);
  /art/compiler/linker/x86/
relative_patcher_x86_test.cc 46 LinkerPatch patches[] = { local
49 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches));
92 LinkerPatch patches[] = { local
95 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches));
123 LinkerPatch patches[] = { local
126 AddCompiledMethod(MethodRef(1u), code, ArrayRef<const LinkerPatch>(patches));
155 LinkerPatch patches[] = { local
158 AddCompiledMethod(MethodRef(1u), code, ArrayRef<const LinkerPatch>(patches));
  /art/compiler/linker/x86_64/
relative_patcher_x86_64_test.cc 66 LinkerPatch patches[] = { local
69 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches));
112 LinkerPatch patches[] = { local
115 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches));
136 LinkerPatch patches[] = { local
139 AddCompiledMethod(MethodRef(1u), kDexCacheLoadCode, ArrayRef<const LinkerPatch>(patches));
159 LinkerPatch patches[] = { local
163 AddCompiledMethod(MethodRef(1u), kStringReferenceCode, ArrayRef<const LinkerPatch>(patches));
  /external/perfetto/protos/perfetto/common/
commit_data_request.proto 43 // message (a chunk can show up both in the |changed_pages| and |patches|
64 // List of patches to apply to the given chunk.
65 repeated Patch patches = 4;
67 // When true more patches will follow in future requests and the chunk
  /external/toolchain-utils/
buildbot_test_llvm.py 55 def __init__(self, board, chromeos_root, weekday, patches, compiler):
63 self._patches = patches.split(',') if patches else []
122 dest='patches',
124 help='The patches to use for the testing, '
126 'for more than one patches.')
143 options.weekday, options.patches, options.compiler)
155 options.patches, options.compiler)
buildbot_test_toolchains.py 66 patches,
75 self._patches = patches.split(',') if patches else []
308 dest='patches',
309 help='The patches to use for the testing, '
311 'for more than one patches.')
331 options.weekday, options.patches, options.noschedv2)
  /art/compiler/
compiled_method.cc 111 const ArrayRef<const linker::LinkerPatch>& patches)
119 patches_(driver->GetCompiledMethodStorage()->DeduplicateLinkerPatches(patches)) {
132 const ArrayRef<const linker::LinkerPatch>& patches) {
144 cfi_info, patches);
  /frameworks/av/services/audiopolicy/common/managerdefinitions/include/
AudioPatch.h 48 status_t listAudioPatches(unsigned int *num_patches, struct audio_patch *patches) const;
  /frameworks/av/services/audiopolicy/common/managerdefinitions/src/
AudioPatch.cpp 117 struct audio_patch *patches) const
119 if (num_patches == NULL || (*num_patches != 0 && patches == NULL)) {
122 ALOGV("listAudioPatches() num_patches %d patches %p available patches %zu",
123 *num_patches, patches, size());
124 if (patches == NULL) {
132 // do not report patches with AUDIO_DEVICE_IN_STUB as source or
152 patches[patchesWritten] = patch->mPatch;
153 patches[patchesWritten++].id = patch->mHandle;
160 ALOGV("listAudioPatches() got %zu patches needed %d", patchesWritten, *num_patches)
    [all...]
  /art/compiler/linker/
linker_patch_test.cc 27 LinkerPatch patches[] = { local
152 constexpr size_t last_index = arraysize(patches) - 1u;
154 for (size_t i = 0; i != arraysize(patches); ++i) {
155 for (size_t j = 0; j != arraysize(patches); ++j) {
157 EXPECT_EQ(expected, patches[i] == patches[j]) << i << " " << j;
161 for (size_t i = 0; i != arraysize(patches); ++i) {
162 for (size_t j = 0; j != arraysize(patches); ++j) {
164 EXPECT_EQ(expected, patches[i] < patches[j]) << i << " " << j
    [all...]
  /bootable/recovery/applypatch/
applypatch_modes.cpp 123 std::vector<std::unique_ptr<Value>> patches; local
125 patches.push_back(std::make_unique<Value>(
128 return applypatch(argv[1], argv[2], argv[3], target_size, sha1s, patches, &bonus);
131 // This program (applypatch) applies binary patches to files in a way that
  /frameworks/base/media/java/android/media/
AudioPortEventHandler.java 90 ArrayList<AudioPatch> patches = new ArrayList<AudioPatch>();
92 int status = AudioManager.updateAudioPortCache(ports, patches, null);
94 // Since audio ports and audio patches are not null, the return
117 AudioPatch[] patchList = patches.toArray(new AudioPatch[0]);
AudioRecordingConfiguration.java 195 ArrayList<AudioPatch> patches = new ArrayList<AudioPatch>(); local
196 if (AudioManager.listAudioPatches(patches) != AudioManager.SUCCESS) {
197 Log.e(TAG, "Error retrieving list of audio patches");
200 for (int i = 0 ; i < patches.size() ; i++) {
201 final AudioPatch patch = patches.get(i);
  /frameworks/av/services/audioflinger/
PatchPanel.h 46 struct audio_patch *patches);
  /art/compiler/linker/arm/
relative_patcher_thumb2_test.cc 229 void CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches, uint32_t target_offset);
300 const LinkerPatch patches[] = { local
304 CheckPcRelativePatch(ArrayRef<const LinkerPatch>(patches), bss_begin_ + string_entry_offset);
310 const LinkerPatch patches[] = { local
314 CheckPcRelativePatch(ArrayRef<const LinkerPatch>(patches), string_offset);
317 void Thumb2RelativePatcherTest::CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches,
319 AddCompiledMethod(MethodRef(1u), kUnpatchedPcRelativeCode, ArrayRef<const LinkerPatch>(patches));
349 const LinkerPatch patches[] = { local
352 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches));
389 const LinkerPatch patches[] = local
599 const LinkerPatch patches[] = { local
701 const LinkerPatch patches[] = { local
994 const LinkerPatch patches[] = { local
1075 const LinkerPatch patches[] = { local
1135 const LinkerPatch patches[] = { local
1181 std::vector<LinkerPatch> patches; local
    [all...]
  /external/autotest/tko/parsers/
version_1.py 51 def __init__(self, base, patches):
53 patches = [patch(*p.split()) for p in patches]
54 hashes = [p.hash for p in patches]
58 patches = []
60 super(kernel, self).__init__(base, patches, kernel_hash)
224 # Get a list of patches.
225 patches = []
228 patches.append(fields['patch%d' % patch_index])
231 return kernel(base, patches)
    [all...]

Completed in 352 milliseconds

1 2 3 4 5 6 7 8 91011