unsigned __int8 readByteHandler(flashResp_t* packet) { //printf("Read : %#04x\n", packet->response); buffer[bufferItr++] = packet->response; clearPending(); return 1; }
void CStreamMerger::cleanup() { clearPending(); delete [] pending; pending = NULL; delete [] pendingMatches; pendingMatches = NULL; delete [] mergeheap; mergeheap = NULL; }
bool KonqHistoryManager::loadHistory() { clearPending(); m_pCompletion->clear(); if (!KonqHistoryProvider::loadHistory()) { return false; } QListIterator<KonqHistoryEntry> it(entries()); while (it.hasNext()) { const KonqHistoryEntry &entry = it.next(); const QString prettyUrlString = entry.url.toDisplayString(); addToCompletion(prettyUrlString, entry.typedUrl, entry.numberOfTimesVisited); } return true; }
//! \brief Constructor: number of elements of the container. PendingData(size_t nb_elt) { clearPending(nb_elt); }
//! \brief Empty constructor: no pending data. PendingData() { clearPending(); }
unsigned __int8 chipEraseHandler(flashResp_t* packet) { clearPending(); return 1; }
unsigned __int8 progByteHandler(flashResp_t* packet) { clearPending(); return 1; }
KonqHistoryManager::~KonqHistoryManager() { delete m_pCompletion; clearPending(); }
// Called by KonqHistoryProviderPrivate::slotNotifyClear() void KonqHistoryManager::slotCleared() { clearPending(); m_pCompletion->clear(); }