Searched refs:sr2 (Results 1 – 3 of 3) sorted by relevance
/art/libdexfile/dex/ |
D | string_reference.h | 48 bool operator()(const StringReference& sr1, const StringReference& sr2) const { in operator() 54 if (sr1.dex_file == sr2.dex_file) { in operator() 57 sr1.index < sr2.index, in operator() 59 sr2.GetStringData()) < 0); in operator() 60 return sr1.index < sr2.index; in operator() 64 sr2.GetStringData()) < 0; in operator()
|
D | string_reference_test.cc | 46 StringReference sr2(dex_file2.get(), dex::StringIndex(0)); in TEST() local 49 EXPECT_TRUE(cmp(sr1, sr2)); // "String1" < "String2" is true. in TEST() 50 EXPECT_FALSE(cmp(sr2, sr1)); // "String2" < "String1" is false. in TEST() 103 StringReference sr2(dex_file2.get(), dex::StringIndex(index2)); in TEST() local 104 EXPECT_EQ(expectedCmp12[index1][index2], cmp(sr1, sr2)) << index1 << " " << index2; in TEST() 105 EXPECT_EQ(expectedCmp21[index2][index1], cmp(sr2, sr1)) << index1 << " " << index2; in TEST()
|
D | type_reference.h | 48 StringReference sr2(tr2.dex_file, tr2.dex_file->GetTypeId(tr2.TypeIndex()).descriptor_idx_); in operator() 49 return StringReferenceValueComparator()(sr1, sr2); in operator()
|