Lines Matching refs:result
43 int i, optindex, result, ret;
46 result = TCL_OK;
76 result = _ReturnSetup(interp, ret, DB_RETOK_STD(ret), "log archive");
77 if (result == TCL_OK) {
81 result = Tcl_ListObjAppendElement(interp, res, fileobj);
82 if (result != TCL_OK)
89 return (result);
106 int result, ret;
108 result = TCL_OK;
117 result = _GetLsn(interp, objv[2], &lsn0);
118 if (result == TCL_ERROR)
119 return (result);
120 result = _GetLsn(interp, objv[3], &lsn1);
121 if (result == TCL_ERROR)
122 return (result);
128 return (result);
147 int result, ret;
150 result = TCL_OK;
159 result = _GetLsn(interp, objv[2], &lsn);
160 if (result == TCL_ERROR)
161 return (result);
178 result = _ReturnSetup(interp, ret, DB_RETOK_STD(ret), "log_file");
187 return (result);
204 int result, ret;
206 result = TCL_OK;
217 result = _GetLsn(interp, objv[2], &lsn);
218 if (result == TCL_ERROR)
219 return (result);
225 result = _ReturnSetup(interp, ret, DB_RETOK_STD(ret), "log_flush");
226 return (result);
276 int freedata, optindex, result, ret;
278 result = TCL_OK;
293 result = _ReturnSetup(interp, ret,
295 return (result);
315 if (result == TCL_ERROR)
316 return (result);
320 result = _ReturnSetup(interp, ret, DB_RETOK_STD(ret), "log_put");
321 if (result == TCL_ERROR)
322 return (result);
325 result = Tcl_ListObjAppendElement(interp, res, intobj);
327 result = Tcl_ListObjAppendElement(interp, res, intobj);
331 return (result);
348 int result, ret;
350 result = TCL_OK;
360 result = _ReturnSetup(interp, ret, DB_RETOK_STD(ret), "log stat");
361 if (result == TCL_ERROR)
362 return (result);
402 return (result);
433 int cmdindex, result, ret;
438 result = TCL_OK;
471 result = _ReturnSetup(interp, ret, DB_RETOK_STD(ret),
473 if (result == TCL_OK) {
479 result = tcl_LogcGet(interp, objc, objv, logc);
491 if ((result = _ReturnSetup(interp, ret, DB_RETOK_STD(ret),
499 return (result);
530 int i, myobjc, optindex, result, ret;
532 result = TCL_OK;
577 result = TCL_ERROR;
580 result = _GetLsn(interp, objv[i++], &lsn);
585 if (result == TCL_ERROR)
586 return (result);
609 result = Tcl_ListObjAppendElement(interp, res, lsnlist);
614 result = Tcl_ListObjAppendElement(interp, res, dataobj);
616 result = _ReturnSetup(interp, ret, DB_RETOK_LGGET(ret),
628 return (result);
670 int myobjc, on, optindex, result, ret;
673 result = Tcl_ListObjGetElements(interp, list, &myobjc, &myobjv);
678 if (result != TCL_OK)
679 return (result);
735 int on, optindex, result, ret;
763 if ((result = _ReturnSetup(interp, ret, DB_RETOK_STD(ret),
768 return (result);