File size: 39,084 Bytes
7510827 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 |
[
{
"function_name": "corruptPageError",
"function_signature": "int corruptPageError(int lineno, MemPage *p)",
"test_filename": "tests_btree_corruptPageError.c"
},
{
"function_name": "sharedLockTrace",
"function_signature": "static void sharedLockTrace(\n BtShared *pBt,\n const char *zMsg,\n int iRoot,\n int eLockType\n)",
"test_filename": "tests_btree_sharedLockTrace.c"
},
{
"function_name": "hasSharedCacheTableLock",
"function_signature": "static int hasSharedCacheTableLock(\n Btree *pBtree, /* Handle that must hold lock */\n Pgno iRoot, /* Root page of b-tree */\n int isIndex, /* True if iRoot is the root of an index b-tree */\n int eLockType /* Required lock type (READ_LOCK or WRITE_LOCK) */\n)",
"test_filename": "tests_btree_hasSharedCacheTableLock.c"
},
{
"function_name": "hasReadConflicts",
"function_signature": "static int hasReadConflicts(Btree *pBtree, Pgno iRoot)",
"test_filename": "tests_btree_hasReadConflicts.c"
},
{
"function_name": "querySharedCacheTableLock",
"function_signature": "static int querySharedCacheTableLock(Btree *p, Pgno iTab, u8 eLock)",
"test_filename": "tests_btree_querySharedCacheTableLock.c"
},
{
"function_name": "setSharedCacheTableLock",
"function_signature": "static int setSharedCacheTableLock(Btree *p, Pgno iTable, u8 eLock)",
"test_filename": "tests_btree_setSharedCacheTableLock.c"
},
{
"function_name": "clearAllSharedCacheTableLocks",
"function_signature": "static void clearAllSharedCacheTableLocks(Btree *p)",
"test_filename": "tests_btree_clearAllSharedCacheTableLocks.c"
},
{
"function_name": "downgradeAllSharedCacheTableLocks",
"function_signature": "static void downgradeAllSharedCacheTableLocks(Btree *p)",
"test_filename": "tests_btree_downgradeAllSharedCacheTableLocks.c"
},
{
"function_name": "invalidateIncrblobCursors",
"function_signature": "static void invalidateIncrblobCursors(\n Btree *pBtree, /* The database file to check */\n Pgno pgnoRoot, /* The table that might be changing */\n i64 iRow, /* The rowid that might be changing */\n int isClearTable /* True if all rows are being deleted */\n)",
"test_filename": "tests_btree_invalidateIncrblobCursors.c"
},
{
"function_name": "btreeSetHasContent",
"function_signature": "static int btreeSetHasContent(BtShared *pBt, Pgno pgno)",
"test_filename": "tests_btree_btreeSetHasContent.c"
},
{
"function_name": "btreeReleaseAllCursorPages",
"function_signature": "static void btreeReleaseAllCursorPages(BtCursor *pCur)",
"test_filename": "tests_btree_btreeReleaseAllCursorPages.c"
},
{
"function_name": "saveCursorKey",
"function_signature": "static int saveCursorKey(BtCursor *pCur)",
"test_filename": "tests_btree_saveCursorKey.c"
},
{
"function_name": "saveCursorPosition",
"function_signature": "static int saveCursorPosition(BtCursor *pCur)",
"test_filename": "tests_btree_saveCursorPosition.c"
},
{
"function_name": "saveAllCursors",
"function_signature": "static int saveAllCursors(BtShared *pBt, Pgno iRoot, BtCursor *pExcept)",
"test_filename": "tests_btree_saveAllCursors.c"
},
{
"function_name": "saveCursorsOnList",
"function_signature": "static int SQLITE_NOINLINE saveCursorsOnList(\n BtCursor *p, /* The first cursor that needs saving */\n Pgno iRoot, /* Only save cursor with this iRoot. Save all if zero */\n BtCursor *pExcept /* Do not save this cursor */\n)",
"test_filename": "tests_btree_saveCursorsOnList.c"
},
{
"function_name": "btreeMoveto",
"function_signature": "static int btreeMoveto(\n BtCursor *pCur, /* Cursor open on the btree to be searched */\n const void *pKey, /* Packed key if the btree is an index */\n i64 nKey, /* Integer key for tables. Size of pKey for indices */\n int bias, /* Bias search to the high end */\n int *pRes /* Write search results here */\n)",
"test_filename": "tests_btree_btreeMoveto.c"
},
{
"function_name": "btreeRestoreCursorPosition",
"function_signature": "static int btreeRestoreCursorPosition(BtCursor *pCur)",
"test_filename": "tests_btree_btreeRestoreCursorPosition.c"
},
{
"function_name": "sqlite3BtreeCursorRestore",
"function_signature": "int sqlite3BtreeCursorRestore(BtCursor *pCur, int *pDifferentRow)",
"test_filename": "tests_btree_sqlite3BtreeCursorRestore.c"
},
{
"function_name": "sqlite3BtreeCursorHint",
"function_signature": "void sqlite3BtreeCursorHint(BtCursor *pCur, int eHintType, ...)",
"test_filename": "tests_btree_sqlite3BtreeCursorHint.c"
},
{
"function_name": "ptrmapPageno",
"function_signature": "static Pgno ptrmapPageno(BtShared *pBt, Pgno pgno)",
"test_filename": "tests_btree_ptrmapPageno.c"
},
{
"function_name": "ptrmapPut",
"function_signature": "static void ptrmapPut(BtShared *pBt, Pgno key, u8 eType, Pgno parent, int *pRC)",
"test_filename": "tests_btree_ptrmapPut.c"
},
{
"function_name": "ptrmapGet",
"function_signature": "static int ptrmapGet(BtShared *pBt, Pgno key, u8 *pEType, Pgno *pPgno)",
"test_filename": "tests_btree_ptrmapGet.c"
},
{
"function_name": "btreeParseCellAdjustSizeForOverflow",
"function_signature": "static SQLITE_NOINLINE void btreeParseCellAdjustSizeForOverflow(\n MemPage *pPage, /* Page containing the cell */\n u8 *pCell, /* Pointer to the cell text. */\n CellInfo *pInfo /* Fill in this structure */\n)",
"test_filename": "tests_btree_btreeParseCellAdjustSizeForOverflow.c"
},
{
"function_name": "btreePayloadToLocal",
"function_signature": "static int btreePayloadToLocal(MemPage *pPage, i64 nPayload)",
"test_filename": "tests_btree_btreePayloadToLocal.c"
},
{
"function_name": "btreeParseCellPtrNoPayload",
"function_signature": "static void btreeParseCellPtrNoPayload(\n MemPage *pPage, /* Page containing the cell */\n u8 *pCell, /* Pointer to the cell text. */\n CellInfo *pInfo /* Fill in this structure */\n)",
"test_filename": "tests_btree_btreeParseCellPtrNoPayload.c"
},
{
"function_name": "btreeParseCellPtr",
"function_signature": "static void btreeParseCellPtr(\n MemPage *pPage, /* Page containing the cell */\n u8 *pCell, /* Pointer to the cell text. */\n CellInfo *pInfo /* Fill in this structure */\n)",
"test_filename": "tests_btree_btreeParseCellPtr.c"
},
{
"function_name": "btreeParseCellPtrIndex",
"function_signature": "static void btreeParseCellPtrIndex(\n MemPage *pPage, /* Page containing the cell */\n u8 *pCell, /* Pointer to the cell text. */\n CellInfo *pInfo /* Fill in this structure */\n)",
"test_filename": "tests_btree_btreeParseCellPtrIndex.c"
},
{
"function_name": "cellSizePtr",
"function_signature": "static u16 cellSizePtr(MemPage *pPage, u8 *pCell)",
"test_filename": "tests_btree_cellSizePtr.c"
},
{
"function_name": "cellSizePtrIdxLeaf",
"function_signature": "static u16 cellSizePtrIdxLeaf(MemPage *pPage, u8 *pCell)",
"test_filename": "tests_btree_cellSizePtrIdxLeaf.c"
},
{
"function_name": "cellSizePtrNoPayload",
"function_signature": "static u16 cellSizePtrNoPayload(MemPage *pPage, u8 *pCell)",
"test_filename": "tests_btree_cellSizePtrNoPayload.c"
},
{
"function_name": "cellSizePtrTableLeaf",
"function_signature": "static u16 cellSizePtrTableLeaf(MemPage *pPage, u8 *pCell)",
"test_filename": "tests_btree_cellSizePtrTableLeaf.c"
},
{
"function_name": "ptrmapPutOvflPtr",
"function_signature": "static void ptrmapPutOvflPtr(MemPage *pPage, MemPage *pSrc, u8 *pCell,int *pRC)",
"test_filename": "tests_btree_ptrmapPutOvflPtr.c"
},
{
"function_name": "defragmentPage",
"function_signature": "static int defragmentPage(MemPage *pPage, int nMaxFrag)",
"test_filename": "tests_btree_defragmentPage.c"
},
{
"function_name": "allocateSpace",
"function_signature": "static SQLITE_INLINE int allocateSpace(MemPage *pPage, int nByte, int *pIdx)",
"test_filename": "tests_btree_allocateSpace.c"
},
{
"function_name": "freeSpace",
"function_signature": "static int freeSpace(MemPage *pPage, int iStart, int iSize)",
"test_filename": "tests_btree_freeSpace.c"
},
{
"function_name": "decodeFlags",
"function_signature": "static int decodeFlags(MemPage *pPage, int flagByte)",
"test_filename": "tests_btree_decodeFlags.c"
},
{
"function_name": "btreeComputeFreeSpace",
"function_signature": "static int btreeComputeFreeSpace(MemPage *pPage)",
"test_filename": "tests_btree_btreeComputeFreeSpace.c"
},
{
"function_name": "btreeCellSizeCheck",
"function_signature": "static SQLITE_NOINLINE int btreeCellSizeCheck(MemPage *pPage)",
"test_filename": "tests_btree_btreeCellSizeCheck.c"
},
{
"function_name": "btreeInitPage",
"function_signature": "static int btreeInitPage(MemPage *pPage)",
"test_filename": "tests_btree_btreeInitPage.c"
},
{
"function_name": "zeroPage",
"function_signature": "static void zeroPage(MemPage *pPage, int flags)",
"test_filename": "tests_btree_zeroPage.c"
},
{
"function_name": "btreeGetPage",
"function_signature": "static int btreeGetPage(\n BtShared *pBt, /* The btree */\n Pgno pgno, /* Number of the page to fetch */\n MemPage **ppPage, /* Return the page in this parameter */\n int flags /* PAGER_GET_NOCONTENT or PAGER_GET_READONLY */\n)",
"test_filename": "tests_btree_btreeGetPage.c"
},
{
"function_name": "getAndInitPage",
"function_signature": "static int getAndInitPage(\n BtShared *pBt, /* The database file */\n Pgno pgno, /* Number of the page to get */\n MemPage **ppPage, /* Write the page pointer here */\n int bReadOnly /* True for a read-only page */\n)",
"test_filename": "tests_btree_getAndInitPage.c"
},
{
"function_name": "releasePageOne",
"function_signature": "static void releasePageOne(MemPage *pPage)",
"test_filename": "tests_btree_releasePageOne.c"
},
{
"function_name": "btreeGetUnusedPage",
"function_signature": "static int btreeGetUnusedPage(\n BtShared *pBt, /* The btree */\n Pgno pgno, /* Number of the page to fetch */\n MemPage **ppPage, /* Return the page in this parameter */\n int flags /* PAGER_GET_NOCONTENT or PAGER_GET_READONLY */\n)",
"test_filename": "tests_btree_btreeGetUnusedPage.c"
},
{
"function_name": "pageReinit",
"function_signature": "static void pageReinit(DbPage *pData)",
"test_filename": "tests_btree_pageReinit.c"
},
{
"function_name": "sqlite3BtreeOpen",
"function_signature": "int sqlite3BtreeOpen(\n sqlite3_vfs *pVfs, /* VFS to use for this b-tree */\n const char *zFilename, /* Name of the file containing the BTree database */\n sqlite3 *db, /* Associated database handle */\n Btree **ppBtree, /* Pointer to new Btree object written here */\n int flags, /* Options */\n int vfsFlags /* Flags passed through to sqlite3_vfs.xOpen() */\n)",
"test_filename": "tests_btree_sqlite3BtreeOpen.c"
},
{
"function_name": "removeFromSharingList",
"function_signature": "static int removeFromSharingList(BtShared *pBt)",
"test_filename": "tests_btree_removeFromSharingList.c"
},
{
"function_name": "allocateTempSpace",
"function_signature": "static SQLITE_NOINLINE int allocateTempSpace(BtShared *pBt)",
"test_filename": "tests_btree_allocateTempSpace.c"
},
{
"function_name": "sqlite3BtreeClose",
"function_signature": "int sqlite3BtreeClose(Btree *p)",
"test_filename": "tests_btree_sqlite3BtreeClose.c"
},
{
"function_name": "sqlite3BtreeSetPagerFlags",
"function_signature": "int sqlite3BtreeSetPagerFlags(\n Btree *p, /* The btree to set the safety level on */\n unsigned pgFlags /* Various PAGER_* flags */\n)",
"test_filename": "tests_btree_sqlite3BtreeSetPagerFlags.c"
},
{
"function_name": "sqlite3BtreeSetPageSize",
"function_signature": "int sqlite3BtreeSetPageSize(Btree *p, int pageSize, int nReserve, int iFix)",
"test_filename": "tests_btree_sqlite3BtreeSetPageSize.c"
},
{
"function_name": "sqlite3BtreeSecureDelete",
"function_signature": "int sqlite3BtreeSecureDelete(Btree *p, int newFlag)",
"test_filename": "tests_btree_sqlite3BtreeSecureDelete.c"
},
{
"function_name": "sqlite3BtreeSetAutoVacuum",
"function_signature": "int sqlite3BtreeSetAutoVacuum(Btree *p, int autoVacuum)",
"test_filename": "tests_btree_sqlite3BtreeSetAutoVacuum.c"
},
{
"function_name": "sqlite3BtreeGetAutoVacuum",
"function_signature": "int sqlite3BtreeGetAutoVacuum(Btree *p)",
"test_filename": "tests_btree_sqlite3BtreeGetAutoVacuum.c"
},
{
"function_name": "setDefaultSyncFlag",
"function_signature": "static void setDefaultSyncFlag(BtShared *pBt, u8 safety_level)",
"test_filename": "tests_btree_setDefaultSyncFlag.c"
},
{
"function_name": "lockBtree",
"function_signature": "static int lockBtree(BtShared *pBt)",
"test_filename": "tests_btree_lockBtree.c"
},
{
"function_name": "unlockBtreeIfUnused",
"function_signature": "static void unlockBtreeIfUnused(BtShared *pBt)",
"test_filename": "tests_btree_unlockBtreeIfUnused.c"
},
{
"function_name": "newDatabase",
"function_signature": "static int newDatabase(BtShared *pBt)",
"test_filename": "tests_btree_newDatabase.c"
},
{
"function_name": "btreeBeginTrans",
"function_signature": "static SQLITE_NOINLINE int btreeBeginTrans(\n Btree *p, /* The btree in which to start the transaction */\n int wrflag, /* True to start a write transaction */\n int *pSchemaVersion /* Put schema version number here, if not NULL */\n)",
"test_filename": "tests_btree_btreeBeginTrans.c"
},
{
"function_name": "sqlite3BtreeBeginTrans",
"function_signature": "int sqlite3BtreeBeginTrans(Btree *p, int wrflag, int *pSchemaVersion)",
"test_filename": "tests_btree_sqlite3BtreeBeginTrans.c"
},
{
"function_name": "setChildPtrmaps",
"function_signature": "static int setChildPtrmaps(MemPage *pPage)",
"test_filename": "tests_btree_setChildPtrmaps.c"
},
{
"function_name": "modifyPagePointer",
"function_signature": "static int modifyPagePointer(MemPage *pPage, Pgno iFrom, Pgno iTo, u8 eType)",
"test_filename": "tests_btree_modifyPagePointer.c"
},
{
"function_name": "relocatePage",
"function_signature": "static int relocatePage(\n BtShared *pBt, /* Btree */\n MemPage *pDbPage, /* Open page to move */\n u8 eType, /* Pointer map 'type' entry for pDbPage */\n Pgno iPtrPage, /* Pointer map 'page-no' entry for pDbPage */\n Pgno iFreePage, /* The location to move pDbPage to */\n int isCommit /* isCommit flag passed to sqlite3PagerMovepage */\n)",
"test_filename": "tests_btree_relocatePage.c"
},
{
"function_name": "incrVacuumStep",
"function_signature": "static int incrVacuumStep(BtShared *pBt, Pgno nFin, Pgno iLastPg, int bCommit)",
"test_filename": "tests_btree_incrVacuumStep.c"
},
{
"function_name": "finalDbSize",
"function_signature": "static Pgno finalDbSize(BtShared *pBt, Pgno nOrig, Pgno nFree)",
"test_filename": "tests_btree_finalDbSize.c"
},
{
"function_name": "sqlite3BtreeIncrVacuum",
"function_signature": "int sqlite3BtreeIncrVacuum(Btree *p)",
"test_filename": "tests_btree_sqlite3BtreeIncrVacuum.c"
},
{
"function_name": "autoVacuumCommit",
"function_signature": "static int autoVacuumCommit(Btree *p)",
"test_filename": "tests_btree_autoVacuumCommit.c"
},
{
"function_name": "sqlite3BtreeCommitPhaseOne",
"function_signature": "int sqlite3BtreeCommitPhaseOne(Btree *p, const char *zSuperJrnl)",
"test_filename": "tests_btree_sqlite3BtreeCommitPhaseOne.c"
},
{
"function_name": "btreeEndTransaction",
"function_signature": "static void btreeEndTransaction(Btree *p)",
"test_filename": "tests_btree_btreeEndTransaction.c"
},
{
"function_name": "sqlite3BtreeCommitPhaseTwo",
"function_signature": "int sqlite3BtreeCommitPhaseTwo(Btree *p, int bCleanup)",
"test_filename": "tests_btree_sqlite3BtreeCommitPhaseTwo.c"
},
{
"function_name": "sqlite3BtreeCommit",
"function_signature": "int sqlite3BtreeCommit(Btree *p)",
"test_filename": "tests_btree_sqlite3BtreeCommit.c"
},
{
"function_name": "sqlite3BtreeTripAllCursors",
"function_signature": "int sqlite3BtreeTripAllCursors(Btree *pBtree, int errCode, int writeOnly)",
"test_filename": "tests_btree_sqlite3BtreeTripAllCursors.c"
},
{
"function_name": "sqlite3BtreeRollback",
"function_signature": "int sqlite3BtreeRollback(Btree *p, int tripCode, int writeOnly)",
"test_filename": "tests_btree_sqlite3BtreeRollback.c"
},
{
"function_name": "sqlite3BtreeBeginStmt",
"function_signature": "int sqlite3BtreeBeginStmt(Btree *p, int iStatement)",
"test_filename": "tests_btree_sqlite3BtreeBeginStmt.c"
},
{
"function_name": "sqlite3BtreeSavepoint",
"function_signature": "int sqlite3BtreeSavepoint(Btree *p, int op, int iSavepoint)",
"test_filename": "tests_btree_sqlite3BtreeSavepoint.c"
},
{
"function_name": "btreeCursor",
"function_signature": "static int btreeCursor(\n Btree *p, /* The btree */\n Pgno iTable, /* Root page of table to open */\n int wrFlag, /* 1 to write. 0 read-only */\n struct KeyInfo *pKeyInfo, /* First arg to comparison function */\n BtCursor *pCur /* Space for new cursor */\n)",
"test_filename": "tests_btree_btreeCursor.c"
},
{
"function_name": "btreeCursorWithLock",
"function_signature": "static int btreeCursorWithLock(\n Btree *p, /* The btree */\n Pgno iTable, /* Root page of table to open */\n int wrFlag, /* 1 to write. 0 read-only */\n struct KeyInfo *pKeyInfo, /* First arg to comparison function */\n BtCursor *pCur /* Space for new cursor */\n)",
"test_filename": "tests_btree_btreeCursorWithLock.c"
},
{
"function_name": "sqlite3BtreeCursor",
"function_signature": "int sqlite3BtreeCursor(\n Btree *p, /* The btree */\n Pgno iTable, /* Root page of table to open */\n int wrFlag, /* 1 to write. 0 read-only */\n struct KeyInfo *pKeyInfo, /* First arg to xCompare() */\n BtCursor *pCur /* Write new cursor here */\n)",
"test_filename": "tests_btree_sqlite3BtreeCursor.c"
},
{
"function_name": "sqlite3BtreeClosesWithCursor",
"function_signature": "int sqlite3BtreeClosesWithCursor(\n Btree *pBtree, /* the btree object */\n BtCursor *pCur /* Corresponding cursor */\n)",
"test_filename": "tests_btree_sqlite3BtreeClosesWithCursor.c"
},
{
"function_name": "sqlite3BtreeCloseCursor",
"function_signature": "int sqlite3BtreeCloseCursor(BtCursor *pCur)",
"test_filename": "tests_btree_sqlite3BtreeCloseCursor.c"
},
{
"function_name": "getOverflowPage",
"function_signature": "static int getOverflowPage(\n BtShared *pBt, /* The database file */\n Pgno ovfl, /* Current overflow page number */\n MemPage **ppPage, /* OUT: MemPage handle (may be NULL) */\n Pgno *pPgnoNext /* OUT: Next overflow page number */\n)",
"test_filename": "tests_btree_getOverflowPage.c"
},
{
"function_name": "copyPayload",
"function_signature": "static int copyPayload(\n void *pPayload, /* Pointer to page data */\n void *pBuf, /* Pointer to buffer */\n int nByte, /* Number of bytes to copy */\n int eOp, /* 0 -> copy from page, 1 -> copy to page */\n DbPage *pDbPage /* Page containing pPayload */\n)",
"test_filename": "tests_btree_copyPayload.c"
},
{
"function_name": "accessPayload",
"function_signature": "static int accessPayload(\n BtCursor *pCur, /* Cursor pointing to entry to read from */\n u32 offset, /* Begin reading this far into payload */\n u32 amt, /* Read this many bytes */\n unsigned char *pBuf, /* Write the bytes into this buffer */\n int eOp /* zero to read. non-zero to write. */\n)",
"test_filename": "tests_btree_accessPayload.c"
},
{
"function_name": "accessPayloadChecked",
"function_signature": "static SQLITE_NOINLINE int accessPayloadChecked(\n BtCursor *pCur,\n u32 offset,\n u32 amt,\n void *pBuf\n)",
"test_filename": "tests_btree_accessPayloadChecked.c"
},
{
"function_name": "moveToChild",
"function_signature": "static int moveToChild(BtCursor *pCur, u32 newPgno)",
"test_filename": "tests_btree_moveToChild.c"
},
{
"function_name": "assertParentIndex",
"function_signature": "static void assertParentIndex(MemPage *pParent, int iIdx, Pgno iChild)",
"test_filename": "tests_btree_assertParentIndex.c"
},
{
"function_name": "moveToParent",
"function_signature": "static void moveToParent(BtCursor *pCur)",
"test_filename": "tests_btree_moveToParent.c"
},
{
"function_name": "moveToRoot",
"function_signature": "static int moveToRoot(BtCursor *pCur)",
"test_filename": "tests_btree_moveToRoot.c"
},
{
"function_name": "moveToLeftmost",
"function_signature": "static int moveToLeftmost(BtCursor *pCur)",
"test_filename": "tests_btree_moveToLeftmost.c"
},
{
"function_name": "moveToRightmost",
"function_signature": "static int moveToRightmost(BtCursor *pCur)",
"test_filename": "tests_btree_moveToRightmost.c"
},
{
"function_name": "sqlite3BtreeFirst",
"function_signature": "int sqlite3BtreeFirst(BtCursor *pCur, int *pRes)",
"test_filename": "tests_btree_sqlite3BtreeFirst.c"
},
{
"function_name": "sqlite3BtreeIsEmpty",
"function_signature": "int sqlite3BtreeIsEmpty(BtCursor *pCur, int *pRes)",
"test_filename": "tests_btree_sqlite3BtreeIsEmpty.c"
},
{
"function_name": "btreeLast",
"function_signature": "static SQLITE_NOINLINE int btreeLast(BtCursor *pCur, int *pRes)",
"test_filename": "tests_btree_btreeLast.c"
},
{
"function_name": "sqlite3BtreeLast",
"function_signature": "int sqlite3BtreeLast(BtCursor *pCur, int *pRes)",
"test_filename": "tests_btree_sqlite3BtreeLast.c"
},
{
"function_name": "sqlite3BtreeTableMoveto",
"function_signature": "int sqlite3BtreeTableMoveto(\n BtCursor *pCur, /* The cursor to be moved */\n i64 intKey, /* The table key */\n int biasRight, /* If true, bias the search to the high end */\n int *pRes /* Write search results here */\n)",
"test_filename": "tests_btree_sqlite3BtreeTableMoveto.c"
},
{
"function_name": "indexCellCompare",
"function_signature": "static int indexCellCompare(\n MemPage *pPage,\n int idx,\n UnpackedRecord *pIdxKey,\n RecordCompare xRecordCompare\n)",
"test_filename": "tests_btree_indexCellCompare.c"
},
{
"function_name": "sqlite3BtreeIndexMoveto",
"function_signature": "int sqlite3BtreeIndexMoveto(\n BtCursor *pCur, /* The cursor to be moved */\n UnpackedRecord *pIdxKey, /* Unpacked index key */\n int *pRes /* Write search results here */\n)",
"test_filename": "tests_btree_sqlite3BtreeIndexMoveto.c"
},
{
"function_name": "sqlite3BtreeRowCountEst",
"function_signature": "i64 sqlite3BtreeRowCountEst(BtCursor *pCur)",
"test_filename": "tests_btree_sqlite3BtreeRowCountEst.c"
},
{
"function_name": "btreeNext",
"function_signature": "static SQLITE_NOINLINE int btreeNext(BtCursor *pCur)",
"test_filename": "tests_btree_btreeNext.c"
},
{
"function_name": "sqlite3BtreeNext",
"function_signature": "int sqlite3BtreeNext(BtCursor *pCur, int flags)",
"test_filename": "tests_btree_sqlite3BtreeNext.c"
},
{
"function_name": "btreePrevious",
"function_signature": "static SQLITE_NOINLINE int btreePrevious(BtCursor *pCur)",
"test_filename": "tests_btree_btreePrevious.c"
},
{
"function_name": "sqlite3BtreePrevious",
"function_signature": "int sqlite3BtreePrevious(BtCursor *pCur, int flags)",
"test_filename": "tests_btree_sqlite3BtreePrevious.c"
},
{
"function_name": "allocateBtreePage",
"function_signature": "static int allocateBtreePage(\n BtShared *pBt, /* The btree */\n MemPage **ppPage, /* Store pointer to the allocated page here */\n Pgno *pPgno, /* Store the page number here */\n Pgno nearby, /* Search for a page near this one */\n u8 eMode /* BTALLOC_EXACT, BTALLOC_LT, or BTALLOC_ANY */\n)",
"test_filename": "tests_btree_allocateBtreePage.c"
},
{
"function_name": "freePage2",
"function_signature": "static int freePage2(BtShared *pBt, MemPage *pMemPage, Pgno iPage)",
"test_filename": "tests_btree_freePage2.c"
},
{
"function_name": "clearCellOverflow",
"function_signature": "static SQLITE_NOINLINE int clearCellOverflow(\n MemPage *pPage, /* The page that contains the Cell */\n unsigned char *pCell, /* First byte of the Cell */\n CellInfo *pInfo /* Size information about the cell */\n)",
"test_filename": "tests_btree_clearCellOverflow.c"
},
{
"function_name": "fillInCell",
"function_signature": "static int fillInCell(\n MemPage *pPage, /* The page that contains the cell */\n unsigned char *pCell, /* Complete text of the cell */\n const BtreePayload *pX, /* Payload with which to construct the cell */\n int *pnSize /* Write cell size here */\n)",
"test_filename": "tests_btree_fillInCell.c"
},
{
"function_name": "dropCell",
"function_signature": "static void dropCell(MemPage *pPage, int idx, int sz, int *pRC)",
"test_filename": "tests_btree_dropCell.c"
},
{
"function_name": "insertCell",
"function_signature": "static int insertCell(\n MemPage *pPage, /* Page into which we are copying */\n int i, /* New cell becomes the i-th cell of the page */\n u8 *pCell, /* Content of the new cell */\n int sz, /* Bytes of content in pCell */\n u8 *pTemp, /* Temp storage space for pCell, if needed */\n Pgno iChild /* If non-zero, replace first 4 bytes with this value */\n)",
"test_filename": "tests_btree_insertCell.c"
},
{
"function_name": "insertCellFast",
"function_signature": "static int insertCellFast(\n MemPage *pPage, /* Page into which we are copying */\n int i, /* New cell becomes the i-th cell of the page */\n u8 *pCell, /* Content of the new cell */\n int sz /* Bytes of content in pCell */\n)",
"test_filename": "tests_btree_insertCellFast.c"
},
{
"function_name": "populateCellCache",
"function_signature": "static void populateCellCache(CellArray *p, int idx, int N)",
"test_filename": "tests_btree_populateCellCache.c"
},
{
"function_name": "rebuildPage",
"function_signature": "static int rebuildPage(\n CellArray *pCArray, /* Content to be added to page pPg */\n int iFirst, /* First cell in pCArray to use */\n int nCell, /* Final number of cells on page */\n MemPage *pPg /* The page to be reconstructed */\n)",
"test_filename": "tests_btree_rebuildPage.c"
},
{
"function_name": "pageInsertArray",
"function_signature": "static int pageInsertArray(\n MemPage *pPg, /* Page to add cells to */\n u8 *pBegin, /* End of cell-pointer array */\n u8 **ppData, /* IN/OUT: Page content-area pointer */\n u8 *pCellptr, /* Pointer to cell-pointer area */\n int iFirst, /* Index of first cell to add */\n int nCell, /* Number of cells to add to pPg */\n CellArray *pCArray /* Array of cells */\n)",
"test_filename": "tests_btree_pageInsertArray.c"
},
{
"function_name": "pageFreeArray",
"function_signature": "static int pageFreeArray(\n MemPage *pPg, /* Page to edit */\n int iFirst, /* First cell to delete */\n int nCell, /* Cells to delete */\n CellArray *pCArray /* Array of cells */\n)",
"test_filename": "tests_btree_pageFreeArray.c"
},
{
"function_name": "editPage",
"function_signature": "static int editPage(\n MemPage *pPg, /* Edit this page */\n int iOld, /* Index of first cell currently on page */\n int iNew, /* Index of new first cell on page */\n int nNew, /* Final number of cells on page */\n CellArray *pCArray /* Array of cells and sizes */\n)",
"test_filename": "tests_btree_editPage.c"
},
{
"function_name": "balance_quick",
"function_signature": "static int balance_quick(MemPage *pParent, MemPage *pPage, u8 *pSpace)",
"test_filename": "tests_btree_balance_quick.c"
},
{
"function_name": "ptrmapCheckPages",
"function_signature": "static int ptrmapCheckPages(MemPage **apPage, int nPage)",
"test_filename": "tests_btree_ptrmapCheckPages.c"
},
{
"function_name": "copyNodeContent",
"function_signature": "static void copyNodeContent(MemPage *pFrom, MemPage *pTo, int *pRC)",
"test_filename": "tests_btree_copyNodeContent.c"
},
{
"function_name": "balance_nonroot",
"function_signature": "static int balance_nonroot(\n MemPage *pParent, /* Parent page of siblings being balanced */\n int iParentIdx, /* Index of \"the page\" in pParent */\n u8 *aOvflSpace, /* page-size bytes of space for parent ovfl */\n int isRoot, /* True if pParent is a root-page */\n int bBulk /* True if this call is part of a bulk load */\n)",
"test_filename": "tests_btree_balance_nonroot.c"
},
{
"function_name": "balance_deeper",
"function_signature": "static int balance_deeper(MemPage *pRoot, MemPage **ppChild)",
"test_filename": "tests_btree_balance_deeper.c"
},
{
"function_name": "anotherValidCursor",
"function_signature": "static int anotherValidCursor(BtCursor *pCur)",
"test_filename": "tests_btree_anotherValidCursor.c"
},
{
"function_name": "balance",
"function_signature": "static int balance(BtCursor *pCur)",
"test_filename": "tests_btree_balance.c"
},
{
"function_name": "btreeOverwriteContent",
"function_signature": "static int btreeOverwriteContent(\n MemPage *pPage, /* MemPage on which writing will occur */\n u8 *pDest, /* Pointer to the place to start writing */\n const BtreePayload *pX, /* Source of data to write */\n int iOffset, /* Offset of first byte to write */\n int iAmt /* Number of bytes to be written */\n)",
"test_filename": "tests_btree_btreeOverwriteContent.c"
},
{
"function_name": "btreeOverwriteOverflowCell",
"function_signature": "static SQLITE_NOINLINE int btreeOverwriteOverflowCell(\n BtCursor *pCur, /* Cursor pointing to cell to overwrite */\n const BtreePayload *pX /* Content to write into the cell */\n)",
"test_filename": "tests_btree_btreeOverwriteOverflowCell.c"
},
{
"function_name": "btreeOverwriteCell",
"function_signature": "static int btreeOverwriteCell(BtCursor *pCur, const BtreePayload *pX)",
"test_filename": "tests_btree_btreeOverwriteCell.c"
},
{
"function_name": "sqlite3BtreeInsert",
"function_signature": "int sqlite3BtreeInsert(\n BtCursor *pCur, /* Insert data into the table of this cursor */\n const BtreePayload *pX, /* Content of the row to be inserted */\n int flags, /* True if this is likely an append */\n int seekResult /* Result of prior IndexMoveto() call */\n)",
"test_filename": "tests_btree_sqlite3BtreeInsert.c"
},
{
"function_name": "sqlite3BtreeTransferRow",
"function_signature": "int sqlite3BtreeTransferRow(BtCursor *pDest, BtCursor *pSrc, i64 iKey)",
"test_filename": "tests_btree_sqlite3BtreeTransferRow.c"
},
{
"function_name": "sqlite3BtreeDelete",
"function_signature": "int sqlite3BtreeDelete(BtCursor *pCur, u8 flags)",
"test_filename": "tests_btree_sqlite3BtreeDelete.c"
},
{
"function_name": "btreeCreateTable",
"function_signature": "static int btreeCreateTable(Btree *p, Pgno *piTable, int createTabFlags)",
"test_filename": "tests_btree_btreeCreateTable.c"
},
{
"function_name": "clearDatabasePage",
"function_signature": "static int clearDatabasePage(\n BtShared *pBt, /* The BTree that contains the table */\n Pgno pgno, /* Page number to clear */\n int freePageFlag, /* Deallocate page if true */\n i64 *pnChange /* Add number of Cells freed to this counter */\n)",
"test_filename": "tests_btree_clearDatabasePage.c"
},
{
"function_name": "sqlite3BtreeClearTable",
"function_signature": "int sqlite3BtreeClearTable(Btree *p, int iTable, i64 *pnChange)",
"test_filename": "tests_btree_sqlite3BtreeClearTable.c"
},
{
"function_name": "btreeDropTable",
"function_signature": "static int btreeDropTable(Btree *p, Pgno iTable, int *piMoved)",
"test_filename": "tests_btree_btreeDropTable.c"
},
{
"function_name": "sqlite3BtreeGetMeta",
"function_signature": "void sqlite3BtreeGetMeta(Btree *p, int idx, u32 *pMeta)",
"test_filename": "tests_btree_sqlite3BtreeGetMeta.c"
},
{
"function_name": "sqlite3BtreeUpdateMeta",
"function_signature": "int sqlite3BtreeUpdateMeta(Btree *p, int idx, u32 iMeta)",
"test_filename": "tests_btree_sqlite3BtreeUpdateMeta.c"
},
{
"function_name": "sqlite3BtreeCount",
"function_signature": "int sqlite3BtreeCount(sqlite3 *db, BtCursor *pCur, i64 *pnEntry)",
"test_filename": "tests_btree_sqlite3BtreeCount.c"
},
{
"function_name": "checkProgress",
"function_signature": "static void checkProgress(IntegrityCk *pCheck)",
"test_filename": "tests_btree_checkProgress.c"
},
{
"function_name": "checkAppendMsg",
"function_signature": "static void checkAppendMsg(\n IntegrityCk *pCheck,\n const char *zFormat,\n ...\n)",
"test_filename": "tests_btree_checkAppendMsg.c"
},
{
"function_name": "checkRef",
"function_signature": "static int checkRef(IntegrityCk *pCheck, Pgno iPage)",
"test_filename": "tests_btree_checkRef.c"
},
{
"function_name": "checkPtrmap",
"function_signature": "static void checkPtrmap(\n IntegrityCk *pCheck, /* Integrity check context */\n Pgno iChild, /* Child page number */\n u8 eType, /* Expected pointer map type */\n Pgno iParent /* Expected pointer map parent page number */\n)",
"test_filename": "tests_btree_checkPtrmap.c"
},
{
"function_name": "checkList",
"function_signature": "static void checkList(\n IntegrityCk *pCheck, /* Integrity checking context */\n int isFreeList, /* True for a freelist. False for overflow page list */\n Pgno iPage, /* Page number for first page in the list */\n u32 N /* Expected number of pages in the list */\n)",
"test_filename": "tests_btree_checkList.c"
},
{
"function_name": "btreeHeapInsert",
"function_signature": "static void btreeHeapInsert(u32 *aHeap, u32 x)",
"test_filename": "tests_btree_btreeHeapInsert.c"
},
{
"function_name": "btreeHeapPull",
"function_signature": "static int btreeHeapPull(u32 *aHeap, u32 *pOut)",
"test_filename": "tests_btree_btreeHeapPull.c"
},
{
"function_name": "checkTreePage",
"function_signature": "static int checkTreePage(\n IntegrityCk *pCheck, /* Context for the sanity check */\n Pgno iPage, /* Page number of the page to check */\n i64 *piMinKey, /* Write minimum integer primary key here */\n i64 maxKey /* Error if integer primary key greater than this */\n)",
"test_filename": "tests_btree_checkTreePage.c"
},
{
"function_name": "sqlite3BtreeIntegrityCheck",
"function_signature": "int sqlite3BtreeIntegrityCheck(\n sqlite3 *db, /* Database connection that is running the check */\n Btree *p, /* The btree to be checked */\n Pgno *aRoot, /* An array of root pages numbers for individual trees */\n Mem *aCnt, /* Memory cells to write counts for each tree to */\n int nRoot, /* Number of entries in aRoot[] */\n int mxErr, /* Stop reporting errors after this many */\n int *pnErr, /* OUT: Write number of errors seen to this variable */\n char **pzOut /* OUT: Write the error message string here */\n)",
"test_filename": "tests_btree_sqlite3BtreeIntegrityCheck.c"
},
{
"function_name": "sqlite3BtreeCheckpoint",
"function_signature": "int sqlite3BtreeCheckpoint(Btree *p, int eMode, int *pnLog, int *pnCkpt)",
"test_filename": "tests_btree_sqlite3BtreeCheckpoint.c"
},
{
"function_name": "sqlite3BtreeSchemaLocked",
"function_signature": "int sqlite3BtreeSchemaLocked(Btree *p)",
"test_filename": "tests_btree_sqlite3BtreeSchemaLocked.c"
},
{
"function_name": "sqlite3BtreeLockTable",
"function_signature": "int sqlite3BtreeLockTable(Btree *p, int iTab, u8 isWriteLock)",
"test_filename": "tests_btree_sqlite3BtreeLockTable.c"
},
{
"function_name": "sqlite3BtreePutData",
"function_signature": "int sqlite3BtreePutData(BtCursor *pCsr, u32 offset, u32 amt, void *z)",
"test_filename": "tests_btree_sqlite3BtreePutData.c"
},
{
"function_name": "sqlite3BtreeSetVersion",
"function_signature": "int sqlite3BtreeSetVersion(Btree *pBtree, int iVersion)",
"test_filename": "tests_btree_sqlite3BtreeSetVersion.c"
}
] |