Lines Matching defs:utils

40 from common                             import utils, webutils;
62 if utils.isString(oValue):
73 if utils.isString(oValue):
116 return self._oDb.executeInternal(self._oCursor, sOperation, aoArgs, utils.getCallerName());
120 return self._oDb.callProcInternal(self._oCursor, sProcedure, aoArgs, utils.getCallerName());
259 self._aoTraceBack.append([utils.timestampNano(), 'START TRANSACTION', 0, 0, utils.getCallerName(), None]);
267 nsStart = utils.timestampNano();
269 cNsElapsed = utils.timestampNano() - nsStart;
272 sCallerName = utils.getCallerName();
283 self.commit(utils.getCallerName());
289 nsStart = utils.timestampNano();
291 cNsElapsed = utils.timestampNano() - nsStart;
293 self._aoTraceBack.append([nsStart, 'ROLLBACK', cNsElapsed, 0, utils.getCallerName(), None]);
329 nsStart = utils.timestampNano();
333 cNsElapsed = utils.timestampNano() - nsStart;
339 cNsElapsed = utils.timestampNano() - nsStart;
362 nsStart = utils.timestampNano();
366 cNsElapsed = utils.timestampNano() - nsStart;
373 cNsElapsed = utils.timestampNano() - nsStart;
417 return self.executeInternal(self._oCursor, sOperation, aoArgs, utils.getCallerName());
426 return self.callProcInternal(self._oCursor, sProcedure, aoArgs, utils.getCallerName());
543 % (utils.formatNumber(cNsElapsed, ' '),);
557 utils.formatNumber(aEntry[0] - tsStart, ' '),
558 utils.formatNumber(aEntry[2], ' '),
559 utils.formatNumber(aEntry[3], ' '),
580 sHdr = 'SQL Debug Log (total time %s ns)' % (utils.formatNumber(cNsElapsed),);
588 utils.formatNumber(aEntry[0] - tsStart),
589 utils.formatNumber(aEntry[2]),
590 utils.formatNumber(aEntry[3]),