| /sqlite-3.40.0/src/ |
| H A D | test_vdbecov.c | 81 Tcl_Obj *pRes = Tcl_NewObj(); in test_vdbe_coverage() local 82 Tcl_IncrRefCount(pRes); in test_vdbe_coverage() 88 appendToList(pRes, i, 0, bFlag ? "less than" : "falls through"); in test_vdbe_coverage() 91 appendToList(pRes, i, 1, bFlag ? "equal" : "taken"); in test_vdbe_coverage() 94 appendToList(pRes, i, 2, bFlag ? "greater-than" : "NULL"); in test_vdbe_coverage() 98 Tcl_SetObjResult(interp, pRes); in test_vdbe_coverage() 99 Tcl_DecrRefCount(pRes); in test_vdbe_coverage()
|
| H A D | test_bestindex.c | 337 Tcl_Obj *pRes = Tcl_GetObjResult(interp); in tclFilter() local 396 Tcl_Obj *pRes = Tcl_NewObj(); in testBestIndexObjConstraints() local 397 Tcl_IncrRefCount(pRes); in testBestIndexObjConstraints() 447 Tcl_ListObjAppendElement(0, pRes, pElem); in testBestIndexObjConstraints() 451 Tcl_SetObjResult(interp, pRes); in testBestIndexObjConstraints() 452 Tcl_DecrRefCount(pRes); in testBestIndexObjConstraints() 460 Tcl_Obj *pRes = Tcl_NewObj(); in testBestIndexObjOrderby() local 461 Tcl_IncrRefCount(pRes); in testBestIndexObjOrderby() 472 Tcl_ListObjAppendElement(0, pRes, pElem); in testBestIndexObjOrderby() 476 Tcl_SetObjResult(interp, pRes); in testBestIndexObjOrderby() [all …]
|
| H A D | test_thread.c | 116 Tcl_Obj *pRes; in tclScriptThread() local 137 pRes = Tcl_GetObjResult(interp); in tclScriptThread() 140 Tcl_IncrRefCount(pRes); in tclScriptThread() 144 Tcl_ListObjAppendElement(interp, pList, pRes); in tclScriptThread() 152 Tcl_ListObjAppendElement(interp, pList, pRes); in tclScriptThread() 157 Tcl_DecrRefCount(pRes); in tclScriptThread()
|
| H A D | btree.h | 254 int *pRes 259 int *pRes 316 int sqlite3BtreeFirst(BtCursor*, int *pRes); 317 int sqlite3BtreeLast(BtCursor*, int *pRes);
|
| H A D | test_rtree.c | 60 int *pRes in circle_geom() argument 133 *pRes = 1; in circle_geom() 148 *pRes = 1; in circle_geom() 155 *pRes = 0; in circle_geom()
|
| H A D | pcache.c | 396 sqlite3_pcache_page *pRes; in sqlite3PcacheFetch() local 414 pRes = sqlite3GlobalConfig.pcache2.xFetch(pCache->pCache, pgno, eCreate); in sqlite3PcacheFetch() 416 createFlag?" create":"",pRes)); in sqlite3PcacheFetch() 417 pcachePageTrace(pgno, pRes); in sqlite3PcacheFetch() 418 return pRes; in sqlite3PcacheFetch()
|
| H A D | test_tclvar.c | 327 Tcl_Obj *pRes; in tclvarSetOmit() local 332 pRes = Tcl_GetObjResult(interp); in tclvarSetOmit() 333 rc = Tcl_GetBooleanFromObj(0, pRes, &res); in tclvarSetOmit()
|
| H A D | test_malloc.c | 892 Tcl_Obj *pRes; in test_config_pagecache() local 904 pRes = Tcl_NewObj(); in test_config_pagecache() 905 Tcl_ListObjAppendElement(0, pRes, Tcl_NewIntObj(sqlite3GlobalConfig.szPage)); in test_config_pagecache() 906 Tcl_ListObjAppendElement(0, pRes, Tcl_NewIntObj(sqlite3GlobalConfig.nPage)); in test_config_pagecache() 907 Tcl_SetObjResult(interp, pRes); in test_config_pagecache()
|
| H A D | func.c | 1729 sqlite3_value *pRes; in minMaxValueFinalize() local 1730 pRes = (sqlite3_value *)sqlite3_aggregate_context(context, 0); in minMaxValueFinalize() 1731 if( pRes ){ in minMaxValueFinalize() 1732 if( pRes->flags ){ in minMaxValueFinalize() 1733 sqlite3_result_value(context, pRes); in minMaxValueFinalize() 1735 if( bValue==0 ) sqlite3VdbeMemRelease(pRes); in minMaxValueFinalize()
|
| H A D | btree.c | 5484 *pRes = 0; in sqlite3BtreeFirst() 5488 *pRes = 1; in sqlite3BtreeFirst() 5518 *pRes = 0; in sqlite3BtreeLast() 5525 *pRes = 0; in sqlite3BtreeLast() 5534 *pRes = 1; in sqlite3BtreeLast() 5573 assert( pRes ); in sqlite3BtreeTableMoveto() 5581 *pRes = 0; in sqlite3BtreeTableMoveto() 5616 *pRes = -1; in sqlite3BtreeTableMoveto() 5685 *pRes = c; in sqlite3BtreeTableMoveto() 5839 *pRes = c; in sqlite3BtreeIndexMoveto() [all …]
|
| H A D | vdbesort.c | 2736 int *pRes /* OUT: Result of comparison */ in sqlite3VdbeSorterCompare() argument 2759 *pRes = -1; in sqlite3VdbeSorterCompare() 2764 *pRes = sqlite3VdbeRecordCompare(pVal->n, pVal->z, r2); in sqlite3VdbeSorterCompare()
|
| H A D | main.c | 963 int *pRes = va_arg(ap, int*); in sqlite3_db_config() local 973 if( pRes ){ in sqlite3_db_config() 974 *pRes = (db->flags & aFlagOp[i].mask)!=0; in sqlite3_db_config()
|
| H A D | expr.c | 2612 Expr *pRes = pEList->a[i].pExpr; in isCandidateForInOpt() local 2613 if( pRes->op!=TK_COLUMN ) return 0; in isCandidateForInOpt() 2614 assert( pRes->iTable==pSrc->a[0].iCursor ); /* Not a correlated subquery */ in isCandidateForInOpt()
|
| H A D | pager.c | 1101 static int read32bits(sqlite3_file *fd, i64 offset, u32 *pRes){ in read32bits() argument 1105 *pRes = sqlite3Get4byte(ac); in read32bits()
|
| /sqlite-3.40.0/ext/rtree/ |
| H A D | test_rtreedoc.c | 62 Tcl_Obj *pRes; in invokeTclGeomCb() local 96 pRes = Tcl_GetObjResult(interp); in invokeTclGeomCb() 97 if( Tcl_ListObjGetElements(interp, pRes, &nObj, &aObj) ) return TCL_ERROR; in invokeTclGeomCb() 113 pBGCtx->pScript = Tcl_DuplicateObj(pRes); in invokeTclGeomCb() 149 int *pRes /* R-28207-40885 */ in box_geom() argument 162 *pRes = 0; in box_geom() 168 *pRes = 1; in box_geom() 285 Tcl_Obj *pRes = Tcl_GetObjResult(interp); in box_query() local 287 if( Tcl_ListObjGetElements(interp, pRes, &nObj, &aObj) in box_query()
|
| /sqlite-3.40.0/ext/misc/ |
| H A D | nextchar.c | 271 unsigned char *pRes; in nextCharFunc() local 272 pRes = sqlite3_malloc64( c.nUsed*4 + 1 ); in nextCharFunc() 273 if( pRes==0 ){ in nextCharFunc() 279 n += writeUtf8(pRes+n, c.aResult[i]); in nextCharFunc() 281 pRes[n] = 0; in nextCharFunc() 282 sqlite3_result_text(context, (const char*)pRes, n, sqlite3_free); in nextCharFunc()
|
| /sqlite-3.40.0/ext/lsm1/ |
| H A D | lsm_tree.c | 613 if( pRes ){ in treeCursorRestore() 1472 pRes = csrGetKey(&csr, &csr.blob, &rc); in treeInsertEntry() 1474 assert( pRes ); in treeInsertEntry() 1490 || (res>=0 && (pRes->flags & LSM_END_DELETE)) in treeInsertEntry() 1497 if( pRes->flags & LSM_INSERT ){ in treeInsertEntry() 1498 nVal = pRes->nValue; in treeInsertEntry() 1499 pVal = TKV_VAL(pRes); in treeInsertEntry() 1501 flags = flags | pRes->flags; in treeInsertEntry() 1989 *pRes = -1; in lsmTreeCursorSeek() 2047 *pRes = res; in lsmTreeCursorSeek() [all …]
|
| H A D | lsmInt.h | 648 int lsmTreeCursorSeek(TreeCursor *pCsr, void *pKey, int nKey, int *pRes);
|
| /sqlite-3.40.0/ext/session/ |
| H A D | test_session.c | 669 Tcl_Obj *pRes = Tcl_GetObjResult(interp); in test_conflict_handler() local 670 if( test_obj_eq_string(pRes, "OMIT") || test_obj_eq_string(pRes, "") ){ in test_conflict_handler() 672 }else if( test_obj_eq_string(pRes, "REPLACE") ){ in test_conflict_handler() 674 }else if( test_obj_eq_string(pRes, "ABORT") ){ in test_conflict_handler() 677 Tcl_GetIntFromObj(0, pRes, &ret); in test_conflict_handler()
|
| /sqlite-3.40.0/ext/fts5/ |
| H A D | fts5_index.c | 2590 Fts5CResult *pRes in fts5AssertComparisonResult() argument 2597 assert( pRes->iFirst==i2 ); in fts5AssertComparisonResult() 2599 assert( pRes->iFirst==i1 ); in fts5AssertComparisonResult() 2606 assert( pRes->bTermEq==1 ); in fts5AssertComparisonResult() 2610 assert( pRes->bTermEq==0 ); in fts5AssertComparisonResult() 2614 assert( pRes->iFirst==i1 ); in fts5AssertComparisonResult() 2616 assert( pRes->iFirst==i2 ); in fts5AssertComparisonResult() 2694 pRes->bTermEq = 0; in fts5MultiIterDoCompare() 2704 pRes->bTermEq = 1; in fts5MultiIterDoCompare() 2719 pRes->iFirst = (u16)iRes; in fts5MultiIterDoCompare() [all …]
|
| /sqlite-3.40.0/test/ |
| H A D | speedtest1.c | 1470 int *pRes in xsliceGeometryCallback() argument 1472 *pRes = aCoord[3]>=p->aParam[0] && aCoord[2]<=p->aParam[1]; in xsliceGeometryCallback()
|