/external/guava/guava-tests/test/com/google/common/collect/ |
D | TransposedTableTest.java | 31 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 …]
|
D | TransformedSetTest.java | 70 Set<Integer> original = Sets.newHashSet(0, 1, 2, 3); in testSimpleCases() local 71 Set<Integer> transformed = Sets.transform(original, integerBijection); in testSimpleCases() 76 assertTrue(original.remove(2)); in testSimpleCases() 77 assertTrue(original.add(4)); in testSimpleCases() 78 assertEquals(ImmutableSet.of(0, 1, 3, 4), original); in testSimpleCases() 85 assertEquals(ImmutableSet.of(0, 3, 4, 5), original); in testSimpleCases() 92 assertEquals(original.size(), transformed.size()); in testSimpleCases() 95 assertTrue(original.isEmpty()); in testSimpleCases()
|
D | ImmutableSortedMapTest.java | 555 Map<String, Integer> original = new LinkedHashMap<String, Integer>(); in testCopyOf() local 556 original.put("one", 1); in testCopyOf() 557 original.put("two", 2); in testCopyOf() 558 original.put("three", 3); in testCopyOf() 561 = ImmutableSortedMap.copyOf(original); in testCopyOf() 569 Map<String, Integer> original = new LinkedHashMap<String, Integer>(); in testCopyOfExplicitComparator() local 570 original.put("one", 1); in testCopyOfExplicitComparator() 571 original.put("two", 2); in testCopyOfExplicitComparator() 572 original.put("three", 3); in testCopyOfExplicitComparator() 575 = ImmutableSortedMap.copyOf(original, comparator); in testCopyOfExplicitComparator() [all …]
|
D | ArrayTableTest.java | 200 Table<String, Integer, Character> original in testCreateCopyArrayTable() local 202 Table<String, Integer, Character> copy = ArrayTable.create(original); in testCreateCopyArrayTable() 203 assertEquals(original, copy); in testCreateCopyArrayTable() 204 original.put("foo", 1, 'd'); in testCreateCopyArrayTable() 205 assertEquals((Character) 'd', original.get("foo", 1)); in testCreateCopyArrayTable() 207 assertEquals(copy.rowKeySet(), original.rowKeySet()); in testCreateCopyArrayTable() 208 assertEquals(copy.columnKeySet(), original.columnKeySet()); in testCreateCopyArrayTable() 212 Table<String, Integer, Character> original = HashBasedTable.create(); in testCreateCopyHashBasedTable() local 213 original.put("foo", 1, 'a'); in testCreateCopyHashBasedTable() 214 original.put("bar", 1, 'b'); in testCreateCopyHashBasedTable() [all …]
|
/external/stlport/test/eh/ |
D | test_insert.h | 74 size_t CountUniqueItems_Aux( const C& original, const Iter& firstNew, in CountUniqueItems_Aux() argument 76 size_t CountUniqueItems_Aux( const C& original, Iter firstNew, in CountUniqueItems_Aux() 101 if ( const_iter(original.find( *tmp )) == const_iter(original.end()) ) in CountUniqueItems_Aux() 126 size_t CountUniqueItems( const C& original, const Iter& firstNew, in CountUniqueItems() argument 130 return CountUniqueItems_Aux( original, firstNew, lastNew, in CountUniqueItems() 135 size_t CountUniqueItems( const C& original, const Iter& firstNew, in CountUniqueItems() argument 139 return CountUniqueItems_Aux( original, firstNew, lastNew, in CountUniqueItems() 143 return CountUniqueItems_Aux( original, firstNew, lastNew, in CountUniqueItems() 149 size_t CountNewItems( const C& original, const Iter& firstNew, in CountNewItems() argument 152 return CountUniqueItems( original, firstNew, lastNew, in CountNewItems() [all …]
|
D | test_push_back.h | 32 test_push_back( const C& orig ) : original( orig ) in test_push_back() 43 EH_ASSERT( c.size() == original.size() + 1 ); in operator() 44 EH_ASSERT( EH_STD::equal( original.begin(), original.end(), c.begin() ) ); in operator() 47 const C& original;
|
D | test_push_front.h | 29 test_push_front( const C& orig ) : original( orig ) { in test_push_front() 37 EH_ASSERT( c.size() == original.size() + 1 ); in operator() 40 EH_ASSERT( EH_STD::equal( original.begin(), original.end(), ++next ) ); in operator() 43 const C& original;
|
/external/chromium/chrome/browser/sync/util/ |
D | cryptographer_unittest.cc | 49 sync_pb::PasswordSpecificsData original; in TEST() local 50 original.set_origin("http://example.com"); in TEST() 51 original.set_username_value("azure"); in TEST() 52 original.set_password_value("hunter2"); in TEST() 55 EXPECT_TRUE(cryptographer.Encrypt(original, &encrypted)); in TEST() 60 EXPECT_EQ(original.SerializeAsString(), decrypted.SerializeAsString()); in TEST() 70 sync_pb::PasswordSpecificsData original; in TEST() local 71 original.set_origin("http://example.com"); in TEST() 72 original.set_username_value("azure"); in TEST() 73 original.set_password_value("hunter2"); in TEST() [all …]
|
D | nigori_unittest.cc | 151 std::string original("test"); in TEST() local 155 EXPECT_TRUE(nigori1.Encrypt(original, &ciphertext)); in TEST() 157 EXPECT_EQ(original, plaintext); in TEST() 159 EXPECT_TRUE(nigori2.Encrypt(original, &ciphertext)); in TEST() 161 EXPECT_EQ(original, plaintext); in TEST() 164 EXPECT_TRUE(nigori1.Permute(Nigori::Password, original, &permuted1)); in TEST() 165 EXPECT_TRUE(nigori2.Permute(Nigori::Password, original, &permuted2)); in TEST()
|
/external/llvm/lib/Support/ |
D | Atomic.cpp | 95 sys::cas_flag original, result; in AtomicAdd() 97 original = *ptr; in AtomicAdd() 98 result = original + val; in AtomicAdd() 99 } while (__atomic_cmpxchg(original, result, (volatile int*)ptr) != original); in AtomicAdd() 111 sys::cas_flag original, result; in AtomicMul() local 113 original = *ptr; in AtomicMul() 114 result = original * val; in AtomicMul() 115 } while (sys::CompareAndSwap(ptr, result, original) != original); in AtomicMul() 121 sys::cas_flag original, result; in AtomicDiv() local 123 original = *ptr; in AtomicDiv() [all …]
|
/external/chromium/net/socket_stream/ |
D | socket_stream_metrics_unittest.cc | 33 Histogram::SampleSet original; in TEST() local 36 histogram->SnapshotSample(&original); in TEST() 52 original.Resize(*histogram); // Ensure |original| size is same as |sample|. in TEST() 53 sample.Subtract(original); // Cancel the original values. in TEST() 63 Histogram::SampleSet original; in TEST() local 66 histogram->SnapshotSample(&original); in TEST() 85 original.Resize(*histogram); in TEST() 86 sample.Subtract(original); in TEST() 102 Histogram::SampleSet original; in TEST() local 105 histogram->SnapshotSample(&original); in TEST() [all …]
|
/external/skia/samplecode/ |
D | SampleStrokeText.cpp | 28 const SkPaint& original, SkBitmap::Config config) { in lettersToBitmap() argument 34 original.getTextPath(&chars[i], 1, x, 0, &p); in lettersToBitmap() 36 original.getTextWidths(&chars[i], 1, &width); in lettersToBitmap() 40 SkScalar sw = -original.getStrokeWidth(); in lettersToBitmap() 47 SkPaint paint(original); in lettersToBitmap() 67 paint.setColor(original.getColor()); in lettersToBitmap() 74 const SkPaint& original, SkBitmap::Config config) { in lettersToBitmap2() argument 80 original.getTextPath(&chars[i], 1, x, 0, &p); in lettersToBitmap2() 82 original.getTextWidths(&chars[i], 1, &width); in lettersToBitmap2() 86 SkScalar sw = -original.getStrokeWidth(); in lettersToBitmap2() [all …]
|
/external/elfutils/tests/ |
D | run-ranlib-test2.sh | 29 original=${original:-testfile19} 32 testfiles $original $indexed 34 testrun ../src/ranlib $original 40 dd of=$original seek=24 bs=1 count=12 conv=notrunc 2>/dev/null 43 cmp $original $indexed
|
D | run-strip-test.sh | 29 original=${original:-testfile11} 33 testfiles $original 38 testrun ../src/strip -o testfile.temp $debugout $original 57 testrun ../src/elfcmp --hash-inexact $original testfile.unstrip
|
D | run-unstrip-test.sh | 28 original=${original:-testfile12} 32 testfiles $original $stripped $debugfile 42 testrun ../src/elfcmp --hash-inexact $original testfile.unstrip
|
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
D | SortUtil.java | 119 private static void test(Float[] original, Float[] sorted, Comparator<Float> ic) { in test() argument 124 System.arraycopy(original, 0, sorted, 0, original.length); in test() 132 System.arraycopy(original, 0, sorted, 0, original.length); in test() 140 System.arraycopy(original, 0, sorted, 0, original.length); in test() 141 msort(original, sorted, ic); in test() 148 System.arraycopy(original, 0, sorted, 0, original.length); in test() 162 Float[] original = new Float[]{2f, 1f, 5f, 3f, 4f, 6f, 8f, 9f, in main() local 165 Float[] sorted = new Float[original.length]; in main() 168 test(original, sorted, ic); in main()
|
/external/guava/guava/src/com/google/common/collect/ |
D | Tables.java | 138 ? ((TransposeTable<R, C, V>) table).original in transpose() 143 final Table<R, C, V> original; field in Tables.TransposeTable 145 TransposeTable(Table<R, C, V> original) { in TransposeTable() argument 146 this.original = checkNotNull(original); in TransposeTable() 151 original.clear(); in clear() 156 return original.row(columnKey); in column() 161 return original.rowKeySet(); in columnKeySet() 166 return original.rowMap(); in columnMap() 172 return original.contains(columnKey, rowKey); in contains() 177 return original.containsRow(columnKey); in containsColumn() [all …]
|
/external/webkit/Source/WebCore/platform/network/ |
D | Credential.cpp | 54 Credential::Credential(const Credential& original, CredentialPersistence persistence) in Credential() argument 55 : m_user(original.user()) in Credential() 56 , m_password(original.password()) in Credential() 59 , m_identity(original.identity()) in Credential() 60 , m_certificates(original.certificates()) in Credential() 61 , m_type(original.type()) in Credential()
|
/external/chromium/chrome/browser/ui/cocoa/ |
D | objc_method_swizzle.mm | 33 Method original = GetImplementedInstanceMethod(aClass, originalSelector); 35 DCHECK(original); 37 if (!original || !alternate) { 42 const char* originalTypes = method_getTypeEncoding(original); 52 IMP ret = method_getImplementation(original); 54 method_exchangeImplementations(original, alternate);
|
/external/jmonkeyengine/engine/src/test/jme3test/stress/ |
D | TestLeakingGL.java | 55 private Sphere original; field in TestLeakingGL 63 original = new Sphere(4, 4, 1); in simpleInitApp() 64 original.setStatic(); in simpleInitApp() 65 original.setInterleaved(); in simpleInitApp() 82 Mesh sphMesh = original.deepClone(); in simpleUpdate()
|
/external/chromium/chrome/browser/sync/sessions/ |
D | sync_session_unittest.cc | 337 syncable::ModelTypePayloadMap original; in TEST_F() local 342 original[syncable::BOOKMARKS] = empty_payload; in TEST_F() 343 original[syncable::PASSWORDS] = payload1; in TEST_F() 344 original[syncable::AUTOFILL] = payload2; in TEST_F() 345 original[syncable::THEMES] = payload3; in TEST_F() 354 CoalescePayloads(&original, update); in TEST_F() 355 ASSERT_EQ(5U, original.size()); in TEST_F() 356 EXPECT_EQ(empty_payload, original[syncable::BOOKMARKS]); in TEST_F() 357 EXPECT_EQ(payload1, original[syncable::PASSWORDS]); in TEST_F() 358 EXPECT_EQ(payload1, original[syncable::AUTOFILL]); in TEST_F() [all …]
|
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/ |
D | MipMapGenerator.java | 63 BufferedImage original = ImageToAwt.convert(image, false, true, 0); in resizeToPowerOf2() local 68 BufferedImage scaled = scaleDown(original, potSize, potSize); in resizeToPowerOf2() 82 BufferedImage original = ImageToAwt.convert(image, false, true, 0); in generateMipMaps() local 83 int width = original.getWidth(); in generateMipMaps() 84 int height = original.getHeight(); in generateMipMaps() 87 BufferedImage current = original; in generateMipMaps()
|
/external/chromium/chrome/browser/chromeos/input_method/ |
D | xkeyboard.h | 35 : original(in_original), replacement(in_replacement) {} in ModifierKeyPair() 38 return (rhs.original == original) && (rhs.replacement == replacement); 40 ModifierKey original; // Replace the key with member
|
/external/webkit/Tools/Scripts/ |
D | prepare-ChangeLog | 614 my $original = $_; 621 $_ = $original; 636 $_ = $original; 641 $_ = $original; 650 my $original = $_; 663 $_ = $original; 671 $_ = $original; 676 $_ = $original; 1363 my ($file, $isAdd, $original) = @_; 1374 if ($original) { [all …]
|
/external/webkit/Source/WebCore/inspector/front-end/ |
D | ScriptFormatter.js | 140 var mapping = { original: [], formatted: [] }; property 143 mapping.original.push(chunk.start); 148 for (var j = 0; j < chunk.mapping.original.length; ++j) { 149 mapping.original.push(chunk.mapping.original[j] + chunk.start); 158 mapping.original.push(chunk.end); 181 task.callback(task.source, { original: [], formatted: [] }); property
|