Home
last modified time | relevance | path

Searched refs:original (Results 1 – 25 of 2101) sorted by relevance

12345678910>>...85

/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/
Dfixjsstyle_test.py89 original = [
99 self._AssertFixes(original, expected, include_header=False)
101 original = [
106 self._AssertFixes(original, expected, include_header=False)
110 original = [
120 self._AssertFixes(original, expected, include_header=False)
122 original = [
127 self._AssertFixes(original, expected, include_header=False)
134 original = [
146 self._AssertFixes(original, expected, include_header=False)
[all …]
Derrorrules_test.py48 original = [
63 self._AssertErrors(original, expected)
72 original = [
87 self._AssertErrors(original, expected)
89 def _AssertErrors(self, original, expected_errors, include_header=True): argument
92 original = self._GetHeader() + original
96 runner.Run('testing.js', error_accumulator, source=original)
/external/guava/guava-tests/test/com/google/common/collect/
DTransposedTableTest.java31 Table<Integer, String, Character> original = HashBasedTable.create(); in create() local
32 Table<String, Integer, Character> table = Tables.transpose(original); in create()
39 Table<Integer, String, Character> original = HashBasedTable.create(); in testTransposeTransposed() local
40 assertSame(original, Tables.transpose(Tables.transpose(original))); in testTransposeTransposed()
44 Table<Integer, String, Character> original = HashBasedTable.create(); in testPutOriginalModifiesTranspose() local
45 Table<String, Integer, Character> transpose = Tables.transpose(original); in testPutOriginalModifiesTranspose()
46 original.put(1, "foo", 'a'); in testPutOriginalModifiesTranspose()
51 Table<Integer, String, Character> original = HashBasedTable.create(); in testPutTransposeModifiesOriginal() local
52 Table<String, Integer, Character> transpose = Tables.transpose(original); in testPutTransposeModifiesOriginal()
54 assertEquals((Character) 'a', original.get(1, "foo")); in testPutTransposeModifiesOriginal()
[all …]
DLenientSerializableTester.java47 static <E> Set<E> reserializeAndAssertLenient(Set<E> original) { in reserializeAndAssertLenient() argument
48 Set<E> copy = reserialize(original); in reserializeAndAssertLenient()
49 assertEquals(original, copy); in reserializeAndAssertLenient()
55 static <E> Multiset<E> reserializeAndAssertLenient(Multiset<E> original) { in reserializeAndAssertLenient() argument
56 Multiset<E> copy = reserialize(original); in reserializeAndAssertLenient()
57 assertEquals(original, copy); in reserializeAndAssertLenient()
DImmutableSortedMapTest.java502 Map<String, Integer> original = new LinkedHashMap<String, Integer>(); in testCopyOf() local
503 original.put("one", 1); in testCopyOf()
504 original.put("two", 2); in testCopyOf()
505 original.put("three", 3); in testCopyOf()
508 = ImmutableSortedMap.copyOf(original); in testCopyOf()
516 Map<String, Integer> original = new LinkedHashMap<String, Integer>(); in testCopyOfExplicitComparator() local
517 original.put("one", 1); in testCopyOfExplicitComparator()
518 original.put("two", 2); in testCopyOfExplicitComparator()
519 original.put("three", 3); in testCopyOfExplicitComparator()
522 = ImmutableSortedMap.copyOf(original, comparator); in testCopyOfExplicitComparator()
[all …]
/external/opencv3/modules/photo/perf/opencl/
Dperf_denoising.cpp21 UMat result(_original.size(), _original.type()), original; in OCL_PERF_TEST() local
22 _original.copyTo(original); in OCL_PERF_TEST()
24 declare.in(original).out(result).iterations(10); in OCL_PERF_TEST()
27 cv::fastNlMeansDenoising(original, result, 10); in OCL_PERF_TEST()
37 UMat result(_original.size(), _original.type()), original; in OCL_PERF_TEST() local
38 _original.copyTo(original); in OCL_PERF_TEST()
40 declare.in(original).out(result).iterations(10); in OCL_PERF_TEST()
43 cv::fastNlMeansDenoisingColored(original, result, 10, 10); in OCL_PERF_TEST()
52 vector<UMat> original(imgs_count); in OCL_PERF_TEST() local
59 tmp.copyTo(original[i]); in OCL_PERF_TEST()
[all …]
/external/doclava/src/com/google/doclava/
DPackageInfo.java405 private ClassInfo createDeltaClass(ClassInfo original, in createDeltaClass() argument
411 ClassInfo ret = new ClassInfo(null, original.getRawCommentText(), original.position(), in createDeltaClass()
412 original.isPublic(), original.isProtected(), original.isPackagePrivate(), in createDeltaClass()
413 original.isPrivate(), original.isStatic(), original.isInterface(), in createDeltaClass()
414 original.isAbstract(), original.isOrdinaryClass(), in createDeltaClass()
415 original.isException(), original.isError(), original.isEnum(), original.isAnnotation(), in createDeltaClass()
416 original.isFinal(), original.isIncluded(), original.name(), original.qualifiedName(), in createDeltaClass()
417 original.qualifiedTypeName(), original.isPrimitive()); in createDeltaClass()
418 ArrayList<ClassInfo> interfaces = original.interfaces(); in createDeltaClass()
423 ArrayList<TypeInfo> interfaceTypes = original.interfaceTypes(); in createDeltaClass()
[all …]
/external/okhttp/okio/okio/src/test/java/okio/
DDeflaterSinkTest.java33 String original = "They're moving in herds. They do move in herds."; in deflateWithClose() local
34 data.writeUtf8(original); in deflateWithClose()
40 assertEquals(original, inflated.readUtf8()); in deflateWithClose()
44 String original = "Yes, yes, yes. That's why we're taking extreme precautions."; in deflateWithSyncFlush() local
46 data.writeUtf8(original); in deflateWithSyncFlush()
52 assertEquals(original, inflated.readUtf8()); in deflateWithSyncFlush()
56 String original = repeat('a', 1024 * 1024); in deflateWellCompressed() local
58 data.writeUtf8(original); in deflateWellCompressed()
64 assertEquals(original, inflated.readUtf8()); in deflateWellCompressed()
68 ByteString original = randomBytes(1024 * 1024); in deflatePoorlyCompressed() local
[all …]
/external/opencv3/modules/photo/test/
Dtest_denoising.cpp65 Mat original = imread(original_path, IMREAD_GRAYSCALE); in TEST() local
68 ASSERT_FALSE(original.empty()) << "Could not load input image " << original_path; in TEST()
72 fastNlMeansDenoising(original, result, 10); in TEST()
85 Mat original = imread(original_path, IMREAD_COLOR); in TEST() local
88 ASSERT_FALSE(original.empty()) << "Could not load input image " << original_path; in TEST()
92 fastNlMeansDenoisingColored(original, result, 10, 10); in TEST()
108 vector<Mat> original(imgs_count); in TEST() local
112 original[i] = imread(original_path, IMREAD_GRAYSCALE); in TEST()
113 ASSERT_FALSE(original[i].empty()) << "Could not load input image " << original_path; in TEST()
117 fastNlMeansDenoisingMulti(original, result, imgs_count / 2, imgs_count, 15); in TEST()
[all …]
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DContinuingHttpServletRequest.java100 public ImmutableCookie(Cookie original) { in ImmutableCookie() argument
101 super(original.getName(), original.getValue()); in ImmutableCookie()
103 super.setMaxAge(original.getMaxAge()); in ImmutableCookie()
104 super.setPath(original.getPath()); in ImmutableCookie()
105 super.setComment(original.getComment()); in ImmutableCookie()
106 super.setSecure(original.getSecure()); in ImmutableCookie()
107 super.setValue(original.getValue()); in ImmutableCookie()
108 super.setVersion(original.getVersion()); in ImmutableCookie()
110 if (original.getDomain() != null) { in ImmutableCookie()
111 super.setDomain(original.getDomain()); in ImmutableCookie()
/external/sfntly/cpp/src/test/
Dserialization_test.h24 bool VerifyHHEA(Table* original, Table* target);
25 bool VerifyGLYF(Table* original, Table* target);
26 bool VerifyHMTX(Table* original, Table* target);
27 bool VerifyLOCA(Table* original, Table* target);
28 bool VerifyMAXP(Table* original, Table* target);
29 bool VerifyNAME(Table* original, Table* target);
30 bool VerifyOS_2(Table* original, Table* target);
/external/elfutils/tests/
Drun-strip-test.sh21 original=${original:-testfile11}
25 testfiles $original
30 testrun ${abs_top_builddir}/src/strip -o testfile.temp $debugout $original
49 testrun ${abs_top_builddir}/src/elfcmp --hash-inexact $original testfile.unstrip
53 SIZE_original=$(stat -c%s $original)
54 testrun ${abs_top_builddir}/src/strip $original
55 SIZE_stripped=$(stat -c%s $original)
57 { echo "*** failure in-place strip file not smaller $original"; status=1; }
Drun-ranlib-test2.sh21 original=${original:-testfile19}
24 testfiles $original $indexed
26 testrun ${abs_top_builddir}/src/ranlib $original
32 dd of=$original seek=24 bs=1 count=12 conv=notrunc 2>/dev/null
35 cmp $original $indexed
Drun-unstrip-test.sh20 original=${original:-testfile12}
24 testfiles $original $stripped $debugfile
34 testrun ${abs_top_builddir}/src/elfcmp --hash-inexact $original testfile.unstrip
43 testrun ${abs_top_builddir}/src/elfcmp --hash-inexact $original testfile.inplace
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/direct/
DMultiDirectional.java70 final RealPointValuePair[] original = simplex; in iterateSimplex() local
71 final RealPointValuePair best = original[0]; in iterateSimplex()
74 final RealPointValuePair reflected = evaluateNewSimplex(original, 1.0, comparator); in iterateSimplex()
79 final RealPointValuePair expanded = evaluateNewSimplex(original, khi, comparator); in iterateSimplex()
90 final RealPointValuePair contracted = evaluateNewSimplex(original, gamma, comparator); in iterateSimplex()
100 converged &= checker.converged(iter, original[i], simplex[i]); in iterateSimplex()
118 private RealPointValuePair evaluateNewSimplex(final RealPointValuePair[] original, in evaluateNewSimplex() argument
123 final double[] xSmallest = original[0].getPointRef(); in evaluateNewSimplex()
128 simplex[0] = original[0]; in evaluateNewSimplex()
130 final double[] xOriginal = original[i].getPointRef(); in evaluateNewSimplex()
/external/icu/icu4c/source/i18n/
Dscientificnumberformatter.cpp127 const UnicodeString &original, in format() argument
142 original, in format()
152 UChar32 aChar = original.char32At(beginIndex); in format()
155 original, in format()
161 original, in format()
174 original, in format()
178 original, in format()
192 original, copyFromOffset, original.length() - copyFromOffset); in format()
201 const UnicodeString &original, in format() argument
216 original, in format()
[all …]
/external/llvm/lib/Support/
DAtomic.cpp100 sys::cas_flag original, result; in AtomicMul() local
102 original = *ptr; in AtomicMul()
103 result = original * val; in AtomicMul()
104 } while (sys::CompareAndSwap(ptr, result, original) != original); in AtomicMul()
110 sys::cas_flag original, result; in AtomicDiv() local
112 original = *ptr; in AtomicDiv()
113 result = original / val; in AtomicDiv()
114 } while (sys::CompareAndSwap(ptr, result, original) != original); in AtomicDiv()
/external/deqp/framework/referencerenderer/
DrrMultisamplePixelBufferAccess.cpp50 …ccess MultisamplePixelBufferAccess::fromSinglesampleAccess (const tcu::PixelBufferAccess& original) in fromSinglesampleAccess() argument
54 original.getFormat(), in fromSinglesampleAccess()
55 tcu::IVec3(1, original.getWidth(), original.getHeight()), in fromSinglesampleAccess()
56 tcu::IVec3(original.getPixelPitch(), original.getPixelPitch(), original.getRowPitch()), in fromSinglesampleAccess()
57 original.getDataPtr())); in fromSinglesampleAccess()
90 …isampleConstPixelBufferAccess::fromSinglesampleAccess (const tcu::ConstPixelBufferAccess& original) in fromSinglesampleAccess() argument
94 original.getFormat(), in fromSinglesampleAccess()
95 tcu::IVec3(1, original.getWidth(), original.getHeight()), in fromSinglesampleAccess()
96 tcu::IVec3(original.getPixelPitch(), original.getPixelPitch(), original.getRowPitch()), in fromSinglesampleAccess()
97 original.getDataPtr())); in fromSinglesampleAccess()
/external/guice/core/src/com/google/inject/internal/
DAbstractBindingProcessor.java79 BindingImpl<?> original = injector.getExistingBinding(key); in putBinding() local
80 if (original != null) { in putBinding()
84 if(!isOkayDuplicate(original, binding, injector.state)) { in putBinding()
85 errors.bindingAlreadySet(key, original.getSource()); in putBinding()
89 errors.errorCheckingDuplicateBinding(key, original.getSource(), t); in putBinding()
112 private boolean isOkayDuplicate(BindingImpl<?> original, BindingImpl<?> binding, State state) { in isOkayDuplicate() argument
113 if (original instanceof ExposedBindingImpl) { in isOkayDuplicate()
114 ExposedBindingImpl exposed = (ExposedBindingImpl) original; in isOkayDuplicate()
118 original = (BindingImpl<?>)state.getExplicitBindingsThisLevel().get(binding.getKey()); in isOkayDuplicate()
121 if(original == null) { in isOkayDuplicate()
[all …]
/external/guice/core/src/com/google/inject/
DTypeLiteral.java188 TypeVariable original = (TypeVariable) toResolve; in resolveType() local
189 toResolve = MoreTypes.resolveTypeVariable(type, rawType, original); in resolveType()
190 if (toResolve == original) { in resolveType()
195 GenericArrayType original = (GenericArrayType) toResolve; in resolveType() local
196 Type componentType = original.getGenericComponentType(); in resolveType()
199 ? original in resolveType()
203 ParameterizedType original = (ParameterizedType) toResolve; in resolveType() local
204 Type ownerType = original.getOwnerType(); in resolveType()
208 Type[] args = original.getActualTypeArguments(); in resolveType()
221 ? Types.newParameterizedTypeWithOwner(newOwnerType, original.getRawType(), args) in resolveType()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DImmutableSortedMapTest.java425 Map<String, Integer> original = new LinkedHashMap<String, Integer>(); in testCopyOf() local
426 original.put("one", 1); in testCopyOf()
427 original.put("two", 2); in testCopyOf()
428 original.put("three", 3); in testCopyOf()
431 = ImmutableSortedMap.copyOf(original); in testCopyOf()
439 Map<String, Integer> original = new LinkedHashMap<String, Integer>(); in testCopyOfExplicitComparator() local
440 original.put("one", 1); in testCopyOfExplicitComparator()
441 original.put("two", 2); in testCopyOfExplicitComparator()
442 original.put("three", 3); in testCopyOfExplicitComparator()
445 = ImmutableSortedMap.copyOf(original, comparator); in testCopyOfExplicitComparator()
[all …]
/external/deqp/modules/glshared/
DglsFragmentOpUtil.cpp277 tcu::PixelBufferAccess getMultisampleAccess(const tcu::PixelBufferAccess& original) in getMultisampleAccess() argument
279 return tcu::PixelBufferAccess(original.getFormat(), in getMultisampleAccess()
281 original.getWidth(), in getMultisampleAccess()
282 original.getHeight(), in getMultisampleAccess()
283 original.getFormat().getPixelSize(), in getMultisampleAccess()
284 original.getRowPitch(), in getMultisampleAccess()
285 original.getDataPtr()); in getMultisampleAccess()
288 tcu::ConstPixelBufferAccess getMultisampleAccess(const tcu::ConstPixelBufferAccess& original) in getMultisampleAccess() argument
290 return tcu::ConstPixelBufferAccess(original.getFormat(), in getMultisampleAccess()
292 original.getWidth(), in getMultisampleAccess()
[all …]
/external/guava/guava/src/com/google/common/collect/
DTables.java141 ? ((TransposeTable<R, C, V>) table).original in transpose()
146 final Table<R, C, V> original; field in Tables.TransposeTable
148 TransposeTable(Table<R, C, V> original) { in TransposeTable() argument
149 this.original = checkNotNull(original); in TransposeTable()
154 original.clear(); in clear()
159 return original.row(columnKey); in column()
164 return original.rowKeySet(); in columnKeySet()
169 return original.rowMap(); in columnMap()
175 return original.contains(columnKey, rowKey); in contains()
180 return original.containsRow(columnKey); in containsColumn()
[all …]
/external/guice/core/test/com/google/inject/util/
DOverrideModuleTest.java92 Module original = new AbstractModule() { in testOverrideConstant() local
104 Injector injector = createInjector(Modules.override(original).with(replacements)); in testOverrideConstant()
109 Module original = new AbstractModule() { in testGetProviderInModule() local
116 Injector injector = createInjector(Modules.override(original).with(EMPTY_MODULE)); in testGetProviderInModule()
122 Module original = new AbstractModule() { in testOverrideWhatGetProviderProvided() local
131 Injector injector = createInjector(Modules.override(original).with(replacements)); in testOverrideWhatGetProviderProvided()
137 Module original = new AbstractModule() { in testOverrideUsingOriginalsGetProvider() local
150 Injector injector = createInjector(Modules.override(original).with(replacements)); in testOverrideUsingOriginalsGetProvider()
156 Module original = new AbstractModule() { in testOverrideOfOverride() local
171 Module overrides = Modules.override(original).with(replacements1); in testOverrideOfOverride()
[all …]
/external/v8/test/unittests/compiler/
Dlive-range-unittest.cc288 TopLevelLiveRange* original = TestRangeBuilder(zone()).Build(0, 6); in TEST_F() local
289 TopLevelLiveRange* splinter = Splinter(original, 3, 5); in TEST_F()
291 original->Merge(splinter, zone()); in TEST_F()
296 EXPECT_TRUE(RangesMatch(result, original)); in TEST_F()
318 TopLevelLiveRange* original = in TEST_F() local
320 TopLevelLiveRange* splinter = Splinter(original, 2, 6); in TEST_F()
321 original->Merge(splinter, zone()); in TEST_F()
327 EXPECT_TRUE(RangesMatch(result, original)); in TEST_F()
355 TopLevelLiveRange* original = in TEST_F() local
357 TopLevelLiveRange* splinter = Splinter(original, 2, 4); in TEST_F()
[all …]

12345678910>>...85