• Home
  • Raw
  • Download

Lines Matching refs:trans

83   WriteTransaction trans(share);  in MakeNode()  local
84 ReadNode root_node(&trans); in MakeNode()
86 WriteNode node(&trans); in MakeNode()
97 WriteTransaction trans(share); in MakeFolder() local
98 ReadNode root_node(&trans); in MakeFolder()
100 WriteNode node(&trans); in MakeFolder()
112 WriteTransaction trans(share); in MakeNodeWithParent() local
113 ReadNode parent_node(&trans); in MakeNodeWithParent()
115 WriteNode node(&trans); in MakeNodeWithParent()
127 WriteTransaction trans(share); in MakeFolderWithParent() local
128 ReadNode parent_node(&trans); in MakeFolderWithParent()
130 WriteNode node(&trans); in MakeFolderWithParent()
145 syncable::WriteTransaction trans(dir, syncable::UNITTEST, __FILE__, __LINE__); in MakeServerNodeForType() local
149 syncable::MutableEntry entry(&trans, syncable::CREATE_NEW_UPDATE_ITEM, in MakeServerNodeForType()
184 ReadTransaction trans(test_user_share_.user_share()); in TEST_F() local
185 EXPECT_TRUE(trans.GetWrappedTrans() != NULL); in TEST_F()
188 WriteTransaction trans(test_user_share_.user_share()); in TEST_F() local
189 EXPECT_TRUE(trans.GetWrappedTrans() != NULL); in TEST_F()
193 ReadTransaction trans(test_user_share_.user_share()); in TEST_F() local
194 ReadNode node(&trans); in TEST_F()
202 ReadTransaction trans(test_user_share_.user_share()); in TEST_F() local
203 ReadNode root_node(&trans); in TEST_F()
212 ReadTransaction trans(test_user_share_.user_share()); in TEST_F() local
213 ReadNode node(&trans); in TEST_F()
217 ReadNode root_node(&trans); in TEST_F()
242 WriteTransaction trans(test_user_share_.user_share()); in TEST_F() local
243 ReadNode root_node(&trans); in TEST_F()
256 ReadTransaction trans(test_user_share_.user_share()); in TEST_F() local
258 ReadNode bookmarknode(&trans); in TEST_F()
262 ReadNode prefnode(&trans); in TEST_F()
266 ReadNode autofillnode(&trans); in TEST_F()
278 ReadTransaction trans(test_user_share_.user_share()); in TEST_F() local
279 ReadNode node(&trans); in TEST_F()
284 WriteTransaction trans(test_user_share_.user_share()); in TEST_F() local
285 WriteNode node(&trans); in TEST_F()
299 WriteTransaction trans(test_user_share_.user_share()); in TEST_F() local
300 ReadNode root_node(&trans); in TEST_F()
304 WriteNode folder_node(&trans); in TEST_F()
309 WriteNode wnode(&trans); in TEST_F()
320 WriteTransaction trans(test_user_share_.user_share()); in TEST_F() local
321 WriteNode wnode(&trans); in TEST_F()
333 ReadTransaction trans(test_user_share_.user_share()); in TEST_F() local
334 ReadNode node(&trans); in TEST_F()
343 WriteTransaction trans(test_user_share_.user_share()); in TEST_F() local
344 ReadNode folder_node(&trans); in TEST_F()
347 WriteNode wnode(&trans); in TEST_F()
360 ReadTransaction trans(test_user_share_.user_share()); in TEST_F() local
361 ReadNode node(&trans); in TEST_F()
372 ReadTransaction trans(test_user_share_.user_share()); in TEST_F() local
373 trans.GetCryptographer()->AddKey(params); in TEST_F()
376 WriteTransaction trans(test_user_share_.user_share()); in TEST_F() local
377 ReadNode root_node(&trans); in TEST_F()
380 WriteNode password_node(&trans); in TEST_F()
388 ReadTransaction trans(test_user_share_.user_share()); in TEST_F() local
389 ReadNode root_node(&trans); in TEST_F()
392 ReadNode password_node(&trans); in TEST_F()
445 ReadTransaction trans(test_user_share_.user_share()); in TEST_F() local
446 ReadNode node(&trans); in TEST_F()
482 BaseTransaction* trans) { in CheckNonDeleteChangeRecordValue() argument
486 ReadNode node(trans); in CheckNonDeleteChangeRecordValue()
529 ReadTransaction trans(test_user_share_.user_share()); in TEST_F() local
530 ReadNode node(&trans); in TEST_F()
537 ReadTransaction trans(test_user_share_.user_share()); in TEST_F() local
543 scoped_ptr<DictionaryValue> value(record.ToValue(&trans)); in TEST_F()
544 CheckNonDeleteChangeRecordValue(record, *value, &trans); in TEST_F()
549 ReadTransaction trans(test_user_share_.user_share()); in TEST_F() local
555 scoped_ptr<DictionaryValue> value(record.ToValue(&trans)); in TEST_F()
556 CheckNonDeleteChangeRecordValue(record, *value, &trans); in TEST_F()
561 ReadTransaction trans(test_user_share_.user_share()); in TEST_F() local
566 scoped_ptr<DictionaryValue> value(record.ToValue(&trans)); in TEST_F()
572 ReadTransaction trans(test_user_share_.user_share()); in TEST_F() local
586 scoped_ptr<DictionaryValue> value(record.ToValue(&trans)); in TEST_F()
722 WriteTransaction trans(share); in SetUpEncryption() local
723 Cryptographer* cryptographer = trans.GetCryptographer(); in SetUpEncryption()
730 WriteNode node(&trans); in SetUpEncryption()
874 ReadTransaction trans(sync_manager_.GetUserShare()); in TEST_F() local
875 ReadNode node(&trans); in TEST_F()
892 ReadTransaction trans(sync_manager.GetUserShare()); in CheckGetNodeByIdReturnArgs() local
893 ReadNode node(&trans); in CheckGetNodeByIdReturnArgs()
1071 ReadTransaction trans(sync_manager_.GetUserShare()); in TEST_F() local
1073 GetEncryptedDataTypes(trans.GetWrappedTrans())); in TEST_F()
1106 ReadTransaction trans(sync_manager_.GetUserShare()); in TEST_F() local
1107 EXPECT_TRUE(syncable::VerifyDataTypeEncryption(trans.GetWrappedTrans(), in TEST_F()
1110 EXPECT_TRUE(syncable::VerifyDataTypeEncryption(trans.GetWrappedTrans(), in TEST_F()
1113 EXPECT_TRUE(syncable::VerifyDataTypeEncryption(trans.GetWrappedTrans(), in TEST_F()
1126 ReadTransaction trans(sync_manager_.GetUserShare()); in TEST_F() local
1129 GetEncryptedDataTypes(trans.GetWrappedTrans())); in TEST_F()
1130 EXPECT_TRUE(syncable::VerifyDataTypeEncryption(trans.GetWrappedTrans(), in TEST_F()
1133 EXPECT_TRUE(syncable::VerifyDataTypeEncryption(trans.GetWrappedTrans(), in TEST_F()
1136 EXPECT_TRUE(syncable::VerifyDataTypeEncryption(trans.GetWrappedTrans(), in TEST_F()