Home
last modified time | relevance | path

Searched refs:item_id (Results 1 – 25 of 27) sorted by relevance

12

/external/webkit/Tools/QueueStatusServer/model/
Dactiveworkitems.py60 def _remove_item(self, item_id): argument
61 nonexpired_pairs = [pair for pair in self._item_time_pairs() if pair[0] != item_id]
73 def _expire_item(key, item_id): argument
75 active_work_items._remove_item(item_id)
78 def expire_item(self, item_id): argument
79 return db.run_in_transaction(self._expire_item, self.key(), item_id)
87 for item_id in work_item_ids:
88 if item_id not in self.item_ids:
89 self._append_item_time_pair([item_id, time.mktime(now.timetuple())])
90 return item_id
[all …]
/external/webrtc/src/system_wrappers/source/
Dlist_unittest.cc42 virtual ListItem* CreateListItem(unsigned int item_id) = 0;
46 virtual int PushBack(const unsigned int item_id) = 0;
47 virtual int PushFront(const unsigned int item_id) = 0;
117 virtual ListItem* CreateListItem(unsigned int item_id) { in CreateListItem() argument
118 return new ListItem(item_id); in CreateListItem()
123 virtual int PushBack(const unsigned int item_id) { in PushBack() argument
124 return list_.PushBack(item_id); in PushBack()
126 virtual int PushFront(const unsigned int item_id) { in PushFront() argument
127 return list_.PushFront(item_id); in PushFront()
155 virtual ListItem* CreateListItem(unsigned int item_id) { in CreateListItem() argument
[all …]
Dlist_stl.cc78 int ListWrapper::PushBack(const unsigned int item_id) in PushBack() argument
80 ListItem* item = new ListItem(item_id); in PushBack()
85 int ListWrapper::PushFront(const unsigned int item_id) in PushFront() argument
87 ListItem* item = new ListItem(item_id); in PushFront()
Dlist_no_stl.cc87 int ListWrapper::PushBack(const unsigned int item_id) in PushBack() argument
89 ListItem* item = new ListItem(item_id); in PushBack()
95 int ListWrapper::PushFront(const unsigned int item_id) in PushFront() argument
97 ListItem* item = new ListItem(item_id); in PushFront()
Dlist_stl.h46 int PushBack(const unsigned int item_id);
48 int PushFront(const unsigned int item_id);
Dlist_no_stl.h50 int PushBack(const unsigned int item_id);
52 int PushFront(const unsigned int item_id);
/external/libmtp/examples/
Dpathutils.c66 uint32_t item_id; in parse_path() local
70 item_id = strtoul(path, &rest, 0); in parse_path()
73 if (item_id == 0) { in parse_path()
79 return file->item_id; in parse_path()
84 return item_id; in parse_path()
87 item_id = lookup_folder_id(folders,path,""); in parse_path()
88 if (item_id == (uint32_t) -1) { in parse_path()
102 return file->item_id; in parse_path()
110 return item_id; in parse_path()
Dsendtr.c136 tracks[found_album->no_tracks-1] = trackmeta->item_id; in add_track_to_album()
144 *trackid = trackmeta->item_id; in add_track_to_album()
357 printf("New track ID: %d\n", trackmeta->item_id); in sendtrack_function()
Ddetect.c211 if (file->item_id != 0) { in main()
218 file->item_id, in main()
Dsendfile.c88 printf("New file ID: %d\n", genfile->item_id); in sendfile_function()
Dfiles.c28 printf("File ID: %u\n", file->item_id); in dump_fileinfo()
Dtracks.c28 printf("Track ID: %u\n", track->item_id); in dump_trackinfo()
/external/chromium/chrome/browser/ui/toolbar/
Dencoding_menu_controller.cc83 int item_id) { in IsItemChecked() argument
84 if (!DoesCommandBelongToEncodingMenu(item_id)) in IsItemChecked()
91 if (item_id == IDC_ENCODING_AUTO_DETECT) { in IsItemChecked()
98 CharacterEncoding::GetCanonicalEncodingNameByCommandId(item_id); in IsItemChecked()
Dencoding_menu_controller.h40 int item_id);
/external/chromium/chrome/browser/sync/engine/
Dprocess_commit_response_command_unittest.cc85 void CreateUnsyncedItem(const Id& item_id, in CreateUnsyncedItem() argument
97 entry.Put(syncable::ID, item_id); in CreateUnsyncedItem()
99 item_id.ServerKnows() ? next_old_revision_++ : 0); in CreateUnsyncedItem()
108 if (item_id.ServerKnows()) { in CreateUnsyncedItem()
122 void CreateUnprocessedCommitResult(const Id& item_id, in CreateUnprocessedCommitResult() argument
129 CreateUnsyncedItem(item_id, parent_id, name, is_folder, model_type, in CreateUnprocessedCommitResult()
134 commit_set_->AddCommitItem(metahandle, item_id, model_type); in CreateUnprocessedCommitResult()
140 MutableEntry entry(&trans, syncable::GET_BY_ID, item_id); in CreateUnprocessedCommitResult()
156 entity->set_id(item_id); in CreateUnprocessedCommitResult()
166 if (item_id.ServerKnows()) in CreateUnprocessedCommitResult()
Dapply_updates_command_unittest.cc54 void CreateUnappliedNewItemWithParent(const string& item_id, in CreateUnappliedNewItemWithParent() argument
60 Id::CreateFromServerId(item_id)); in CreateUnappliedNewItemWithParent()
65 entry.Put(syncable::SERVER_NON_UNIQUE_NAME, item_id); in CreateUnappliedNewItemWithParent()
74 void CreateUnappliedNewItem(const string& item_id, in CreateUnappliedNewItem() argument
81 Id::CreateFromServerId(item_id)); in CreateUnappliedNewItem()
85 entry.Put(syncable::SERVER_NON_UNIQUE_NAME, item_id); in CreateUnappliedNewItem()
90 entry.Put(syncable::UNIQUE_SERVER_TAG, item_id); in CreateUnappliedNewItem()
97 void CreateUnsyncedItem(const Id& item_id, in CreateUnsyncedItem() argument
109 entry.Put(syncable::ID, item_id); in CreateUnsyncedItem()
111 item_id.ServerKnows() ? next_revision_++ : 0); in CreateUnsyncedItem()
[all …]
Dverify_updates_command_unittest.cc41 void CreateLocalItem(const std::string& item_id, in CreateLocalItem() argument
48 Id::CreateFromServerId(item_id)); in CreateLocalItem()
53 entry.Put(syncable::NON_UNIQUE_NAME, item_id); in CreateLocalItem()
/external/chromium/chrome/browser/ui/cocoa/
Dencoding_menu_controller_delegate_mac.mm47 int item_id = it->first;
50 if (item_id == 0) {
55 AppendMenuItem(encoding_menu, item_id, localized_title);
/external/webkit/Tools/QueueStatusServer/handlers/
Dqueuestatus.py46 for item_id in queued_items.item_ids:
48 "attachment_id": item_id,
50 "lock_time": active_items and active_items.time_for_item(item_id),
/external/libmtp/src/
Dlibmtp.c2336 file->item_id = ob->oid; in obj2file()
2411 file->filesize = get_u64_from_object(device, file->item_id, PTP_OPC_ObjectSize, 0); in obj2file()
2413 file->filesize = get_u32_from_object(device, file->item_id, PTP_OPC_ObjectSize, 0); in obj2file()
3825 new->item_id = 0; in LIBMTP_new_file_t()
3944 file->item_id = ob->oid; in LIBMTP_Get_Filelisting_With_Callback()
4013 file->filesize = get_u64_from_object(device, file->item_id, PTP_OPC_ObjectSize, 0); in LIBMTP_Get_Filelisting_With_Callback()
4015 file->filesize = get_u32_from_object(device, file->item_id, PTP_OPC_ObjectSize, 0); in LIBMTP_Get_Filelisting_With_Callback()
4095 file->item_id = fileid; in LIBMTP_Get_Filemetadata()
4130 file->filesize = get_u64_from_object(device, file->item_id, PTP_OPC_ObjectSize, 0); in LIBMTP_Get_Filemetadata()
4132 file->filesize = get_u32_from_object(device, file->item_id, PTP_OPC_ObjectSize, 0); in LIBMTP_Get_Filemetadata()
[all …]
Dplaylist-spl.c221 f->item_id = 0; in playlist_t_to_spl()
236 pl->playlist_id = f->item_id; in playlist_t_to_spl()
681 while(files != NULL && files->item_id != track) { in discover_filepath_from_id()
756 id = files->item_id; in discover_id_from_filepath()
Dlibmtp.h612 uint32_t item_id; /**< Unique item ID */ member
626 uint32_t item_id; /**< Unique item ID */ member
Dlibmtp.h.in610 uint32_t item_id; /**< Unique item ID */ member
624 uint32_t item_id; /**< Unique item ID */ member
/external/webrtc/src/system_wrappers/interface/
Dlist_wrapper.h54 int PushBack(const unsigned int item_id);
56 int PushFront(const unsigned int item_id);
/external/chromium/chrome/browser/extensions/
Dextension_context_menu_api.cc273 ExtensionMenuItem::Id item_id(profile(), extension_id(), 0); in RunImpl() local
274 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &item_id.uid)); in RunImpl()
278 ExtensionMenuItem* item = manager->GetItemById(item_id); in RunImpl()
281 kCannotFindItemError, base::IntToString(item_id.uid)); in RunImpl()

12