Home
last modified time | relevance | path

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

12345678910>>...90

/external/chromium-trace/catapult/devil/devil/android/
Ddevice_errors_test.py15 def assertIsPicklable(self, original): argument
16 pickled = pickle.dumps(original)
18 self.assertEquals(original, reconstructed)
21 original = device_errors.AdbCommandFailedError(
24 self.assertIsPicklable(original)
27 original = device_errors.AdbShellCommandFailedError(
29 self.assertIsPicklable(original)
32 original = device_errors.CommandFailedError(
34 self.assertIsPicklable(original)
37 original = device_errors.CommandTimeoutError(
[all …]
/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()
/external/protobuf/src/google/protobuf/stubs/
Dstatusor_test.cc92 StatusOr<int> original(kI); in TEST() local
93 StatusOr<int> copy(original); in TEST()
94 EXPECT_EQ(original.status(), copy.status()); in TEST()
95 EXPECT_EQ(original.ValueOrDie(), copy.ValueOrDie()); in TEST()
99 StatusOr<int> original(Status::CANCELLED); in TEST() local
100 StatusOr<int> copy(original); in TEST()
101 EXPECT_EQ(original.status(), copy.status()); in TEST()
106 StatusOr<int> original(kI); in TEST() local
107 StatusOr<double> copy(original); in TEST()
108 EXPECT_EQ(original.status(), copy.status()); in 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/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.cpp129 const UnicodeString &original, in format() argument
144 original, in format()
154 UChar32 aChar = original.char32At(beginIndex); in format()
157 original, in format()
163 original, in format()
176 original, in format()
180 original, in format()
194 original, copyFromOffset, original.length() - copyFromOffset); in format()
203 const UnicodeString &original, in format() argument
218 original, in format()
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/
DAtomic.cpp96 sys::cas_flag original, result; in AtomicMul() local
98 original = *ptr; in AtomicMul()
99 result = original * val; in AtomicMul()
100 } while (sys::CompareAndSwap(ptr, result, original) != original); in AtomicMul()
106 sys::cas_flag original, result; in AtomicDiv() local
108 original = *ptr; in AtomicDiv()
109 result = original / val; in AtomicDiv()
110 } while (sys::CompareAndSwap(ptr, result, original) != original); in AtomicDiv()
/external/r8/src/main/java/com/android/tools/r8/naming/
DNamingState.java71 public DexString assignNewNameFor(DexString original, T proto, boolean markAsUsed) { in assignNewNameFor() argument
72 DexString result = getAssignedNameFor(original, proto); in assignNewNameFor()
75 result = state.getNameFor(original, markAsUsed); in assignNewNameFor()
93 public boolean isAvailable(DexString original, T proto, DexString candidate) { in isAvailable() argument
98 assert state.getAssignedNameFor(original) != candidate; in isAvailable()
102 public void addRenaming(DexString original, T proto, DexString newName) { in addRenaming() argument
104 state.addRenaming(original, newName); in addRenaming()
155 public DexString getAssignedNameFor(DexString original) { in getAssignedNameFor() argument
156 DexString result = renamings == null ? null : renamings.get(original); in getAssignedNameFor()
158 result = parentInternalState.getAssignedNameFor(original); in getAssignedNameFor()
[all …]
/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/skia/src/gpu/
DGrTextureMaker.cpp29 sk_sp<GrTextureProxy> original(this->refOriginalTextureProxy(willBeMipped, dstColorSpace, in refTextureProxyForParams() local
31 if (original) { in refTextureProxyForParams()
32 if (!fContext->getGpu()->isACopyNeededForTextureParams(original.get(), params, &copyParams, in refTextureProxyForParams()
34 return original; in refTextureProxyForParams()
54 if (original) { in refTextureProxyForParams()
55 result = CopyOnGpu(fContext, std::move(original), nullptr, copyParams); in refTextureProxyForParams()
125 sk_sp<GrTextureProxy> original(this->refOriginalTextureProxy(willBeMipped, dstColorSpace, in generateTextureProxyForParams() local
127 if (!original) { in generateTextureProxyForParams()
131 return CopyOnGpu(fContext, std::move(original), nullptr, copyParams); in generateTextureProxyForParams()
/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/protobuf/csharp/src/Google.Protobuf.Test/
DGeneratedMessageTest.cs442 var original = new TestAllTypes in CloneSingleNonMessageValues()
461 var clone = original.Clone(); in CloneSingleNonMessageValues()
462 Assert.AreNotSame(original, clone); in CloneSingleNonMessageValues()
463 Assert.AreEqual(original, clone); in CloneSingleNonMessageValues()
466 Assert.AreNotEqual(original, clone); in CloneSingleNonMessageValues()
472 var original = new TestAllTypes in CloneRepeatedNonMessageValues()
492 var clone = original.Clone(); in CloneRepeatedNonMessageValues()
493 Assert.AreNotSame(original, clone); in CloneRepeatedNonMessageValues()
494 Assert.AreEqual(original, clone); in CloneRepeatedNonMessageValues()
497 Assert.AreNotEqual(original, clone); in CloneRepeatedNonMessageValues()
[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/iptables/extensions/
Dlibxt_connbytes.t2 -m connbytes --connbytes 0:1000 --connbytes-mode packets --connbytes-dir original;=;OK
5 -m connbytes --connbytes 0:1000 --connbytes-mode bytes --connbytes-dir original;=;OK
8 -m connbytes --connbytes 0:1000 --connbytes-mode avgpkt --connbytes-dir original;=;OK
11 -m connbytes --connbytes -1:0 --connbytes-mode packets --connbytes-dir original;;FAIL
12 -m connbytes --connbytes 0:-1 --connbytes-mode packets --connbytes-dir original;;FAIL
17 -m connbytes --connbytes 0:1000 --connbytes-dir original;;FAIL
19 -m connbytes --connbytes-dir original;;FAIL

12345678910>>...90