Searched refs:bookmark (Results 1 - 23 of 23) sorted by relevance

/external/bluetooth/glib/tests/
H A Dbookmarkfile-test.c20 test_load (GBookmarkFile *bookmark, argument
26 res = g_bookmark_file_load_from_file (bookmark, filename, &error);
37 test_query (GBookmarkFile *bookmark) argument
44 size = g_bookmark_file_get_size (bookmark);
45 uris = g_bookmark_file_get_uris (bookmark, &uris_len);
55 if (!g_bookmark_file_has_item (bookmark, uris[i]))
57 g_print ("URI/bookmark mismatch: bookmark for '%s' does not exist\n", uris[i]);
68 test_modify (GBookmarkFile *bookmark) argument
76 g_bookmark_file_set_title (bookmark, NUL
[all...]
/external/bluetooth/glib/glib/
H A Dgbookmarkfile.h56 void g_bookmark_file_free (GBookmarkFile *bookmark);
58 gboolean g_bookmark_file_load_from_file (GBookmarkFile *bookmark,
61 gboolean g_bookmark_file_load_from_data (GBookmarkFile *bookmark,
65 gboolean g_bookmark_file_load_from_data_dirs (GBookmarkFile *bookmark,
69 gchar * g_bookmark_file_to_data (GBookmarkFile *bookmark,
72 gboolean g_bookmark_file_to_file (GBookmarkFile *bookmark,
76 void g_bookmark_file_set_title (GBookmarkFile *bookmark,
79 gchar * g_bookmark_file_get_title (GBookmarkFile *bookmark,
82 void g_bookmark_file_set_description (GBookmarkFile *bookmark,
85 gchar * g_bookmark_file_get_description (GBookmarkFile *bookmark,
[all...]
/external/webkit/Source/WebCore/html/parser/
H A DHTMLFormattingElementList.cpp76 void HTMLFormattingElementList::swapTo(Element* oldElement, Element* newElement, const Bookmark& bookmark) argument
80 if (!bookmark.hasBeenMoved()) {
81 ASSERT(bookmark.mark()->element() == oldElement);
82 bookmark.mark()->replaceElement(newElement);
85 size_t index = bookmark.mark() - first();
H A DHTMLTreeBuilder.cpp1637 HTMLFormattingElementList::Bookmark bookmark = m_tree.activeFormattingElements()->bookmarkFor(formattingElement); local
1665 bookmark.moveToAfter(nodeEntry);
1708 m_tree.activeFormattingElements()->swapTo(formattingElement, newElement.get(), bookmark);
/external/chromium/chrome/browser/sync/syncable/
H A Ddirectory_backing_store_unittest.cc1004 ASSERT_TRUE(specifics.HasExtension(sync_pb::bookmark));
1006 specifics.GetExtension(sync_pb::bookmark).url());
1007 ASSERT_EQ("AASGASGA", specifics.GetExtension(sync_pb::bookmark).favicon());
1009 ASSERT_TRUE(specifics.HasExtension(sync_pb::bookmark));
1011 specifics.GetExtension(sync_pb::bookmark).url());
1012 ASSERT_EQ("ASADGADGADG", specifics.GetExtension(sync_pb::bookmark).favicon());
1364 EXPECT_TRUE((*it)->ref(SPECIFICS).HasExtension(sync_pb::bookmark));
1365 EXPECT_TRUE((*it)->ref(SERVER_SPECIFICS).HasExtension(sync_pb::bookmark));
1367 (*it)->ref(SPECIFICS).GetExtension(sync_pb::bookmark).url());
1369 (*it)->ref(SPECIFICS).GetExtension(sync_pb::bookmark)
[all...]
H A Dmodel_type.cc28 specifics->MutableExtension(sync_pb::bookmark);
151 if (specifics.HasExtension(sync_pb::bookmark))
H A Dsyncable_unittest.cc70 specifics.MutableExtension(sync_pb::bookmark)->set_url("http://demo/");
71 specifics.MutableExtension(sync_pb::bookmark)->set_favicon(bytes,
81 ASSERT_TRUE(e->Get(SPECIFICS).HasExtension(sync_pb::bookmark));
83 e->Get(SPECIFICS).GetExtension(sync_pb::bookmark).url());
85 e->Get(SPECIFICS).GetExtension(sync_pb::bookmark).favicon());
1100 specifics.MutableExtension(sync_pb::bookmark)->set_favicon("PNG");
1101 specifics.MutableExtension(sync_pb::bookmark)->set_url("http://nowhere");
H A Ddirectory_backing_store.cc845 mutable_new_value->MutableExtension(sync_pb::bookmark);
/external/chromium/chrome/browser/sync/engine/
H A Dbuild_commit_command.cc68 DCHECK(meta_entry->Get(SPECIFICS).HasExtension(sync_pb::bookmark));
70 // Old-style inlined bookmark data.
71 sync_pb::SyncEntity_BookmarkData* bookmark = local
76 meta_entry->Get(SPECIFICS).GetExtension(sync_pb::bookmark);
77 bookmark->set_bookmark_url(bookmark_specifics.url());
78 bookmark->set_bookmark_favicon(bookmark_specifics.favicon());
79 bookmark->set_bookmark_folder(false);
81 bookmark->set_bookmark_folder(true);
174 if (meta_entry.Get(SPECIFICS).HasExtension(sync_pb::bookmark)) {
H A Ddownload_updates_command_unittest.cc56 v.ExpectHasExtension(sync_pb::bookmark);
68 v.ExpectHasExtension(sync_pb::bookmark);
79 v.ExpectHasExtension(sync_pb::bookmark);
H A Dsyncer_util.cc363 // In the new-style protocol, the server no longer sends bookmark info for
368 sync_pb::BookmarkSpecifics* bookmark = pb.MutableExtension(sync_pb::bookmark); local
370 bookmark->set_url(url);
372 bookmark->set_favicon(favicon_bytes);
433 // Legacy protocol response for bookmark data.
434 const SyncEntity::BookmarkData& bookmark = update.bookmarkdata(); local
436 bookmark.bookmark_url(),
437 bookmark.bookmark_favicon(),
H A Dapply_updates_command_unittest.cc53 // Create a new unapplied bookmark node with a parent.
69 default_bookmark_specifics.MutableExtension(sync_pb::bookmark);
H A Dsyncer_unittest.cc217 specifics.MutableExtension(sync_pb::bookmark)->set_url("http://demo/");
218 specifics.MutableExtension(sync_pb::bookmark)->set_favicon("PNG");
229 EXPECT_TRUE(specifics.HasExtension(sync_pb::bookmark));
230 EXPECT_EQ("PNG", specifics.GetExtension(sync_pb::bookmark).favicon());
231 EXPECT_EQ("http://demo/", specifics.GetExtension(sync_pb::bookmark).url());
1895 EXPECT_TRUE(child.Get(SPECIFICS).HasExtension(sync_pb::bookmark));
2348 server.Get(SPECIFICS).GetExtension(sync_pb::bookmark).url());
2416 server.Get(SPECIFICS).GetExtension(sync_pb::bookmark).url());
4155 local_bookmark.MutableExtension(sync_pb::bookmark)->
4158 server_bookmark.MutableExtension(sync_pb::bookmark)
[all...]
H A Dsyncapi.cc377 return unencrypted.GetExtension(sync_pb::bookmark);
539 entity_specifics.MutableExtension(sync_pb::bookmark)->CopyFrom(new_value);
/external/chromium/chrome/browser/importer/
H A Dprofile_writer.h36 // Indicates the bookmark should only be added if unique. Uniqueness
38 // AddBookmarkEntry the bookmark is added only if there is no other
42 // Indicates the bookmarks should be added to the bookmark bar.
45 // Indicates the bookmark bar is not shown.
85 // the bookmark bar. If the bitmask does not contain IMPORT_TO_BOOKMARK_BAR
90 // If |options| contains ADD_IF_UNIQUE, then the bookmark is added only
93 virtual void AddBookmarkEntry(const std::vector<BookmarkEntry>& bookmark,
129 // Returns true if a bookmark exists with the same url, title and path
H A Dprofile_writer.cc64 const std::vector<BookmarkEntry>& bookmark,
77 if (bookmark.size() > 1) {
81 for (std::vector<BookmarkEntry>::const_iterator it = bookmark.begin();
82 it != bookmark.end(); ++it) {
276 // Check whether the bookmark bar is shown in current pref.
63 AddBookmarkEntry( const std::vector<BookmarkEntry>& bookmark, const string16& first_folder_name, int options) argument
H A Dimporter_unittest.cc241 virtual void AddBookmarkEntry(const std::vector<BookmarkEntry>& bookmark, argument
245 for (size_t i = 0; i < bookmark.size(); ++i) {
246 if (FindBookmarkEntry(bookmark[i], kIEBookmarks,
470 "http://on.toolbar/bookmark/folder"},
473 "http://on.toolbar/bookmark"},
607 virtual void AddBookmarkEntry(const std::vector<BookmarkEntry>& bookmark, argument
610 for (size_t i = 0; i < bookmark.size(); ++i) {
611 if (FindBookmarkEntry(bookmark[i], kFirefox2Bookmarks,
817 virtual void AddBookmarkEntry(const std::vector<BookmarkEntry>& bookmark, argument
820 for (size_t i = 0; i < bookmark
[all...]
/external/chromium/chrome/browser/sync/glue/
H A Dbookmark_model_associator.h33 // * Algorithm to associate bookmark model and sync model.
34 // * Methods to get a bookmark node for a given sync node and vice versa.
49 // bookmark model, looking for matched pairs of items. For any pairs it
63 // Returns sync id for the given bookmark node id.
65 // bookmark node id.
68 // Returns the bookmark node for the given sync id.
69 // Returns NULL if no bookmark node is found for the given sync id.
72 // Initializes the given sync node from the given bookmark node id.
73 // Returns false if no sync node was found for the given bookmark node id or
78 // Associates the given bookmark nod
[all...]
H A Dbookmark_model_associator.cc45 // Bookmark comparer for map of bookmark nodes.
67 // Provides the following abstraction: given a parent bookmark node, find best
71 // Creates an instance with the given parent bookmark node.
97 // Create a bookmark node from the given sync node.
116 // Helper class to build an index of bookmark nodes by their IDs.
122 // Adds the given bookmark node and all its descendants to the ID index.
126 // Finds the bookmark node with the given ID.
263 bool BookmarkModelAssociator::NodesMatch(const BookmarkNode* bookmark, argument
265 if (bookmark->GetTitle() != WideToUTF16Hack(sync_node->GetTitle()))
267 if (bookmark
[all...]
/external/chromium/chrome/browser/sync/protocol/
H A Dproto_value_conversions_unittest.cc144 SET_EXTENSION(bookmark);
H A Dproto_value_conversions.cc301 SET_EXTENSION(sync_pb, bookmark, BookmarkSpecificsToValue);
/external/chromium/base/
H A Dvalues_unittest.cc48 DictionaryValue* bookmark; local
50 ASSERT_TRUE(bookmark_list->GetDictionary(0, &bookmark));
52 ASSERT_TRUE(bookmark->GetString("name", &bookmark_name));
55 ASSERT_TRUE(bookmark->GetString("url", &bookmark_url));
/external/chromium/net/tools/testserver/
H A Dchromiumsync.py58 BOOKMARK: bookmark_specifics_pb2.bookmark,

Completed in 298 milliseconds