Home
last modified time | relevance | path

Searched refs:rtrans (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/sync/test/engine/
Dtest_syncable_utils.cc21 int CountEntriesWithName(BaseTransaction* rtrans, in CountEntriesWithName() argument
25 rtrans->directory()->GetChildHandlesById(rtrans, parent_id, &child_handles); in CountEntriesWithName()
33 Entry e(rtrans, GET_BY_HANDLE, *i); in CountEntriesWithName()
42 Id GetFirstEntryWithName(BaseTransaction* rtrans, in GetFirstEntryWithName() argument
46 rtrans->directory()->GetChildHandlesById(rtrans, parent_id, &child_handles); in GetFirstEntryWithName()
50 Entry e(rtrans, GET_BY_HANDLE, *i); in GetFirstEntryWithName()
61 Id GetOnlyEntryWithName(BaseTransaction* rtrans, in GetOnlyEntryWithName() argument
64 CHECK(1 == CountEntriesWithName(rtrans, parent_id, name)); in GetOnlyEntryWithName()
65 return GetFirstEntryWithName(rtrans, parent_id, name); in GetOnlyEntryWithName()
Dtest_syncable_utils.h27 int CountEntriesWithName(BaseTransaction* rtrans,
32 Id GetFirstEntryWithName(BaseTransaction* rtrans,
38 Id GetOnlyEntryWithName(BaseTransaction* rtrans,
/external/chromium_org/sync/syncable/
Ddirectory_unittest.cc556 ReadTransaction rtrans(FROM_HERE, dir().get()); in TEST_F() local
557 Entry e(&rtrans, GET_BY_ID, TestIdFactory::FromNumber(-99)); in TEST_F()
563 ReadTransaction rtrans(FROM_HERE, dir().get()); in TEST_F() local
564 Entry e(&rtrans, GET_BY_ID, TestIdFactory::FromNumber(-99)); in TEST_F()
1269 ReadTransaction rtrans(FROM_HERE, dir().get()); in TEST_F() local
1270 Entry e(&rtrans, GET_BY_ID, id); in TEST_F()
1274 dir()->GetChildHandlesById(&rtrans, rtrans.root_id(), &child_handles); in TEST_F()
1291 ReadTransaction rtrans(FROM_HERE, dir().get()); in TEST_F() local
1292 Entry e(&rtrans, GET_BY_ID, id); in TEST_F()
1296 dir()->GetChildHandlesById(&rtrans, rtrans.root_id(), &child_handles); in TEST_F()
[all …]
/external/chromium_org/sync/engine/
Dsyncer_unittest.cc657 syncable::ReadTransaction rtrans(FROM_HERE, directory()); in TEST_F() local
658 Entry entryA(&rtrans, syncable::GET_BY_ID, ids_.FromNumber(1)); in TEST_F()
668 syncable::ReadTransaction rtrans(FROM_HERE, directory()); in TEST_F() local
669 Entry entryA(&rtrans, syncable::GET_BY_ID, ids_.FromNumber(1)); in TEST_F()
677 parent_id, version, server_version, id_fac, rtrans) \ argument
679 Entry entryA(rtrans, syncable::GET_BY_ID, id_fac.FromNumber(id)); \
758 syncable::ReadTransaction rtrans(FROM_HERE, directory()); in TEST_F() local
759 VERIFY_ENTRY(1, false, true, false, 0, 20, 20, ids_, &rtrans); in TEST_F()
760 VERIFY_ENTRY(2, false, true, false, 0, 10, 10, ids_, &rtrans); in TEST_F()
761 VERIFY_ENTRY(3, false, true, false, 0, 10, 10, ids_, &rtrans); in TEST_F()
[all …]
/external/clang/lib/Sema/
DSemaExpr.cpp6207 QualType ltrans = QualType(lhptee, 0), rtrans = QualType(rhptee, 0); in checkPointerTypesForAssignment() local
6208 if (!S.Context.typesAreCompatible(ltrans, rtrans)) { in checkPointerTypesForAssignment()
6218 rtrans = S.Context.UnsignedCharTy; in checkPointerTypesForAssignment()
6220 rtrans = S.Context.getCorrespondingUnsignedType(rtrans); in checkPointerTypesForAssignment()
6222 if (ltrans == rtrans) { in checkPointerTypesForAssignment()
6250 S.IsNoReturnConversion(ltrans, rtrans, ltrans)) in checkPointerTypesForAssignment()