stmt.bindInt32Parameter(1, Ci.nsIDownloadManager.DOWNLOAD_DOWNLOADING); stmt.bindInt32Parameter(2, Ci.nsIDownloadManager.DOWNLOAD_PAUSED); 
stmt.bindInt32Parameter(1, nsIDM.DOWNLOAD_DOWNLOADING); stmt.bindInt32Parameter(2, nsIDM.DOWNLOAD_PAUSED); 
function buildDownloadListWithSearch(aTerms){  gSearching = true;  // remove and trailing or leading whitespace first  aTerms = aTerms.replace(/^\s+|\s+$/, "");  if (aTerms.length == 0) {    gSearching = false;    buildDefaultView();    return;  }  var db = gDownloadManager.DBConnection;  let stmt = db.createStatement(replaceInsert(gBaseQuery, 1,    "name LIKE ?1 ESCAPE '/' AND state != ?2 AND state != ?3"));  try {    var paramForLike = stmt.escapeStringForLIKE(aTerms, '/');    stmt.bindStringParameter(0, "%" + paramForLike + "%");    stmt.bindInt32Parameter(1, Ci.nsIDownloadManager.DOWNLOAD_DOWNLOADING);    stmt.bindInt32Parameter(2, Ci.nsIDownloadManager.DOWNLOAD_PAUSED);    buildDownloadList(stmt, gDownloadsDoneArea);  } finally {    stmt.reset();  }}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/39be0419a4a695ce67977c967201261ea171190a/downloads.js/clean/toolkit/mozapps/downloads/content/downloads.js