Index: .fossil-settings/ignore-glob ================================================================== --- .fossil-settings/ignore-glob +++ .fossil-settings/ignore-glob @@ -5,5 +5,8 @@ fossil fossil.exe win/fossil.exe *shell-see.* *sqlite3-see.* +bld/* +msvcbld/* +autosetup/jimsh0 ADDED src/Mashfile Index: src/Mashfile ================================================================== --- /dev/null +++ src/Mashfile @@ -0,0 +1,167 @@ +# src/Mashfile + +# Commentary +# +# • A collection of code inspection utilities. +# +# • Common commands are those that don't begin 'test-' or end with an +# asterix. + +# -------------------------------------------------------------------- + +generate_tags_file () { + etags --no-defines *.c; + fossil diff --brief TAGS; } + +# -------------------------------------------------------------------- +# Commands + +# Command regexp +C_RE='^\*\* COMMAND:' + +# Common command regexp +CC_RE='^\*\* COMMAND: +(?!test-)[a-z-]+$' +# '---.---' +# negative lookahead ------' + +REPO_FUNCS_RE='process_sync_args|find_' +REPO_FUNCS_RE="${REPO_FUNCS_RE}(repository_option|and_open_repository)" + +all_commands () { # 254 + grep -Eh "$C_RE" *.c | gawk '{print $3}' | sort; } + +all_commands_that_accept_the_repo_arg () { + grep -Eh "($C_RE|$REPO_FUNCS_RE)" *.c; } + + +common_commands () { # 52 + grep -Ph "$CC_RE" *.c | gawk '{print $3}' | sort; } + +common_commands_that_accept_the_repo_arg () { + grep -P "($CC_RE|$REPO_FUNCS_RE)" *.c; } + +# -------------------------------------------------------------------- +# Common commands +# +# • Divide the common commands into four categories: +# +# Taking option R, documented +# Taking option R, undocumented +# Not taking option R +# Other +# +# • Use target `check_comcoms_all' to confirm that all common commands +# are in one (and only one) category. Works by comparing +# 'hardcoded' categories against the output of running `fossil help' +# without args. + + +# Four categories + +comcoms_taking_option_r_documented () { + # HOOK: (occur "^ " -1) + # + # List complete. + # + # `branch' requires a subcommand. + for each in $(comcoms_according_to_help); do + fossil help $each | grep -E "^ *(Usage:|-R|--repository)" + done; } +COMCOMS_TAKING_OPTION_R_DOCUMENTED="branch cat info ls pull push sql +sync timeline" + +comcoms_taking_option_r_undocumented () { + # HOOK: (occur "use --repository or -R") + # + # Enter Occur-Edit mode, remove commands listed above and add + # `bundle', `git' and `settings'. + # + # (`bundle export' & `git export' each accept the option). + call_each_comcom_wihtout_args; } +COMCOMS_TAKING_OPTION_R_UNDOCUMENTED="amend bundle git grep publish +rebuild remote-url settings tag unpublished unversioned" + +comcoms_not_taking_option_r () { + # HOOK: (occur "not within an open checkout") + # + # Enter Occur-Edit mode and remove `ls'. + call_each_comcom_wihtout_args; } +COMCOMS_NOT_TAKING_OPTION_R="add addremove annotate bisect blame +changes clean commit delete diff extras finfo gdiff merge mv praise +revert rm stash status ui undo update" + +comcoms_other () { + # HOOK: (occur "Usage: fossil") + # + # Enter Occur-Edit mode, remove `bundle' and add `version'. + call_each_comcom_wihtout_args; } +COMCOMS_OTHER="all clone help import init open version" + +# categories combined + +COMCOMS_TAKING_OPTION_R=" +$COMCOMS_TAKING_OPTION_R_DOCUMENTED +$COMCOMS_TAKING_OPTION_R_UNDOCUMENTED" + +COMCOMS_ALL=" +$COMCOMS_TAKING_OPTION_R +$COMCOMS_NOT_TAKING_OPTION_R +$COMCOMS_OTHER" + +check_comcoms_all () { + local hardcoded_comcoms=$(sort_args $COMCOMS_ALL) + local hardcoded_count=$(count_args $hardcoded_comcoms) + local help_comcoms=$(comcoms_according_to_help) + local help_count=$(count_args $help_comcoms) + echo -n "$hardcoded_count: " + write_line $hardcoded_comcoms; echo + echo -n "$help_count: " + write_line $help_comcoms; echo; } + +# one more category + +comcoms_taking_subcommands () { + for each in $(comcoms_according_to_help); do + fossil help $each | grep SUBCOMMAND + done; } +COMCOMS_TAKING_SUBCOMMANDS="all bisect branch bundle stash tag +unversioned" + +# Utils + +comcoms_according_to_help() { + for each in $(fossil help | tail -n +3 | head -n -1); + do echo $each; done | sort; } + +call_each_comcom_wihtout_args () { + # Three commands 'work' when called without args: `help', + # `settings' and `version'. The rest fail in one of three ways: + # + # "current directory is not within a open checkout" + # "Usage: fossil ..." + # "use --repository or -R to specify the repository database" + # + # with the exception of the `export' command, which fails with: + # + # "specify the repository name as a command-line argument" + # + for each in $(comcoms_according_to_help); do + echo -n $each:\ ; fossil $each; echo + done; } + +count_args () { echo $#; } +sort_args () { for each in $*; do echo "$each"; done | sort; } +write_line () { for each in $*; do echo -n "$each "; done; } + + +# -------------------------------------------------------------------- +# All commands + +allcoms_with_aliases () { + # HOOK: (occur " or:" -1) + for each in $(allcoms_according_to_help); do + fossil help $each | grep -E "^ *(Usage:|or:)" + done; } + +allcoms_according_to_help () { + for each in $(fossil help -a); do echo $each; done | sort; } ADDED src/TAGS Index: src/TAGS ================================================================== --- /dev/null +++ src/TAGS @@ -0,0 +1,17988 @@ + +add.c,908 +const char *fossil_reserved_name(fossil_reserved_name35,1108 + const char *fname;fname62,1860 + int flg;63,1883 +const char *fossil_all_reserved_names(fossil_all_reserved_names114,3213 +void test_reserved_names(137,3713 +static int add_one_file(157,4197 +static int add_files_in_sfile(202,5604 +static void addremove_reset(271,8145 +void add_cmd(390,12793 +static void add_file_to_remove(519,17385 +static void process_files_to_remove(544,18233 +void delete_cmd(601,20531 +static const char *zCaseSensitive zCaseSensitive673,22505 +void capture_case_sensitive_option(674,22544 +int filenames_are_case_sensitive(694,23307 +const char *filename_collation(filename_collation738,24657 +void addremove_cmd(793,27062 +static void mv_one_file(896,30048 +static void add_file_to_move(933,31264 +static void process_files_to_move(967,32450 +void mv_cmd(1032,34872 +int stash_add_files_in_sfile(1152,38155 + +ajax.c,591 +void ajax_emit_js_preview_modes(49,1753 +int ajax_render_mode_for_mimetype(74,2541 +void ajax_render_preview(102,3654 +void ajax_render_diff(155,5348 +int ajax_p_bool(174,5849 +void ajax_route_error(190,6274 +int ajax_route_bootstrap(217,7142 +int ajax_get_fnci_args(248,8213 +void ajax_route_preview_text(292,9395 +struct AjaxRoute 342,11039 + const char *zName;zName343,11058 + void (*xCallback)xCallback344,11124 + int bWriteMode;345,11182 + int bPost;346,11239 +typedef struct AjaxRoute AjaxRoute;349,11344 +int cmp_ajax_route_name(356,11501 +void ajax_route_dispatcher(382,12556 + +alerts.c,2839 +static const char zAlertInit[zAlertInit39,1194 +@ ON subscriber(73,2962 +void alert_user_contact(104,3990 +void alert_schema(119,4436 +void alert_create_trigger(150,5276 +void alert_drop_trigger(170,5977 +int alert_enabled(180,6211 +static int alert_webpages_disabled(192,6544 +void alert_submenu_common(205,6892 +void setup_notification(223,7360 +static void append_base64(354,12637 +static void append_quoted(370,13009 +struct AlertSender 406,13841 + sqlite3 *db;db407,13862 + sqlite3_stmt *pStmt;pStmt408,13925 + const char *zDest;zDest409,13993 + const char *zDb;zDb410,14047 + const char *zDir;zDir411,14104 + const char *zCmd;zCmd412,14182 + const char *zFrom;zFrom413,14247 + SmtpSession *pSmtp;pSmtp414,14304 + Blob out;415,14361 + char *zErr;zErr416,14414 + u32 mFlags;417,14463 + int bImmediateFail;418,14504 +static void emailerShutdown(431,14896 +static void emailerError(450,15249 +void alert_sender_free(465,15570 +static int emailerGetSetting(477,15824 +AlertSender *alert_sender_new(alert_sender_new505,16692 +int email_header_value(574,19013 +int email_address_is_valid(614,20247 +char *email_copy_addr(email_copy_addr663,22007 +char *alert_find_emailaddr(alert_find_emailaddr674,22423 +void alert_find_emailaddr_func(692,22826 +void alert_display_name_func(714,23430 +char *alert_hostname(alert_hostname736,23969 +static char *alert_mailbox_name(alert_mailbox_name755,24494 +void alert_test_mailbox_hashname(778,25085 +void email_header_to(789,25346 +void email_header_to_free(812,25850 +void alert_send(852,27242 +void alert_cmd(1084,36420 +static int subscribe_error_check(1281,43135 +static const char zConfirmMsg[zConfirmMsg1366,45168 +void alert_append_confirmation_message(1387,45752 +void subscribe_page(1409,46534 + @ Topics:Topics1576,52332 + @ Delivery:Delivery1600,53086 +static void alert_unsubscribe(1641,54370 +void alert_page(1705,56757 + @  nbsp1952,65005 + @   nbsp1952,65005 +void renewal_page(2028,67424 +static const char zUnsubMsg[zUnsubMsg2072,68539 +void unsubscribe_page(2097,69269 +void subscriber_list_page(2235,73550 +struct EmailEvent 2370,77898 + int type;2371,77918 + int needMod;2372,77969 + Blob hdr;2373,78023 + Blob txt;2374,78084 + char *zFromName;zFromName2375,78150 + EmailEvent *pNext;pNext2376,78202 +void alert_free_eventlist(2383,78318 +EmailEvent *alert_compute_event_text(alert_compute_event_text2401,78772 +void email_header(2579,84849 +void test_alert_cmd(2613,86119 +void test_add_alert_cmd(2681,88289 +static void alert_renewal_msg(2714,89141 +int alert_send_alerts(2797,92633 +int alert_backoffice(3058,101762 +void contact_admin_page(3077,102319 +static char *alert_send_announcement(alert_send_announcement3175,105432 +void announce_page(3252,108090 + +allrepo.c,138 +static void collect_argument(29,921 +static void collect_argument_value(35,1105 +static void collect_argv(45,1383 +void all_cmd(156,6297 + +attach.c,281 +void attachlist_page(41,1227 +void attachview_page(171,5271 +static void attach_put(234,6950 +void attach_commit(259,7677 +void attachadd_page(322,9702 +void ainfo_page(428,13344 +void attachment_list(637,20694 +void attachment_cmd(701,22778 +void test_list_attachments(800,25988 + +backlink.c,518 +void render_backlink_graph(35,1071 +void backlink_timeline_page(72,2348 +void backlink_table_page(105,3372 +void backlink_wiki_refresh(174,5458 +struct Backlink 195,6081 + int srcid;196,6099 + int srctype;197,6160 + double mtime;198,6234 +void backlink_create(208,6501 +static int backlink_md_link(231,7205 +static void mkdn_noop0(247,7697 +static int mkdn_noop1(248,7740 +void markdown_extract_links(253,7860 +void backlink_extract(298,9725 +void test_backlinks_cmd(336,11176 +void test_wiki_relink_cmd(384,12585 + +backoffice.c,1448 +struct Lease 106,3943 + sqlite3_uint64 idCurrent;107,3958 + sqlite3_uint64 tmCurrent;108,4032 + sqlite3_uint64 idNext;109,4098 + sqlite3_uint64 tmNext;110,4178 +static int backofficeNoDelay 121,4561 +static char *backofficeDb backofficeDb132,5041 +static const char *backofficeLogfile backofficeLogfile139,5273 +static FILE *backofficeFILE backofficeFILE144,5368 +static Blob *backofficeBlob backofficeBlob149,5475 +static int backofficeLogDetail 154,5553 +static void backofficeTrace(169,5951 +void backoffice_no_delay(193,6699 +static int backofficeSleep(202,6963 +static const char *backofficeParseInt(backofficeParseInt218,7331 +static void backofficeReadLease(243,8123 +char *backoffice_last_run(backoffice_last_run264,8808 +static void backofficeWriteLease(283,9260 +static int backofficeWin32ProcessExists(302,9904 +static int backofficeProcessExists(315,10269 +static int backofficeProcessDone(327,10607 +static sqlite3_uint64 backofficeProcessId(338,10865 +void test_process_id_command(352,11247 +void test_backoffice_lease(379,12185 +void backoffice_check_if_needed(423,13619 +void backoffice_disable(447,14322 +static void backoffice_error_check_one(454,14462 +static void backoffice_thread(480,15308 +void backoffice_log(566,18239 +static void backoffice_signal_handler(579,18547 +static long long int tvms(600,19075 +void backoffice_work(610,19329 +void backoffice_command(712,23367 +void backoffice_run_if_needed(816,26616 + +bag.c,347 +struct Bag 47,1643 + int cnt;48,1656 + int sz;49,1705 + int used;50,1747 + int *a;a51,1794 +void bag_init(64,2120 +void bag_clear(71,2226 +#define bag_hash(79,2309 +static void bag_resize(89,2596 +int bag_insert(125,3452 +int bag_find(150,3892 +void bag_remove(168,4218 +int bag_first(200,4830 +int bag_next(215,5133 +int bag_count(235,5473 + +bisect.c,588 + int bad;30,883 + int good;31,931 +} bisect;32,980 +void bisect_path(37,1045 + const char *zName;zName75,2278 + const char *zDefault;zDefault76,2299 + const char *zDesc;zDesc77,2323 +} aBisectOption[aBisectOption78,2344 +int bisect_option(91,2880 +static void bisect_list(117,3494 +static void bisect_append_log(178,5395 +static void bisect_append_skip(195,5875 +int bisect_create_bilog_table(215,6521 +char *bisect_permalink(bisect_permalink310,9250 +static void bisect_chart(345,10126 +void bisect_reset(375,10999 +static void bisect_run(391,11426 +void bisect_cmd(533,15813 + +blob.c,2933 +struct Blob 39,1021 + unsigned int nUsed;40,1035 + unsigned int nAlloc;41,1106 + unsigned int iCursor;42,1183 + unsigned int blobFlags;43,1255 + char *aData;aData44,1322 + void (*xRealloc)xRealloc45,1393 +#define blob_size(56,1614 +#define blob_buffer(61,1692 +#define blob_is_init(74,1882 +#define assert_blob_is_reset(85,2257 +#define assert_blob_is_reset(87,2320 +int fossil_isspace(96,2498 +int fossil_islower(103,2621 +int fossil_isupper(104,2676 +int fossil_isdigit(105,2731 +int fossil_tolower(106,2786 +int fossil_toupper(109,2864 +int fossil_isalpha(112,2942 +int fossil_isalnum(115,3023 +int fossil_no_strange_characters(122,3223 +void isspace_cmd(134,3504 +static void blob_panic(151,3889 +void blobReallocMalloc(166,4335 +const Blob empty_blob 190,4930 +static void blobReallocStatic(196,5111 +void blob_reset(212,5525 +int blob_is_reset(223,5836 +void blob_init(234,6140 +void blob_set(252,6592 +void blob_set_dynamic(260,6817 +void blob_zero(268,6984 +void blob_append_full(289,7683 +void blob_append(312,8333 +#define blob_append_string(330,8809 +void blob_append_char(336,8937 +void blob_copy(347,9133 +char *blob_str(blob_str356,9341 +int blob_strlen(374,9726 +char *blob_sql_text(blob_sql_text386,10065 +char *blob_terminate(blob_terminate408,10847 +int blob_compare(419,11113 +int blob_constant_time_cmp(438,11599 +int blob_eq_str(462,12081 +# define blob_eq(478,12545 +void blob_resize(487,12770 +void blob_reserve(508,13513 +char *blob_materialize(blob_materialize521,13841 +void blob_dehttpize(531,14030 +int blob_extract(542,14324 +void blob_rewind(564,14809 +void blob_truncate(571,14902 +int blob_seek(578,15046 +int blob_tell(593,15350 +int blob_line(610,15873 +int blob_trim(631,16364 +int blob_token(653,16942 +int blob_sqltoken(681,17865 +int blob_tail(709,18621 +void blob_copy_lines(723,19059 +void blob_add_final_newline(749,19520 +int blob_is_hname(764,19993 +int blob_is_filename(771,20150 +int blob_is_int(779,20348 +int blob_is_int64(799,20748 +void blobarray_zero(819,21112 +void blobarray_reset(823,21207 +int blob_tokenize(833,21494 +void blob_appendf(845,21828 +void blob_append_sql(854,22041 +void blob_vappendf(862,22216 +int blob_read_from_channel(871,22499 +sqlite3_int64 blob_read_from_file(910,23657 +int blob_read_link(953,24803 +int blob_write_to_file(982,25598 +void blob_compress(1031,27093 +void compress_cmd(1062,27960 +void blob_compress2(1077,28335 +void compress2_cmd(1121,29644 +int blob_uncompress(1136,30086 +void uncompress_cmd(1173,31017 +void test_cycle_compress(1187,31372 +void blob_add_cr(1207,31842 +void blob_to_lf_only(1232,32311 +static const unsigned short cp1252[cp12521250,32713 +void blob_cp1252_to_utf8(1257,33023 +static const char aSafeChar[aSafeChar1321,34879 +void blob_append_escaped_arg(1379,38087 +void test_escaped_arg_command(1507,42352 +unsigned int blob_read(1628,46463 +void blob_swap(1648,47045 +void blob_to_utf8_no_bom(1660,47444 + +branch.c,658 +int branch_includes_uuid(28,837 +char *branch_of_rid(branch_of_rid45,1322 +void branch_new(69,1889 +static const char createBrlistQuery[createBrlistQuery240,7835 +static void brlist_create_temp_table(267,8743 +void branch_prepare_list_query(292,9566 +int branch_is_open(334,10695 +static void branch_cmd_tag_add(357,11419 +static int branch_cmd_tag_finalize(381,12356 +static int branch_resolve_name(457,15155 +static void branch_cmd_hide(472,15634 +static void branch_cmd_close(512,17305 +void branch_cmd(619,21752 +static void new_brlist_page(710,24888 +void brlist_page(797,27732 +static void brtimeline_extra(894,30681 +void brtimeline_page(925,31490 + +browse.c,1507 +void pathelementFunc(39,1299 +void hyperlinked_path(84,2576 +void page_dir(139,4327 +typedef struct FileTreeNode FileTreeNode;429,13255 +typedef struct FileTree FileTree;430,13297 +struct FileTreeNode 435,13377 + FileTreeNode *pNext;pNext436,13399 + FileTreeNode *pParent;pParent437,13475 + FileTreeNode *pSibling;pSibling438,13541 + FileTreeNode *pChild;pChild439,13613 + FileTreeNode *pLastChild;pLastChild440,13667 + char *zName;zName441,13731 + char *zFullName;zFullName442,13797 + char *zUuid;zUuid443,13859 + double mtime;444,13935 + unsigned nFullName;445,14002 + unsigned iLevel;446,14056 +struct FileTree 452,14158 + FileTreeNode *pFirst;pFirst453,14176 + FileTreeNode *pLast;pLast454,14233 + FileTreeNode *pLastTop;pLastTop455,14289 +static void tree_add_node(470,14842 +static int compareNodes(546,17220 +static FileTreeNode *mergeNodes(mergeNodes553,17499 +static FileTreeNode *sortNodesByMtime(sortNodesByMtime575,18034 +static FileTreeNode *sortTreeByMtime(sortTreeByMtime607,18681 +static void relinkTree(618,18991 +void page_tree(653,20133 +const char *fileext_class(fileext_class951,30214 +static const char zComputeFileAgeSetup[zComputeFileAgeSetup970,30744 +@ CREATE VIRTUAL TABLE IF NOT EXISTS temp.foci USING files_of_checkin;978,30937 +static const char zComputeFileAgeRun[zComputeFileAgeRun981,31011 +int compute_fileage(1009,32038 +char *human_readable_age(human_readable_age1028,32637 +void test_fileage_cmd(1051,33192 +void fileage_page(1088,34217 + +builtin.c,1716 +static int builtin_file_index(37,1105 +const unsigned char *builtin_file(builtin_file58,1487 +const char *builtin_text(builtin_text68,1758 +void test_builtin_list(80,2043 +void test_builtin_list_page(97,2444 +void test_builtin_get(117,2921 +static void builtin_deliver_multiple_js_files(139,3524 +void builtin_webpage(181,5157 + int aReq[aReq228,6257 + int nReq;229,6329 + int nSent;230,6399 + int eDelivery;231,6464 +} builtin;232,6512 +void builtin_set_js_delivery_mode(250,7201 +int builtin_get_js_delivery_mode(270,7784 +void builtin_request_js(294,8834 +void builtin_fulfill_js_requests(316,9530 +typedef struct builtinVtab_vtab builtinVtab_vtab;365,11173 +struct builtinVtab_vtab 366,11223 + sqlite3_vtab base;367,11249 +typedef struct builtinVtab_cursor builtinVtab_cursor;375,11515 +struct builtinVtab_cursor 376,11569 + sqlite3_vtab_cursor base;377,11597 + sqlite3_int64 iRowid;380,11750 +static int builtinVtabConnect(396,12237 +static int builtinVtabDisconnect(421,12765 +static int builtinVtabOpen(430,12970 +static int builtinVtabClose(442,13284 +static int builtinVtabNext(452,13505 +static int builtinVtabColumn(462,13759 +static int builtinVtabRowid(487,14555 +static int builtinVtabEof(497,14820 +static int builtinVtabFilter(508,15220 +static int builtinVtabBestIndex(524,15691 +static sqlite3_module builtinVtabModule 537,15995 +int builtin_vtab_register(568,16849 +void builtin_emit_script_fossil_bootstrap(592,17687 +static int builtin_emit_fossil_js_once(693,21621 + static struct FossilJs 696,21713 + const char * zName;697,21740 + int emitted;698,21798 + const char * zDeps;699,21853 +void test_js_once(758,23489 +NULL_SENTINEL void builtin_fossil_js_bundle_or(864,28176 + +bundle.c,511 +static const char zBundleInit[zBundleInit33,1117 +static void bundle_attach_file(52,1757 +static void bundle_ls_cmd(98,3377 +static void bundle_append_cmd(153,4978 +void subtree_from_arguments(197,6401 +void test_subtree_cmd(272,8934 +static void bundle_export_cmd(292,9518 +static void bundle_import_elements(426,13884 +static void bundle_extract_item(488,15672 +static void bundle_cat_cmd(539,17162 +static void bundle_import_cmd(568,17972 +static void bundle_purge_cmd(637,20514 +void bundle_cmd(775,25277 + +cache.c,445 +static char *cacheName(cacheName27,770 +static sqlite3 *cacheOpen(cacheOpen45,1227 +static sqlite3_stmt *cacheStmt(cacheStmt94,2581 +static void cache_sizename(110,2917 +static void cache_register_sizename(136,3574 +void cache_write(146,3898 +int cache_read(217,6328 +void cache_initialize(255,7423 +void cache_cmd(282,8271 +static char *cache_hash_of_key(cache_hash_of_key384,11199 +void cache_page(403,11630 +void cache_getpage(468,13547 + +capabilities.c,748 +struct CapabilityString 29,872 + unsigned char x[x30,898 +CapabilityString *capability_add(capability_add41,1127 +CapabilityString *capability_remove(capability_remove59,1491 +int capability_has_any(77,1881 +void capability_free(91,2172 +void capability_expand(100,2430 +char *capability_string(capability_string143,3699 +void capability_union_step(169,4299 +void capability_union_finalize(182,4614 +void capability_fullcap(197,5029 +static struct Caps 234,5868 + char cCap;235,5889 + unsigned short eClass;236,5943 + unsigned nUser;237,6007 + char *zAbbrev;zAbbrev238,6076 + char *zOneLiner;zOneLiner239,6134 +} aCap[aCap240,6183 +void capabilities_count(319,9138 +void capabilities_table(341,9683 +void capability_summary(366,10354 + +captcha.c,731 +int hex_digit_value(33,978 +static const unsigned int aFont1[aFont149,1268 +char *captcha_render(captcha_render73,1659 +static const char *const azFont2[azFont2103,2234 +char *captcha_render(captcha_render206,3261 +static const char *const azFont3[azFont3228,3690 +char *captcha_render(captcha_render363,5359 +void test_captcha(422,6519 +unsigned int captcha_seed(443,7098 +const char *captcha_decode(captcha_decode455,7377 +int captcha_needed(490,8339 +int captcha_is_correct(504,8818 +void captcha_generate(536,9738 +void captcha_speakit_button(562,10422 +void captcha_test(583,11162 +int exclude_spiders(605,11796 +static void captcha_wav(641,12777 +void captcha_wav_page(689,14368 +void captcha_test_wav_page(704,14736 + +cgi.c,4441 + typedef int socklen_t;46,1546 +#define P(61,1950 +#define PD(62,1991 +#define PT(63,2034 +#define PDT(64,2083 +#define PB(65,2134 +#define PCK(66,2179 +#define PIF(67,2226 +static Blob cgiContent[cgiContent106,3291 +static Blob *pContent pContent107,3359 +void cgi_destination(112,3474 +int cgi_header_contains(132,3854 +int cgi_body_contains(135,3957 +void cgi_append_content(142,4113 +void cgi_reset_content(149,4266 +Blob *cgi_output_blob(cgi_output_blob157,4409 +const char *cgi_header(cgi_header164,4511 +static void cgi_combine_header_and_body(171,4649 +char *cgi_extract_content(cgi_extract_content182,4909 +static const char *zContentType zContentType190,5076 +static const char *zReplyStatus zReplyStatus191,5157 +static int iReplyStatus 192,5237 +static Blob extraHeader 193,5306 +static int rangeStart 194,5375 +static int rangeEnd 195,5442 +void cgi_set_content_type(200,5551 +void cgi_set_content(207,5693 +void cgi_set_status(217,5884 +void cgi_append_header(225,6053 +void cgi_printf_header(228,6138 +void cgi_set_cookie(242,6484 +static int is_gzippable(274,7505 +void cgi_reply(285,7849 +NORETURN void cgi_redirect_with_status(415,12085 +NORETURN void cgi_redirect(440,12859 +NORETURN void cgi_redirect_with_method(443,12967 +NORETURN void cgi_redirectf(446,13088 +void cgi_content_disposition_filename(456,13321 +const char *cgi_referer(cgi_referer479,13990 +int cgi_csrf_safe(496,14442 +static int nAllocQP 515,14955 +static int nUsedQP 516,15017 +static int sortQP 517,15082 +static int seqQP 518,15146 +static struct QParam 519,15194 + const char *zName;zName520,15270 + const char *zValue;zValue521,15329 + int seq;522,15402 + char isQP;523,15455 + char cTag;524,15515 +} *aParamQP;aParamQP525,15573 +void cgi_set_parameter_nocopy(535,15916 +void cgi_set_parameter_nocopy_tolower(567,17012 +void cgi_set_parameter(584,17457 +void cgi_set_query_parameter(587,17597 +void cgi_replace_parameter(594,17791 +void cgi_replace_query_parameter(604,18055 +void cgi_replace_query_parameter_tolower(615,18359 +void cgi_delete_parameter(624,18587 +void cgi_delete_query_parameter(636,18871 +void cgi_setenv(654,19294 +static void add_param_list(688,20708 +static char *get_line_from_string(get_line_from_string730,21946 +static char *get_bounded_content(get_bounded_content761,22756 +static int tokenize_line(809,24112 +static void process_multipart_form_data(843,24971 +typedef struct CgiPostReadState_ 916,27432 + FILE * fh;917,27467 + unsigned int len;918,27482 + unsigned int pos;919,27504 +} CgiPostReadState;920,27526 +static int cson_data_source_FILE_n(927,27711 +void cgi_parse_POST_JSON(960,28732 +void cgi_trace(1008,30433 +void cgi_init(1075,32782 +void cgi_decode_post_parameters(1226,37432 +static int qparam_compare(1247,37990 +const char *cgi_parameter(cgi_parameter1265,38587 +const char *cgi_coalesce(cgi_coalesce1332,40632 +char *cgi_parameter_trimmed(cgi_parameter_trimmed1350,41059 +int cgi_parameter_boolean(1372,41634 +const char *cgi_parameter_checked(cgi_parameter_checked1388,42294 +const char *cgi_parameter_name(cgi_parameter_name1405,42695 +void cgi_debug(1416,42860 +int cgi_any(1430,43132 +int cgi_all(1446,43455 +void cgi_load_environment(1464,43921 +void cgi_print_all(1500,45382 +int cgi_param_info(1530,46215 +void cgi_query_parameters_to_hidden(1553,46651 +void cgi_query_parameters_to_url(1568,47049 +void cgi_tag_query_parameter(1581,47418 +void cgi_printf(1596,47783 +void cgi_vprintf(1607,48032 +static NORETURN void malformed_request(1615,48189 +NORETURN void cgi_panic(1627,48458 +static const char *cgi_accept_forwarded_for(cgi_accept_forwarded_for1660,49363 +static char *extract_token(extract_token1676,49863 +char *cgi_remote_ip(cgi_remote_ip1701,50517 +void cgi_handle_http_request(1730,51443 +void cgi_handle_ssh_http_request(1843,55366 +char *cgi_handle_ssh_probes(cgi_handle_ssh_probes1990,59740 +void cgi_handle_ssh_transport(2025,60749 +void cgi_handle_scgi_request(2071,62205 +int cgi_http_server(2130,64040 +static const char *const azDays[azDays2280,68709 +static const char *const azMonths[azMonths2282,68803 +char *cgi_rfc822_datestamp(cgi_rfc822_datestamp2296,69296 +char *cgi_iso8601_datestamp(cgi_iso8601_datestamp2315,69866 +time_t cgi_rfc822_parsedate(2335,70485 +void cgi_modified_since(2375,71848 +const char *cgi_ssh_remote_addr(cgi_ssh_remote_addr2389,72205 +int cgi_is_loopback(2406,72638 +int cgi_from_mobile(2418,73005 + +chat.c,524 +static void chat_emit_alert_list(51,1945 +void chat_webpage(148,5485 +static const char zChatSchema1[zChatSchema1215,8051 +static void chat_create_tables(234,8766 +static void chat_purge(248,9212 +static void chat_emit_permissions_error(277,10235 +void chat_send_webpage(309,11180 +static char *chat_format_to_html(chat_format_to_html363,12701 +void chat_test_formatter_cmd(433,14768 +void chat_poll_webpage(532,18586 +void chat_download_webpage(663,22715 +void chat_delete_webpage(704,23901 +void chat_command(756,25763 + +checkin.c,2871 + CB_EDITED 30,828 + CB_EDITED , CB_UPDATED 30,828 + CB_EDITED , CB_UPDATED , CB_CHANGED,30,828 + CB_EDITED , CB_UPDATED , CB_CHANGED, CB_MISSING 30,828 + CB_EDITED , CB_UPDATED , CB_CHANGED, CB_MISSING , CB_ADDED,30,828 + CB_EDITED , CB_UPDATED , CB_CHANGED, CB_MISSING , CB_ADDED, CB_DELETED,30,828 + CB_RENAMED,31,903 + CB_RENAMED, CB_CONFLICT,31,903 + CB_RENAMED, CB_CONFLICT, CB_META 31,903 + CB_RENAMED, CB_CONFLICT, CB_META , CB_UNCHANGED,31,903 + CB_RENAMED, CB_CONFLICT, CB_META , CB_UNCHANGED, CB_EXTRA,31,903 + CB_RENAMED, CB_CONFLICT, CB_META , CB_UNCHANGED, CB_EXTRA, CB_MERGE 31,903 + CB_RELPATH,32,978 + CB_RELPATH, CB_CLASSIFY,32,978 + CB_RELPATH, CB_CLASSIFY, CB_MTIME 32,978 + CB_RELPATH, CB_CLASSIFY, CB_MTIME , CB_SIZE 32,978 + CB_RELPATH, CB_CLASSIFY, CB_MTIME , CB_SIZE , CB_FATAL,32,978 + CB_RELPATH, CB_CLASSIFY, CB_MTIME , CB_SIZE , CB_FATAL, CB_COMMENT,32,978 + C_EDITED 35,1078 + C_UPDATED 36,1158 + C_CHANGED 37,1234 + C_MISSING 38,1311 + C_ADDED 39,1377 + C_DELETED 40,1432 + C_RENAMED 41,1489 + C_CONFLICT 42,1546 + C_META 43,1618 + C_UNCHANGED 44,1689 + C_EXTRA 45,1748 + C_MERGE 46,1807 + C_FILTER 47,1869 + C_ALL 50,2094 + C_DIFFER 51,2171 + C_RELPATH 52,2246 + C_CLASSIFY 53,2309 + C_DEFAULT 54,2375 + C_MTIME 55,2438 + C_SIZE 56,2509 + C_FATAL 57,2576 + C_COMMENT 58,2646 +static void locate_unmanaged_files(71,3159 +static void status_report(117,4784 +static int determine_cwd_relative_option(346,12663 +void status_cmd(450,17803 + const char *option;option453,17903 + unsigned mask;454,17944 + enum {CHANGES,CHANGES469,18576 + enum {CHANGES, STATUS}STATUS469,18576 +static void ls_cmd_rev(583,22296 +void ls_cmd(688,25721 +void extras_cmd(846,30619 +void clean_cmd(968,36468 +void prompt_for_user_comment(1176,43518 +static void prepare_commit_comment(1278,46748 +static char *prepare_commit_description_file(prepare_commit_description_file1388,50134 +int select_commit_files(1464,52619 +int checkin_is_younger(1515,54161 +static void checkin_verify_younger(1531,54609 +char *date_in_standard_format(date_in_standard_format1551,55251 +void test_date_format(1575,55876 +struct CheckinInfo 1588,56199 + Blob *pComment;pComment1589,56220 + const char *zMimetype;zMimetype1590,56278 + int verifyDate;1591,56357 + int closeFlag;1592,56422 + int integrateFlag;1593,56491 + int verboseFlag;1594,56552 + Blob *pCksum;pCksum1595,56629 + const char *zDateOvrd;zDateOvrd1596,56696 + const char *zUserOvrd;zUserOvrd1597,56768 + const char *zBranch;zBranch1598,56847 + const char *zColor;zColor1599,56906 + const char *zBrClr;zBrClr1600,56979 + const char **azTag;azTag1601,57050 +static void create_manifest(1608,57172 +static int commit_warning(1847,65732 +void test_commit_warning(2010,71530 +static int tagCmp(2059,73044 +void commit_cmd(2165,78486 + +checkout.c,320 +int unsaved_changes(32,990 +void uncheckout(49,1586 +int load_vfile(97,3071 +static void set_or_clear_isexe(121,3687 +void checkout_set_all_exe(139,4219 +void manifest_to_disk(174,5361 +void get_checkin_taglist(237,7269 +void checkout_cmd(291,9284 +static void unlink_local_database(379,12321 +void close_cmd(406,13005 + +clearsign.c,22 +int clearsign(29,820 + +clone.c,329 +void fix_private_blob_dependencies(29,863 +void delete_private_content(71,2061 +void clone_cmd(143,4845 +void remember_or_get_http_auth(314,10809 +char *get_httpauth(get_httpauth338,11523 +void set_httpauth(348,11732 +void clone_ssh_find_options(355,11922 +void clone_ssh_db_set_options(368,12229 +void download_page(380,12518 + +codecheck1.c,912 +static int eVerbose 47,1634 +void *safe_malloc(safe_malloc52,1699 +void *safe_realloc(safe_realloc60,1862 +static char *read_file(read_file74,2218 +static int token_length(105,2979 +const char *next_non_whitespace(next_non_whitespace163,4235 +static int distance_to(179,4571 +static const char *skip_space(skip_space204,5047 +static char *simplify_expr(simplify_expr212,5206 +static int is_string_lit(234,5534 +static int is_string_expr(246,5798 +static const char *azSafeFunc[azSafeFunc284,6791 +static int is_sql_safe(300,7162 +static int never_safe(334,8015 +struct FmtFunc 359,8796 + const char *zFName;zFName360,8813 + int iFmtArg;361,8865 + unsigned fmtFlags;362,8938 +} aFmtFunc[aFmtFunc363,8986 +static int fmtfunc_cmp(435,12258 +static int isFormatFunc(447,12729 +static int formatArgCount(481,13570 +static int checkFormatFunc(520,14641 +static int scan_file(632,18199 +int main(677,19260 + +color.c,140 +char *hash_color(hash_color32,909 +char *user_color(user_color87,2747 +void test_hash_color(117,3517 +void test_hash_color_page(130,3794 + +comformat.c,371 +static int comment_set_maxchars(62,2284 +static int comment_check_orig(90,3017 +static int comment_next_space(110,3800 +int strlen_utf8(144,5025 +static void comment_calc_indent(171,5974 +static void comment_print_line(194,6769 +static int comment_print_legacy(332,11437 +int comment_print(463,16530 +int get_comment_format(516,18280 +void test_comment_format(559,19949 + +configure.c,1162 + const char *zName;zName60,2120 + int groupMask;61,2179 + const char *zHelp;zHelp62,2240 +} aGroupName[aGroupName63,2282 + const char *zName;zName89,3602 + int groupMask;90,3667 +} aConfig[aConfig91,3730 +static int iConfig 188,7614 +const char *configure_first_name(configure_first_name193,7717 +const char *configure_next_name(configure_next_name197,7816 +const char *configure_inop_rhs(configure_inop_rhs217,8338 +int configure_is_exportable(243,9146 +static int configHasBeenReset 274,9872 +static int rebuildMask 279,9953 +void configure_rebuild(284,10054 +static int safeSql(299,10365 +static int safeInt(324,10847 +void configure_receive(366,12442 + static const struct receiveType 377,12783 + const char *zName;zName378,12821 + const char *zPrimKey;zPrimKey379,12893 + int nField;380,12951 + const char *azField[azField381,13012 +void configure_receive_all(473,16306 +int configure_send_group(509,17294 +int configure_name_to_mask(679,22978 +static void export_config(702,23658 +void configuration_cmd(778,26198 +void test_var_list_cmd(925,31134 +void test_var_get_cmd(1020,33888 +void test_var_set_cmd(1062,35107 + +content.c,1423 + i64 szTotal;28,774 + int n;29,842 + int nAlloc;30,903 + int nextAge;31,965 + struct cacheLine 32,1027 + int rid;33,1098 + int age;34,1146 + Blob content;35,1204 + } *a;a36,1264 + Bag inCache;37,1312 + Bag missing;48,1759 + Bag available;49,1827 +} contentCache;50,1893 +static void content_cache_expire_oldest(55,1968 +void content_cache_insert(80,2674 +void content_clear_cache(108,3606 +int delta_source_rid(129,4112 +int content_size(146,4453 +int content_is_available(163,4871 +static void content_mark_available(193,5620 +static int content_of_blob(218,6326 +int content_get(237,6834 +void artifact_cmd(333,9105 +void test_content_rawget_cmd(354,9647 +static int ignoreDephantomizations 375,10342 +void after_dephantomize(389,10859 +void content_enable_dephantomize(461,12928 +void content_rcvid_init(472,13228 +int content_put_ex(507,14509 +int content_put(657,18929 +int content_new(665,19085 +void test_content_put_cmd(710,20139 +void content_undelta(725,20501 +void test_content_undelta_cmd(747,21032 +int content_is_private(758,21257 +void content_make_public(773,21532 +void content_make_private(785,21750 +int content_deltify(821,23114 +void test_content_deltify_cmd(928,26613 +static int looks_like_control_artifact(944,27078 +void test_integrity(972,28052 +void test_orphans(1096,31756 +static int check_exists(1132,33028 +void test_missing(1206,35428 +void test_content_erase(1278,37818 + +cookies.c,514 + char *zCookieValue;zCookieValue73,2448 + int bChanged;74,2521 + int bIsInit;75,2587 + int nParam;76,2649 + const char *zPName;zPName78,2731 + char *zPValue;zPValue79,2789 + } aParam[aParam80,2851 +} cookies;81,2878 +void cookie_parse(86,2992 +static void cookie_readwrite(118,3802 +void cookie_read_parameter(152,4897 +void cookie_write_parameter(159,5120 +void cookie_link_parameter(170,5399 +void cookie_render(182,5850 +const char *cookie_value(cookie_value199,6287 +void cookie_page(213,6674 + +cson_amalgamation.c,16893 +typedef __int64 JSON_int_t;32,707 +typedef long long JSON_int_t;36,895 +typedef long JSON_int_t;40,1029 + JSON_E_NONE 52,1215 + JSON_E_INVALID_CHAR,53,1236 + JSON_E_INVALID_KEYWORD,54,1261 + JSON_E_INVALID_ESCAPE_SEQUENCE,55,1289 + JSON_E_INVALID_UNICODE_SEQUENCE,56,1325 + JSON_E_INVALID_NUMBER,57,1362 + JSON_E_NESTING_DEPTH_REACHED,58,1389 + JSON_E_UNBALANCED_COLLECTION,59,1423 + JSON_E_EXPECTED_KEY,60,1457 + JSON_E_EXPECTED_COLON,61,1482 +} JSON_error;63,1534 + JSON_T_NONE 67,1565 + JSON_T_ARRAY_BEGIN,68,1586 + JSON_T_ARRAY_END,69,1610 + JSON_T_OBJECT_BEGIN,70,1632 + JSON_T_OBJECT_END,71,1657 + JSON_T_INTEGER,72,1680 + JSON_T_FLOAT,73,1700 + JSON_T_NULL,74,1718 + JSON_T_TRUE,75,1735 + JSON_T_FALSE,76,1752 + JSON_T_STRING,77,1770 + JSON_T_KEY,78,1789 +} JSON_type;80,1820 +typedef struct JSON_value_struct 82,1834 + JSON_int_t integer_value;84,1881 + double float_value;86,1924 + const char* value;89,1978 + size_t length;90,2009 + } str;91,2036 + } vu;92,2051 +} JSON_value;93,2061 +typedef struct JSON_parser_struct* JSON_parser;95,2076 +typedef int (*JSON_parser_callback)JSON_parser_callback108,2638 +typedef void* (*JSON_malloc_t)JSON_malloc_t114,2806 +typedef void (*JSON_free_t)JSON_free_t118,2931 + JSON_parser_callback callback;127,3249 + void* callback_ctx;132,3419 + int depth;137,3674 + int allow_comments;141,3783 + int handle_floats_manually;146,3930 + JSON_malloc_t malloc;156,4358 + JSON_free_t free;166,4763 +} JSON_config;167,4793 +typedef void* (*JSON_debug_malloc_t)JSON_debug_malloc_t338,10481 +# define JSON_parser_malloc(341,10586 +# define JSON_parser_malloc(343,10686 +typedef unsigned short UTF16;346,10757 +struct JSON_parser_struct 348,10788 + JSON_parser_callback callback;349,10816 + void* ctx;350,10851 + signed char state,351,10866 + signed char state, before_comment_state,351,10866 + signed char state, before_comment_state, type,351,10866 + signed char state, before_comment_state, type, escaped,351,10866 + signed char state, before_comment_state, type, escaped, comment,351,10866 + signed char state, before_comment_state, type, escaped, comment, allow_comments,351,10866 + signed char state, before_comment_state, type, escaped, comment, allow_comments, handle_floats_manually,351,10866 + signed char state, before_comment_state, type, escaped, comment, allow_comments, handle_floats_manually, error;351,10866 + char decimal_point;352,10982 + UTF16 utf16_high_surrogate;353,11006 + int current_char;354,11038 + int depth;355,11060 + int top;356,11075 + int stack_capacity;357,11088 + signed char* stack;358,11112 + char* parse_buffer;359,11136 + size_t parse_buffer_capacity;360,11160 + size_t parse_buffer_count;361,11194 + signed char static_stack[static_stack362,11225 + char static_parse_buffer[static_parse_buffer363,11279 + JSON_malloc_t malloc;364,11340 + JSON_free_t free;365,11366 +#define COUNTOF(368,11392 +enum classes 377,11589 + C_SPACE,378,11604 + C_WHITE,379,11630 + C_LCURB,380,11667 + C_RCURB,381,11690 + C_LSQRB,382,11712 + C_RSQRB,383,11734 + C_COLON,384,11756 + C_COMMA,385,11778 + C_QUOTE,386,11800 + C_BACKS,387,11822 + C_SLASH,388,11844 + C_PLUS,389,11866 + C_MINUS,390,11888 + C_POINT,391,11910 + C_ZERO 392,11932 + C_DIGIT,393,11954 + C_LOW_A,394,11984 + C_LOW_B,395,12006 + C_LOW_C,396,12028 + C_LOW_D,397,12050 + C_LOW_E,398,12072 + C_LOW_F,399,12094 + C_LOW_L,400,12116 + C_LOW_N,401,12138 + C_LOW_R,402,12160 + C_LOW_S,403,12182 + C_LOW_T,404,12204 + C_LOW_U,405,12226 + C_ABCDF,406,12248 + C_E,407,12274 + C_ETC,408,12296 + C_STAR,409,12332 + NR_CLASSES410,12354 +static const signed char ascii_class[ascii_class413,12373 +enum states 444,13818 + GO,445,13832 + OK,446,13856 + OB,447,13880 + KE,448,13904 + CO,449,13928 + VA,450,13952 + AR,451,13976 + ST,452,14000 + ESC,453,14024 + U1,454,14049 + U2,455,14073 + U3,456,14097 + U4,457,14121 + MI,458,14145 + ZE,459,14169 + IT,460,14193 + FR,461,14217 + E1,462,14241 + E2,463,14265 + E3,464,14289 + T1,465,14313 + T2,466,14337 + T3,467,14361 + F1,468,14385 + F2,469,14409 + F3,470,14433 + F4,471,14457 + N1,472,14481 + N2,473,14505 + N3,474,14529 + C1,475,14553 + C2,476,14577 + C3,477,14600 + FX,478,14624 + D1,479,14648 + D2,480,14709 + NR_STATES481,14763 +enum actions484,14781 + CB 486,14796 + CE 487,14830 + FA 488,14862 + TR 489,14888 + NU 490,14914 + DE 491,14939 + DF 492,14991 + SB 493,15041 + MX 494,15074 + ZX 495,15120 + IX 496,15165 + EX 497,15209 + UC 498,15250 +static const signed char state_transition_table[state_transition_table502,15298 +enum modes 553,20002 + MODE_ARRAY 554,20015 + MODE_DONE 555,20035 + MODE_KEY 556,20054 + MODE_OBJECT 557,20072 +static void set_error(560,20096 +push(604,21461 +pop(640,22596 +#define parse_buffer_clear(654,22894 +#define parse_buffer_pop_back_char(660,23025 +void delete_JSON_parser(669,23230 +int JSON_parser_reset(682,23544 +new_JSON_parser(725,24752 +static int parse_buffer_grow(781,26478 +static int parse_buffer_reserve_for(806,27219 +#define parse_buffer_has_space_for(818,27522 +#define parse_buffer_push_back_char(821,27643 +#define assert_is_non_container_type(828,27881 +static int parse_parse_buffer(838,28165 +#define IS_HIGH_SURROGATE(879,29506 +#define IS_LOW_SURROGATE(880,29564 +#define DECODE_SURROGATE_PAIR(881,29622 +static const unsigned char utf8_lead_bits[utf8_lead_bits882,29711 +static int decode_unicode_char(884,29787 +static int add_escaped_char_to_parse_buffer(957,31699 +static int add_char_to_parse_buffer(1000,32847 +#define assert_type_isnt_string_null_or_bool(1021,33483 +JSON_parser_char(1029,33696 +JSON_parser_done(1352,42863 +int JSON_parser_is_legal_white_space_string(1364,43068 +int JSON_parser_get_last_error(1389,43475 +void init_JSON_config(1395,43550 +static void noop_printf(1431,44567 +struct cson_value_api1448,44928 + const cson_type_id typeID;1454,45044 + void (*cleanup)cleanup1460,45225 +typedef struct cson_value_api cson_value_api;1475,45617 +typedef unsigned int cson_counter_t;1490,45970 +struct cson_value1491,46007 + cson_value_api const * api;1498,46217 + void * value;1509,46769 + cson_counter_t refcount;1531,47575 +const cson_parse_opt cson_parse_opt_empty 1538,47656 +const cson_output_opt cson_output_opt_empty 1539,47724 +const cson_object_iterator cson_object_iterator_empty 1540,47795 +const cson_buffer cson_buffer_empty 1541,47881 +const cson_parse_info cson_parse_info_empty 1542,47940 +static const cson_value_api cson_value_api_null 1552,48300 +static const cson_value_api cson_value_api_undef 1553,48398 +static const cson_value_api cson_value_api_bool 1554,48498 +static const cson_value_api cson_value_api_integer 1555,48596 +static const cson_value_api cson_value_api_double 1556,48700 +static const cson_value_api cson_value_api_string 1557,48802 +static const cson_value_api cson_value_api_array 1558,48904 +static const cson_value_api cson_value_api_object 1559,49002 +static const cson_value cson_value_undef 1561,49104 +static const cson_value cson_value_integer_empty 1562,49183 +static const cson_value cson_value_double_empty 1563,49272 +static const cson_value cson_value_string_empty 1564,49359 +static const cson_value cson_value_array_empty 1565,49446 +static const cson_value cson_value_object_empty 1566,49531 +struct cson_string1576,50001 + unsigned int length;1578,50022 +static const cson_string cson_string_empty 1581,50092 +#define CSON_CAST(1588,50259 +#define CSON_VCAST(1595,50565 +# define CSON_INT(1604,50902 +# define CSON_INT(1606,50961 +#define CSON_DBL(1609,51017 +#define CSON_STR(1610,51066 +#define CSON_OBJ(1611,51113 +#define CSON_ARRAY(1612,51160 +static struct CSON_EMPTY_HOLDER_1618,51287 + char trueValue;1620,51322 + cson_string stringValue;1621,51342 +} CSON_EMPTY_HOLDER 1622,51371 +enum CSON_INTERNAL_VALUES 1634,51614 + CSON_VAL_UNDEF 1636,51647 + CSON_VAL_NULL 1637,51671 + CSON_VAL_TRUE 1638,51694 + CSON_VAL_FALSE 1639,51717 + CSON_VAL_INT_0 1640,51741 + CSON_VAL_DBL_0 1641,51765 + CSON_VAL_STR_EMPTY 1642,51789 + CSON_INTERNAL_VALUES_LENGTH1643,51817 +static cson_value CSON_SPECIAL_VALUES[CSON_SPECIAL_VALUES1658,52265 +static char cson_value_is_builtin(1677,52918 +char const * cson_rc_string(1689,53275 +#define CHECK(1692,53342 +static unsigned int cson_totalAlloced 1757,55115 +static void * cson_malloc(1761,55242 +static void cson_free(1777,55659 +static void * cson_realloc(1788,55955 +static void cson_refcount_incr(1841,57300 +int cson_value_refcount_set(1857,57578 +int cson_value_add_reference(1868,57768 +static cson_counter_t cson_refcount_decr(1889,58357 +unsigned int cson_string_length_bytes(1901,58682 +static char * cson_string_str(1916,59183 +char const * cson_string_cstr(1938,59733 +static char * cson_strdup(1965,60438 +int cson_string_cmp_cstr_n(1975,60666 +int cson_string_cmp_cstr(1992,61289 +int cson_string_cmp(1996,61441 +void cson_value_destroy_zero_it(2006,61723 +struct cson_kvp2020,61984 + cson_value * key;2022,62002 + cson_value * value;2023,62024 +static const cson_kvp cson_kvp_empty 2026,62088 +static int cson_kvp_cmp(2069,63630 +static int cson_kvp_cmp_vs_cstr(2094,64594 +struct cson_kvp_list2112,65151 + cson_kvp ** list;2114,65174 + unsigned int count;2115,65196 + unsigned int alloced;2116,65220 +typedef struct cson_kvp_list cson_kvp_list;2118,65249 +struct cson_object2122,65439 + cson_kvp_list kvp;2124,65460 +static const cson_object cson_object_empty 2128,65591 +struct cson_value_list2130,65658 + cson_value ** list;2132,65683 + unsigned int count;2133,65707 + unsigned int alloced;2134,65731 +typedef struct cson_value_list cson_value_list;2136,65760 +static const cson_value_list cson_value_list_empty 2138,65879 +struct cson_array2140,65958 + cson_value_list list;2142,65978 +static const cson_array cson_array_empty 2146,66112 +struct cson_parser2149,66177 + JSON_parser p;2151,66198 + cson_value * root;2152,66217 + cson_value * node;2153,66240 + cson_array stack;2154,66263 + cson_string * ckey;2155,66285 + int errNo;2156,66309 + unsigned int totalKeyCount;2157,66324 + unsigned int totalValueCount;2158,66356 +typedef struct cson_parser cson_parser;2160,66393 +static const cson_parser cson_parser_empty 2161,66433 +static cson_value * cson_value_new(2227,68799 +void cson_value_free(2285,70478 +static char cson_value_is_a(2292,70662 +cson_type_id cson_value_type_id(2298,70803 +char cson_value_is_undef(2303,70925 +#define ISA(2308,71058 +char cson_value_is_number(2320,71476 +void cson_value_clean(2326,71596 +static cson_value * cson_value_array_alloc(2340,71925 +static cson_value * cson_value_object_alloc(2352,72178 +cson_value * cson_value_new_object(2364,72436 +cson_object * cson_new_object(2369,72516 +cson_value * cson_value_new_array(2375,72619 +cson_array * cson_new_array(2381,72698 +static void cson_kvp_clean(2390,72911 +cson_string * cson_kvp_key(2407,73213 +cson_value * cson_kvp_value(2411,73325 +static void cson_kvp_free(2420,73475 +static void cson_value_destroy_object(2436,73791 +static void cson_array_clean(2456,74415 +static void cson_value_destroy_array(2490,75404 +int cson_buffer_fill_from(2500,75642 +int cson_data_source_FILE(2532,76463 +int cson_parse_FILE(2545,76810 +int cson_value_fetch_bool(2552,77009 +char cson_value_get_bool(2601,78328 +int cson_value_fetch_integer(2608,78452 +cson_int_t cson_value_get_integer(2654,79700 +int cson_value_fetch_double(2661,79842 +cson_double_t cson_value_get_double(2700,80827 +int cson_value_fetch_string(2707,80975 +cson_string * cson_value_get_string(2718,81256 +char const * cson_value_get_cstr(2725,81408 +int cson_value_fetch_object(2730,81531 +cson_object * cson_value_get_object(2740,81796 +int cson_value_fetch_array(2747,81947 +cson_array * cson_value_get_array(2758,82207 +cson_kvp * cson_kvp_alloc(2765,82351 +int cson_array_append(2777,82533 +static cson_value * cson_array_pop_back(2812,83763 +cson_value * cson_value_new_bool(2832,84233 +cson_value * cson_value_true(2837,84372 +cson_value * cson_value_false(2841,84455 +cson_value * cson_value_null(2846,84541 +cson_value * cson_new_int(2851,84625 +cson_value * cson_value_new_integer(2856,84710 +cson_value * cson_new_double(2873,85124 +cson_value * cson_value_new_double(2878,85214 +cson_string * cson_new_string(2892,85523 +cson_value * cson_value_new_string(2915,86151 +int cson_array_value_fetch(2920,86288 +cson_value * cson_array_get(2931,86555 +int cson_array_length_fetch(2938,86712 +unsigned int cson_array_length_get(2948,86908 +int cson_array_reserve(2955,87048 +int cson_array_set(2974,87505 +static cson_kvp * cson_object_search_impl(3009,88519 +cson_value * cson_object_get(3053,89880 +cson_value * cson_object_get_s(3059,90059 +static void cson_object_sort_props(3067,90292 +int cson_object_unset(3079,90525 +int cson_object_set_s(3112,91464 +int cson_object_set(3177,93445 +cson_value * cson_object_take(3197,93964 +static int cson_parser_set_key(3252,95666 +static int cson_parser_push_value(3316,97500 +static int cson_parse_callback(3350,98376 +#define ALLOC_V(3354,98515 +static int cson_json_err_to_rc(3512,103480 +static int cson_parser_clean(3546,104834 +int cson_parse(3570,105314 +static const unsigned char cson_utfTrans1[cson_utfTrans13676,108551 +#define READ_UTF8(3715,110124 +static int cson_utf8Read(3726,110736 +unsigned int cson_string_length_utf8(3744,111176 +static int cson_str_to_json(3772,112087 +int cson_object_iter_init(3913,117470 +cson_kvp * cson_object_iter_next(3924,117694 +static int cson_output_null(3939,118103 +static int cson_output_bool(3948,118267 +static int cson_output_integer(3958,118526 +static int cson_output_double(3978,119106 +static int cson_output_string(4015,120342 +static int cson_output_indent(4039,121104 +static int cson_output_impl(4077,122304 +static int cson_output_array(4118,123580 +static int cson_output_object(4179,125496 +int cson_output(4257,128183 +int cson_data_dest_FILE(4270,128516 +int cson_output_FILE(4282,128801 +int cson_output_filename(4303,129296 +int cson_parse_filename(4319,129687 +typedef struct cson_data_source_StringSource_4338,130181 + char const * str;4341,130263 + char const * pos;4343,130350 + char const * end;4345,130421 +} cson_data_source_StringSource_t;4346,130443 +static int cson_data_source_StringSource(4352,130628 +int cson_parse_string(4370,131172 +int cson_parse_buffer(4385,131666 +int cson_buffer_reserve(4396,132051 +cson_size_t cson_buffer_fill(4421,132664 +static int cson_data_dest_cson_buffer(4437,133080 +int cson_output_buffer(4466,134073 +static char cson_next_token(4518,135591 +int cson_object_fetch_sub2(4536,136082 +int cson_object_fetch_sub(4543,136356 +cson_value * cson_object_get_sub(4607,138363 +cson_value * cson_object_get_sub2(4614,138547 +static cson_value * cson_value_clone_ref(4627,138909 +static cson_value * cson_value_clone_array(4650,139339 +static cson_value * cson_value_clone_object(4690,140502 +cson_value * cson_value_clone(4739,141955 +cson_value * cson_string_value(4774,143193 +cson_value * cson_object_value(4783,143390 +cson_value * cson_array_value(4791,143503 +void cson_free_object(4798,143613 +void cson_free_array(4802,143704 +void cson_free_string(4807,143793 +void cson_free_value(4811,143884 +char * cson_pod_to_string(4819,143995 +char * cson_pod_to_string(4872,145563 +unsigned int cson_value_msize(4923,147092 +int cson_object_merge(4987,149285 +static cson_value * cson_guess_arg_type(5026,150660 +int cson_parse_argv_flags(5052,151338 +unsigned int cson_value_list_reserve(5117,153070 +int cson_value_list_append(5144,153837 +int cson_value_list_visit(5157,154161 +void cson_value_list_clean(5181,154642 +unsigned int cson_kvp_list_reserve(5204,155048 +int cson_kvp_list_append(5231,155799 +int cson_kvp_list_visit(5244,156115 +void cson_kvp_list_clean(5268,156588 +cson_value * cson_sqlite3_column_to_value(5317,157610 +cson_value * cson_sqlite3_column_names(5349,158689 +cson_value * cson_sqlite3_row_to_object2(5384,159541 +cson_value * cson_sqlite3_row_to_object(5422,160645 +cson_value * cson_sqlite3_row_to_array(5468,161895 +static int cson_sqlite3_stmt_to_json_fat(5505,162803 +#define RETURN(5507,162886 +static int cson_sqlite3_stmt_to_json_slim(5569,164729 +#define RETURN(5571,164813 +int cson_sqlite3_stmt_to_json(5626,166441 +int cson_sqlite3_sql_to_json(5634,166648 +int cson_sqlite3_bind_value(5648,167120 + +db.c,7642 +struct Stmt 55,1451 + Blob sql;56,1465 + sqlite3_stmt *pStmt;pStmt57,1524 + Stmt *pNext,pNext58,1592 + Stmt *pNext, *pPrev;pPrev58,1592 + int nStep;59,1659 + int rc;60,1722 +const struct Stmt empty_Stmt 70,2040 +static void db_err(76,2202 +static void db_check_result(106,2918 +static struct DbLocalData 118,3254 + unsigned protectMask;119,3282 + int nBegin;120,3344 + int doRollback;121,3401 + int nCommitHook;122,3460 + int wrTxn;123,3517 + Stmt *pAllStmt;pAllStmt124,3577 + int nPrepare;125,3646 + int nDeleteOnFail;126,3720 + struct sCommitHook 127,3792 + int (*xHook)xHook128,3815 + int sequence;129,3895 + } aHook[aHook130,3966 + char *azDeleteOnFail[azDeleteOnFail131,3980 + char *azBeforeCommit[azBeforeCommit132,4043 + int nBeforeCommit;133,4109 + int nPriorChanges;134,4179 + const char *zStartFile;zStartFile135,4258 + int iStartLine;136,4330 + int (*xAuth)xAuth137,4409 + void *pAuthArg;pAuthArg138,4484 + const char *zAuthName;zAuthName139,4545 + int bProtectTriggers;140,4602 + int nProtect;141,4678 + unsigned aProtect[aProtect142,4735 +} db 143,4797 +void db_delete_on_failure(150,4961 +int db_transaction_nesting_depth(160,5264 +char *db_transaction_start_point(db_transaction_start_point168,5434 +static int db_verify_at_commit(181,5857 +#define db_begin_transaction(194,6116 +#define db_begin_write(195,6195 +#define db_commit_transaction(196,6268 +#define db_rollback_transaction(197,6324 +void db_begin_transaction_real(203,6424 +void db_begin_write_real(218,6825 +void db_end_transaction(242,7572 +void db_force_rollback(285,8709 +void db_commit_hook(319,9652 +void db_protect_only(415,13577 +void db_protect(443,14636 +void db_unprotect(446,14714 +void db_protect_pop(453,14924 +void db_assert_protected(464,15186 +void db_assert_protection_off_or_not_sensitive(479,15690 +int db_top_authorizer(491,16187 +void db_set_authorizer(536,17389 +void db_clear_authorizer(549,17762 +int db_vprepare(571,18387 +int db_prepare(598,19223 +int db_prepare_ignore_error(606,19399 +int db_static_prepare(618,19741 +int db_static_stmt_is_init(631,20072 +int db_prepare_blob(638,20237 +static int paramIdx(659,20677 +int db_bind_int(669,20979 +int db_bind_int64(672,21125 +int db_bind_double(675,21275 +int db_bind_text(678,21430 +int db_bind_text16(682,21632 +int db_bind_null(686,21840 +int db_bind_blob(689,21968 +int db_bind_str(698,22363 +int db_step(707,22715 +static void db_stats(718,22913 +int db_reset(740,23704 +int db_finalize(747,23862 +int db_last_insert_rowid(770,24364 +int db_changes(783,24735 +int db_column_type(791,24883 +int db_column_bytes(794,24972 +int db_column_int(797,25063 +i64 db_column_int64(800,25150 +double db_column_double(803,25241 +const char *db_column_text(db_column_text806,25337 +const char *db_column_raw(db_column_raw809,25441 +const char *db_column_name(db_column_name812,25550 +int db_column_count(815,25654 +char *db_column_malloc(db_column_malloc818,25735 +void db_column_blob(821,25831 +Blob db_column_text_as_blob(825,26000 +void db_ephemeral_blob(837,26368 +int db_exec(845,26603 +void db_test_db_exec_cmd(860,26947 +void db_test_db_prepare(880,27530 +int db_debug(920,28737 +int db_exec_sql(960,29778 +int db_multi_exec(983,30364 +void db_optional_sql(1002,30819 +i64 db_int64(1014,31153 +int db_int(1029,31432 +int db_exists(1049,31831 +double db_double(1069,32137 +void db_blob(1089,32552 +char *db_text(db_text1108,33088 +void db_init_database(1133,33658 +void db_now_function(1169,34614 +void db_checkin_mtime_function(1188,35046 +void db_sym2rid_function(1209,35524 +void db_tolocal_function(1248,36640 +void db_fromlocal_function(1277,37416 +void db_hextoblob(1300,37954 +void db_obscure(1337,39022 +int db_setting_is_protected(1358,39571 +LOCAL void db_protected_setting_func(1368,39963 +void db_add_aux_functions(1386,40440 +static char *zSavedKey zSavedKey1422,42254 +size_t savedKeySize 1427,42357 +char *db_get_saved_encryption_key(db_get_saved_encryption_key1433,42501 +size_t db_get_saved_encryption_key_size(1441,42691 +static void db_save_encryption_key(1449,42909 +void db_unsave_encryption_key(1477,43582 +void db_set_saved_encryption_key(1487,43861 +void db_read_saved_encryption_key_from_process(1513,44551 +void db_read_saved_encryption_key_from_process_via_th1(1561,46169 +static void db_maybe_obtain_encryption_key(1590,47160 +void db_maybe_set_encryption_key(1613,47759 +LOCAL sqlite3 *db_open(db_open1636,48401 +void db_detach(1687,50299 +void db_attach(1695,50476 +void db_set_main_schemaname(1728,51506 +int db_database_slot(1742,52008 +void db_open_or_attach(1765,52604 +void db_close_config(1777,52859 +static char *db_configdb_name(db_configdb_name1806,53631 +int db_open_config(1903,56529 +int db_table_exists(1944,57675 +int db_table_has_column(1957,58103 +static int db_local_table_exists_but_lacks_column(1970,58535 +static int isValidLocalDb(1982,58872 +int db_open_local_v2(2059,62226 +int db_open_local(2097,63294 +const char *db_repository_filename(db_repository_filename2106,63564 +int db_allow_symlinks(2127,64089 +void db_open_repository(2135,64280 +int db_repository_has_changed(2260,68735 +void db_find_and_open_repository(2283,69516 +int db_schema_is_outofdate(2326,70603 +int db_is_writeable(2334,70785 +void db_verify_schema(2342,70993 +void move_repo_cmd(2365,71721 +void db_must_be_within_tree(2390,72287 +void db_close(2408,72803 +void db_panic_close(2491,76081 +void db_create_repository(2511,76605 +void db_create_default_users(2525,76897 +const char *db_setting_inop_rhs(db_setting_inop_rhs2573,78262 +void db_initial_setup(2608,79552 +void create_repository_cmd(2738,84723 +void db_sql_print(2787,86355 +int db_sql_trace(2804,86651 +LOCAL void db_sql_user(2841,87810 +LOCAL void db_sql_cgi(2857,88252 +LOCAL void file_is_selected(2888,89394 +LOCAL void db_win_reserved_func(2923,90155 +char *db_conceal(db_conceal2950,91047 +char *db_reveal(db_reveal2979,91952 +int is_truth(2995,92270 +int is_false(3003,92479 +void db_swap_connections(3021,93095 +char *db_get_versioned(db_get_versioned3050,94172 + struct _cacheEntry 3054,94309 + struct _cacheEntry *next;next3055,94332 + const char *zName,zName3056,94362 + const char *zName, *zValue;zValue3056,94362 +char *db_get(db_get3150,97943 +char *db_get_mtime(db_get_mtime3193,99173 +void db_set(3205,99531 +void db_unset(3224,100172 +int db_is_global(3240,100651 +int db_get_int(3249,100872 +void db_set_int(3277,101574 +int db_get_boolean(3294,102155 +int db_get_versioned_boolean(3304,102379 +char *db_lget(db_lget3311,102593 +void db_lset(3315,102743 +int db_lget_int(3318,102877 +void db_lset_int(3321,102995 +char *db_get_mprintf(db_get_mprintf3332,103465 +void db_set_mprintf(3343,103732 +void db_unset_mprintf(3352,103985 +int db_get_manifest_setting(3378,104748 +void db_record_repository_filename(3415,105599 +void cmd_open(3519,109657 +void print_setting(3695,115135 +struct Setting 3747,116911 + const char *name;name3748,116928 + const char *var;var3749,116978 + int width;3750,117048 + char versionable;3753,117249 + char forceTextArea;3754,117308 + char sensitive;3755,117375 + const char *def;def3756,117447 +Setting *db_find_setting(db_find_setting4322,139182 +void setting_cmd(4380,141092 +char *db_timespan_name(db_timespan_name4462,143639 +void test_timespan_cmd(4491,144474 +void test_without_rowid(4518,145376 +void create_admin_log_table(4574,147205 +void admin_log(4593,147717 +void test_database_name_cmd(4620,148463 +char *db_fingerprint(db_fingerprint4650,149934 +void test_fingerprint(4699,151469 +void db_set_checkout(4722,152233 +int db_fingerprint_ok(4741,152781 + +delta.c,758 +# define DEBUG1(36,1057 +# define DEBUG1(38,1084 +#define DEBUG2(41,1116 +static const char *print16(print1646,1201 +# define DEBUG2(60,1438 +typedef unsigned int u32;67,1552 +typedef short int s16;72,1611 +typedef unsigned short int u16;73,1634 +typedef struct hash hash;95,2301 +struct hash 96,2327 + u16 a,97,2341 + u16 a, b;97,2341 + u16 i;98,2379 + char z[z99,2430 +static void hash_init(105,2570 +static void hash_next(121,2868 +static u32 hash_32bit(132,3124 +static u32 hash_once(144,3392 +static void putInt(157,3606 +static unsigned int getInt(181,4314 +static int digit_count(208,5292 +static unsigned int checksum(226,5773 +int delta_create(343,9696 +int delta_output_size(536,16589 +int delta_apply(567,17603 +int delta_analyze(660,20182 + +deltacmd.c,185 +int blob_delta_create(28,863 +void delta_create_cmd(53,1532 +void delta_analyze_cmd(81,2310 +int blob_delta_apply(121,3606 +void delta_apply_cmd(152,4294 +void cmd_test_delta(182,5094 + +deltafunc.c,1167 +static void deltaCreateFunc(29,878 +static void deltaApplyFunc(64,1898 +static void deltaOutputSizeFunc(107,3177 +typedef struct deltaparsevtab_vtab deltaparsevtab_vtab;162,5180 +typedef struct deltaparsevtab_cursor deltaparsevtab_cursor;163,5236 +struct deltaparsevtab_vtab 164,5296 + sqlite3_vtab base;165,5325 +struct deltaparsevtab_cursor 168,5424 + sqlite3_vtab_cursor base;169,5455 + char *aDelta;aDelta170,5517 + int nDelta;171,5575 + int iCursor;172,5639 + int eOp;173,5698 + unsigned int a1,174,5758 + unsigned int a1, a2;174,5758 + int iNext;175,5823 +static const char *const azOp[azOp180,5902 +static unsigned int deltaGetInt(196,6504 +static int deltaparsevtabConnect(233,7851 +static int deltaparsevtabDisconnect(263,8602 +static int deltaparsevtabOpen(272,8819 +static int deltaparsevtabClose(284,9142 +static int deltaparsevtabNext(295,9405 +static int deltaparsevtabColumn(340,10492 +static int deltaparsevtabRowid(376,11574 +static int deltaparsevtabEof(386,11849 +static int deltaparsevtabFilter(397,12263 +static int deltaparsevtabBestIndex(441,13479 +static sqlite3_module deltaparsevtabModule 467,14276 +int deltafunc_init(497,15137 + +descendants.c,345 +void compute_leaves(50,1688 +void compute_ancestors(167,5076 +int compute_youngest_ancestor_in_branch(238,7348 +void compute_direct_ancestors(266,8360 +int mtime_of_manifest_file(286,9039 +void compute_descendants(319,9961 +void descendants_cmd(355,10944 +void leaves_cmd(415,12632 +void leaves_page(550,17009 +void compute_uses_file(647,20519 + +diff.c,3265 +typedef struct DLine DLine;79,2917 +struct DLine 80,2945 + const char *z;z81,2960 + u64 h;82,3013 + unsigned short indent;83,3062 + unsigned short n;84,3141 + unsigned int iNext;85,3189 + unsigned int iHash;90,3447 +#define LENGTH(96,3544 +typedef struct DContext DContext;111,3965 +struct DContext 112,3999 + int *aEdit;aEdit113,4017 + int nEdit;114,4080 + int nEditAlloc;115,4157 + DLine *aFrom;aFrom116,4212 + int nFrom;117,4269 + DLine *aTo;aTo118,4323 + int nTo;119,4381 + int (*xDiffer)xDiffer120,4433 +int count_lines(130,4843 +static DLine *break_into_lines(break_into_lines162,5731 +static int same_dline(243,7457 +static int same_dline_ignore_allws(254,7776 +static int re_dline_match(271,8257 +static void appendDiffLine(288,8679 +static void appendDiffLineno(320,9775 +static void contextDiff(339,10281 +typedef struct SbsLine SbsLine;506,15369 +struct SbsLine 507,15401 + Blob *apCols[apCols508,15418 + int width;509,15487 + unsigned char escHtml;510,15560 + int iStart;511,15624 + const char *zStart;zStart512,15696 + int iEnd;513,15742 + int iStart2;514,15813 + const char *zStart2;zStart2515,15887 + int iEnd2;516,15933 + ReCompiled *pRe;pRe517,16005 +static void sbsWriteNewlines(532,16396 +static void sbsWriteSpace(542,16596 +static void sbsWriteText(557,17188 +static void sbsWriteColumn(624,18986 +static void sbsWriteSep(639,19297 +static void sbsWriteMarker(651,19574 +static void sbsWriteLineno(658,19765 +static int textLCS(682,20589 +static void sbsShiftLeft(738,22451 +static void sbsSimplifyLine(756,22937 +static void sbsWriteLineChange(782,23695 +static int minInt(955,29144 +static int match_dline(969,29636 +static unsigned char *sbsAlignment(sbsAlignment1047,32568 +static int smallGap(1174,36131 +static void sbsDiff(1182,36333 +static void optimalLCS(1439,44119 +static void longestCommonSequence(1493,46159 +static void expandEdit(1586,49078 +static void appendTriple(1594,49261 +static void diff_step(1636,50598 +static void diff_all(1685,52182 +static void diff_optimize(1747,53811 +int diff_context_lines(1822,56206 +int diff_width(1838,56738 +void diff_errmsg(1866,57517 +int *text_diff(text_diff1888,58396 +u64 diff_options(2003,62073 +void test_rawdiff_cmd(2048,63701 +void test_diff_cmd(2075,64409 +typedef struct Annotator Annotator;2113,65571 +struct Annotator 2114,65607 + DContext c;2115,65626 + struct AnnLine 2116,65676 + const char *z;z2117,65733 + short int n;2118,65785 + short int iVers;2119,65855 + } *aOrig;aOrig2120,65913 + int nOrig;2121,65925 + int nVers;2122,65981 + int bMoreToDo;2123,66035 + int origId;2124,66091 + int showId;2125,66145 + struct AnnVers 2126,66206 + const char *zFUuid;zFUuid2127,66225 + const char *zMUuid;zMUuid2128,66277 + const char *zDate;zDate2129,66338 + const char *zBgColor;zBgColor2130,66391 + const char *zUser;zUser2131,66450 + unsigned cnt;2132,66516 + } *aVers;aVers2133,66593 + char **azVers;azVers2134,66646 +static int annotation_start(2142,66896 +static int annotation_step(2171,67723 +static sqlite3_int64 current_time_in_milliseconds(2219,68804 +static void annotate_file(2237,69343 +unsigned gradient_color(2366,73518 +void annotation_page(2420,75682 +void annotate_cmd(2609,83060 + +diffcmd.c,716 +static int determine_exec_relative_option(43,1155 +struct FileDirList 65,1890 + int nUsed;66,1911 + int nName;67,1971 + char *zName;zName68,2016 +static int file_dir_match(78,2257 +void diff_print_index(111,2977 +void diff_print_filenames(126,3372 +void diff_file(176,5030 +void diff_file_mem(306,9292 +void diff_against_disk(390,12100 +static void diff_against_undo(524,16919 +static void diff_manifest_entry(560,18310 +static void diff_two_versions(611,19653 +const char *diff_command_external(diff_command_external688,22047 +void diff_tk(717,22787 +int diff_include_binary_files(780,24838 +const char *diff_get_binary_glob(diff_get_binary_glob795,25244 +void diff_cmd(867,28814 +void vpatch_page(997,33329 + +dispatch.c,1855 +struct CmdOrPage 32,1032 + const char *zName;zName33,1051 + void (*xFunc)xFunc34,1132 + const char *zHelp;zHelp35,1211 + unsigned int eCmdFlags;36,1258 +int dispatch_name_search(93,3840 +int dispatch_alias(158,6061 +void dispatch_matching_names(212,7317 +static int hasGap(226,7735 +static int help_is_link(238,8066 +static void appendLinked(256,8461 +static void appendMixedFont(306,9706 +static void help_to_html(357,11254 +static void help_to_text(504,15143 +static void display_all_help(539,16012 +void test_all_help_cmd(602,18089 +static int countCmds(627,18757 +void test_command_stats_cmd(641,19022 +static int edit_distance(663,19783 +int dispatch_approx_match(703,20601 +void test_approx_match_command(743,21424 +void help_page(772,22282 +void test_all_help_page(892,25701 +static void multi_column_list(939,26946 +void cmd_test_webpage_list(966,27507 +static void command_list(982,27886 +static const char zOptions[zOptions1000,28341 +void help_cmd(1051,30593 +const Setting *setting_info(setting_info1182,34628 +typedef struct helptextVtab_vtab helptextVtab_vtab;1195,35061 +struct helptextVtab_vtab 1196,35113 + sqlite3_vtab base;1197,35140 +typedef struct helptextVtab_cursor helptextVtab_cursor;1205,35407 +struct helptextVtab_cursor 1206,35463 + sqlite3_vtab_cursor base;1207,35492 + sqlite3_int64 iRowid;1210,35646 +static int helptextVtabConnect(1226,36137 +static int helptextVtabDisconnect(1251,36693 +static int helptextVtabOpen(1260,36902 +static int helptextVtabClose(1272,37219 +static int helptextVtabNext(1282,37444 +static int helptextVtabColumn(1292,37702 +static int helptextVtabRowid(1343,39255 +static int helptextVtabEof(1353,39523 +static int helptextVtabFilter(1364,39920 +static int helptextVtabBestIndex(1380,40394 +static sqlite3_module helptextVtabModule 1393,40679 +int helptext_vtab_register(1424,41537 + +doc.c,1173 +const char *mimetype_from_content(mimetype_from_content35,1000 + const char *z;z43,1179 + const unsigned char sz1;44,1238 + const unsigned char of2;45,1296 + const unsigned char sz2;46,1362 + const unsigned char mn;47,1426 + const char *zMimetype;zMimetype48,1485 + const char *zSuffix;zSuffix81,2571 + int size;82,2622 + const char *zMimetype;zMimetype83,2678 +} aMime[aMime84,2740 +static void mimetype_verify(310,16057 +static const char *mimetype_from_name_custom(mimetype_from_name_custom331,16788 +void document_emit_js(419,19224 +const char *mimetype_from_name(mimetype_from_name434,19589 +void mimetype_test_cmd(492,20915 +void mimetype_list_page(507,21250 +int doc_is_embedded_html(585,24178 +int doc_load_content(647,26224 +static int isWithinHtmlMarkup(691,27725 +static int isWithinHref(699,27926 +void convert_href_and_output(727,28786 +void document_render(765,29984 +void doc_page(911,35328 +static const unsigned char aLogo[aLogo1067,40727 +void logo_page(1139,45477 +static const unsigned char aBackground[aBackground1157,45898 +void background_page(1173,46390 +void favicon_page(1203,47288 +void doc_search_page(1229,47948 + +encode.c,1051 +char *htmlize(htmlize31,972 +void htmlize_to_blob(106,2570 +static char *EncodeHttp(EncodeHttp150,3646 +# define IsSafeChar(155,3765 +char *httpize(httpize196,4793 +char *urlize(urlize207,5170 +static int AsciiToHex(214,5289 +int dehttpize(231,5638 +char *fossilize(fossilize280,6701 +void defossilize(323,7699 +u32 fossil_utf8_read(354,8473 +char *encode_json_string_literal(encode_json_string_literal398,9881 +static unsigned char zBase[zBase464,11110 +int translateBase64(472,11387 +char *encode64(encode64501,12308 +void test_encode64_cmd(516,12587 +void decodeBase64(532,13018 +char *decode64(decode64576,14213 +void test_decode64_cmd(590,14518 +static const char zEncode[zEncode610,14877 +int encode16(616,15037 +static const char zDecode[zDecode631,15404 +int decode16(655,16667 +int validate16(674,17167 +void canonical16(693,17636 +void decodeQuotedPrintable(708,17951 +static const unsigned char aObscurer[aObscurer726,18356 +char *obscure(obscure743,18966 +char *unobscure(unobscure765,19607 +void test_obscure_cmd(796,20425 + +etag.c,446 +static char zETag[zETag71,2951 +static int iMaxAge 72,3004 +static sqlite3_int64 iEtagMtime 73,3073 +static int etagCancelled 74,3136 +const char *fossil_exe_id(fossil_exe_id89,3776 +void etag_check(96,3866 +void etag_check_for_invariant_name(184,6512 +void etag_last_modified(202,7124 +const char *etag_tag(etag_tag232,8063 +int etag_maxage(238,8164 +sqlite3_int64 etag_mtime(245,8318 +void test_etag_cmd(262,8717 +void etag_cancel(277,9033 + +event.c,162 +void hyperlink_to_event_tagid(42,1274 +void event_page(66,2009 +int event_commit_common(246,8083 +void eventedit_page(369,11980 +void event_cmd_commit(583,18507 + +export.c,1303 + const char *zTrunkName;zTrunkName28,808 +} gexport;29,865 +struct mark_t 36,977 + char *name;name37,993 + int rid;38,1059 + char uuid[uuid39,1124 +static void print_person(47,1305 +static void print_ref(176,4764 +#define BLOBMARK(226,6134 +#define COMMITMARK(227,6170 +void insert_commit_xref(234,6386 +int create_mark(254,7176 +char * mark_name_from_rid(282,8237 +int parse_mark(305,8938 +int import_marks(375,11189 +void export_mark(405,11874 +void export_marks(431,12822 +void export_cmd(488,14620 +int topological_sort_checkins(770,23689 +void test_topological_sort(835,25428 +static int gitmirror_verbosity 858,26114 +static const char *gitmirror_mainbranch gitmirror_mainbranch863,26274 +static void gitmirror_message(868,26370 +static void gitmirror_sanitize_name(880,26666 +void test_sanitize_name_cmd(914,27880 +static char *gitmirror_quote_filename_if_needed(gitmirror_quote_filename_if_needed939,28574 +static char *gitmirror_find_mark(gitmirror_find_mark981,29533 +static const char zEmptySha3[zEmptySha31009,30382 +static int gitmirror_send_file(1022,30864 +static int gitmirror_send_checkin(1073,32389 +static char *gitmirror_init(gitmirror_init1310,40531 +void gitmirror_export_command(1370,42087 +void gitmirror_status_command(1729,54274 +void gitmirror_command(1832,58337 + +extcgi.c,223 +static const char *azCgiEnv[azCgiEnv39,1368 +const char *ext_pathname_ok(ext_pathname_ok81,2313 +static int isDirWithIndexFile(112,3223 +void ext_page(158,5017 +void ext_files(365,12317 +void ext_filelist_page(385,12761 + +file.c,3322 +struct fossilStat 81,2554 + i64 st_size;82,2574 + i64 st_mtime;83,2591 + int st_mode;84,2609 +# define fossil_isdirsep(89,2680 +# define fossil_isdirsep(91,2749 +# define S_ISLNK(107,3048 + struct fossilStat fileStat;114,3158 + int fileStatValid;115,3231 +} fx;116,3294 +static int fossil_stat(130,3688 +static void resetStat(156,4465 +static int getStat(168,4808 +i64 file_size(189,5290 +i64 file_mtime(198,5575 +int file_mode(207,5854 +int file_isfile_or_link(219,6184 +int file_isfile(230,6524 +void symlink_create(240,6848 +void symlink_copy(281,7860 +int file_perm(299,8476 +int file_isexe(315,8930 +int file_islink(328,9279 +int file_nondir_objects_on_path(354,10128 +int file_unsafe_in_tree_path(388,11051 +int file_isdir(409,11732 +int file_is_repository(431,12245 +int file_access(471,13261 +int file_chdir(488,13620 +char *file_newname(file_newname512,14186 +const char *file_tail(file_tail533,14706 +char *file_dirname(file_dirname549,15167 +void file_dirname_sql_function(562,15420 +int file_rename(581,15794 +void file_copy(605,16369 +void test_file_copy(631,17157 +int file_setexe(646,17612 +void file_set_mtime(675,18192 +void test_set_mtime(701,18806 +int file_delete(725,19468 +void file_delete_sql_function(743,19854 +int file_mkdir(765,20325 +int file_mkfolder(792,21013 +int file_is_normal_dir(833,22331 +void test_is_normal_dir(857,23103 +int file_rmdir(874,23622 +void file_rmdir_sql_function(900,24250 +const char *file_skip_userhost(file_skip_userhost933,25296 +int file_is_simple_pathname(977,26759 +int file_is_simple_pathname_nonstrict(1042,28805 +static int backup_dir(1065,29494 +int file_simplify_name(1088,30079 +void cmd_test_simplify_name(1167,32102 +char *file_getcwd(file_getcwd1196,32893 +int file_is_absolute_path(1221,33450 +void file_canonical_name(1245,34067 +char *file_canonical_name_dup(file_canonical_name_dup1287,35303 +char *file_fullexename(file_fullexename1304,35813 +void test_which_cmd(1390,37994 +static void emitFileStat(1403,38320 +void cmd_test_file_environment(1490,42366 +void cmd_test_canonical_name(1532,43775 +int file_is_canonical(1561,44923 +char *file_without_drive_letter(file_without_drive_letter1585,45479 +void file_relative_name(1597,45796 +void cmd_test_relative_name(1667,47686 +int file_tree_name(1689,48446 +void cmd_test_tree_name(1786,51406 +int file_in_cwd(1805,51917 +void file_parse_uri(1836,52529 +void file_tempname(1886,53745 +char *file_time_tempname(file_time_tempname1995,56353 +void file_test_tempname(2017,57086 +int file_is_the_same(2045,57791 +char *fossil_getenv(fossil_getenv2063,58237 +int fossil_setenv(2078,58583 +int fossil_clearenv(2097,59023 +FILE *fossil_fopen(fossil_fopen2153,60329 +void fossil_fclose(2173,60817 +FILE *fossil_fopen_for_output(fossil_fopen_for_output2193,61250 +const char *file_is_win_reserved(file_is_win_reserved2222,62041 +void file_test_valid_for_windows(2249,62867 +const char *file_cleanup_fullpath(file_cleanup_fullpath2262,63317 +int file_directory_size(2276,63706 +void test_dir_size_cmd(2311,64645 +static int touch_cmd_stamp_one_file(2350,66310 +static int touch_cmd_vfile_mrid(2387,67570 +void touch_cmd(2455,70338 +const char * file_extension(2641,76455 +int file_is_reserved_name(2657,77068 +void test_is_reserved_name_cmd(2717,78888 +int dir_has_ckout_db(2734,79279 + +fileedit.c,2029 +struct CheckinMiniInfo 39,1307 + Manifest * pParent;40,1332 + char *zParentUuid;zParentUuid42,1435 + char *zFilename;zFilename43,1485 + Blob fileContent;45,1612 + Blob fileHash;46,1683 + Blob comment;48,1805 + char *zCommentMimetype;zCommentMimetype49,1856 + char *zUser;zUser50,1922 + char *zDate;zDate51,1961 + Blob *pMfOut;pMfOut54,2142 + int filePerm;57,2346 + int flags;66,2948 +typedef struct CheckinMiniInfo CheckinMiniInfo;68,3012 +enum fossil_cimini_flags 73,3101 +CIMINI_NONE 77,3202 +CIMINI_DRY_RUN 81,3270 +CIMINI_ALLOW_FORK 85,3361 +CIMINI_DUMP_MANIFEST 89,3459 +CIMINI_ALLOW_MERGE_MARKER 95,3629 +CIMINI_ALLOW_OLDER 103,3851 +CIMINI_CONVERT_EOL_INHERIT 111,4122 +CIMINI_CONVERT_EOL_UNIX 115,4233 +CIMINI_CONVERT_EOL_WINDOWS 119,4344 +CIMINI_PREFER_DELTA 124,4500 +CIMINI_STRONGLY_PREFER_DELTA 138,5157 +CIMINI_ALLOW_NEW_FILE 146,5491 +static void CheckinMiniInfo_init(152,5580 +static void CheckinMiniInfo_cleanup(162,5845 +static const char * mfile_permint_mstring(182,6427 +static int mfile_permstr_int(194,6704 +static void checkin_mini_append_fcard(205,7013 +static int create_manifest_mini_fcards(236,7988 +#define mf_err(246,8415 +#define write_this_card(247,8473 +static int create_manifest_mini(330,11326 +#define mf_err(334,11514 +static int checkin_mini(449,15911 +#define ci_err(456,16357 +void test_ci_mini_cmd(751,27983 +Glob *fileedit_glob(fileedit_glob889,32910 +int fileedit_is_editable(911,33523 +static char *fileedit_file_uuid(fileedit_file_uuid926,33989 +static int fileedit_ajax_check_filename(949,34777 +static int fileedit_ajax_setup_filerev(979,35856 +static void fileedit_ajax_content(1043,37578 +static void fileedit_ajax_diff(1108,39413 +static int fileedit_setup_cimi_from_p(1176,41482 +#define fail(1182,41798 +#define p_int(1255,43702 +static void fileedit_render_leaves_list(1309,45043 +static void fileedit_render_checkin_files(1354,46243 +static void fileedit_ajax_filelist(1405,47601 +static void fileedit_ajax_commit(1466,48989 +void fileedit_page(1557,52115 + +finfo.c,101 +void finfo_cmd(64,2618 +void cat_cmd(275,9397 +void finfo_page(336,11770 +void mlink_page(799,28155 + +foci.c,604 +static const char zFociSchema[zFociSchema55,1852 +struct FociTable 78,2570 + sqlite3_vtab base;79,2589 +struct FociCursor 81,2653 + sqlite3_vtab_cursor base;82,2673 + Manifest *pMan;pMan83,2734 + ManifestFile *pFile;pFile84,2785 + int iFile;85,2832 +static int fociConnect(93,2957 +static int fociDisconnect(112,3354 +static int fociBestIndex(124,3691 +static int fociOpen(150,4463 +static int fociClose(162,4782 +static int fociNext(172,5017 +static int fociEof(179,5203 +static int fociFilter(184,5325 +static int fociColumn(210,5968 +static int fociRowid(242,6807 +int foci_register(248,6973 + +forum.c,1942 +struct ForumPost 35,983 + int fpid;36,1002 + int sid;37,1051 + int rev;38,1099 + char *zUuid;zUuid39,1146 + char *zDisplayName;zDisplayName40,1191 + double rDate;41,1255 + ForumPost *pIrt;pIrt42,1305 + ForumPost *pEditHead;pEditHead43,1362 + ForumPost *pEditTail;pEditTail44,1417 + ForumPost *pEditNext;pEditNext45,1479 + ForumPost *pEditPrev;pEditPrev46,1543 + ForumPost *pNext;pNext47,1608 + ForumPost *pPrev;pPrev48,1667 + ForumPost *pDisplay;pDisplay49,1730 + int nEdit;50,1783 + int nIndent;51,1843 +struct ForumThread 57,2001 + ForumPost *pFirst;pFirst58,2022 + ForumPost *pLast;pLast59,2087 + ForumPost *pDisplay;pDisplay60,2151 + ForumPost *pTail;pTail61,2207 + int mxIndent;62,2263 +int forum_rid_has_been_edited(70,2438 +static void forumthread_delete(86,2802 +static ForumPost *forumpost_forward(forumpost_forward100,3159 +static ForumPost *forumpost_backward(forumpost_backward108,3321 +static void forumpost_add_to_display(116,3482 +static void forumthread_display_order(130,3834 +static ForumThread *forumthread_create(forumthread_create161,4742 +static void forum_thread_list(239,6859 +void forumthread_cmd(272,7651 +void forum_render(327,9313 +static char *display_name_from_login(display_name_from_login392,11301 +static char *forum_post_display_name(forum_post_display_name429,12557 +static void forum_display_post(446,13071 + FD_RAW,622,19946 + FD_SINGLE,624,20082 + FD_CHRONO,625,20157 + FD_HIER,626,20217 +static void forum_display_thread(633,20430 +static void forum_emit_js(757,25081 +void forumpost_page(786,26339 +void forumthread_page(808,27156 +static int forum_need_moderation(905,29924 +static int whitespace_only(915,30132 +static int forum_post(926,30365 +static void forum_post_widget(1025,33250 +void forum_page_init(1047,33883 +static void forum_from_line(1103,35365 +void forumnew_page(1116,35560 +void forumedit_page(1169,37273 +void forum_main_page(1359,43771 + +fshell.c,24 +void shell_cmd(51,1585 + +fusefs.c,739 +static struct sGlobal 42,1219 + int rid;44,1289 + char *zSymName;zSymName45,1351 + Manifest *pMan;pMan46,1420 + int iFileRid;48,1532 + ManifestFile *pFile;pFile49,1598 + Blob content;50,1654 + char *az[az52,1735 +} fusefs;53,1790 +static void fusefs_clear_path(58,1839 +static int fusefs_parse_path(72,2132 +static void fusefs_reset(89,2585 +static void fusefs_load_rid(101,2821 +static int fusefs_name_to_rid(112,3129 +static int fusefs_getattr(124,3367 +static int fusefs_readdir(181,4978 +static int fusefs_read(252,6962 +static struct fuse_operations fusefs_methods 283,7907 +void fusefs_cmd(318,9334 +const char *fusefs_lib_version(fusefs_lib_version347,10189 +const char *fusefs_inc_version(fusefs_inc_version355,10348 + +fuzz.c,165 +static int eFuzzType 67,2011 +int LLVMFuzzerTestOneInput(71,2111 +static void fuzzer_options(94,2610 +int LLVMFuzzerInitialize(111,3139 +void fuzz_command(130,3641 + +glob.c,316 +char *glob_expr(glob_expr42,1385 +struct Glob 87,2619 + int nPattern;88,2633 + char **azPattern;azPattern89,2681 +Glob *glob_create(glob_create105,3200 +int glob_match(150,4654 +void glob_free(162,4929 +void glob_render_json_to_blob(175,5245 +void glob_render_json_to_cgi(190,5626 +void glob_test_cmd(215,6276 + +graph.c,1749 +typedef sqlite3_int64 GraphRowId;56,2156 +struct GraphRow 68,2695 + GraphRowId rid;69,2713 + i8 nParent;70,2774 + i8 nCherrypick;71,2829 + i8 nNonCherrypick;72,2904 + u8 nMergeChild;73,2973 + GraphRowId *aParent;aParent74,3034 + char *zBranch;zBranch75,3111 + char *zBgClr;zBgClr76,3159 + char zUuid[zUuid77,3212 + GraphRow *pNext;pNext79,3270 + GraphRow *pPrev;pPrev80,3344 + int idx;82,3394 + int idxTop;83,3463 + GraphRow *pChild;pChild84,3541 + u8 isDup;85,3611 + u8 isLeaf;86,3690 + u8 isStepParent;87,3754 + u8 hasNormalOutMerge;88,3822 + u8 timeWarp;89,3903 + u8 bDescender;90,3964 + u8 selfUp;91,4044 + i8 iRail;92,4116 + i8 mergeOut;93,4197 + u8 mergeIn[mergeIn94,4277 + int aiRiser[aiRiser95,4342 + int mergeUpto;96,4417 + int cherrypickUpto;97,4493 + u64 mergeDown;98,4567 + u64 cherrypickDown;99,4644 + u64 railInUse;100,4717 +struct GraphContext 105,4829 + int nErr;106,4851 + int mxRail;107,4915 + GraphRow *pFirst;pFirst108,4995 + GraphRow *pLast;pLast109,5072 + int nBranch;110,5150 + char **azBranch;azBranch111,5213 + int nRow;112,5270 + int nHash;113,5320 + GraphRow **apHash;apHash114,5383 + u8 aiRailMap[aiRailMap115,5460 +#define BIT(121,5563 +void *safeMalloc(safeMalloc134,5837 +GraphContext *graph_init(graph_init143,5984 +static void graph_clear(150,6119 +void graph_free(168,6452 +static void hashInsert(178,6732 +static GraphRow *hashFind(hashFind193,7045 +static char *persistBranchName(persistBranchName213,7614 +int graph_add_row(227,8064 +static int findFreeRail(277,9775 +static void assignChildrenToRail(315,10713 +static void createMergeRiser(351,11725 +static void find_max_rail(398,13150 +static void riser_to_top(416,13654 +void graph_finish(442,14442 + +gzip.c,264 +struct gzip_state 37,1102 + int eState;38,1122 + int iCRC;39,1188 + z_stream stream;40,1231 + Blob out;41,1284 +} gzip;42,1334 +static void put32(47,1415 +void gzip_begin(57,1587 +void gzip_step(80,2079 +void gzip_finish(111,3046 +void test_gzip_cmd(131,3453 + +hname.c,334 +const char *hname_alg(hname_alg69,2054 +int hname_validate(80,2391 +int hname_verify_hash(101,3106 +int hname_verify_file_hash(133,4051 +int hname_hash(170,5331 +int hname_default_policy(208,6398 +static const char *const azPolicy[azPolicy221,6660 +const char *hpolicy_name(hpolicy_name227,6805 +void hash_policy_command(261,8033 + +hook.c,340 +static const char *azType[azType60,2069 +static int is_valid_hook_type(69,2212 +static void validate_type(80,2430 +static char *hook_subst(hook_subst102,3123 +void hook_expecting_more_artifacts(140,4169 +void hook_changes(165,4832 +void hook_cmd(245,7525 +int hook_backoffice(444,13785 +int hook_exists(500,15417 +int hook_run(518,15939 + +http.c,396 +#define isatty(27,772 +#define fileno(30,823 +static int fSeenHttpAuth 50,1419 +static void http_build_login_card(64,1850 +static void http_build_header(114,3565 +static int use_fossil_creds_for_httpauth_prompt(153,4995 +static int save_httpauth_prompt(165,5269 +char *prompt_for_httpauth_creds(prompt_for_httpauth_creds179,5617 +int http_exchange(221,7005 +void test_httpmsg_command(498,16022 + +http_socket.c,485 +static int socketIsInit 57,1752 +static WSADATA socketInfo;59,1843 +static int iSocket 61,1919 +static char *socketErrMsg socketErrMsg62,1999 +static void socket_clear_errmsg(68,2112 +void socket_set_errmsg(76,2235 +char *socket_errmsg(socket_errmsg87,2455 +void socket_global_init(97,2698 +void socket_global_shutdown(112,3000 +void socket_close(126,3251 +int socket_open(147,3706 +size_t socket_send(200,5190 +size_t socket_receive(220,5686 +void socket_ssh_resolve_addr(244,6420 + +http_ssl.c,893 +static int sslIsInit 46,1391 +static BIO *iBio iBio47,1459 +static char *sslErrMsg sslErrMsg48,1518 +static SSL_CTX *sslCtx;sslCtx49,1587 +static SSL *ssl;ssl50,1634 + char *zHost;zHost52,1729 + char *zHash;zHash53,1788 +} sException;54,1852 +static int sslNoCertVerify 55,1866 +static void ssl_clear_errmsg(60,1967 +void ssl_set_errmsg(68,2078 +const char *ssl_errmsg(ssl_errmsg79,2286 +static int ssl_client_cert_callback(87,2476 +void ssl_global_init(99,2986 +void ssl_global_shutdown(165,5209 +void ssl_close(177,5441 +static int establish_proxy_tunnel(186,5588 +void ssl_disable_cert_verification(241,7197 +int ssl_open(255,7568 +LOCAL void ssl_remember_certificate_exception(438,13284 +LOCAL int ssl_certificate_exception_exists(449,13543 +LOCAL void ssl_one_time_exception(468,14003 +size_t ssl_send(481,14297 +size_t ssl_receive(501,14696 +void test_tlsconfig_info(538,15725 + +http_transport.c,1139 + int isOpen;30,950 + char *pBuf;pBuf31,1020 + int nAlloc;32,1082 + int nUsed 33,1149 + int iCursor;34,1210 + i64 nSent;35,1275 + i64 nRcvd;36,1328 + FILE *pFile;pFile37,1385 + char *zOutFile;zOutFile38,1436 + char *zInFile;zInFile39,1500 + FILE *pLog;pLog40,1563 +} transport 41,1611 +static int sshPid;49,1767 +static int sshIn;50,1833 +static FILE *sshOut;sshOut51,1906 +const char *transport_errmsg(transport_errmsg57,2026 +void transport_stats(70,2311 +static int is_safe_fossil_command(84,2697 +static const char zDefaultSshCmd[zDefaultSshCmd98,3120 +static const char zDefaultSshCmd[zDefaultSshCmd100,3177 +void transport_ssh_command(106,3307 +int transport_ssh_open(115,3520 +int transport_open(167,5304 +void transport_close(204,6452 +void transport_send(240,7271 +void transport_flip(274,8123 +void transport_log(292,8652 +void transport_rewind(304,8909 +static int transport_fetch(314,9101 +int transport_receive(349,9945 +static void transport_load_buffer(388,11078 +char *transport_receive_line(transport_receive_line426,12209 +void transport_global_shutdown(459,12947 +void transport_ssh_close(475,13224 + +import.c,3963 +struct ImportFile 29,830 + char *zName;zName30,850 + char *zUuid;zUuid31,896 + char *zPrior;zPrior32,944 + char isFrom;33,1010 + char isExe;34,1074 + char isLink;35,1124 + const char *zTrunkName;zTrunkName43,1253 + const char *zBranchPre;zBranchPre44,1310 + const char *zBranchSuf;zBranchSuf45,1382 + const char *zTagPre;zTagPre46,1453 + const char *zTagSuf;zTagSuf47,1522 +} gimport;48,1590 + void (*xFinish)xFinish54,1682 + int nData;55,1752 + char *zTag;zTag56,1802 + char *zBranch;zBranch57,1852 + char *zPrevBranch;zPrevBranch58,1918 + char *aData;aData59,1990 + char *zMark;zMark60,2039 + char *zDate;zDate61,2092 + char *zUser;zUser62,2144 + char *zComment;zComment63,2190 + char *zFrom;zFrom64,2246 + char *zPrevCheckin;zPrevCheckin65,2303 + char *zFromMark;zFromMark66,2369 + int nMerge;67,2434 + int nMergeAlloc;68,2493 + char **azMerge;azMerge69,2558 + int nFile;70,2607 + int nFileAlloc;71,2666 + ImportFile *aFile;aFile72,2729 + ImportFile *pInlineFile;pInlineFile73,2801 + int fromLoaded;74,2858 + int tagCommit;75,2933 +} gg;76,2999 +char *fossil_strndup(fossil_strndup81,3035 +char *fossil_strdup(fossil_strdup96,3314 +static void finish_noop(103,3427 +static void import_reset(111,3619 +static int fast_insert_content(152,4862 +static void check_and_add_file(212,6572 +static void finish_blob(226,6985 +static void finish_tag(235,7181 +static int mfile_cmp(258,7846 +static int string_cmp(267,8101 +static void finish_commit(280,8472 +static void trim_newline(389,12372 +static char *next_token(next_token400,12707 +static char *rest_of_line(rest_of_line418,13032 +static char *resolve_committish(resolve_committish440,13424 +static ImportFile *import_add_file(import_add_file450,13643 +static void import_prior_files(465,14015 +static ImportFile *import_find_file(import_find_file500,15043 +static void dequote_git_filename(518,15521 + const char *zMasterName;zMasterName546,16163 + int authorFlag;547,16221 + int nGitAttr;548,16289 + char *zUser;zUser550,16419 + char *zEmail;zEmail551,16436 + } *gitUserInfo;gitUserInfo552,16454 +} ggit;553,16472 +static void git_fast_import(559,16590 + int rev;844,25924 + char *zDate;zDate845,25980 + char *zUser;zUser846,26032 + char *zComment;zComment847,26078 + const char *zTrunk;zTrunk848,26134 + int lenTrunk;849,26204 + const char *zBranches;zBranches850,26264 + int lenBranches;851,26337 + const char *zTags;zTags852,26400 + int lenTags;853,26469 + Bag newBranches;854,26528 + int revFlag;855,26608 + const char *zRevPre;zRevPre856,26681 + const char *zRevSuf;zRevSuf857,26749 + const char **azIgnTree;azIgnTree858,26816 +} gsvn;859,26891 + char *zKey;zKey861,26916 + char *zVal;zVal862,26930 +} KeyVal;863,26944 + KeyVal *aHeaders;aHeaders865,26971 + int nHeaders;866,26991 + char *pRawProps;pRawProps867,27007 + KeyVal *aProps;aProps868,27026 + int nProps;869,27044 + Blob content;870,27058 + int contentFlag;871,27074 +} SvnRecord;872,27093 +#define svn_find_header(874,27107 +#define svn_find_prop(876,27208 +static char *svn_find_keyval(svn_find_keyval878,27299 +static void svn_free_rec(892,27528 +static int svn_read_headers(903,27778 +static void svn_read_props(941,28885 +static int svn_read_rec(1007,30733 +char *rid_to_uuid(rid_to_uuid1034,31449 +static void svn_finish_revision(1045,31678 +static u64 svn_get_varint(1214,38268 +static void svn_apply_svndiff(1222,38418 +static int svn_parse_path(1275,39975 +static int svn_handle_symlinks(1344,41982 +static void svn_dump_import(1364,42523 +void import_cmd(1724,56210 + const char *zOpt,zOpt1748,56954 + const char *zOpt, **varPre,varPre1748,56954 + const char *zOpt, **varPre, *zDefaultPre,zDefaultPre1748,56954 + const char *zOpt, **varPre, *zDefaultPre, **varSuf,varSuf1748,56954 + const char *zOpt, **varPre, *zDefaultPre, **varSuf, *zDefaultSuf;zDefaultSuf1748,56954 + int format;1749,57024 + +info.c,1849 +char *info_tags_of_checkin(info_tags_of_checkin34,1139 +void show_common_info(55,1738 +static void extraRepoInfo(131,4280 +static void showParentProject(163,5303 +void info_cmd(198,6542 +void render_checkin_context(277,8828 +static void append_diff(332,10269 +static void append_file_change_line(373,11311 +void append_diff_javascript(450,14156 +u64 construct_diff_flags(459,14386 +void ci_tags_page(496,15445 +void ci_page(620,19247 +void winfo_page(958,30873 +static Manifest *vdiff_parse_manifest(vdiff_parse_manifest1071,34535 +static void checkin_description(1095,35109 +void vdiff_page(1175,37688 +int object_description(1382,44210 +int preferred_diff_type(1685,53579 +void diff_page(1722,54890 +void rawartifact_page(1842,58746 +void secure_rawartifact_page(1874,59569 +void deliver_artifact(1897,60191 +static void hexdump(1932,61174 +void hexdump_page(2009,63023 +int artifact_from_ci_and_filename(2071,65211 +void output_text_with_line_numbers(2130,67226 +void cmd_test_line_numbers(2237,70558 +void artifact_page(2300,72805 +void tinfo_page(2642,84502 +void info_page(2756,88234 +static int comment_compare(2845,90542 +static void init_newtags(2874,91306 +static void change_special(2878,91414 +static void change_sym_tag(2886,91689 +static void cancel_special(2890,91832 +static void add_color(2894,91911 +static void cancel_color(2898,92049 +static void add_comment(2902,92119 +static void add_date(2906,92217 +static void add_user(2910,92303 +static void add_tag(2914,92389 +static void cancel_tag(2918,92465 +static void hide_branch(2926,92764 +static void close_leaf(2930,92832 +static void change_branch(2934,92921 +static void apply_newtags(2951,93435 +int is_datetime(3004,94974 +void ci_edit_page(3039,96362 +static void prepare_amend_comment(3343,107684 +void ci_amend_cmd(3400,109866 +void test_symlink_list_cmd(3568,116063 + +interwiki.c,227 +char *interwiki_url(interwiki_url73,2712 +int interwiki_removable_prefix(137,4518 +static int interwiki_valid_name(152,4844 +void interwiki_cmd(184,5720 +void interwiki_append_map_table(276,8286 +void interwiki_page(308,9081 + +json.c,3008 +const FossilJsonKeys_ FossilJsonKeys 44,1346 +int json_request_is_json_api(63,1964 +int fossil_has_json(98,3267 +cson_value * json_page_nyi(106,3456 +static char const * json_err_cstr(116,3744 +#define C(119,3845 +int cson_data_dest_Blob(171,5919 +int cson_data_src_Blob(182,6260 +int cson_output_Blob(192,6554 +cson_value * cson_parse_Blob(207,7111 +int cson_data_dest_cgi(218,7434 +char const * json_rc_cstr(234,8015 +void json_gc_add(261,8967 +cson_value * json_rc_string(287,9775 +cson_value * json_new_string(291,9877 +cson_value * json_new_string_f(297,10000 +cson_value * json_new_int(309,10255 +cson_value * json_getenv(327,10901 +int json_getenv_int(389,12697 +int json_getenv_bool(426,14057 +char const * json_getenv_cstr(462,15244 +char const * json_find_option_cstr2(482,15891 +char const * json_find_option_cstr(507,16626 +int json_find_option_bool(517,16974 +int json_find_option_int(538,17531 +int json_setenv(566,18393 +char const * json_guess_content_type(582,18984 +int json_can_consume_content_type(627,20240 +void json_send_response(647,21048 +cson_value * json_auth_token(693,22611 +cson_value * json_req_payload_get(742,24617 +int json_is_bootstrapped_early(756,25076 +void json_bootstrap_early(775,25866 +void json_warn(835,27862 +int json_string_split(885,29687 +cson_value * json_string_split2(960,31928 +void json_bootstrap_late(987,32865 +char const * json_command_arg(1168,38771 +char const * json_auth_token_cstr(1204,39846 +JsonPageDef const * json_handler_for_name(1215,40125 +static int json_dumbdown_rc(1237,40748 +cson_value * json_julian_to_timestamp(1262,41521 +cson_int_t json_timestamp(1271,41756 +cson_value * json_new_timestamp(1281,42038 +static cson_value * json_response_command_path(1291,42415 +cson_value * json_g_to_json(1328,43520 +#define INT(1333,43637 +#define CSTR(1334,43700 +#define VAL(1335,43795 +static cson_value * json_create_response(1442,46700 +#define SET(1453,47128 +void json_err(1584,50899 +int json_set_err(1633,52262 +cson_value * json_stmt_to_array_of_obj(1659,53107 +cson_value * json_stmt_to_array_of_array(1705,54539 +cson_value * json_stmt_to_array_of_values(1720,54937 +cson_value * json_sql_to_array_of_obj(1750,55904 +cson_value * json_tags_for_checkin_rid(1776,56656 +cson_value * json_value_to_bool(1795,57227 +cson_value * json_page_resultCodes(1805,57411 +#define C(1817,57837 +cson_value * json_page_version(1872,59150 +#define FSET(1877,59313 +cson_value * json_cap_value(1899,60181 +cson_value * json_page_cap(1926,60840 +#define ADD(1951,61818 +cson_value * json_page_stat(1993,62943 +#define SETBUF(2011,63425 +static int json_pagedefs_to_string(2106,67554 +void json_dispatch_missing_args_err(2133,68395 +cson_value * json_page_dispatch_helper(2147,68870 +static cson_value * json_page_rebuild(2173,69549 +static cson_value * json_page_g(2199,70360 +static const JsonPageDef JsonPageDefs[JsonPageDefs2241,71573 +static int json_dispatch_root_command(2280,72884 +void json_page_top(2316,73925 +void json_cmd_top(2378,75467 + +json_artifact.c,713 +typedef cson_value * (*artifact_f)artifact_f39,1235 +typedef struct ArtifactDispatchEntry 44,1362 + char const * name;48,1472 + artifact_f func;54,1627 +} ArtifactDispatchEntry;55,1646 +cson_value * json_parent_uuids_for_ci(64,1887 +cson_value * json_artifact_for_ci(88,2574 +#define SET(118,3506 +cson_value * json_artifact_ticket(184,5161 +static cson_value * json_artifact_ci(214,6122 +static ArtifactDispatchEntry ArtifactDispatchList[ArtifactDispatchList232,6655 +static int json_artifact_get_content_format_flag(251,7236 +cson_value * json_artifact_wiki(262,7639 +char const * json_artifact_status_to_string(283,8414 +cson_value * json_artifact_file(291,8571 +cson_value * json_page_artifact(403,12752 + +json_branch.c,496 +static const JsonPageDef JsonPageDefs_Branch[JsonPageDefs_Branch32,803 +cson_value * json_page_branch(45,1144 +static cson_value * json_branch_list(65,1629 +typedef struct BranchCreateOptions{BranchCreateOptions155,3925 + char const * zName;156,3961 + char const * zBasis;157,3983 + char const * zColor;158,4006 + int isPrivate;159,4029 + char const * rcErrMsg;164,4122 +} BranchCreateOptions;165,4147 +static int json_branch_new(181,4723 +static cson_value * json_branch_create(322,9466 + +json_config.c,360 +static const JsonPageDef JsonPageDefs_Config[JsonPageDefs_Config32,800 +cson_value * json_page_config(44,1036 +static const struct JsonConfigProperty 54,1330 + char const * name;55,1371 + int groupMask;56,1392 +} JsonConfigProperties[JsonConfigProperties57,1409 +static cson_value * json_config_get(110,3402 +static cson_value * json_config_save(186,5447 + +json_diff.c,77 +cson_value * json_generate_diff(37,976 +cson_value * json_page_diff(87,2349 + +json_dir.c,200 +static const JsonPageDef JsonPageDefs_Dir[JsonPageDefs_Dir31,785 +static char const * json_dir_path_extra(38,926 +static cson_value * json_page_dir_list(54,1201 +cson_value * json_page_dir(286,9009 + +json_finfo.c,37 +cson_value * json_page_finfo(30,706 + +json_login.c,164 +cson_value * json_page_login(31,686 +cson_value * json_page_logout(186,5731 +cson_value * json_page_anon_password(212,6635 +cson_value * json_page_whoami(231,7160 + +json_query.c,38 +cson_value * json_page_query(43,1067 + +json_report.c,388 +static const JsonPageDef JsonPageDefs_Report[JsonPageDefs_Report36,902 +cson_value * json_page_report(50,1221 +static int json_report_get_number(68,1680 +static cson_value * json_report_create(82,2100 +static cson_value * json_report_get(87,2198 +static cson_value * json_report_list(127,3228 +static cson_value * json_report_run(163,4176 +static cson_value * json_report_save(260,6741 + +json_status.c,38 +cson_value * json_page_status(41,888 + +json_tag.c,279 +static const JsonPageDef JsonPageDefs_Tag[JsonPageDefs_Tag34,864 +cson_value * json_page_tag(47,1147 +static cson_value * json_tag_add(55,1271 +static cson_value * json_tag_cancel(143,3616 +static cson_value * json_tag_find(193,4856 +static cson_value * json_tag_list(328,8616 + +json_timeline.c,734 +static const JsonPageDef JsonPageDefs_Timeline[JsonPageDefs_Timeline33,853 +cson_value * json_page_timeline(54,1445 +static void json_timeline_temp_table(71,1947 +char const * json_timeline_query(98,2671 +static char json_timeline_add_tag_branch_clause(148,4446 +static char json_timeline_add_time_clause(225,7130 +static int json_timeline_limit(260,8240 +static int json_timeline_setup_sql(288,9207 +cson_value * json_get_changed_files(320,10286 +static cson_value * json_timeline_branch(369,12189 +static cson_value * json_timeline_ci(450,14955 +#define SET(479,15821 +cson_value * json_timeline_event(531,17258 +cson_value * json_timeline_wiki(587,18992 +static cson_value * json_timeline_ticket(648,20689 +#define SET(671,21424 + +json_user.c,479 +static const JsonPageDef JsonPageDefs_User[JsonPageDefs_User33,830 +cson_value * json_page_user(46,1087 +static cson_value * json_user_list(54,1244 +static cson_value * json_load_user_by_name(83,2059 +static cson_value * json_load_user_by_id(105,2646 +static cson_value * json_user_get(127,3163 +int json_user_update_from_json(174,4811 +#define CSTR(175,4866 +static cson_value * json_user_save(398,11801 +#define PROP(408,12096 +#define PROP(416,12364 +#define PROP(421,12558 + +json_wiki.c,692 +static const JsonPageDef JsonPageDefs_Wiki[JsonPageDefs_Wiki35,951 +cson_value * json_page_wiki(52,1341 +char * json_wiki_get_uuid_for_rid(61,1595 +cson_value * json_get_wiki_page_by_rid(85,2546 +cson_value * json_get_wiki_page_by_name(168,5918 +int json_wiki_get_content_format_flag(198,6813 +static cson_value * json_wiki_get_by_name_or_symname(224,7614 +static cson_value * json_wiki_get(249,8456 +static cson_value * json_wiki_preview(280,9375 +static cson_value * json_wiki_create_or_save(322,11079 +static cson_value * json_wiki_create(433,14731 +static cson_value * json_wiki_save(440,14858 +static cson_value * json_wiki_list(448,15073 +static cson_value * json_wiki_diff(515,17227 + +leaf.c,413 +int is_a_leaf(34,986 +int count_nonbranch_children(58,1796 +void leaf_rebuild(85,2603 +static Bag needToCheck;103,3120 +void leaf_check(109,3271 +char *leaf_is_closed_sql(leaf_is_closed_sql148,4505 +int leaf_is_closed(163,4885 +void leaf_eventually_check(172,5118 +void leaf_do_pending_checks(189,5517 +int leaf_ambiguity(204,5912 +int leaf_ambiguity_warning(226,6637 +void leaf_ambiguity_warning_test(267,7880 + +linenoise.c,3145 +static char *unsupported_term[unsupported_term122,4241 +static linenoiseCompletionCallback *completionCallback completionCallback123,4307 +static linenoiseHintsCallback *hintsCallback hintsCallback124,4370 +static linenoiseFreeHintsCallback *freeHintsCallback freeHintsCallback125,4423 +static struct termios orig_termios;127,4485 +static int maskmode 128,4555 +static int rawmode 129,4630 +static int mlmode 130,4711 +static int atexit_registered 131,4782 +static int history_max_len 132,4851 +static int history_len 133,4915 +static char **history history134,4943 +struct linenoiseState 139,5136 + int ifd;140,5160 + int ofd;141,5222 + char *buf;buf142,5285 + size_t buflen;143,5335 + const char *prompt;prompt144,5390 + size_t plen;145,5439 + size_t pos;146,5484 + size_t oldpos;147,5539 + size_t len;148,5603 + size_t cols;149,5661 + size_t maxrows;150,5722 + int history_index;151,5801 +enum KEY_ACTION{KEY_ACTION154,5879 + KEY_NULL 155,5896 + CTRL_A 156,5926 + CTRL_B 157,5960 + CTRL_C 158,5994 + CTRL_D 159,6028 + CTRL_E 160,6062 + CTRL_F 161,6096 + CTRL_H 162,6130 + TAB 163,6164 + CTRL_K 164,6195 + CTRL_L 165,6229 + ENTER 166,6263 + CTRL_N 167,6296 + CTRL_P 168,6330 + CTRL_T 169,6364 + CTRL_U 170,6398 + CTRL_W 171,6432 + ESC 172,6466 + BACKSPACE 173,6500 +FILE *lndebug_fp lndebug_fp182,6700 +#define lndebug(183,6725 +#define lndebug(196,7187 +void linenoiseMaskModeEnable(205,7562 +void linenoiseMaskModeDisable(210,7645 +void linenoiseSetMultiLine(215,7752 +static int isUnsupportedTerm(221,7938 +static int enableRawMode(232,8205 +static void disableRawMode(267,9396 +static int getCursorPosition(276,9746 +static int getColumns(300,10382 +void linenoiseClearScreen(334,11329 +static void linenoiseBeep(342,11592 +static void freeCompletions(350,11837 +static int completeLine(364,12318 +void linenoiseSetCompletionCallback(423,14086 +void linenoiseSetHintsCallback(429,14289 +void linenoiseSetFreeHintsCallback(435,14500 +void linenoiseAddCompletion(443,14839 +struct abuf 465,15589 + char *b;b466,15603 + int len;467,15616 +static void abInit(470,15633 +static void abAppend(475,15709 +static void abFree(484,15918 +void refreshShowHints(490,16080 +static void refreshSingleLine(518,17177 +static void refreshMultiLine(563,18437 +static void refreshLine(653,21203 +int linenoiseEditInsert(663,21469 +void linenoiseEditMoveLeft(691,22331 +void linenoiseEditMoveRight(699,22491 +void linenoiseEditMoveHome(707,22670 +void linenoiseEditMoveEnd(715,22843 +void linenoiseEditHistoryNext(726,23158 +void linenoiseEditDelete(750,24152 +void linenoiseEditBackspace(760,24424 +void linenoiseEditDeletePrevWord(772,24770 +static int linenoiseEdit(794,25492 +void linenoisePrintKeyCodes(981,32158 +static int linenoiseRaw(1008,33116 +static char *linenoiseNoTTY(linenoiseNoTTY1028,33840 +char *linenoise(linenoise1065,34960 +void linenoiseFree(1096,36011 +static void freeHistory(1104,36279 +static void linenoiseAtExit(1115,36521 +int linenoiseHistoryAdd(1127,37044 +int linenoiseHistorySetMaxLen(1160,38200 +int linenoiseHistorySave(1190,39026 +int linenoiseHistoryLoad(1210,39618 + +loadctrl.c,86 +double load_average(28,843 +void loadavg_test_cmd(45,1153 +void load_control(53,1333 + +login.c,1904 +const char *login_group_name(login_group_name59,2134 +const char *login_cookie_path(login_cookie_path75,2473 +char *login_cookie_name(login_cookie_name90,2851 +static void redirect_to_g(107,3303 +static char *abbreviated_project_code(abbreviated_project_code122,3602 +int login_is_valid_anonymous(134,3916 +void create_accesslog_table(156,4731 +static void record_login_attempt(170,5024 +int login_search_uid(204,6344 +char *login_gen_user_cookie_value(login_gen_user_cookie_value251,7892 +void login_set_user_cookie(277,9018 +void login_set_anon_cookie(326,10725 +void login_clear_login_data(359,11954 +static int prefix_match(386,12846 +static int isHuman(400,13266 +int user_agent_is_likely_mobile(447,15241 +void test_ishuman(461,15603 +static void constant_time_cmp_function(472,15883 +int referred_from_login(499,16479 +int login_self_register_available(516,16991 +void login_page(544,17927 +static int login_transfer_credentials(839,27791 +int login_is_special(899,29829 +static int login_find_user(914,30312 +static int login_basic_authentication(936,30893 +void login_check_credentials(996,32771 +static int login_anon_once 1225,40311 +void login_set_anon_nobody_capabilities(1235,40676 +void login_set_capabilities(1266,41671 +void login_replace_capabilities(1352,45442 +int login_has_capability(1366,45886 +void login_as_user(1421,47938 +int login_is_nobody(1450,48787 +int login_is_individual(1458,48987 +const char *login_name(login_name1466,49234 +void login_needed(1474,49431 +void login_anonymous_available(1513,50525 +void login_insert_csrf_secret(1526,50960 +void login_verify_csrf_secret(1537,51413 +static int login_self_choosen_userid_already_exists(1551,51792 +int authorized_subscription_email(1571,52503 +void register_page(1595,53076 +int login_group_sql(1884,63690 +void login_group_join(1966,66431 +void login_group_leave(2100,71266 +void login_group_command(2152,72996 + +lookslike.c,435 +#define looks_like_binary(33,985 +static const unsigned char lb_tab[lb_tab68,2913 +int looks_like_utf8(119,5280 +int invalid_utf8(183,7501 +#define UTF16_SWAP(232,8949 +#define UTF16_SWAP_IF(233,9028 +int looks_like_utf16(267,10629 +const unsigned char *get_utf8_bom(get_utf8_bom330,12534 +int starts_with_utf8_bom(342,12808 +int starts_with_utf16_bom(363,13638 +int could_be_utf16(393,14617 +void looks_like_utf_test_cmd(413,15271 + +main.c,7780 +# define isatty(26,789 +struct FossilUserPerms 80,1956 + char Setup;81,1981 + char Admin;82,2050 + char Password;83,2110 + char Query;84,2160 + char Write;85,2213 + char Read;86,2270 + char Hyperlink;87,2329 + char Clone;88,2396 + char RdWiki;89,2436 + char NewWiki;90,2488 + char ApndWiki;91,2546 + char WrWiki;92,2603 + char ModWiki;93,2655 + char RdTkt;94,2734 + char NewTkt;95,2789 + char ApndTkt;96,2842 + char WrTkt;97,2906 + char ModTkt;98,2972 + char Attach;99,3053 + char TktFmt;100,3103 + char RdAddr;101,3170 + char Zip;102,3247 + char Private;103,3319 + char WrUnver;104,3390 + char RdForum;105,3453 + char WrForum;106,3504 + char WrTForum;107,3561 + char ModForum;108,3636 + char AdminForum;109,3711 + char EmailAlert;110,3779 + char Announce;111,3845 + char Chat;112,3898 + char Debug;113,3959 + char XReader;115,4094 + char XDeveloper;116,4163 +struct TclContext 125,4440 + int argc;126,4460 + char **argv;argv127,4532 + void *hLibrary;hLibrary128,4611 + void *xFindExecutable;xFindExecutable129,4673 + void *xCreateInterp;xCreateInterp130,4744 + void *xDeleteInterp;xDeleteInterp131,4813 + void *xFinalize;xFinalize132,4882 + Tcl_Interp *interp;interp133,4947 + int useObjProc;134,5017 + int useTip285;135,5095 + char *setup;setup136,5161 + void *xPreEval;xPreEval137,5223 + void *pPreContext;pPreContext138,5291 + void *xPostEval;xPostEval139,5356 + void *pPostContext;pPostContext140,5423 +struct Global 144,5500 + int argc;145,5516 + int argc; char **argv;argv145,5516 + char *nameOfExe;nameOfExe146,5586 + const char *zErrlog;zErrlog147,5643 + int isConst;148,5712 + const char *zVfsName;zVfsName149,5789 + sqlite3 *db;db150,5861 + sqlite3 *dbConfig;dbConfig151,5925 + char *zAuxSchema;zAuxSchema152,6001 + int dbIgnoreErrors;153,6060 + char *zConfigDbName;zConfigDbName154,6123 + sqlite3_int64 now;155,6201 + int repositoryOpen;156,6252 + unsigned iRepoDataVers;157,6329 + char *zRepositoryOption;zRepositoryOption158,6407 + char *zRepositoryName;zRepositoryName159,6483 + char *zLocalDbName;zLocalDbName160,6552 + char *zOpenRevision;zOpenRevision161,6616 + const char *zCmdName;zCmdName162,6693 + int localOpen;163,6770 + char *zLocalRoot;zLocalRoot164,6837 + int minPrefix;165,6911 + int eHashPolicy;166,6987 + int fSqlTrace;167,7058 + int fSqlStats;168,7125 + int fSqlPrint;169,7202 + int fCgiTrace;170,7269 + int fQuiet;171,7331 + int fJail;172,7394 + int fHttpTrace;173,7461 + int fAnyTrace;174,7522 + char *zHttpAuth;zHttpAuth175,7574 + int fSystemTrace;176,7647 + int fSshTrace;177,7725 + int fSshClient;178,7785 + int fNoHttpCompress;179,7850 + char *zSshCmd;zSshCmd180,7927 + int fNoSync;181,7978 + int fIPv4;182,8048 + char *zPath;zPath183,8112 + char *zExtra;zExtra184,8173 + char *zBaseURL;zBaseURL185,8250 + char *zHttpsURL;zHttpsURL186,8316 + char *zTop;zTop187,8378 + int nExtraURL;188,8436 + const char *zExtRoot;zExtRoot189,8501 + const char *zContentType;zContentType190,8572 + int iErrPriority;191,8650 + char *zErrMsg;zErrMsg192,8716 + int sslNotAvailable;193,8773 + Blob cgiIn;194,8854 + int cgiOutput;195,8914 + int xferPanic;196,8983 + int fullHttpReply;197,9053 + Th_Interp *interp;interp198,9132 + char *th1Setup;th1Setup199,9184 + int th1Flags;200,9259 + FILE *httpIn;httpIn201,9323 + FILE *httpOut;httpOut202,9383 + int xlinkClusterOnly;203,9437 + int fTimeFormat;204,9510 + int *aCommitFile;aCommitFile205,9591 + int markPrivate;206,9654 + char *ckinLockFail;ckinLockFail207,9724 + int clockSkewSeen;208,9799 + int wikiFlags;209,9879 + char isHTTP;210,9947 + char javascriptHyperlink;211,10022 + Blob httpHeader;212,10098 + UrlData url;213,10171 + const char *zLogin;zLogin214,10233 + const char *zCkoutAlias;zCkoutAlias215,10307 + const char *zMainMenuFile;zMainMenuFile216,10388 + const char *zSSLIdentity;zSSLIdentity217,10458 + const char *zPidKey;zPidKey220,10620 + int useLocalauth;223,10771 + int noPswd;224,10839 + int userUid;225,10913 + int isHuman;226,10961 + int comFmtFlags;227,11040 + int rcvid;231,11248 + char *zIpAddr;zIpAddr232,11314 + char *zNonce;zNonce233,11368 + struct FossilUserPerms perm;236,11472 + struct FossilUserPerms anon;241,11697 + struct TclContext tcl;245,11812 + char zCsrfToken[zCsrfToken249,11908 + int okCsrf;250,11969 + int parseCnt[parseCnt252,12039 + FILE *fDebug;fDebug253,12098 + int fNoThHook;255,12210 + int thTrace;257,12287 + Blob thLog;258,12355 + int isHome;260,12421 + int nAux;263,12557 + const char *azAuxName[azAuxName264,12638 + char *azAuxParam[azAuxParam265,12714 + const char *azAuxVal[azAuxVal266,12791 + const char **azAuxOpt[azAuxOpt267,12868 + int anAuxCols[anAuxCols268,12938 + int allowSymlinks;269,13015 + int mainTimerId;270,13085 + int nPendingRequest;271,13152 + int nRequest;272,13229 + int bAvoidDeltaManifests;273,13292 + struct FossilJsonBits 275,13393 + int isJsonMode;276,13419 + int preserveRc;284,13906 + int resultCode;287,14100 + int errorDetailParanoia;289,14230 + cson_output_opt outOpt;290,14310 + cson_value *authToken;authToken291,14381 + const char *jsonp;jsonp292,14439 + unsigned char dispatchDepth 293,14508 + cson_value *v;v299,14868 + cson_array *a;a300,14889 + } gc;301,14910 + cson_value *v;v303,14973 + cson_array *a;a304,14994 + int offset;305,15015 + const char *commandStr commandStr311,15392 + } cmd;312,15453 + cson_value *v;v314,15517 + cson_object *o;o315,15538 + } post;316,15560 + cson_value *v;v318,15641 + cson_object *o;o319,15662 + } param;320,15684 + cson_value *v;v322,15710 + cson_object *o;o323,15731 + } reqPayload;324,15753 + cson_array *warnings;warnings325,15822 + int timerId;326,15877 + } json;327,15948 + int diffCnt[diffCnt329,15990 +#define CGIDEBUG(335,16097 +Global g;339,16154 +static void fossil_atexit(345,16249 +void expand_args_option(414,18436 +static char **copy_args(copy_args523,21705 +static const char *fossil_sqlite_return_code_name(fossil_sqlite_return_code_name538,22032 +static void fossil_sqlite_log(580,23896 +static void fossil_init_flags_from_options(621,25312 +static int fossilExeHasAppendedRepo(638,25850 + int _dowildcard 659,26413 + int wmain(660,26492 + int _CRT_glob 662,26594 + int main(663,26646 + int main(665,26721 +int fossil_main(673,27082 +void usage(978,37227 +static void remove_from_argv(985,37401 +const char *find_option(find_option1014,38478 +int has_option(1056,39566 +const char **find_repeatable_option(find_repeatable_option1088,40400 +const char *find_repository_option(find_repository_option1117,41231 +void verify_all_options(1143,42277 +const char *get_version(get_version1165,42807 +void fossil_version_blob(1176,43204 +const char *get_user_agent(get_user_agent1287,46841 +void version_cmd(1304,47306 +void test_version_page(1324,47702 +void set_base_url(1351,48538 +NORETURN void fossil_redirect_home(1451,51815 +char *enter_chroot_jail(enter_chroot_jail1470,52435 +void sigsegv_handler(1522,53722 +void sigpipe_handler(1547,54326 +int fossil_wants_https(1565,54833 +int fossil_redirect_to_https_if_needed(1577,55231 +static void process_one_web_page(1614,56607 +static void redirect_web_page(2086,73391 +void cmd_cgi(2220,78643 +static void find_server_repository(2462,87403 +void parse_pid_key_value(2512,89142 +void test_pid_page(2539,90003 +void cmd_http(2633,94699 +void ssh_request_loop(2727,97705 +void cmd_test_http(2749,98323 +static void sigalrm_handler(2786,99302 +void fossil_set_timeout(2799,99599 +void cmd_webserver(2907,105469 +void test_echo_cmd(3189,115278 +void test_warning_page(3223,116261 + +makeheaders.c,5420 +static int debugMask 55,2071 +# define debug0(56,2097 +# define debug1(57,2166 +# define debug2(58,2237 +# define debug3(59,2310 +# define debug0(64,2487 +# define debug1(65,2518 +# define debug2(66,2552 +# define debug3(67,2589 +typedef struct Token Token;82,2971 +struct Token 83,2999 + const char *zText;zText84,3014 + int nText;85,3068 + int eType;86,3141 + int nLine;87,3196 + Token *pComment;pComment88,3270 + Token *pNext;pNext89,3346 + Token *pPrev;pPrev90,3401 +typedef struct InStream InStream;97,3595 +struct InStream 98,3629 + const char *z;z99,3647 + int i;100,3706 + int nLine;101,3776 +typedef struct Decl Decl;119,4388 +struct Decl 120,4414 + char *zName;zName121,4428 + const char *zFile;zFile124,4650 + char *zIf;zIf125,4705 + char *zFwd;zFwd126,4771 + char *zFwdCpp;zFwdCpp127,4845 + char *zDecl;zDecl128,4910 + char *zExtra;zExtra129,4971 + int extraType;130,5049 + struct Include *pInclude;pInclude131,5127 + int flags;132,5207 + Token *pComment;pComment133,5261 + Token tokenCode;134,5337 + Decl *pSameName;pSameName135,5407 + Decl *pSameHash;pSameHash136,5473 + Decl *pNext;pNext137,5552 +#define DeclHasProperty(190,8229 +#define DeclHasAnyProperty(191,8285 +#define DeclSetProperty(192,8339 +#define DeclClearProperty(193,8389 +typedef struct Ifmacro Ifmacro;238,10343 +struct Ifmacro 239,10375 + int nLine;240,10392 + char *zCondition;zCondition241,10455 + Ifmacro *pNext;pNext242,10519 + int flags;243,10569 +typedef struct Include Include;251,10826 +struct Include 252,10858 + char *zFile;zFile253,10875 + char *zIf;zIf254,10947 + char *zLabel;zLabel255,11022 + Include *pNext;pNext257,11156 +typedef struct Ident Ident;265,11457 +struct Ident 266,11485 + char *zName;zName267,11500 + Ident *pCollide;pCollide268,11556 + Ident *pNext;pNext269,11619 +typedef struct IdentTable IdentTable;277,11810 +struct IdentTable 278,11848 + Ident *pList;pList279,11868 + Ident *apTable[apTable280,11948 +typedef struct InFile InFile;287,12135 +struct InFile 288,12165 + char *zSrc;zSrc289,12181 + char *zHdr;zHdr290,12233 + int flags;292,12386 + InFile *pNext;pNext293,12457 + IdentTable idTable;294,12530 +typedef struct String String;301,12749 +struct String 302,12779 + int nAlloc;303,12795 + int nUsed;304,12846 + char *zText;zText305,12922 +typedef struct GenState GenState;315,13297 +struct GenState 316,13331 + String *pStr;pStr317,13349 + IdentTable *pTable;pTable318,13408 + const char *zIf;zIf321,13620 + int nErr;323,13737 + const char *zFilename;zFilename324,13785 + int flags;325,13854 +const char zTopLine[zTopLine336,14219 +static const char *zFilename;zFilename344,14427 +static Ifmacro *ifStack ifStack349,14528 +static Include *includeList includeList355,14646 +static Token *blockComment blockComment360,14718 +static int doc_flag 366,14835 +static int proto_static 372,14993 +static Decl *pDeclFirst;pDeclFirst378,15135 +static Decl *pDeclLast;pDeclLast379,15187 +static Decl *apTable[apTable385,15309 +#define Assert(400,15578 +static void CantHappen(402,15675 +static void *SafeMalloc(SafeMalloc411,15898 +static void SafeFree(419,16080 +static void *SafeRealloc(SafeRealloc424,16150 +static char *StrDup(StrDup438,16446 +#define ISALNUM(452,16731 +static void StringInit(457,16831 +static void StringReset(462,16929 +static void StringAppend(466,17015 +#define StringGet(483,17522 +static int Hash(489,17680 +static Decl *FindDecl(FindDecl505,18026 +static void InstallDecl(524,18414 +static char *GetIfString(GetIfString560,19259 +static Decl *CreateDecl(CreateDecl590,19915 +static int IdentTableInsert(612,20547 +static int IdentTableTest(645,21496 +static void IdentTableReset(669,22077 +static void IdentTablePrint(683,22374 +static char *ReadFile(ReadFile700,22773 +static int WriteFile(728,23262 +static int GetToken(771,24821 +static int GetNonspaceToken(1005,31046 +static void FindIdentifiersInMacro(1076,32814 +static int GetBigToken(1112,33654 +static void FreeTokenList(1194,35461 +static Token *TokenizeFile(TokenizeFile1212,35915 +void main(1251,36773 +static void PrintTokens(1316,38505 +static char *TokensToString(TokensToString1359,39614 +static int ProcessTypeDecl(1455,42507 +static Token *FindDeclName(FindDeclName1640,47723 +static int ProcessMethodDef(1688,49080 +static int ProcessProcedureDef(1761,51230 +static int ProcessInlineProc(1842,53416 +static int isVariableDef(1906,55308 +static int isStaticAssert(1924,55775 +static int ProcessDecl(1939,56212 +static void PushIfMacro(2060,60143 +static int ParsePreprocessor(2111,61702 +static int ParseFile(2290,67069 +static void InsertExtraDecl(2491,72399 +static void ResetDeclFlags(2514,73104 +static void ChangeIfContext(2537,73863 +static void AddIncludes(2568,74812 +static void DeclareObject(2602,76087 +static void ScanText(2742,80727 +static void CompleteForwardDeclarations(2803,82514 +static int MakeHeader(2828,83143 +static int MakeGlobalHeader(2893,85212 +static int ClipTrailingNewline(2926,86024 +static void DumpDeclList(2935,86223 +static void DocumentationDump(2992,87834 + int mask;2995,87904 + char flag;2996,87918 +void PrintModuleRecord(3057,89624 +static InFile *CreateInFile(CreateInFile3074,90092 +static void AddParameters(3174,93227 +static unsigned int ModTime(3255,95561 +static void Usage(3268,95802 +static const char zInit[zInit3295,96968 +int main(3307,97217 + +manifest.c,4206 +struct ManifestFile 58,1710 + char *zName;zName59,1732 + char *zUuid;zUuid60,1778 + char *zPerm;zPerm61,1836 + char *zPrior;zPrior62,1884 +struct Manifest 69,1994 + Blob content;70,2012 + int type;71,2068 + int rid;72,2137 + const char *zBaseline;zBaseline73,2197 + Manifest *pBaseline;pBaseline74,2259 + char *zComment;zComment75,2318 + double rDate;76,2378 + char *zUser;zUser77,2454 + char *zRepoCksum;zRepoCksum78,2518 + char *zWiki;zWiki79,2595 + char *zWikiTitle;zWikiTitle80,2657 + char *zMimetype;zMimetype81,2718 + char *zThreadTitle;zThreadTitle82,2793 + double rEventDate;83,2854 + char *zEventId;zEventId84,2911 + char *zTicketUuid;zTicketUuid85,2978 + char *zAttachName;zAttachName86,3035 + char *zAttachSrc;zAttachSrc87,3100 + char *zAttachTarget;zAttachTarget88,3181 + char *zThreadRoot;zThreadRoot89,3262 + char *zInReplyTo;zInReplyTo90,3322 + int nFile;91,3388 + int nFileAlloc;92,3436 + int iFile;93,3493 + ManifestFile *aFile;aFile94,3557 + int nParent;95,3613 + int nParentAlloc;96,3662 + char **azParent;azParent97,3722 + int nCherrypick;98,3801 + char *zCPTarget;zCPTarget100,3877 + char *zCPBase;zCPBase101,3952 + } *aCherrypick;aCherrypick102,4033 + int nCChild;103,4051 + int nCChildAlloc;104,4108 + char **azCChild;azCChild105,4179 + int nTag;106,4260 + int nTagAlloc;107,4308 + struct TagType 108,4364 + char *zName;zName109,4383 + char *zUuid;zUuid110,4432 + char *zValue;zValue111,4509 + } *aTag;aTag112,4580 + int nField;113,4630 + int nFieldAlloc;114,4678 + char *zName;zName116,4747 + char *zValue;zValue117,4798 + } *aField;aField118,4850 + const char *zAllowed;zAllowed126,4994 + const char *zRequired;zRequired127,5059 +} manifestCardTypes[manifestCardTypes128,5125 +static const char *const azNameOfMType[azNameOfMType145,5889 + int nxAge;162,6202 + int aAge[aAge163,6215 + Manifest *apManifest[apManifest164,6246 +} manifestCache;165,6289 +static int manifest_crosslink_busy 171,6417 +static int manifest_event_triggers_are_enabled 196,7548 +void manifest_destroy(201,7658 +static unsigned int manifest_card_mask(220,8168 +static char maskToType(234,8519 +void manifest_cache_insert(244,8721 +static Manifest *manifest_cache_find(manifest_cache_find274,9515 +void manifest_cache_clear(290,9858 +# define md5sum_init(301,10137 +# define md5sum_step_text(302,10161 +static int after_blank_line(309,10320 +static void remove_pgp_signature(319,10554 +static int verify_z_card(348,11315 +typedef struct ManifestText ManifestText;366,11762 +struct ManifestText 367,11804 + char *z;z368,11826 + char *zEnd;zEnd369,11891 + int atEol;370,11963 +static char *next_token(next_token377,12178 +static char next_card(394,12572 +#define SYNTAX(413,12894 +static Bag seenManifests 419,13039 +void manifest_clear_cache(424,13207 +Manifest *manifest_parse(manifest_parse458,14816 +Manifest *manifest_get(manifest_get1145,37225 +Manifest *manifest_get_by_name(manifest_get_by_name1170,37803 +int manifest_is_well_formed(1195,38529 +void manifest_test_parse_cmd(1235,39784 +void manifest_test_parse_all_blobs_cmd(1293,41709 +static int fetch_baseline(1355,43644 +void manifest_file_rewind(1376,44230 +ManifestFile *manifest_file_next(manifest_file_next1390,44532 +static int filename_to_fnid(1451,46599 +int manifest_file_mperm(1474,47190 +static void add_one_mlink(1495,47828 +static ManifestFile *manifest_file_seek_base(manifest_file_seek_base1567,49987 +ManifestFile *manifest_file_seek(manifest_file_seek1620,51332 +ManifestFile *manifest_file_find(manifest_file_find1637,51849 +static void add_mlink(1682,53352 +static int manifest_add_checkin_linkages(1866,60286 +void manifest_reparent_checkin(1933,62498 +void manifest_crosslink_begin(1978,63764 +static void add_pending_crosslink(1997,64386 +int manifest_crosslink_end(2022,65111 +void manifest_create_event_triggers(2104,67341 +void manifest_disable_event_triggers(2117,67773 +void manifest_ticket_event(2126,67960 +void sterilize_manifest(2217,71312 +static int tag_compare(2245,72119 +static void manifest_add_fwt_plink(2262,72612 +int manifest_crosslink(2311,74044 +void test_crosslink_cmd(2876,93456 + +markdown.c,3626 +enum mkd_autolink 38,970 + MKDA_NOT_AUTOLINK,39,990 + MKDA_NORMAL,40,1062 + MKDA_EXPLICIT_EMAIL,41,1118 + MKDA_IMPLICIT_EMAIL 42,1182 +struct mkd_renderer 46,1302 + void (*prolog)prolog48,1357 + void (*epilog)epilog49,1406 + void (*blockcode)blockcode52,1509 + void (*blockquote)blockquote53,1580 + void (*blockhtml)blockhtml54,1652 + void (*header)header55,1723 + void (*hrule)hrule57,1814 + void (*list)list58,1862 + void (*listitem)listitem59,1939 + void (*paragraph)paragraph61,2032 + void (*table)table62,2103 + void (*table_cell)table_cell64,2207 + void (*table_row)table_row66,2304 + int (*autolink)autolink70,2475 + int (*codespan)codespan72,2578 + int (*double_emphasis)double_emphasis73,2657 + int (*emphasis)emphasis75,2753 + int (*image)image76,2828 + int (*linebreak)linebreak78,2944 + int (*link)link79,2995 + int (*raw_html_tag)raw_html_tag81,3112 + int (*triple_emphasis)triple_emphasis82,3184 + void (*entity)entity86,3354 + void (*normal_text)normal_text87,3424 + const char *emph_chars;emph_chars90,3520 + void *opaque;opaque91,3590 +struct link_ref 133,4426 + struct Blob id;134,4444 + struct Blob link;135,4462 + struct Blob title;136,4482 +typedef size_t (*char_trigger)char_trigger145,4748 +struct render 154,4930 + struct mkd_renderer make;155,4946 + struct Blob refs;156,4974 + char_trigger active_char[active_char157,4994 + int iDepth;158,5027 + int nBlobCache;159,5085 + struct Blob *aBlobCache[aBlobCache160,5156 +struct html_tag 165,5314 + const char *text;text166,5332 + int size;167,5352 +static const struct html_tag block_tags[block_tags177,5504 +static int build_ref_id(212,6341 +static int cmp_link_ref(257,7501 +static int cmp_link_ref_sort(264,7728 +static int cmp_html_tag(272,7986 +static const struct html_tag *find_block_tag(find_block_tag281,8283 +static int too_deep(306,8894 +static struct Blob *new_work_buffer(new_work_buffer312,9111 +static void release_work_buffer(326,9429 +static size_t is_mail_autolink(345,9977 +static size_t tag_length(365,10528 +static void parse_inline(431,12430 +static void skip_codespan(485,13806 +static size_t find_emph_char(518,14514 +static int left_flanking(584,16595 +static int right_flanking(590,16781 +static size_t parse_emph1(600,17095 +static size_t parse_emph2(645,18065 +static size_t parse_emph3(685,18965 +static size_t char_emphasis(732,20153 +static size_t char_linebreak(777,21160 +static size_t char_codespan(792,21611 +static size_t char_escape(833,22696 +static size_t char_entity(855,23210 +static size_t char_langle_tag(890,23952 +static int get_link_inline(922,24707 +static int get_link_ref(995,26434 +static size_t char_link(1024,27212 +static size_t is_empty(1148,30396 +static int is_hrule(1158,30639 +static int is_headerline(1193,31345 +static int is_table_sep(1215,31923 +static int is_tableline(1221,32110 +static size_t prefix_quote(1250,32965 +static size_t prefix_code(1268,33379 +static size_t prefix_fencedcode(1278,33668 +static size_t prefix_oli(1289,33959 +static size_t prefix_uli(1311,34505 +static size_t parse_blockquote(1337,35098 +static size_t parse_paragraph(1386,36373 +static size_t parse_blockcode(1460,38433 +static size_t parse_listitem(1512,39860 +static size_t parse_list(1648,43561 +static size_t parse_atxheader(1671,44060 +static size_t htmlblock_end(1706,45113 +static size_t parse_htmlblock(1740,45811 +static void parse_table_cell(1851,48544 +static size_t parse_table_row(1866,49041 +static size_t parse_table(1943,51217 +static void parse_block(2038,53673 +static int is_ref(2095,55469 +void markdown(2224,59081 + +markdown_html.c,1190 +typedef struct MarkdownToHtml MarkdownToHtml;38,974 +struct MarkdownToHtml 39,1020 + Blob *output_title;output_title40,1044 +#define INTER_BLOCK(45,1164 +#define BLOB_APPEND_LITERAL(49,1323 +#define BLOB_APPEND_BLOB(58,1669 +static void html_quote(67,1923 +static void html_escape(99,2682 +static void html_prolog(132,3351 +static void html_epilog(138,3526 +static void html_blockhtml(143,3643 +static void html_blockcode(165,4397 +static void html_blockquote(172,4640 +static void html_header(179,4862 +static void html_hrule(198,5367 +static void html_list(204,5484 +static void html_list_item(219,5793 +static void html_paragraph(233,6154 +static void html_table(241,6356 +static void html_table_cell(263,6883 +static void html_table_row(297,7650 +static int html_raw_html_tag(312,7887 +static int html_autolink(317,8037 +void pikchr_to_html(342,8815 +static int html_codespan(417,11395 +static int html_double_emphasis(459,12714 +static int html_emphasis(471,12939 +static int html_image(483,13149 +static int html_linebreak(502,13654 +static int html_link(507,13766 +static int html_triple_emphasis(536,14421 +static void html_normal_text(549,14656 +void markdown_to_html(559,14967 + +md5.c,854 +struct Context 49,1339 + int isInit;50,1356 + uint32 buf[buf51,1370 + uint32 bits[bits52,1387 + unsigned char in[in53,1405 +typedef struct Context MD5Context;55,1432 +# define byteReverse(61,1728 +static void byteReverse 67,1874 +#define F1(81,2294 +#define F2(82,2334 +#define F3(83,2366 +#define F4(84,2398 +#define MD5STEP(87,2487 +static void MD5Transform(95,2809 +static void MD5Init(181,6772 +void MD5Update(196,7123 +static void MD5Final(245,8535 +static void DigestToBase16(292,10136 +static MD5Context incrCtx;308,10535 +static int incrInit 309,10562 +void md5sum_init(314,10638 +void md5sum_step_text(321,10737 +void md5sum_step_blob(336,11059 +const char *md5sum_current_state(md5sum_current_state345,11240 +char *md5sum_finish(md5sum_finish368,11918 +int md5sum_file(389,12379 +int md5sum_blob(421,13115 +void md5sum_test(447,13698 + +merge.c,317 +void print_checkin_description(28,796 +int fossil_find_nearest_fork(65,2153 +int fossil_any_has_fork(108,3422 +static void add_renames(138,4365 +static void vmerge_insert(172,5522 +static void debug_fv_dump(186,5884 +static void debug_show_vfile(223,7075 +void test_show_vfile_cmd(267,8332 +void merge_cmd(335,11215 + +merge3.c,528 +#define DEBUG(24,682 +#define DEBUG(27,726 +# define min(33,815 +static int sameLines(43,1081 +static int sameEdit(67,1755 +static int ends_at_CPY(92,2555 +static int output_one_side(116,3372 +static const char *const mergeMarker[mergeMarker141,4083 +int contains_crlf(154,4723 +void ensure_line_end(173,5164 +static int blob_merge(193,5820 +int contains_merge_marker(370,12231 +int file_contains_merge_marker(393,12924 +void delta_3waymerge_cmd(429,14159 +char *string_subst(string_subst467,15329 +int merge_3way(525,16915 + +miniz.c,30086 +typedef unsigned long mz_ulong;229,15598 +enum { MZ_DEFAULT_STRATEGY 243,16228 +enum { MZ_DEFAULT_STRATEGY = 0, MZ_FILTERED 243,16228 +enum { MZ_DEFAULT_STRATEGY = 0, MZ_FILTERED = 1, MZ_HUFFMAN_ONLY 243,16228 +enum { MZ_DEFAULT_STRATEGY = 0, MZ_FILTERED = 1, MZ_HUFFMAN_ONLY = 2, MZ_RLE 243,16228 +enum { MZ_DEFAULT_STRATEGY = 0, MZ_FILTERED = 1, MZ_HUFFMAN_ONLY = 2, MZ_RLE = 3, MZ_FIXED 243,16228 +typedef void *(*mz_alloc_func)mz_alloc_func252,16533 +typedef void (*mz_free_func)mz_free_func253,16606 +typedef void *(*mz_realloc_func)mz_realloc_func254,16665 +enum { MZ_NO_FLUSH 264,17090 +enum { MZ_NO_FLUSH = 0, MZ_PARTIAL_FLUSH 264,17090 +enum { MZ_NO_FLUSH = 0, MZ_PARTIAL_FLUSH = 1, MZ_SYNC_FLUSH 264,17090 +enum { MZ_NO_FLUSH = 0, MZ_PARTIAL_FLUSH = 1, MZ_SYNC_FLUSH = 2, MZ_FULL_FLUSH 264,17090 +enum { MZ_NO_FLUSH = 0, MZ_PARTIAL_FLUSH = 1, MZ_SYNC_FLUSH = 2, MZ_FULL_FLUSH = 3, MZ_FINISH 264,17090 +enum { MZ_NO_FLUSH = 0, MZ_PARTIAL_FLUSH = 1, MZ_SYNC_FLUSH = 2, MZ_FULL_FLUSH = 3, MZ_FINISH = 4, MZ_BLOCK 264,17090 +enum { MZ_OK 267,17262 +enum { MZ_OK = 0, MZ_STREAM_END 267,17262 +enum { MZ_OK = 0, MZ_STREAM_END = 1, MZ_NEED_DICT 267,17262 +enum { MZ_OK = 0, MZ_STREAM_END = 1, MZ_NEED_DICT = 2, MZ_ERRNO 267,17262 +enum { MZ_OK = 0, MZ_STREAM_END = 1, MZ_NEED_DICT = 2, MZ_ERRNO = -1, MZ_STREAM_ERROR 267,17262 +enum { MZ_OK = 0, MZ_STREAM_END = 1, MZ_NEED_DICT = 2, MZ_ERRNO = -1, MZ_STREAM_ERROR = -2, MZ_DATA_ERROR 267,17262 +enum { MZ_OK = 0, MZ_STREAM_END = 1, MZ_NEED_DICT = 2, MZ_ERRNO = -1, MZ_STREAM_ERROR = -2, MZ_DATA_ERROR = -3, MZ_MEM_ERROR 267,17262 +enum { MZ_OK = 0, MZ_STREAM_END = 1, MZ_NEED_DICT = 2, MZ_ERRNO = -1, MZ_STREAM_ERROR = -2, MZ_DATA_ERROR = -3, MZ_MEM_ERROR = -4, MZ_BUF_ERROR 267,17262 +enum { MZ_OK = 0, MZ_STREAM_END = 1, MZ_NEED_DICT = 2, MZ_ERRNO = -1, MZ_STREAM_ERROR = -2, MZ_DATA_ERROR = -3, MZ_MEM_ERROR = -4, MZ_BUF_ERROR = -5, MZ_VERSION_ERROR 267,17262 +enum { MZ_OK = 0, MZ_STREAM_END = 1, MZ_NEED_DICT = 2, MZ_ERRNO = -1, MZ_STREAM_ERROR = -2, MZ_DATA_ERROR = -3, MZ_MEM_ERROR = -4, MZ_BUF_ERROR = -5, MZ_VERSION_ERROR = -6, MZ_PARAM_ERROR 267,17262 +enum { MZ_NO_COMPRESSION 270,17644 +enum { MZ_NO_COMPRESSION = 0, MZ_BEST_SPEED 270,17644 +enum { MZ_NO_COMPRESSION = 0, MZ_BEST_SPEED = 1, MZ_BEST_COMPRESSION 270,17644 +enum { MZ_NO_COMPRESSION = 0, MZ_BEST_SPEED = 1, MZ_BEST_COMPRESSION = 9, MZ_UBER_COMPRESSION 270,17644 +enum { MZ_NO_COMPRESSION = 0, MZ_BEST_SPEED = 1, MZ_BEST_COMPRESSION = 9, MZ_UBER_COMPRESSION = 10, MZ_DEFAULT_LEVEL 270,17644 +enum { MZ_NO_COMPRESSION = 0, MZ_BEST_SPEED = 1, MZ_BEST_COMPRESSION = 9, MZ_UBER_COMPRESSION = 10, MZ_DEFAULT_LEVEL = 6, MZ_DEFAULT_COMPRESSION 270,17644 +typedef struct mz_stream_s278,17919 + const unsigned char *next_in;next_in280,17948 + unsigned int avail_in;281,18016 + mz_ulong total_in;282,18092 + unsigned char *next_out;next_out284,18170 + unsigned int avail_out;285,18239 + mz_ulong total_out;286,18326 + char *msg;msg288,18404 + struct mz_internal_state *state;state289,18462 + mz_alloc_func zalloc;291,18544 + mz_free_func zfree;292,18638 + void *opaque;opaque293,18724 + int data_type;295,18797 + mz_ulong adler;296,18855 + mz_ulong reserved;297,18937 +} mz_stream;298,18985 +typedef mz_stream *mz_streamp;mz_streamp300,18999 + typedef unsigned char Byte;393,25233 + typedef unsigned int uInt;394,25263 + typedef mz_ulong uLong;395,25292 + typedef Byte Bytef;396,25318 + typedef uInt uIntf;397,25340 + typedef char charf;398,25362 + typedef int intf;399,25384 + typedef void *voidpf;voidpf400,25404 + typedef uLong uLongf;401,25428 + typedef void *voidp;voidp402,25452 + typedef void *const voidpc;403,25475 +typedef unsigned char mz_uint8;469,28291 +typedef signed short mz_int16;470,28323 +typedef unsigned short mz_uint16;471,28354 +typedef unsigned int mz_uint32;472,28388 +typedef unsigned int mz_uint;473,28420 +typedef long long mz_int64;474,28450 +typedef unsigned long long mz_uint64;475,28478 +typedef int mz_bool;476,28516 + MZ_ZIP_MAX_IO_BUF_SIZE 494,28875 + MZ_ZIP_MAX_ARCHIVE_FILENAME_SIZE 495,28911 + MZ_ZIP_MAX_ARCHIVE_FILE_COMMENT_SIZE 496,28953 + mz_uint32 m_file_index;501,29019 + mz_uint32 m_central_dir_ofs;502,29045 + mz_uint16 m_version_made_by;503,29076 + mz_uint16 m_version_needed;504,29107 + mz_uint16 m_bit_flag;505,29137 + mz_uint16 m_method;506,29161 + time_t m_time;508,29205 + mz_uint32 m_crc32;510,29229 + mz_uint64 m_comp_size;511,29250 + mz_uint64 m_uncomp_size;512,29275 + mz_uint16 m_internal_attr;513,29302 + mz_uint32 m_external_attr;514,29331 + mz_uint64 m_local_header_ofs;515,29360 + mz_uint32 m_comment_size;516,29392 + char m_filename[m_filename517,29420 + char m_comment[m_comment518,29473 +} mz_zip_archive_file_stat;519,29529 +typedef size_t (*mz_file_read_func)mz_file_read_func521,29558 +typedef size_t (*mz_file_write_func)mz_file_write_func522,29652 +typedef struct mz_zip_internal_state_tag mz_zip_internal_state;525,29788 + MZ_ZIP_MODE_INVALID 529,29868 + MZ_ZIP_MODE_READING 530,29895 + MZ_ZIP_MODE_WRITING 531,29922 + MZ_ZIP_MODE_WRITING_HAS_BEEN_FINALIZED 532,29949 +} mz_zip_mode;533,29994 +typedef struct mz_zip_archive_tag535,30010 + mz_uint64 m_archive_size;537,30046 + mz_uint64 m_central_directory_file_ofs;538,30074 + mz_uint m_total_files;539,30116 + mz_zip_mode m_zip_mode;540,30141 + mz_uint m_file_offset_alignment;542,30168 + mz_alloc_func m_pAlloc;544,30204 + mz_free_func m_pFree;545,30230 + mz_realloc_func m_pRealloc;546,30254 + void *m_pAlloc_opaque;m_pAlloc_opaque547,30284 + mz_file_read_func m_pRead;549,30310 + mz_file_write_func m_pWrite;550,30339 + void *m_pIO_opaque;m_pIO_opaque551,30370 + mz_zip_internal_state *m_pState;m_pState553,30393 +} mz_zip_archive;555,30429 + MZ_ZIP_FLAG_CASE_SENSITIVE 559,30463 + MZ_ZIP_FLAG_IGNORE_PATH 560,30517 + MZ_ZIP_FLAG_COMPRESSED_DATA 561,30571 + MZ_ZIP_FLAG_DO_NOT_SORT_CENTRAL_DIRECTORY 562,30625 +} mz_zip_flags;563,30678 + TINFL_FLAG_PARSE_ZLIB_HEADER 690,39690 + TINFL_FLAG_HAS_MORE_INPUT 691,39726 + TINFL_FLAG_USING_NON_WRAPPING_OUTPUT_BUF 692,39759 + TINFL_FLAG_COMPUTE_ADLER32 693,39807 +typedef int (*tinfl_put_buf_func_ptr)tinfl_put_buf_func_ptr713,41090 +struct tinfl_decompressor_tag; typedef struct tinfl_decompressor_tag tinfl_decompressor;716,41321 + TINFL_STATUS_BAD_PARAM 724,41508 + TINFL_STATUS_ADLER32_MISMATCH 725,41539 + TINFL_STATUS_FAILED 726,41577 + TINFL_STATUS_DONE 727,41605 + TINFL_STATUS_NEEDS_MORE_INPUT 728,41630 + TINFL_STATUS_HAS_MORE_OUTPUT 729,41667 +} tinfl_status;730,41702 +#define tinfl_init(733,41773 +#define tinfl_get_adler32(734,41833 + TINFL_MAX_HUFF_TABLES 743,42517 + TINFL_MAX_HUFF_TABLES = 3, TINFL_MAX_HUFF_SYMBOLS_0 743,42517 + TINFL_MAX_HUFF_TABLES = 3, TINFL_MAX_HUFF_SYMBOLS_0 = 288, TINFL_MAX_HUFF_SYMBOLS_1 743,42517 + TINFL_MAX_HUFF_TABLES = 3, TINFL_MAX_HUFF_SYMBOLS_0 = 288, TINFL_MAX_HUFF_SYMBOLS_1 = 32, TINFL_MAX_HUFF_SYMBOLS_2 743,42517 + TINFL_FAST_LOOKUP_BITS 744,42640 + TINFL_FAST_LOOKUP_BITS = 10, TINFL_FAST_LOOKUP_SIZE 744,42640 + mz_uint8 m_code_size[m_code_size749,42745 + mz_int16 m_look_up[m_look_up750,42795 + mz_int16 m_look_up[TINFL_FAST_LOOKUP_SIZE], m_tree[m_tree750,42795 +} tinfl_huff_table;751,42879 + typedef mz_uint64 tinfl_bit_buf_t;758,43000 + typedef mz_uint32 tinfl_bit_buf_t;761,43076 +struct tinfl_decompressor_tag765,43154 + mz_uint32 m_state,767,43186 + mz_uint32 m_state, m_num_bits,767,43186 + mz_uint32 m_state, m_num_bits, m_zhdr0,767,43186 + mz_uint32 m_state, m_num_bits, m_zhdr0, m_zhdr1,767,43186 + mz_uint32 m_state, m_num_bits, m_zhdr0, m_zhdr1, m_z_adler32,767,43186 + mz_uint32 m_state, m_num_bits, m_zhdr0, m_zhdr1, m_z_adler32, m_final,767,43186 + mz_uint32 m_state, m_num_bits, m_zhdr0, m_zhdr1, m_z_adler32, m_final, m_type,767,43186 + mz_uint32 m_state, m_num_bits, m_zhdr0, m_zhdr1, m_z_adler32, m_final, m_type, m_check_adler32,767,43186 + mz_uint32 m_state, m_num_bits, m_zhdr0, m_zhdr1, m_z_adler32, m_final, m_type, m_check_adler32, m_dist,767,43186 + mz_uint32 m_state, m_num_bits, m_zhdr0, m_zhdr1, m_z_adler32, m_final, m_type, m_check_adler32, m_dist, m_counter,767,43186 + mz_uint32 m_state, m_num_bits, m_zhdr0, m_zhdr1, m_z_adler32, m_final, m_type, m_check_adler32, m_dist, m_counter, m_num_extra,767,43186 + mz_uint32 m_state, m_num_bits, m_zhdr0, m_zhdr1, m_z_adler32, m_final, m_type, m_check_adler32, m_dist, m_counter, m_num_extra, m_table_sizes[m_table_sizes767,43186 + tinfl_bit_buf_t m_bit_buf;768,43354 + size_t m_dist_from_out_buf_start;769,43383 + tinfl_huff_table m_tables[m_tables770,43419 + mz_uint8 m_raw_header[m_raw_header771,43471 + mz_uint8 m_raw_header[4], m_len_codes[m_len_codes771,43471 + TDEFL_HUFFMAN_ONLY 783,44147 + TDEFL_HUFFMAN_ONLY = 0, TDEFL_DEFAULT_MAX_PROBES 783,44147 + TDEFL_HUFFMAN_ONLY = 0, TDEFL_DEFAULT_MAX_PROBES = 128, TDEFL_MAX_PROBES_MASK 783,44147 + TDEFL_WRITE_ZLIB_HEADER 797,45273 + TDEFL_COMPUTE_ADLER32 798,45322 + TDEFL_GREEDY_PARSING_FLAG 799,45371 + TDEFL_NONDETERMINISTIC_PARSING_FLAG 800,45420 + TDEFL_RLE_MATCHES 801,45469 + TDEFL_FILTER_MATCHES 802,45518 + TDEFL_FORCE_ALL_STATIC_BLOCKS 803,45567 + TDEFL_FORCE_ALL_RAW_BLOCKS 804,45616 +typedef mz_bool (*tdefl_put_buf_func_ptr)tdefl_put_buf_func_ptr836,47871 +enum { TDEFL_MAX_HUFF_TABLES 841,48220 +enum { TDEFL_MAX_HUFF_TABLES = 3, TDEFL_MAX_HUFF_SYMBOLS_0 841,48220 +enum { TDEFL_MAX_HUFF_TABLES = 3, TDEFL_MAX_HUFF_SYMBOLS_0 = 288, TDEFL_MAX_HUFF_SYMBOLS_1 841,48220 +enum { TDEFL_MAX_HUFF_TABLES = 3, TDEFL_MAX_HUFF_SYMBOLS_0 = 288, TDEFL_MAX_HUFF_SYMBOLS_1 = 32, TDEFL_MAX_HUFF_SYMBOLS_2 841,48220 +enum { TDEFL_MAX_HUFF_TABLES = 3, TDEFL_MAX_HUFF_SYMBOLS_0 = 288, TDEFL_MAX_HUFF_SYMBOLS_1 = 32, TDEFL_MAX_HUFF_SYMBOLS_2 = 19, TDEFL_LZ_DICT_SIZE 841,48220 +enum { TDEFL_MAX_HUFF_TABLES = 3, TDEFL_MAX_HUFF_SYMBOLS_0 = 288, TDEFL_MAX_HUFF_SYMBOLS_1 = 32, TDEFL_MAX_HUFF_SYMBOLS_2 = 19, TDEFL_LZ_DICT_SIZE = 32768, TDEFL_LZ_DICT_SIZE_MASK 841,48220 +enum { TDEFL_MAX_HUFF_TABLES = 3, TDEFL_MAX_HUFF_SYMBOLS_0 = 288, TDEFL_MAX_HUFF_SYMBOLS_1 = 32, TDEFL_MAX_HUFF_SYMBOLS_2 = 19, TDEFL_LZ_DICT_SIZE = 32768, TDEFL_LZ_DICT_SIZE_MASK = TDEFL_LZ_DICT_SIZE - 1, TDEFL_MIN_MATCH_LEN 841,48220 +enum { TDEFL_MAX_HUFF_TABLES = 3, TDEFL_MAX_HUFF_SYMBOLS_0 = 288, TDEFL_MAX_HUFF_SYMBOLS_1 = 32, TDEFL_MAX_HUFF_SYMBOLS_2 = 19, TDEFL_LZ_DICT_SIZE = 32768, TDEFL_LZ_DICT_SIZE_MASK = TDEFL_LZ_DICT_SIZE - 1, TDEFL_MIN_MATCH_LEN = 3, TDEFL_MAX_MATCH_LEN 841,48220 +enum { TDEFL_LZ_CODE_BUF_SIZE 845,48630 +enum { TDEFL_LZ_CODE_BUF_SIZE = 24 * 1024, TDEFL_OUT_BUF_SIZE 845,48630 +enum { TDEFL_LZ_CODE_BUF_SIZE = 24 * 1024, TDEFL_OUT_BUF_SIZE = (TDEFL_LZ_CODE_BUF_SIZE * 13 ) / 10, TDEFL_MAX_HUFF_SYMBOLS 845,48630 +enum { TDEFL_LZ_CODE_BUF_SIZE = 24 * 1024, TDEFL_OUT_BUF_SIZE = (TDEFL_LZ_CODE_BUF_SIZE * 13 ) / 10, TDEFL_MAX_HUFF_SYMBOLS = 288, TDEFL_LZ_HASH_BITS 845,48630 +enum { TDEFL_LZ_CODE_BUF_SIZE = 24 * 1024, TDEFL_OUT_BUF_SIZE = (TDEFL_LZ_CODE_BUF_SIZE * 13 ) / 10, TDEFL_MAX_HUFF_SYMBOLS = 288, TDEFL_LZ_HASH_BITS = 12, TDEFL_LEVEL1_HASH_SIZE_MASK 845,48630 +enum { TDEFL_LZ_CODE_BUF_SIZE = 24 * 1024, TDEFL_OUT_BUF_SIZE = (TDEFL_LZ_CODE_BUF_SIZE * 13 ) / 10, TDEFL_MAX_HUFF_SYMBOLS = 288, TDEFL_LZ_HASH_BITS = 12, TDEFL_LEVEL1_HASH_SIZE_MASK = 4095, TDEFL_LZ_HASH_SHIFT 845,48630 +enum { TDEFL_LZ_CODE_BUF_SIZE = 24 * 1024, TDEFL_OUT_BUF_SIZE = (TDEFL_LZ_CODE_BUF_SIZE * 13 ) / 10, TDEFL_MAX_HUFF_SYMBOLS = 288, TDEFL_LZ_HASH_BITS = 12, TDEFL_LEVEL1_HASH_SIZE_MASK = 4095, TDEFL_LZ_HASH_SHIFT = (TDEFL_LZ_HASH_BITS + 2) / 3, TDEFL_LZ_HASH_SIZE 845,48630 +enum { TDEFL_LZ_CODE_BUF_SIZE 847,48928 +enum { TDEFL_LZ_CODE_BUF_SIZE = 64 * 1024, TDEFL_OUT_BUF_SIZE 847,48928 +enum { TDEFL_LZ_CODE_BUF_SIZE = 64 * 1024, TDEFL_OUT_BUF_SIZE = (TDEFL_LZ_CODE_BUF_SIZE * 13 ) / 10, TDEFL_MAX_HUFF_SYMBOLS 847,48928 +enum { TDEFL_LZ_CODE_BUF_SIZE = 64 * 1024, TDEFL_OUT_BUF_SIZE = (TDEFL_LZ_CODE_BUF_SIZE * 13 ) / 10, TDEFL_MAX_HUFF_SYMBOLS = 288, TDEFL_LZ_HASH_BITS 847,48928 +enum { TDEFL_LZ_CODE_BUF_SIZE = 64 * 1024, TDEFL_OUT_BUF_SIZE = (TDEFL_LZ_CODE_BUF_SIZE * 13 ) / 10, TDEFL_MAX_HUFF_SYMBOLS = 288, TDEFL_LZ_HASH_BITS = 15, TDEFL_LEVEL1_HASH_SIZE_MASK 847,48928 +enum { TDEFL_LZ_CODE_BUF_SIZE = 64 * 1024, TDEFL_OUT_BUF_SIZE = (TDEFL_LZ_CODE_BUF_SIZE * 13 ) / 10, TDEFL_MAX_HUFF_SYMBOLS = 288, TDEFL_LZ_HASH_BITS = 15, TDEFL_LEVEL1_HASH_SIZE_MASK = 4095, TDEFL_LZ_HASH_SHIFT 847,48928 +enum { TDEFL_LZ_CODE_BUF_SIZE = 64 * 1024, TDEFL_OUT_BUF_SIZE = (TDEFL_LZ_CODE_BUF_SIZE * 13 ) / 10, TDEFL_MAX_HUFF_SYMBOLS = 288, TDEFL_LZ_HASH_BITS = 15, TDEFL_LEVEL1_HASH_SIZE_MASK = 4095, TDEFL_LZ_HASH_SHIFT = (TDEFL_LZ_HASH_BITS + 2) / 3, TDEFL_LZ_HASH_SIZE 847,48928 + TDEFL_STATUS_BAD_PARAM 853,49449 + TDEFL_STATUS_PUT_BUF_FAILED 854,49480 + TDEFL_STATUS_OKAY 855,49516 + TDEFL_STATUS_DONE 856,49541 +} tdefl_status;857,49566 + TDEFL_NO_FLUSH 862,49652 + TDEFL_SYNC_FLUSH 863,49674 + TDEFL_FULL_FLUSH 864,49698 + TDEFL_FINISH 865,49722 +} tdefl_flush;866,49741 + tdefl_put_buf_func_ptr m_pPut_buf_func;871,49814 + void *m_pPut_buf_user;m_pPut_buf_user872,49856 + mz_uint m_flags,873,49881 + mz_uint m_flags, m_max_probes[m_max_probes873,49881 + int m_greedy_parsing;874,49917 + mz_uint m_adler32,875,49941 + mz_uint m_adler32, m_lookahead_pos,875,49941 + mz_uint m_adler32, m_lookahead_pos, m_lookahead_size,875,49941 + mz_uint m_adler32, m_lookahead_pos, m_lookahead_size, m_dict_size;875,49941 + mz_uint8 *m_pLZ_code_buf,m_pLZ_code_buf876,50010 + mz_uint8 *m_pLZ_code_buf, *m_pLZ_flags,m_pLZ_flags876,50010 + mz_uint8 *m_pLZ_code_buf, *m_pLZ_flags, *m_pOutput_buf,m_pOutput_buf876,50010 + mz_uint8 *m_pLZ_code_buf, *m_pLZ_flags, *m_pOutput_buf, *m_pOutput_buf_end;m_pOutput_buf_end876,50010 + mz_uint m_num_flags_left,877,50088 + mz_uint m_num_flags_left, m_total_lz_bytes,877,50088 + mz_uint m_num_flags_left, m_total_lz_bytes, m_lz_code_buf_dict_pos,877,50088 + mz_uint m_num_flags_left, m_total_lz_bytes, m_lz_code_buf_dict_pos, m_bits_in,877,50088 + mz_uint m_num_flags_left, m_total_lz_bytes, m_lz_code_buf_dict_pos, m_bits_in, m_bit_buffer;877,50088 + mz_uint m_saved_match_dist,878,50183 + mz_uint m_saved_match_dist, m_saved_match_len,878,50183 + mz_uint m_saved_match_dist, m_saved_match_len, m_saved_lit,878,50183 + mz_uint m_saved_match_dist, m_saved_match_len, m_saved_lit, m_output_flush_ofs,878,50183 + mz_uint m_saved_match_dist, m_saved_match_len, m_saved_lit, m_output_flush_ofs, m_output_flush_remaining,878,50183 + mz_uint m_saved_match_dist, m_saved_match_len, m_saved_lit, m_output_flush_ofs, m_output_flush_remaining, m_finished,878,50183 + mz_uint m_saved_match_dist, m_saved_match_len, m_saved_lit, m_output_flush_ofs, m_output_flush_remaining, m_finished, m_block_index,878,50183 + mz_uint m_saved_match_dist, m_saved_match_len, m_saved_lit, m_output_flush_ofs, m_output_flush_remaining, m_finished, m_block_index, m_wants_to_finish;878,50183 + tdefl_status m_prev_return_status;879,50337 + const void *m_pIn_buf;m_pIn_buf880,50374 + void *m_pOut_buf;m_pOut_buf881,50399 + size_t *m_pIn_buf_size,m_pIn_buf_size882,50419 + size_t *m_pIn_buf_size, *m_pOut_buf_size;m_pOut_buf_size882,50419 + tdefl_flush m_flush;883,50463 + const mz_uint8 *m_pSrc;m_pSrc884,50486 + size_t m_src_buf_left,885,50512 + size_t m_src_buf_left, m_out_buf_ofs;885,50512 + mz_uint8 m_dict[m_dict886,50552 + mz_uint16 m_huff_count[m_huff_count887,50617 + mz_uint16 m_huff_codes[m_huff_codes888,50690 + mz_uint8 m_huff_code_sizes[m_huff_code_sizes889,50763 + mz_uint8 m_lz_code_buf[m_lz_code_buf890,50840 + mz_uint16 m_next[m_next891,50890 + mz_uint16 m_hash[m_hash892,50930 + mz_uint8 m_output_buf[m_output_buf893,50970 +} tdefl_compressor;894,51015 +typedef unsigned char mz_validate_uint16[mz_validate_uint16932,53194 +typedef unsigned char mz_validate_uint32[mz_validate_uint32933,53267 +typedef unsigned char mz_validate_uint64[mz_validate_uint64934,53340 +#define MZ_ASSERT(939,53455 + #define MZ_MALLOC(942,53510 + #define MZ_FREE(943,53538 + #define MZ_REALLOC(944,53578 + #define MZ_MALLOC(946,53616 + #define MZ_FREE(947,53649 + #define MZ_REALLOC(948,53678 +#define MZ_MAX(951,53727 +#define MZ_MIN(952,53767 +#define MZ_CLEAR_OBJ(953,53807 + #define MZ_READ_LE16(956,53929 + #define MZ_READ_LE32(957,53981 + #define MZ_READ_LE16(959,54039 + #define MZ_READ_LE32(960,54157 +mz_ulong mz_adler32(977,54660 +mz_ulong mz_crc32(993,55513 +void mz_free(1003,56092 +static void *def_alloc_func(def_alloc_func1010,56161 +static void def_free_func(1011,56305 +static void *def_realloc_func(def_realloc_func1012,56411 +const char *mz_version(mz_version1014,56598 +int mz_deflateInit(1019,56653 +int mz_deflateInit2(1024,56811 +int mz_deflateReset(1056,57908 +int mz_deflate(1064,58228 +int mz_deflateEnd(1113,59956 +mz_ulong mz_deflateBound(1124,60165 +int mz_compress2(1131,60510 +int mz_compress(1159,61291 +mz_ulong mz_compressBound(1164,61492 + tinfl_decompressor m_decomp;1171,61605 + mz_uint m_dict_ofs,1172,61636 + mz_uint m_dict_ofs, m_dict_avail,1172,61636 + mz_uint m_dict_ofs, m_dict_avail, m_first_call,1172,61636 + mz_uint m_dict_ofs, m_dict_avail, m_first_call, m_has_flushed;1172,61636 + mz_uint m_dict_ofs, m_dict_avail, m_first_call, m_has_flushed; int m_window_bits;1172,61636 + mz_uint8 m_dict[m_dict1173,61720 + tinfl_status m_last_status;1174,61759 +} inflate_state;1175,61789 +int mz_inflateInit2(1177,61807 +int mz_inflateInit(1208,62758 +int mz_inflate(1213,62862 +int mz_inflateEnd(1304,67272 +int mz_uncompress(1316,67485 +const char *mz_error(mz_error1345,68285 + static const struct { int m_err;1347,68317 + static const struct { int m_err; const char *m_pDesc;m_pDesc1347,68317 +#define TINFL_MEMCPY(1360,69035 +#define TINFL_MEMSET(1361,69081 +#define TINFL_CR_RETURN(1364,69180 +#define TINFL_CR_RETURN_FOREVER(1365,69325 +#define TINFL_GET_BYTE(1370,69774 +#define TINFL_NEED_BITS(1386,70225 +#define TINFL_SKIP_BITS(1387,70409 +#define TINFL_GET_BITS(1388,70569 +#define TINFL_HUFF_BITBUF_FILL(1394,71280 +#define TINFL_HUFF_DECODE(1413,72517 +tinfl_status tinfl_decompress(1428,73260 +void *tinfl_decompress_mem_to_heap(tinfl_decompress_mem_to_heap1701,87325 +size_t tinfl_decompress_mem_to_mem(1729,88551 +int tinfl_decompress_mem_to_callback(1736,89058 +static const mz_uint16 s_tdefl_len_sym[s_tdefl_len_sym1767,90344 +static const mz_uint8 s_tdefl_len_extra[s_tdefl_len_extra1777,91443 +static const mz_uint8 s_tdefl_small_dist_sym[s_tdefl_small_dist_sym1783,92019 +static const mz_uint8 s_tdefl_small_dist_extra[s_tdefl_small_dist_extra1797,93616 +static const mz_uint8 s_tdefl_large_dist_sym[s_tdefl_large_dist_sym1807,94723 +static const mz_uint8 s_tdefl_large_dist_extra[s_tdefl_large_dist_extra1812,95171 +typedef struct { mz_uint16 m_key,1818,95704 +typedef struct { mz_uint16 m_key, m_sym_index;1818,95704 +typedef struct { mz_uint16 m_key, m_sym_index; } tdefl_sym_freq;1818,95704 +static tdefl_sym_freq* tdefl_radix_sort_syms(1819,95769 +static void tdefl_calculate_minimum_redundancy(1836,96859 +enum { TDEFL_MAX_SUPPORTED_HUFF_CODESIZE 1857,97922 +static void tdefl_huffman_enforce_max_code_size(1858,97971 +static void tdefl_optimize_huffman_table(1871,98571 +#define TDEFL_PUT_BITS(1906,100327 +#define TDEFL_RLE_PREV_CODE_SIZE(1917,100731 +#define TDEFL_RLE_ZERO_CODE_SIZE(1925,101273 +static mz_uint8 s_tdefl_packed_code_size_syms_swizzle[s_tdefl_packed_code_size_syms_swizzle1934,101972 +static void tdefl_start_dynamic_block(1936,102101 +static void tdefl_start_static_block(1998,105041 +static const mz_uint mz_bitmasks[mz_bitmasks2016,105487 +static mz_bool tdefl_compress_lz_codes(2019,105760 +#define TDEFL_PUT_BITS_FAST(2028,106033 +static mz_bool tdefl_compress_lz_codes(2108,108712 +static mz_bool tdefl_compress_block(2153,110351 +static int tdefl_flush_block(2162,110566 +#define TDEFL_READ_UNALIGNED_WORD(2264,114825 +static MZ_FORCEINLINE void tdefl_find_match(2265,114885 +static MZ_FORCEINLINE void tdefl_find_match(2299,116940 +static mz_bool tdefl_compress_fast(2329,118497 +static MZ_FORCEINLINE void tdefl_record_literal(2467,125176 +static MZ_FORCEINLINE void tdefl_record_match(2475,125501 +static mz_bool tdefl_compress_normal(2497,126437 +static tdefl_status tdefl_flush_output_buffer(2615,132140 +tdefl_status tdefl_compress(2636,132802 +tdefl_status tdefl_compress_buffer(2692,135128 +tdefl_status tdefl_init(2697,135350 +tdefl_status tdefl_get_prev_return_status(2716,136824 +mz_uint32 tdefl_get_adler32(2721,136926 +mz_bool tdefl_compress_mem_to_output(2726,137003 + size_t m_size,2737,137610 + size_t m_size, m_capacity;2737,137610 + mz_uint8 *m_pBuf;m_pBuf2738,137639 + mz_bool m_expandable;2739,137659 +} tdefl_output_buffer;2740,137683 +static mz_bool tdefl_output_buffer_putter(2742,137707 +void *tdefl_compress_mem_to_heap(tdefl_compress_mem_to_heap2757,138367 +size_t tdefl_compress_mem_to_mem(2766,138789 +static const mz_uint s_tdefl_num_probes[s_tdefl_num_probes2776,139238 +mz_uint tdefl_create_comp_flags_from_zip_params(2779,139508 +void *tdefl_write_image_to_png_file_in_memory_ex(tdefl_write_image_to_png_file_in_memory_ex2802,140714 +void *tdefl_write_image_to_png_file_in_memory(tdefl_write_image_to_png_file_in_memory2831,143194 + static FILE *mz_fopen(mz_fopen2852,143855 + static FILE *mz_freopen(mz_freopen2858,144022 + #define MZ_FOPEN(2885,144792 + #define MZ_FREOPEN(2894,145078 + #define MZ_FOPEN(2901,145279 + #define MZ_FREOPEN(2910,145557 + #define MZ_FOPEN(2917,145776 + #define MZ_FREOPEN(2926,146066 + #define MZ_FOPEN(2933,146246 + #define MZ_FREOPEN(2942,146526 +#define MZ_TOLOWER(2947,146670 + MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIG 2953,146968 + MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIG = 0x06054b50, MZ_ZIP_CENTRAL_DIR_HEADER_SIG 2953,146968 + MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIG = 0x06054b50, MZ_ZIP_CENTRAL_DIR_HEADER_SIG = 0x02014b50, MZ_ZIP_LOCAL_DIR_HEADER_SIG 2953,146968 + MZ_ZIP_LOCAL_DIR_HEADER_SIZE 2954,147107 + MZ_ZIP_LOCAL_DIR_HEADER_SIZE = 30, MZ_ZIP_CENTRAL_DIR_HEADER_SIZE 2954,147107 + MZ_ZIP_LOCAL_DIR_HEADER_SIZE = 30, MZ_ZIP_CENTRAL_DIR_HEADER_SIZE = 46, MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE 2954,147107 + MZ_ZIP_CDH_SIG_OFS 2956,147270 + MZ_ZIP_CDH_SIG_OFS = 0, MZ_ZIP_CDH_VERSION_MADE_BY_OFS 2956,147270 + MZ_ZIP_CDH_SIG_OFS = 0, MZ_ZIP_CDH_VERSION_MADE_BY_OFS = 4, MZ_ZIP_CDH_VERSION_NEEDED_OFS 2956,147270 + MZ_ZIP_CDH_SIG_OFS = 0, MZ_ZIP_CDH_VERSION_MADE_BY_OFS = 4, MZ_ZIP_CDH_VERSION_NEEDED_OFS = 6, MZ_ZIP_CDH_BIT_FLAG_OFS 2956,147270 + MZ_ZIP_CDH_METHOD_OFS 2957,147396 + MZ_ZIP_CDH_METHOD_OFS = 10, MZ_ZIP_CDH_FILE_TIME_OFS 2957,147396 + MZ_ZIP_CDH_METHOD_OFS = 10, MZ_ZIP_CDH_FILE_TIME_OFS = 12, MZ_ZIP_CDH_FILE_DATE_OFS 2957,147396 + MZ_ZIP_CDH_METHOD_OFS = 10, MZ_ZIP_CDH_FILE_TIME_OFS = 12, MZ_ZIP_CDH_FILE_DATE_OFS = 14, MZ_ZIP_CDH_CRC32_OFS 2957,147396 + MZ_ZIP_CDH_COMPRESSED_SIZE_OFS 2958,147515 + MZ_ZIP_CDH_COMPRESSED_SIZE_OFS = 20, MZ_ZIP_CDH_DECOMPRESSED_SIZE_OFS 2958,147515 + MZ_ZIP_CDH_COMPRESSED_SIZE_OFS = 20, MZ_ZIP_CDH_DECOMPRESSED_SIZE_OFS = 24, MZ_ZIP_CDH_FILENAME_LEN_OFS 2958,147515 + MZ_ZIP_CDH_COMPRESSED_SIZE_OFS = 20, MZ_ZIP_CDH_DECOMPRESSED_SIZE_OFS = 24, MZ_ZIP_CDH_FILENAME_LEN_OFS = 28, MZ_ZIP_CDH_EXTRA_LEN_OFS 2958,147515 + MZ_ZIP_CDH_COMMENT_LEN_OFS 2959,147658 + MZ_ZIP_CDH_COMMENT_LEN_OFS = 32, MZ_ZIP_CDH_DISK_START_OFS 2959,147658 + MZ_ZIP_CDH_COMMENT_LEN_OFS = 32, MZ_ZIP_CDH_DISK_START_OFS = 34, MZ_ZIP_CDH_INTERNAL_ATTR_OFS 2959,147658 + MZ_ZIP_CDH_COMMENT_LEN_OFS = 32, MZ_ZIP_CDH_DISK_START_OFS = 34, MZ_ZIP_CDH_INTERNAL_ATTR_OFS = 36, MZ_ZIP_CDH_EXTERNAL_ATTR_OFS 2959,147658 + MZ_ZIP_CDH_COMMENT_LEN_OFS = 32, MZ_ZIP_CDH_DISK_START_OFS = 34, MZ_ZIP_CDH_INTERNAL_ATTR_OFS = 36, MZ_ZIP_CDH_EXTERNAL_ATTR_OFS = 38, MZ_ZIP_CDH_LOCAL_HEADER_OFS 2959,147658 + MZ_ZIP_LDH_SIG_OFS 2961,147865 + MZ_ZIP_LDH_SIG_OFS = 0, MZ_ZIP_LDH_VERSION_NEEDED_OFS 2961,147865 + MZ_ZIP_LDH_SIG_OFS = 0, MZ_ZIP_LDH_VERSION_NEEDED_OFS = 4, MZ_ZIP_LDH_BIT_FLAG_OFS 2961,147865 + MZ_ZIP_LDH_SIG_OFS = 0, MZ_ZIP_LDH_VERSION_NEEDED_OFS = 4, MZ_ZIP_LDH_BIT_FLAG_OFS = 6, MZ_ZIP_LDH_METHOD_OFS 2961,147865 + MZ_ZIP_LDH_SIG_OFS = 0, MZ_ZIP_LDH_VERSION_NEEDED_OFS = 4, MZ_ZIP_LDH_BIT_FLAG_OFS = 6, MZ_ZIP_LDH_METHOD_OFS = 8, MZ_ZIP_LDH_FILE_TIME_OFS 2961,147865 + MZ_ZIP_LDH_FILE_DATE_OFS 2962,148013 + MZ_ZIP_LDH_FILE_DATE_OFS = 12, MZ_ZIP_LDH_CRC32_OFS 2962,148013 + MZ_ZIP_LDH_FILE_DATE_OFS = 12, MZ_ZIP_LDH_CRC32_OFS = 14, MZ_ZIP_LDH_COMPRESSED_SIZE_OFS 2962,148013 + MZ_ZIP_LDH_FILE_DATE_OFS = 12, MZ_ZIP_LDH_CRC32_OFS = 14, MZ_ZIP_LDH_COMPRESSED_SIZE_OFS = 18, MZ_ZIP_LDH_DECOMPRESSED_SIZE_OFS 2962,148013 + MZ_ZIP_LDH_FILENAME_LEN_OFS 2963,148149 + MZ_ZIP_LDH_FILENAME_LEN_OFS = 26, MZ_ZIP_LDH_EXTRA_LEN_OFS 2963,148149 + MZ_ZIP_ECDH_SIG_OFS 2965,148254 + MZ_ZIP_ECDH_SIG_OFS = 0, MZ_ZIP_ECDH_NUM_THIS_DISK_OFS 2965,148254 + MZ_ZIP_ECDH_SIG_OFS = 0, MZ_ZIP_ECDH_NUM_THIS_DISK_OFS = 4, MZ_ZIP_ECDH_NUM_DISK_CDIR_OFS 2965,148254 + MZ_ZIP_ECDH_SIG_OFS = 0, MZ_ZIP_ECDH_NUM_THIS_DISK_OFS = 4, MZ_ZIP_ECDH_NUM_DISK_CDIR_OFS = 6, MZ_ZIP_ECDH_CDIR_NUM_ENTRIES_ON_DISK_OFS 2965,148254 + MZ_ZIP_ECDH_CDIR_TOTAL_ENTRIES_OFS 2966,148397 + MZ_ZIP_ECDH_CDIR_TOTAL_ENTRIES_OFS = 10, MZ_ZIP_ECDH_CDIR_SIZE_OFS 2966,148397 + MZ_ZIP_ECDH_CDIR_TOTAL_ENTRIES_OFS = 10, MZ_ZIP_ECDH_CDIR_SIZE_OFS = 12, MZ_ZIP_ECDH_CDIR_OFS_OFS 2966,148397 + MZ_ZIP_ECDH_CDIR_TOTAL_ENTRIES_OFS = 10, MZ_ZIP_ECDH_CDIR_SIZE_OFS = 12, MZ_ZIP_ECDH_CDIR_OFS_OFS = 16, MZ_ZIP_ECDH_COMMENT_SIZE_OFS 2966,148397 + void *m_p;m_p2971,148559 + size_t m_size,2972,148572 + size_t m_size, m_capacity;2972,148572 + mz_uint m_element_size;2973,148601 +} mz_zip_array;2974,148627 +struct mz_zip_internal_state_tag2976,148644 + mz_zip_array m_central_dir;2978,148679 + mz_zip_array m_central_dir_offsets;2979,148709 + mz_zip_array m_sorted_central_dir_offsets;2980,148747 + MZ_FILE *m_pFile;m_pFile2981,148792 + void *m_pMem;m_pMem2982,148812 + size_t m_mem_size;2983,148828 + size_t m_mem_capacity;2984,148849 +#define MZ_ZIP_ARRAY_SET_ELEMENT_SIZE(2987,148878 +#define MZ_ZIP_ARRAY_ELEMENT(2988,148984 +static MZ_FORCEINLINE void mz_zip_array_clear(2990,149090 +static mz_bool mz_zip_array_ensure_capacity(2996,149281 +static MZ_FORCEINLINE mz_bool mz_zip_array_reserve(3005,149902 +static MZ_FORCEINLINE mz_bool mz_zip_array_resize(3011,150192 +static MZ_FORCEINLINE mz_bool mz_zip_array_ensure_room(3018,150498 +static MZ_FORCEINLINE mz_bool mz_zip_array_push_back(3023,150686 +static time_t mz_zip_dos_to_time_t(3031,151089 +static void mz_zip_time_to_dos_time(3040,151471 +static mz_bool mz_zip_get_file_modified_time(3060,152023 +static mz_bool mz_zip_set_file_times(3075,152603 +static mz_bool mz_zip_reader_init_internal(3083,152878 +static MZ_FORCEINLINE mz_bool mz_zip_reader_filename_less(3107,153898 +#define MZ_SWAP_UINT32(3124,154781 +static void mz_zip_reader_sort_central_dir_offsets_by_filename(3127,155045 +static mz_bool mz_zip_reader_read_central_dir(3168,156549 +mz_bool mz_zip_reader_init(3268,161661 +static size_t mz_zip_mem_read_func(3283,162033 +mz_bool mz_zip_reader_init_mem(3291,162372 +static size_t mz_zip_file_read_func(3313,162962 +mz_bool mz_zip_reader_init_file(3322,163382 +mz_uint mz_zip_reader_get_num_files(3352,164109 +static MZ_FORCEINLINE const mz_uint8 *mz_zip_reader_get_cdh(mz_zip_reader_get_cdh3357,164213 +mz_bool mz_zip_reader_is_file_encrypted(3364,164616 +mz_bool mz_zip_reader_is_file_a_directory(3374,164904 +mz_bool mz_zip_reader_file_stat(3399,165878 +mz_uint mz_zip_reader_get_filename(3434,167788 +static MZ_FORCEINLINE mz_bool mz_zip_reader_string_equal(3449,168289 +static MZ_FORCEINLINE int mz_zip_reader_filename_compare(3460,168620 +static int mz_zip_reader_locate_file_binary_search(3476,169287 +int mz_zip_reader_locate_file(3498,170110 +mz_bool mz_zip_reader_extract_to_mem_no_alloc(3538,172091 +mz_bool mz_zip_reader_extract_file_to_mem_no_alloc(3665,177477 +mz_bool mz_zip_reader_extract_to_mem(3673,177915 +mz_bool mz_zip_reader_extract_file_to_mem(3678,178141 +void *mz_zip_reader_extract_to_heap(mz_zip_reader_extract_to_heap3683,178379 +void *mz_zip_reader_extract_file_to_heap(mz_zip_reader_extract_file_to_heap3717,179411 +mz_bool mz_zip_reader_extract_to_callback(3728,179758 +mz_bool mz_zip_reader_extract_file_to_callback(3891,186344 +static size_t mz_zip_file_write_callback(3900,186732 +mz_bool mz_zip_reader_extract_to_file(3905,186898 +mz_bool mz_zip_reader_end(3926,187587 +mz_bool mz_zip_reader_extract_file_to_file(3954,188367 +static void mz_write_le16(3967,188808 +static void mz_write_le32(3968,188911 +#define MZ_WRITE_LE16(3969,189070 +#define MZ_WRITE_LE32(3970,189145 +mz_bool mz_zip_writer_init(3972,189221 +static size_t mz_zip_heap_write_func(4002,190465 +mz_bool mz_zip_writer_init_heap(4026,191435 +static size_t mz_zip_file_write_func(4045,192108 +mz_bool mz_zip_writer_init_file(4054,192536 +mz_bool mz_zip_writer_init_from_reader(4085,193463 +mz_bool mz_zip_writer_add_mem(4135,195273 + mz_zip_archive *m_pZip;m_pZip4142,195538 + mz_uint64 m_cur_archive_file_ofs;4143,195564 + mz_uint64 m_comp_size;4144,195600 +} mz_zip_writer_add_state;4145,195625 +static mz_bool mz_zip_writer_add_put_buf_callback(4147,195653 +static mz_bool mz_zip_writer_create_local_dir_header(4157,196045 +static mz_bool mz_zip_writer_create_central_dir_header(4175,197124 +static mz_bool mz_zip_writer_add_to_central_dir(4196,198494 +static mz_bool mz_zip_writer_validate_archive_name(4224,200313 +static mz_uint mz_zip_writer_compute_padding_needed_for_file_alignment(4238,200776 +static mz_bool mz_zip_writer_write_zeros(4247,201104 +mz_bool mz_zip_writer_add_mem_ex(4261,201474 +mz_bool mz_zip_writer_add_file(4412,207290 +mz_bool mz_zip_writer_add_from_zip_reader(4590,213551 +mz_bool mz_zip_writer_finalize_archive(4713,218567 +mz_bool mz_zip_writer_finalize_heap_archive(4762,220396 +mz_bool mz_zip_writer_end(4778,220902 +mz_bool mz_zip_add_mem_to_archive_file_in_place(4811,221900 +void *mz_zip_extract_archive_file_to_heap(mz_zip_extract_archive_file_to_heap4856,223782 + +mkbuiltin.c,645 +static unsigned char *read_file(read_file44,1716 +static void compressJavascript(75,2471 +typedef struct Resource Resource;110,3320 +struct Resource 111,3354 + char *zName;zName112,3372 + int nByte;113,3387 + int idx;114,3400 +typedef struct ResourceList ResourceList;117,3415 +struct ResourceList 118,3457 + Resource *aRes;aRes119,3479 + int nRes;120,3499 + char *buf;buf121,3513 + long bufsize;122,3528 +Resource *read_reslist(read_reslist126,3551 +void free_reslist(206,5576 +typedef int (*QsortCompareFunc)QsortCompareFunc219,5902 +static int compareResource(221,5963 +int remove_duplicates(225,6069 +int main(276,7544 + +mkindex.c,815 +typedef struct Entry 101,4114 + int eType;102,4137 + char *zIf;zIf103,4180 + char *zFunc;zFunc104,4221 + char *zPath;zPath105,4270 + char *zHelp;zHelp106,4320 + char *zDflt;zDflt107,4356 + char *zVar;zVar108,4409 + int iHelp;109,4485 + int iWidth;110,4530 +} Entry;111,4590 +Entry aEntry[aEntry126,4747 +char zHelp[zHelp131,4813 +int nHelp;132,4834 +char zIf[zIf137,4885 +int nUsed;142,4937 +int nFixed;143,4948 +char *zFile;zFile148,5003 +int nLine;149,5016 +int nErr 154,5054 +char *string_dup(string_dup159,5114 +int fossil_isspace(172,5390 +int fossil_isident(179,5522 +void scan_for_label(191,5787 +void scan_for_if(278,9172 +void scan_for_default(297,9640 +void scan_for_func(313,10106 +int e_compare(388,12004 +void build_table(397,12205 +void process_file(505,15102 +int main(526,15608 + +mkversion.c,122 +static FILE *open_for_reading(open_for_reading48,1928 +static void hash(61,2253 +int main(87,2774 +#define str(117,3606 + +moderate.c,358 +void moderation_table_create(29,854 +int moderation_table_exists(42,1244 +int moderation_pending(49,1407 +int moderation_pending_www(67,1916 +int moderation_needed(79,2168 +static int object_used(87,2365 +void moderation_disapprove(106,2822 +void moderation_approve(152,4253 +void modreq_page(173,4837 +void moderation_disapprove_for_missing_users(210,6047 + +name.c,1324 +int fossil_isdate(30,960 +char *fossil_expand_datetime(fossil_expand_datetime56,1984 +const char *fossil_roundup_date(fossil_roundup_date122,3803 +int start_of_branch(156,4752 +static int most_recent_event_with_tag(200,6090 +int symbolic_name_to_rid(274,8851 +int name_to_uuid(517,16222 +int name_to_uuid2(543,17205 +int name_collisions(558,17661 +void test_name_to_id(586,18445 +int name_to_typed_rid(626,19340 +int name_to_rid(638,19645 +void ambiguous_page(652,20021 +int name_to_rid_www(726,22283 +int whatis_rid_type(758,23378 +char const * whatis_rid_type_label(788,24476 +void whatis_rid(805,25024 +void whatis_cmd(977,30737 +void test_whatis_all_cmd(1025,32007 +void test_ambiguous_cmd(1047,32575 +static const char zDescTab[zDescTab1090,33792 +@ ON description(1102,34432 +void describe_artifacts(1176,37432 +int describe_artifacts_to_stdout(1339,43412 +void test_describe_artifacts_cmd(1371,44279 +void bloblist_page(1396,45000 +void table_of_public_phantoms(1522,48503 +void phantom_list_page(1586,50797 +void bigbloblist_page(1609,51419 +void test_unsent_cmd(1672,53499 +void test_unclusterd_cmd(1684,53737 +void test_phatoms_cmd(1696,53961 +static void collision_report(1708,54306 + int cnt;1714,54435 + char *azHit[azHit1715,54448 + char z[z1716,54478 +void hash_collisions_webpage(1774,56187 + +patch.c,425 +char *fossil_hostname(fossil_hostname28,807 +static void readfileFunc(55,1472 +static void mkdeltaFunc(79,2088 +void patch_create(139,3559 +void patch_attach(263,7396 +void patch_view(304,8532 +void patch_apply(373,10803 +static char *patch_find_patch_filename(patch_find_patch_filename607,18023 +static FILE *patch_remote_command(patch_remote_command648,19175 +static void patch_diff(696,20601 +void patch_cmd(888,27675 + +path.c,1452 +struct PathNode 27,789 + int rid;28,807 + u8 fromIsParent;29,857 + u8 isPrim;30,925 + u8 isHidden;31,998 + PathNode *pFrom;pFrom32,1071 + PathNode *pPeer;pPeer34,1132 + PathNode *pTo;pTo35,1202 + } u;36,1270 + PathNode *pAll;pAll37,1277 + PathNode *pCurrent;pCurrent45,1394 + PathNode *pAll;pAll46,1452 + Bag seen;47,1492 + int nStep;48,1540 + int nNotHidden;49,1605 + PathNode *pStart;pStart50,1677 + PathNode *pEnd;pEnd51,1721 +} path;52,1763 +PathNode *path_first(path_first57,1835 +PathNode *path_last(path_last58,1885 +int path_length(63,1991 +int path_length_not_hidden(68,2105 +static PathNode *path_new_node(path_new_node73,2193 +void path_reset(92,2606 +static void path_reverse_path(106,2875 +PathNode *path_shortest(path_shortest128,3459 +PathNode *path_midpoint(path_midpoint201,5406 +int path_search_depth(215,5763 +void path_shortest_stored_in_ancestor_table(226,6078 +void shortest_path_test_cmd(261,7060 +int path_common_ancestor(301,8148 +void ancestor_path_test_cmd(367,9933 +typedef struct NameChange NameChange;399,10773 +struct NameChange 400,10811 + int origName;401,10831 + int curName;402,10882 + int newName;403,10936 + NameChange *pNext;pNext404,10994 +void find_filename_changes(423,11674 +void test_name_change(539,15316 +static const char zRenameQuery[zRenameQuery574,16337 +static const char zDistinctRenameQuery[zDistinctRenameQuery591,16837 +void test_rename_list_page(615,17525 + +piechart.c,280 +const char *rgbName(rgbName35,981 +struct WedgeLabel 73,2056 + double rCos,74,2076 + double rCos, rSin;74,2076 + char *z;z75,2146 +typedef struct WedgeLabel WedgeLabel;77,2206 +static int wedgeCompare(83,2379 +void piechart_render(101,2863 +void piechart_test_page(273,8537 + +pikchr.c,7027 +#define count(125,5806 +#define UNUSED_PARAMETER(132,6008 +typedef struct Pik Pik;134,6048 +typedef struct PToken PToken;135,6112 +typedef struct PObj PObj;136,6166 +typedef struct PList PList;137,6229 +typedef struct PClass PClass;138,6294 +typedef double PNum;139,6365 +typedef struct PRel PRel;140,6418 +typedef struct PPoint PPoint;141,6486 +typedef struct PVar PVar;142,6549 +typedef struct PBox PBox;143,6612 +typedef struct PMacro PMacro;144,6666 +static const PNum pik_hdg_angle[pik_hdg_angle160,7068 +struct PPoint 203,8558 + PNum x,204,8574 + PNum x, y;204,8574 +static const PPoint cZeroPoint 206,8628 +struct PBox 209,8694 + PPoint sw,210,8708 + PPoint sw, ne;210,8708 +struct PRel 222,9105 + PNum rAbs;223,9119 + PNum rRel;224,9164 +struct PVar 232,9421 + const char *zName;zName233,9435 + PNum val;234,9489 + PVar *pNext;pNext235,9544 +struct PToken 240,9665 + const char *z;z241,9681 + unsigned int n;242,9742 + short int eCode;243,9806 + unsigned char eType;244,9856 + unsigned char eEdge;245,9915 +static int pik_token_eq(251,10111 +#define ValidDir(269,10647 +#define IsUpDown(270,10690 +#define IsLeftRight(271,10727 +struct PObj 292,11407 + const PClass *type;type293,11421 + PToken errTok;294,11475 + PPoint ptAt;295,11543 + PPoint ptEnter,296,11607 + PPoint ptEnter, ptExit;296,11607 + PList *pSublist;pSublist297,11662 + char *zName;zName298,11726 + PNum w;299,11791 + PNum h;300,11841 + PNum rad;301,11892 + PNum sw;302,11943 + PNum dotted;303,12024 + PNum dashed;304,12092 + PNum fill;305,12160 + PNum color;306,12228 + PPoint with;307,12278 + char eWith;308,12348 + char cw;309,12418 + char larrow;310,12474 + char rarrow;311,12538 + char bClose;312,12597 + char bChop;313,12654 + unsigned char nTxt;314,12710 + unsigned mProp;315,12765 + unsigned mCalc;316,12829 + PToken aTxt[aTxt317,12901 + int iLayer;318,12968 + int inDir,319,13017 + int inDir, outDir;319,13017 + int nPath;320,13076 + PPoint *aPath;aPath321,13131 + PObj *pFrom,pFrom322,13185 + PObj *pFrom, *pTo;pTo322,13185 + PBox bbox;323,13246 +struct PList 327,13329 + int n;328,13344 + int nAlloc;329,13401 + PObj **a;a330,13448 +struct PMacro 334,13532 + PMacro *pNext;pNext335,13548 + PToken macroName;336,13594 + PToken macroBody;337,13641 + int inUse;338,13688 +struct Pik 344,13881 + unsigned nErr;345,13894 + PToken sIn;346,13949 + char *zOut;zOut347,14009 + unsigned int nOut;348,14066 + unsigned int nOutAlloc;349,14130 + unsigned char eDir;350,14189 + unsigned int mFlags;351,14240 + PObj *cur;cur352,14298 + PObj *lastRef;lastRef353,14357 + PList *list;list354,14421 + PMacro *pMacros;pMacros355,14485 + PVar *pVar;pVar356,14545 + PBox bbox;357,14608 + PNum rScale;359,14755 + PNum fontScale;360,14829 + PNum charWidth;361,14894 + PNum charHeight;362,14947 + PNum wArrow;363,15001 + PNum hArrow;364,15072 + char bLayoutVars;365,15152 + char thenFlag;366,15212 + char samePath;367,15265 + const char *zClass;zClass368,15322 + int wSVG,369,15380 + int wSVG, hSVG;369,15380 + int fgcolor;370,15443 + int bgcolor;371,15515 + int nTPath;374,15694 + int mTPath;375,15757 + PPoint aTPath[aTPath376,15826 + unsigned int nCtx;378,15906 + PToken aCtx[aCtx379,15964 +struct PClass 396,16486 + const char *zName;zName397,16502 + char isLine;398,16563 + char eJust;399,16631 + void (*xInit)xInit400,16711 + void (*xNumProp)xNumProp401,16771 + void (*xCheck)xCheck402,16845 + PPoint (*xChop)xChop403,16920 + PPoint (*xOffset)xOffset404,16976 + void (*xFit)xFit405,17053 + void (*xRender)xRender406,17118 + int yyinit;675,29139 + pik_parserTOKENTYPE yy0;676,29153 + PRel yy10;677,29180 + PObj* yy36;678,29193 + PPoint yy79;679,29207 + PNum yy153;680,29222 + short int yy164;681,29236 + PList* yy227;682,29255 +} YYMINORTYPE;683,29271 +# define yytestcase(722,30596 +static const YYACTIONTYPE yy_action[yy_action777,32947 +static const YYCODETYPE yy_lookahead[yy_lookahead910,42644 +static const unsigned short int yy_shift_ofst[yy_shift_ofst1056,53171 +static const short yy_reduce_ofst[yy_reduce_ofst1078,54539 +static const YYACTIONTYPE yy_default[yy_default1089,55206 +static const YYCODETYPE yyFallback[yyFallback1125,57162 +struct yyStackEntry 1244,61435 + YYACTIONTYPE stateno;1245,61457 + YYCODETYPE major;1246,61538 + YYMINORTYPE minor;1248,61679 +typedef struct yyStackEntry yyStackEntry;1251,61811 +struct yyParser 1255,61953 + yyStackEntry *yytos;yytos1256,61971 + int yyhwm;1258,62073 + int yyerrcnt;1261,62173 + int yystksz;1266,62423 + yyStackEntry *yystack;yystack1267,62487 + yyStackEntry yystk0;1268,62544 + yyStackEntry yystack[yystack1270,62606 + yyStackEntry *yystackEnd;yystackEnd1271,62670 +typedef struct yyParser yyParser;1274,62749 +static FILE *yyTraceFILE yyTraceFILE1279,62838 +static char *yyTracePrompt yyTracePrompt1280,62868 +void pik_parserTrace(1301,63412 +static const char *const yyTokenName[yyTokenName1312,63815 +static const char *const yyRuleName[yyRuleName1454,67033 +static int yyGrowStack(1620,73666 +void pik_parserInit(1659,74668 +void *pik_parserAlloc(pik_parserAlloc1698,75694 +static void yy_destructor(1717,76426 + break;1741,77358 + break;1750,77550 + default: break;1752,77644 +static void yy_pop_parser_stack(1762,77878 +void pik_parserFinalize(1780,78325 +void pik_parserFree(1797,78919 +int pik_parserStackPeak(1813,79305 +static unsigned char yycoverage[yycoverage1825,79695 +int pik_parserCoverage(1837,80007 +static YYACTIONTYPE yy_find_shift_action(1860,80679 +static YYACTIONTYPE yy_find_reduce_action(1925,82635 +static void yyStackOverflow(1954,83332 +static void yyTraceShift(1979,84136 +# define yyTraceShift(1993,84611 +static void yy_shift(1999,84681 +static const YYCODETYPE yyRuleInfoLhs[yyRuleInfoLhs2040,85919 +static const signed char yyRuleInfoNRhs[yyRuleInfoNRhs2201,93508 +static YYACTIONTYPE yy_reduce(2372,101340 + yymsp[-2].minor.yy153 yy1532989,124405 + break;2990,124471 + break;2995,124596 + break;3000,124741 + break;3005,124888 + break;3010,125065 + yymsp[0].minor.yy153 yy1533015,125211 + break;3016,125276 + yymsp[0].minor.yy153 yy1533021,125401 + break;3022,125466 + yymsp[-3].minor.yy153 yy1533027,125631 + break;3028,125697 + yymsp[-5].minor.yy153 yy1533033,125891 + break;3034,125957 + break;3039,126140 + yymsp[-2].minor.yy153 yy1533044,126290 + break;3045,126356 + yymsp[-2].minor.yy153 yy1533050,126484 + break;3051,126550 + yymsp[-2].minor.yy153 yy1533058,126889 + break;3059,126955 + break;3101,129593 + yygoto 3105,129763 + yysize 3106,129799 + yyact 3107,129836 + yypParser->yytos yytos3117,130236 + yymsp->stateno stateno3118,130264 + yymsp->major major3119,130304 +static void yy_parse_failed(3128,130496 +static void yy_syntax_error(3151,131255 +static void yy_accept(3177,132079 +void pik_parser(3218,133388 +int pik_parserFallback(3392,139169 + +pikchr.y,30 +{yylhsminor.yy153=yy153765, + const char *zName;zName781, + int val;782, +} aColor[aColor783, +static const struct { const char *zName;zName948, +static const struct { const char *zName; PNum val;948, +static const struct { const char *zName; PNum val; } aBuiltin[aBuiltin948, +static void arcInit(984, +static PPoint arcControlPoint(994, +static void arcCheck(1010, +static void arcRender(1019, +static void arrowInit(1044, +static void boxInit(1052, +static PPoint boxOffset(1059, +static PPoint boxChop(1087, +static void boxFit(1125, +static void boxRender(1130, +static void circleInit(1185, +static void circleNumProp(1190, +static PPoint circleChop(1208, +static void circleFit(1219, +static void circleRender(1233, +static void cylinderInit(1247, +static void cylinderFit(1252, +static void cylinderRender(1257, +static PPoint cylinderOffset(1280, +static void dotInit(1302, +static void dotNumProp(1307, +static void dotCheck(1318, +static PPoint dotOffset(1324, +static void dotRender(1330, +static void ellipseInit(1346, +static PPoint ellipseChop(1350, +static PPoint ellipseOffset(1366, +static void ellipseRender(1387, +static void fileInit(1403, +static PPoint fileOffset(1410, +static void fileFit(1435, +static void fileRender(1440, +static void lineInit(1469, +static PPoint lineOffset(1474, +static void lineRender(1487, +static void moveInit(1515, +static void moveRender(1522, +static void ovalInit(1529, +static void ovalNumProp(1534, +static void ovalFit(1541, +static void splineInit(1552, +static PPoint radiusMidpoint(1561, +static void radiusPath(1579, +static void splineRender(1611, +static void textInit(1632, +static PPoint textOffset(1637, +static void sublistInit(1647, +static const PClass aClass[aClass1667, +static const PClass sublistClass 1812, +static const PClass noopClass 1824, +static void pik_chop(1842, +static void pik_draw_arrowhead(1861, +static PPoint pik_elem_offset(1894, +static void pik_append(1902, +static void pik_append_text(1932, +static void pik_append_errtxt(1965, +static void pik_append_num(1975, +static void pik_append_point(1985, +static int pik_color_to_dark_mode(2000, +static void pik_append_x(2035, +static void pik_append_y(2042, +static void pik_append_xy(2049, +static void pik_append_dis(2058, +static void pik_append_clr(2072, +static void pik_append_arc(2095, +static void pik_append_style(2117, +static void pik_txt_vertical_layout(2156, +static PNum pik_font_scale(2230, +static void pik_append_txt(2249, +static void pik_error_context(2441, +static void pik_error(2500, +static PObj *pik_assert(pik_assert2537, +static PObj *pik_position_assert(pik_position_assert2554, +static void pik_elist_free(2569, +static void pik_elem_free(2581, +PNum pik_atof(2603, +static PNum pik_dist(2631, +static int pik_bbox_isempty(2640, +static int pik_bbox_contains_point(2646, +static void pik_bbox_init(2657, +static void pik_bbox_addbox(2667, +static void pik_bbox_add_xy(2681, +static void pik_bbox_addellipse(2698, +static PList *pik_elist_append(pik_elist_append2718, +static const PClass *pik_find_class(pik_find_class2747, +static PObj *pik_elem_new(pik_elem_new2773, +static PMacro *pik_find_macro(pik_find_macro2849, +static void pik_add_macro(2863, +static void pik_elem_set_exit(2888, +static void pik_set_direction(2904, +static void pik_elem_move(2929, +static void pik_elist_move(2949, +static int pik_param_ok(2967, +void pik_set_numprop(2992, +void pik_set_clrprop(3025, +void pik_set_dashed(3049, +static void pik_reset_samepath(3072, +static void pik_then(3084, +static int pik_next_rpath(3100, +static void pik_add_direction(3116, +static void pik_move_hdg(3167, +static void pik_evenwith(3221, +static PObj *pik_last_ref_object(pik_last_ref_object3267, +static void pik_set_from(3281, +static void pik_add_to(3311, +static void pik_close_path(3330, +static void pik_behind(3347, +static void pik_set_at(3357, +static void pik_add_txt(3383, +static int pik_text_position(3397, +static const unsigned char awChar[awChar3423, +static int pik_text_length(3545, +static void pik_size_to_fit(3594, +static void pik_set_var(3628, +static int pik_round(3667, +static PNum pik_value(3688, +static int pik_value_int(3712, +static PNum pik_lookup_color(3726, +static PNum pik_get_var(3766, +static short int pik_nth_value(3779, +static PObj *pik_find_nth(pik_find_nth3804, +static PObj *pik_find_byname(pik_find_byname3853, +static void pik_same(3893, +static PPoint pik_place_of_elem(3945, +static PPoint pik_position_between(3968, +static PPoint pik_position_at_angle(3980, +static PPoint pik_position_at_hdg(3989, +static PPoint pik_nth_vertex(3995, +static PNum pik_property_of(4013, +static PNum pik_func(4039, +static void pik_elem_setname(4063, +static PObj *pik_find_chopper(pik_find_chopper4083, +static void pik_autochop(4113, +static void pik_after_adding_attributes(4125, +static void pik_elem_render(4274, +void pik_elist_render(4305, +static void pik_bbox_add_elist(4364, +static void pik_compute_layout_settings(4389, +static void pik_render(4411, +typedef struct PikWord 4494, + char *zWord;zWord4495, + unsigned char nChar;4496, + unsigned char eType;4497, + unsigned char eCode;4498, + unsigned char eEdge;4499, +} PikWord;4500, +static const PikWord pik_keywords[pik_keywords4505, +static const PikWord *pik_find_word(pik_find_word4603, +static void pik_breakpoint(4632, +static int pik_token_length(4643, + int nByte;4822, + int eCode;4823, + const char *zEntity;zEntity4824, +static PToken pik_next_semantic_token(4984, +static unsigned int pik_parse_macro_args(5012, +void pik_tokenize(5075, +char *pikchr(pikchr5162, +int LLVMFuzzerTestOneInput(5215, +static void usage(5232, +static void print_escape_html(5244, +static char *readFile(readFile5270, +int main(5311, +static int pik_tcl_command(5428, +int Pikchr_Init(5468, + +pikchrshow.c,87 +int pikchr_process(117,5054 +void pikchrshow_page(244,9273 +void pikchr_cmd(450,17225 + +pivot.c,121 +void pivot_set_primary(39,1325 +void pivot_set_secondary(66,2273 +int pivot_find(82,2738 +void test_find_pivot(166,4881 + +popen.c,361 +static void win32_fatal_error(29,797 +# define INT_TO_PTR(51,1569 +# define PTR_TO_INT(52,1624 +# define INT_TO_PTR(54,1750 +# define PTR_TO_INT(55,1798 +# define INT_TO_PTR(57,1926 +# define PTR_TO_INT(58,1973 +# define INT_TO_PTR(60,2097 +# define PTR_TO_INT(61,2134 +static int win32_create_child_process(72,2350 +int popen2(126,4086 +void pclose2(221,6515 + +pqueue.c,328 +struct PQueue 42,1482 + int cnt;43,1498 + int sz;44,1548 + struct QueueElement 45,1590 + int id;46,1614 + void *p;p47,1659 + double value;48,1702 + } *a;a49,1772 +void pqueuex_init(56,1830 +void pqueuex_clear(63,1946 +static void pqueuex_resize(71,2079 +void pqueuex_insert(79,2233 +int pqueuex_extract(103,2734 + +printf.c,1336 +int hash_digits(53,1830 +int length_of_S_display(70,2386 +typedef unsigned char etByte;115,4649 +typedef struct et_info 121,4803 + char fmttype;122,4872 + etByte base;123,4934 + etByte flags;124,4997 + etByte type;125,5067 + etByte charset;126,5120 + etByte prefix;127,5196 +} et_info;128,5272 +static const char aDigits[aDigits145,5751 +static const char aPrefix[aPrefix146,5817 +static const char fmtchr[fmtchr147,5860 +static const et_info fmtinfo[fmtinfo148,5925 +void fossil_printf_selfcheck(190,7494 +static int et_getdigit(211,8044 +# define StrNLen32(234,8604 +static int StrNLen32(236,8652 +static int wiki_convert_flags(253,9243 +int vxprintf(292,10337 +char *mprintf(mprintf902,31219 +char *vmprintf(vmprintf910,31366 +void fossil_error(923,31710 +void fossil_error_reset(939,32031 +static int stdoutAtBOL 951,32355 +void fossil_puts(963,32777 +int fossil_force_newline(987,33366 +void fossil_new_line_started(999,33617 +void fossil_print(1008,33857 +void fossil_vprint(1021,34131 +void fossil_trace(1035,34411 +void fossil_errorlog(1050,34703 +static int mainInFatalError 1094,36031 +static int fossil_print_error(1099,36101 +NORETURN void fossil_panic(1159,38287 +NORETURN void fossil_fatal(1180,38762 +void fossil_fatal_recursive(1206,39519 +void fossil_warning(1229,40182 +void fossil_binary_mode(1263,41042 + +publish.c,56 +void unpublished_cmd(39,1193 +void publish_cmd(73,2343 + +purge.c,331 +static const char zPurgeInit[zPurgeInit38,1352 +int purge_artifact_list(98,3815 +int purge_baseline_out_from_under_delta(235,9233 +void find_checkin_associates(264,10298 +static void purge_list_event_content(322,12258 +static int purge_extract_item(346,13003 +static void purge_item_resurrect(395,14362 +void purge_cmd(513,17956 + +rebuild.c,1193 +static void rebuild_update_schema(28,773 +void rebuild_schema_update_2_0(152,5020 +static int totalSize;188,6149 +static int processCnt;189,6223 +static int ttyOutput;190,6284 +static Bag bagDone 191,6340 +static char *zFNameFormat;zFNameFormat193,6401 +static int cchFNamePrefix;194,6478 +static const char *zDestDir;zDestDir195,6555 +static int prefixLength;196,6626 +static int fKeepRid1;197,6703 +static void percent_complete(204,6876 +void rebuild_clear_cache(217,7207 +static void rebuild_step_done(224,7310 +static void rebuild_step(251,8267 +static void rebuild_tag_trunk(350,11166 +int rebuild_db(379,12263 +void extra_deltification(500,15780 +static void reconstruct_private_table(573,17770 +void rebuild_database(615,19657 +void test_detach_cmd(767,24405 +void test_createcluster_cmd(789,25090 +void test_clusters_cmd(811,25567 +void scrub_cmd(898,28448 +void recon_read_dir(969,30622 +static int saved_eHashPolicy 1069,34035 +void recon_set_hash_policy(1071,34071 +void recon_restore_hash_policy(1098,35005 +void test_hash_from_path_cmd(1121,35644 +void private_export(1169,36917 +void private_import(1185,37384 +void reconstruct_cmd(1226,38739 +void deconstruct_cmd(1299,41497 + +regexp.c,1443 +typedef unsigned short ReStateNumber;87,3827 +typedef struct ReStateSet 94,4131 + unsigned nState;95,4159 + ReStateNumber *aState;aState96,4220 +} ReStateSet;97,4271 +struct ReInput 102,4352 + const unsigned char *z;z103,4369 + int i;104,4411 + int mx;105,4462 +struct ReCompiled 111,4631 + ReInput sIn;112,4651 + const char *zErr;zErr113,4711 + char *aOp;aOp114,4771 + int *aArg;aArg115,4841 + unsigned (*xNextChar)xNextChar116,4904 + unsigned char zInit[zInit117,4970 + int nInit;118,5028 + unsigned nState;119,5094 + unsigned nAlloc;120,5168 +static void re_add_state(125,5320 +static unsigned re_next_char(136,5818 +static unsigned re_next_char_nocase(161,6732 +static int re_word_char(167,6909 +static int re_digit_char(172,7037 +static int re_space_char(177,7169 +int re_match(184,7419 +static int re_resize(327,11282 +static int re_insert(343,11714 +static int re_append(358,12130 +static void re_copy(365,12326 +static int re_hex(376,12789 +static unsigned re_esc_char(393,13140 +static unsigned char rePeek(434,14107 +static const char *re_subcompile_re(re_subcompile_re442,14397 +static const char *re_subcompile_string(re_subcompile_string464,15058 +void re_free(603,19117 +const char *re_compile(re_compile617,19509 +static void re_sql_func(697,21977 +int re_add_sql_func(738,23149 +static void grep_file(754,23681 +static int grep_buffer(777,24273 +void re_test_grep(817,25170 +void re_grep_cmd(870,26986 + +repolist.c,313 +struct RepoInfo 29,923 + char *zRepoName;zRepoName30,941 + int isValid;31,999 + int isRepolistSkin;32,1076 + char *zProjName;zProjName35,1299 + char *zLoginGroup;zLoginGroup36,1372 + double rMTime;37,1444 +static void remote_repo_info(46,1679 +int repo_list_page(112,4181 +void test_list_page(300,10684 + +report.c,1579 +void view_list(45,1231 +char *trim_string(trim_string120,3347 +char *extract_integer(extract_integer131,3611 +char *remove_blank_lines(remove_blank_lines149,4212 +static int report_query_authorizer(182,5161 +void report_restrict_sql(263,7137 +void report_unrestrict_sql(267,7306 +char *verify_sql_statement(verify_sql_statement278,7590 +void view_see_sql(334,9204 +void view_edit(393,10939 +static void report_format_hints(558,16304 +struct GenerateHTML 697,21956 + int rn;698,21978 + int nCount;699,22017 + int nCol;700,22053 + int isMultirow;701,22096 + int iNewRow;702,22170 + int iBg;703,22243 + int wikiFlags;704,22314 + const char *zWikiStart;zWikiStart705,22372 + const char *zWikiEnd;zWikiEnd706,22446 +static int generate_html(712,22567 +static void output_no_tabs(858,26846 +static int output_tab_separated(876,27215 +void output_color_key(902,27833 +static int db_exec_readonly(938,28843 +void rptview_page(1011,31335 +void rptview_page_content(1018,31422 +static const char zFullTicketRptRn[zFullTicketRptRn1139,35283 +static const char zFullTicketRptTitle[zFullTicketRptTitle1144,35379 +void rpt_list_reports(1150,35560 +static const char *zSep zSep1168,36083 +typedef enum eTktShowEnc 1174,36183 +typedef enum eTktShowEnc { tktNoTab=1174,36183 +typedef enum eTktShowEnc { tktNoTab=0, tktFossilize=1174,36183 +typedef enum eTktShowEnc { tktNoTab=0, tktFossilize=1 } tTktShowEncoding;1174,36183 +static tTktShowEncoding tktEncode 1176,36264 +static void output_no_tabs_file(1182,36402 +int output_separated_file(1214,37076 +void rptshow(1242,37850 + +rss.c,64 +void page_timeline_rss(45,1454 +void cmd_timeline_rss(249,7595 + +schema.c,682 +const char zConfigSchema[zConfigSchema26,784 +const char zRepositorySchema1[zRepositorySchema167,2197 +@ -- project;96,3589 +@ -- Whenever new blobs are received into the repository,101,3849 +@ -- The user.pw field can be either cleartext of the password,114,4348 +@ -- characters long we assume it is a SHA1 hash. Otherwise,116,4485 +@ -- cleartext. The sha1_shared_secret(117,4553 +@ -- have not artifact ID 151,6125 +@ -- Some ticket content 184,7490 +# define ValidBklnk(490,19970 +const char zLocalSchema[zLocalSchema515,21023 +const char zLocalSchemaVmerge[zLocalSchemaVmerge570,23374 +@ END;597,24676 +@598,24683 +static const char zForumSchema[zForumSchema606,24848 + +search.c,2874 +struct Search 48,1559 + int nTerm;49,1575 + struct srchTerm 50,1628 + char *z;z51,1679 + int n;52,1717 + } a[a53,1757 + char *zPattern;zPattern55,1806 + char *zMarkBegin;zMarkBegin56,1855 + char *zMarkEnd;zMarkEnd57,1902 + char *zMarkGap;zMarkGap58,1947 + unsigned fSrchFlg;59,2003 + int iScore;60,2039 + Blob snip;61,2101 +static Search gSearch;72,2356 +static const char isBoundary[isBoundary78,2435 +#define ISALNUM(96,3337 +void search_end(102,3428 +static Search *search_init(search_init117,3750 +static void snippet_text_append(157,4777 +static int search_match(187,5731 +void test_match_cmd(346,11150 +static void search_init_sqlfunc(389,12559 +static void search_match_sqlfunc(425,13606 +static void search_score_sqlfunc(446,14098 +static void search_snippet_sqlfunc(458,14344 +static void search_stext_sqlfunc(475,14812 +static void search_title_sqlfunc(491,15289 +static void search_body_sqlfunc(512,15872 +static void search_urlencode_sqlfunc(530,16415 +void search_sql_setup(543,16730 +void search_cmd(594,18670 +unsigned int search_restrict(668,21216 + static const struct { unsigned m;671,21343 + static const struct { unsigned m; const char *zKey;zKey671,21343 +static void search_fullscan(713,22738 +static int nbits(836,27105 +static void search_rank_sqlfunc(845,27271 +static void search_indexed(921,29409 + static const struct { unsigned m;951,30385 + static const struct { unsigned m; char c;951,30385 +static int isSnippetMark(978,31162 +static char *cleanSnippet(cleanSnippet993,31617 +int search_run_and_output(1035,32536 +int search_screen(1113,35096 +void search_page(1213,38374 +static void get_stext_by_mimetype(1229,38802 +static void append_all_ticket_fields(1275,40173 +void search_stext(1328,42196 +char *search_stext_cached(search_stext_cached1438,45904 + Blob stext;1445,46213 + char cType;1446,46263 + int rid;1447,46303 + int nTitle;1448,46342 +void test_search_stext(1480,47217 +void test_convert_stext(1497,47670 +static const char zFtsSchema[zFtsSchema1511,48041 +@ CREATE INDEX repository.ftsdocIdxed ON ftsdocs(1525,48765 +void search_drop_index(1551,49770 +int search_index_exists(1559,49928 +void search_fill_index(1571,50250 +void search_doc_touch(1605,51443 +static void search_update_doc_index(1642,52562 +static void search_update_checkin_index(1697,54415 +static void search_update_ticket_index(1720,55135 +static void search_update_wiki_index(1743,55849 +static void search_update_forum_index(1765,56528 +static void search_update_technote_index(1788,57208 +void search_update_index(1814,58059 +void search_rebuild_index(1839,58706 +void fts_config_cmd(1872,59825 + int iCmd;1874,59877 + const char *z;z1875,59891 + const char *zSetting;zSetting1884,60079 + const char *zName;zName1885,60105 + const char *zSw;zSw1886,60128 +void search_data_page(1975,62616 + +security_audit.c,206 +static int hasAnyCap(29,876 +static char **parse_content_security_policy(parse_content_security_policy47,1434 +void secaudit0_page(97,2711 +void takeitprivate_page(604,22590 +void errorlog_page(652,23848 + +setup.c,602 +void setup_incr_cfgcnt(28,798 +void setup_menu_entry(47,1385 +void setup_page(70,1873 +void onoff_attribute(189,6393 +void entry_attribute(228,7519 +const char *textarea_attribute(textarea_attribute260,8600 +void multiple_choice_attribute(299,9884 +void setup_access(335,11126 +void setup_login_group(594,22321 +void setup_timeline(723,26864 +void setup_settings(870,32968 +void setup_config(1015,38102 +void sql_page(1669,61938 +void th1_page(1809,66216 +void page_admin_log(1853,67416 +void page_srchsetup(1919,69333 +static void setup_update_url_alias(2003,72661 +void page_waliassetup(2042,73617 + +setupuser.c,174 +void setup_ulist(40,1298 +void setup_ulist_notes(224,7289 +void setup_ucap_list(270,8774 +static int isValidPwString(299,9775 +void user_edit(312,10047 +#define B(619,20083 + +sha1.c,1568 +typedef void(*collision_block_callback)collision_block_callback37,1001 +struct SHA1_CTX 38,1120 + uint64_t total;39,1138 + uint32_t ihv[ihv40,1156 + unsigned char buffer[buffer41,1175 + int bigendian;42,1203 + int found_collision;43,1220 + int safe_hash;44,1243 + int detect_coll;45,1260 + int ubc_check;46,1279 + int reduced_round_coll;47,1296 + collision_block_callback callback;48,1322 + uint32_t ihv1[ihv150,1360 + uint32_t ihv2[ihv251,1380 + uint32_t m1[m152,1400 + uint32_t m2[m253,1419 + uint32_t states[states54,1438 +typedef struct SHA1Context SHA1Context;93,2421 +struct SHA1Context 94,2461 + unsigned int state[state95,2482 + unsigned int count[count96,2507 + unsigned char buffer[buffer97,2532 +#define SHA_ROT(106,2750 +#define rol(107,2799 +#define ror(108,2836 +#define blk0le(109,2873 +#define blk0be(111,2969 +#define blk(112,2996 +#define Rl0(121,3282 +#define Rb0(123,3372 +#define R1(125,3462 +#define R2(127,3548 +#define R3(129,3628 +#define R4(131,3718 +void SHA1Transform(143,3954 +static void SHA1Init(201,6448 +static void SHA1Update(215,6801 +static void SHA1Final(242,7460 +static void DigestToBase16(269,8426 +static SHA1Context incrCtx;284,8813 +static int incrInit 285,8841 +void sha1sum_step_text(290,8924 +void sha1sum_step_blob(305,9250 +char *sha1sum_finish(sha1sum_finish317,9666 +int sha1sum_file(338,10131 +int sha1sum_blob(381,11200 +char *sha1sum(sha1sum402,11707 +char *sha1_shared_secret(sha1_shared_secret431,12708 +void sha1_shared_secret_sql_function(475,14027 +void sha1sum_test(515,15187 + +sha1hard.c,4173 +typedef struct { int dvType;67,2588 +typedef struct { int dvType; int dvK;67,2588 +typedef struct { int dvType; int dvK; int dvB;67,2588 +typedef struct { int dvType; int dvK; int dvB; int testt;67,2588 +typedef struct { int dvType; int dvK; int dvB; int testt; int maski;67,2588 +typedef struct { int dvType; int dvK; int dvB; int testt; int maski; int maskb;67,2588 +typedef struct { int dvType; int dvK; int dvB; int testt; int maski; int maskb; uint32_t dm[dm67,2588 +typedef struct { int dvType; int dvK; int dvB; int testt; int maski; int maskb; uint32_t dm[80]; } dv_info_t;67,2588 +typedef void(*sha1_recompression_type)sha1_recompression_type70,2744 +typedef void(*collision_block_callback)collision_block_callback76,3164 + uint64_t total;78,3300 + uint32_t ihv[ihv79,3317 + unsigned char buffer[buffer80,3335 + int bigendian;81,3362 + int found_collision;82,3378 + int safe_hash;83,3400 + int detect_coll;84,3416 + int ubc_check;85,3434 + int reduced_round_coll;86,3450 + collision_block_callback callback;87,3475 + uint32_t ihv1[ihv189,3512 + uint32_t ihv2[ihv290,3531 + uint32_t m1[m191,3550 + uint32_t m2[m292,3568 + uint32_t states[states93,3586 +} SHA1_CTX;94,3611 +static const uint32_t DV_I_43_0_bit 123,5077 +static const uint32_t DV_I_44_0_bit 124,5137 +static const uint32_t DV_I_45_0_bit 125,5197 +static const uint32_t DV_I_46_0_bit 126,5257 +static const uint32_t DV_I_46_2_bit 127,5317 +static const uint32_t DV_I_47_0_bit 128,5377 +static const uint32_t DV_I_47_2_bit 129,5437 +static const uint32_t DV_I_48_0_bit 130,5497 +static const uint32_t DV_I_48_2_bit 131,5557 +static const uint32_t DV_I_49_0_bit 132,5617 +static const uint32_t DV_I_49_2_bit 133,5677 +static const uint32_t DV_I_50_0_bit 134,5738 +static const uint32_t DV_I_50_2_bit 135,5799 +static const uint32_t DV_I_51_0_bit 136,5860 +static const uint32_t DV_I_51_2_bit 137,5921 +static const uint32_t DV_I_52_0_bit 138,5982 +static const uint32_t DV_II_45_0_bit 139,6043 +static const uint32_t DV_II_46_0_bit 140,6105 +static const uint32_t DV_II_46_2_bit 141,6167 +static const uint32_t DV_II_47_0_bit 142,6229 +static const uint32_t DV_II_48_0_bit 143,6291 +static const uint32_t DV_II_49_0_bit 144,6353 +static const uint32_t DV_II_49_2_bit 145,6415 +static const uint32_t DV_II_50_0_bit 146,6477 +static const uint32_t DV_II_50_2_bit 147,6539 +static const uint32_t DV_II_51_0_bit 148,6601 +static const uint32_t DV_II_51_2_bit 149,6663 +static const uint32_t DV_II_52_0_bit 150,6725 +static const uint32_t DV_II_53_0_bit 151,6787 +static const uint32_t DV_II_54_0_bit 152,6849 +static const uint32_t DV_II_55_0_bit 153,6911 +static const uint32_t DV_II_56_0_bit 154,6973 +dv_info_t sha1_dvs[sha1_dvs156,7036 +void ubc_check(192,36193 + dvmask[dvmask455,51749 +#define rotate_right(461,51915 +#define rotate_left(462,51970 +#define sha1_f1(464,52026 +#define sha1_f2(465,52071 +#define sha1_f3(466,52108 +#define sha1_f4(467,52163 +#define HASHCLASH_SHA1COMPRESS_ROUND1_STEP(469,52201 +#define HASHCLASH_SHA1COMPRESS_ROUND2_STEP(471,52358 +#define HASHCLASH_SHA1COMPRESS_ROUND3_STEP(473,52515 +#define HASHCLASH_SHA1COMPRESS_ROUND4_STEP(475,52672 +#define HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(478,52830 +#define HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(480,52991 +#define HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(482,53152 +#define HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(484,53313 +#define SHA1_STORE_STATE(487,53475 +void sha1_message_expansion(491,53596 +void sha1_compression(498,53759 +void sha1_compression_W(599,58931 +void sha1_compression_states(692,63934 +#define SHA1_RECOMPRESS(1111,73202 +SHA1_RECOMPRESS(1280,86165 +void sha1_process(1384,89753 +void swap_bytes(1438,91561 +void SHA1DCInit(1448,91767 + static const union { unsigned char bytes[bytes1450,91800 + static const union { unsigned char bytes[4]; uint32_t value;1450,91800 +void SHA1DCSetSafeHash(1467,92316 +void SHA1DCSetUseUBC(1476,92445 +void SHA1DCSetUseDetectColl(1484,92573 +void SHA1DCSetDetectReducedRoundCollision(1492,92716 +void SHA1DCSetCallback(1500,92901 +void SHA1DCUpdate(1505,93007 +static const unsigned char sha1_padding[sha1_padding1546,93840 +int SHA1DCFinal(1554,94094 + +sha3.c,774 +typedef struct SHA3Context SHA3Context;49,1545 +struct SHA3Context 50,1585 + u64 s[s52,1616 + unsigned char x[x53,1692 + } u;54,1746 + unsigned nRate;55,1753 + unsigned nLoaded;56,1829 + unsigned ixMask;57,1908 +static void KeccakF1600Step(63,2061 +# define ROL64(107,3477 +static void SHA3Init(385,11000 +static void SHA3Update(414,11676 +static unsigned char *SHA3Final(SHA3Final453,12577 +static void DigestToBase16(477,13230 +static SHA3Context incrCtx;492,13631 +static int incrInit 493,13659 +void sha3sum_init(498,13729 +void sha3sum_step_text(507,13896 +void sha3sum_step_blob(519,14179 +char *sha3sum_finish(sha3sum_finish532,14636 +int sha3sum_file(550,15047 +int sha3sum_blob(591,16106 +char *sha3sum(sha3sum610,16616 +void sha3sum_test(645,17764 + +shell.c,38265 +# define INC_STRINGIFY_(45,1943 +# define INC_STRINGIFY(46,1973 +typedef sqlite3_int64 i64;102,3340 +typedef sqlite3_uint64 u64;103,3367 +typedef unsigned char u8;104,3395 +# define S_ISLNK(124,3871 +# define shell_add_history(144,4200 +# define shell_read_history(145,4245 +# define shell_write_history(146,4292 +# define shell_stifle_history(147,4341 +# define shell_readline(148,4392 +# define shell_add_history(153,4478 +# define shell_read_history(154,4531 +# define shell_write_history(155,4586 +# define shell_stifle_history(156,4642 +# define shell_readline(157,4704 +# define shell_read_history(161,4752 +# define shell_write_history(162,4783 +# define shell_stifle_history(163,4815 +# define isatty(175,5028 +# define access(177,5076 +#define isatty(209,5882 +#define IsSpace(213,5962 +#define IsDigit(214,6008 +#define ToLower(215,6054 +static void setBinaryMode(237,6909 +static void setTextMode(241,7033 +# define setBinaryMode(246,7159 +# define setTextMode(247,7187 +static int enableTimer 252,7257 +static sqlite3_int64 timeOfDay(255,7327 +struct rusage 276,7992 + struct timeval ru_utime;277,8008 + struct timeval ru_stime;278,8060 +#define getrusage(280,8117 +static struct rusage sBegin;284,8238 +static sqlite3_int64 iBegin;285,8292 +static void beginTimer(290,8389 +static double timeDiff(298,8569 +static void endTimer(306,8781 +static HANDLE hProcess;325,9311 +static FILETIME ftKernelBegin;326,9335 +static FILETIME ftUserBegin;327,9366 +static sqlite3_int64 ftWallBegin;328,9395 +typedef BOOL (WINAPI *GETPROCTIMES)GETPROCTIMES329,9429 +static GETPROCTIMES getProcessTimesAddr 331,9558 +static int hasTimer(337,9718 +static void beginTimer(366,10471 +static double timeDiff(376,10787 +static void endTimer(385,11041 +#define UNUSED_PARAMETER(410,11702 +#define ArraySize(415,11781 +static int bail_on_error 421,11944 +static int stdin_is_interactive 427,12116 +static int stdout_is_console 434,12335 +static sqlite3 *globalDb globalDb441,12565 +static volatile int seenInterrupt 446,12657 +static unsigned int oomCounter 452,12760 +static unsigned int oomRepeat 453,12832 +static char *Argv0;Argv0461,13129 +static char mainPrompt[mainPrompt467,13237 +static char continuePrompt[continuePrompt468,13313 +void utf8_printf(476,13611 +static void shell_out_of_memory(503,14277 +void shellOomFault(513,14548 +static void *oomMalloc(oomMalloc526,14814 +static void registerOomSimulator(542,15138 +static FILE *iotrace iotrace555,15448 +static void SQLITE_CDECL iotracePrintf(565,15743 +static void utf8_width_print(583,16290 +static int isNumber(609,16811 +static int strlen30(637,17440 +static int strlenChar(647,17675 +# define notNormalFile(659,17888 +static int notNormalFile(661,17922 +static char *local_getline(local_getline679,18423 +static char *one_input_line(one_input_line738,20100 +static int hexDigitValue(763,20702 +static sqlite3_int64 integerValue(773,20954 + static const struct { char *zSuffix;zSuffix775,21030 + static const struct { char *zSuffix; int iMult;775,21030 +typedef struct ShellText ShellText;819,21920 +struct ShellText 820,21956 + char *z;z821,21975 + int n;822,21986 + int nAlloc;823,21995 +static void initText(829,22064 +static void freeText(832,22130 +static void appendText(845,22563 +static char quoteChar(889,23651 +static char *shellFakeSchema(shellFakeSchema902,24083 +static void shellModuleSchema(950,25380 +static void shellAddSchemaName(984,26267 +#define SQLITE_EXTENSION_INIT2(1045,28168 +#define S_ISREG(1100,29466 +#define S_ISDIR(1104,29543 +#define S_ISLNK(1108,29620 + typedef unsigned short mode_t;1117,29754 + typedef unsigned short ino_t;1126,29892 +typedef struct DIRENT DIRENT;1159,30457 +typedef DIRENT *LPDIRENT;LPDIRENT1160,30487 +struct DIRENT 1161,30513 + ino_t d_ino;1162,30529 + unsigned d_attributes;1163,30593 + char d_name[d_name1164,30651 +typedef struct DIR DIR;1170,30764 +typedef DIR *LPDIR;LPDIR1171,30788 +struct DIR 1172,30808 + intptr_t d_handle;1173,30821 + DIRENT d_first;1174,30880 + DIRENT d_next;1175,30949 +# define is_filtered(1187,31294 +const char *windirent_getenv(windirent_getenv1233,32755 +LPDIR opendir(1260,33520 +LPDIRENT readdir(1308,34751 +INT readdir_r(1341,35449 +INT closedir(1386,36425 +typedef struct SHA3Context SHA3Context;1474,39015 +struct SHA3Context 1475,39055 + u64 s[s1477,39086 + unsigned char x[x1478,39162 + } u;1479,39216 + unsigned nRate;1480,39223 + unsigned nLoaded;1481,39299 + unsigned ixMask;1482,39378 +static void KeccakF1600Step(1488,39531 +# define ROL64(1532,40947 +static void SHA3Init(1810,48470 +static void SHA3Update(1839,49146 +static unsigned char *SHA3Final(SHA3Final1878,50047 +static void sha3Func(1907,50954 +static void hash_step_vformat(1939,51860 +static void sha3QueryFunc(1986,53482 +int sqlite3_shathree_init(2102,56854 +# define mkdir(2234,61569 +# define lstat(2235,61609 +static void readFileContents(2265,62632 +static void readfileFunc(2307,63724 +static void ctxErrorMsg(2323,64090 +static sqlite3_uint64 fileTimeToUnixTime(2338,64500 +static void statTimesToUtc(2365,65390 +static int fileStat(2393,66312 +static int fileLinkStat(2411,66756 +static int makeDirectory(2435,67502 +static int writeFile(2475,68288 +static void writefileFunc(2589,71718 +static void lsModeFunc(2639,72914 +typedef struct fsdir_cursor fsdir_cursor;2673,73622 +typedef struct FsdirLevel FsdirLevel;2674,73664 +struct FsdirLevel 2676,73703 + DIR *pDir;pDir2677,73723 + char *zDir;zDir2678,73773 +struct fsdir_cursor 2681,73847 + sqlite3_vtab_cursor base;2682,73869 + int nLvl;2684,73932 + int iLvl;2685,74001 + FsdirLevel *aLvl;aLvl2686,74059 + const char *zBase;zBase2688,74136 + int nBase;2689,74157 + struct stat sStat;2691,74171 + char *zPath;zPath2692,74230 + sqlite3_int64 iRowid;2693,74287 +typedef struct fsdir_tab fsdir_tab;2696,74340 +struct fsdir_tab 2697,74376 + sqlite3_vtab base;2698,74395 +static int fsdirConnect(2704,74514 +static int fsdirDisconnect(2731,75124 +static int fsdirOpen(2739,75271 +static void fsdirResetCursor(2754,75648 +static int fsdirClose(2775,76088 +static void fsdirSetErrmsg(2787,76374 +static int fsdirNext(2798,76617 +static int fsdirColumn(2862,78453 +static int fsdirRowid(2927,80276 +static int fsdirEof(2937,80523 +static int fsdirFilter(2948,80750 +static int fsdirBestIndex(3004,82314 +static int fsdirRegister(3070,84207 +# define fsdirRegister(3102,85641 +int sqlite3_fileio_init(3108,85707 +typedef struct completion_vtab completion_vtab;3182,88195 +struct completion_vtab 3183,88243 + sqlite3_vtab base;3184,88268 + sqlite3 *db;db3185,88323 +typedef struct completion_cursor completion_cursor;3192,88564 +struct completion_cursor 3193,88616 + sqlite3_vtab_cursor base;3194,88643 + sqlite3 *db;db3195,88705 + int nPrefix,3196,88776 + int nPrefix, nLine;3196,88776 + char *zPrefix;zPrefix3197,88848 + char *zLine;zLine3198,88927 + const char *zCurrentRow;zCurrentRow3199,88997 + int szRow;3200,89051 + sqlite3_stmt *pStmt;pStmt3201,89119 + sqlite3_int64 iRowid;3202,89172 + int ePhase;3203,89217 + int j;3204,89266 +static int completionConnect(3235,90272 +static int completionDisconnect(3277,91500 +static int completionOpen(3285,91657 +static void completionCursorReset(3298,92001 +static int completionClose(3308,92316 +static int completionNext(3328,93156 +static int completionColumn(3436,96735 +static int completionRowid(3467,97652 +static int completionEof(3477,97914 +static int completionFilter(3488,98303 +static int completionBestIndex(3539,100035 +static sqlite3_module completionModule 3584,101541 +int sqlite3CompletionVtabInit(3613,102804 +int sqlite3_completion_init(3624,103018 +#define APND_START_ROUNDUP(3719,106507 +typedef struct sqlite3_vfs ApndVfs;3724,106646 +typedef struct ApndFile ApndFile;3725,106682 +#define ORIGVFS(3730,106821 +#define ORIGFILE(3731,106873 +struct ApndFile 3767,108359 + sqlite3_file base;3768,108377 + sqlite3_int64 iPgOne;3769,108437 + sqlite3_int64 iMark;3770,108507 +static sqlite3_vfs apnd_vfs 3816,110848 +static const sqlite3_io_methods apnd_io_methods 3841,112016 +static int apndClose(3866,113052 +static int apndRead(3874,113204 +static int apndWriteMark(3890,113655 +static int apndWrite(3916,114271 +static int apndTruncate(3937,114858 +static int apndSync(3949,115293 +static int apndFileSize(3958,115538 +static int apndLock(3967,115757 +static int apndUnlock(3975,115917 +static int apndCheckReservedLock(3983,116128 +static int apndFileControl(3991,116358 +static int apndSectorSize(4006,116840 +static int apndDeviceCharacteristics(4014,117039 +static int apndShmMap(4020,117227 +static int apndShmLock(4032,117476 +static void apndShmBarrier(4038,117687 +static int apndShmUnmap(4044,117841 +static int apndFetch(4050,118031 +static int apndUnfetch(4065,118411 +static sqlite3_int64 apndReadMark(4080,119010 +static const char apvfsSqliteHdr[apvfsSqliteHdr4100,119688 +static int apndIsAppendvfsDatabase(4105,119880 +static int apndIsOrdinaryDatabaseFile(4130,120651 +static int apndOpen(4146,121030 +static int apndDelete(4213,123256 +static int apndAccess(4220,123444 +static int apndFullPathname(4228,123616 +static void *apndDlOpen(apndDlOpen4236,123790 +static void apndDlError(4239,123910 +static void (*apndDlSym(apndDlSym4242,124040 +static void apndDlClose(4245,124176 +static int apndRandomness(4248,124288 +static int apndSleep(4251,124430 +static int apndCurrentTime(4254,124540 +static int apndGetLastError(4257,124670 +static int apndCurrentTimeInt64(4260,124796 +static int apndSetSystemCall(4263,124929 +static sqlite3_syscall_ptr apndGetSystemCall(4270,125101 +static const char *apndNextSystemCall(apndNextSystemCall4276,125254 +int sqlite3_appendvfs_init(4288,125510 +static sqlite3_mem_methods memtraceBase;4343,127278 +static FILE *memtraceOut;memtraceOut4344,127319 +static void *memtraceMalloc(memtraceMalloc4347,127390 +static void memtraceFree(4354,127585 +static void *memtraceRealloc(memtraceRealloc4361,127771 +static int memtraceSize(4373,128098 +static int memtraceRoundup(4376,128166 +static int memtraceInit(4379,128238 +static void memtraceShutdown(4382,128306 +static sqlite3_mem_methods ersaztMethods 4387,128415 +int sqlite3MemTraceActivate(4399,128639 +int sqlite3MemTraceDeactivate(4412,128968 +static int uintCollFunc(4465,130692 +int sqlite3_uint_init(4509,131680 +# define UNUSED_PARAMETER(4547,132832 +typedef struct Decimal Decimal;4552,132904 +struct Decimal 4553,132936 + char sign;4554,132953 + char oom;4555,133010 + char isNull;4556,133066 + char isInit;4557,133134 + int nDigit;4558,133185 + int nFrac;4559,133234 + signed char *a;a4560,133311 +static void decimal_clear(4566,133461 +static void decimal_free(4573,133559 +static Decimal *decimal_new(decimal_new4584,133757 +static void decimal_result(4703,136241 +static void decimalFunc(4758,137184 +static int decimal_cmp(4780,137655 +static void decimalCmpFunc(4810,138300 +static void decimal_expand(4836,138918 +static void decimal_add(4865,139583 +static int decimalCollFunc(4933,141013 +static void decimalAddFunc(4961,141632 +static void decimalSubFunc(4974,141954 +static void decimalSumStep(4996,142455 +static void decimalSumInverse(5022,143015 +static void decimalSumValue(5038,143434 +static void decimalSumFinalize(5043,143596 +static void decimalMulFunc(5060,144106 +int sqlite3_decimal_init(5117,145385 + const char *zFuncName;zFuncName5124,145531 + int nArg;5125,145558 + void (*xFunc)xFunc5126,145572 +# define UNUSED_PARAMETER(5254,150339 +static void ieee754func(5260,150437 +static void ieee754func_from_blob(5371,152866 +static void ieee754func_to_blob(5391,153353 +int sqlite3_ieee_init(5417,153913 + char *zFName;zFName5423,154034 + int nArg;5424,154052 + int iAux;5425,154066 + void (*xFunc)xFunc5426,154080 +typedef struct series_cursor series_cursor;5533,157998 +struct series_cursor 5534,158042 + sqlite3_vtab_cursor base;5535,158065 + int isDesc;5536,158127 + sqlite3_int64 iRowid;5537,158196 + sqlite3_int64 iValue;5538,158241 + sqlite3_int64 mnValue;5539,158300 + sqlite3_int64 mxValue;5540,158359 + sqlite3_int64 iStep;5541,158417 +static int seriesConnect(5557,158935 +static int seriesDisconnect(5591,159733 +static int seriesOpen(5599,159882 +static int seriesClose(5612,160204 +static int seriesNext(5621,160359 +static int seriesColumn(5636,160694 +static int seriesRowid(5658,161466 +static int seriesEof(5668,161716 +static int seriesFilter(5707,163123 +static int seriesBestIndex(5775,164994 +static sqlite3_module seriesModule 5861,168134 +int sqlite3_series_init(5893,169415 +typedef unsigned short ReStateNumber;6010,174301 +typedef struct ReStateSet 6017,174605 + unsigned nState;6018,174633 + ReStateNumber *aState;aState6019,174694 +} ReStateSet;6020,174745 +typedef struct ReInput ReInput;6024,174812 +struct ReInput 6025,174844 + const unsigned char *z;z6026,174861 + int i;6027,174903 + int mx;6028,174954 +typedef struct ReCompiled ReCompiled;6034,175123 +struct ReCompiled 6035,175161 + ReInput sIn;6036,175181 + const char *zErr;zErr6037,175241 + char *aOp;aOp6038,175301 + int *aArg;aArg6039,175371 + unsigned (*xNextChar)xNextChar6040,175434 + unsigned char zInit[zInit6041,175500 + int nInit;6042,175558 + unsigned nState;6043,175624 + unsigned nAlloc;6044,175698 +static void re_add_state(6048,175843 +static unsigned re_next_char(6059,176342 +static unsigned re_next_char_nocase(6084,177256 +static int re_word_char(6091,177458 +static int re_digit_char(6097,177636 +static int re_space_char(6102,177768 +static int re_match(6109,178018 +static int re_resize(6252,181893 +static int re_insert(6268,182331 +static int re_append(6283,182747 +static void re_copy(6290,182943 +static int re_hex(6301,183406 +static unsigned re_esc_char(6318,183757 +static unsigned char rePeek(6359,184724 +static const char *re_subcompile_re(re_subcompile_re6367,185014 +static const char *re_subcompile_string(re_subcompile_string6389,185675 +static void re_free(6528,189734 +static const char *re_compile(re_compile6542,190136 +static void re_sql_func(6622,192613 +int sqlite3_regexp_init(6666,193807 +typedef UINT32_TYPE u32;6742,195930 +typedef UINT16_TYPE u16;6743,195995 +#define MIN(6744,196060 +# define ALWAYS(6747,196167 +# define NEVER(6748,196195 +# define ALWAYS(6750,196246 +# define NEVER(6751,196292 +# define ALWAYS(6753,196344 +# define NEVER(6754,196372 +static const char ZIPFILE_SCHEMA[ZIPFILE_SCHEMA6778,196967 +typedef struct ZipfileEOCD ZipfileEOCD;6854,199644 +struct ZipfileEOCD 6855,199684 + u16 iDisk;6856,199705 + u16 iFirstDisk;6857,199718 + u16 nEntry;6858,199736 + u16 nEntryTotal;6859,199750 + u32 nSize;6860,199769 + u32 iOffset;6861,199782 +typedef struct ZipfileCDS ZipfileCDS;6887,200660 +struct ZipfileCDS 6888,200698 + u16 iVersionMadeBy;6889,200718 + u16 iVersionExtract;6890,200740 + u16 flags;6891,200763 + u16 iCompression;6892,200776 + u16 mTime;6893,200796 + u16 mDate;6894,200809 + u32 crc32;6895,200822 + u32 szCompressed;6896,200835 + u32 szUncompressed;6897,200855 + u16 nFile;6898,200877 + u16 nExtra;6899,200890 + u16 nComment;6900,200904 + u16 iDiskStart;6901,200920 + u16 iInternalAttr;6902,200938 + u32 iExternalAttr;6903,200959 + u32 iOffset;6904,200980 + char *zFile;zFile6905,200995 +typedef struct ZipfileLFH ZipfileLFH;6924,201634 +struct ZipfileLFH 6925,201672 + u16 iVersionExtract;6926,201692 + u16 flags;6927,201715 + u16 iCompression;6928,201728 + u16 mTime;6929,201748 + u16 mDate;6930,201761 + u32 crc32;6931,201774 + u32 szCompressed;6932,201787 + u32 szUncompressed;6933,201807 + u16 nFile;6934,201829 + u16 nExtra;6935,201842 +typedef struct ZipfileEntry ZipfileEntry;6938,201860 +struct ZipfileEntry 6939,201902 + ZipfileCDS cds;6940,201924 + u32 mUnixTime;6941,201977 + u8 *aExtra;aExtra6942,202046 + i64 iDataOff;6943,202125 + u8 *aData;aData6944,202197 + ZipfileEntry *pNext;pNext6945,202274 +typedef struct ZipfileCsr ZipfileCsr;6951,202385 +struct ZipfileCsr 6952,202423 + sqlite3_vtab_cursor base;6953,202443 + i64 iId;6954,202505 + u8 bEof;6955,202550 + u8 bNoop;6956,202602 + FILE *pFile;pFile6959,202711 + i64 iNextOff;6960,202755 + ZipfileEOCD eocd;6961,202833 + ZipfileEntry *pFreeEntry;pFreeEntry6963,202903 + ZipfileEntry *pCurrent;pCurrent6964,202984 + ZipfileCsr *pCsrNext;pCsrNext6965,203033 +typedef struct ZipfileTab ZipfileTab;6968,203106 +struct ZipfileTab 6969,203144 + sqlite3_vtab base;6970,203164 + char *zFile;zFile6971,203226 + sqlite3 *db;db6972,203304 + u8 *aBuffer;aBuffer6973,203364 + ZipfileCsr *pCsrList;pCsrList6975,203440 + i64 iNextCsrid;6976,203491 + ZipfileEntry *pFirstEntry;pFirstEntry6979,203568 + ZipfileEntry *pLastEntry;pLastEntry6980,203645 + FILE *pWriteFd;pWriteFd6981,203713 + i64 szCurrent;6982,203780 + i64 szOrig;6983,203843 +static void zipfileCtxErrorMsg(6990,204019 +static void zipfileDequote(7004,204375 +static int zipfileConnect(7027,204930 +static void zipfileEntryFree(7081,206393 +static void zipfileCleanupTransaction(7092,206598 +static int zipfileDisconnect(7113,207059 +static int zipfileOpen(7122,207255 +static void zipfileResetCursor(7141,207751 +static int zipfileClose(7162,208128 +static void zipfileTableErr(7180,208635 +static void zipfileCursorErr(7187,208844 +static int zipfileReadData(7205,209446 +static int zipfileAppendData(7222,210019 +static u16 zipfileGetU16(7243,210522 +static u32 zipfileGetU32(7250,210685 +static void zipfilePutU16(7260,210924 +static void zipfilePutU32(7268,211091 +#define zipfileRead32(7275,211253 +#define zipfileRead16(7276,211316 +#define zipfileWrite32(7278,211380 +#define zipfileWrite16(7279,211451 +static int zipfileReadCDS(7291,211794 +static int zipfileReadLFH(7325,212965 +static int zipfileScanExtra(7366,214153 +static u32 zipfileMtime(7409,215194 +static void zipfileMtimeToDos(7435,215957 +static int zipfileGetEntry(7483,217471 +static int zipfileNext(7581,220442 +static void zipfileFree(7614,221284 +static void zipfileInflate(7625,221617 +static int zipfileDeflate(7673,223168 +static int zipfileColumn(7716,224156 +static int zipfileEof(7803,226923 +static int zipfileReadEOCD(7818,227540 +static void zipfileAddEntry(7882,229619 +static int zipfileLoadDirectory(7905,230187 +static int zipfileFilter(7929,230789 +static int zipfileBestIndex(7988,232500 +static ZipfileEntry *zipfileNewEntry(zipfileNewEntry8016,233191 +static int zipfileSerializeLFH(8030,233526 +static int zipfileAppendEntry(8063,234427 +static int zipfileGetMode(8083,234807 +static int zipfileComparePath(8128,236347 +static int zipfileBegin(8136,236583 +static u32 zipfileTime(8173,237706 +static u32 zipfileGetTime(8196,238348 +static void zipfileRemoveEntryFromList(8207,238672 +static int zipfileUpdate(8219,238936 +static int zipfileSerializeEOCD(8410,245125 +static int zipfileAppendEOCD(8424,245536 +static int zipfileSerializeCDS(8434,245848 +static int zipfileCommit(8479,247102 +static int zipfileRollback(8509,247890 +static ZipfileCsr *zipfileFindCursor(zipfileFindCursor8513,247973 +static void zipfileFunctionCds(8521,248167 +static int zipfileFindFunction(8572,249661 +typedef struct ZipfileBuffer ZipfileBuffer;8587,250177 +struct ZipfileBuffer 8588,250221 + u8 *a;a8589,250244 + int n;8590,250302 + int nAlloc;8591,250366 +typedef struct ZipfileCtx ZipfileCtx;8594,250432 +struct ZipfileCtx 8595,250470 + int nEntry;8596,250490 + ZipfileBuffer body;8597,250504 + ZipfileBuffer cds;8598,250526 +static int zipfileBufferGrow(8601,250551 +void zipfileStep(8624,251191 +void zipfileFinal(8799,256714 +static int zipfileRegister(8834,257612 +# define zipfileRegister(8872,259192 +int sqlite3_zipfile_init(8878,259260 +static void sqlarCompressFunc(8926,260906 +static void sqlarUncompressFunc(8967,262150 +int sqlite3_sqlar_init(8996,262794 +typedef struct sqlite3expert sqlite3expert;9034,264015 +typedef struct IdxColumn IdxColumn;9211,271440 +typedef struct IdxConstraint IdxConstraint;9212,271476 +typedef struct IdxScan IdxScan;9213,271520 +typedef struct IdxStatement IdxStatement;9214,271552 +typedef struct IdxTable IdxTable;9215,271594 +typedef struct IdxWrite IdxWrite;9216,271628 +struct IdxConstraint 9235,272202 + char *zColl;zColl9236,272225 + int bRange;9237,272284 + int iCol;9238,272353 + int bFlag;9239,272418 + int bDesc;9240,272486 + IdxConstraint *pNext;pNext9241,272555 + IdxConstraint *pLink;pLink9242,272633 +struct IdxScan 9248,272729 + IdxTable *pTab;pTab9249,272746 + int iDb;9250,272810 + i64 covering;9251,272883 + IdxConstraint *pOrder;pOrder9252,272963 + IdxConstraint *pEq;pEq9253,273020 + IdxConstraint *pRange;pRange9254,273083 + IdxScan *pNextScan;pNextScan9255,273145 +struct IdxColumn 9262,273353 + char *zName;zName9263,273372 + char *zColl;zColl9264,273387 + int iPk;9265,273402 +struct IdxTable 9267,273416 + int nCol;9268,273434 + char *zName;zName9269,273446 + IdxColumn *aCol;aCol9270,273497 + IdxTable *pNext;pNext9271,273516 +struct IdxWrite 9279,273777 + IdxTable *pTab;pTab9280,273795 + int eOp;9281,273813 + IdxWrite *pNext;pNext9282,273885 +struct IdxStatement 9289,273999 + int iId;9290,274021 + char *zSql;zSql9291,274078 + char *zIdx;zIdx9292,274132 + char *zEQP;zEQP9293,274180 + IdxStatement *pNext;pNext9294,274225 +typedef struct IdxHashEntry IdxHashEntry;9308,274469 +typedef struct IdxHash IdxHash;9309,274511 +struct IdxHashEntry 9310,274543 + char *zKey;zKey9311,274565 + char *zVal;zVal9312,274624 + char *zVal2;zVal29313,274692 + IdxHashEntry *pHashNext;pHashNext9314,274762 + IdxHashEntry *pNext;pNext9315,274833 +struct IdxHash 9317,274895 + IdxHashEntry *pFirst;pFirst9318,274912 + IdxHashEntry *aHash[aHash9319,274936 +struct sqlite3expert 9325,275009 + int iSample;9326,275032 + sqlite3 *db;db9327,275113 + sqlite3 *dbm;dbm9328,275167 + sqlite3 *dbv;dbv9329,275238 + IdxTable *pTable;pTable9330,275308 + IdxScan *pScan;pScan9331,275377 + IdxWrite *pWrite;pWrite9332,275438 + IdxStatement *pStatement;pStatement9333,275500 + int bRun;9334,275569 + char **pzErrmsg;pzErrmsg9335,275636 + int rc;9336,275655 + IdxHash hIdx;9337,275726 + char *zCandidates;zCandidates9338,275804 +static void *idxMalloc(idxMalloc9346,276031 +static void idxHashInit(9362,276313 +static void idxHashClear(9369,276432 +static int idxHashString(9387,276886 +static int idxHashAdd(9401,277283 +static IdxHashEntry *idxHashFind(idxHashFind9438,278232 +static const char *idxHashSearch(idxHashSearch9458,278882 +static IdxConstraint *idxNewConstraint(idxNewConstraint9468,279216 +static void idxDatabaseError(9485,279680 +static int idxPrepareStmt(9495,279921 +static int idxPrintfPrepareStmt(9512,280467 +typedef struct ExpertVtab ExpertVtab;9538,281247 +struct ExpertVtab 9539,281285 + sqlite3_vtab base;9540,281305 + IdxTable *pTab;pTab9541,281326 + sqlite3expert *pExpert;pExpert9542,281344 +typedef struct ExpertCsr ExpertCsr;9545,281374 +struct ExpertCsr 9546,281410 + sqlite3_vtab_cursor base;9547,281429 + sqlite3_stmt *pData;pData9548,281457 +static char *expertDequote(expertDequote9551,281484 +static int expertConnect(9583,282142 +static int expertDisconnect(9619,282952 +static int expertBestIndex(9625,283082 +static int expertUpdate(9692,285070 +static int expertOpen(9708,285316 +static int expertClose(9720,285596 +static int expertEof(9733,285938 +static int expertNext(9741,286096 +static int expertRowid(9760,286445 +static int expertColumn(9769,286615 +static int expertFilter(9782,286927 +static int idxRegisterVtab(9810,287558 +static void idxFinalize(9848,289597 +static int idxGetTableInfo(9863,290195 +static char *idxAppendText(idxAppendText9950,292677 +static int idxIdentifierRequiresQuotes(9982,293450 +static char *idxAppendColDefn(idxAppendColDefn10000,293869 +static int idxFindCompatible(10038,295090 +static int idxCreateFromCons(10105,297170 +static int idxFindConstraint(10166,298852 +static int idxCreateFromWhere(10174,299047 +static int idxCreateCandidates(10213,300214 +static void idxConstraintFree(10230,300614 +static void idxScanFree(10244,300908 +static void idxStatementFree(10260,301297 +static void idxTableFree(10274,301628 +static void idxWriteFree(10286,301873 +int idxFindIndexes(10302,302264 +static int idxAuthCallback(10372,304245 +static int idxProcessOneTrigger(10410,305208 +static int idxProcessTriggers(10492,307496 +static int idxCreateVtabSchema(10510,307893 +struct IdxSampleCtx 10570,309957 + int iTarget;10571,309979 + double target;10572,309994 + double nRow;10573,310057 + double nRet;10574,310117 +static void idxSampleFunc(10577,310185 +struct IdxRemCtx 10603,310712 + int nSlot;10604,310731 + struct IdxRemSlot 10605,310744 + int eType;10606,310766 + i64 iVal;10607,310845 + double rVal;10608,310906 + int nByte;10609,310965 + int n;10610,311035 + char *z;z10611,311092 + } aSlot[aSlot10612,311155 +static void idxRemFunc(10618,311223 +static int idxLargestIndex(10691,312893 +static int idxPopulateOneStat1(10711,313414 +static int idxBuildSampleTable(10811,316185 +static int idxPopulateStat1(10835,316885 +sqlite3expert *sqlite3_expert_new(sqlite3_expert_new10934,319779 +int sqlite3_expert_config(10995,321604 +int sqlite3_expert_sql(11019,322043 +int sqlite3_expert_analyze(11064,323329 +int sqlite3_expert_count(11105,324404 +const char *sqlite3_expert_report(sqlite3_expert_report11114,324576 +void sqlite3_expert_destroy(11140,325207 +typedef struct DbdataTable DbdataTable;11245,328587 +typedef struct DbdataCursor DbdataCursor;11246,328627 +struct DbdataCursor 11249,328690 + sqlite3_vtab_cursor base;11250,328712 + sqlite3_stmt *pStmt;pStmt11251,328779 + int iPgno;11253,328848 + u8 *aPage;aPage11254,328908 + int nPage;11255,328971 + int nCell;11256,329036 + int iCell;11257,329103 + int bOnePage;11258,329163 + int szDb;11259,329231 + sqlite3_int64 iRowid;11260,329243 + u8 *pRec;pRec11263,329309 + int nRec;11264,329382 + int nHdr;11265,329446 + int iField;11266,329510 + u8 *pHdrPtr;pHdrPtr11267,329571 + u8 *pPtr;pPtr11268,329586 + sqlite3_int64 iIntkey;11270,329601 +struct DbdataTable 11274,329682 + sqlite3_vtab base;11275,329703 + sqlite3 *db;db11276,329770 + sqlite3_stmt *pStmt;pStmt11277,329834 + int bPtr;11278,329902 +static int dbdataConnect(11311,330916 +static int dbdataDisconnect(11339,331530 +static int dbdataBestIndex(11361,332074 +static int dbdataOpen(11411,333580 +static void dbdataResetCursor(11430,334036 +static int dbdataClose(11451,334498 +static unsigned int get_uint16(11461,334752 +static unsigned int get_uint32(11464,334829 +static int dbdataLoadPage(11481,335457 +static int dbdataGetVarint(11519,336515 +static int dbdataValueBytes(11535,336859 +static void dbdataValue(11565,337372 +static int dbdataNext(11623,338833 +static int dbdataEof(11817,344649 +static int dbdataDbsize(11828,345012 +static int dbdataFilter(11849,345620 +static int dbdataColumn(11897,346838 +static int dbdataRowid(11955,348358 +static int sqlite3DbdataRegister(11965,348613 +int sqlite3_dbdata_init(12003,350222 +typedef struct OpenSession OpenSession;12019,350562 +struct OpenSession 12020,350602 + char *zName;zName12021,350623 + int nFilter;12022,350687 + char **azFilter;azFilter12023,350762 + sqlite3_session *p;p12024,350836 +typedef struct ExpertInfo ExpertInfo;12028,350897 +struct ExpertInfo 12029,350935 + sqlite3expert *pExpert;pExpert12030,350955 + int bVerbose;12031,350981 +typedef struct EQPGraphRow EQPGraphRow;12035,351039 +struct EQPGraphRow 12036,351079 + int iEqpId;12037,351100 + int iParentId;12038,351146 + EQPGraphRow *pNext;pNext12039,351197 + char zText[zText12040,351248 +typedef struct EQPGraph EQPGraph;12044,351379 +struct EQPGraph 12045,351413 + EQPGraphRow *pRow;pRow12046,351431 + EQPGraphRow *pLast;pLast12047,351503 + char zPrefix[zPrefix12048,351563 +typedef struct ShellState ShellState;12055,351726 +struct ShellState 12056,351764 + sqlite3 *db;db12057,351784 + u8 autoExplain;12058,351828 + u8 autoEQP;12059,351895 + u8 autoEQPtest;12060,351973 + u8 autoEQPtrace;12061,352028 + u8 scanstatsOn;12062,352084 + u8 openMode;12063,352163 + u8 doXdgOpen;12064,352237 + u8 nEqpLevel;12065,352313 + u8 eTraceType;12066,352374 + unsigned statsOn;12067,352443 + unsigned mEqpLines;12068,352524 + int outCount;12069,352603 + int cnt;12070,352670 + int lineno;12071,352736 + int openFlags;12072,352805 + FILE *in;in12073,352886 + FILE *out;out12074,352948 + FILE *traceOut;traceOut12075,352998 + int nErr;12076,353056 + int mode;12077,353109 + int modePrior;12078,353163 + int cMode;12079,353205 + int normalMode;12080,353280 + int writableSchema;12081,353344 + int showHeader;12082,353409 + int nCheck;12083,353489 + unsigned nProgress;12084,353552 + unsigned mxProgress;12085,353624 + unsigned flgProgress;12086,353697 + unsigned shellFlgs;12087,353760 + unsigned priorShFlgs;12088,353805 + sqlite3_int64 szMax;12089,353856 + char *zDestTable;zDestTable12090,353915 + char *zTempFile;zTempFile12091,353989 + char zTestcase[zTestcase12092,354060 + char colSeparator[colSeparator12093,354117 + char rowSeparator[rowSeparator12094,354193 + char colSepPrior[colSepPrior12095,354263 + char rowSepPrior[rowSepPrior12096,354317 + int *colWidth;colWidth12097,354368 + int *actualWidth;actualWidth12098,354448 + int nWidth;12099,354507 + char nullValue[nullValue12100,354586 + char outfile[outfile12102,354704 + const char *zDbFilename;zDbFilename12103,354758 + char *zFreeOnClose;zFreeOnClose12104,354820 + const char *zVfs;zVfs12105,354886 + sqlite3_stmt *pStmt;pStmt12106,354941 + FILE *pLog;pLog12107,354998 + int *aiIndent;aiIndent12108,355051 + int nIndent;12109,355120 + int iIndent;12110,355176 + EQPGraph sGraph;12111,355241 + int nSession;12113,355356 + OpenSession aSession[aSession12114,355416 + ExpertInfo expert;12116,355494 +#define ShellHasFlag(12167,357929 +#define ShellSetFlag(12168,357986 +#define ShellClearFlag(12169,358037 +static const char *modeDescr[modeDescr12192,359232 +static void shellLog(12228,359824 +static void shellPutsFunc(12241,360196 +static void editFunc(12269,361022 +static void outputModePush(12399,364434 +static void outputModePop(12405,364674 +static void output_hex_blob(12415,364984 +static const char *unused_string(unused_string12430,365443 +static void output_quoted_string(12449,366017 +static void output_quoted_escaped_string(12488,366945 +static void output_c_string(12549,368344 +static void output_json_string(12580,369029 +static void output_html_string(12615,369780 +static const char needCsvQuote[needCsvQuote12650,370568 +static void output_csv(12675,371689 +static void interrupt_handler(12706,372429 +static BOOL WINAPI ConsoleCtrlHandler(12717,372736 +static int shellAuth(12733,373094 +static void printSchemaLine(12781,374628 +static void printSchemaLineN(12790,374927 +static int wsToEol(12801,375189 +static void eqp_append(12815,375455 +static void eqp_reset(12839,376091 +static EQPGraphRow *eqp_next_row(eqp_next_row12851,376439 +static void eqp_render_level(12860,376775 +static void eqp_render(12880,377385 +static int progress_handler(12904,377910 +static void print_dashes(12923,378491 +static void print_row_separator(12936,378825 +static int shell_callback(12958,379266 +static int callback(13325,391090 +static int captureOutputCallback(13334,391423 +static void createSelftestTable(13350,391831 +static void set_table_name(13401,393833 +static int run_table_dump_query(13437,394800 +static char *save_err_msg(save_err_msg13482,396076 +static void displayLinuxIoStats(13497,396423 +static void displayStatLine(13532,397537 +static int display_stats(13558,398331 +static void display_scanstats(13697,404329 +static int str_in_array(13748,406081 +static void explain_data_prepare(13774,406992 +static void explain_data_delete(13857,409993 +static unsigned int savedSelectTrace;13867,410196 +static unsigned int savedWhereTrace;13868,410234 +static void disable_debug_trace_modes(13869,410271 +static void restore_debug_trace_modes(13876,410614 +static void bind_table_init(13882,410870 +static void bind_prepared_stmt(13911,411972 +static void print_box_line(13973,413964 +static void print_box_row_separator(13989,414405 +static void exec_prepared_stmt_columnar(14021,415210 +static void exec_prepared_stmt(14176,419789 +static int expertHandleSQL(14256,422463 +static int expertFinish(14276,423171 +static int expertDotCommand(14321,424515 +static int shell_exec(14385,426339 +static void freeColumnList(14542,431454 +static char **tableColumnList(tableColumnList14564,432160 +static void toggleSelectOrder(14655,435357 +static int dump_callback(14675,436077 +static int run_schema_dump_query(14793,439616 +static int showHelp(15085,454637 +static char *readFile(readFile15164,457019 +static void session_close(15191,457609 +static void session_close_all(15207,458024 +# define session_close_all(15215,458178 +static int session_filter(15223,458400 +int deduceDatabaseType(15242,459030 +static unsigned char *readHexDb(readHexDb15283,460181 +static void shellInt32(15374,462623 +static void shellIdQuote(15402,463420 +static void shellUSleepFunc(15418,463806 +static void shellEscapeCrnl(15442,464596 +static void open_db(15537,467285 +void close_db(15659,471610 +static char *readline_completion_generator(readline_completion_generator15671,471862 +static char **readline_completion(readline_completion15691,472461 +static void linenoise_completion(15700,472706 +static void resolve_backslashes(15747,474156 +static int booleanValue(15795,475243 +static void setOrClearFlag(15817,475877 +static void output_file_close(15828,476123 +static FILE *output_file_open(output_file_open15837,476380 +static int sql_trace_callback(15858,476863 +static void test_breakpoint(15917,478431 +typedef struct ImportCtx ImportCtx;15925,478570 +struct ImportCtx 15926,478606 + const char *zFile;zFile15927,478625 + FILE *in;in15928,478676 + int 15929,478745 + char *z;z15930,478811 + int n;15931,478868 + int nAlloc;15932,478917 + int nLine;15933,478969 + int nRow;15934,479017 + int nErr;15935,479069 + int bNotFirst;15936,479126 + int cTerm;15937,479193 + int cColSep;15938,479269 + int cRowSep;15939,479344 +static void import_cleanup(15943,479467 +static void import_append_char(15953,479657 +static char *SQLITE_CDECL csv_read_one_field(15975,480488 +static char *SQLITE_CDECL ascii_read_one_field(16065,482904 +static void tryToCloneData(16092,483504 +static void tryToCloneSchema(16202,486963 +static void tryToClone(16277,489358 +static void output_reset(16306,490332 +static int db_int(16346,491316 +static unsigned int get2byteInt(16360,491670 +static unsigned int get4byteInt(16363,491750 +static int shell_dbinfo_command(16372,491960 + static const struct { const char *zName;zName16373,492032 + static const struct { const char *zName; int ofst;16373,492032 + static const struct { const char *zName;zName16387,492573 + static const struct { const char *zName; const char *zSql;zSql16387,492573 +static int shellDatabaseError(16467,495302 +static int testcase_glob(16496,496162 +static int optionMatch(16575,498045 +int shellDeleteFile(16585,498234 +static void clearTempFile(16601,498576 +static void newTempFile(16612,498838 +static void shellFkeyCollateClause(16660,500524 +static int lintFkeyIndexes(16701,501699 +static int lintDotCommand(16877,507992 +static void shellPrepare(16895,508648 +void shellPreparePrintf(16920,509302 +void shellFinalize(16949,509970 +void shellReset(16971,510565 +typedef struct ArCommand ArCommand;16993,511132 +struct ArCommand 16994,511168 + u8 eCmd;16995,511187 + u8 bVerbose;16996,511245 + u8 bZip;16997,511303 + u8 bDryRun;16998,511372 + u8 bAppend;16999,511430 + u8 fromCmdLine;17000,511487 + int nArg;17001,511559 + char *zSrcTable;zSrcTable17002,511627 + const char *zFile;zFile17003,511702 + const char *zDir;zDir17004,511767 + char **azArg;azArg17005,511837 + ShellState *p;p17006,511904 + sqlite3 *db;db17007,511956 +static int arUsage(17013,512118 +static int arErrorMsg(17022,512289 +static int arProcessSwitch(17057,513111 +static int arParseCommand(17097,514105 + struct ArSwitch 17102,514346 + const char *zLong;zLong17103,514366 + char cShort;17104,514389 + u8 eSwitch;17105,514406 + u8 bArg;17106,514422 +static int arCheckEntries(17245,519111 +static void arWhereClause(17284,520270 +static int arListCommand(17316,520971 +static int arExtractCommand(17357,522041 +static int arExecSql(17429,524118 +static int arCreateOrUpdateCommand(17464,525319 +static int arDotCommand(17573,528698 +static void shellExec(17687,532301 +static void shellExecPrintf(17703,532678 +static void *shellMalloc(shellMalloc17725,533263 +static char *shellMPrintf(shellMPrintf17749,534013 +typedef struct RecoverTable RecoverTable;17768,534453 +struct RecoverTable 17769,534495 + char *zQuoted;zQuoted17770,534517 + int nCol;17771,534586 + char **azlCol;azlCol17772,534653 + int iPk;17773,534715 +static void recoverFreeTable(17780,534875 +static RecoverTable *recoverNewTable(recoverNewTable17801,535476 +static RecoverTable *recoverFindTable(recoverFindTable17933,540052 +static RecoverTable *recoverOrphanTable(recoverOrphanTable17973,541410 +static int recoverDatabaseCmd(18041,543741 +static int do_meta_command(18363,555451 +#define CTIMEOPT_VAL_(21305,653002 +#define CTIMEOPT_VAL(21306,653034 +static int line_contains_semicolon(21397,656113 +static int _all_whitespace(21406,656310 +static int line_is_command_terminator(21432,656904 +#define sqlite3_complete(21451,657527 +static int line_is_complete(21458,657705 +static int runOneSqlLine(21471,657962 +static int process_input(21514,659367 +static char *find_home_dir(find_home_dir21604,662126 +static void process_sqliterc(21675,663633 +static const char zOptions[zOptions21714,664724 +static void usage(21773,667681 +static void verify_uninitialized(21790,668219 +static void main_init(21800,668475 +static void printBold(21820,669173 +static void printBold(21835,669597 +static char *cmdline_option_value(cmdline_option_value21844,669784 +int SQLITE_CDECL main(21863,670287 + +shun.c,143 +int uuid_is_shunned(27,790 +void shun_page(45,1276 +void shun_artifacts(275,8696 +void rcvfromlist_page(308,9580 +void rcvfrom_page(417,13826 + +sitemap.c,182 +void sitemap_page(53,1878 + const char *zTitle;zTitle63,2125 + const char *zProperty;zProperty64,2149 +void sitemap_test_page(307,9358 +void sitemap_timeline_page(359,11365 + +skins.c,1814 +static struct BuiltinSkin 39,1203 + const char *zDesc;zDesc40,1231 + const char *zLabel;zLabel41,1286 + char *zSQL;zSQL42,1361 +} aBuiltinSkin[aBuiltinSkin43,1442 +static const char *const azSkinFile[azSkinFile60,2257 +static struct BuiltinSkin *pAltSkin pAltSkin73,2724 +static char *zAltSkinDir zAltSkinDir74,2765 +static int iDraftSkin 75,2795 +static struct SkinDetail 84,3080 + const char *zName;zName85,3107 + const char *zValue;zValue86,3158 +} aSkinDetail[aSkinDetail87,3210 +char *skin_use_alternative(skin_use_alternative143,5596 +void skin_override(179,6569 +void skin_use_draft(190,6791 +const char *skin_get(skin_get200,7025 +const char *skin_in_use(skin_in_use238,7921 +static struct SkinDetail *skin_detail_find(skin_detail_find247,8124 +static void skin_detail_initialize(266,8552 +const char *skin_detail(skin_detail299,9430 +int skin_detail_boolean(306,9664 +static unsigned int skin_hash(313,9799 +unsigned int skin_id(332,10411 +static char *skinVarName(skinVarName357,11081 +static int skinExists(371,11420 +static char *getSkin(getSkin388,11988 +static int skinRename(421,12836 +static int skinSave(465,14289 +void setup_skin_admin(508,15578 +static void skin_emit_skin_selector(704,21635 +static const char *skin_file_content(skin_file_content741,22825 +extern const struct strctCssDefaults 760,23369 + const char *elementClass;elementClass764,23515 + const char *value;value765,23573 +} cssDefaultList[cssDefaultList766,23617 +void setup_skinedit(777,23883 + static const struct sSkinAddr 778,23910 + const char *zFile;zFile779,23944 + const char *zTitle;zTitle780,23967 + const char *zSubmenu;zSubmenu781,23991 +static void skin_initialize_draft(900,28234 +static void skin_publish(912,28571 +void setup_skin(954,29797 +void skins_page(1180,37576 + +smtp.c,932 +char *smtp_mx_host(smtp_mx_host59,1882 +void test_find_mx(138,4429 +struct SmtpSession 154,4715 + const char *zFrom;zFrom155,4736 + const char *zDest;zDest156,4803 + char *zHostname;zHostname157,4872 + u32 smtpFlags;158,4940 + FILE *logFile;logFile159,5003 + Blob *pTranscript;pTranscript160,5079 + int atEof;161,5144 + char *zErr;zErr162,5207 + Blob inbuf;163,5255 +void smtp_session_free(178,5743 +SmtpSession *smtp_session_new(smtp_session_new197,6171 +static void smtp_send_line(255,7609 +static void smtp_recv_line(289,8504 +static void smtp_get_reply_from_server(348,9951 +int smtp_client_quit(375,10560 +int smtp_client_startup(395,11010 +void test_smtp_probe(432,11920 +static void smtp_send_email_body(467,12993 +static size_t smtp_test_sender(499,13941 +void test_smtp_senddata(512,14314 +int smtp_send_msg(534,15030 +static const char *domainOfAddr(domainOfAddr585,16571 +void test_smtp_send(607,17221 + +sqlcmd.c,552 +static int local_bSqlCmdTest 40,1182 +static void sqlcmd_content(46,1346 +static void sqlcmd_compress(72,2007 +static void sqlcmd_decompress(108,2960 +static void sqlcmd_gather_artifact_stats(142,3907 +int add_content_sql_commands(154,4172 +static void sqlcmd_db_protect(186,5390 +static void sqlcmd_db_protect_pop(202,5971 +static int sqlcmd_autoinit(215,6329 +static void sqlcmd_atexit(264,7986 +void sqlcmd_get_dbname(272,8187 +void sqlcmd_init_proc(280,8402 +void fossil_key(291,8764 +static void fossil_close(318,9485 +void cmd_sqlite3(414,13576 + +sqlcompattest.c,62 +int main(48,2033 +#define QUOTE(54,2176 +#define STR(55,2200 + +sqlite3.c,453933 +# define INC_STRINGIFY_(296,11258 +# define INC_STRINGIFY(297,11288 +SQLITE_API const char sqlite3_version[sqlite3_version491,19143 +# define sqlite3_compileoption_used(522,20508 +# define sqlite3_compileoption_get(523,20549 +typedef struct sqlite3 sqlite3;578,23087 + typedef SQLITE_INT64_TYPE sqlite_int64;597,23809 + typedef SQLITE_UINT64_TYPE sqlite_uint64;599,23878 + typedef unsigned SQLITE_INT64_TYPE sqlite_uint64;601,23931 + typedef __int64 sqlite_int64;604,24042 + typedef unsigned __int64 sqlite_uint64;605,24074 + typedef long long int sqlite_int64;607,24122 + typedef unsigned long long int sqlite_uint64;608,24160 +typedef sqlite_int64 sqlite3_int64;610,24215 +typedef sqlite_uint64 sqlite3_uint64;611,24251 +typedef int (*sqlite3_callback)sqlite3_callback667,26715 +typedef struct sqlite3_file sqlite3_file;1014,45160 +struct sqlite3_file 1015,45202 + const struct sqlite3_io_methods *pMethods;pMethods1016,45224 +typedef struct sqlite3_io_methods sqlite3_io_methods;1113,49669 +struct sqlite3_io_methods 1114,49723 + int iVersion;1115,49751 + int (*xClose)xClose1116,49767 + int (*xRead)xRead1117,49799 + int (*xWrite)xWrite1118,49868 + int (*xTruncate)xTruncate1119,49944 + int (*xSync)xSync1120,49999 + int (*xFileSize)xFileSize1121,50041 + int (*xLock)xLock1122,50098 + int (*xUnlock)xUnlock1123,50134 + int (*xCheckReservedLock)xCheckReservedLock1124,50172 + int (*xFileControl)xFileControl1125,50230 + int (*xSectorSize)xSectorSize1126,50288 + int (*xDeviceCharacteristics)xDeviceCharacteristics1127,50325 + int (*xShmMap)xShmMap1129,50419 + int (*xShmLock)xShmLock1130,50493 + void (*xShmBarrier)xShmBarrier1131,50557 + int (*xShmUnmap)xShmUnmap1132,50595 + int (*xFetch)xFetch1134,50692 + int (*xUnfetch)xUnfetch1135,50766 +typedef struct sqlite3_mutex sqlite3_mutex;1536,72364 +typedef struct sqlite3_api_routines sqlite3_api_routines;1546,72693 +typedef struct sqlite3_vfs sqlite3_vfs;1717,81426 +typedef void (*sqlite3_syscall_ptr)sqlite3_syscall_ptr1718,81466 +struct sqlite3_vfs 1719,81509 + int iVersion;1720,81530 + int szOsFile;1721,81602 + int mxPathname;1722,81667 + sqlite3_vfs *pNext;pNext1723,81729 + const char *zName;zName1724,81782 + void *pAppData;pAppData1725,81848 + int (*xOpen)xOpen1726,81918 + int (*xDelete)xDelete1728,82024 + int (*xAccess)xAccess1729,82088 + int (*xFullPathname)xFullPathname1730,82164 + void *(*xDlOpen)xDlOpen1731,82243 + void (*xDlError)xDlError1732,82300 + void (*(*xDlSym)xDlSym1733,82360 + void (*xDlClose)xDlClose1734,82428 + int (*xRandomness)xRandomness1735,82469 + int (*xSleep)xSleep1736,82528 + int (*xCurrentTime)xCurrentTime1737,82577 + int (*xGetLastError)xGetLastError1738,82623 + int (*xCurrentTimeInt64)xCurrentTimeInt641743,82817 + int (*xSetSystemCall)xSetSystemCall1748,83006 + sqlite3_syscall_ptr (*xGetSystemCall)xGetSystemCall1749,83085 + const char *(*xNextSystemCall)xNextSystemCall1750,83159 +typedef struct sqlite3_mem_methods sqlite3_mem_methods;2015,95507 +struct sqlite3_mem_methods 2016,95563 + void *(*xMalloc)xMalloc2017,95592 + void (*xFree)xFree2018,95658 + void *(*xRealloc)xRealloc2019,95721 + int (*xSize)xSize2020,95781 + int (*xRoundup)xRoundup2021,95853 + int (*xInit)xInit2022,95933 + void (*xShutdown)xShutdown2023,96004 + void *pAppData;pAppData2024,96077 +typedef struct sqlite3_stmt sqlite3_stmt;4174,205671 +typedef struct sqlite3_value sqlite3_value;4636,227806 +typedef struct sqlite3_context sqlite3_context;4650,228398 +typedef void (*sqlite3_destructor_type)sqlite3_destructor_type6015,294391 +SQLITE_API char *sqlite3_temp_directory;sqlite3_temp_directory6430,314760 +SQLITE_API char *sqlite3_data_directory;sqlite3_data_directory6467,316581 +typedef struct sqlite3_vtab sqlite3_vtab;7134,346286 +typedef struct sqlite3_index_info sqlite3_index_info;7135,346328 +typedef struct sqlite3_vtab_cursor sqlite3_vtab_cursor;7136,346382 +typedef struct sqlite3_module sqlite3_module;7137,346438 +struct sqlite3_module 7155,347186 + int iVersion;7156,347210 + int (*xCreate)xCreate7157,347226 + int (*xConnect)xConnect7160,347361 + int (*xBestIndex)xBestIndex7163,347497 + int (*xDisconnect)xDisconnect7164,347560 + int (*xDestroy)xDestroy7165,347603 + int (*xOpen)xOpen7166,347643 + int (*xClose)xClose7167,347712 + int (*xFilter)xFilter7168,347751 + int (*xNext)xNext7170,347871 + int (*xEof)xEof7171,347909 + int (*xColumn)xColumn7172,347946 + int (*xRowid)xRowid7173,348009 + int (*xUpdate)xUpdate7174,348071 + int (*xBegin)xBegin7175,348145 + int (*xSync)xSync7176,348183 + int (*xCommit)xCommit7177,348220 + int (*xRollback)xRollback7178,348259 + int (*xFindFunction)xFindFunction7179,348300 + int (*xRename)xRename7182,348489 + int (*xSavepoint)xSavepoint7185,348666 + int (*xRelease)xRelease7186,348713 + int (*xRollbackTo)xRollbackTo7187,348758 + int (*xShadowName)xShadowName7190,348933 +struct sqlite3_index_info 7295,354499 + int nConstraint;7297,354542 + struct sqlite3_index_constraint 7298,354610 + int iColumn;7299,354646 + unsigned char op;7300,354717 + unsigned char usable;7301,354774 + int iTermOffset;7302,354845 + } *aConstraint;aConstraint7303,354925 + int nOrderBy;7304,354994 + struct sqlite3_index_orderby 7305,355068 + int iColumn;7306,355101 + unsigned char desc;7307,355152 + } *aOrderBy;aOrderBy7308,355220 + struct sqlite3_index_constraint_usage 7310,355291 + int argvIndex;7311,355333 + unsigned char omit;7312,355413 + } *aConstraintUsage;aConstraintUsage7313,355487 + int idxNum;7314,355510 + char *idxStr;idxStr7315,355579 + int needToFreeIdxStr;7316,355660 + int orderByConsumed;7317,355736 + double estimatedCost;7318,355805 + sqlite3_int64 estimatedRows;7320,355946 + int idxFlags;7322,356086 + sqlite3_uint64 colUsed;7324,356222 +struct sqlite3_vtab 7441,361200 + const sqlite3_module *pModule;pModule7442,361222 + int nRef;7443,361296 + char *zErrMsg;zErrMsg7444,361359 +struct sqlite3_vtab_cursor 7465,362297 + sqlite3_vtab *pVtab;pVtab7466,362326 +typedef struct sqlite3_blob sqlite3_blob;7521,364605 +typedef struct sqlite3_mutex_methods sqlite3_mutex_methods;7969,385287 +struct sqlite3_mutex_methods 7970,385347 + int (*xMutexInit)xMutexInit7971,385378 + int (*xMutexEnd)xMutexEnd7972,385405 + sqlite3_mutex *(*xMutexAlloc)xMutexAlloc7973,385431 + void (*xMutexFree)xMutexFree7974,385469 + void (*xMutexEnter)xMutexEnter7975,385508 + int (*xMutexTry)xMutexTry7976,385548 + void (*xMutexLeave)xMutexLeave7977,385585 + int (*xMutexHeld)xMutexHeld7978,385625 + int (*xMutexNotheld)xMutexNotheld7979,385663 +typedef struct sqlite3_str sqlite3_str;8232,397360 +typedef struct sqlite3_pcache sqlite3_pcache;8713,419960 +typedef struct sqlite3_pcache_page sqlite3_pcache_page;8725,420377 +struct sqlite3_pcache_page 8726,420433 + void *pBuf;pBuf8727,420462 + void *pExtra;pExtra8728,420513 +typedef struct sqlite3_pcache_methods2 sqlite3_pcache_methods2;8890,428719 +struct sqlite3_pcache_methods2 8891,428783 + int iVersion;8892,428816 + void *pArg;pArg8893,428832 + int (*xInit)xInit8894,428846 + void (*xShutdown)xShutdown8895,428869 + sqlite3_pcache *(*xCreate)xCreate8896,428897 + void (*xCachesize)xCachesize8897,428968 + int (*xPagecount)xPagecount8898,429023 + sqlite3_pcache_page *(*xFetch)xFetch8899,429061 + void (*xUnpin)xUnpin8900,429142 + void (*xRekey)xRekey8901,429212 + void (*xTruncate)xTruncate8903,429309 + void (*xDestroy)xDestroy8904,429364 + void (*xShrink)xShrink8905,429401 +typedef struct sqlite3_pcache_methods sqlite3_pcache_methods;8913,429659 +struct sqlite3_pcache_methods 8914,429721 + void *pArg;pArg8915,429753 + int (*xInit)xInit8916,429767 + void (*xShutdown)xShutdown8917,429790 + sqlite3_pcache *(*xCreate)xCreate8918,429818 + void (*xCachesize)xCachesize8919,429876 + int (*xPagecount)xPagecount8920,429931 + void *(*xFetch)xFetch8921,429969 + void (*xUnpin)xUnpin8922,430035 + void (*xRekey)xRekey8923,430090 + void (*xTruncate)xTruncate8924,430166 + void (*xDestroy)xDestroy8925,430221 +typedef struct sqlite3_backup sqlite3_backup;8939,430598 +typedef struct sqlite3_snapshot 9981,482287 + unsigned char hidden[hidden9982,482321 +} sqlite3_snapshot;9983,482349 +typedef struct sqlite3_rtree_geometry sqlite3_rtree_geometry;10312,496602 +typedef struct sqlite3_rtree_query_info sqlite3_rtree_query_info;10313,496664 + typedef sqlite3_int64 sqlite3_rtree_dbl;10319,496871 + typedef double sqlite3_rtree_dbl;10321,496920 +struct sqlite3_rtree_geometry 10342,497486 + void *pContext;pContext10343,497518 + int nParam;10344,497595 + sqlite3_rtree_dbl *aParam;aParam10345,497658 + void *pUser;pUser10346,497737 + void (*xDelUser)xDelUser10347,497811 +struct sqlite3_rtree_query_info 10374,498616 + void *pContext;pContext10375,498650 + int nParam;10376,498731 + sqlite3_rtree_dbl *aParam;aParam10377,498803 + void *pUser;pUser10378,498874 + void (*xDelUser)xDelUser10379,498950 + sqlite3_rtree_dbl *aCoord;aCoord10380,499015 + unsigned int *anQueue;anQueue10381,499095 + int nCoord;10382,499176 + int iLevel;10383,499240 + int mxLevel;10384,499313 + sqlite3_int64 iRowid;10385,499392 + sqlite3_rtree_dbl rParentScore;10386,499458 + int eParentWithin;10387,499521 + int eWithin;10388,499589 + sqlite3_rtree_dbl rScore;10389,499647 + sqlite3_value **apSqlParam;apSqlParam10391,499783 +typedef struct sqlite3_session sqlite3_session;10428,500674 +typedef struct sqlite3_changeset_iter sqlite3_changeset_iter;10436,500885 +typedef struct sqlite3_changegroup sqlite3_changegroup;11288,539316 +typedef struct sqlite3_rebaser sqlite3_rebaser;11852,566592 +typedef struct Fts5ExtensionApi Fts5ExtensionApi;12168,578723 +typedef struct Fts5Context Fts5Context;12169,578773 +typedef struct Fts5PhraseIter Fts5PhraseIter;12170,578813 +typedef void (*fts5_extension_function)fts5_extension_function12172,578860 +struct Fts5PhraseIter 12180,579273 + const unsigned char *a;a12181,579297 + const unsigned char *b;b12182,579323 +struct Fts5ExtensionApi 12396,588817 + int iVersion;12397,588843 + void *(*xUserData)xUserData12399,588910 + int (*xColumnCount)xColumnCount12401,588947 + int (*xRowCount)xRowCount12402,588984 + int (*xColumnTotalSize)xColumnTotalSize12403,589040 + int (*xTokenize)xTokenize12405,589116 + int (*xPhraseCount)xPhraseCount12411,589358 + int (*xPhraseSize)xPhraseSize12412,589395 + int (*xInstCount)xInstCount12414,589445 + int (*xInst)xInst12415,589493 + sqlite3_int64 (*xRowid)xRowid12417,589573 + int (*xColumnText)xColumnText12418,589614 + int (*xColumnSize)xColumnSize12419,589686 + int (*xQueryPhrase)xQueryPhrase12421,589747 + int (*xSetAuxdata)xSetAuxdata12424,589873 + void *(*xGetAuxdata)xGetAuxdata12425,589944 + int (*xPhraseFirst)xPhraseFirst12427,589995 + void (*xPhraseNext)xPhraseNext12428,590074 + int (*xPhraseFirstColumn)xPhraseFirstColumn12430,590153 + void (*xPhraseNextColumn)xPhraseNextColumn12431,590232 +typedef struct Fts5Tokenizer Fts5Tokenizer;12630,600514 +typedef struct fts5_tokenizer fts5_tokenizer;12631,600558 +struct fts5_tokenizer 12632,600604 + int (*xCreate)xCreate12633,600628 + void (*xDelete)xDelete12634,600706 + int (*xTokenize)xTokenize12635,600741 +typedef struct fts5_api fts5_api;12667,602001 +struct fts5_api 12668,602035 + int iVersion;12669,602053 + int (*xCreateTokenizer)xCreateTokenizer12672,602151 + int (*xFindTokenizer)xFindTokenizer12681,602342 + int (*xCreateFunction)xCreateFunction12689,602509 +# define __has_extension(12952,610786 +# define AtomicLoad(12956,610962 +# define AtomicStore(12957,611033 +# define AtomicLoad(12960,611153 +# define AtomicStore(12961,611193 +# define SQLITE_INT_TO_PTR(12991,612231 +# define SQLITE_PTR_TO_INT(12992,612285 +# define SQLITE_INT_TO_PTR(12994,612406 +# define SQLITE_PTR_TO_INT(12995,612468 +# define SQLITE_INT_TO_PTR(12997,612601 +# define SQLITE_PTR_TO_INT(12998,612656 +# define SQLITE_INT_TO_PTR(13000,612795 +# define SQLITE_PTR_TO_INT(13001,612839 +# define testcase(13168,618621 +# define testcase(13170,618687 +# define TESTONLY(13179,618947 +# define TESTONLY(13181,618977 +# define VVA_ONLY(13193,619457 +# define VVA_ONLY(13195,619487 +# define ALWAYS(13214,620266 +# define NEVER(13215,620294 +# define ALWAYS(13217,620345 +# define NEVER(13218,620391 +# define ALWAYS(13220,620443 +# define NEVER(13221,620471 +# define harmless(13239,621150 +# define harmless(13241,621192 +# define OK_IF_ALWAYS_TRUE(13252,621540 +# define OK_IF_ALWAYS_FALSE(13253,621575 +# define OK_IF_ALWAYS_TRUE(13255,621616 +# define OK_IF_ALWAYS_FALSE(13256,621651 +# define ONLY_IF_REALLOC_STRESS(13267,622109 +# define ONLY_IF_REALLOC_STRESS(13269,622172 +# define ONLY_IF_REALLOC_STRESS(13271,622236 +# define OSTRACE(13280,622494 +# define OSTRACE(13283,622601 +#define IS_BIG_INT(13312,623456 +#define likely(13321,623824 +#define unlikely(13322,623849 +typedef struct Hash Hash;13344,624588 +typedef struct HashElem HashElem;13345,624614 +struct Hash 13368,625728 + unsigned int htsize;13369,625742 + unsigned int count;13370,625812 + HashElem *first;first13371,625878 + struct _ht 13372,625943 + unsigned int count;13373,625992 + HashElem *chain;chain13374,626062 + } *ht;ht13375,626137 +struct HashElem 13384,626407 + HashElem *next,next13385,626425 + HashElem *next, *prev;prev13385,626425 + void *data;data13386,626502 + const char *pKey;pKey13387,626573 +#define sqliteHashFirst(13410,627226 +#define sqliteHashNext(13411,627267 +#define sqliteHashData(13412,627307 +# define memcpy(13627,636934 +#define offsetof(13743,640433 +# define MIN(13750,640590 +# define MAX(13753,640645 +#define SWAP(13759,640729 +typedef sqlite_int64 i64;13816,641963 +typedef sqlite_uint64 u64;13817,642026 +typedef UINT32_TYPE u32;13818,642091 +typedef UINT16_TYPE u16;13819,642156 +typedef INT16_TYPE i16;13820,642221 +typedef UINT8_TYPE u8;13821,642284 +typedef INT8_TYPE i8;13822,642349 + typedef u64 tRowcnt;13839,643007 + typedef u32 tRowcnt;13841,643085 +typedef INT16_TYPE LogEst;13867,644139 + typedef uintptr_t uptr;13887,644726 + typedef u32 uptr;13889,644776 + typedef u64 uptr;13891,644802 +#define SQLITE_WITHIN(13902,645148 + const int sqlite3one 13937,646446 +#define ROUND8(13959,647189 +#define ROUNDDOWN8(13964,647274 +# define EIGHT_BYTE_ALIGNMENT(13976,647717 +# define EIGHT_BYTE_ALIGNMENT(13978,647791 +SQLITE_PRIVATE u32 sqlite3SelectTrace;14026,649089 +# define SELECTTRACE(14031,649262 +# define SELECTTRACE(14036,649430 +SQLITE_PRIVATE u32 sqlite3WhereTrace;14043,649532 +# define WHERETRACE(14046,649665 +# define WHERETRACE(14049,649774 +typedef struct BusyHandler BusyHandler;14062,650203 +struct BusyHandler 14063,650243 + int (*xBusyHandler)xBusyHandler14064,650264 + void *pBusyArg;pBusyArg14065,650324 + int nBusy;14066,650393 +#define SCHEMA_TABLE(14086,650884 +#define ArraySize(14093,651062 +#define IsPowerOfTwo(14098,651172 + #define GLOBAL(14126,652500 + #define GLOBAL(14132,652769 +#define UNUSED_PARAMETER(14152,653771 +#define UNUSED_PARAMETER2(14153,653809 +typedef struct AggInfo AggInfo;14158,653923 +typedef struct AuthContext AuthContext;14159,653955 +typedef struct AutoincInfo AutoincInfo;14160,653995 +typedef struct Bitvec Bitvec;14161,654035 +typedef struct CollSeq CollSeq;14162,654065 +typedef struct Column Column;14163,654097 +typedef struct Cte Cte;14164,654127 +typedef struct CteUse CteUse;14165,654151 +typedef struct Db Db;14166,654181 +typedef struct DbFixer DbFixer;14167,654203 +typedef struct Schema Schema;14168,654235 +typedef struct Expr Expr;14169,654265 +typedef struct ExprList ExprList;14170,654291 +typedef struct FKey FKey;14171,654325 +typedef struct FuncDestructor FuncDestructor;14172,654351 +typedef struct FuncDef FuncDef;14173,654397 +typedef struct FuncDefHash FuncDefHash;14174,654429 +typedef struct IdList IdList;14175,654469 +typedef struct Index Index;14176,654499 +typedef struct IndexSample IndexSample;14177,654527 +typedef struct KeyClass KeyClass;14178,654567 +typedef struct KeyInfo KeyInfo;14179,654601 +typedef struct Lookaside Lookaside;14180,654633 +typedef struct LookasideSlot LookasideSlot;14181,654669 +typedef struct Module Module;14182,654713 +typedef struct NameContext NameContext;14183,654743 +typedef struct Parse Parse;14184,654783 +typedef struct ParseCleanup ParseCleanup;14185,654811 +typedef struct PreUpdate PreUpdate;14186,654853 +typedef struct PrintfArguments PrintfArguments;14187,654889 +typedef struct RenameToken RenameToken;14188,654937 +typedef struct Returning Returning;14189,654977 +typedef struct RowSet RowSet;14190,655013 +typedef struct Savepoint Savepoint;14191,655043 +typedef struct Select Select;14192,655079 +typedef struct SQLiteThread SQLiteThread;14193,655109 +typedef struct SelectDest SelectDest;14194,655151 +typedef struct SrcItem SrcItem;14195,655189 +typedef struct SrcList SrcList;14196,655221 +typedef struct sqlite3_str StrAccum;14197,655253 +typedef struct Table Table;14198,655327 +typedef struct TableLock TableLock;14199,655355 +typedef struct Token Token;14200,655391 +typedef struct TreeView TreeView;14201,655419 +typedef struct Trigger Trigger;14202,655453 +typedef struct TriggerPrg TriggerPrg;14203,655485 +typedef struct TriggerStep TriggerStep;14204,655523 +typedef struct UnpackedRecord UnpackedRecord;14205,655563 +typedef struct Upsert Upsert;14206,655609 +typedef struct VTable VTable;14207,655639 +typedef struct VtabCtx VtabCtx;14208,655669 +typedef struct Walker Walker;14209,655701 +typedef struct WhereInfo WhereInfo;14210,655731 +typedef struct Window Window;14211,655767 +typedef struct With With;14212,655797 + typedef SQLITE_BITMASK_TYPE Bitmask;14223,656114 + typedef u64 Bitmask;14225,656159 +#define MASKBIT(14236,656330 +#define MASKBIT64(14237,656371 +#define MASKBIT32(14238,656408 +typedef int VList;14247,656824 +typedef u32 Pgno;14288,658248 +typedef struct Pager Pager;14293,658351 +typedef struct PgHdr DbPage;14298,658412 +#define PAGER_MJ_PGNO(14308,658826 +# define sqlite3PagerWalWriteLock(14447,665235 +# define sqlite3PagerWalDb(14448,665284 +# define disable_simulated_io_errors(14493,666991 +# define enable_simulated_io_errors(14494,667030 +typedef struct Btree Btree;14541,668638 +typedef struct BtCursor BtCursor;14542,668666 +typedef struct BtShared BtShared;14543,668700 +typedef struct BtreePayload BtreePayload;14544,668734 +struct BtreePayload 14806,680815 + const void *pKey;pKey14807,680837 + sqlite3_int64 nKey;14808,680911 + const void *pData;pData14809,680991 + sqlite3_value *aMem;aMem14810,681040 + u16 nMem;14811,681113 + int nData;14812,681184 + int nZero;14813,681243 +# define sqlite3BtreeSeekCount(14852,683138 +# define sqlite3BtreeEnter(14885,684185 +# define sqlite3BtreeEnterAll(14886,684215 +# define sqlite3BtreeSharable(14887,684248 +# define sqlite3BtreeEnterCursor(14888,684283 +# define sqlite3BtreeConnectionCount(14889,684319 +# define sqlite3BtreeLeave(14904,684864 +# define sqlite3BtreeLeaveCursor(14905,684894 +# define sqlite3BtreeLeaveAll(14906,684930 +# define sqlite3BtreeHoldsMutex(14908,684964 +# define sqlite3BtreeHoldsAllMutexes(14909,685001 +# define sqlite3SchemaMutexHeld(14910,685043 +typedef struct Vdbe Vdbe;14946,686307 +typedef struct sqlite3_value Mem;14952,686441 +typedef struct SubProgram SubProgram;14953,686475 +struct VdbeOp 14960,686690 + u8 opcode;14961,686706 + signed char p4type;14962,686760 + u16 p5;14963,686823 + int p1;14964,686897 + int p2;14965,686939 + int p3;14966,687013 + union p4union 14967,687061 + int i;14968,687106 + void *p;p14969,687173 + char *z;z14970,687222 + i64 *pI64;pI6414971,687301 + double *pReal;pReal14972,687363 + FuncDef *pFunc;pFunc14973,687424 + sqlite3_context *pCtx;pCtx14974,687488 + CollSeq *pColl;pColl14975,687552 + Mem *pMem;pMem14976,687616 + VTable *pVtab;pVtab14977,687676 + KeyInfo *pKeyInfo;pKeyInfo14978,687737 + u32 *ai;ai14979,687801 + SubProgram *pProgram;pProgram14980,687866 + Table *pTab;pTab14981,687933 + Expr *pExpr;pExpr14983,688029 + int (*xAdvance)xAdvance14985,688097 + } p4;14986,688135 + char *zComment;zComment14988,688181 + u32 cnt;14991,688272 + u64 cycles;14992,688351 + u32 iSrcLine;14995,688463 +typedef struct VdbeOp VdbeOp;14999,688611 +struct SubProgram 15005,688703 + VdbeOp *aOp;aOp15006,688723 + int nOp;15007,688794 + int nMem;15008,688850 + int nCsr;15009,688920 + u8 *aOnce;aOnce15010,688985 + void *token;token15011,689046 + SubProgram *pNext;pNext15012,689126 +struct VdbeOpList 15019,689311 + u8 opcode;15020,689331 + signed char p1;15021,689385 + signed char p2;15022,689427 + signed char p3;15023,689501 +typedef struct VdbeOpList VdbeOpList;15025,689548 +#define ADDR(15082,691967 +# define sqlite3VdbeVerifyNoMallocRequired(15347,707973 +# define sqlite3VdbeVerifyNoResultRow(15348,708021 +# define sqlite3VdbeVerifyAbortable(15353,708165 +# define ExplainQueryPlan(15360,708514 +# define ExplainQueryPlanPop(15361,708571 +# define ExplainQueryPlanParent(15362,708632 +# define ExplainQueryPlan(15364,708702 +# define ExplainQueryPlanPop(15365,708731 +# define ExplainQueryPlanParent(15366,708763 +# define sqlite3ExplainBreakpoint(15367,708800 +# define sqlite3ExplainBreakpoint(15372,708994 +# define sqlite3VdbeReleaseRegisters(15387,709808 +typedef int (*RecordCompare)RecordCompare15434,712247 +# define VdbeComment(15454,713021 +# define VdbeNoopComment(15456,713138 +# define VdbeModuleComment(15458,713230 +# define VdbeModuleComment(15460,713295 +# define VdbeComment(15463,713341 +# define VdbeNoopComment(15464,713365 +# define VdbeModuleComment(15465,713393 +# define VdbeCoverage(15510,715578 +# define VdbeCoverageIf(15511,715640 +# define VdbeCoverageAlwaysTaken(15512,715711 +# define VdbeCoverageNeverTaken(15514,715806 +# define VdbeCoverageNeverNull(15516,715900 +# define VdbeCoverageNeverNullIf(15518,715993 +# define VdbeCoverageEqNe(15520,716095 +# define VDBE_OFFSET_LINENO(15522,716183 +# define VdbeCoverage(15524,716233 +# define VdbeCoverageIf(15525,716258 +# define VdbeCoverageAlwaysTaken(15526,716287 +# define VdbeCoverageNeverTaken(15527,716323 +# define VdbeCoverageNeverNull(15528,716358 +# define VdbeCoverageNeverNullIf(15529,716392 +# define VdbeCoverageEqNe(15530,716430 +# define VDBE_OFFSET_LINENO(15531,716459 +# define sqlite3VdbeScanStatus(15537,716629 +typedef struct PgHdr PgHdr;15567,717626 +typedef struct PCache PCache;15568,717654 +struct PgHdr 15574,717778 + sqlite3_pcache_page *pPage;pPage15575,717793 + void *pData;pData15576,717858 + void *pExtra;pExtra15577,717907 + PCache *pCache;pCache15578,717960 + PgHdr *pDirty;pDirty15579,718034 + Pager *pPager;pPager15580,718112 + Pgno pgno;15581,718182 + u32 pageHash;15583,718273 + u16 flags;15585,718340 + i16 nRef;15592,718688 + PgHdr *pDirtyNext;pDirtyNext15593,718756 + PgHdr *pDirtyPrev;pDirtyPrev15594,718831 +# define SET_FULLSYNC(15838,727811 +#define sqlite3_mutex_alloc(16085,738677 +#define sqlite3_mutex_free(16086,738731 +#define sqlite3_mutex_enter(16087,738761 +#define sqlite3_mutex_try(16088,738792 +#define sqlite3_mutex_leave(16089,738836 +#define sqlite3_mutex_held(16090,738867 +#define sqlite3_mutex_notheld(16091,738915 +#define sqlite3MutexAlloc(16092,738963 +#define sqlite3MutexInit(16093,739017 +#define sqlite3MutexEnd(16094,739061 +#define MUTEX_LOGIC(16095,739087 +#define MUTEX_LOGIC(16097,739116 +struct Db 16142,740820 + char *zDbSName;zDbSName16143,740832 + Btree *pBt;pBt16144,740912 + u8 safety_level;16145,740985 + u8 bSyncSet;16146,741053 + Schema *pSchema;pSchema16147,741126 +struct Schema 16167,742012 + int schema_cookie;16168,742028 + int iGeneration;16169,742102 + Hash tblHash;16170,742181 + Hash idxHash;16171,742237 + Hash trigHash;16172,742302 + Hash fkeyHash;16173,742360 + Table *pSeqTab;pSeqTab16174,742431 + u8 file_format;16175,742508 + u8 enc;16176,742573 + u16 schemaFlags;16177,742638 + int cache_size;16178,742701 +#define DbHasProperty(16185,742867 +#define DbHasAnyProperty(16186,742946 +#define DbSetProperty(16187,743023 +#define DbClearProperty(16188,743094 +struct Lookaside 16255,746430 + u32 bDisable;16256,746449 + u16 sz;16257,746518 + u16 szTrue;16258,746579 + u8 bMalloced;16259,746646 + u32 nSlot;16260,746724 + u32 anStat[anStat16261,746792 + LookasideSlot *pInit;pInit16262,746866 + LookasideSlot *pFree;pFree16263,746934 + LookasideSlot *pSmallInit;pSmallInit16265,747030 + LookasideSlot *pSmallFree;pSmallFree16266,747107 + void *pMiddle;pMiddle16267,747174 + void *pStart;pStart16270,747365 + void *pEnd;pEnd16271,747434 +struct LookasideSlot 16273,747508 + LookasideSlot *pNext;pNext16274,747531 +struct FuncDefHash 16297,748345 + FuncDef *a[a16298,748366 +#define SQLITE_FUNC_HASH(16300,748441 +typedef struct sqlite3_userauth sqlite3_userauth;16307,748651 +struct sqlite3_userauth 16308,748701 + u8 authLevel;16309,748727 + int nAuthPW;16310,748794 + char *zAuthPW;zAuthPW16311,748861 + char *zAuthUser;zAuthUser16312,748929 + typedef int (*sqlite3_xauth)sqlite3_xauth16333,749771 + typedef int (*sqlite3_xauth)sqlite3_xauth16336,749913 +struct sqlite3 16361,750769 + sqlite3_vfs *pVfs;pVfs16362,750786 + struct Vdbe *pVdbe;pVdbe16363,750837 + CollSeq *pDfltColl;pDfltColl16364,750907 + sqlite3_mutex *mutex;mutex16365,750986 + Db *aDb;aDb16366,751041 + int nDb;16367,751092 + u32 mDbFlags;16368,751166 + u64 flags;16369,751235 + i64 lastRowid;16370,751310 + i64 szMmap;16371,751388 + u32 nSchemaLock;16372,751452 + unsigned int openFlags;16373,751528 + int errCode;16374,751602 + int errMask;16375,751674 + int iSysErrno;16376,751754 + u32 dbOptFlags;16377,751827 + u8 enc;16378,751903 + u8 autoCommit;16379,751955 + u8 temp_store;16380,752015 + u8 mallocFailed;16381,752082 + u8 bBenignMalloc;16382,752158 + u8 dfltLockMode;16383,752224 + signed char nextAutovac;16384,752300 + u8 suppressErr;16385,752374 + u8 vtabOnConflict;16386,752448 + u8 isTransactionSavepoint;16387,752528 + u8 mTrace;16388,752606 + u8 noSharedCache;16389,752676 + u8 nSqlExec;16390,752747 + int nextPagesize;16391,752822 + u32 magic;16392,752888 + i64 nChange;16393,752965 + i64 nTotalChange;16394,753039 + int aLimit[aLimit16395,753119 + int nMaxSorterMmap;16396,753164 + struct sqlite3InitInfo 16397,753243 + Pgno newTnum;16398,753320 + u8 iDb;16399,753394 + u8 busy;16400,753467 + unsigned orphanTrigger 16401,753536 + unsigned imposterTable 16402,753614 + unsigned reopenMemdb 16403,753679 + char **azInit;azInit16404,753755 + } init;16405,753832 + int nVdbeActive;16406,753842 + int nVdbeRead;16407,753914 + int nVdbeWrite;16408,753994 + int nVdbeExec;16409,754075 + int nVDestroy;16410,754150 + int nExtension;16411,754228 + void **aExtension;aExtension16412,754294 + void (*xLegacy)xLegacy16414,754374 + int (*xV2)xV216415,754446 + } trace;16416,754514 + void *pTraceArg;pTraceArg16417,754525 + void (*xProfile)xProfile16419,754637 + void *pProfileArg;pProfileArg16420,754706 + void *pCommitArg;pCommitArg16422,754792 + int (*xCommitCallback)xCommitCallback16423,754864 + void *pRollbackArg;pRollbackArg16424,754931 + void (*xRollbackCallback)xRollbackCallback16425,755005 + void *pUpdateArg;pUpdateArg16426,755072 + void (*xUpdateCallback)xUpdateCallback16427,755092 + Parse *pParse;pParse16428,755168 + void *pPreUpdateArg;pPreUpdateArg16430,755256 + void (*xPreUpdateCallback)xPreUpdateCallback16431,755331 + PreUpdate *pPreUpdate;pPreUpdate16434,755491 + int (*xWalCallback)xWalCallback16437,755634 + void *pWalArg;pWalArg16438,755695 + void(*xCollNeeded)xCollNeeded16440,755719 + void(*xCollNeeded16)xCollNeeded1616441,755782 + void *pCollNeededArg;pCollNeededArg16442,755847 + sqlite3_value *pErr;pErr16443,755871 + volatile int isInterrupted;16445,755945 + double notUsed1;16446,756025 + } u1;16447,756070 + Lookaside lookaside;16448,756078 + sqlite3_xauth xAuth;16450,756181 + void *pAuthArg;pAuthArg16451,756249 + int (*xProgress)xProgress16454,756373 + void *pProgressArg;pProgressArg16455,756433 + unsigned nProgressOps;16456,756505 + int nVTrans;16459,756623 + Hash aModule;16460,756687 + VtabCtx *pVtabCtx;pVtabCtx16461,756762 + VTable **aVTrans;aVTrans16462,756839 + VTable *pDisconnect;pDisconnect16463,756915 + Hash aFunc;16465,757003 + Hash aCollSeq;16466,757076 + BusyHandler busyHandler;16467,757138 + Db aDbStatic[aDbStatic16468,757190 + Savepoint *pSavepoint;pSavepoint16469,757268 + int nAnalysisLimit;16470,757332 + int busyTimeout;16471,757402 + int nSavepoint;16472,757470 + int nStatement;16473,757545 + i64 nDeferredCons;16474,757624 + i64 nDeferredImmCons;16475,757705 + int *pnBytesFreed;pnBytesFreed16476,757778 + sqlite3 *pBlockingConnection;pBlockingConnection16488,758314 + sqlite3 *pUnlockConnection;pUnlockConnection16489,758389 + void *pUnlockArg;pUnlockArg16490,758466 + void (*xUnlockNotify)xUnlockNotify16491,758538 + sqlite3 *pNextBlocked;pNextBlocked16492,758607 + sqlite3_userauth auth;16495,758726 +#define SCHEMA_ENC(16502,758864 +#define ENC(16503,758915 +#define HI(16510,759151 +#define OptimizationDisabled(16610,765202 +#define OptimizationEnabled(16611,765273 +#define ConstFactorOk(16617,765494 +struct FuncDef 16641,766623 + i8 nArg;16642,766640 + u32 funcFlags;16643,766710 + void *pUserData;pUserData16644,766773 + FuncDef *pNext;pNext16645,766822 + void (*xSFunc)xSFunc16646,766880 + void (*xFinalize)xFinalize16647,766959 + void (*xValue)xValue16648,767035 + void (*xInverse)xInverse16649,767115 + const char *zName;zName16650,767196 + FuncDef *pHash;pHash16652,767261 + FuncDestructor *pDestructor;pDestructor16653,767337 + } u;16654,767416 +struct FuncDestructor 16671,768178 + int nRef;16672,768202 + void (*xDestroy)xDestroy16673,768214 + void *pUserData;pUserData16674,768242 +#define FUNCTION(16792,774439 +#define VFUNCTION(16795,774622 +#define SFUNCTION(16798,774785 +#define MFUNCTION(16801,774958 +#define INLINE_FUNC(16804,775091 +#define TEST_FUNC(16807,775277 +#define DFUNCTION(16811,775511 +#define PURE_DATE(16814,775645 +#define FUNCTION2(16817,775820 +#define STR_FUNCTION(16820,776025 +#define LIKEFUNC(16823,776188 +#define WAGGREGATE(16826,776335 +#define INTERNAL_FUNCTION(16829,776538 +struct Savepoint 16840,776934 + char *zName;zName16841,776953 + i64 nDeferredCons;16842,777029 + i64 nDeferredImmCons;16843,777106 + Savepoint *pNext;pNext16844,777177 +struct Module 16861,777641 + const sqlite3_module *pModule;pModule16862,777657 + const char *zName;zName16863,777720 + int nRefModule;16864,777796 + void *pAux;pAux16865,777875 + void (*xDestroy)xDestroy16866,777951 + Table *pEpoTab;pEpoTab16867,778023 +struct Column 16887,778894 + char *zName;zName16888,778910 + Expr *pDflt;pDflt16889,778976 + char *zColl;zColl16890,779044 + u8 notNull;16891,779115 + char affinity;16892,779187 + u8 szEst;16893,779245 + u8 hName;16894,779325 + u16 colFlags;16895,779385 +struct CollSeq 16926,780845 + char *zName;zName16927,780862 + u8 enc;16928,780938 + void *pUser;pUser16929,781000 + int (*xCmp)xCmp16930,781055 + void (*xDel)xDel16931,781112 +#define sqlite3IsNumericAffinity(16962,782249 +struct VTable 17025,785434 + sqlite3 *db;db17026,785450 + Module *pMod;pMod17027,785531 + sqlite3_vtab *pVtab;pVtab17028,785598 + int nRef;17029,785657 + u8 bConstraint;17030,785728 + u8 eVtabRisk;17031,785796 + int iSavepoint;17032,785866 + VTable *pNext;pNext17033,785929 +struct Table 17046,786278 + char *zName;zName17047,786293 + Column *aCol;aCol17048,786348 + Index *pIndex;pIndex17049,786407 + Select *pSelect;pSelect17050,786471 + FKey *pFKey;pFKey17051,786550 + char *zColAff;zColAff17052,786625 + ExprList *pCheck;pCheck17053,786698 + Pgno tnum;17055,786824 + u32 nTabRef;17056,786884 + u32 tabFlags;17057,786946 + i16 iPKey;17058,786995 + i16 nCol;17059,787070 + i16 nNVCol;17060,787131 + LogEst nRowLogEst;17061,787199 + LogEst szTabRow;17062,787278 + LogEst costMult;17064,787379 + u8 keyConf;17066,787452 + int addColOffset;17068,787563 + int nModuleArg;17071,787680 + char **azModuleArg;azModuleArg17072,787743 + VTable *pVTable;pVTable17073,787816 + Trigger *pTrigger;pTrigger17075,787876 + Schema *pSchema;pSchema17076,787940 +# define IsVirtual(17119,790109 +# define ExprIsVtab(17120,790155 +# define IsVirtual(17123,790268 +# define ExprIsVtab(17124,790298 +# define IsHiddenColumn(17134,790643 +# define IsOrdinaryHiddenColumn(17135,790717 +# define IsHiddenColumn(17137,790832 +# define IsOrdinaryHiddenColumn(17138,790906 +# define IsHiddenColumn(17140,790950 +# define IsOrdinaryHiddenColumn(17141,790988 +#define HasRowid(17146,791069 +#define VisibleRowid(17147,791132 +struct FKey 17177,792247 + Table *pFrom;pFrom17178,792261 + FKey *pNextFrom;pNextFrom17179,792339 + char *zTo;zTo17180,792420 + FKey *pNextTo;pNextTo17181,792497 + FKey *pPrevTo;pPrevTo17182,792566 + int nCol;17183,792619 + u8 isDeferred;17185,792701 + u8 aAction[aAction17186,792782 + Trigger *apTrigger[apTrigger17187,792858 + struct sColMap 17188,792919 + int iFrom;17189,792995 + char *zCol;zCol17190,793052 + } aCol[aCol17191,793132 +struct KeyInfo 17248,796135 + u32 nRef;17249,796152 + u8 enc;17250,796224 + u16 nKeyField;17251,796298 + u16 nAllField;17252,796361 + sqlite3 *db;db17253,796430 + u8 *aSortFlags;aSortFlags17254,796482 + CollSeq *aColl[aColl17255,796538 +struct UnpackedRecord 17299,798563 + KeyInfo *pKeyInfo;pKeyInfo17300,798587 + Mem *aMem;aMem17301,798652 + u16 nField;17302,798687 + i8 default_rc;17303,798744 + u8 errCode;17304,798808 + i8 r1;17305,798888 + i8 r2;17306,798947 + u8 eqSeen;17307,799006 +struct Index 17345,800790 + char *zName;zName17346,800805 + i16 *aiColumn;aiColumn17347,800857 + LogEst *aiRowLogEst;aiRowLogEst17348,800938 + Table *pTable;pTable17349,801019 + char *zColAff;zColAff17350,801080 + Index *pNext;pNext17351,801157 + Schema *pSchema;pSchema17352,801236 + u8 *aSortOrder;aSortOrder17353,801298 + const char **azColl;azColl17354,801371 + Expr *pPartIdxWhere;pPartIdxWhere17355,801448 + ExprList *aColExpr;aColExpr17356,801514 + Pgno tnum;17357,801566 + LogEst szIdxRow;17358,801637 + u16 nKeyCol;17359,801706 + u16 nColumn;17360,801773 + u8 onError;17361,801844 + unsigned idxType:idxType17362,801921 + unsigned bUnordered:bUnordered17363,801994 + unsigned uniqNotNull:uniqNotNull17364,802068 + unsigned isResized:isResized17365,802145 + unsigned isCovering:isCovering17366,802222 + unsigned noSkipScan:noSkipScan17367,802288 + unsigned hasStat1:hasStat117368,802357 + unsigned bNoQuery:bNoQuery17369,802432 + unsigned bAscKeyBug:bAscKeyBug17370,802507 + unsigned bHasVCol:bHasVCol17371,802581 + int nSample;17373,802686 + int nSampleCol;17374,802751 + tRowcnt *aAvgEq;aAvgEq17375,802821 + IndexSample *aSample;aSample17376,802897 + tRowcnt *aiRowEst;aiRowEst17377,802959 + tRowcnt nRowEst0;17378,803034 + Bitmask colNotIdxed;17380,803118 +#define IsPrimaryKeyIndex(17392,803579 +#define IsUniqueIndex(17395,803699 +struct IndexSample 17408,804222 + void *p;p17409,804243 + int n;17410,804295 + tRowcnt *anEq;anEq17411,804345 + tRowcnt *anLt;anLt17412,804424 + tRowcnt *anDLt;anDLt17413,804505 +struct Token 17432,805239 + const char *z;z17433,805254 + unsigned int n;17434,805322 +struct AggInfo 17450,805981 + u8 directMode;17451,805998 + u8 useSortingIdx;17453,806155 + int sortingIdx;17455,806289 + int sortingIdxPTab;17456,806356 + int nSortingColumn;17457,806418 + int mnReg,17458,806489 + int mnReg, mxReg;17458,806489 + ExprList *pGroupBy;pGroupBy17459,806569 + struct AggInfo_col 17460,806621 + Table *pTab;pTab17461,806691 + Expr *pCExpr;pCExpr17462,806739 + int iTable;17463,806798 + int iMem;17464,806867 + i16 iColumn;17465,806943 + i16 iSorterColumn;17466,807016 + } *aCol;aCol17467,807086 + int nColumn;17468,807097 + int nAccumulator;17469,807162 + struct AggInfo_func 17472,807373 + Expr *pFExpr;pFExpr17473,807433 + FuncDef *pFunc;pFunc17474,807501 + int iMem;17475,807574 + int iDistinct;17476,807650 + int iDistAddr;17477,807726 + } *aFunc;aFunc17478,807789 + int nFunc;17479,807801 + u32 selId;17480,807862 +typedef i16 ynVar;17494,808518 +typedef int ynVar;17496,808543 +struct Expr 17562,811802 + u8 op;17563,811816 + char affExpr;17564,811880 + u8 op2;17565,811935 + u8 vvaFlags;17570,812240 + u32 flags;17572,812298 + char *zToken;zToken17574,812370 + int iValue;17575,812445 + } u;17576,812520 + Expr *pLeft;pLeft17583,812801 + Expr *pRight;pRight17584,812845 + ExprList *pList;pList17586,812900 + Select *pSelect;pSelect17587,812980 + } x;17588,813052 + int nHeight;17596,813359 + int iTable;17598,813436 + ynVar iColumn;17605,813909 + i16 iAgg;17608,814126 + int iRightJoinTable;17609,814202 + AggInfo *pAggInfo;pAggInfo17610,814277 + Table *pTab;pTab17612,814360 + Window *pWin;pWin17614,814513 + int iAddr;17616,814657 + int regReturn;17617,814717 + } sub;17618,814789 + } y;17619,814800 +#define ExprHasProperty(17672,817572 +#define ExprHasAllProperty(17673,817627 +#define ExprSetProperty(17674,817684 +#define ExprClearProperty(17675,817733 +#define ExprAlwaysTrue(17676,817783 +#define ExprAlwaysFalse(17677,817861 +# define ExprSetVVAProperty(17690,818320 +# define ExprHasVVAProperty(17691,818374 +# define ExprClearVVAProperties(17692,818434 +# define ExprSetVVAProperty(17694,818493 +# define ExprHasVVAProperty(17695,818526 +# define ExprClearVVAProperties(17696,818563 +# define IsWindowFunc(17719,819367 +# define IsWindowFunc(17721,819400 +struct ExprList 17748,820370 + int nExpr;17749,820388 + int nAlloc;17750,820453 + struct ExprList_item 17751,820514 + Expr *pExpr;pExpr17752,820577 + char *zEName;zEName17753,820646 + u8 sortFlags;17754,820718 + unsigned eEName 17755,820782 + unsigned done 17756,820834 + unsigned reusable 17757,820915 + unsigned bSorterRef 17758,820981 + unsigned bNulls:bNulls17759,821052 + u16 iOrderByCol;17762,821149 + u16 iAlias;17763,821227 + } x;17764,821299 + int iConstExprReg;17765,821310 + } u;17766,821385 + } a[a17767,821394 +struct IdList 17792,822260 + struct IdList_item 17793,822276 + char *zName;zName17794,822299 + int idx;17795,822350 + } *a;a17796,822429 + int nId;17797,822437 +struct SrcItem 17804,822638 + Schema *pSchema;pSchema17805,822655 + char *zDatabase;zDatabase17806,822716 + char *zName;zName17807,822778 + char *zAlias;zAlias17808,822822 + Table *pTab;pTab17809,822901 + Select *pSelect;pSelect17810,822963 + int addrFillSub;17811,823038 + int regReturn;17812,823109 + int regResult;17813,823182 + u8 jointype;17815,823261 + unsigned notIndexed 17816,823338 + unsigned isIndexedBy 17817,823413 + unsigned isTabFunc 17818,823488 + unsigned isCorrelated 17819,823562 + unsigned viaCoroutine 17820,823631 + unsigned isRecursive 17821,823696 + unsigned fromDDL 17822,823770 + unsigned isCte 17823,823832 + unsigned notCte 17824,823883 + } fg;17825,823950 + int iCursor;17826,823958 + Expr *pOn;pOn17827,824033 + IdList *pUsing;pUsing17828,824083 + Bitmask colUsed;17829,824136 + char *zIndexedBy;zIndexedBy17831,824217 + ExprList *pFuncArg;pFuncArg17832,824293 + } u1;17833,824359 + Index *pIBIndex;pIBIndex17835,824377 + CteUse *pCteUse;pCteUse17836,824452 + } u2;17837,824517 +struct SrcList 17859,825533 + int nSrc;17860,825550 + u32 nAlloc;17861,825625 + SrcItem a[a17862,825691 +struct NameContext 17931,829215 + Parse *pParse;pParse17932,829236 + SrcList *pSrcList;pSrcList17933,829276 + ExprList *pEList;pEList17935,829356 + AggInfo *pAggInfo;pAggInfo17936,829423 + Upsert *pUpsert;pUpsert17937,829497 + int iBaseReg;17938,829574 + } uNC;17939,829644 + NameContext *pNext;pNext17940,829653 + int nRef;17941,829727 + int nNcErr;17942,829797 + int ncFlags;17943,829877 + Select *pWinSelect;pWinSelect17944,829944 +struct Upsert 17993,832461 + ExprList *pUpsertTarget;pUpsertTarget17994,832477 + Expr *pUpsertTargetWhere;pUpsertTargetWhere17995,832551 + ExprList *pUpsertSet;pUpsertSet17996,832624 + Expr *pUpsertWhere;pUpsertWhere17997,832700 + Upsert *pNextUpsert;pNextUpsert17998,832774 + u8 isDoUpdate;17999,832844 + void *pToFree;pToFree18002,833048 + Index *pUpsertIdx;pUpsertIdx18008,833475 + SrcList *pUpsertSrc;pUpsertSrc18009,833554 + int regData;18010,833608 + int iDataCur;18011,833681 + int iIdxCur;18012,833740 +struct Select 18032,834678 + u8 op;18033,834694 + LogEst nSelectRow;18034,834772 + u32 selFlags;18035,834835 + int iLimit,18036,834886 + int iLimit, iOffset;18036,834886 + u32 selId;18037,834966 + int addrOpenEphm[addrOpenEphm18038,835038 + ExprList *pEList;pEList18039,835113 + SrcList *pSrc;pSrc18040,835169 + Expr *pWhere;pWhere18041,835216 + ExprList *pGroupBy;pGroupBy18042,835264 + Expr *pHaving;pHaving18043,835315 + ExprList *pOrderBy;pOrderBy18044,835364 + Select *pPrior;pPrior18045,835415 + Select *pNext;pNext18046,835490 + Expr *pLimit;pLimit18047,835559 + With *pWith;pWith18048,835629 + Window *pWin;pWin18050,835737 + Window *pWinDefn;pWinDefn18051,835793 +#define IgnorableDistinct(18172,842516 +#define IgnorableOrderby(18178,842771 +struct SelectDest 18192,843407 + u8 eDest;18193,843427 + int iSDParm;18194,843508 + int iSDParm2;18195,843583 + int iSdst;18196,843661 + int nSdst;18197,843730 + char *zAffSdst;zAffSdst18198,843789 + ExprList *pOrderBy;pOrderBy18199,843852 +struct AutoincInfo 18211,844430 + AutoincInfo *pNext;pNext18212,844451 + Table *pTab;pTab18213,844519 + int iDb;18214,844581 + int regCtr;18215,844659 +struct TriggerPrg 18236,845623 + Trigger *pTrigger;pTrigger18237,845643 + TriggerPrg *pNext;pNext18238,845711 + SubProgram *pProgram;pProgram18239,845780 + int orconf;18240,845849 + u32 aColmask[aColmask18241,845908 + typedef unsigned char yDbMask[yDbMask18248,846083 +# define DbMaskTest(18249,846143 +# define DbMaskZero(18250,846202 +# define DbMaskSet(18251,846254 +# define DbMaskAllZero(18252,846307 +# define DbMaskNonZero(18253,846359 + typedef unsigned int yDbMask;18255,846422 +# define DbMaskTest(18256,846454 +# define DbMaskZero(18257,846513 +# define DbMaskSet(18258,846547 +# define DbMaskAllZero(18259,846600 +# define DbMaskNonZero(18260,846635 +struct ParseCleanup 18268,846878 + ParseCleanup *pNext;pNext18269,846900 + void *pPtr;pPtr18270,846961 + void (*xCleanup)xCleanup18271,847036 +struct Parse 18290,847856 + sqlite3 *db;db18291,847871 + char *zErrMsg;zErrMsg18292,847928 + Vdbe *pVdbe;pVdbe18293,847974 + int rc;18294,848045 + u8 colNamesSet;18295,848101 + u8 checkSchema;18296,848180 + u8 nested;18297,848251 + u8 nTempReg;18298,848332 + u8 isMultiWrite;18299,848405 + u8 mayAbort;18300,848484 + u8 hasCompound;18301,848560 + u8 okConstFactor;18302,848638 + u8 disableLookaside;18303,848694 + u8 disableVtab;18304,848767 + u8 earlyCleanup;18306,848897 + int nRangeReg;18308,848970 + int iRangeReg;18309,849036 + int nErr;18310,849108 + int nTab;18311,849159 + int nMem;18312,849232 + int szOpAlloc;18313,849296 + int iSelfTab;18314,849372 + int nLabel;18316,849529 + int nLabelAlloc;18317,849602 + int *aLabel;aLabel18318,849657 + ExprList *pConstExpr;pConstExpr18319,849711 + Token constraintName;18320,849761 + yDbMask writeMask;18321,849836 + yDbMask cookieMask;18322,849910 + int regRowid;18323,849976 + int regRoot;18324,850050 + int nMaxArg;18325,850129 + int nSelect;18326,850206 + int nTableLock;18328,850317 + TableLock *aTableLock;aTableLock18329,850378 + AutoincInfo *pAinc;pAinc18331,850459 + Parse *pToplevel;pToplevel18332,850529 + Table *pTriggerTab;pTriggerTab18333,850601 + Parse *pParentParse;pParentParse18334,850665 + int addrCrTab;18336,850743 + Returning *pReturning;pReturning18337,850818 + } u1;18338,850872 + u32 nQueryLoop;18339,850880 + u32 oldmask;18340,850958 + u32 newmask;18341,851020 + u8 eTriggerOp;18342,851082 + u8 bReturning;18343,851145 + u8 eOrconf;18344,851201 + u8 disableTriggers;18345,851275 + int aTempReg[aTempReg18354,851748 + Token sNameToken;18355,851817 + Token sLastToken;18364,852312 + ynVar nVar;18365,852366 + u8 iPkSortOrder;18366,852447 + u8 explain;18367,852517 + u8 eParseMode;18368,852598 + int nVtabLock;18370,852689 + int nHeight;18372,852763 + int addrExplain;18374,852870 + VList *pVList;pVList18376,852948 + Vdbe *pReprepare;pReprepare18377,853025 + const char *zTail;zTail18378,853100 + Table *pNewTable;pNewTable18379,853178 + Index *pNewIndex;pNewIndex18380,853254 + Trigger *pNewTrigger;pNewTrigger18383,853464 + const char *zAuthContext;zAuthContext18384,853542 + Token sArg;18386,853650 + Table **apVtabLock;apVtabLock18387,853719 + TriggerPrg *pTriggerPrg;pTriggerPrg18389,853802 + With *pWith;pWith18390,853866 + ParseCleanup *pCleanup;pCleanup18391,853929 + RenameToken *pRename;pRename18393,854040 +#define PARSE_TAIL(18408,854570 +struct AuthContext 18435,855354 + const char *zAuthContext;zAuthContext18436,855375 + Parse *pParse;pParse18437,855445 +struct Trigger 18488,858180 + char *zName;zName18489,858197 + char *table;table18490,858276 + u8 op;18491,858355 + u8 tr_tm;18492,858434 + u8 bReturning;18493,858503 + Expr *pWhen;pWhen18494,858578 + IdList *pColumns;pColumns18495,858658 + Schema *pSchema;pSchema18497,858799 + Schema *pTabSchema;pTabSchema18498,858861 + TriggerStep *step_list;step_list18499,858921 + Trigger *pNext;pNext18500,859000 +struct TriggerStep 18551,861116 + u8 op;18552,861137 + u8 orconf;18554,861259 + Trigger *pTrig;pTrig18555,861305 + Select *pSelect;pSelect18556,861374 + char *zTarget;zTarget18557,861453 + SrcList *pFrom;pFrom18558,861522 + Expr *pWhere;pWhere18559,861593 + ExprList *pExprList;pExprList18560,861666 + IdList *pIdList;pIdList18561,861738 + Upsert *pUpsert;pUpsert18562,861791 + char *zSpan;zSpan18563,861848 + TriggerStep *pNext;pNext18564,861911 + TriggerStep *pLast;pLast18565,861962 +struct Returning 18571,862092 + Parse *pParse;pParse18572,862111 + ExprList *pReturnEL;pReturnEL18573,862186 + Trigger retTrig;18574,862246 + TriggerStep retTStep;18575,862324 + int iRetCur;18576,862371 + int nRetCol;18577,862443 + int iRetReg;18578,862512 +struct sqlite3_str 18585,862728 + sqlite3 *db;db18586,862749 + char *zText;zText18587,862824 + u32 nAlloc;18588,862881 + u32 mxAlloc;18589,862945 + u32 nChar;18590,863025 + u8 accError;18591,863082 + u8 printfFlags;18592,863141 +#define isMalloced(18598,863434 + sqlite3 *db;db18606,863666 + char **pzErrMsg;pzErrMsg18607,863725 + int iDb;18608,863779 + int rc;18609,863858 + u32 mInitFlags;18610,863910 + u32 nInitRow;18611,863971 + Pgno mxPage;18612,864024 +} InitData;18613,864090 +# define Tuning(18632,864844 +# define Tuning(18634,864899 +struct Sqlite3Config 18642,865068 + int bMemstat;18643,865091 + u8 bCoreMutex;18644,865162 + u8 bFullMutex;18645,865233 + u8 bOpenUri;18646,865304 + u8 bUseCis;18647,865382 + u8 bSmallMalloc;18648,865460 + u8 bExtraSchemaChecks;18649,865541 + int mxStrlen;18650,865619 + int neverCorrupt;18651,865683 + int szLookaside;18652,865756 + int nLookaside;18653,865828 + int nStmtSpill;18654,865901 + sqlite3_mem_methods m;18655,865980 + sqlite3_mutex_methods mutex;18656,866060 + sqlite3_pcache_methods2 pcache2;18657,866128 + void *pHeap;pHeap18658,866201 + int nHeap;18659,866262 + int mnReq,18660,866320 + int mnReq, mxReq;18660,866320 + sqlite3_int64 szMmap;18661,866394 + sqlite3_int64 mxMmap;18662,866463 + void *pPage;pPage18663,866530 + int szPage;18664,866590 + int nPage;18665,866661 + int mxParserStack;18666,866730 + int sharedCacheEnabled;18667,866806 + u32 szPma;18668,866882 + int isInit;18671,867063 + int inProgress;18672,867144 + int isMutexInit;18673,867224 + int isMallocInit;18674,867301 + int isPCacheInit;18675,867376 + int nRefInitMutex;18676,867451 + sqlite3_mutex *pInitMutex;pInitMutex18677,867523 + void (*xLog)xLog18678,867600 + void *pLogArg;pLogArg18679,867666 + void(*xSqllog)xSqllog18681,867764 + void *pSqllogArg;pSqllogArg18682,867815 + void (*xVdbeBranch)xVdbeBranch18688,868020 + void *pVdbeBranchArg;pVdbeBranchArg18689,868100 + sqlite3_int64 mxMemdbSize;18692,868218 + int (*xTestCallback)xTestCallback18695,868316 + int bLocaltimeFault;18697,868394 + int iOnceResetThreshold;18698,868467 + u32 szSorterRef;18699,868540 + unsigned int iPrngSeed;18700,868619 + sqlite3_int64 aTune[aTune18703,868753 +struct Walker 18728,869509 + Parse *pParse;pParse18729,869525 + int (*xExprCallback)xExprCallback18730,869592 + int (*xSelectCallback)xSelectCallback18731,869667 + void (*xSelectCallback2)xSelectCallback218732,869738 + int walkerDepth;18733,869816 + u16 eCode;18734,869887 + NameContext *pNC;pNC18736,870035 + int n;18737,870102 + int iCur;18738,870164 + SrcList *pSrcList;pSrcList18739,870232 + struct SrcCount *pSrcCount;pSrcCount18740,870296 + struct CCurHint *pCCurHint;pCCurHint18741,870375 + int *aiCol;aiCol18742,870452 + struct IdxCover *pIdxCover;pIdxCover18743,870528 + struct IdxExprTrans *pIdxTrans;pIdxTrans18744,870605 + ExprList *pGroupBy;pGroupBy18745,870686 + Select *pSelect;pSelect18746,870754 + struct WindowRewrite *pRewrite;pRewrite18747,870833 + struct WhereConst *pConst;pConst18748,870908 + struct RenameCtx *pRename;pRename18749,870983 + struct Table *pTab;pTab18750,871057 + SrcItem *pSrcItem;pSrcItem18751,871135 + DbFixer *pFix;pFix18752,871213 + } u;18753,871232 +struct DbFixer 18761,871403 + Parse *pParse;pParse18762,871420 + Walker w;18763,871498 + Schema *pSchema;pSchema18764,871540 + u8 bTemp;18765,871593 + const char *zDb;zDb18766,871650 + const char *zType;zType18767,871731 + const Token *pName;pName18768,871807 +struct Cte 18805,873123 + char *zName;zName18806,873136 + ExprList *pCols;pCols18807,873185 + Select *pSelect;pSelect18808,873256 + const char *zCteErr;zCteErr18809,873315 + CteUse *pUse;pUse18810,873385 + u8 eM10d;18811,873448 +struct With 18825,873861 + int nCte;18826,873875 + int bView;18827,873941 + With *pOuter;pOuter18828,874015 + Cte a[a18829,874079 +struct CteUse 18843,874638 + int nUse;18844,874654 + int addrM9e;18845,874713 + int regRtn;18846,874791 + int iCur;18847,874869 + LogEst nRowEst;18848,874944 + u8 eM10d;18849,875013 +struct TreeView 18858,875238 + int iLevel;18859,875256 + u8 bLine[bLine18860,875322 +struct Window 18887,876532 + char *zName;zName18888,876548 + char *zBase;zBase18889,876609 + ExprList *pPartition;pPartition18890,876688 + ExprList *pOrderBy;pOrderBy18891,876740 + u8 eFrmType;18892,876788 + u8 eStart;18893,876855 + u8 eEnd;18894,876930 + u8 bImplicitFrame;18895,877005 + u8 eExclude;18896,877076 + Expr *pStart;pStart18897,877151 + Expr *pEnd;pEnd18898,877217 + Window **ppThis;ppThis18899,877283 + Window *pNextWin;pNextWin18900,877358 + Expr *pFilter;pFilter18901,877436 + FuncDef *pFunc;pFunc18902,877490 + int iEphCsr;18903,877535 + int regAccum;18904,877599 + int regResult;18905,877643 + int csrApp;18906,877690 + int regApp;18907,877756 + int regPart;18908,877829 + Expr *pOwner;pOwner18909,877904 + int nBufferCol;18910,877981 + int iArgCol;18911,878047 + int regOne;18912,878122 + int regStartRowid;18913,878191 + int regEndRowid;18914,878212 + u8 bExprArgs;18915,878231 +# define sqlite3WindowDelete(18937,879522 +# define sqlite3WindowFunctions(18938,879556 +# define sqlite3WindowAttach(18939,879590 +#define SQLITE_SKIP_UTF8(18946,879774 +# define SQLITE_CORRUPT_PGNO(18977,881172 +# define SQLITE_CORRUPT_PGNO(18979,881248 +# define sqlite3Toupper(19014,882293 +# define sqlite3Isspace(19015,882371 +# define sqlite3Isalnum(19016,882443 +# define sqlite3Isalpha(19017,882515 +# define sqlite3Isdigit(19018,882587 +# define sqlite3Isxdigit(19019,882659 +# define sqlite3Tolower(19020,882731 +# define sqlite3Isquote(19021,882802 +# define sqlite3Toupper(19023,882880 +# define sqlite3Isspace(19024,882937 +# define sqlite3Isalnum(19025,882994 +# define sqlite3Isalpha(19026,883051 +# define sqlite3Isdigit(19027,883108 +# define sqlite3Isxdigit(19028,883165 +# define sqlite3Tolower(19029,883223 +# define sqlite3Isquote(19030,883280 +#define sqlite3Strlen30NN(19039,883546 +# define sqlite3StackAllocRaw(19077,885274 +# define sqlite3StackAllocZero(19078,885321 +# define sqlite3StackFree(19079,885382 +# define sqlite3StackAllocRaw(19081,885419 +# define sqlite3StackAllocZero(19082,885480 +# define sqlite3StackFree(19083,885542 +# define sqlite3MemoryBarrier(19108,886390 +# define sqlite3MutexWarnOnContention(19124,887005 +# define IsNaN(19130,887159 +# define IsNaN(19133,887268 +# define sqlite3IsNaN(19134,887296 +struct PrintfArguments 19141,887481 + int nArg;19142,887506 + int nUsed;19143,887565 + sqlite3_value **apArg;apArg19144,887630 +# define sqlite3TableColumnToStorage(19229,892276 +# define sqlite3StorageColumnToTable(19230,892348 +# define sqlite3ColumnPropertiesFromName(19239,892747 +#define sqlite3CodecQueryParameters(19252,893545 +# define sqlite3FaultSim(19256,893682 +# define sqlite3ViewGetColumnNames(19284,894789 +# define sqlite3AutoincrementBegin(19298,895339 +# define sqlite3AutoincrementEnd(19299,895377 +# define sqlite3SetMakeRecordP5(19433,903603 +# define sqlite3ParseToplevel(19489,907137 +# define sqlite3IsToplevel(19490,907210 +# define sqlite3TriggersExist(19492,907266 +# define sqlite3DeleteTrigger(19493,907309 +# define sqlite3DropTriggerPtr(19494,907344 +# define sqlite3UnlinkAndDeleteTrigger(19495,907380 +# define sqlite3CodeRowTrigger(19496,907426 +# define sqlite3CodeRowTriggerDirect(19497,907476 +# define sqlite3TriggerList(19498,907526 +# define sqlite3ParseToplevel(19499,907562 +# define sqlite3IsToplevel(19500,907597 +# define sqlite3TriggerColmask(19501,907629 +# define sqlite3TriggerStepSrc(19502,907677 +# define sqlite3AuthRead(19517,908479 +# define sqlite3AuthCheck(19518,908513 +# define sqlite3AuthContextPush(19519,908563 +# define sqlite3AuthContextPop(19520,908602 +#define getVarint32(19570,910885 +#define getVarint32NR(19572,910991 +#define putVarint32(19574,911080 +# define sqlite3FileSuffix3(19629,913807 +SQLITE_PRIVATE const unsigned char sqlite3OpcodeProperty[sqlite3OpcodeProperty19649,914696 +SQLITE_PRIVATE const char sqlite3StrBINARY[sqlite3StrBINARY19650,914756 +SQLITE_PRIVATE const unsigned char sqlite3UpperToLower[sqlite3UpperToLower19651,914802 +SQLITE_PRIVATE const unsigned char *sqlite3aLTb;sqlite3aLTb19652,914860 +SQLITE_PRIVATE const unsigned char *sqlite3aEQb;sqlite3aEQb19653,914909 +SQLITE_PRIVATE const unsigned char *sqlite3aGTb;sqlite3aGTb19654,914958 +SQLITE_PRIVATE const unsigned char sqlite3CtypeMap[sqlite3CtypeMap19655,915007 +SQLITE_PRIVATE SQLITE_WSD struct Sqlite3Config sqlite3Config;19656,915061 +SQLITE_PRIVATE FuncDefHash sqlite3BuiltinFunctions;19657,915123 +SQLITE_PRIVATE int sqlite3PendingByte;19659,915199 +SQLITE_PRIVATE sqlite3_uint64 sqlite3NProfileCnt;19663,915298 +# define sqlite3ExprCheckIN(19749,919801 +# define sqlite3CloseExtensions(19778,920852 + #define sqlite3TableLock(19784,921012 +# define sqlite3VtabClear(19792,921170 +# define sqlite3VtabSync(19793,921200 +# define sqlite3VtabRollback(19794,921241 +# define sqlite3VtabCommit(19795,921274 +# define sqlite3VtabInSync(19796,921305 +# define sqlite3VtabLock(19797,921339 +# define sqlite3VtabUnlock(19798,921368 +# define sqlite3VtabModuleUnref(19799,921399 +# define sqlite3VtabUnlockList(19800,921437 +# define sqlite3VtabSavepoint(19801,921472 +# define sqlite3GetVTable(19802,921522 +# define sqlite3VtabInSync(19823,922444 +# define sqlite3ShadowTableName(19830,922772 +# define sqlite3IsShadowTableOf(19831,922811 +# define sqlite3CteNew(19870,925013 +# define sqlite3CteDelete(19871,925058 +# define sqlite3CteWithAdd(19872,925089 +# define sqlite3WithDelete(19873,925134 +# define sqlite3WithPush(19874,925166 +#define sqlite3UpsertNew(19885,925723 +#define sqlite3UpsertDelete(19886,925774 +#define sqlite3UpsertDup(19887,925807 +#define sqlite3UpsertOfIndex(19888,925858 +#define sqlite3UpsertNextIsIPK(19889,925909 + #define sqlite3FkActions(19908,926865 + #define sqlite3FkCheck(19909,926905 + #define sqlite3FkDropTable(19910,926943 + #define sqlite3FkOldmask(19911,926979 + #define sqlite3FkRequired(19912,927021 + #define sqlite3FkReferences(19913,927063 + #define sqlite3FkDelete(19919,927286 + #define sqlite3FkLocateIndex(19920,927317 + #define sqlite3BeginBenignMalloc(19939,927822 + #define sqlite3EndBenignMalloc(19940,927859 + #define sqlite3SelectExprHeight(19974,929320 + #define sqlite3ExprCheckHeight(19975,929359 + #define sqlite3ConnectionBlocked(19986,929733 + #define sqlite3ConnectionUnlocked(19987,929773 + #define sqlite3ConnectionClosed(19988,929812 +# define IOTRACE(20004,930218 +# define IOTRACE(20008,930418 +# define sqlite3VdbeIOTraceSql(20009,930438 +# define sqlite3MemdebugSetType(20045,932083 +# define sqlite3MemdebugHasType(20046,932133 +# define sqlite3MemdebugNoType(20047,932173 +#define CTIMEOPT_VAL_(20110,934370 +#define CTIMEOPT_VAL(20111,934402 +#define CTIMEOPT_VAL2_(20116,934651 +#define CTIMEOPT_VAL2(20117,934701 +static const char * const sqlite3azCompileOpt[sqlite3azCompileOpt20128,935070 +SQLITE_PRIVATE const char **sqlite3CompileOptions(sqlite3CompileOptions20860,952387 +SQLITE_PRIVATE const unsigned char sqlite3UpperToLower[sqlite3UpperToLower20892,953551 +SQLITE_PRIVATE const unsigned char *sqlite3aLTb sqlite3aLTb20954,957429 +SQLITE_PRIVATE const unsigned char *sqlite3aEQb sqlite3aEQb20955,957512 +SQLITE_PRIVATE const unsigned char *sqlite3aGTb sqlite3aGTb20956,957597 +SQLITE_PRIVATE const unsigned char sqlite3CtypeMap[sqlite3CtypeMap20986,958884 +SQLITE_PRIVATE SQLITE_WSD struct Sqlite3Config sqlite3Config 21106,964411 +SQLITE_PRIVATE FuncDefHash sqlite3BuiltinFunctions;21167,966907 +SQLITE_PRIVATE sqlite3_uint64 sqlite3NProfileCnt 21174,967118 +SQLITE_PRIVATE int sqlite3PendingByte 21196,968082 +SQLITE_PRIVATE u32 sqlite3SelectTrace 21202,968200 +SQLITE_PRIVATE u32 sqlite3WhereTrace 21203,968243 +SQLITE_PRIVATE const unsigned char sqlite3OpcodeProperty[sqlite3OpcodeProperty21212,968528 +SQLITE_PRIVATE const char sqlite3StrBINARY[sqlite3StrBINARY21217,968657 +typedef struct VdbeOp Op;21284,970978 +typedef unsigned Bool;21289,971029 +typedef struct VdbeSorter VdbeSorter;21292,971098 +typedef struct AuxData AuxData;21295,971188 +typedef struct VdbeCursor VdbeCursor;21313,971694 +struct VdbeCursor 21314,971732 + u8 eCurType;21315,971752 + i8 iDb;21316,971818 + u8 nullRow;21317,971896 + u8 deferredMoveto;21318,971967 + u8 isTable;21319,972040 + u8 seekOp;21321,972134 + u8 wrFlag;21322,972208 + Bool isEphemeral:isEphemeral21324,972291 + Bool useRandomRowid:useRandomRowid21325,972351 + Bool isOrdered:isOrdered21326,972425 + Bool hasBeenDuped:hasBeenDuped21327,972498 + u16 seekHit;21328,972577 + Btree *pBtx;pBtx21329,972652 + i64 seqCount;21330,972722 + u32 *aAltMap;aAltMap21331,972771 + u32 cacheStatus;21337,973101 + int seekResult;21338,973178 + VdbeCursor *pAltCursor;pAltCursor21347,973737 + BtCursor *pCursor;pCursor21349,973822 + sqlite3_vtab_cursor *pVCur;pVCur21350,973900 + VdbeSorter *pSorter;pSorter21351,973977 + } uc;21352,974056 + KeyInfo *pKeyInfo;pKeyInfo21353,974064 + u32 iHdrOffset;21354,974142 + Pgno pgnoRoot;21355,974217 + i16 nField;21356,974284 + u16 nHdrParsed;21357,974347 + i64 movetoTarget;21358,974417 + u32 *aOffset;aOffset21359,974495 + const u8 *aRow;aRow21360,974552 + u32 payloadSize;21361,974629 + u32 szRow;21362,974697 + u64 maskUsed;21364,974790 + u32 aType[aType21370,975071 +typedef struct VdbeFrame VdbeFrame;21400,976419 +struct VdbeFrame 21401,976455 + Vdbe *v;v21402,976474 + VdbeFrame *pParent;pParent21403,976531 + Op *aOp;aOp21404,976611 + i64 *anExec;anExec21405,976681 + Mem *aMem;aMem21406,976746 + VdbeCursor **apCsr;apCsr21407,976817 + u8 *aOnce;aOnce21408,976888 + void *token;token21409,976944 + i64 lastRowid;21410,977001 + AuxData *pAuxData;pAuxData21411,977071 + u32 iFrameMagic;21413,977155 + int nCursor;21415,977227 + int pc;21416,977286 + int nOp;21417,977360 + int nMem;21418,977410 + int nChildMem;21419,977468 + int nChildCsr;21420,977539 + i64 nChange;21421,977605 + i64 nDbChange;21422,977674 +#define VdbeFrameMem(21432,977919 +struct sqlite3_value 21439,978173 + union MemValue 21440,978196 + double r;21441,978215 + i64 i;21442,978291 + int nZero;21443,978369 + const char *zPType;zPType21444,978447 + FuncDef *pDef;pDef21445,978525 + } u;21446,978585 + u16 flags;21447,978592 + u8 enc;21448,978673 + u8 eSubtype;21449,978745 + int n;21450,978796 + char *z;z21451,978877 + char *zMalloc;zMalloc21453,978987 + int szMalloc;21454,979063 + u32 uTemp;21455,979122 + sqlite3 *db;db21456,979201 + void (*xDel)xDel21457,979264 + Mem *pScopyFrom;pScopyFrom21459,979357 + u16 mScopyFlags;21460,979426 +#define VdbeMemDynamic(21516,981962 +#define MemSetTypeFlag(21522,982104 +#define MemNullNochng(21528,982240 +#define memIsValid(21537,982500 +struct AuxData 21547,982893 + int iAuxOp;21548,982910 + int iAuxArg;21549,982991 + void *pAux;pAux21550,983059 + void (*xDeleteAux)xDeleteAux21551,983116 + AuxData *pNextAux;pNextAux21552,983184 +struct sqlite3_context 21568,983799 + Mem *pOut;pOut21569,983824 + FuncDef *pFunc;pFunc21570,983888 + Mem *pMem;pMem21571,983952 + Vdbe *pVdbe;pVdbe21572,984028 + int iOp;21573,984090 + int isError;21574,984156 + u8 skipFlag;21575,984225 + u8 argc;21576,984290 + sqlite3_value *argv[argv21577,984342 +typedef unsigned bft;21583,984500 +typedef struct ScanStatus ScanStatus;21588,984642 +struct ScanStatus 21589,984680 + int addrExplain;21590,984700 + int addrLoop;21591,984760 + int addrVisit;21592,984827 + int iSelectID;21593,984901 + LogEst nEst;21594,984971 + char *zName;zName21595,985042 +typedef struct DblquoteStr DblquoteStr;21605,985502 +struct DblquoteStr 21606,985542 + DblquoteStr *pNextStr;pNextStr21607,985563 + char z[z21608,985628 +struct Vdbe 21618,985949 + sqlite3 *db;db21619,985963 + Vdbe *pPrev,pPrev21620,986044 + Vdbe *pPrev,*pNext;pNext21620,986044 + Parse *pParse;pParse21621,986119 + ynVar nVar;21622,986192 + u32 iVdbeMagic;21623,986252 + int nMem;21624,986333 + int nCursor;21625,986412 + u32 cacheCtr;21626,986471 + int pc;21627,986543 + int rc;21628,986595 + i64 nChange;21629,986643 + int iStatement;21630,986718 + i64 iCurrentTime;21631,986796 + i64 nFkConstraint;21632,986873 + i64 nStmtDefCons;21633,986943 + i64 nStmtDefImmCons;21634,987020 + Mem *aMem;aMem21635,987101 + Mem **apArg;apArg21636,987154 + VdbeCursor **apCsr;apCsr21637,987233 + Mem *aVar;aVar21638,987312 + Op *aOp;aOp21643,987491 + int nOp;21644,987567 + int nOpAlloc;21645,987637 + Mem *aColName;aColName21646,987695 + Mem *pResultSet;pResultSet21647,987750 + char *zErrMsg;zErrMsg21648,987813 + VList *pVList;pVList21649,987872 + i64 startTime;21651,987948 + int rcApp;21654,988052 + u32 nWrite;21655,988127 + u16 nResColumn;21657,988212 + u8 errorAction;21658,988291 + u8 minWriteFileFormat;21659,988365 + u8 prepFlags;21660,988445 + u8 doingRerun;21661,988500 + bft expired:expired21662,988574 + bft explain:explain21663,988654 + bft changeCntOn:changeCntOn21664,988725 + bft runOnlyOnce:runOnlyOnce21665,988791 + bft usesStmtJournal:usesStmtJournal21666,988853 + bft readOnly:readOnly21667,988918 + bft bIsReader:bIsReader21668,988988 + yDbMask btreeMask;21669,989050 + yDbMask lockMask;21670,989122 + u32 aCounter[aCounter21671,989195 + char *zSql;zSql21672,989266 + char *zNormSql;zNormSql21674,989375 + DblquoteStr *pDblStr;pDblStr21675,989453 + void *pFree;pFree21677,989530 + VdbeFrame *pFrame;pFrame21678,989595 + VdbeFrame *pDelFrame;pDelFrame21679,989640 + int nFrame;21680,989714 + u32 expmask;21681,989778 + SubProgram *pProgram;pProgram21682,989847 + AuxData *pAuxData;pAuxData21683,989922 + i64 *anExec;anExec21685,990026 + int nScan;21686,990100 + ScanStatus *aScan;aScan21687,990151 +struct PreUpdate 21704,990777 + Vdbe *v;v21705,990796 + VdbeCursor *pCsr;pCsr21706,990807 + int op;21707,990878 + u8 *aRecord;aRecord21708,990955 + KeyInfo keyinfo;21709,991017 + UnpackedRecord *pUnpacked;pUnpacked21710,991036 + UnpackedRecord *pNewUnpacked;pNewUnpacked21711,991106 + int iNewReg;21712,991179 + int iBlobWrite;21713,991245 + i64 iKey1;21714,991325 + i64 iKey2;21715,991396 + Mem *aNew;aNew21716,991468 + Table *pTab;pTab21717,991530 + Index *pPk;pPk21718,991597 +# define sqlite3VdbeIncrWriteCounter(21821,996660 +# define sqlite3VdbeAssertAbortable(21822,996702 +# define sqlite3VdbeEnter(21828,996841 +# define sqlite3VdbeLeave(21834,996993 +# define sqlite3VdbeCheckFk(21845,997265 + #define ExpandBlob(21859,997691 + #define sqlite3VdbeMemExpandBlob(21861,997775 + #define ExpandBlob(21862,997823 +typedef sqlite3_int64 sqlite3StatValueType;21874,998146 +typedef u32 sqlite3StatValueType;21876,998196 +typedef struct sqlite3StatType sqlite3StatType;21878,998237 +static SQLITE_WSD struct sqlite3StatType 21879,998285 + sqlite3StatValueType nowValue[nowValue21880,998328 + sqlite3StatValueType mxValue[mxValue21881,998386 +} sqlite3Stat 21882,998444 +static const char statMutex[statMutex21888,998631 +SQLITE_PRIVATE sqlite3_int64 sqlite3StatusValue(21920,999709 +SQLITE_PRIVATE void sqlite3StatusUp(21940,1000506 +SQLITE_PRIVATE void sqlite3StatusDown(21951,1000942 +SQLITE_PRIVATE void sqlite3StatusHighwater(21965,1001393 +SQLITE_API int sqlite3_status64(21985,1002041 +SQLITE_API int sqlite3_status(22010,1002750 +static u32 countLookasideSlots(22027,1003204 +SQLITE_PRIVATE int sqlite3LookasideUsed(22039,1003409 +SQLITE_API int sqlite3_db_status(22053,1003967 +typedef struct DateTime DateTime;22313,1012763 +struct DateTime 22314,1012797 + sqlite3_int64 iJD;22315,1012815 + int Y,22316,1012880 + int Y, M,22316,1012880 + int Y, M, D;22316,1012880 + int h,22317,1012929 + int h, m;22317,1012929 + int tz;22318,1012974 + double s;22319,1013029 + char validJD;22320,1013065 + char rawS;22321,1013118 + char validYMD;22322,1013176 + char validHMS;22323,1013232 + char validTZ;22324,1013288 + char tzSet;22325,1013340 + char isError;22326,1013396 +static int getDigits(22357,1014479 +static int parseTimezone(22411,1015763 +static int parseHhMmSs(22447,1016558 +static void datetimeError(22487,1017346 +static void computeJD(22498,1017605 +static int parseYyyyMmDd(22548,1018640 +static int setDateTimeToCurrent(22585,1019321 +static void setRawDateNumber(22601,1019809 +static int parseDateOrTime(22626,1020547 +static int validJulianDay(22659,1021506 +static void computeYMD(22666,1021670 +static void computeHMS(22695,1022361 +static void computeYMD_HMS(22714,1022689 +static void clearYMD_HMS_TZ(22722,1022809 +static int osLocaltime(22760,1024089 +static sqlite3_int64 localtimeOffset(22799,1025164 + u8 eType;22865,1026903 + u8 nName;22866,1026956 + char *zName;zName22867,1027002 + double rLimit;22868,1027057 + double rXform;22869,1027122 +} aXformType[aXformType22870,1027183 +static int parseModifier(22903,1028120 +static int isDate(23120,1034258 +static void juliandayFunc(23164,1035316 +static void datetimeFunc(23181,1035629 +static void timeFunc(23201,1036092 +static void dateFunc(23220,1036496 +static void strftimeFunc(23253,1037293 +static void ctimeFunc(23391,1040947 +static void cdateFunc(23405,1041196 +static void ctimestampFunc(23419,1041454 +static void currentTimeFunc(23441,1042213 +SQLITE_PRIVATE void sqlite3RegisterDateTimeFunctions(23479,1043157 +SQLITE_API int sqlite3_io_error_hit 23524,1044977 +SQLITE_API int sqlite3_io_error_hardhit 23525,1045062 +SQLITE_API int sqlite3_io_error_pending 23526,1045148 +SQLITE_API int sqlite3_io_error_persist 23527,1045236 +SQLITE_API int sqlite3_io_error_benign 23528,1045321 +SQLITE_API int sqlite3_diskfull_pending 23529,1045405 +SQLITE_API int sqlite3_diskfull 23530,1045450 +SQLITE_API int sqlite3_open_file_count 23537,1045617 +SQLITE_API int sqlite3_memdebug_vfs_oom_test 23565,1046475 + #define DO_OS_MALLOC_TEST(23566,1046525 + #define DO_OS_MALLOC_TEST(23573,1046900 +SQLITE_PRIVATE void sqlite3OsClose(23582,1047183 +SQLITE_PRIVATE int sqlite3OsRead(23588,1047322 +SQLITE_PRIVATE int sqlite3OsWrite(23592,1047487 +SQLITE_PRIVATE int sqlite3OsTruncate(23596,1047660 +SQLITE_PRIVATE int sqlite3OsSync(23599,1047772 +SQLITE_PRIVATE int sqlite3OsFileSize(23603,1047923 +SQLITE_PRIVATE int sqlite3OsLock(23607,1048063 +SQLITE_PRIVATE int sqlite3OsUnlock(23611,1048200 +SQLITE_PRIVATE int sqlite3OsCheckReservedLock(23614,1048316 +SQLITE_PRIVATE int sqlite3OsFileControl(23627,1048937 +SQLITE_PRIVATE void sqlite3OsFileControlHint(23655,1050147 +SQLITE_PRIVATE int sqlite3OsSectorSize(23659,1050303 +SQLITE_PRIVATE int sqlite3OsDeviceCharacteristics(23663,1050499 +SQLITE_PRIVATE int sqlite3OsShmLock(23667,1050645 +SQLITE_PRIVATE void sqlite3OsShmBarrier(23670,1050787 +SQLITE_PRIVATE int sqlite3OsShmUnmap(23673,1050881 +SQLITE_PRIVATE int sqlite3OsShmMap(23676,1051005 +SQLITE_PRIVATE int sqlite3OsFetch(23690,1051466 +SQLITE_PRIVATE int sqlite3OsUnfetch(23694,1051628 +SQLITE_PRIVATE int sqlite3OsFetch(23699,1051816 +SQLITE_PRIVATE int sqlite3OsUnfetch(23703,1051933 +SQLITE_PRIVATE int sqlite3OsOpen(23712,1052125 +SQLITE_PRIVATE int sqlite3OsDelete(23729,1052667 +SQLITE_PRIVATE int sqlite3OsAccess(23734,1052895 +SQLITE_PRIVATE int sqlite3OsFullPathname(23743,1053083 +SQLITE_PRIVATE void *sqlite3OsDlOpen(sqlite3OsDlOpen23754,1053346 +SQLITE_PRIVATE void sqlite3OsDlError(23759,1053552 +SQLITE_PRIVATE void (*sqlite3OsDlSym(sqlite3OsDlSym23762,1053677 +SQLITE_PRIVATE void sqlite3OsDlClose(23765,1053816 +SQLITE_PRIVATE int sqlite3OsRandomness(23769,1053963 +SQLITE_PRIVATE int sqlite3OsSleep(23780,1054335 +SQLITE_PRIVATE int sqlite3OsGetLastError(23783,1054440 +SQLITE_PRIVATE int sqlite3OsCurrentTimeInt64(23786,1054571 +SQLITE_PRIVATE int sqlite3OsOpenMalloc(23804,1055218 +SQLITE_PRIVATE void sqlite3OsCloseFree(23826,1055677 +SQLITE_PRIVATE int sqlite3OsInit(23838,1056085 +static sqlite3_vfs * SQLITE_WSD vfsList 23848,1056303 +SQLITE_API sqlite3_vfs *sqlite3_vfs_find(sqlite3_vfs_find23855,1056493 +static void vfsUnlink(23879,1057048 +SQLITE_API int sqlite3_vfs_register(23901,1057603 +SQLITE_API int sqlite3_vfs_unregister(23929,1058289 +typedef struct BenignMallocHooks BenignMallocHooks;23977,1059964 +static SQLITE_WSD struct BenignMallocHooks 23978,1060016 + void (*xBenignBegin)xBenignBegin23979,1060061 + void (*xBenignEnd)xBenignEnd23980,1060091 +} sqlite3Hooks 23981,1060119 +SQLITE_PRIVATE void sqlite3BenignMallocHooks(24003,1060820 +SQLITE_PRIVATE void sqlite3BeginBenignMalloc(24017,1061242 +SQLITE_PRIVATE void sqlite3EndBenignMalloc(24023,1061376 +static void *sqlite3MemMalloc(sqlite3MemMalloc24064,1062680 +static void sqlite3MemFree(24065,1062734 +static void *sqlite3MemRealloc(sqlite3MemRealloc24066,1062786 +static int sqlite3MemSize(24067,1062855 +static int sqlite3MemRoundup(24068,1062908 +static int sqlite3MemInit(24069,1062957 +static void sqlite3MemShutdown(24070,1063019 +SQLITE_PRIVATE void sqlite3MemSetDefault(24078,1063292 +static malloc_zone_t* _sqliteZone_;24158,1066371 +#define SQLITE_MALLOC(24159,1066407 +#define SQLITE_FREE(24160,1066470 +#define SQLITE_REALLOC(24161,1066530 +#define SQLITE_MALLOCSIZE(24162,1066602 +#define SQLITE_MALLOC(24171,1066882 +#define SQLITE_FREE(24172,1066929 +#define SQLITE_REALLOC(24173,1066974 +# define SQLITE_MALLOCSIZE(24204,1068128 +static void *sqlite3MemMalloc(sqlite3MemMalloc24223,1068694 +static void sqlite3MemFree(24257,1069585 +static int sqlite3MemSize(24272,1069870 +static void *sqlite3MemRealloc(sqlite3MemRealloc24295,1070524 +static int sqlite3MemRoundup(24327,1071331 +static int sqlite3MemInit(24334,1071424 +static void sqlite3MemShutdown(24361,1072263 +SQLITE_PRIVATE void sqlite3MemSetDefault(24372,1072567 +# define backtrace(24426,1074265 +# define backtrace_symbols_fd(24427,1074291 +struct MemBlockHdr 24444,1074945 + i64 iSize;24445,1074966 + struct MemBlockHdr *pNext,pNext24446,1075034 + struct MemBlockHdr *pNext, *pPrev;pPrev24446,1075034 + char nBacktrace;24447,1075112 + char nBacktraceSlots;24448,1075191 + u8 nTitle;24449,1075261 + u8 eType;24450,1075335 + int iForeGuard;24451,1075400 + sqlite3_mutex *mutex;mutex24476,1075976 + struct MemBlockHdr *pFirst;pFirst24481,1076078 + struct MemBlockHdr *pLast;pLast24482,1076108 + int nBacktrace;24487,1076215 + void (*xBacktrace)xBacktrace24488,1076233 + int nTitle;24493,1076334 + char zTitle[zTitle24494,1076413 + int disallow;24500,1076570 + int nAlloc[nAlloc24508,1076853 + int nCurrent[nCurrent24509,1076914 + int mxCurrent[mxCurrent24510,1076977 +} mem;24512,1077039 +static void adjustStats(24518,1077088 +static struct MemBlockHdr *sqlite3MemsysGetHeader(sqlite3MemsysGetHeader24541,1077622 +static int sqlite3MemSize(24565,1078287 +static int sqlite3MemInit(24577,1078500 +static void sqlite3MemShutdown(24591,1078948 +static int sqlite3MemRoundup(24599,1079112 +static void randomFill(24608,1079386 +static void *sqlite3MemMalloc(sqlite3MemMalloc24631,1079862 +static void sqlite3MemFree(24690,1081383 +static void *sqlite3MemRealloc(sqlite3MemRealloc24732,1082653 +SQLITE_PRIVATE void sqlite3MemSetDefault(24753,1083319 +SQLITE_PRIVATE void sqlite3MemdebugSetType(24770,1083694 +SQLITE_PRIVATE int sqlite3MemdebugHasType(24788,1084263 +SQLITE_PRIVATE int sqlite3MemdebugNoType(24810,1084936 +SQLITE_PRIVATE void sqlite3MemdebugBacktrace(24828,1085456 +SQLITE_PRIVATE void sqlite3MemdebugBacktraceCallback(24835,1085630 +SQLITE_PRIVATE void sqlite3MemdebugSettitle(24842,1085815 +SQLITE_PRIVATE void sqlite3MemdebugSync(24852,1086135 +SQLITE_PRIVATE void sqlite3MemdebugDump(24865,1086494 +SQLITE_PRIVATE int sqlite3MemdebugMallocCount(24907,1087744 +typedef struct Mem3Block Mem3Block;25000,1091180 +struct Mem3Block 25001,1091216 + u32 prevSize;25004,1091258 + u32 size4x;25005,1091331 + } hdr;25006,1091410 + u32 next;25008,1091434 + u32 prev;25009,1091503 + } list;25010,1091576 + } u;25011,1091588 +static SQLITE_WSD struct Mem3Global 25020,1091860 + u32 nPool;25025,1092026 + Mem3Block *aPool;aPool25026,1092039 + int alarmBusy;25031,1092128 + sqlite3_mutex *mutex;mutex25036,1092221 + u32 mnKeyBlk;25041,1092313 + u32 iKeyBlk;25049,1092608 + u32 szKeyBlk;25050,1092623 + u32 aiSmall[aiSmall25057,1092790 + u32 aiHash[aiHash25058,1092865 +} mem3 25059,1092932 +static void memsys3UnlinkFromList(25067,1093121 +static void memsys3Unlink(25087,1093602 +static void memsys3LinkIntoList(25107,1094140 +static void memsys3Link(25121,1094504 +static void memsys3Enter(25142,1095129 +static void memsys3Leave(25148,1095321 +static void memsys3OutOfMemory(25155,1095462 +static void *memsys3Checkout(memsys3Checkout25172,1095901 +static void *memsys3FromKeyBlk(memsys3FromKeyBlk25190,1096514 +static void memsys3Merge(25235,1098279 +static void *memsys3MallocUnsafe(memsys3MallocUnsafe25274,1099357 +static void memsys3FreeUnsafe(25356,1101538 +static int memsys3Size(25397,1103131 +static int memsys3Roundup(25408,1103389 +static void *memsys3Malloc(memsys3Malloc25419,1103533 +static void memsys3Free(25431,1103782 +static void *memsys3Realloc(memsys3Realloc25441,1103967 +static int memsys3Init(25472,1104530 +static void memsys3Shutdown(25497,1105220 +SQLITE_PRIVATE void sqlite3Memsys3Dump(25509,1105427 +SQLITE_PRIVATE const sqlite3_mem_methods *sqlite3MemGetMemsys3(sqlite3MemGetMemsys325593,1107960 +typedef struct Mem5Link Mem5Link;25677,1111056 +struct Mem5Link 25678,1111090 + int next;25679,1111108 + int prev;25680,1111157 +static SQLITE_WSD struct Mem5Global 25702,1111856 + int szAtom;25706,1111941 + int nBlock;25707,1112004 + u8 *zPool;zPool25708,1112068 + sqlite3_mutex *mutex;mutex25713,1112202 + u64 nAlloc;25719,1112315 + u64 totalAlloc;25720,1112375 + u64 totalExcess;25721,1112454 + u32 currentOut;25722,1112511 + u32 currentCount;25723,1112590 + u32 maxOut;25724,1112655 + u32 maxCount;25725,1112716 + u32 maxRequest;25726,1112779 + int aiFreelist[aiFreelist25734,1113082 + u8 *aCtrl;aCtrl25740,1113228 +} mem5;25742,1113242 +#define MEM5LINK(25753,1113496 +static void memsys5Unlink(25759,1113692 +static void memsys5Link(25781,1114188 +static void memsys5Enter(25800,1114689 +static void memsys5Leave(25803,1114758 +static int memsys5Size(25811,1114955 +static void *memsys5MallocUnsafe(memsys5MallocUnsafe25830,1115521 +static void memsys5FreeUnsafe(25900,1117708 +static void *memsys5Malloc(memsys5Malloc25966,1119599 +static void memsys5Free(25982,1119904 +static void *memsys5Realloc(memsys5Realloc26001,1120496 +static int memsys5Roundup(26031,1121229 +static int memsys5Log(26048,1121655 +static int memsys5Init(26060,1121975 +static void memsys5Shutdown(26118,1123684 +SQLITE_PRIVATE void sqlite3Memsys5Dump(26129,1123908 +SQLITE_PRIVATE const sqlite3_mem_methods *sqlite3MemGetMemsys5(sqlite3MemGetMemsys526172,1125284 +static SQLITE_WSD int mutexIsInit 26213,1126592 +typedef struct CheckMutex CheckMutex;26243,1127857 +struct CheckMutex 26244,1127895 + int iType;26245,1127915 + sqlite3_mutex *mutex;mutex26246,1127928 +static SQLITE_WSD const sqlite3_mutex_methods *pGlobalMutexMethods;pGlobalMutexMethods26255,1128114 +static int checkMutexHeld(26258,1128203 +static int checkMutexNotheld(26261,1128317 +static int checkMutexInit(26269,1128503 +static int checkMutexEnd(26273,1128605 +static sqlite3_mutex *checkMutexAlloc(checkMutexAlloc26281,1128714 +static void checkMutexFree(26320,1129532 +static void checkMutexEnter(26343,1130000 +static int checkMutexTry(26359,1130428 +static void checkMutexLeave(26367,1130596 +sqlite3_mutex_methods const *multiThreadedCheckMutex(multiThreadedCheckMutex26372,1130736 +SQLITE_PRIVATE void sqlite3MutexWarnOnContention(26396,1131224 +SQLITE_PRIVATE int sqlite3MutexInit(26408,1131602 +SQLITE_PRIVATE int sqlite3MutexEnd(26454,1133044 +SQLITE_API sqlite3_mutex *sqlite3_mutex_alloc(sqlite3_mutex_alloc26470,1133359 +SQLITE_PRIVATE sqlite3_mutex *sqlite3MutexAlloc(sqlite3MutexAlloc26479,1133691 +SQLITE_API void sqlite3_mutex_free(26491,1133982 +SQLITE_API void sqlite3_mutex_enter(26502,1134259 +SQLITE_API int sqlite3_mutex_try(26513,1134588 +SQLITE_API void sqlite3_mutex_leave(26528,1135044 +SQLITE_API int sqlite3_mutex_held(26540,1135353 +SQLITE_API int sqlite3_mutex_notheld(26544,1135524 +static int noopMutexInit(26591,1137066 +static int noopMutexEnd(26592,1137118 +static sqlite3_mutex *noopMutexAlloc(noopMutexAlloc26593,1137169 +static void noopMutexFree(26597,1137269 +static void noopMutexEnter(26598,1137345 +static int noopMutexTry(26599,1137422 +static void noopMutexLeave(26603,1137510 +SQLITE_PRIVATE sqlite3_mutex_methods const *sqlite3NoopMutex(sqlite3NoopMutex26605,1137588 +typedef struct sqlite3_debug_mutex 26633,1138112 + int id;26634,1138149 + int cnt;26635,1138184 +} sqlite3_debug_mutex;26636,1138247 +static int debugMutexHeld(26642,1138393 +static int debugMutexNotheld(26646,1138521 +static int debugMutexInit(26654,1138712 +static int debugMutexEnd(26655,1138765 +static sqlite3_mutex *debugMutexAlloc(debugMutexAlloc26662,1138986 +static void debugMutexFree(26693,1139679 +static void debugMutexEnter(26716,1140595 +static int debugMutexTry(26721,1140778 +static void debugMutexLeave(26734,1141219 +SQLITE_PRIVATE sqlite3_mutex_methods const *sqlite3NoopMutex(sqlite3NoopMutex26741,1141435 +SQLITE_PRIVATE sqlite3_mutex_methods const *sqlite3DefaultMutex(sqlite3DefaultMutex26764,1141954 +struct sqlite3_mutex 26812,1143482 + pthread_mutex_t mutex;26813,1143505 + int id;26815,1143625 + volatile int nRef;26818,1143700 + volatile pthread_t owner;26819,1143755 + int trace;26820,1143823 +# define SQLITE3_MUTEX_INITIALIZER(26824,1143912 +# define SQLITE3_MUTEX_INITIALIZER(26827,1144045 +#define SQLITE3_MUTEX_INITIALIZER(26829,1144124 +static int pthreadMutexHeld(26849,1145065 +static int pthreadMutexNotheld(26852,1145180 +SQLITE_PRIVATE void sqlite3MemoryBarrier(26862,1145500 +static int pthreadMutexInit(26873,1145748 +static int pthreadMutexEnd(26874,1145803 +static sqlite3_mutex *pthreadMutexAlloc(pthreadMutexAlloc26924,1147985 +static void pthreadMutexFree(26995,1150028 +static void pthreadMutexEnter(27022,1150972 +static int pthreadMutexTry(27064,1152319 +static void pthreadMutexLeave(27121,1154061 +SQLITE_PRIVATE sqlite3_mutex_methods const *sqlite3DefaultMutex(sqlite3DefaultMutex27144,1154550 + __inline__ sqlite_uint64 sqlite3Hwtime(27263,1158207 + __declspec(27271,1158415 + __inline__ sqlite_uint64 sqlite3Hwtime(27282,1158659 + __inline__ sqlite_uint64 sqlite3Hwtime(27290,1158882 +SQLITE_PRIVATE sqlite_uint64 sqlite3Hwtime(27313,1159549 +static sqlite_uint64 g_start;27322,1159840 +static sqlite_uint64 g_elapsed;27323,1159870 +#define SimulateIOErrorBenign(27346,1160692 +#define SimulateIOError(27347,1160753 +static void local_ioerr(27351,1160931 +#define SimulateDiskfullError(27356,1161071 +#define SimulateIOErrorBenign(27368,1161366 +#define SimulateIOError(27369,1161399 +#define SimulateDiskfullError(27370,1161426 +#define OpenCounter(27378,1161631 +#define OpenCounter(27380,1161690 +struct sqlite3_mutex 27495,1164753 + CRITICAL_SECTION mutex;27496,1164776 + int id;27497,1164838 + volatile int nRef;27499,1164904 + volatile DWORD owner;27500,1164960 + volatile LONG trace;27501,1165021 +#define SQLITE3_MUTEX_INITIALIZER(27513,1165331 +#define SQLITE3_MUTEX_INITIALIZER(27516,1165467 +static int winMutexHeld(27524,1165697 +static int winMutexNotheld2(27528,1165798 +static int winMutexNotheld(27532,1165897 +SQLITE_PRIVATE void sqlite3MemoryBarrier(27543,1166227 +static sqlite3_mutex winMutex_staticMutexes[winMutex_staticMutexes27558,1166547 +static int winMutex_isInit 27573,1166988 +static int winMutex_isNt 27574,1167020 +static LONG SQLITE_WIN32_VOLATILE winMutex_lock 27580,1167297 +static int winMutexInit(27585,1167481 +static int winMutexEnd(27607,1168099 +static sqlite3_mutex *winMutexAlloc(winMutexAlloc27670,1170653 +static void winMutexFree(27718,1171698 +static void winMutexEnter(27742,1172627 +static int winMutexTry(27765,1173202 +static void winMutexLeave(27815,1174826 +SQLITE_PRIVATE sqlite3_mutex_methods const *sqlite3DefaultMutex(sqlite3DefaultMutex27837,1175393 +SQLITE_API int sqlite3_release_memory(27883,1176635 +static SQLITE_WSD struct Mem0Global 27905,1177189 + sqlite3_mutex *mutex;mutex27906,1177227 + sqlite3_int64 alarmThreshold;27907,1177291 + sqlite3_int64 hardLimit;27908,1177349 + int nearlyFull;27914,1177535 +} mem0 27915,1177553 +SQLITE_PRIVATE sqlite3_mutex *sqlite3MallocMutex(sqlite3MallocMutex27922,1177728 +SQLITE_API int sqlite3_memory_alarm(27932,1177990 +SQLITE_API sqlite3_int64 sqlite3_soft_heap_limit64(27955,1178601 +SQLITE_API void sqlite3_soft_heap_limit(27980,1179367 +SQLITE_API sqlite3_int64 sqlite3_hard_heap_limit64(27997,1179936 +SQLITE_PRIVATE int sqlite3MallocInit(28019,1180441 +SQLITE_PRIVATE int sqlite3HeapNearlyFull(28040,1181125 +SQLITE_PRIVATE void sqlite3MallocEnd(28047,1181270 +SQLITE_API sqlite3_int64 sqlite3_memory_used(28057,1181525 +SQLITE_API sqlite3_int64 sqlite3_memory_highwater(28068,1181837 +static void sqlite3MallocAlarm(28077,1182040 +static void mallocWithAlarm(28088,1182325 +SQLITE_PRIVATE void *sqlite3Malloc(sqlite3Malloc28137,1183890 +SQLITE_API void *sqlite3_malloc(sqlite3_malloc28162,1184812 +SQLITE_API void *sqlite3_malloc64(sqlite3_malloc6428168,1184967 +static int isLookaside(28179,1185215 +#define isLookaside(28183,1185338 +SQLITE_PRIVATE int sqlite3MallocSize(28190,1185486 +static int lookasideMallocSize(28194,1185629 +SQLITE_PRIVATE int sqlite3DbMallocSize(28201,1185842 +SQLITE_API sqlite3_uint64 sqlite3_msize(28230,1186748 +SQLITE_API void sqlite3_free(28239,1187023 +static SQLITE_NOINLINE void measureAllocationSize(28258,1187630 +SQLITE_PRIVATE void sqlite3DbFreeNN(28267,1187967 +SQLITE_PRIVATE void sqlite3DbFree(28304,1189229 +SQLITE_PRIVATE void *sqlite3Realloc(sqlite3Realloc28312,1189433 +SQLITE_API void *sqlite3_realloc(sqlite3_realloc28371,1191407 +SQLITE_API void *sqlite3_realloc64(sqlite3_realloc6428378,1191616 +SQLITE_PRIVATE void *sqlite3MallocZero(sqlite3MallocZero28389,1191830 +SQLITE_PRIVATE void *sqlite3DbMallocZero(sqlite3DbMallocZero28401,1192084 +static SQLITE_NOINLINE void *dbMallocRawFinish(dbMallocRawFinish28413,1192400 +SQLITE_PRIVATE void *sqlite3DbMallocRaw(sqlite3DbMallocRaw28445,1193555 +SQLITE_PRIVATE void *sqlite3DbMallocRawNN(sqlite3DbMallocRawNN28452,1193755 +SQLITE_PRIVATE void *sqlite3DbRealloc(sqlite3DbRealloc28508,1195306 +static SQLITE_NOINLINE void *dbReallocFinish(dbReallocFinish28524,1195818 +SQLITE_PRIVATE void *sqlite3DbReallocOrFree(sqlite3DbReallocOrFree28554,1196740 +SQLITE_PRIVATE char *sqlite3DbStrDup(sqlite3DbStrDup28570,1197257 +SQLITE_PRIVATE char *sqlite3DbStrNDup(sqlite3DbStrNDup28583,1197497 +SQLITE_PRIVATE char *sqlite3DbSpanDup(sqlite3DbSpanDup28601,1198002 +SQLITE_PRIVATE void sqlite3SetString(28612,1198355 +SQLITE_PRIVATE void sqlite3OomFault(28623,1198736 +SQLITE_PRIVATE void sqlite3OomClear(28643,1199226 +static SQLITE_NOINLINE int apiHandleError(28655,1199533 +SQLITE_PRIVATE int sqlite3ApiExit(28676,1200266 +typedef unsigned char etByte;28734,1202631 +typedef struct et_info 28740,1202785 + char fmttype;28741,1202854 + etByte base;28742,1202916 + etByte flags;28743,1202979 + etByte type;28744,1203049 + etByte charset;28745,1203102 + etByte prefix;28746,1203178 +} et_info;28747,1203254 +static const char aDigits[aDigits28760,1203568 +static const char aPrefix[aPrefix28761,1203634 +static const et_info fmtinfo[fmtinfo28762,1203677 +static const double arRound[arRound28799,1204939 +static char et_getdigit(28822,1205639 +static void setStrAccumError(28838,1205964 +static sqlite3_int64 getIntArg(28848,1206273 +static double getDoubleArg(28852,1206415 +static char *getTextArg(getTextArg28856,1206556 +static char *printfTempBuf(printfTempBuf28870,1207088 +SQLITE_API void sqlite3_str_vappendf(28903,1207927 +static int sqlite3StrAccumEnlarge(29609,1231939 +SQLITE_API void sqlite3_str_appendchar(29659,1233376 +static void SQLITE_NOINLINE enlargeAndAppend(29675,1233963 +SQLITE_API void sqlite3_str_append(29687,1234295 +SQLITE_API void sqlite3_str_appendall(29704,1234780 +static SQLITE_NOINLINE char *strAccumFinishRealloc(strAccumFinishRealloc29714,1235078 +SQLITE_PRIVATE char *sqlite3StrAccumFinish(sqlite3StrAccumFinish29727,1235444 +static sqlite3_str sqlite3OomStr 29743,1235881 +SQLITE_API char *sqlite3_str_finish(sqlite3_str_finish29749,1236013 +SQLITE_API int sqlite3_str_errcode(29761,1236252 +SQLITE_API int sqlite3_str_length(29766,1236394 +SQLITE_API char *sqlite3_str_value(sqlite3_str_value29771,1236512 +SQLITE_API void sqlite3_str_reset(29780,1236715 +SQLITE_PRIVATE void sqlite3StrAccumInit(29804,1237523 +SQLITE_API sqlite3_str *sqlite3_str_new(sqlite3_str_new29815,1237806 +SQLITE_PRIVATE char *sqlite3VMPrintf(sqlite3VMPrintf29830,1238182 +SQLITE_PRIVATE char *sqlite3MPrintf(sqlite3MPrintf29850,1238764 +SQLITE_API char *sqlite3_vmprintf(sqlite3_vmprintf29863,1239065 +SQLITE_API char *sqlite3_mprintf(sqlite3_mprintf29887,1239653 +SQLITE_API char *sqlite3_vsnprintf(sqlite3_vsnprintf29912,1240431 +SQLITE_API char *sqlite3_snprintf(sqlite3_snprintf29927,1240837 +static void renderLogMsg(29950,1241700 +SQLITE_API void sqlite3_log(29963,1242202 +SQLITE_PRIVATE void sqlite3DebugPrintf(29978,1242716 +SQLITE_API void sqlite3_str_appendf(30004,1243395 +static TreeView *sqlite3TreeViewPush(sqlite3TreeViewPush30039,1244521 +static void sqlite3TreeViewPop(30055,1244907 +static void sqlite3TreeViewLine(30065,1245146 +static void sqlite3TreeViewItem(30092,1245893 +SQLITE_PRIVATE void sqlite3TreeViewWith(30100,1246125 +SQLITE_PRIVATE void sqlite3TreeViewSrcList(30142,1247464 +SQLITE_PRIVATE void sqlite3TreeViewSelect(30181,1248753 +SQLITE_PRIVATE void sqlite3TreeViewBound(30297,1252194 +SQLITE_PRIVATE void sqlite3TreeViewWindow(30334,1253274 +SQLITE_PRIVATE void sqlite3TreeViewWinFunc(30399,1255524 +SQLITE_PRIVATE void sqlite3TreeViewExpr(30411,1255947 +SQLITE_PRIVATE void sqlite3TreeViewBareExprList(30762,1267559 +SQLITE_PRIVATE void sqlite3TreeViewExprList(30798,1268580 +static SQLITE_WSD struct sqlite3PrngType 30836,1269794 + unsigned char isInit;30837,1269837 + unsigned char i,30838,1269896 + unsigned char i, j;30838,1269896 + unsigned char s[s30839,1269951 +} sqlite3Prng;30840,1270006 +SQLITE_API void sqlite3_randomness(30845,1270054 +static SQLITE_WSD struct sqlite3PrngType sqlite3SavedPrng;30936,1272616 +SQLITE_PRIVATE void sqlite3PrngSaveState(30937,1272675 +SQLITE_PRIVATE void sqlite3PrngRestoreState(30944,1272869 +struct SQLiteThread 30996,1274798 + pthread_t tid;30997,1274820 + int done;30998,1274869 + void *pOut;pOut30999,1274941 + void *(*xTask)xTask31000,1275010 + void *pIn;pIn31001,1275068 +SQLITE_PRIVATE int sqlite3ThreadCreate(31005,1275160 +SQLITE_PRIVATE int sqlite3ThreadJoin(31042,1276224 +struct SQLiteThread 31068,1276919 + void *tid;tid31069,1276941 + unsigned id;31070,1276992 + void *(*xTask)xTask31071,1277047 + void *pIn;pIn31072,1277111 + void *pResult;pResult31073,1277162 +static unsigned __stdcall sqlite3ThreadProc(31077,1277263 +SQLITE_PRIVATE int sqlite3ThreadCreate(31100,1277856 +SQLITE_PRIVATE int sqlite3ThreadJoin(31138,1279076 +struct SQLiteThread 31173,1280125 + void *(*xTask)xTask31174,1280147 + void *pIn;pIn31175,1280211 + void *pResult;pResult31176,1280262 +SQLITE_PRIVATE int sqlite3ThreadCreate(31180,1280341 +SQLITE_PRIVATE int sqlite3ThreadJoin(31204,1280954 +SQLITE_PRIVATE const int sqlite3one 31276,1283167 +static const unsigned char sqlite3Utf8Trans1[sqlite3Utf8Trans131283,1283365 +#define WRITE_UTF8(31295,1283821 +#define WRITE_UTF16LE(31315,1284850 +#define WRITE_UTF16BE(31327,1285553 +#define READ_UTF8(31366,1287359 +SQLITE_PRIVATE u32 sqlite3Utf8Read(31377,1287973 +SQLITE_PRIVATE SQLITE_NOINLINE int sqlite3VdbeMemTranslate(31413,1288942 +SQLITE_PRIVATE int sqlite3VdbeMemHandleBom(31608,1294644 +SQLITE_PRIVATE int sqlite3Utf8CharLen(31646,1295630 +SQLITE_PRIVATE int sqlite3Utf8To8(31676,1296360 +SQLITE_PRIVATE char *sqlite3Utf16to8(sqlite3Utf16to831700,1296944 +SQLITE_PRIVATE int sqlite3Utf16ByteLen(31721,1297611 +SQLITE_PRIVATE void sqlite3UtfSelfTest(31743,1298238 +SQLITE_PRIVATE void sqlite3Coverage(31797,1299664 +SQLITE_PRIVATE int sqlite3FaultSim(31823,1300756 +SQLITE_PRIVATE int sqlite3IsNaN(31833,1301032 +SQLITE_PRIVATE int sqlite3Strlen30(31848,1301519 +SQLITE_PRIVATE char *sqlite3ColumnType(sqlite3ColumnType31860,1301881 +static SQLITE_NOINLINE void sqlite3ErrorFinish(31870,1302226 +SQLITE_PRIVATE void sqlite3Error(31880,1302577 +SQLITE_PRIVATE void sqlite3ErrorClear(31890,1302850 +SQLITE_PRIVATE void sqlite3SystemError(31900,1303120 +SQLITE_PRIVATE void sqlite3ErrorWithMsg(31929,1304091 +SQLITE_PRIVATE void sqlite3ErrorMsg(31962,1305314 +SQLITE_PRIVATE int sqlite3ErrorToParser(31985,1305925 +SQLITE_PRIVATE void sqlite3Dequote(32010,1306768 +SQLITE_PRIVATE void sqlite3DequoteExpr(32032,1307169 +SQLITE_PRIVATE void sqlite3TokenInit(32041,1307415 +SQLITE_API int sqlite3_stricmp(32059,1308047 +SQLITE_PRIVATE int sqlite3StrICmp(32067,1308249 +SQLITE_API int sqlite3_strnicmp(32086,1308624 +SQLITE_PRIVATE u8 sqlite3StrIHash(32102,1309106 +static LONGDOUBLE_TYPE sqlite3Pow10(32118,1309466 +SQLITE_PRIVATE int sqlite3AtoF(32183,1311259 +SQLITE_PRIVATE void sqlite3Int64ToText(32382,1316779 +static int compare2pow63(32415,1317681 +SQLITE_PRIVATE int sqlite3Atoi64(32448,1318680 +SQLITE_PRIVATE int sqlite3DecOrHexToI64(32551,1321928 +SQLITE_PRIVATE int sqlite3GetInt32(32581,1322805 +SQLITE_PRIVATE int sqlite3Atoi(32640,1324070 +SQLITE_PRIVATE int sqlite3GetUInt32(32652,1324330 +static int SQLITE_NOINLINE putVarint64(32693,1325438 +SQLITE_PRIVATE int sqlite3PutVarint(32717,1325896 +SQLITE_PRIVATE u8 sqlite3GetVarint(32747,1326645 +SQLITE_PRIVATE u8 sqlite3GetVarint32(32908,1329823 +SQLITE_PRIVATE int sqlite3VarintLen(33030,1332360 +SQLITE_PRIVATE u32 sqlite3Get4byte(33040,1332539 +SQLITE_PRIVATE void sqlite3Put4byte(33058,1332975 +SQLITE_PRIVATE u8 sqlite3HexToInt(33082,1333530 +SQLITE_PRIVATE void *sqlite3HexToBlob(sqlite3HexToBlob33100,1334045 +static void logBadConnection(33121,1334628 +SQLITE_PRIVATE int sqlite3SafetyCheckOk(33142,1335497 +SQLITE_PRIVATE int sqlite3SafetyCheckSickOrOk(33159,1335856 +SQLITE_PRIVATE int sqlite3AddInt64(33179,1336446 +SQLITE_PRIVATE int sqlite3SubInt64(33199,1337094 +SQLITE_PRIVATE int sqlite3MulInt64(33214,1337486 +SQLITE_PRIVATE int sqlite3AbsInt32(33240,1338177 +SQLITE_PRIVATE void sqlite3FileSuffix3(33264,1338987 +SQLITE_PRIVATE LogEst sqlite3LogEstAdd(33283,1339506 +SQLITE_PRIVATE LogEst sqlite3LogEst(33310,1340333 +SQLITE_PRIVATE LogEst sqlite3LogEstFromDouble(33334,1340904 +SQLITE_PRIVATE u64 sqlite3LogEstToInt(33355,1341489 +SQLITE_PRIVATE VList *sqlite3VListAdd(sqlite3VListAdd33409,1343442 +SQLITE_PRIVATE const char *sqlite3VListNumToName(sqlite3VListNumToName33447,1344749 +SQLITE_PRIVATE int sqlite3VListNameToNum(33463,1345109 +SQLITE_PRIVATE void sqlite3HashInit(33500,1346261 +SQLITE_PRIVATE void sqlite3HashClear(33512,1346565 +static unsigned int strHash(33532,1346957 +static void insertElement(33549,1347510 +static int rehash(33583,1348487 +static HashElem *findElementWithHash(findElementWithHash33624,1350145 +static void removeElementGivenHash(33659,1351157 +SQLITE_PRIVATE void *sqlite3HashFind(sqlite3HashFind33694,1352031 +SQLITE_PRIVATE void *sqlite3HashInsert(sqlite3HashInsert33714,1352782 +# define OpHelp(33756,1354180 +# define OpHelp(33758,1354212 +SQLITE_PRIVATE const char *sqlite3OpcodeName(sqlite3OpcodeName33760,1354238 +#define osGetpid(34136,1370127 +#define IS_LOCK_ERROR(34142,1370299 +typedef struct unixShm unixShm;34145,1370392 +typedef struct unixShmNode unixShmNode;34146,1370469 +typedef struct unixInodeInfo unixInodeInfo;34147,1370544 +typedef struct UnixUnusedFd UnixUnusedFd;34148,1370606 +struct UnixUnusedFd 34156,1370958 + int fd;34157,1370980 + int flags;34158,1371039 + UnixUnusedFd *pNext;pNext34159,1371116 +typedef struct unixFile unixFile;34166,1371300 +struct unixFile 34167,1371334 + sqlite3_io_methods const *pMethod;pMethod34168,1371352 + sqlite3_vfs *pVfs;pVfs34169,1371419 + unixInodeInfo *pInode;pInode34170,1371498 + int h;34171,1371573 + unsigned char eFileLock;34172,1371637 + unsigned short int ctrlFlags;34173,1371714 + int lastErrno;34174,1371793 + void *lockingContext;lockingContext34175,1371872 + UnixUnusedFd *pPreallocatedUnused;pPreallocatedUnused34176,1371945 + const char *zPath;zPath34177,1372016 + unixShm *pShm;pShm34178,1372077 + int szChunk;34179,1372155 + int nFetchOut;34181,1372257 + sqlite3_int64 mmapSize;34182,1372335 + sqlite3_int64 mmapSizeActual;34183,1372416 + sqlite3_int64 mmapSizeMax;34184,1372497 + void *pMapRegion;pMapRegion34185,1372574 + int sectorSize;34187,1372646 + int deviceCharacteristics;34188,1372709 + int openFlags;34190,1372820 + unsigned fsFlags;34193,1372955 + unsigned iBusyTimeout;34196,1373070 + struct vxworksFileId *pId;pId34199,1373169 + unsigned char transCntrChng;34209,1373649 + unsigned char dbUpdate;34210,1373728 + unsigned char inNormalWrite;34211,1373809 + char aPadding[aPadding34219,1374050 +static pid_t randomnessPid 34227,1374296 + __inline__ sqlite_uint64 sqlite3Hwtime(34323,1377598 + __declspec(34331,1377806 + __inline__ sqlite_uint64 sqlite3Hwtime(34342,1378050 + __inline__ sqlite_uint64 sqlite3Hwtime(34350,1378273 +SQLITE_PRIVATE sqlite_uint64 sqlite3Hwtime(34373,1378940 +static sqlite_uint64 g_start;34382,1379231 +static sqlite_uint64 g_elapsed;34383,1379261 +#define SimulateIOErrorBenign(34406,1380083 +#define SimulateIOError(34407,1380144 +static void local_ioerr(34411,1380322 +#define SimulateDiskfullError(34416,1380462 +#define SimulateIOErrorBenign(34428,1380757 +#define SimulateIOError(34429,1380790 +#define SimulateDiskfullError(34430,1380817 +#define OpenCounter(34438,1381022 +#define OpenCounter(34440,1381081 +static int posixOpen(34516,1383105 +static struct unix_syscall 34530,1383574 + const char *zName;zName34531,1383603 + sqlite3_syscall_ptr pCurrent;34532,1383665 + sqlite3_syscall_ptr pDefault;34533,1383736 +} aSyscall[aSyscall34534,1383788 +#define osFstat(34558,1384768 +static int robustFchown(34704,1390172 +static int unixSetSystemCall(34718,1390569 +static sqlite3_syscall_ptr unixGetSystemCall(34761,1391854 +static const char *unixNextSystemCall(unixNextSystemCall34780,1392381 +static int robust_open(34821,1393850 +static sqlite3_mutex *unixBigLock unixBigLock34883,1395715 +static void unixEnterMutex(34884,1395754 +static void unixLeaveMutex(34888,1395903 +static int unixMutexHeld(34893,1396040 +static const char *azFileLock(azFileLock34905,1396319 +static int lockTrace(34926,1396919 +static int robust_ftruncate(34984,1398477 +static int sqliteErrorFromPosixError(35009,1399392 +struct vxworksFileId 35051,1400895 + struct vxworksFileId *pNext;pNext35052,1400918 + int nRef;35053,1400983 + int nName;35054,1401054 + char *zCanonicalName;zCanonicalName35055,1401130 +static struct vxworksFileId *vxworksFileList vxworksFileList35063,1401290 +static int vxworksSimplifyName(35078,1401734 +static struct vxworksFileId *vxworksFindFileId(vxworksFindFileId35112,1402627 +static void vxworksReleaseFileId(35154,1404026 +struct unixFileId 35266,1409590 + dev_t dev;35267,1409610 + struct vxworksFileId *pId;pId35269,1409675 + u64 ino;35278,1410159 +struct unixInodeInfo 35307,1411211 + struct unixFileId fileId;35308,1411234 + sqlite3_mutex *pLockMutex;pLockMutex35309,1411289 + int nShared;35310,1411352 + int nLock;35311,1411422 + unsigned char eFileLock;35312,1411497 + unsigned char bProcessLock;35313,1411578 + UnixUnusedFd *pUnused;pUnused35314,1411654 + int nRef;35315,1411729 + unixShmNode *pShmNode;pShmNode35316,1411806 + unixInodeInfo *pNext;pNext35317,1411887 + unixInodeInfo *pPrev;pPrev35318,1411961 + unsigned long long sharedByte;35320,1412055 + sem_t *pSem;pSem35323,1412147 + char aSemName[aSemName35324,1412209 +static unixInodeInfo *inodeList inodeList35333,1412399 +int unixFileMutexHeld(35341,1412659 +int unixFileMutexNotheld(35345,1412784 +#define unixLogError(35367,1413583 +static int unixLogErrorAtLine(35368,1413650 +static void robust_close(35433,1416094 +static void storeLastErrno(35444,1416413 +static void closePendingFds(35451,1416583 +static void releaseInodeInfo(35470,1417114 +static int findInodeInfo(35507,1418236 +static int fileHasMoved(35599,1421228 +static void verifyDbFile(35620,1421801 +static int unixCheckReservedLock(35653,1422791 +# define osSetPosixAdvisoryLock(35711,1424466 +static int osSetPosixAdvisoryLock(35713,1424532 +static int unixFileLock(35754,1426215 +static int unixLock(35804,1427766 +static void setPendingFd(36031,1435585 +static int posixUnlock(36054,1436489 +static int unixUnlock(36214,1441934 +static int closeUnixFile(36236,1442663 +static int unixClose(36271,1443457 +static int nolockCheckReservedLock(36323,1445513 +static int nolockLock(36328,1445653 +static int nolockUnlock(36332,1445775 +static int nolockClose(36340,1445925 +static int dotlockCheckReservedLock(36385,1447883 +static int dotlockLock(36426,1449220 +static int dotlockUnlock(36476,1450565 +static int dotlockClose(36519,1451653 +static int robust_flock(36549,1452791 +# define robust_flock(36555,1452920 +static int flockCheckReservedLock(36565,1453269 +static int flockLock(36645,1455661 +static int flockUnlock(36689,1456901 +static int flockClose(36723,1457718 +static int semXCheckReservedLock(36752,1458861 +static int semXLock(36819,1460914 +static int semXUnlock(36852,1461785 +static int semXClose(36889,1462673 +typedef struct afpLockingContext afpLockingContext;36925,1463749 +struct afpLockingContext 36926,1463801 + int reserved;36927,1463828 + const char *dbPath;dbPath36928,1463844 +struct ByteRangeLockPB236931,1463910 + unsigned long long offset;36933,1463936 + unsigned long long length;36934,1464007 + unsigned long long retRangeStart;36935,1464070 + unsigned char unLockFlag;36936,1464149 + unsigned char startEndFlag;36937,1464212 + int fd;36938,1464291 +static int afpSetLock(36949,1464604 +static int afpCheckReservedLock(36995,1466175 +static int afpLock(37064,1468246 +static int afpUnlock(37246,1474438 +static int afpClose(37349,1477817 +static int nfsUnlock(37397,1479585 +static int seekAndRead(37433,1481103 +static int unixRead(37482,1482396 +static int seekAndWriteFd(37558,1484584 +static int seekAndWrite(37604,1485968 +static int unixWrite(37613,1486233 +SQLITE_API int sqlite3_sync_count 37698,1488704 +SQLITE_API int sqlite3_fullsync_count 37699,1488743 +static int full_fsync(37748,1490725 +static int openDirectory(37844,1493937 +static int unixSync(37881,1495280 +static int unixTruncate(37931,1496818 +static int unixFileSize(37981,1498419 +static int fcntlSizeHint(38019,1499557 +static void unixModeBit(38088,1502022 +static int unixFileControl(38105,1502444 +static void setDeviceCharacteristics(38235,1506552 +static void setDeviceCharacteristics(38260,1507377 +static int unixSectorSize(38342,1511005 +static int unixDeviceCharacteristics(38361,1511877 +static int unixGetpagesize(38375,1512271 +struct unixShmNode 38418,1513671 + unixInodeInfo *pInode;pInode38419,1513692 + sqlite3_mutex *pShmMutex;pShmMutex38420,1513765 + char *zFilename;zFilename38421,1513828 + int hShm;38422,1513888 + int szRegion;38423,1513944 + u16 nRegion;38424,1514009 + u8 isReadonly;38425,1514067 + u8 isUnlocked;38426,1514120 + char **apRegion;apRegion38427,1514180 + int nRef;38428,1514253 + unixShm *pFirst;pFirst38429,1514331 + int aLock[aLock38430,1514403 + u8 exclMask;38432,1514499 + u8 sharedMask;38433,1514563 + u8 nextShmId;38434,1514624 +struct unixShm 38451,1515083 + unixShmNode *pShmNode;pShmNode38452,1515100 + unixShm *pNext;pNext38453,1515169 + u8 hasMutex;38454,1515243 + u8 id;38455,1515321 + u16 sharedMask;38456,1515401 + u16 exclMask;38457,1515462 +static int unixFcntlExternalReader(38474,1516092 +static int unixShmSystemLock(38506,1516850 +static int unixShmRegionPerMap(38591,1519510 +static void unixShmPurge(38605,1519975 +static int unixLockSharedMemory(38639,1520965 +static int unixOpenSharedMemory(38728,1525288 +static int unixShmMap(38870,1530512 +static int assertLockingArrayOk(39013,1535347 +static int unixShmLock(39045,1536322 +static void unixShmBarrier(39177,1540925 +static int unixShmUnmap(39196,1541526 +static void unixUnmapfile(39253,1543126 +static void unixRemapfile(39278,1543877 +static int unixMapfile(39370,1546901 +static int unixFetch(39407,1548083 +static int unixUnfetch(39438,1549053 +#define IOMETHODS(39506,1551429 +IOMETHODS(39540,1553748 + static const struct Mapping 39662,1558812 + const char *zFilesystem;zFilesystem39663,1558844 + const sqlite3_io_methods *pMethods;pMethods39664,1558913 +static const sqlite3_io_methods *vxworksIoFinderImpl(vxworksIoFinderImpl39722,1560592 +typedef const sqlite3_io_methods *(*finder_type)finder_type39755,1561511 +static int fillInUnixFile(39768,1561913 +static const char *unixTempFileDir(unixTempFileDir39944,1567538 +static int unixGetTempname(39978,1568292 +static UnixUnusedFd *findReusableFd(findReusableFd40028,1570090 +static int getFileMode(40078,1571920 +static int findCreateFileMode(40117,1573590 +static int unixOpen(40194,1576447 +static int unixDelete(40470,1586624 +static int unixAccess(40518,1587943 +static int unixBackupDir(40547,1588966 +static int mkFullPathname(40565,1589393 +static int unixFullPathname(40634,1591377 +static void *unixDlOpen(unixDlOpen40726,1594060 +static void unixDlError(40738,1594525 +static void (*unixDlSym(unixDlSym40748,1594775 +static void unixDlClose(40771,1595852 +static int unixRandomness(40785,1596193 +static int unixSleep(40832,1597939 +SQLITE_API int sqlite3_current_time 40860,1598758 +static int unixCurrentTimeInt64(40873,1599292 +static int unixCurrentTime(40905,1600309 +static int unixGetLastError(40923,1600766 +typedef struct proxyLockingContext proxyLockingContext;41094,1608131 +struct proxyLockingContext 41095,1608187 + unixFile *conchFile;conchFile41096,1608216 + char *conchFilePath;conchFilePath41097,1608269 + unixFile *lockProxy;lockProxy41098,1608329 + char *lockProxyPath;lockProxyPath41099,1608387 + char *dbPath;dbPath41100,1608452 + int conchHeld;41101,1608511 + int nFails;41102,1608587 + void *oldLockingContext;oldLockingContext41103,1608656 + sqlite3_io_methods const *pOldMethod;pOldMethod41104,1608737 +static int proxyGetLockPath(41112,1608999 +static int proxyCreateLockPath(41153,1610039 +static int proxyCreateUnixFile(41193,1611387 +SQLITE_API int sqlite3_hostid_num 41277,1613702 +static int proxyGetHostID(41290,1614072 +static int proxyBreakConchLock(41330,1615336 +static int proxyConchLock(41390,1617311 +static int proxyTakeConch(41468,1620010 +static int proxyReleaseConch(41690,1628167 +static int proxyCreateConchPathname(41720,1629331 +static int switchLockProxyPath(41757,1630370 +static int proxyGetDbPathForUnixFile(41793,1631441 +static int proxyTransformUnixFile(41824,1632685 +static int proxyFileControl(41911,1635367 +static int proxyCheckReservedLock(41984,1637860 +static int proxyLock(42023,1639138 +static int proxyUnlock(42047,1639875 +static int proxyClose(42066,1640405 +SQLITE_API int sqlite3_os_init(42128,1642521 + #define UNIXVFS(42149,1643656 +SQLITE_API int sqlite3_os_end(42247,1647533 + __inline__ sqlite_uint64 sqlite3Hwtime(42351,1650913 + __declspec(42359,1651121 + __inline__ sqlite_uint64 sqlite3Hwtime(42370,1651365 + __inline__ sqlite_uint64 sqlite3Hwtime(42378,1651588 +SQLITE_PRIVATE sqlite_uint64 sqlite3Hwtime(42401,1652255 +static sqlite_uint64 g_start;42410,1652546 +static sqlite_uint64 g_elapsed;42411,1652576 +#define SimulateIOErrorBenign(42434,1653398 +#define SimulateIOError(42435,1653459 +static void local_ioerr(42439,1653637 +#define SimulateDiskfullError(42444,1653777 +#define SimulateIOErrorBenign(42456,1654072 +#define SimulateIOError(42457,1654105 +#define SimulateDiskfullError(42458,1654132 +#define OpenCounter(42466,1654337 +#define OpenCounter(42468,1654396 +# define winIsDirSep(42621,1658713 +# define UNUSED_VARIABLE_VALUE(42629,1658971 +# define winGetDirSep(42636,1659129 +typedef struct winShm winShm;42694,1660920 +typedef struct winShmNode winShmNode;42695,1660996 +typedef struct winceLock 42703,1661201 + int nReaders;42704,1661228 + BOOL bPending;42705,1661288 + BOOL bReserved;42706,1661359 + BOOL bExclusive;42707,1661431 +} winceLock;42708,1661505 +typedef struct winFile winFile;42715,1661632 +struct winFile 42716,1661664 + const sqlite3_io_methods *pMethod;pMethod42717,1661681 + sqlite3_vfs *pVfs;pVfs42718,1661742 + HANDLE h;42719,1661805 + u8 locktype;42720,1661867 + short sharedLockByte;42721,1661940 + u8 ctrlFlags;42722,1662015 + DWORD lastErrno;42723,1662075 + winShm *pShm;pShm42725,1662173 + const char *zPath;zPath42727,1662251 + int szChunk;42728,1662310 + LPWSTR zDeleteOnClose;42730,1662404 + HANDLE hMutex;42731,1662472 + HANDLE hShared;42732,1662548 + winceLock local;42733,1662619 + winceLock *shared;shared42734,1662694 + int nFetchOut;42737,1662800 + HANDLE hMap;42738,1662878 + void *pMapRegion;pMapRegion42739,1662952 + sqlite3_int64 mmapSize;42740,1663009 + sqlite3_int64 mmapSizeMax;42741,1663069 +typedef struct winVfsAppData winVfsAppData;42749,1663258 +struct winVfsAppData 42750,1663302 + const sqlite3_io_methods *pMethod;pMethod42751,1663325 + void *pAppData;pAppData42752,1663397 + BOOL bNoLock;42753,1663468 +typedef struct winMemData winMemData;42872,1667515 +struct winMemData 42873,1667553 + u32 magic1;42875,1667588 + HANDLE hHeap;42877,1667662 + BOOL bOwned;42878,1667708 + u32 magic2;42880,1667795 +static struct winMemData win_mem_data 42889,1667970 +#define winMemAssertMagic1(42900,1668123 +#define winMemAssertMagic2(42901,1668197 +#define winMemAssertMagic(42902,1668271 +#define winMemAssertMagic(42904,1668350 +#define winMemGetDataPtr(42907,1668386 +#define winMemGetHeap(42908,1668428 +#define winMemGetOwned(42909,1668475 +SQLITE_API LONG SQLITE_WIN32_VOLATILE sqlite3_os_type 42935,1669319 +static LONG SQLITE_WIN32_VOLATILE sqlite3_os_type 42937,1669384 +# define osAreFileApisANSI(42949,1669614 +static struct win_syscall 42958,1669925 + const char *zName;zName42959,1669953 + sqlite3_syscall_ptr pCurrent;42960,1670015 + sqlite3_syscall_ptr pDefault;42961,1670086 +} aSyscall[aSyscall42962,1670138 +static int winSetSystemCall(43619,1692764 +static sqlite3_syscall_ptr winGetSystemCall(43662,1694048 +static const char *winNextSystemCall(winNextSystemCall43681,1694574 +SQLITE_API int sqlite3_win32_compact_heap(43704,1695323 +SQLITE_API int sqlite3_win32_reset_heap(43744,1696676 +SQLITE_API void sqlite3_win32_write_debug(43789,1698327 +static HANDLE sleepObj 43832,1699642 +SQLITE_API void sqlite3_win32_sleep(43835,1699681 +SQLITE_PRIVATE DWORD sqlite3Win32Wait(43850,1700136 +# define osIsNT(43871,1700903 +# define osIsNT(43873,1701002 +# define osIsNT(43875,1701063 +# define osIsNT(43877,1701092 +SQLITE_API int sqlite3_win32_is_nt(43884,1701275 +static void *winMemMalloc(winMemMalloc43923,1702464 +static void winMemFree(43946,1703056 +static void *winMemRealloc(winMemRealloc43966,1703689 +static int winMemSize(43994,1704499 +static int winMemRoundup(44018,1705136 +static int winMemInit(44025,1705217 +static void winMemShutdown(44074,1706852 +SQLITE_PRIVATE const sqlite3_mem_methods *sqlite3MemGetWin32(sqlite3MemGetWin3244105,1707929 +SQLITE_PRIVATE void sqlite3MemSetDefault(44119,1708225 +static LPWSTR winUtf8ToUnicode(44129,1708500 +static char *winUnicodeToUtf8(winUnicodeToUtf844155,1709110 +static LPWSTR winMbcsToUnicode(44182,1709733 +static char *winUnicodeToMbcs(winUnicodeToMbcs44211,1710510 +static char *winMbcsToUtf8(winMbcsToUtf844238,1711161 +static char *winUtf8ToMbcs(winUtf8ToMbcs44256,1711578 +SQLITE_API LPWSTR sqlite3_win32_utf8_to_unicode(44272,1711925 +SQLITE_API char *sqlite3_win32_unicode_to_utf8(sqlite3_win32_unicode_to_utf844288,1712278 +SQLITE_API char *sqlite3_win32_mbcs_to_utf8(sqlite3_win32_mbcs_to_utf844304,1712635 +SQLITE_API char *sqlite3_win32_mbcs_to_utf8_v2(sqlite3_win32_mbcs_to_utf8_v244320,1712999 +SQLITE_API char *sqlite3_win32_utf8_to_mbcs(sqlite3_win32_utf8_to_mbcs44336,1713367 +SQLITE_API char *sqlite3_win32_utf8_to_mbcs_v2(sqlite3_win32_utf8_to_mbcs_v244352,1713731 +SQLITE_API int sqlite3_win32_set_directory8(44369,1714145 +SQLITE_API int sqlite3_win32_set_directory16(44406,1715261 +SQLITE_API int sqlite3_win32_set_directory(44428,1716037 +static int winGetLastErrorMsg(44440,1716441 +#define winLogError(44530,1719569 +static int winLogErrorAtLine(44531,1719636 +static int winIoerrRetry 44567,1720896 +static int winIoerrRetryDelay 44568,1720949 +#define winIoerrCanRetry1(44587,1721983 +static int winRetryIoerr(44601,1722644 +static void winLogIoerr(44630,1723202 +struct tm *__cdecl localtime(44650,1723812 +#define HANDLE_TO_WINFILE(44677,1724519 +static void winceMutexAcquire(44682,1724638 +#define winceMutexRelease(44691,1724874 +static int winceCreateLock(44697,1725013 +static void winceDestroyLock(44791,1727839 +static BOOL winceLockFile(44825,1728762 +static BOOL winceUnlockFile(44891,1730531 +static BOOL winLockFile(44960,1732405 +static BOOL winUnlockFile(44992,1733171 +static int winSeekFile(45037,1734505 +static int winClose(45110,1737132 +static int winRead(45166,1738760 +static int winWrite(45246,1741852 +static int winTruncate(45355,1745793 +SQLITE_API int sqlite3_sync_count 45437,1748841 +SQLITE_API int sqlite3_fullsync_count 45438,1748880 +static int winSync(45444,1749005 +static int winFileSize(45529,1751561 +static int winGetReadLock(45607,1753954 +static int winUnlockReadLock(45642,1754938 +static int winLock(45689,1756557 +static int winCheckReservedLock(45832,1761123 +static int winUnlock(45868,1762357 +static int winNolockLock(45918,1764370 +static int winNolockCheckReservedLock(45924,1764505 +static int winNolockUnlock(45930,1764652 +static void winModeBit(45945,1765179 +static int winFileControl(45964,1765722 +static int winSectorSize(46099,1770094 +static int winDeviceCharacteristics(46107,1770242 +static SYSTEM_INFO winSysInfo;46119,1770643 +static sqlite3_mutex *winBigLock winBigLock46136,1771157 +static void winShmEnterMutex(46137,1771195 +static void winShmLeaveMutex(46140,1771268 +static int winShmMutexHeld(46144,1771356 +struct winShmNode 46172,1772195 + sqlite3_mutex *mutex;mutex46173,1772215 + char *zFilename;zFilename46174,1772278 + winFile hFile;46175,1772330 + int szRegion;46177,1772391 + int nRegion;46178,1772456 + u8 isReadonly;46179,1772514 + u8 isUnlocked;46180,1772567 + struct ShmRegion 46182,1772628 + HANDLE hMap;46183,1772649 + void *pMap;pMap46184,1772719 + } *aRegion;aRegion46185,1772735 + DWORD lastErrno;46186,1772749 + int nRef;46188,1772827 + winShm *pFirst;pFirst46189,1772904 + winShmNode *pNext;pNext46190,1772975 + u8 nextShmId;46192,1773108 +static winShmNode *winShmNodeList winShmNodeList46201,1773313 +struct winShm 46216,1773727 + winShmNode *pShmNode;pShmNode46217,1773743 + winShm *pNext;pNext46218,1773811 + u8 hasMutex;46219,1773883 + u16 sharedMask;46220,1773955 + u16 exclMask;46221,1774016 + u8 id;46223,1774139 +static int winShmSystemLock(46239,1774556 +static void winShmPurge(46287,1776257 +static int winLockSharedMemory(46338,1777988 +static int winOpenSharedMemory(46367,1779031 +static int winShmUnmap(46476,1782764 +static int winShmLock(46517,1783934 +static void winShmBarrier(46626,1787673 +static int winShmMap(46654,1788886 +static int winUnmapfile(46808,1794026 +static int winMapfile(46857,1796141 +static int winFetch(46955,1799666 +static int winUnfetch(46997,1801055 +static const sqlite3_io_methods winIoMethod 47040,1802455 +static const sqlite3_io_methods winIoNolockMethod 47066,1803584 +static winVfsAppData winAppData 47088,1804593 +static winVfsAppData winNolockAppData 47094,1804742 +static char *winConvertToUtf8Filename(winConvertToUtf8Filename47113,1805378 +static void *winConvertFromUtf8Filename(winConvertFromUtf8Filename47134,1805923 +static int winMakeEndInDirSep(47153,1806418 +static int winGetTempname(47173,1806895 +static int winIsDir(47404,1814690 +static int winOpen(47439,1815669 +static int winDelete(47762,1826380 +static int winAccess(47870,1829421 +static BOOL winIsLongPathPrefix(47948,1831817 +static BOOL winIsDriveLetterAndColon(47959,1832101 +static BOOL winIsVerbatimPathname(47971,1832533 +static int winFullPathname(48007,1833717 +static void *winDlOpen(winDlOpen48192,1840328 +static void winDlError(48233,1841452 +static void (*winDlSym(winDlSym48237,1841603 +static void winDlClose(48245,1841897 +typedef struct EntropyGatherer EntropyGatherer;48258,1842276 +struct EntropyGatherer 48259,1842324 + unsigned char *a;a48260,1842349 + int na;48261,1842409 + int i;48262,1842458 + int nXor;48263,1842511 +static void xorMemory(48268,1842673 +static int winRandomness(48282,1842998 +static int winSleep(48339,1844515 +SQLITE_API int sqlite3_current_time 48351,1844888 +static int winCurrentTimeInt64(48364,1845422 +static int winCurrentTime(48407,1846817 +static int winGetLastError(48447,1848289 +SQLITE_API int sqlite3_os_init(48457,1848548 +SQLITE_API int sqlite3_os_end(48592,1853504 +typedef struct sqlite3_vfs MemVfs;48635,1854599 +typedef struct MemFile MemFile;48636,1854634 +typedef struct MemStore MemStore;48637,1854666 +#define ORIGVFS(48642,1854805 +struct MemStore 48680,1856507 + sqlite3_int64 sz;48681,1856525 + sqlite3_int64 szAlloc;48682,1856582 + sqlite3_int64 szMax;48683,1856647 + unsigned char *aData;aData48684,1856720 + sqlite3_mutex *pMutex;pMutex48685,1856780 + int nMmap;48686,1856847 + unsigned mFlags;48687,1856917 + int nRdLock;48688,1856963 + int nWrLock;48689,1857021 + int nRef;48690,1857097 + char *zFName;zFName48691,1857170 +struct MemFile 48695,1857264 + sqlite3_file base;48696,1857281 + MemStore *pStore;pStore48697,1857332 + int eLock;48698,1857384 +static struct MemFS 48707,1857674 + int nMemStore;48708,1857696 + MemStore **apMemStore;apMemStore48709,1857770 +} memdb_g;48710,1857847 +static sqlite3_vfs memdb_vfs 48746,1859597 +static const sqlite3_io_methods memdb_io_methods 48771,1860721 +static void memdbEnter(48797,1861876 +static void memdbLeave(48800,1861938 +static void memdbEnter(48804,1862006 +static void memdbLeave(48807,1862079 +static int memdbClose(48819,1862275 +static int memdbRead(48861,1863278 +static int memdbEnlarge(48883,1863762 +static int memdbWrite(48903,1864236 +static int memdbTruncate(48940,1865166 +static int memdbSync(48956,1865456 +static int memdbFileSize(48965,1865643 +static int memdbLock(48976,1865858 +static int memdbCheckReservedLock(49020,1866946 +static int memdbFileControl(49030,1867133 +static int memdbSectorSize(49059,1867874 +static int memdbDeviceCharacteristics(49067,1868024 +static int memdbFetch(49076,1868302 +static int memdbUnfetch(49095,1868638 +static int memdbOpen(49108,1868920 +static int memdbDelete(49194,1871515 +static int memdbAccess(49205,1871817 +static int memdbFullPathname(49223,1872223 +static void *memdbDlOpen(memdbDlOpen49237,1872489 +static void memdbDlError(49246,1872788 +static void (*memdbDlSym(memdbDlSym49253,1873000 +static void memdbDlClose(49260,1873189 +static int memdbRandomness(49268,1873390 +static int memdbSleep(49276,1873627 +static int memdbCurrentTime(49284,1873878 +static int memdbGetLastError(49289,1874017 +static int memdbCurrentTimeInt64(49292,1874144 +static MemFile *memdbFromDbSchema(memdbFromDbSchema49300,1874371 +SQLITE_API unsigned char *sqlite3_serialize(sqlite3_serialize49316,1874792 +SQLITE_API int sqlite3_deserialize(49397,1877084 +SQLITE_PRIVATE int sqlite3MemdbInit(49473,1879104 +#define BITVEC_HASH(49558,1882837 +struct Bitvec 49584,1883861 + u32 iSize;49585,1883877 + u32 nSet;49586,1883949 + u32 iDivisor;49589,1884138 + BITVEC_TELEM aBitmap[aBitmap49594,1884415 + u32 aHash[aHash49595,1884486 + Bitvec *apSub[apSub49596,1884551 + } u;49597,1884615 +SQLITE_PRIVATE Bitvec *sqlite3BitvecCreate(sqlite3BitvecCreate49605,1884787 +SQLITE_PRIVATE int sqlite3BitvecTestNotNull(49620,1885150 +SQLITE_PRIVATE int sqlite3BitvecTest(49643,1885680 +SQLITE_PRIVATE int sqlite3BitvecSet(49659,1886256 +SQLITE_PRIVATE void sqlite3BitvecClear(49730,1888355 +SQLITE_PRIVATE void sqlite3BitvecDestroy(49767,1889238 +SQLITE_PRIVATE u32 sqlite3BitvecSize(49782,1889552 +#define SETBIT(49793,1889877 +#define CLEARBIT(49794,1889924 +#define TESTBIT(49795,1889972 +SQLITE_PRIVATE int sqlite3BitvecBuiltinTest(49827,1891357 +struct PCache 49945,1895093 + PgHdr *pDirty,pDirty49946,1895109 + PgHdr *pDirty, *pDirtyTail;pDirtyTail49946,1895109 + PgHdr *pSynced;pSynced49947,1895186 + int nRefSum;49948,1895266 + int szCache;49949,1895343 + int szSpill;49950,1895409 + int szPage;49951,1895481 + int szExtra;49952,1895558 + u8 bPurgeable;49953,1895636 + u8 eCreate;49954,1895715 + int (*xStress)xStress49955,1895790 + void *pStress;pStress49956,1895864 + sqlite3_pcache *pCache;pCache49957,1895928 + int sqlite3PcacheTrace 49970,1896422 + int sqlite3PcacheMxDump 49971,1896498 +# define pcacheTrace(49972,1896575 + void pcacheDump(49973,1896645 +# define pcacheTrace(49998,1897431 +# define pcacheDump(49999,1897455 +SQLITE_PRIVATE int sqlite3PcachePageSanity(50012,1897768 +static void pcacheManageDirtyList(50062,1900099 +static void pcacheUnpin(50132,1902475 +static int numberOfCachePages(50144,1902842 +SQLITE_PRIVATE int sqlite3PcacheInitialize(50163,1903570 +SQLITE_PRIVATE void sqlite3PcacheShutdown(50173,1904013 +SQLITE_PRIVATE int sqlite3PcacheSize(50183,1904326 +SQLITE_PRIVATE int sqlite3PcacheOpen(50197,1904932 +SQLITE_PRIVATE int sqlite3PcacheSetPageSize(50223,1905914 +SQLITE_PRIVATE sqlite3_pcache_page *sqlite3PcacheFetch(sqlite3PcacheFetch50267,1907710 +SQLITE_PRIVATE int sqlite3PcacheFetchStress(50308,1909495 +static SQLITE_NOINLINE PgHdr *pcacheFetchFinishWithInit(pcacheFetchFinishWithInit50364,1911645 +SQLITE_PRIVATE PgHdr *sqlite3PcacheFetchFinish(sqlite3PcacheFetchFinish50390,1912573 +SQLITE_PRIVATE void SQLITE_NOINLINE sqlite3PcacheRelease(50413,1913244 +SQLITE_PRIVATE void sqlite3PcacheRef(50428,1913580 +SQLITE_PRIVATE void sqlite3PcacheDrop(50440,1913916 +SQLITE_PRIVATE void sqlite3PcacheMakeDirty(50454,1914305 +SQLITE_PRIVATE void sqlite3PcacheMakeClean(50473,1914940 +SQLITE_PRIVATE void sqlite3PcacheCleanAll(50490,1915442 +SQLITE_PRIVATE void sqlite3PcacheClearWritable(50501,1915711 +SQLITE_PRIVATE void sqlite3PcacheClearSyncFlags(50513,1916041 +SQLITE_PRIVATE void sqlite3PcacheMove(50524,1916298 +SQLITE_PRIVATE void sqlite3PcacheTruncate(50546,1917165 +SQLITE_PRIVATE void sqlite3PcacheClose(50579,1918190 +SQLITE_PRIVATE void sqlite3PcacheClear(50588,1918418 +static PgHdr *pcacheMergeDirtyList(pcacheMergeDirtyList50596,1918635 +static PgHdr *pcacheSortDirtyList(pcacheSortDirtyList50633,1919577 +SQLITE_PRIVATE PgHdr *sqlite3PcacheDirtyList(sqlite3PcacheDirtyList50668,1920389 +SQLITE_PRIVATE int sqlite3PcacheRefCount(50682,1920780 +SQLITE_PRIVATE int sqlite3PcachePageRefcount(50689,1920945 +SQLITE_PRIVATE int sqlite3PcachePagecount(50696,1921078 +SQLITE_PRIVATE int sqlite3PcacheGetCachesize(50705,1921300 +SQLITE_PRIVATE void sqlite3PcacheSetCachesize(50713,1921454 +SQLITE_PRIVATE int sqlite3PcacheSetSpillsize(50725,1921908 +SQLITE_PRIVATE void sqlite3PcacheShrink(50742,1922305 +SQLITE_PRIVATE int sqlite3HeaderSizePcache(50751,1922553 +SQLITE_PRIVATE int sqlite3PCachePercentDirty(50757,1922751 +SQLITE_PRIVATE int sqlite3PCacheIsDirty(50769,1923146 +SQLITE_PRIVATE void sqlite3PcacheIterateDirty(50780,1923452 +typedef struct PCache1 PCache1;50874,1927815 +typedef struct PgHdr1 PgHdr1;50875,1927847 +typedef struct PgFreeslot PgFreeslot;50876,1927877 +typedef struct PGroup PGroup;50877,1927915 +struct PgHdr1 50895,1928804 + sqlite3_pcache_page page;50896,1928820 + unsigned int iKey;50897,1928900 + u16 isBulkLocal;50898,1928963 + u16 isAnchor;50899,1929036 + PgHdr1 *pNext;pNext50900,1929106 + PCache1 *pCache;pCache50901,1929170 + PgHdr1 *pLruNext;pLruNext50902,1929245 + PgHdr1 *pLruPrev;pLruPrev50903,1929319 +#define PAGE_IS_PINNED(50911,1929623 +#define PAGE_IS_UNPINNED(50912,1929671 +struct PGroup 50936,1930675 + sqlite3_mutex *mutex;mutex50937,1930691 + unsigned int nMaxPage;50938,1930755 + unsigned int nMinPage;50939,1930827 + unsigned int mxPinned;50940,1930899 + unsigned int nPurgeable;50941,1930963 + PgHdr1 lru;50942,1931038 +struct PCache1 50953,1931456 + PGroup *pGroup;pGroup50960,1931818 + unsigned int *pnPurgeable;pnPurgeable50961,1931891 + int szPage;50962,1931965 + int szExtra;50963,1932042 + int szAlloc;50964,1932116 + int bPurgeable;50965,1932190 + unsigned int nMin;50966,1932261 + unsigned int nMax;50967,1932338 + unsigned int n90pct;50968,1932412 + unsigned int iMaxKey;50969,1932466 + unsigned int nPurgeableDummy;50970,1932545 + unsigned int nRecyclable;50975,1932759 + unsigned int nPage;50976,1932835 + unsigned int nHash;50977,1932911 + PgHdr1 **apHash;apHash50978,1932983 + PgHdr1 *pFree;pFree50979,1933061 + void *pBulk;pBulk50980,1933139 +struct PgFreeslot 50987,1933361 + PgFreeslot *pNext;pNext50988,1933381 +static SQLITE_WSD struct PCacheGlobal 50994,1933469 + PGroup grp;50995,1933509 + int isInit;51002,1933862 + int separateCache;51003,1933921 + int nInitPage;51004,1933993 + int szSlot;51005,1934061 + int nSlot;51006,1934123 + int nReserve;51007,1934189 + void *pStart,pStart51008,1934261 + void *pStart, *pEnd;pEnd51008,1934261 + sqlite3_mutex *mutex;mutex51010,1934411 + PgFreeslot *pFree;pFree51011,1934485 + int nFreeSlot;51012,1934541 + int bUnderPressure;51017,1934880 +} pcache1_g;51018,1934951 +# define pcache1EnterMutex(51031,1935354 +# define pcache1LeaveMutex(51032,1935407 +# define pcache1EnterMutex(51035,1935507 +# define pcache1LeaveMutex(51036,1935569 +SQLITE_PRIVATE void sqlite3PCacheBufferSetup(51053,1936273 +static int pcache1InitBulk(51079,1936993 +static void *pcache1Alloc(pcache1Alloc51122,1938426 +static void pcache1Free(51160,1939614 +static int pcache1MemSize(51193,1940614 +static PgHdr1 *pcache1AllocPage(pcache1AllocPage51210,1941075 +static void pcache1FreePage(51262,1942643 +SQLITE_PRIVATE void *sqlite3PageMalloc(sqlite3PageMalloc51284,1943231 +SQLITE_PRIVATE void sqlite3PageFree(51292,1943448 +static int pcache1UnderMemoryPressure(51313,1944186 +static void pcache1ResizeHash(51330,1944740 +static PgHdr1 *pcache1PinPage(pcache1PinPage51371,1945798 +static void pcache1RemoveFromHash(51396,1946617 +static void pcache1EnforceMaxPage(51414,1947124 +static void pcache1TruncateUnsafe(51439,1947888 +static int pcache1Init(51490,1949656 +static void pcache1Shutdown(51543,1951314 +static sqlite3_pcache *pcache1Create(pcache1Create51557,1951625 +static void pcache1Cachesize(51607,1953248 +static void pcache1Shrink(51626,1953791 +static int pcache1Pagecount(51643,1954226 +static SQLITE_NOINLINE PgHdr1 *pcache1FetchStage2(pcache1FetchStage251661,1954774 +static PgHdr1 *pcache1FetchNoMutex(pcache1FetchNoMutex51789,1959287 +static PgHdr1 *pcache1FetchWithMutex(pcache1FetchWithMutex51819,1960201 +static sqlite3_pcache_page *pcache1Fetch(pcache1Fetch51834,1960551 +static void pcache1Unpin(51865,1961403 +static void pcache1Rekey(51900,1962285 +static void pcache1Truncate(51940,1963225 +static void pcache1Destroy(51955,1963635 +SQLITE_PRIVATE void sqlite3PCacheSetDefault(51978,1964477 +SQLITE_PRIVATE int sqlite3HeaderSizePcache1(52000,1965298 +SQLITE_PRIVATE sqlite3_mutex *sqlite3Pcache1Mutex(sqlite3Pcache1Mutex52006,1965513 +SQLITE_PRIVATE int sqlite3PcacheReleaseMemory(52020,1966023 +SQLITE_PRIVATE void sqlite3PcacheStats(52050,1966855 +struct RowSetEntry 52156,1970925 + i64 v;52157,1970946 + struct RowSetEntry *pRight;pRight52158,1971011 + struct RowSetEntry *pLeft;pLeft52159,1971088 +struct RowSetChunk 52168,1971406 + struct RowSetChunk *pNextChunk;pNextChunk52169,1971427 + struct RowSetEntry aEntry[aEntry52170,1971505 +struct RowSet 52178,1971706 + struct RowSetChunk *pChunk;pChunk52179,1971722 + sqlite3 *db;db52180,1971791 + struct RowSetEntry *pEntry;pEntry52181,1971854 + struct RowSetEntry *pLast;pLast52182,1971922 + struct RowSetEntry *pFresh;pFresh52183,1971991 + struct RowSetEntry *pForest;pForest52184,1972058 + u16 nFresh;52185,1972129 + u16 rsFlags;52186,1972196 + int iBatch;52187,1972249 +SQLITE_PRIVATE RowSet *sqlite3RowSetInit(sqlite3RowSetInit52200,1972593 +SQLITE_PRIVATE void sqlite3RowSetClear(52222,1973231 +SQLITE_PRIVATE void sqlite3RowSetDelete(52242,1973774 +static struct RowSetEntry *rowSetEntryAlloc(rowSetEntryAlloc52255,1974160 +SQLITE_PRIVATE void sqlite3RowSetInsert(52280,1974865 +static struct RowSetEntry *rowSetEntryMerge(rowSetEntryMerge52311,1975752 +static struct RowSetEntry *rowSetEntrySort(rowSetEntrySort52346,1976587 +static void rowSetTreeToList(52375,1977386 +static struct RowSetEntry *rowSetNDeepTree(rowSetNDeepTree52410,1978523 +static struct RowSetEntry *rowSetListToTree(rowSetListToTree52446,1979664 +SQLITE_PRIVATE int sqlite3RowSetNext(52478,1980637 +SQLITE_PRIVATE int sqlite3RowSetTest(52512,1981747 +#define WAL_SYNC_FLAGS(52624,1985621 +#define CKPT_SYNC_FLAGS(52625,1985660 +# define sqlite3WalOpen(52628,1985728 +# define sqlite3WalLimit(52629,1985779 +# define sqlite3WalClose(52630,1985809 +# define sqlite3WalBeginReadTransaction(52631,1985860 +# define sqlite3WalEndReadTransaction(52632,1985911 +# define sqlite3WalDbsize(52633,1985952 +# define sqlite3WalBeginWriteTransaction(52634,1986003 +# define sqlite3WalEndWriteTransaction(52635,1986054 +# define sqlite3WalUndo(52636,1986105 +# define sqlite3WalSavepoint(52637,1986156 +# define sqlite3WalSavepointUndo(52638,1986190 +# define sqlite3WalFrames(52639,1986241 +# define sqlite3WalCheckpoint(52640,1986292 +# define sqlite3WalCallback(52641,1986345 +# define sqlite3WalExclusiveMode(52642,1986396 +# define sqlite3WalHeapMemory(52643,1986447 +# define sqlite3WalFramesize(52644,1986498 +# define sqlite3WalFindFrame(52645,1986549 +# define sqlite3WalFile(52646,1986600 +typedef struct Wal Wal;52654,1986791 +int sqlite3PagerTrace=52850,1995529 +#define PAGERTRACE(52852,1995618 +#define PAGERTRACE(52854,1995699 +#define PAGERID(52865,1996021 +#define FILEHANDLEID(52866,1996067 +typedef struct PagerSavepoint PagerSavepoint;53165,2010636 +struct PagerSavepoint 53166,2010682 + i64 iOffset;53167,2010706 + i64 iHdrOffset;53168,2010775 + Bitvec *pInSavepoint;pInSavepoint53169,2010822 + Pgno nOrig;53170,2010890 + Pgno iSubRec;53171,2010960 + int bTruncateOnRelease;53172,2011034 + u32 aWalData[aWalData53174,2011139 +struct Pager 53353,2019817 + sqlite3_vfs *pVfs;pVfs53354,2019832 + u8 exclusiveMode;53355,2019895 + u8 journalMode;53356,2019972 + u8 useJournal;53357,2020046 + u8 noSync;53358,2020118 + u8 fullSync;53359,2020186 + u8 extraSync;53360,2020267 + u8 syncFlags;53361,2020339 + u8 walSyncFlags;53362,2020410 + u8 tempFile;53363,2020468 + u8 noLock;53364,2020547 + u8 readOnly;53365,2020616 + u8 memDb;53366,2020682 + u8 eState;53377,2021308 + u8 eLock;53378,2021388 + u8 changeCountDone;53379,2021459 + u8 setSuper;53380,2021537 + u8 doNotSpill;53381,2021610 + u8 subjInMemory;53382,2021683 + u8 bUseFetch;53383,2021754 + u8 hasHeldSharedLock;53384,2021811 + Pgno dbSize;53385,2021888 + Pgno dbOrigSize;53386,2021956 + Pgno dbFileSize;53387,2022030 + Pgno dbHintSize;53388,2022103 + int errCode;53389,2022176 + int nRec;53390,2022243 + u32 cksumInit;53391,2022324 + u32 nSubRec;53392,2022403 + Bitvec *pInJournal;pInJournal53393,2022480 + sqlite3_file *fd;fd53394,2022559 + sqlite3_file *jfd;jfd53395,2022624 + sqlite3_file *sjfd;sjfd53396,2022693 + i64 journalOff;53397,2022761 + i64 journalHdr;53398,2022838 + sqlite3_backup *pBackup;pBackup53399,2022913 + PagerSavepoint *aSavepoint;aSavepoint53400,2022993 + int nSavepoint;53401,2023056 + u32 iDataVersion;53402,2023127 + char dbFileVers[dbFileVers53403,2023205 + int nMmapOut;53405,2023281 + sqlite3_int64 szMmap;53406,2023360 + PgHdr *pMmapFreelist;pMmapFreelist53407,2023422 + u16 nExtra;53412,2023632 + i16 nReserve;53413,2023711 + u32 vfsFlags;53414,2023790 + u32 sectorSize;53415,2023856 + int pageSize;53416,2023928 + Pgno mxPgno;53417,2023990 + i64 journalSizeLimit;53418,2024063 + char *zFilename;zFilename53419,2024139 + char *zJournal;zJournal53420,2024201 + int (*xBusyHandler)xBusyHandler53421,2024262 + void *pBusyHandlerArg;pBusyHandlerArg53422,2024325 + int aStat[aStat53423,2024395 + int nRead;53425,2024491 + void (*xReiniter)xReiniter53427,2024554 + int (*xGet)xGet53428,2024629 + char *pTmpSpace;pTmpSpace53429,2024701 + PCache *pPCache;pPCache53430,2024779 + Wal *pWal;pWal53432,2024868 + char *zWal;zWal53433,2024947 +SQLITE_API int sqlite3_pager_readdb_count 53453,2025528 +SQLITE_API int sqlite3_pager_writedb_count 53454,2025618 +SQLITE_API int sqlite3_pager_writej_count 53455,2025709 +# define PAGER_INCR(53456,2025800 +# define PAGER_INCR(53458,2025834 +static const unsigned char aJournalMagic[aJournalMagic53486,2027168 +#define JOURNAL_PG_SZ(53494,2027365 +#define JOURNAL_HDR_SZ(53500,2027555 +# define USEFETCH(53519,2028134 +# define USEFETCH(53521,2028178 +#define isOpen(53536,2028503 +SQLITE_PRIVATE int sqlite3PagerDirectReadOk(53547,2028848 +# define pagerUseWal(53563,2029249 +# define pagerUseWal(53565,2029294 +# define pagerRollbackWal(53566,2029320 +# define pagerWalFrames(53567,2029351 +# define pagerOpenWalIfPresent(53568,2029386 +# define pagerBeginReadTransaction(53569,2029430 +static int assert_pager_state(53581,2029678 +char *print_pager_state(print_pager_state53726,2034908 +static void setGetterMethod(53779,2037048 +static int subjRequiresPage(53800,2037692 +static int pageInJournal(53821,2038203 +static int read32bits(53833,2038569 +#define put32bits(53845,2038865 +static int write32bits(53852,2039055 +static int pagerUnlockDb(53867,2039611 +static int pagerLockDb(53895,2040648 +static int jrnlBufferSize(53928,2041899 +static u32 pager_datahash(53974,2042998 +static u32 pager_pagehash(53982,2043165 +static void pager_set_pagehash(53985,2043289 +#define CHECK_PAGE(53994,2043611 +static void checkPage(53995,2043646 +#define pager_datahash(54002,2043838 +#define pager_pagehash(54003,2043869 +#define pager_set_pagehash(54004,2043898 +#define CHECK_PAGE(54005,2043928 +static int readSuperJournal(54033,2045177 +static i64 journalHdrOffset(54089,2047004 +static int zeroJournalHdr(54122,2048315 +static int writeJournalHdr(54172,2050193 +static int readJournalHdr(54290,2055507 +static int writeSuperJournal(54415,2060451 +static void pager_reset(54483,2062908 +SQLITE_PRIVATE u32 sqlite3PagerDataVersion(54492,2063104 +static void releaseAllSavepoints(54501,2063400 +static int addToSavepointBitvecs(54520,2064041 +static void pager_unlock(54552,2065279 +static int pager_error(54649,2069077 +static int pagerFlushOnCommit(54683,2070094 +static int pager_end_transaction(54743,2072789 +static void pagerUnlockAndRollback(54890,2078663 +static u32 pager_cksum(54924,2080077 +static int pager_playback_one_page(54971,2082117 +static int pager_delsuper(55218,2093188 +static int pager_truncate(55336,2097684 +SQLITE_PRIVATE int sqlite3SectorSize(55372,2098886 +static void setSectorSize(55406,2100325 +static int pager_playback(55479,2103674 +static int readDbPage(55696,2112228 +static void pager_write_changecounter(55759,2114555 +static int pagerUndoCallback(55786,2115714 +static int pagerRollbackWal(55821,2116762 +static int pagerWalFrames(55853,2117946 +static int pagerBeginReadTransaction(55920,2120029 +static int pagerPagecount(55953,2121244 +static int pagerOpenWalIfPresent(56013,2123563 +static int pagerPlaybackSavepoint(56080,2126217 +SQLITE_PRIVATE void sqlite3PagerSetCachesize(56192,2130342 +SQLITE_PRIVATE int sqlite3PagerSetSpillsize(56200,2130591 +static void pagerFixMaplimit(56207,2130804 +SQLITE_PRIVATE void sqlite3PagerSetMmapLimit(56223,2131233 +SQLITE_PRIVATE void sqlite3PagerShrink(56231,2131431 +SQLITE_PRIVATE void sqlite3PagerSetFlags(56287,2134237 +SQLITE_API int sqlite3_opentemp_count 56329,2135503 +static int pagerOpentemp(56347,2136016 +SQLITE_PRIVATE void sqlite3PagerSetBusyHandler(56386,2137514 +SQLITE_PRIVATE int sqlite3PagerSetPagesize(56430,2139404 +SQLITE_PRIVATE void *sqlite3PagerTempSpace(sqlite3PagerTempSpace56498,2141727 +SQLITE_PRIVATE Pgno sqlite3PagerMaxPageCount(56509,2142097 +static int saved_cnt;56532,2143004 +void disable_simulated_io_errors(56533,2143026 +void enable_simulated_io_errors(56537,2143141 +# define disable_simulated_io_errors(56541,2143228 +# define enable_simulated_io_errors(56542,2143267 +SQLITE_PRIVATE int sqlite3PagerReadFileheader(56559,2143929 +SQLITE_PRIVATE void sqlite3PagerPagecount(56587,2144787 +static int pager_wait_on_lock(56608,2145590 +static void assertTruncateConstraintCb(56650,2147413 +static void assertTruncateConstraint(56654,2147573 +# define assertTruncateConstraint(56658,2147708 +SQLITE_PRIVATE void sqlite3PagerTruncateImage(56672,2148288 +static int pagerSyncHotJournal(56704,2149725 +static int pagerAcquireMapPage(56726,2150432 +static void pagerReleaseMapPage(56770,2151654 +static void pagerFreeMapHdrs(56783,2152026 +static int databaseIsUnmoved(56797,2152493 +SQLITE_PRIVATE int sqlite3PagerClose(56831,2153737 +SQLITE_PRIVATE Pgno sqlite3PagerPagenumber(56892,2155778 +SQLITE_PRIVATE void sqlite3PagerRef(56900,2155918 +static int syncJournal(56939,2157437 +static int pager_write_pagelist(57082,2163640 +static int openSubJournal(57173,2167012 +static int subjournalPage(57199,2167937 +static int subjournalPageIfRequired(57235,2169146 +static int pagerStress(57262,2170232 +SQLITE_PRIVATE int sqlite3PagerFlush(57339,2172755 +SQLITE_PRIVATE int sqlite3PagerOpen(57388,2174773 +SQLITE_API sqlite3_file *sqlite3_database_file_object(sqlite3_database_file_object57759,2188818 +static int hasHotJournal(57800,2190677 +SQLITE_PRIVATE int sqlite3PagerSharedLock(57920,2196015 +static void pagerUnlockIfUnused(58137,2204785 +static int getPageNormal(58201,2207871 +static int getPageMMap(58303,2211127 +static int getPageError(58372,2213368 +SQLITE_PRIVATE int sqlite3PagerGet(58388,2213829 +SQLITE_PRIVATE DbPage *sqlite3PagerLookup(sqlite3PagerLookup58408,2214609 +SQLITE_PRIVATE void sqlite3PagerUnrefNotNull(58431,2215507 +SQLITE_PRIVATE void sqlite3PagerUnref(58443,2215927 +SQLITE_PRIVATE void sqlite3PagerUnrefPageOne(58446,2216024 +static int pager_open_journal(58478,2217325 +SQLITE_PRIVATE int sqlite3PagerBegin(58567,2220436 +static SQLITE_NOINLINE int pagerAddPageToRollbackJournal(58636,2223035 +static int pager_write(58693,2225200 +static SQLITE_NOINLINE int pagerWriteLargeSector(58785,2228627 +SQLITE_PRIVATE int sqlite3PagerWrite(58879,2232040 +SQLITE_PRIVATE int sqlite3PagerIswriteable(58903,2232847 +SQLITE_PRIVATE void sqlite3PagerDontWrite(58928,2233862 +static int pager_incr_changecounter(58962,2235393 +SQLITE_PRIVATE int sqlite3PagerSync(59045,2238339 +SQLITE_PRIVATE int sqlite3PagerExclusiveLock(59068,2239223 +SQLITE_PRIVATE int sqlite3PagerCommitPhaseOne(59110,2240828 +SQLITE_PRIVATE int sqlite3PagerCommitPhaseTwo(59340,2250163 +SQLITE_PRIVATE int sqlite3PagerRollback(59406,2252942 +SQLITE_PRIVATE u8 sqlite3PagerIsreadonly(59456,2254810 +SQLITE_PRIVATE int sqlite3PagerRefcount(59464,2254995 +SQLITE_PRIVATE int sqlite3PagerMemUsed(59473,2255225 +SQLITE_PRIVATE int sqlite3PagerPageRefcount(59484,2255604 +SQLITE_PRIVATE int *sqlite3PagerStats(sqlite3PagerStats59492,2255790 +SQLITE_PRIVATE void sqlite3PagerCacheStat(59520,2256822 +SQLITE_PRIVATE int sqlite3PagerIsMemdb(59543,2257546 +static SQLITE_NOINLINE int pagerOpenSavepoint(59557,2258089 +SQLITE_PRIVATE int sqlite3PagerOpenSavepoint(59603,2259838 +SQLITE_PRIVATE int sqlite3PagerSavepoint(59645,2261664 +SQLITE_PRIVATE const char *sqlite3PagerFilename(sqlite3PagerFilename59726,2264846 +SQLITE_PRIVATE sqlite3_vfs *sqlite3PagerVfs(sqlite3PagerVfs59734,2265117 +SQLITE_PRIVATE sqlite3_file *sqlite3PagerFile(sqlite3PagerFile59743,2265351 +SQLITE_PRIVATE sqlite3_file *sqlite3PagerJrnlFile(sqlite3PagerJrnlFile59751,2265567 +SQLITE_PRIVATE const char *sqlite3PagerJournalname(sqlite3PagerJournalname59762,2265814 +SQLITE_PRIVATE int sqlite3PagerMovepage(59792,2267144 +SQLITE_PRIVATE void sqlite3PagerRekey(59930,2272339 +SQLITE_PRIVATE void *sqlite3PagerGetData(sqlite3PagerGetData59939,2272561 +SQLITE_PRIVATE void *sqlite3PagerGetExtra(sqlite3PagerGetExtra59948,2272800 +SQLITE_PRIVATE int sqlite3PagerLockingMode(59962,2273292 +SQLITE_PRIVATE int sqlite3PagerSetJournalMode(59995,2274485 +SQLITE_PRIVATE int sqlite3PagerGetJournalMode(60086,2277675 +SQLITE_PRIVATE int sqlite3PagerOkToChangeJournalMode(60095,2277941 +SQLITE_PRIVATE i64 sqlite3PagerJournalSizeLimit(60108,2278377 +SQLITE_PRIVATE sqlite3_backup **sqlite3PagerBackupPtr(sqlite3PagerBackupPtr60122,2278837 +SQLITE_PRIVATE void sqlite3PagerClearCache(60130,2279047 +SQLITE_PRIVATE int sqlite3PagerCheckpoint(60145,2279509 +SQLITE_PRIVATE int sqlite3PagerWalCallback(60164,2280239 +SQLITE_PRIVATE int sqlite3PagerWalSupported(60172,2280469 +static int pagerExclusiveLock(60182,2280837 +static int pagerOpenWal(60202,2281535 +SQLITE_PRIVATE int sqlite3PagerOpenWal(60247,2283067 +SQLITE_PRIVATE int sqlite3PagerCloseWal(60286,2284339 +SQLITE_PRIVATE int sqlite3PagerWalWriteLock(60331,2285886 +SQLITE_PRIVATE void sqlite3PagerWalDb(60343,2286210 +SQLITE_PRIVATE int sqlite3PagerSnapshotGet(60355,2286511 +SQLITE_PRIVATE int sqlite3PagerSnapshotOpen(60368,2286935 +SQLITE_PRIVATE int sqlite3PagerSnapshotRecover(60385,2287300 +SQLITE_PRIVATE int sqlite3PagerSnapshotCheck(60407,2288078 +SQLITE_PRIVATE void sqlite3PagerSnapshotUnlock(60421,2288409 +SQLITE_PRIVATE int sqlite3PagerWalFramesize(60437,2288962 +SQLITE_PRIVATE int sqlite3WalTrace 60701,2302098 +# define WALTRACE(60702,2302138 +# define WALTRACE(60704,2302207 +#define WAL_READ_LOCK(60741,2303751 +typedef struct WalIndexHdr WalIndexHdr;60746,2303870 +typedef struct WalIterator WalIterator;60747,2303910 +typedef struct WalCkptInfo WalCkptInfo;60748,2303950 +struct WalIndexHdr 60764,2304578 + u32 iVersion;60765,2304599 + u32 unused;60766,2304657 + u32 iChange;60767,2304720 + u8 isInit;60768,2304797 + u8 bigEndCksum;60769,2304856 + u16 szPage;60770,2304936 + u32 mxFrame;60771,2305012 + u32 nPage;60772,2305089 + u32 aFrameCksum[aFrameCksum60773,2305155 + u32 aSalt[aSalt60774,2305225 + u32 aCksum[aCksum60775,2305304 +struct WalCkptInfo 60837,2308687 + u32 nBackfill;60838,2308708 + u32 aReadMark[aReadMark60839,2308788 + u8 aLock[aLock60840,2308841 + u32 nBackfillAttempted;60841,2308906 + u32 notUsed0;60842,2308987 +#define walFrameOffset(60877,2310352 +struct Wal 60885,2310597 + sqlite3_vfs *pVfs;pVfs60886,2310610 + sqlite3_file *pDbFd;pDbFd60887,2310674 + sqlite3_file *pWalFd;pWalFd60888,2310743 + u32 iCallback;60889,2310803 + i64 mxWalSize;60890,2310875 + int nWiData;60891,2310947 + int szFirstBlock;60892,2311005 + volatile u32 **apWiData;apWiData60893,2311080 + u32 szPage;60894,2311154 + i16 readLock;60895,2311208 + u8 syncFlags;60896,2311287 + u8 exclusiveMode;60897,2311357 + u8 writeLock;60898,2311436 + u8 ckptLock;60899,2311502 + u8 readOnly;60900,2311571 + u8 truncateOnCommit;60901,2311646 + u8 syncHeader;60902,2311717 + u8 padToSectorBoundary;60903,2311781 + u8 bShmUnreliable;60904,2311856 + WalIndexHdr hdr;60905,2311931 + u32 minFrame;60906,2312007 + u32 iReCksum;60907,2312076 + const char *zWalName;zWalName60908,2312154 + u32 nCkpt;60909,2312206 + u8 lockError;60911,2312307 + WalIndexHdr *pSnapshot;pSnapshot60914,2312416 + sqlite3 *db;db60917,2312528 +typedef u16 ht_slot;60939,2313061 +struct WalIterator 60956,2313676 + u32 iPrior;60957,2313697 + int nSegment;60958,2313776 + struct WalSegment 60959,2313848 + int iNext;60960,2313870 + ht_slot *aIndex;aIndex60961,2313949 + u32 *aPgno;aPgno60962,2314030 + int nEntry;60963,2314093 + int iZero;60964,2314172 + } aSegment[aSegment60965,2314250 +static SQLITE_NOINLINE int walIndexPageRealloc(61006,2315976 +static int walIndexPage(61053,2317589 +static volatile WalCkptInfo *walCkptInfo(walCkptInfo61067,2318000 +static volatile WalIndexHdr *walIndexHdr(walIndexHdr61075,2318256 +#define BYTESWAP32(61087,2318755 +static void walChecksumBytes(61101,2319180 +static void walShmBarrier(61144,2320193 +static SQLITE_NO_TSAN void walIndexWriteHdr(61168,2320821 +static void walEncodeFrame(61195,2321856 +static int walDecodeFrame(61226,2323070 +static const char *walLockName(walLockName61281,2324902 +static int walLockShared(61305,2325628 +static void walUnlockShared(61315,2326048 +static int walLockExclusive(61321,2326326 +static void walUnlockExclusive(61331,2326772 +static int walHash(61344,2327302 +static int walNextHash(61349,2327469 +typedef struct WalHashLoc WalHashLoc;61358,2327731 +struct WalHashLoc 61359,2327769 + volatile ht_slot *aHash;aHash61360,2327789 + volatile u32 *aPgno;aPgno61361,2327857 + u32 iZero;61362,2327935 +static int walHashGet(61379,2328646 +static int walFramePage(61408,2329589 +static u32 walFramePgno(61423,2330137 +static void walCleanupHash(61443,2330844 +static int walIndexAppend(61504,2333030 +static int walIndexRecover(61594,2336223 +static void walIndexClose(61816,2344477 +SQLITE_PRIVATE int sqlite3WalOpen(61844,2345587 +SQLITE_PRIVATE void sqlite3WalLimit(61918,2348150 +static int walIteratorNext(61932,2348675 +static void walMerge(61985,2350581 +static void walMergesort(62042,2352418 + struct Sublist 62048,2352719 + int nList;62049,2352738 + ht_slot *aList;aList62050,2352806 +static void walIteratorFree(62105,2354440 +static int walIteratorInit(62122,2355105 +static int walEnableBlocking(62204,2357799 +static void walDisableBlocking(62222,2358138 +SQLITE_PRIVATE int sqlite3WalWriteLock(62236,2358709 +SQLITE_PRIVATE void sqlite3WalDb(62258,2359273 +static int walLockWriter(62265,2359417 +# define walEnableBlocking(62273,2359590 +# define walDisableBlocking(62274,2359622 +# define walLockWriter(62275,2359653 +# define sqlite3WalDb(62276,2359726 +static int walBusyLock(62286,2360102 +static int walPagesize(62310,2360859 +static void walRestartHdr(62331,2361675 +static int walCheckpoint(62378,2363769 +static void walLimitSize(62564,2371374 +SQLITE_PRIVATE int sqlite3WalClose(62581,2371763 +static SQLITE_NO_TSAN int walIndexTryHdr(62662,2374907 +static int walIndexReadHdr(62732,2377667 +static int walBeginShmUnreliable(62856,2382807 +static int walTryBeginRead(63051,2391629 +SQLITE_PRIVATE int sqlite3WalSnapshotRecover(63281,2401431 +SQLITE_PRIVATE int sqlite3WalBeginReadTransaction(63351,2403828 +SQLITE_PRIVATE void sqlite3WalEndReadTransaction(63459,2407863 +SQLITE_PRIVATE int sqlite3WalFindFrame(63475,2408396 +SQLITE_PRIVATE int sqlite3WalReadFrame(63579,2412320 +SQLITE_PRIVATE Pgno sqlite3WalDbsize(63599,2413021 +SQLITE_PRIVATE int sqlite3WalBeginWriteTransaction(63620,2413675 +SQLITE_PRIVATE int sqlite3WalEndWriteTransaction(63668,2415010 +SQLITE_PRIVATE int sqlite3WalUndo(63690,2415759 +SQLITE_PRIVATE void sqlite3WalSavepoint(63730,2417365 +SQLITE_PRIVATE int sqlite3WalSavepointUndo(63744,2417863 +static int walRestartLog(63781,2419145 +typedef struct WalWriter 63828,2420816 + Wal *pWal;pWal63829,2420843 + sqlite3_file *pFd;pFd63830,2420909 + sqlite3_int64 iSyncPoint;63831,2420977 + int syncFlags;63832,2421035 + int szPage;63833,2421092 +} WalWriter;63834,2421146 +static int walWriteToLog(63844,2421446 +static int walWriteOneFrame(63869,2422285 +static int walRewriteChecksums(63895,2423439 +SQLITE_PRIVATE int sqlite3WalFrames(63944,2425309 +SQLITE_PRIVATE int sqlite3WalCheckpoint(64182,2434169 +SQLITE_PRIVATE int sqlite3WalCallback(64307,2438923 +SQLITE_PRIVATE int sqlite3WalExclusiveMode(64340,2440249 +SQLITE_PRIVATE int sqlite3WalHeapMemory(64382,2441748 +SQLITE_PRIVATE int sqlite3WalSnapshotGet(64391,2442055 +SQLITE_PRIVATE void sqlite3WalSnapshotOpen(64415,2442686 +SQLITE_API int sqlite3_snapshot_cmp(64426,2442968 +SQLITE_PRIVATE int sqlite3WalSnapshotCheck(64450,2443989 +SQLITE_PRIVATE void sqlite3WalSnapshotUnlock(64469,2444535 +SQLITE_PRIVATE int sqlite3WalFramesize(64483,2444917 +SQLITE_PRIVATE sqlite3_file *sqlite3WalFile(sqlite3WalFile64491,2445110 +#define MX_CELL_SIZE(64739,2456547 +#define MX_CELL(64746,2456867 +typedef struct MemPage MemPage;64749,2456938 +typedef struct BtLock BtLock;64750,2456970 +typedef struct CellInfo CellInfo;64751,2457000 +struct MemPage 64790,2458502 + u8 isInit;64791,2458519 + u8 bBusy;64792,2458595 + u8 intKey;64793,2458672 + u8 intKeyLeaf;64794,2458749 + Pgno pgno;64795,2458814 + u8 leaf;64798,2459019 + u8 hdrOffset;64799,2459068 + u8 childPtrSize;64800,2459126 + u8 max1bytePayload;64801,2459183 + u8 nOverflow;64802,2459230 + u16 maxLocal;64803,2459301 + u16 minLocal;64804,2459376 + u16 cellOffset;64805,2459451 + int nFree;64806,2459517 + u16 nCell;64807,2459595 + u16 maskPage;64808,2459669 + u16 aiOvfl[aiOvfl64809,2459719 + u8 *apOvfl[apOvfl64811,2459843 + BtShared *pBt;pBt64812,2459911 + u8 *aData;aData64813,2459986 + u8 *aDataEnd;aDataEnd64814,2460054 + u8 *aCellIdx;aCellIdx64815,2460120 + u8 *aDataOfst;aDataOfst64816,2460169 + DbPage *pDbPage;pDbPage64817,2460246 + u16 (*xCellSize)xCellSize64818,2460293 + void (*xParseCell)xParseCell64819,2460364 +struct BtLock 64829,2460777 + Btree *pBtree;pBtree64830,2460793 + Pgno iTable;64831,2460854 + u8 eLock;64832,2460903 + BtLock *pNext;pNext64833,2460957 +struct Btree 64861,2462141 + sqlite3 *db;db64862,2462156 + BtShared *pBt;pBt64863,2462226 + u8 inTrans;64864,2462284 + u8 sharable;64865,2462349 + u8 locked;64866,2462417 + u8 hasIncrblobCur;64867,2462480 + int wantToLock;64868,2462554 + int nBackup;64869,2462627 + u32 iBDataVersion;64870,2462701 + Btree *pNext;pNext64871,2462768 + Btree *pPrev;pPrev64872,2462842 + u64 nSeek;64874,2462919 + BtLock lock;64877,2463024 +struct BtShared 64941,2465251 + Pager *pPager;pPager64942,2465269 + sqlite3 *db;db64943,2465314 + BtCursor *pCursor;pCursor64944,2465391 + MemPage *pPage1;pPage164945,2465448 + u8 openFlags;64946,2465505 + u8 autoVacuum;64948,2465594 + u8 incrVacuum;64949,2465655 + u8 bDoTruncate;64950,2465716 + u8 inTransaction;64952,2465783 + u8 max1bytePayload;64953,2465831 + u8 nReserveWanted;64954,2465909 + u16 btsFlags;64955,2465978 + u16 maxLocal;64956,2466052 + u16 minLocal;64957,2466127 + u16 maxLeaf;64958,2466202 + u16 minLeaf;64959,2466274 + u32 pageSize;64960,2466346 + u32 usableSize;64961,2466408 + int nTransaction;64962,2466474 + u32 nPage;64963,2466547 + void *pSchema;pSchema64964,2466609 + void (*xFreeSchema)xFreeSchema64965,2466690 + sqlite3_mutex *mutex;mutex64966,2466759 + Bitvec *pHasContent;pHasContent64967,2466840 + int nRef;64969,2466952 + BtShared *pNext;pNext64970,2467021 + BtLock *pLock;pLock64971,2467095 + Btree *pWriter;pWriter64972,2467172 + u8 *pTmpSpace;pTmpSpace64974,2467253 + int nPreformatSize;64975,2467327 +struct CellInfo 64996,2468343 + i64 nKey;64997,2468361 + u8 *pPayload;pPayload64998,2468433 + u32 nPayload;64999,2468488 + u16 nLocal;65000,2468528 + u16 nSize;65001,2468599 +struct BtCursor 65041,2470179 + u8 eState;65042,2470197 + u8 curFlags;65043,2470275 + u8 curPagerFlags;65044,2470349 + u8 hints;65045,2470418 + int skipNext;65046,2470486 + Btree *pBtree;pBtree65048,2470624 + Pgno *aOverflow;aOverflow65049,2470697 + void *pKey;pKey65050,2470764 + BtShared *pBt;pBt65055,2471077 + BtCursor *pNext;pNext65056,2471146 + CellInfo info;65057,2471215 + i64 nKey;65058,2471288 + Pgno pgnoRoot;65059,2471356 + i8 iPage;65060,2471417 + u8 curIntKey;65061,2471483 + u16 ix;65062,2471544 + u16 aiIdx[aiIdx65063,2471610 + struct KeyInfo *pKeyInfo;pKeyInfo65064,2471682 + MemPage *pPage;pPage65065,2471761 + MemPage *apPage[apPage65066,2471821 +# define PENDING_BYTE_PAGE(65119,2473952 +#define PTRMAP_PAGENO(65136,2474673 +#define PTRMAP_PTROFFSET(65137,2474730 +#define PTRMAP_ISPAGE(65138,2474793 +#define btreeIntegrity(65180,2476751 +typedef struct IntegrityCk IntegrityCk;65209,2477791 +struct IntegrityCk 65210,2477831 + BtShared *pBt;pBt65211,2477852 + Pager *pPager;pPager65212,2477905 + u8 *aPgRef;aPgRef65213,2477985 + Pgno nPage;65214,2478048 + int mxErr;65215,2478106 + int nErr;65216,2478180 + int bOomFault;65217,2478251 + const char *zPfx;zPfx65218,2478316 + Pgno v1;65219,2478363 + int v2;65220,2478429 + StrAccum errMsg;65221,2478496 + u32 *heap;heap65222,2478561 + sqlite3 *db;db65223,2478629 +#define get2byte(65229,2478780 +#define put2byte(65230,2478823 +# define get2byteAligned(65240,2479176 +# define get2byteAligned(65242,2479271 +# define get2byteAligned(65244,2479381 +# define get2byteAligned(65246,2479445 +static void lockBtreeMutex(65259,2479891 +static void SQLITE_NOINLINE unlockBtreeMutex(65273,2480236 +SQLITE_PRIVATE void sqlite3BtreeEnter(65303,2481333 +static void SQLITE_NOINLINE btreeLockCarefully(65337,2482693 +SQLITE_PRIVATE void sqlite3BtreeLeave(65375,2483739 +SQLITE_PRIVATE int sqlite3BtreeHoldsMutex(65393,2484167 +static void SQLITE_NOINLINE btreeEnterAll(65418,2485121 +SQLITE_PRIVATE void sqlite3BtreeEnterAll(65432,2485427 +static void SQLITE_NOINLINE btreeLeaveAll(65435,2485532 +SQLITE_PRIVATE void sqlite3BtreeLeaveAll(65444,2485744 +SQLITE_PRIVATE int sqlite3BtreeHoldsAllMutexes(65455,2486042 +SQLITE_PRIVATE int sqlite3SchemaMutexHeld(65484,2486751 +SQLITE_PRIVATE void sqlite3BtreeEnter(65508,2487593 +SQLITE_PRIVATE void sqlite3BtreeEnterAll(65511,2487666 +SQLITE_PRIVATE void sqlite3BtreeEnterCursor(65530,2488203 +SQLITE_PRIVATE void sqlite3BtreeLeaveCursor(65534,2488324 +static const char zMagicHeader[zMagicHeader65565,2489380 +int sqlite3BtreeTrace=65572,2489525 +# define TRACE(65573,2489580 +# define TRACE(65575,2489653 +#define get2byteNotZero(65587,2490087 +#define IfNotOmitAV(65603,2490628 +#define IfNotOmitAV(65605,2490667 +SQLITE_PRIVATE BtShared *SQLITE_WSD sqlite3SharedCacheList 65618,2491055 +static BtShared *SQLITE_WSD sqlite3SharedCacheList 65620,2491125 +SQLITE_API int sqlite3_enable_shared_cache(65632,2491508 + #define querySharedCacheTableLock(65650,2492142 + #define setSharedCacheTableLock(65651,2492195 + #define clearAllSharedCacheTableLocks(65652,2492246 + #define downgradeAllSharedCacheTableLocks(65653,2492289 + #define hasSharedCacheTableLock(65654,2492336 + #define hasReadConflicts(65655,2492381 +SQLITE_PRIVATE sqlite3_uint64 sqlite3BtreeSeekCount(65662,2492507 +int corruptPageError(65679,2493080 +# define SQLITE_CORRUPT_PAGE(65692,2493451 +# define SQLITE_CORRUPT_PAGE(65694,2493533 +static int hasSharedCacheTableLock(65722,2494628 +static int hasReadConflicts(65811,2497734 +static int querySharedCacheTableLock(65831,2498295 +static int setSharedCacheTableLock(65903,2500929 +static void clearAllSharedCacheTableLocks(65967,2503066 +static void downgradeAllSharedCacheTableLocks(66011,2504468 +static int cursorHoldsMutex(66036,2505230 +static int cursorOwnsBtShared(66048,2505842 +#define invalidateOverflowCache(66058,2506088 +static void invalidateAllOverflowCache(66064,2506273 +static void invalidateIncrblobCursors(66086,2507075 + #define invalidateIncrblobCursors(66108,2507807 +static int btreeSetHasContent(66146,2509664 +static int btreeGetHasContent(66168,2510339 +static void btreeClearHasContent(66177,2510640 +static void btreeReleaseAllCursorPages(66185,2510815 +static int saveCursorKey(66209,2511654 +static int saveCursorPosition(66251,2513048 +static int saveAllCursors(66301,2514838 +static int SQLITE_NOINLINE saveCursorsOnList(66318,2515553 +SQLITE_PRIVATE void sqlite3BtreeClearCursor(66343,2516229 +static int btreeMoveto(66355,2516606 +static int btreeRestoreCursorPosition(66391,2517957 +#define restoreCursorPosition(66417,2518671 +SQLITE_PRIVATE int sqlite3BtreeCursorHasMoved(66434,2519318 +SQLITE_PRIVATE BtCursor *sqlite3BtreeFakeValidCursor(sqlite3BtreeFakeValidCursor66447,2519801 +SQLITE_PRIVATE int sqlite3BtreeCursorRestore(66466,2520544 +SQLITE_PRIVATE void sqlite3BtreeCursorHint(66490,2521169 +SQLITE_PRIVATE void sqlite3BtreeCursorHintFlags(66498,2521371 +static Pgno ptrmapPageno(66514,2521892 +static void ptrmapPut(66538,2522591 +static int ptrmapGet(66597,2524468 + #define ptrmapPut(66629,2525428 + #define ptrmapGet(66630,2525460 + #define ptrmapPutOvflPtr(66631,2525499 +#define findCell(66644,2525925 +#define findCellPastPtr(66646,2526023 +static SQLITE_NOINLINE void btreeParseCellAdjustSizeForOverflow(66656,2526365 +static int btreePayloadToLocal(66691,2527785 +static void btreeParseCellPtrNoPayload(66719,2528795 +static void btreeParseCellPtr(66736,2529320 +static void btreeParseCellPtrIndex(66804,2531242 +static void btreeParseCell(66841,2532493 +static u16 cellSizePtr(66861,2533223 +static u16 cellSizePtrNoPayload(66909,2534898 +static u16 cellSize(66935,2535781 +static void ptrmapPutOvflPtr(66947,2536234 +static int defragmentPage(66978,2537287 +static u8 *pageFindSlot(pageFindSlot67114,2542441 +static int allocateSpace(67182,2545184 +static int freeSpace(67278,2548817 +static int decodeFlags(67385,2552871 +static int btreeComputeFreeSpace(67438,2554809 +static SQLITE_NOINLINE int btreeCellSizeCheck(67520,2557903 +static int btreeInitPage(67561,2559413 +static void zeroPage(67614,2561474 +static MemPage *btreePageFromDbPage(btreePageFromDbPage67651,2562679 +static int btreeGetPage(67675,2563620 +static MemPage *btreePageLookup(btreePageLookup67697,2564388 +static Pgno btreePagecount(67711,2564766 +SQLITE_PRIVATE Pgno sqlite3BtreeLastPage(67714,2564832 +static int getAndInitPage(67732,2565435 +static void releasePageNotNull(67791,2567249 +static void releasePage(67800,2567604 +static void releasePageOne(67803,2567688 +static int btreeGetUnusedPage(67823,2568327 +static void pageReinit(67852,2569216 +static int btreeInvokeBusyHandler(67874,2570013 +SQLITE_PRIVATE int sqlite3BtreeOpen(67902,2571120 +static int removeFromSharingList(68200,2581496 +static void allocateTempSpace(68239,2582508 +static void freeTempSpace(68268,2583656 +SQLITE_PRIVATE int sqlite3BtreeClose(68279,2583875 +SQLITE_PRIVATE int sqlite3BtreeSetCacheSize(68345,2585777 +SQLITE_PRIVATE int sqlite3BtreeSetSpillSize(68364,2586479 +SQLITE_PRIVATE int sqlite3BtreeSetMmapLimit(68379,2586867 +SQLITE_PRIVATE int sqlite3BtreeSetPagerFlags(68398,2587652 +SQLITE_PRIVATE int sqlite3BtreeSetPageSize(68431,2588848 +SQLITE_PRIVATE int sqlite3BtreeGetPageSize(68463,2589849 +SQLITE_PRIVATE int sqlite3BtreeGetReserveNoMutex(68478,2590448 +SQLITE_PRIVATE int sqlite3BtreeGetRequestedReserve(68494,2590999 +SQLITE_PRIVATE Pgno sqlite3BtreeMaxPageCount(68509,2591424 +SQLITE_PRIVATE int sqlite3BtreeSecureDelete(68535,2592425 +SQLITE_PRIVATE int sqlite3BtreeSetAutoVacuum(68556,2593151 +SQLITE_PRIVATE int sqlite3BtreeGetAutoVacuum(68580,2593728 +static void setDefaultSyncFlag(68604,2594401 +# define setDefaultSyncFlag(68620,2594851 +static int lockBtree(68636,2595310 +static int countValidCursors(68824,2602106 +static void unlockBtreeIfUnused(68843,2602694 +static int newDatabase(68860,2603239 +SQLITE_PRIVATE int sqlite3BtreeNewDb(68904,2604559 +SQLITE_PRIVATE int sqlite3BtreeBeginTrans(68948,2606415 +static int setChildPtrmaps(69128,2612245 +static int modifyPagePointer(69173,2613686 +static int relocatePage(69234,2615479 +static int incrVacuumStep(69328,2618925 +static Pgno finalDbSize(69424,2621850 +SQLITE_PRIVATE int sqlite3BtreeIncrVacuum(69450,2622787 +static int autoVacuumCommit(69492,2624023 +# define setChildPtrmaps(69542,2625720 +SQLITE_PRIVATE int sqlite3BtreeCommitPhaseOne(69571,2627127 +static void btreeEndTransaction(69598,2627833 +SQLITE_PRIVATE int sqlite3BtreeCommitPhaseTwo(69660,2630445 +SQLITE_PRIVATE int sqlite3BtreeCommit(69692,2631297 +SQLITE_PRIVATE int sqlite3BtreeTripAllCursors(69729,2632776 +static void btreeSetNPage(69761,2633706 +SQLITE_PRIVATE int sqlite3BtreeRollback(69780,2634381 +SQLITE_PRIVATE int sqlite3BtreeBeginStmt(69845,2636653 +SQLITE_PRIVATE int sqlite3BtreeSavepoint(69876,2637921 +static int btreeCursor(69947,2640965 +static int btreeCursorWithLock(70012,2643365 +SQLITE_PRIVATE int sqlite3BtreeCursor(70025,2643878 +SQLITE_PRIVATE int sqlite3BtreeCursorSize(70047,2644738 +SQLITE_PRIVATE void sqlite3BtreeCursorZero(70059,2645170 +SQLITE_PRIVATE int sqlite3BtreeCloseCursor(70067,2645397 + static int cellInfoEqual(70111,2646703 + static void assertCellInfo(70119,2646982 + #define assertCellInfo(70126,2647206 +static SQLITE_NOINLINE void getCellInfo(70128,2647241 +SQLITE_PRIVATE int sqlite3BtreeCursorIsValid(70143,2647751 +SQLITE_PRIVATE int sqlite3BtreeCursorIsValidNN(70147,2647880 +SQLITE_PRIVATE i64 sqlite3BtreeIntegerKey(70158,2648271 +SQLITE_PRIVATE void sqlite3BtreeCursorPin(70169,2648517 +SQLITE_PRIVATE void sqlite3BtreeCursorUnpin(70173,2648658 +SQLITE_PRIVATE i64 sqlite3BtreeOffset(70183,2648955 +SQLITE_PRIVATE u32 sqlite3BtreePayloadSize(70201,2649680 +SQLITE_PRIVATE sqlite3_int64 sqlite3BtreeMaxRecordSize(70221,2650362 +static int getOverflowPage(70246,2651519 +static int copyPayload(70314,2653549 +static int accessPayload(70364,2655441 +SQLITE_PRIVATE int sqlite3BtreePayload(70566,2662861 +static SQLITE_NOINLINE int accessPayloadChecked(70580,2663378 +SQLITE_PRIVATE int sqlite3BtreePayloadChecked(70594,2663707 +static const void *fetchPayload(fetchPayload70623,2665003 +SQLITE_PRIVATE const void *sqlite3BtreePayloadFetch(sqlite3BtreePayloadFetch70662,2666535 +static int moveToChild(70676,2667016 +static void assertParentIndex(70703,2667916 +# define assertParentIndex(70714,2668334 +static void moveToParent(70725,2668645 +static int moveToRoot(70766,2670341 +static int moveToLeftmost(70853,2673112 +static int moveToRightmost(70878,2673912 +SQLITE_PRIVATE int sqlite3BtreeFirst(70901,2674606 +SQLITE_PRIVATE int sqlite3BtreeLast(70923,2675242 +SQLITE_PRIVATE int sqlite3BtreeTableMoveto(70988,2677443 +SQLITE_PRIVATE int sqlite3BtreeIndexMoveto(71159,2683040 +SQLITE_PRIVATE int sqlite3BtreeEof(71333,2689479 +SQLITE_PRIVATE i64 sqlite3BtreeRowCountEst(71346,2689935 +static SQLITE_NOINLINE int btreeNext(71386,2691376 +SQLITE_PRIVATE int sqlite3BtreeNext(71456,2693558 +static SQLITE_NOINLINE int btreePrevious(71496,2695048 +SQLITE_PRIVATE int sqlite3BtreePrevious(71545,2696267 +static int allocateBtreePage(71583,2697798 +static int freePage2(71905,2709739 +static void freePage(72039,2714863 +static SQLITE_NOINLINE int clearCellOverflow(72048,2715064 +#define BTREE_CLEAR_CELL(72122,2717732 +static int fillInCell(72143,2718577 +static void dropCell(72333,2724942 +static void insertCell(72389,2726872 +typedef struct CellArray CellArray;72564,2734492 +struct CellArray 72565,2734528 + int nCell;72566,2734547 + MemPage *pRef;pRef72567,2734607 + u8 **apCell;apCell72568,2734654 + u16 *szCell;szCell72569,2734711 + u8 *apEnd[apEnd72570,2734779 + int ixNx[ixNx72571,2734835 +static void populateCellCache(72578,2735002 +static SQLITE_NOINLINE u16 computeCellSize(72596,2735459 +static u16 cachedCellSize(72602,2735670 +static int rebuildPage(72621,2736379 +static int pageInsertArray(72711,2739945 +static int pageFreeArray(72776,2742504 +static int editPage(72835,2744373 +static int balance_quick(72963,2748672 +static int ptrmapCheckPages(73065,2752517 +static void copyNodeContent(73118,2754270 +static int balance_nonroot(73200,2757799 +static int balance_deeper(73998,2787657 +static int anotherValidCursor(74056,2789881 +static int balance(74079,2790500 +static int btreeOverwriteContent(74205,2795597 +static int btreeOverwriteCell(74248,2797163 +SQLITE_PRIVATE int sqlite3BtreeInsert(74327,2800461 +SQLITE_PRIVATE int sqlite3BtreeTransferRow(74633,2812231 +SQLITE_PRIVATE int sqlite3BtreeDelete(74743,2815977 +static int btreeCreateTable(74928,2823311 +SQLITE_PRIVATE int sqlite3BtreeCreateTable(75073,2827931 +static int clearDatabasePage(75085,2828227 +SQLITE_PRIVATE int sqlite3BtreeClearTable(75152,2830219 +SQLITE_PRIVATE int sqlite3BtreeClearTableOfCursor(75178,2830971 +static int btreeDropTable(75202,2832090 +SQLITE_PRIVATE int sqlite3BtreeDropTable(75287,2834349 +SQLITE_PRIVATE void sqlite3BtreeGetMeta(75316,2835539 +SQLITE_PRIVATE int sqlite3BtreeUpdateMeta(75346,2836388 +SQLITE_PRIVATE int sqlite3BtreeCount(75378,2837357 +SQLITE_PRIVATE Pager *sqlite3BtreePager(sqlite3BtreePager75447,2839695 +static void checkAppendMsg(75455,2839865 +static int getPageReferenced(75485,2840590 +static void setPageReferenced(75493,2840859 +static int checkRef(75507,2841347 +static void checkPtrmap(75527,2841944 +static void checkList(75556,2842852 +static void btreeHeapInsert(75645,2845961 +static int btreeHeapPull(75655,2846173 +static int checkTreePage(75689,2847131 +SQLITE_PRIVATE char *sqlite3BtreeIntegrityCheck(sqlite3BtreeIntegrityCheck75968,2858033 +SQLITE_PRIVATE const char *sqlite3BtreeGetFilename(sqlite3BtreeGetFilename76123,2862773 +SQLITE_PRIVATE const char *sqlite3BtreeGetJournalname(sqlite3BtreeGetJournalname76136,2863232 +SQLITE_PRIVATE int sqlite3BtreeTxnState(76145,2863515 +SQLITE_PRIVATE int sqlite3BtreeCheckpoint(76159,2863963 +SQLITE_PRIVATE int sqlite3BtreeIsInBackup(76178,2864426 +SQLITE_PRIVATE void *sqlite3BtreeSchema(sqlite3BtreeSchema76204,2865561 +SQLITE_PRIVATE int sqlite3BtreeSchemaLocked(76220,2866049 +SQLITE_PRIVATE int sqlite3BtreeLockTable(76237,2866526 +SQLITE_PRIVATE int sqlite3BtreePutData(76267,2867529 +SQLITE_PRIVATE void sqlite3BtreeIncrblobCursor(76315,2869272 +SQLITE_PRIVATE int sqlite3BtreeSetVersion(76326,2869587 +SQLITE_PRIVATE int sqlite3BtreeCursorHasHint(76361,2870607 +SQLITE_PRIVATE int sqlite3BtreeIsReadonly(76368,2870779 +SQLITE_PRIVATE int sqlite3HeaderSizeBtree(76375,2870957 +SQLITE_PRIVATE int sqlite3BtreeSharable(76381,2871155 +SQLITE_PRIVATE int sqlite3BtreeConnectionCount(76390,2871439 +struct sqlite3_backup 76418,2872319 + sqlite3* pDestDb;76419,2872343 + Btree *pDest;pDest76420,2872404 + u32 iDestSchema;76421,2872461 + int bDestLocked;76422,2872532 + Pgno iNext;76424,2872613 + sqlite3* pSrcDb;76425,2872690 + Btree *pSrc;pSrc76426,2872746 + int rc;76428,2872799 + Pgno nRemaining;76433,2873003 + Pgno nPagecount;76434,2873065 + int isAttached;76436,2873129 + sqlite3_backup *pNext;pNext76437,2873210 +static Btree *findBtree(findBtree76479,2875108 +static int setDestPgsz(76510,2875832 +static int checkReadTransaction(76522,2876242 +SQLITE_API sqlite3_backup *sqlite3_backup_init(sqlite3_backup_init76538,2876792 +static int isFatalError(76615,2879473 +static int backupOnePage(76624,2879744 +static int backupTruncateFile(76693,2882340 +static void attachBackupObject(76706,2882706 +SQLITE_API int sqlite3_backup_step(76718,2883005 +SQLITE_API int sqlite3_backup_finish(76972,2892648 +SQLITE_API int sqlite3_backup_remaining(77026,2894265 +SQLITE_API int sqlite3_backup_pagecount(77040,2894573 +static SQLITE_NOINLINE void backupUpdate(77062,2895275 +SQLITE_PRIVATE void sqlite3BackupUpdate(77087,2896020 +SQLITE_PRIVATE void sqlite3BackupRestart(77102,2896679 +SQLITE_PRIVATE int sqlite3BtreeCopyFile(77119,2897248 +#define ISPOWEROF2(77195,2899966 +SQLITE_PRIVATE int sqlite3VdbeCheckMemInvariants(77204,2900206 +static void vdbeMemRenderNum(77277,2902922 +SQLITE_PRIVATE int sqlite3VdbeMemValidStrRep(77324,2904755 +SQLITE_PRIVATE int sqlite3VdbeChangeEncoding(77370,2906289 +SQLITE_PRIVATE SQLITE_NOINLINE int sqlite3VdbeMemGrow(77404,2907450 +SQLITE_PRIVATE int sqlite3VdbeMemClearAndResize(77467,2909660 +static SQLITE_NOINLINE int vdbeMemAddTerminator(77488,2910390 +SQLITE_PRIVATE int sqlite3VdbeMemMakeWriteable(77505,2910845 +SQLITE_PRIVATE int sqlite3VdbeMemExpandBlob(77528,2911496 +SQLITE_PRIVATE int sqlite3VdbeMemNulTerminate(77556,2912299 +SQLITE_PRIVATE int sqlite3VdbeMemStringify(77581,2913351 +SQLITE_PRIVATE int sqlite3VdbeMemFinalize(77615,2914416 +SQLITE_PRIVATE int sqlite3VdbeMemAggValue(77645,2915369 +static SQLITE_NOINLINE void vdbeMemClearExternAndSetNull(77670,2916237 +static SQLITE_NOINLINE void vdbeMemClear(77693,2916937 +SQLITE_PRIVATE void sqlite3VdbeMemRelease(77714,2917544 +static SQLITE_NOINLINE i64 doubleToInt64(77726,2917899 +static SQLITE_NOINLINE i64 memIntValue(77762,2919115 +SQLITE_PRIVATE i64 sqlite3VdbeIntValue(77767,2919255 +static SQLITE_NOINLINE double memRealValue(77790,2919972 +SQLITE_PRIVATE double sqlite3VdbeRealValue(77796,2920178 +SQLITE_PRIVATE int sqlite3VdbeBooleanValue(77816,2920819 +SQLITE_PRIVATE void sqlite3VdbeIntegerAffinity(77827,2921178 +SQLITE_PRIVATE int sqlite3VdbeMemIntegerify(77855,2922079 +SQLITE_PRIVATE int sqlite3VdbeMemRealify(77869,2922475 +SQLITE_PRIVATE int sqlite3RealSameAsInt(77887,2923169 +SQLITE_PRIVATE int sqlite3VdbeMemNumerify(77902,2923690 +SQLITE_PRIVATE int sqlite3VdbeMemCast(77934,2924937 +SQLITE_PRIVATE void sqlite3VdbeMemInit(77977,2926284 +SQLITE_PRIVATE void sqlite3VdbeMemSetNull(77997,2926993 +SQLITE_PRIVATE void sqlite3ValueSetNull(78004,2927160 +SQLITE_PRIVATE void sqlite3VdbeMemSetZeroBlob(78012,2927359 +static SQLITE_NOINLINE void vdbeReleaseAndSetInt64(78027,2927761 +SQLITE_PRIVATE void sqlite3VdbeMemSetInt64(78037,2928014 +SQLITE_PRIVATE void sqlite3NoopDestructor(78047,2928236 +SQLITE_PRIVATE void sqlite3VdbeMemSetPointer(78053,2928416 +SQLITE_PRIVATE void sqlite3VdbeMemSetDouble(78072,2928920 +SQLITE_PRIVATE int sqlite3VdbeMemIsRowSet(78086,2929253 +SQLITE_PRIVATE int sqlite3VdbeMemSetRowSet(78099,2929615 +SQLITE_PRIVATE int sqlite3VdbeMemTooBig(78117,2930104 +SQLITE_PRIVATE void sqlite3VdbeMemAboutToChange(78138,2930683 +static SQLITE_NOINLINE void vdbeClrCopy(78173,2932109 +SQLITE_PRIVATE void sqlite3VdbeMemShallowCopy(78178,2932310 +SQLITE_PRIVATE int sqlite3VdbeMemCopy(78194,2932866 +SQLITE_PRIVATE void sqlite3VdbeMemMove(78217,2933503 +SQLITE_PRIVATE int sqlite3VdbeMemSetStr(78243,2934555 +SQLITE_PRIVATE int sqlite3VdbeMemFromBtree(78351,2937799 +SQLITE_PRIVATE int sqlite3VdbeMemFromBtreeZeroOffset(78374,2938592 +static SQLITE_NOINLINE const void *valueToText(valueToText78406,2939657 +SQLITE_PRIVATE const void *sqlite3ValueText(sqlite3ValueText78449,2941298 +SQLITE_PRIVATE sqlite3_value *sqlite3ValueNew(sqlite3ValueNew78467,2941832 +struct ValueNewStat4Ctx 78480,2942142 + Parse *pParse;pParse78481,2942168 + Index *pIdx;pIdx78482,2942185 + UnpackedRecord **ppRec;ppRec78483,2942200 + int iVal;78484,2942226 +static sqlite3_value *valueNew(valueNew78498,2942770 +static int valueFromFunction(78560,2944954 +# define valueFromFunction(78641,2947453 +static int valueFromExpr(78654,2947944 +SQLITE_PRIVATE int sqlite3ValueFromExpr(78809,2952963 +static int stat4ValueFromExpr(78838,2954019 +SQLITE_PRIVATE int sqlite3Stat4ProbeSetValue(78913,2956867 +SQLITE_PRIVATE int sqlite3Stat4ValueFromExpr(78958,2958427 +SQLITE_PRIVATE int sqlite3Stat4Column(78975,2959130 +SQLITE_PRIVATE void sqlite3Stat4ProbeFree(79020,2960858 +SQLITE_PRIVATE void sqlite3ValueSetStr(79038,2961298 +SQLITE_PRIVATE void sqlite3ValueFree(79051,2961691 +static SQLITE_NOINLINE int valueBytes(79062,2962033 +SQLITE_PRIVATE int sqlite3ValueBytes(79065,2962153 +SQLITE_PRIVATE Vdbe *sqlite3VdbeCreate(sqlite3VdbeCreate79108,2963525 +SQLITE_PRIVATE Parse *sqlite3VdbeParser(sqlite3VdbeParser79135,2964178 +SQLITE_PRIVATE void sqlite3VdbeError(79142,2964307 +SQLITE_PRIVATE void sqlite3VdbeSetSql(79153,2964583 +SQLITE_PRIVATE void sqlite3VdbeAddDblquoteStr(79167,2964944 +SQLITE_PRIVATE int sqlite3VdbeUsesDoubleQuotedString(79186,2965472 +SQLITE_PRIVATE void sqlite3VdbeSwap(79203,2965920 +static int growOpArray(79240,2966987 +static void test_addop_breakpoint(79289,2968877 +static SQLITE_NOINLINE int growOp3(79311,2969398 +SQLITE_PRIVATE int sqlite3VdbeAddOp3(79317,2969625 +SQLITE_PRIVATE int sqlite3VdbeAddOp0(79354,2970407 +SQLITE_PRIVATE int sqlite3VdbeAddOp1(79357,2970508 +SQLITE_PRIVATE int sqlite3VdbeAddOp2(79360,2970618 +SQLITE_PRIVATE int sqlite3VdbeGoto(79366,2970805 +SQLITE_PRIVATE int sqlite3VdbeLoadString(79373,2970998 +SQLITE_PRIVATE void sqlite3VdbeMultiLoad(79388,2971709 +SQLITE_PRIVATE int sqlite3VdbeAddOp4(79411,2972322 +SQLITE_PRIVATE int sqlite3VdbeAddFunctionCall(79435,2973267 +SQLITE_PRIVATE int sqlite3VdbeAddOp4Dup8(79472,2974463 +SQLITE_PRIVATE int sqlite3VdbeExplainParent(79491,2975105 +SQLITE_PRIVATE void sqlite3ExplainBreakpoint(79503,2975453 +SQLITE_PRIVATE void sqlite3VdbeExplain(79515,2975737 +SQLITE_PRIVATE void sqlite3VdbeExplainPop(79543,2976516 +SQLITE_PRIVATE void sqlite3VdbeAddParseSchemaOp(79557,2977005 +SQLITE_PRIVATE int sqlite3VdbeAddOp4Int(79568,2977360 +SQLITE_PRIVATE void sqlite3VdbeEndCoroutine(79587,2977910 +SQLITE_PRIVATE int sqlite3VdbeMakeLabel(79625,2979689 +static SQLITE_NOINLINE void resizeResolveLabel(79634,2979954 +SQLITE_PRIVATE void sqlite3VdbeResolveLabel(79649,2980388 +SQLITE_PRIVATE void sqlite3VdbeRunOnlyOnce(79671,2980956 +SQLITE_PRIVATE void sqlite3VdbeReusable(79678,2981101 +typedef struct VdbeOpIter VdbeOpIter;79700,2981724 +struct VdbeOpIter 79701,2981762 + Vdbe *v;v79702,2981782 + SubProgram **apSub;apSub79703,2981856 + int nSub;79704,2981912 + int iAddr;79705,2981974 + int iSub;79706,2982047 +static Op *opIterNext(opIterNext79708,2982130 +SQLITE_PRIVATE int sqlite3VdbeAssertMayAbort(79775,2983972 +SQLITE_PRIVATE void sqlite3VdbeIncrWriteCounter(79832,2986057 +SQLITE_PRIVATE void sqlite3VdbeAssertAbortable(79848,2986391 +static void resolveP2Values(79874,2987342 +SQLITE_PRIVATE int sqlite3VdbeCurrentAddr(79976,2990815 +SQLITE_PRIVATE void sqlite3VdbeVerifyNoMallocRequired(79990,2991386 +SQLITE_PRIVATE void sqlite3VdbeVerifyNoResultRow(80003,2991861 +SQLITE_PRIVATE void sqlite3VdbeVerifyAbortable(80017,2992187 +SQLITE_PRIVATE VdbeOp *sqlite3VdbeTakeOpArray(sqlite3VdbeTakeOpArray80033,2992832 +SQLITE_PRIVATE VdbeOp *sqlite3VdbeAddOpList(sqlite3VdbeAddOpList80053,2993437 +SQLITE_PRIVATE void sqlite3VdbeScanStatus(80101,2994785 +SQLITE_PRIVATE void sqlite3VdbeChangeOpcode(80129,2995761 +SQLITE_PRIVATE void sqlite3VdbeChangeP1(80132,2995891 +SQLITE_PRIVATE void sqlite3VdbeChangeP2(80135,2996000 +SQLITE_PRIVATE void sqlite3VdbeChangeP3(80138,2996109 +SQLITE_PRIVATE void sqlite3VdbeChangeP5(80141,2996218 +SQLITE_PRIVATE void sqlite3VdbeJumpHere(80150,2996491 +SQLITE_PRIVATE void sqlite3VdbeJumpHereOrPopInst(80167,2997070 +static void freeEphemeralFunction(80187,2997635 +static SQLITE_NOINLINE void freeP4Mem(80196,2997827 +static SQLITE_NOINLINE void freeP4FuncCtx(80200,2997966 +static void freeP4(80204,2998109 +static void vdbeFreeOpArray(80253,2999208 +SQLITE_PRIVATE void sqlite3VdbeLinkSubProgram(80271,2999743 +SQLITE_PRIVATE int sqlite3VdbeHasSubProgram(80279,2999934 +SQLITE_PRIVATE int sqlite3VdbeChangeToNoop(80286,3000072 +SQLITE_PRIVATE int sqlite3VdbeDeletePriorOpcode(80302,3000513 +SQLITE_PRIVATE void sqlite3VdbeReleaseRegisters(80315,3000863 +static void SQLITE_NOINLINE vdbeChangeP4Full(80362,3002510 +SQLITE_PRIVATE void sqlite3VdbeChangeP4(80381,3002921 +SQLITE_PRIVATE void sqlite3VdbeAppendP4(80424,3004143 +SQLITE_PRIVATE void sqlite3VdbeSetP4KeyInfo(80444,3004604 +static void vdbeVComment(80460,3005158 +SQLITE_PRIVATE void sqlite3VdbeComment(80470,3005536 +SQLITE_PRIVATE void sqlite3VdbeNoopComment(80478,3005719 +SQLITE_PRIVATE void sqlite3VdbeSetLineNumber(80493,3006074 +SQLITE_PRIVATE VdbeOp *sqlite3VdbeGetOp(sqlite3VdbeGetOp80511,3006888 +static int translateP(80532,3007567 +SQLITE_PRIVATE char *sqlite3VdbeDisplayComment(sqlite3VdbeDisplayComment80553,3008307 +static void displayP4Expr(80640,3011037 +SQLITE_PRIVATE char *sqlite3VdbeDisplayP4(sqlite3VdbeDisplayP480714,3013368 +SQLITE_PRIVATE void sqlite3VdbeUsesBtree(80839,3017008 +SQLITE_PRIVATE void sqlite3VdbeEnter(80870,3018360 +static SQLITE_NOINLINE void vdbeLeave(80891,3018865 +SQLITE_PRIVATE void sqlite3VdbeLeave(80905,3019150 +SQLITE_PRIVATE void sqlite3VdbePrintOp(80915,3019414 +static void initMemArray(80947,3020342 +static void releaseMemArray(80962,3020596 +SQLITE_PRIVATE int sqlite3VdbeFrameIsValid(81010,3022262 +SQLITE_PRIVATE void sqlite3VdbeFrameMemDel(81024,3022695 +SQLITE_PRIVATE int sqlite3VdbeNextOpcode(81039,3023185 +SQLITE_PRIVATE void sqlite3VdbeFrameDelete(81151,3027047 +SQLITE_PRIVATE int sqlite3VdbeList(81183,3028251 +SQLITE_PRIVATE void sqlite3VdbePrintSql(81279,3031582 +SQLITE_PRIVATE void sqlite3VdbeIOTraceSql(81298,3032033 +struct ReusableSpace 81328,3032858 + u8 *pSpace;pSpace81329,3032881 + sqlite3_int64 nFree;81330,3032929 + sqlite3_int64 nNeeded;81331,3032986 +static void *allocSpace(allocSpace81348,3033735 +SQLITE_PRIVATE void sqlite3VdbeRewind(81371,3034320 +SQLITE_PRIVATE void sqlite3VdbeMakeReady(81424,3035940 +SQLITE_PRIVATE void sqlite3VdbeFreeCursor(81549,3040420 +static void closeCursorsInFrame(81581,3041216 +SQLITE_PRIVATE int sqlite3VdbeFrameRestore(81599,3041638 +static void closeAllCursors(81628,3042496 +SQLITE_PRIVATE void sqlite3VdbeSetNumCols(81658,3043394 +SQLITE_PRIVATE int sqlite3VdbeSetColName(81683,3044256 +static int vdbeCommit(81711,3045342 +static void checkActiveVdbeCnt(81975,3054506 +#define checkActiveVdbeCnt(81994,3054914 +static SQLITE_NOINLINE int vdbeCloseStatement(82007,3055376 +SQLITE_PRIVATE int sqlite3VdbeCloseStatement(82053,3056703 +SQLITE_PRIVATE int sqlite3VdbeCheckFk(82072,3057392 +SQLITE_PRIVATE int sqlite3VdbeHalt(82099,3058369 +SQLITE_PRIVATE void sqlite3VdbeResetStepResult(82300,3065305 +SQLITE_PRIVATE int sqlite3VdbeTransferError(82312,3065708 +static void vdbeInvokeSqllog(82334,3066291 +# define vdbeInvokeSqllog(82347,3066685 +SQLITE_PRIVATE int sqlite3VdbeReset(82361,3067108 +SQLITE_PRIVATE int sqlite3VdbeFinalize(82458,3069919 +SQLITE_PRIVATE void sqlite3VdbeDeleteAuxData(82484,3070827 +SQLITE_PRIVATE void sqlite3VdbeClearObject(82512,3071670 +SQLITE_PRIVATE void sqlite3VdbeDelete(82553,3072697 +SQLITE_PRIVATE int SQLITE_NOINLINE sqlite3VdbeFinishMoveto(82579,3073289 +static int SQLITE_NOINLINE handleMovedCursor(82605,3074145 +SQLITE_PRIVATE int sqlite3VdbeCursorRestore(82620,3074646 +SQLITE_PRIVATE int sqlite3VdbeCursorMoveto(82641,3075459 +SQLITE_PRIVATE u32 sqlite3VdbeSerialType(82714,3078346 +static const u8 sqlite3SmallTypeSizes[sqlite3SmallTypeSizes82778,3079928 +SQLITE_PRIVATE u32 sqlite3VdbeSerialTypeLen(82798,3080765 +SQLITE_PRIVATE u8 sqlite3VdbeOneByteSerialTypeLen(82807,3081048 +static u64 floatSwap(82847,3082903 + u64 r;82849,3082943 + u32 i[i82850,3082954 +# define swapMixedEndianFloat(82860,3083060 +# define swapMixedEndianFloat(82862,3083117 +SQLITE_PRIVATE u32 sqlite3VdbeSerialPut(82878,3083732 +#define ONE_BYTE_INT(82917,3084690 +#define TWO_BYTE_INT(82918,3084730 +#define THREE_BYTE_INT(82919,3084783 +#define FOUR_BYTE_UINT(82920,3084850 +#define FOUR_BYTE_INT(82921,3084929 +static u32 serialGet(82932,3085401 +SQLITE_PRIVATE u32 sqlite3VdbeSerialGet(82968,3086714 +SQLITE_PRIVATE UnpackedRecord *sqlite3VdbeAllocUnpackedRecord(sqlite3VdbeAllocUnpackedRecord83073,3090512 +SQLITE_PRIVATE void sqlite3VdbeRecordUnpack(83093,3091307 +static int vdbeRecordCompareDebug(83147,3093241 +static void vdbeAssertFieldCountWithinLimits(83258,3097328 +# define vdbeAssertFieldCountWithinLimits(83279,3097867 +static int vdbeCompareMemString(83288,3098221 +static int isAllZero(83325,3099390 +SQLITE_PRIVATE SQLITE_NOINLINE int sqlite3BlobCompare(83338,3099728 +SQLITE_PRIVATE int sqlite3IntFloatCompare(83371,3100865 +SQLITE_PRIVATE int sqlite3MemCompare(83404,3101931 +static i64 vdbeRecordDecodeInt(83503,3105022 +SQLITE_PRIVATE int sqlite3VdbeRecordCompareWithSkip(83558,3106851 +SQLITE_PRIVATE int sqlite3VdbeRecordCompare(83755,3113346 +static int vdbeRecordCompareInt(83772,3113957 +static int vdbeRecordCompareString(83866,3116745 +SQLITE_PRIVATE RecordCompare sqlite3VdbeFindCompare(83930,3118483 +SQLITE_PRIVATE int sqlite3VdbeIdxRowid(83981,3120452 +SQLITE_PRIVATE int sqlite3VdbeIdxKeyCompare(84060,3123249 +SQLITE_PRIVATE void sqlite3VdbeSetChanges(84095,3124397 +SQLITE_PRIVATE void sqlite3VdbeCountChanges(84105,3124663 +SQLITE_PRIVATE void sqlite3ExpirePreparedStatements(84127,3125531 +SQLITE_PRIVATE sqlite3 *sqlite3VdbeDb(sqlite3VdbeDb84137,3125744 +SQLITE_PRIVATE u8 sqlite3VdbePrepareFlags(84144,3125864 +SQLITE_PRIVATE sqlite3_value *sqlite3VdbeGetBoundValue(sqlite3VdbeGetBoundValue84156,3126300 +SQLITE_PRIVATE void sqlite3VdbeSetVarmask(84178,3126944 +SQLITE_PRIVATE int sqlite3NotPureFunc(84197,3127543 +SQLITE_PRIVATE void sqlite3VtabImportErrmsg(84228,3128456 +static void vdbeFreeUnpacked(84249,3129141 +SQLITE_PRIVATE void sqlite3VdbePreUpdateHook(84268,3129779 +SQLITE_API int sqlite3_expired(84359,3132828 +static int vdbeSafety(84370,3133126 +static int vdbeSafetyNotNull(84378,3133299 +static SQLITE_NOINLINE void invokeProfileCallback(84392,3133660 +# define checkProfileCallback(84415,3134430 +# define checkProfileCallback(84418,3134534 +SQLITE_API int sqlite3_finalize(84430,3134947 +SQLITE_API int sqlite3_reset(84457,3135786 +SQLITE_API int sqlite3_clear_bindings(84478,3136272 +SQLITE_API const void *sqlite3_value_blob(sqlite3_value_blob84503,3136938 +SQLITE_API int sqlite3_value_bytes(84516,3137275 +SQLITE_API int sqlite3_value_bytes16(84519,3137381 +SQLITE_API double sqlite3_value_double(84522,3137496 +SQLITE_API int sqlite3_value_int(84525,3137602 +SQLITE_API sqlite_int64 sqlite3_value_int64(84528,3137706 +SQLITE_API unsigned int sqlite3_value_subtype(84531,3137816 +SQLITE_API void *sqlite3_value_pointer(sqlite3_value_pointer84535,3137973 +SQLITE_API const unsigned char *sqlite3_value_text(sqlite3_value_text84548,3138316 +SQLITE_API const void *sqlite3_value_text16(sqlite3_value_text1684552,3138486 +SQLITE_API const void *sqlite3_value_text16be(sqlite3_value_text16be84555,3138607 +SQLITE_API const void *sqlite3_value_text16le(sqlite3_value_text16le84558,3138726 +SQLITE_API int sqlite3_value_type(84566,3139049 +SQLITE_API int sqlite3_value_nochange(84652,3142677 +SQLITE_API int sqlite3_value_frombind(84657,3142878 +SQLITE_API sqlite3_value *sqlite3_value_dup(sqlite3_value_dup84663,3143026 +SQLITE_API void sqlite3_value_free(84686,3143659 +static void setResultStrOrError(84702,3144260 +static int invokeValueDestructor(84713,3144684 +SQLITE_API void sqlite3_result_blob(84729,3145110 +SQLITE_API void sqlite3_result_blob64(84739,3145343 +SQLITE_API void sqlite3_result_double(84753,3145695 +SQLITE_API void sqlite3_result_error(84757,3145872 +SQLITE_API void sqlite3_result_error16(84763,3146143 +SQLITE_API void sqlite3_result_int(84769,3146404 +SQLITE_API void sqlite3_result_int64(84773,3146579 +SQLITE_API void sqlite3_result_null(84777,3146751 +SQLITE_API void sqlite3_result_pointer(84781,3146905 +SQLITE_API void sqlite3_result_subtype(84793,3147233 +SQLITE_API void sqlite3_result_text(84799,3147462 +SQLITE_API void sqlite3_result_text64(84808,3147687 +SQLITE_API void sqlite3_result_text16(84825,3148140 +SQLITE_API void sqlite3_result_text16be(84834,3148374 +SQLITE_API void sqlite3_result_text16le(84843,3148606 +SQLITE_API void sqlite3_result_value(84853,3148869 +SQLITE_API void sqlite3_result_zeroblob(84857,3149052 +SQLITE_API int sqlite3_result_zeroblob64(84861,3149224 +SQLITE_API void sqlite3_result_error_code(84870,3149526 +SQLITE_API void sqlite3_result_error_toobig(84882,3149924 +SQLITE_API void sqlite3_result_error_nomem(84890,3150229 +SQLITE_PRIVATE void sqlite3ResultIntReal(84902,3150635 +static int doWalCallbacks(84916,3151025 +static int sqlite3Step(84946,3151897 +SQLITE_API int sqlite3_step(85080,3156270 +SQLITE_API void *sqlite3_user_data(sqlite3_user_data85129,3157947 +SQLITE_API sqlite3 *sqlite3_context_db_handle(sqlite3_context_db_handle85144,3158463 +SQLITE_API int sqlite3_vtab_nochange(85163,3159203 +SQLITE_PRIVATE sqlite3_int64 sqlite3StmtCurrentTime(85175,3159676 +static SQLITE_NOINLINE void *createAggContext(createAggContext85195,3160205 +SQLITE_API void *sqlite3_aggregate_context(sqlite3_aggregate_context85217,3160816 +SQLITE_API void *sqlite3_get_auxdata(sqlite3_get_auxdata85238,3161496 +SQLITE_API void sqlite3_set_auxdata(85266,3162376 +SQLITE_API int sqlite3_aggregate_count(85319,3163717 +SQLITE_API int sqlite3_column_count(85328,3163950 +SQLITE_API int sqlite3_data_count(85337,3164191 +static const Mem *columnNullValue(columnNullValue85346,3164425 +static Mem *columnMem(columnMem85386,3165958 +static void columnMallocFailure(85421,3167017 +SQLITE_API const void *sqlite3_column_blob(sqlite3_column_blob85441,3167708 +SQLITE_API int sqlite3_column_bytes(85451,3168050 +SQLITE_API int sqlite3_column_bytes16(85456,3168216 +SQLITE_API double sqlite3_column_double(85461,3168386 +SQLITE_API int sqlite3_column_int(85466,3168560 +SQLITE_API sqlite_int64 sqlite3_column_int64(85471,3168722 +SQLITE_API const unsigned char *sqlite3_column_text(sqlite3_column_text85476,3168906 +SQLITE_API sqlite3_value *sqlite3_column_value(sqlite3_column_value85481,3169104 +SQLITE_API const void *sqlite3_column_text16(sqlite3_column_text1685491,3169403 +SQLITE_API int sqlite3_column_type(85497,3169618 +static const void *columnName(columnName85519,3170504 +SQLITE_API const char *sqlite3_column_name(sqlite3_column_name85568,3171715 +SQLITE_API const void *sqlite3_column_name16(sqlite3_column_name1685572,3171863 +SQLITE_API const char *sqlite3_column_decltype(sqlite3_column_decltype85591,3172430 +SQLITE_API const void *sqlite3_column_decltype16(sqlite3_column_decltype1685595,3172586 +SQLITE_API const char *sqlite3_column_database_name(sqlite3_column_database_name85607,3173048 +SQLITE_API const void *sqlite3_column_database_name16(sqlite3_column_database_name1685611,3173209 +SQLITE_API const char *sqlite3_column_table_name(sqlite3_column_table_name85621,3173602 +SQLITE_API const void *sqlite3_column_table_name16(sqlite3_column_table_name1685625,3173757 +SQLITE_API const char *sqlite3_column_origin_name(sqlite3_column_origin_name85635,3174151 +SQLITE_API const void *sqlite3_column_origin_name16(sqlite3_column_origin_name1685639,3174308 +static int vdbeUnbind(85661,3175122 +static int bindText(85704,3176544 +SQLITE_API int sqlite3_bind_blob(85740,3177558 +SQLITE_API int sqlite3_bind_blob64(85752,3177818 +SQLITE_API int sqlite3_bind_double(85762,3178044 +SQLITE_API int sqlite3_bind_int(85772,3178318 +SQLITE_API int sqlite3_bind_int64(85775,3178437 +SQLITE_API int sqlite3_bind_null(85785,3178715 +SQLITE_API int sqlite3_bind_pointer(85794,3178919 +SQLITE_API int sqlite3_bind_text(85812,3179322 +SQLITE_API int sqlite3_bind_text64(85821,3179511 +SQLITE_API int sqlite3_bind_text16(85834,3179838 +SQLITE_API int sqlite3_bind_value(85844,3180067 +SQLITE_API int sqlite3_bind_zeroblob(85875,3180920 +SQLITE_API int sqlite3_bind_zeroblob64(85885,3181185 +SQLITE_API int sqlite3_bind_parameter_count(85904,3181723 +SQLITE_API const char *sqlite3_bind_parameter_name(sqlite3_bind_parameter_name85915,3182004 +SQLITE_PRIVATE int sqlite3VdbeParameterIndex(85926,3182335 +SQLITE_API int sqlite3_bind_parameter_index(85930,3182514 +SQLITE_PRIVATE int sqlite3TransferBindings(85937,3182759 +SQLITE_API int sqlite3_transfer_bindings(85964,3183682 +SQLITE_API sqlite3 *sqlite3_db_handle(sqlite3_db_handle85988,3184481 +SQLITE_API int sqlite3_stmt_readonly(85996,3184677 +SQLITE_API int sqlite3_stmt_isexplain(86004,3184893 +SQLITE_API int sqlite3_stmt_busy(86011,3185076 +SQLITE_API sqlite3_stmt *sqlite3_next_stmt(sqlite3_next_stmt86022,3185458 +SQLITE_API int sqlite3_stmt_status(86043,3185962 +SQLITE_API const char *sqlite3_sql(sqlite3_sql86073,3186712 +SQLITE_API char *sqlite3_expanded_sql(sqlite3_expanded_sql86087,3187188 +SQLITE_API const char *sqlite3_normalized_sql(sqlite3_normalized_sql86107,3187637 +static UnpackedRecord *vdbeUnpackRecord(vdbeUnpackRecord86125,3188257 +SQLITE_API int sqlite3_preupdate_old(86144,3188752 +SQLITE_API int sqlite3_preupdate_count(86207,3190675 +SQLITE_API int sqlite3_preupdate_depth(86225,3191413 +SQLITE_API int sqlite3_preupdate_blobwrite(86236,3191704 +SQLITE_API int sqlite3_preupdate_new(86247,3192013 +SQLITE_API int sqlite3_stmt_scanstatus(86322,3194308 +SQLITE_API void sqlite3_stmt_scanstatus_reset(86381,3195827 +static int findNextHostParameter(86417,3197091 +SQLITE_PRIVATE char *sqlite3VdbeExpandSql(sqlite3VdbeExpandSql86460,3198711 +# define memAboutToChange(86619,3204691 +# define memAboutToChange(86621,3204761 +SQLITE_API int sqlite3_search_count 86632,3205152 +SQLITE_API int sqlite3_interrupt_count 86644,3205555 +SQLITE_API int sqlite3_sort_count 86655,3205945 +SQLITE_API int sqlite3_max_blobsize 86666,3206352 +static void updateMaxBlobsize(86667,3206393 +# define HAS_UPDATE_HOOK(86679,3206714 +# define HAS_UPDATE_HOOK(86681,3206799 +SQLITE_API int sqlite3_found_count 86692,3207181 +# define UPDATE_MAX_BLOBSIZE(86700,3207411 +# define UPDATE_MAX_BLOBSIZE(86702,3207471 +static void test_trace_breakpoint(86719,3208052 +# define VdbeBranchTaken(86763,3210117 +# define VdbeBranchTaken(86765,3210153 + static void vdbeTakeBranch(86766,3210217 +#define Deephemeralize(86814,3212469 +#define isSorter(86819,3212666 +static VdbeCursor *allocateCursor(allocateCursor86825,3212827 +static int alsoAnInt(86903,3215824 +static void applyNumericAffinity(86927,3216795 +static void applyAffinity(86967,3218175 +SQLITE_API int sqlite3_value_numeric_type(87006,3219784 +SQLITE_PRIVATE void sqlite3ValueApplyAffinity(87020,3220151 +static u16 SQLITE_NOINLINE computeNumericType(87034,3220527 +static u16 numericType(87065,3221397 +SQLITE_PRIVATE void sqlite3VdbeMemPrettyPrint(87085,3221973 +static void memTracePrint(87145,3223629 +static void registerTrace(87171,3224503 +/**/ void sqlite3PrintMem(87180,3224737 +SQLITE_PRIVATE void sqlite3VdbeRegisterDump(87192,3224964 +# define REGISTER_TRACE(87200,3225133 +# define REGISTER_TRACE(87202,3225218 + __inline__ sqlite_uint64 sqlite3Hwtime(87244,3226490 + __declspec(87252,3226698 + __inline__ sqlite_uint64 sqlite3Hwtime(87263,3226942 + __inline__ sqlite_uint64 sqlite3Hwtime(87271,3227165 +SQLITE_PRIVATE sqlite_uint64 sqlite3Hwtime(87294,3227832 +static int checkSavepointCount(87316,3228458 +static SQLITE_NOINLINE Mem *out2PrereleaseWithClear(out2PrereleaseWithClear87329,3228769 +static Mem *out2Prerelease(out2Prerelease87334,3228906 +SQLITE_PRIVATE int sqlite3VdbeExec(87353,3229348 +case OP_Return:OP_Return87639,3239622 +case OP_HaltIfNull:OP_HaltIfNull87724,3242062 +case OP_Integer:OP_Integer87830,3245624 +case OP_Int64:OP_Int6487842,3245871 +case OP_Real:OP_Real87856,3246194 +case OP_SCopy:OP_SCopy88115,3253700 +case OP_IntCopy:OP_IntCopy88135,3254179 +case OP_AddImm:OP_AddImm88523,3266357 +case OP_MustBeInt:OP_MustBeInt88538,3266794 +case OP_RealAffinity:OP_RealAffinity88567,3267614 +case OP_Not:OP_Not89070,3285856 +case OP_BitNot:OP_BitNot89088,3286361 +case OP_IsNull:OP_IsNull89170,3288900 +case OP_NotNull:OP_NotNull89202,3289738 +case OP_RowSetAdd:OP_RowSetAdd93218,3429921 +case OP_IfPos:OP_IfPos93569,3442093 +case OP_IfNotZero:OP_IfNotZero93629,3444307 +case OP_DecrJumpZero:OP_DecrJumpZero93646,3444732 +case OP_TableLock:OP_TableLock94111,3459739 +case OP_Pagecount:OP_Pagecount94531,3472557 + u64 endTime 94875,3484241 + p->rc rc94923,3485867 + rc 94930,3486140 + rc 94961,3487035 + goto abort_due_to_error;94962,3487057 + rc 94969,3487200 + goto abort_due_to_error;94970,3487226 + rc 94977,3487409 + goto abort_due_to_error;94978,3487434 +typedef struct Incrblob Incrblob;95007,3488221 +struct Incrblob 95008,3488255 + int nByte;95009,3488273 + int iOffset;95010,3488333 + u16 iCol;95011,3488400 + BtCursor *pCsr;pCsr95012,3488468 + sqlite3_stmt *pStmt;pStmt95013,3488528 + sqlite3 *db;db95014,3488590 + char *zDb;zDb95015,3488646 + Table *pTab;pTab95016,3488692 +static int blobSeekToRow(95037,3489598 +SQLITE_API int sqlite3_blob_open(95102,3491517 +SQLITE_API int sqlite3_blob_close(95335,3499356 +static int blobReadWrite(95356,3499770 +SQLITE_API int sqlite3_blob_read(95429,3501991 +SQLITE_API int sqlite3_blob_write(95436,3502190 +SQLITE_API int sqlite3_blob_bytes(95446,3502526 +SQLITE_API int sqlite3_blob_reopen(95461,3503090 +typedef struct MergeEngine MergeEngine;95655,3511598 +typedef struct PmaReader PmaReader;95656,3511668 +typedef struct PmaWriter PmaWriter;95657,3511745 +typedef struct SorterRecord SorterRecord;95658,3511823 +typedef struct SortSubtask SortSubtask;95659,3511895 +typedef struct SorterFile SorterFile;95660,3511976 +typedef struct SorterList SorterList;95661,3512056 +typedef struct IncrMerger IncrMerger;95662,3512132 +struct SorterFile 95668,3512308 + sqlite3_file *pFd;pFd95669,3512328 + i64 iEof;95670,3512380 +struct SorterList 95681,3512778 + SorterRecord *pList;pList95682,3512798 + u8 *aMemory;aMemory95683,3512861 + int szPMA;95684,3512940 +struct MergeEngine 95751,3515912 + int nTree;95752,3515933 + SortSubtask *pTask;pTask95753,3516007 + int *aTree;aTree95754,3516067 + PmaReader *aReadr;aReadr95755,3516137 +typedef int (*SorterCompare)SorterCompare95789,3517808 +struct SortSubtask 95790,3517889 + SQLiteThread *pThread;pThread95791,3517910 + int bDone;95792,3517976 + VdbeSorter *pSorter;pSorter95793,3518057 + UnpackedRecord *pUnpacked;pUnpacked95794,3518128 + SorterList list;95795,3518193 + int nPMA;95796,3518267 + SorterCompare xCompare;95797,3518340 + SorterFile file;95798,3518404 + SorterFile file2;95799,3518471 +struct VdbeSorter 95812,3518858 + int mnPmaSize;95813,3518878 + int mxPmaSize;95814,3518945 + int mxKeysize;95815,3519026 + int pgsz;95816,3519101 + PmaReader *pReader;pReader95817,3519165 + MergeEngine *pMerger;pMerger95818,3519241 + sqlite3 *db;db95819,3519308 + KeyInfo *pKeyInfo;pKeyInfo95820,3519368 + UnpackedRecord *pUnpacked;pUnpacked95821,3519431 + SorterList list;95822,3519499 + int iMemory;95823,3519565 + int nMemory;95824,3519642 + u8 bUsePMA;95825,3519723 + u8 bUseThreads;95826,3519796 + u8 iPrev;95827,3519867 + u8 nTask;95828,3519941 + u8 typeMask;95829,3520003 + SortSubtask aTask[aTask95830,3520018 +struct PmaReader 95845,3520551 + i64 iReadOff;95846,3520570 + i64 iEof;95847,3520626 + int nAlloc;95848,3520697 + int nKey;95849,3520758 + sqlite3_file *pFd;pFd95850,3520817 + u8 *aAlloc;aAlloc95851,3520885 + u8 *aKey;aKey95852,3520966 + u8 *aBuffer;aBuffer95853,3521025 + int nBuffer;95854,3521081 + u8 *aMap;aMap95855,3521146 + IncrMerger *pIncr;pIncr95856,3521216 +struct IncrMerger 95891,3522984 + SortSubtask *pTask;pTask95892,3523004 + MergeEngine *pMerger;pMerger95893,3523071 + i64 iStartOff;95894,3523147 + int mxSz;95895,3523219 + int bEof;95896,3523290 + int bUseThread;95897,3523365 + SorterFile aFile[aFile95898,3523445 +struct PmaWriter 95909,3523878 + int eFWErr;95910,3523897 + u8 *aBuffer;aBuffer95911,3523967 + int nBuffer;95912,3524031 + int iBufStart;95913,3524101 + int iBufEnd;95914,3524171 + i64 iWriteOff;95915,3524240 + sqlite3_file *pFd;pFd95916,3524314 +struct SorterRecord 95937,3525345 + int nVal;95938,3525367 + SorterRecord *pNext;pNext95940,3525445 + int iNext;95941,3525516 + } u;95942,3525593 +#define SRVAL(95951,3525846 +static void vdbePmaReaderClear(95964,3526219 +static int vdbePmaReadBlob(95981,3526786 +static int vdbePmaReadVarint(96075,3530068 +static int vdbeSorterMapFile(96108,3531036 +static int vdbePmaReaderSeek(96125,3531617 +static int vdbePmaReaderNext(96172,3533053 +static int vdbePmaReaderInit(96219,3534336 +static int vdbeSorterCompareTail(96252,3535348 +static int vdbeSorterCompare(96279,3536497 +static int vdbeSorterCompareText(96298,3537219 +static int vdbeSorterCompareInt(96340,3538430 +SQLITE_PRIVATE int sqlite3VdbeSorterInit(96423,3541234 +static void vdbeSorterRecordFree(96528,3544853 +static void vdbeSortSubtaskCleanup(96541,3545182 +static void vdbeSorterWorkDebug(96564,3545866 +static void vdbeSorterRewindDebug(96570,3546109 +static void vdbeSorterPopulateDebug(96576,3546325 +static void vdbeSorterBlockDebug(96585,3546580 +# define vdbeSorterWorkDebug(96597,3546828 +# define vdbeSorterRewindDebug(96598,3546862 +# define vdbeSorterPopulateDebug(96599,3546896 +# define vdbeSorterBlockDebug(96600,3546934 +static int vdbeSorterJoinThread(96607,3547047 +static int vdbeSorterCreateThread(96628,3547605 +static int vdbeSorterJoinAll(96641,3548064 +# define vdbeSorterJoinAll(96660,3548768 +# define vdbeSorterJoinThread(96661,3548810 +static MergeEngine *vdbeMergeEngineNew(vdbeMergeEngineNew96671,3549104 +static void vdbeMergeEngineFree(96694,3549832 +static void vdbeIncrFree(96708,3550137 +SQLITE_PRIVATE void sqlite3VdbeSorterReset(96725,3550598 +SQLITE_PRIVATE void sqlite3VdbeSorterClose(96758,3551551 +static void vdbeSorterExtendFile(96780,3552282 +# define vdbeSorterExtendFile(96791,3552704 +static int vdbeSorterOpenTempFile(96799,3552967 +static int vdbeSortAllocUnpacked(96826,3553873 +static SorterRecord *vdbeSorterMerge(vdbeSorterMerge96840,3554290 +static SorterCompare vdbeSorterGetCompare(96882,3555199 +static int vdbeSorterSort(96896,3555613 +static void vdbePmaWriterInit(96947,3556744 +static void vdbePmaWriteBlob(96969,3557433 +static int vdbePmaWriterFinish(97002,3558459 +static void vdbePmaWriteVarint(97021,3559020 +static int vdbeSorterListToPMA(97042,3559776 +static int vdbeMergeEngineStep(97106,3561831 +static void *vdbeSorterFlushThread(vdbeSorterFlushThread97177,3564698 +static int vdbeSorterFlushPMA(97191,3565123 +SQLITE_PRIVATE int sqlite3VdbeSorterWrite(97261,3567502 +static int vdbeIncrPopulate(97373,3571335 +static void *vdbeIncrPopulateThread(vdbeIncrPopulateThread97415,3572669 +static int vdbeIncrBgPopulate(97425,3572932 +static int vdbeIncrSwap(97449,3573888 +static int vdbeIncrMergerNew(97488,3574756 +static void vdbeIncrMergerSetThreads(97512,3575516 +static void vdbeMergeEngineCompare(97525,3575887 +static int vdbeMergeEngineInit(97607,3578310 +static int vdbePmaReaderIncrMergeInit(97683,3581821 +static void *vdbePmaReaderBgIncrInit(vdbePmaReaderBgIncrInit97750,3584083 +static int vdbePmaReaderIncrInit(97771,3584903 +static int vdbeMergeEngineLevel0(97801,3586028 +static int vdbeSorterTreeDepth(97840,3587130 +static int vdbeSorterAddToTree(97858,3587683 +static int vdbeSorterMergeTreeBuild(97914,3589424 +static int vdbeSorterSetupMerge(97993,3592067 +SQLITE_PRIVATE int sqlite3VdbeSorterRewind(98075,3594782 +SQLITE_PRIVATE int sqlite3VdbeSorterNext(98127,3596332 +static void *vdbeSorterRowkey(vdbeSorterRowkey98165,3597670 +SQLITE_PRIVATE int sqlite3VdbeSorterRowkey(98192,3598353 +SQLITE_PRIVATE int sqlite3VdbeSorterCompare(98225,3599563 +typedef struct bytecodevtab bytecodevtab;98284,3601476 +struct bytecodevtab 98285,3601518 + sqlite3_vtab base;98286,3601540 + sqlite3 *db;db98287,3601598 + int bTablesUsed;98288,3601649 +typedef struct bytecodevtab_cursor bytecodevtab_cursor;98293,3601773 +struct bytecodevtab_cursor 98294,3601829 + sqlite3_vtab_cursor base;98295,3601858 + sqlite3_stmt *pStmt;pStmt98296,3601920 + int iRowid;98297,3601997 + int iAddr;98298,3602062 + int needFinalize;98299,3602105 + int showSubprograms;98300,3602180 + Op *aOp;aOp98301,3602248 + char *zP4;zP498302,3602297 + const char *zType;zType98303,3602350 + const char *zSchema;zSchema98304,3602402 + const char *zName;zName98305,3602456 + Mem sub;98306,3602508 +static int bytecodevtabConnect(98312,3602615 +static int bytecodevtabDisconnect(98363,3603645 +static int bytecodevtabOpen(98372,3603844 +static void bytecodevtabCursorClear(98386,3604268 +static int bytecodevtabClose(98404,3604671 +static int bytecodevtabNext(98415,3604929 +static int bytecodevtabEof(98446,3605671 +static int bytecodevtabColumn(98455,3605913 +static int bytecodevtabRowid(98563,3609309 +static int bytecodevtabFilter(98575,3609649 +static int bytecodevtabBestIndex(98617,3610894 +static sqlite3_module bytecodevtabModule 98648,3611805 +SQLITE_PRIVATE int sqlite3VdbeBytecodeVtabInit(98676,3612575 +SQLITE_PRIVATE int sqlite3VdbeBytecodeVtabInit(98685,3612878 +typedef struct MemJournal MemJournal;98718,3614338 +typedef struct FilePoint FilePoint;98719,3614376 +typedef struct FileChunk FileChunk;98720,3614412 +struct FileChunk 98728,3614676 + FileChunk *pNext;pNext98729,3614695 + u8 zChunk[zChunk98730,3614761 +#define fileChunkSize(98742,3615075 +struct FilePoint 98748,3615283 + sqlite3_int64 iOffset;98749,3615302 + FileChunk *pChunk;pChunk98750,3615380 +struct MemJournal 98757,3615577 + const sqlite3_io_methods *pMethod;pMethod98758,3615597 + int nChunkSize;98759,3615668 + int nSpill;98761,3615730 + FileChunk *pFirst;pFirst98762,3615800 + FilePoint endpoint;98763,3615869 + FilePoint readpoint;98764,3615940 + int flags;98766,3616020 + sqlite3_vfs *pVfs;pVfs98767,3616072 + const char *zJournal;zJournal98768,3616138 +static int memjrnlRead(98775,3616323 +static void memjrnlFreeChunks(98822,3617677 +static int memjrnlCreateFile(98834,3617928 +static int memjrnlWrite(98873,3619053 +static int memjrnlTruncate(98947,3621447 +static int memjrnlClose(98977,3622198 +static int memjrnlSync(98989,3622479 +static int memjrnlFileSize(98997,3622637 +static const struct sqlite3_io_methods MemJournalMethods 99006,3622876 +SQLITE_PRIVATE int sqlite3JournalOpen(99040,3624208 +SQLITE_PRIVATE void sqlite3MemJournalOpen(99076,3625409 +SQLITE_PRIVATE int sqlite3JournalCreate(99088,3625871 +SQLITE_PRIVATE int sqlite3JournalIsInMemory(99115,3626663 +SQLITE_PRIVATE int sqlite3JournalSize(99123,3626900 +static int walkWindowList(99153,3627863 +static SQLITE_NOINLINE int walkExpr(99192,3629235 +SQLITE_PRIVATE int sqlite3WalkExpr(99224,3630381 +SQLITE_PRIVATE int sqlite3WalkExprList(99232,3630608 +SQLITE_PRIVATE void sqlite3WalkWinDefnDummyCallback(99247,3631024 +SQLITE_PRIVATE int sqlite3WalkSelectExpr(99259,3631417 +SQLITE_PRIVATE int sqlite3WalkSelectFrom(99292,3632724 +SQLITE_PRIVATE int sqlite3WalkSelect(99330,3633977 +SQLITE_PRIVATE int sqlite3WalkerDepthIncrease(99353,3634606 +SQLITE_PRIVATE void sqlite3WalkerDepthDecrease(99358,3634767 +SQLITE_PRIVATE int sqlite3ExprWalkNoop(99373,3635262 +SQLITE_PRIVATE int sqlite3SelectWalkNoop(99382,3635505 +static int incrAggDepth(99423,3636936 +static void incrAggFunctionDepth(99427,3637079 +static void resolveAlias(99456,3638011 +static int nameInUsingClause(99512,3640054 +SQLITE_PRIVATE int sqlite3MatchEName(99529,3640597 +static int areDoubleQuotedStringsEnabled(99558,3641302 +SQLITE_PRIVATE Bitmask sqlite3ExprColUsed(99576,3641892 +static int lookupName(99624,3643810 +SQLITE_PRIVATE Expr *sqlite3CreateColumnExpr(sqlite3CreateColumnExpr100059,3659558 +static void notValidImpl(100101,3660975 +#define sqlite3ResolveNotValid(100118,3661640 +static int exprProbability(100127,3661996 +static int resolveExprStep(100147,3662638 +static int resolveAsName(100592,3679124 +static int resolveOrderByTermToExprList(100632,3680423 +static void resolveOutOfRangeError(100679,3681853 +static int resolveCompoundOrderBy(100705,3682966 +SQLITE_PRIVATE int sqlite3ResolveOrderGroupBy(100818,3686936 +static int resolveRemoveWindowsCb(100852,3688099 +static void windowRemoveExprFromSelect(100865,3688462 +# define windowRemoveExprFromSelect(100875,3688751 +static int resolveOrderGroupBy(100896,3689754 +static int resolveSelectStep(100959,3692305 +SQLITE_PRIVATE int sqlite3ResolveExprNames(101246,3703148 +SQLITE_PRIVATE int sqlite3ResolveExprListNames(101285,3704472 +SQLITE_PRIVATE void sqlite3ResolveSelectNames(101341,3706425 +SQLITE_PRIVATE int sqlite3ResolveSelfReference(101375,3707740 +SQLITE_PRIVATE char sqlite3TableColumnAffinity(101435,3709954 +SQLITE_PRIVATE char sqlite3ExprAffinity(101456,3710664 +SQLITE_PRIVATE Expr *sqlite3ExprAddCollateToken(sqlite3ExprAddCollateToken101505,3712345 +SQLITE_PRIVATE Expr *sqlite3ExprAddCollateString(sqlite3ExprAddCollateString101521,3712877 +SQLITE_PRIVATE Expr *sqlite3ExprSkipCollate(sqlite3ExprSkipCollate101531,3713143 +SQLITE_PRIVATE Expr *sqlite3ExprSkipCollateAndLikely(sqlite3ExprSkipCollateAndLikely101544,3713480 +SQLITE_PRIVATE CollSeq *sqlite3ExprCollSeq(sqlite3ExprCollSeq101573,3714476 +SQLITE_PRIVATE CollSeq *sqlite3ExprNNCollSeq(sqlite3ExprNNCollSeq101645,3716521 +SQLITE_PRIVATE int sqlite3ExprCollSeqMatch(101655,3716805 +SQLITE_PRIVATE char sqlite3CompareAffinity(101666,3717268 +static char comparisonAffinity(101688,3718086 +SQLITE_PRIVATE int sqlite3IndexAffinityOk(101711,3718939 +static u8 binaryCompareP5(101726,3719373 +SQLITE_PRIVATE CollSeq *sqlite3BinaryCompareCollSeq(sqlite3BinaryCompareCollSeq101748,3720139 +SQLITE_PRIVATE CollSeq *sqlite3ExprCompareCollSeq(sqlite3ExprCompareCollSeq101776,3721010 +static int codeCompare(101787,3721336 +SQLITE_PRIVATE int sqlite3ExprIsVector(101823,3722658 +SQLITE_PRIVATE int sqlite3ExprVectorSize(101833,3723019 +SQLITE_PRIVATE Expr *sqlite3VectorFieldSubexpr(sqlite3VectorFieldSubexpr101860,3723901 +SQLITE_PRIVATE Expr *sqlite3ExprForVectorField(sqlite3ExprForVectorField101894,3725287 +static int exprCodeSubselect(101941,3727227 +static int exprVectorRegister(101969,3728289 +static void codeVectorCompare(102005,3729623 +SQLITE_PRIVATE int sqlite3ExprCheckHeight(102100,3732958 +static void heightOfExpr(102121,3733658 +static void heightOfExprList(102128,3733793 +static void heightOfSelect(102136,3733961 +static void exprSetHeight(102158,3734698 +SQLITE_PRIVATE void sqlite3ExprSetHeightAndFlags(102179,3735343 +SQLITE_PRIVATE int sqlite3SelectExprHeight(102189,3735634 +SQLITE_PRIVATE void sqlite3ExprSetHeightAndFlags(102199,3735922 +#define exprSetHeight(102205,3736158 +SQLITE_PRIVATE Expr *sqlite3ExprAlloc(sqlite3ExprAlloc102228,3737231 +SQLITE_PRIVATE Expr *sqlite3Expr(sqlite3Expr102276,3738558 +SQLITE_PRIVATE void sqlite3ExprAttachSubtrees(102293,3739090 +SQLITE_PRIVATE Expr *sqlite3PExpr(sqlite3PExpr102323,3739824 +SQLITE_PRIVATE void sqlite3PExprAddSelect(102348,3740566 +SQLITE_PRIVATE Select *sqlite3ExprListToValues(sqlite3ExprListToValues102378,3741568 +SQLITE_PRIVATE Expr *sqlite3ExprAnd(sqlite3ExprAnd102418,3742722 +SQLITE_PRIVATE Expr *sqlite3ExprFunction(sqlite3ExprFunction102439,3743303 +SQLITE_PRIVATE void sqlite3ExprFunctionUsable(102478,3744529 +SQLITE_PRIVATE void sqlite3ExprAssignVarNumber(102517,3746094 +static SQLITE_NOINLINE void sqlite3ExprDeleteNN(102585,3748242 +SQLITE_PRIVATE void sqlite3ExprDelete(102624,3749737 +SQLITE_PRIVATE void sqlite3ExprDeferredDelete(102639,3750220 +SQLITE_PRIVATE void sqlite3ExprUnmapAndDelete(102647,3750469 +static int exprStructSize(102661,3750861 +static int dupedExprStructSize(102701,3752717 +static int dupedExprNodeSize(102732,3753685 +static int dupedExprSize(102753,3754521 +static Expr *exprDup(exprDup102772,3755202 +SQLITE_PRIVATE With *sqlite3WithDup(sqlite3WithDup102882,3759006 +# define sqlite3WithDup(102900,3759540 +static int gatherSelectWindowsCallback(102910,3759897 +static int gatherSelectWindowsSelectCallback(102921,3760266 +static void gatherSelectWindows(102924,3760401 +SQLITE_PRIVATE Expr *sqlite3ExprDup(sqlite3ExprDup102953,3761478 +SQLITE_PRIVATE ExprList *sqlite3ExprListDup(sqlite3ExprListDup102957,3761640 +SQLITE_PRIVATE SrcList *sqlite3SrcListDup(sqlite3SrcListDup103011,3763453 +SQLITE_PRIVATE IdList *sqlite3IdListDup(sqlite3IdListDup103055,3765025 +SQLITE_PRIVATE Select *sqlite3SelectDup(sqlite3SelectDup103079,3765816 +SQLITE_PRIVATE Select *sqlite3SelectDup(sqlite3SelectDup103128,3767437 +static const struct ExprList_item zeroItem 103150,3768311 +SQLITE_PRIVATE SQLITE_NOINLINE ExprList *sqlite3ExprListAppendNew(sqlite3ExprListAppendNew103151,3768361 +SQLITE_PRIVATE SQLITE_NOINLINE ExprList *sqlite3ExprListAppendGrow(sqlite3ExprListAppendGrow103170,3768907 +SQLITE_PRIVATE ExprList *sqlite3ExprListAppend(sqlite3ExprListAppend103192,3769603 +SQLITE_PRIVATE ExprList *sqlite3ExprListAppendVector(sqlite3ExprListAppendVector103221,3770548 +SQLITE_PRIVATE void sqlite3ExprListSetSortOrder(103283,3772819 +SQLITE_PRIVATE void sqlite3ExprListSetName(103321,3773882 +SQLITE_PRIVATE void sqlite3ExprListSetSpan(103356,3775149 +SQLITE_PRIVATE void sqlite3ExprListCheckLength(103378,3775829 +static SQLITE_NOINLINE void exprListDeleteNN(103394,3776229 +SQLITE_PRIVATE void sqlite3ExprListDelete(103405,3776549 +SQLITE_PRIVATE u32 sqlite3ExprListFlags(103413,3776750 +SQLITE_PRIVATE int sqlite3SelectWalkFail(103432,3777221 +SQLITE_PRIVATE u32 sqlite3IsTrueOrFalse(103446,3777651 +SQLITE_PRIVATE int sqlite3ExprIdToTrueFalse(103458,3778051 +SQLITE_PRIVATE int sqlite3ExprTruthValue(103475,3778470 +SQLITE_PRIVATE Expr *sqlite3ExprSimplifiedAndOr(sqlite3ExprSimplifiedAndOr103496,3779262 +static int exprNodeIsConstant(103537,3781045 +static int exprIsConst(103609,3783651 +SQLITE_PRIVATE int sqlite3ExprIsConstant(103630,3784264 +SQLITE_PRIVATE int sqlite3ExprIsConstantNotJoin(103647,3784890 +SQLITE_PRIVATE int sqlite3ExprIsTableConstant(103657,3785234 +static int exprNodeIsConstantOrGroupBy(103665,3785416 +SQLITE_PRIVATE int sqlite3ExprIsConstantOrGroupBy(103709,3787225 +SQLITE_PRIVATE int sqlite3ExprIsConstantOrFunction(103741,3788554 +SQLITE_PRIVATE int sqlite3ExprContainsSubquery(103751,3788874 +SQLITE_PRIVATE int sqlite3ExprIsInteger(103770,3789473 +SQLITE_PRIVATE int sqlite3ExprCanBeNull(103816,3790911 +SQLITE_PRIVATE int sqlite3ExprNeedsNoAffinityChange(103852,3791961 +SQLITE_PRIVATE int sqlite3IsRowid(103888,3792819 +static Select *isCandidateForInOpt(isCandidateForInOpt103903,3793362 +static void sqlite3SetHasNullFlag(103948,3795251 +static int sqlite3InRhsIsConstant(103965,3795807 +SQLITE_PRIVATE int sqlite3FindInIndex(104058,3800175 +static char *exprINAffinity(exprINAffinity104281,3809315 +SQLITE_PRIVATE void sqlite3SubselectError(104313,3810133 +SQLITE_PRIVATE void sqlite3VectorErrorMsg(104332,3810703 +SQLITE_PRIVATE void sqlite3CodeRhsOfIN(104366,3812097 +SQLITE_PRIVATE int sqlite3CodeSubselect(104558,3819266 +SQLITE_PRIVATE int sqlite3ExprCheckIN(104678,3823765 +static void sqlite3ExprCodeIN(104719,3825316 +static void codeReal(104976,3835660 +static void codeInteger(104994,3836196 +SQLITE_PRIVATE void sqlite3ExprCodeLoadIndexColumn(105031,3837317 +SQLITE_PRIVATE void sqlite3ExprCodeGeneratedColumn(105056,3838245 +SQLITE_PRIVATE void sqlite3ExprCodeGetColumnOfTable(105081,3838911 +SQLITE_PRIVATE int sqlite3ExprCodeGetColumn(105138,3840847 +SQLITE_PRIVATE void sqlite3ExprCodeMove(105159,3841582 +static void exprToRegister(105168,3841915 +static int exprCodeVector(105187,3842577 +static void setDoNotMergeFlagOnCopy(105216,3843321 +static int exprCodeInlineFunction(105226,3843631 +SQLITE_PRIVATE int sqlite3ExprCodeTarget(105342,3847479 +SQLITE_PRIVATE int sqlite3ExprCodeRunJustOnce(106102,3876622 +SQLITE_PRIVATE int sqlite3ExprCodeTemp(106159,3878523 +SQLITE_PRIVATE void sqlite3ExprCode(106187,3879257 +SQLITE_PRIVATE void sqlite3ExprCodeCopy(106211,3880019 +SQLITE_PRIVATE void sqlite3ExprCodeFactorable(106224,3880547 +SQLITE_PRIVATE int sqlite3ExprCodeExprList(106252,3881712 +static void exprCodeBetween(106327,3883923 +SQLITE_PRIVATE void sqlite3ExprIfTrue(106399,3887042 +SQLITE_PRIVATE void sqlite3ExprIfFalse(106541,3892165 +SQLITE_PRIVATE void sqlite3ExprIfFalseDup(106713,3898305 +static int exprCompareVariable(106735,3899159 +SQLITE_PRIVATE int sqlite3ExprCompare(106787,3901348 +SQLITE_PRIVATE int sqlite3ExprListCompare(106871,3904351 +SQLITE_PRIVATE int sqlite3ExprCompareSkip(106890,3904904 +static int exprImpliesNotNull(106903,3905301 +SQLITE_PRIVATE int sqlite3ExprImpliesExpr(106999,3908560 +static int impliesNotNullRow(107026,3909462 +SQLITE_PRIVATE int sqlite3ExprImpliesNonNullRow(107131,3912933 +struct IdxCover 107159,3913743 + Index *pIdx;pIdx107160,3913761 + int iCur;107161,3913822 +static int exprIdxCover(107169,3914066 +SQLITE_PRIVATE int sqlite3ExprCoveredByIndex(107190,3914779 +struct SrcCount 107213,3915463 + SrcList *pSrc;pSrc107214,3915481 + int iSrcInner;107215,3915551 + int nThis;107216,3915615 + int nOther;107217,3915684 +static int selectSrcCount(107226,3916004 +static int exprSrcCount(107237,3916329 +SQLITE_PRIVATE int sqlite3FunctionUsesThisSrc(107270,3917688 +static int agginfoPersistExprCb(107304,3918879 +SQLITE_PRIVATE void sqlite3AggInfoPersistWalkerInit(107340,3920005 +static int addAggInfoColumn(107351,3920404 +static int addAggInfoFunc(107367,3920768 +static int analyzeAggregate(107384,3921167 +SQLITE_PRIVATE void sqlite3ExprAnalyzeAggregates(107521,3926267 +SQLITE_PRIVATE void sqlite3ExprAnalyzeAggList(107539,3926793 +SQLITE_PRIVATE int sqlite3GetTempReg(107552,3927140 +SQLITE_PRIVATE void sqlite3ReleaseTempReg(107563,3927389 +SQLITE_PRIVATE int sqlite3GetTempRange(107575,3927718 +SQLITE_PRIVATE void sqlite3ReleaseTempRange(107589,3928051 +SQLITE_PRIVATE void sqlite3ClearTempRegCache(107609,3928681 +SQLITE_PRIVATE int sqlite3NoTempsInRange(107620,3928977 +static int isAlterableTable(107669,3930552 +static void renameTestSchema(107691,3931254 +static void renameFixQuotes(107728,3932608 +static void renameReloadSchema(107749,3933280 +SQLITE_PRIVATE void sqlite3AlterRenameTable(107762,3933642 +static void sqlite3ErrorIfNotEmpty(107935,3939650 +SQLITE_PRIVATE void sqlite3AlterFinishAddColumn(107955,3940266 +SQLITE_PRIVATE void sqlite3AlterBeginAddColumn(108118,3946152 +static int isRealTable(108200,3948933 +# define isRealTable(108222,3949467 +SQLITE_PRIVATE void sqlite3AlterRenameColumn(108230,3949615 +struct RenameToken 108336,3953678 + void *p;p108337,3953699 + Token t;108338,3953768 + RenameToken *pNext;pNext108339,3953843 +typedef struct RenameCtx RenameCtx;108346,3954025 +struct RenameCtx 108347,3954061 + RenameToken *pList;pList108348,3954080 + int nList;108349,3954148 + int iCol;108350,3954214 + Table *pTab;pTab108351,3954284 + const char *zOld;zOld108352,3954344 +static void renameTokenCheckAll(108379,3955267 +# define renameTokenCheckAll(108392,3955561 +SQLITE_PRIVATE void *sqlite3RenameTokenMap(sqlite3RenameTokenMap108407,3956004 +SQLITE_PRIVATE void sqlite3RenameTokenRemap(108429,3956655 +static int renameUnmapExprCb(108443,3956960 +static void renameWalkWith(108453,3957248 +static void unmapColumnIdlistNames(108487,3958438 +static int renameUnmapSelectCb(108502,3958722 +SQLITE_PRIVATE void sqlite3RenameExprUnmap(108535,3959751 +SQLITE_PRIVATE void sqlite3RenameExprlistUnmap(108551,3960235 +static void renameTokenFree(108570,3960780 +static RenameToken *renameTokenFind(renameTokenFind108588,3961365 +static int renameColumnSelectCb(108617,3962019 +static int renameColumnExprCb(108636,3962656 +static RenameToken *renameColumnTokenNext(renameColumnTokenNext108661,3963559 +static void renameColumnParseError(108682,3964263 +static void renameColumnElistNames(108707,3964964 +static void renameColumnIdlistNames(108732,3965603 +static int renameParseSql(108754,3966075 +static int renameEditSql(108809,3967929 +static int renameResolveTrigger(108916,3971599 +static void renameWalkTrigger(109009,3974758 +static void renameParseCleanup(109040,3975775 +static void renameColumnFunc(109080,3977188 +static int renameTableExprCb(109243,3982317 +static int renameTableSelectCb(109254,3982620 +static void renameTableFunc(109298,3984103 +static int renameQuotefixExprCb(109436,3988255 +static void renameQuotefixFunc(109466,3989109 +static void renameTableTest(109570,3992343 +static void dropColumnFunc(109641,3994455 +SQLITE_PRIVATE void sqlite3AlterDropColumn(109705,3996286 +SQLITE_PRIVATE void sqlite3AlterFunctions(109835,4000835 +static void openStatTable(110014,4009563 + const char *zName;zName110022,4009928 + const char *zCols;zCols110023,4009951 +typedef struct StatAccum StatAccum;110112,4012767 +typedef struct StatSample StatSample;110113,4012803 +struct StatSample 110114,4012841 + tRowcnt *anEq;anEq110115,4012861 + tRowcnt *anDLt;anDLt110116,4012918 + tRowcnt *anLt;anLt110118,4013003 + i64 iRowid;110120,4013070 + u8 *aRowid;aRowid110121,4013143 + } u;110122,4013214 + u32 nRowid;110123,4013221 + u8 isPSample;110124,4013277 + int iCol;110125,4013343 + u32 iHash;110126,4013423 +struct StatAccum 110129,4013489 + sqlite3 *db;db110130,4013508 + tRowcnt nEst;110131,4013576 + tRowcnt nRow;110132,4013635 + int nLimit;110133,4013699 + int nCol;110134,4013757 + int nKeyCol;110135,4013829 + u8 nSkipAhead;110136,4013904 + StatSample current;110137,4013968 + tRowcnt nPSample;110139,4014057 + int mxSample;110140,4014125 + u32 iPrn;110141,4014199 + StatSample *aBest;aBest110142,4014272 + int iMin;110143,4014333 + int nSample;110144,4014408 + int nMaxEqZero;110145,4014468 + int iGet;110146,4014544 + StatSample *a;a110147,4014625 +static void sampleClear(110154,4014776 +static void sampleSetRowid(110166,4015006 +static void sampleSetRowidInt64(110182,4015391 +static void sampleCopy(110195,4015671 +static void statAccumDestructor(110213,4016235 +static void statInit(110248,4017628 +static const FuncDef statInitFuncdef 110335,4020753 +static int sampleIsBetterPost(110359,4021686 +static int sampleIsBetter(110383,4022286 +static void sampleInsert(110406,4022916 +static void samplePushPrevious(110498,4025945 +static void statPush(110550,4027661 +static const FuncDef statPushFuncdef 110625,4029818 +static void statGet(110662,4031406 +static const FuncDef statGetFuncdef 110777,4034852 +static void callStatGet(110789,4035173 +static void analyzeVdbeCommentIndexWithColumnName(110806,4035760 +# define analyzeVdbeCommentIndexWithColumnName(110823,4036340 +static void analyzeOneTable(110830,4036512 +static void loadAnalysis(111192,4050219 +static void analyzeDatabase(111202,4050441 +static void analyzeTable(111229,4051269 +SQLITE_PRIVATE void sqlite3Analyze(111260,4052335 +typedef struct analysisInfo analysisInfo;111312,4053912 +struct analysisInfo 111313,4053954 + sqlite3 *db;db111314,4053976 + const char *zDatabase;zDatabase111315,4053991 +static void decodeIntArray(111323,4054187 +static int analysisLoader(111396,4056114 +SQLITE_PRIVATE void sqlite3DeleteIndexSamples(111459,4057937 +static void initAvgEq(111484,4058536 +static Index *findIndexOrPrimaryKey(findIndexOrPrimaryKey111543,4060682 +static int loadStatTbl(111568,4061411 +static int loadStat4(111689,4065896 +SQLITE_PRIVATE int sqlite3AnalysisLoad(111724,4067224 +static int resolveAttachExpr(111829,4070421 +SQLITE_PRIVATE int sqlite3DbIsNamed(111846,4070781 +static void attachFunc(111868,4071482 +# define REOPEN_AS_MEMDB(111893,4072155 +# define REOPEN_AS_MEMDB(111895,4072214 +static void detachFunc(112061,4077515 +static void codeAttach(112123,4079158 +SQLITE_PRIVATE void sqlite3Detach(112194,4081221 +SQLITE_PRIVATE void sqlite3Attach(112214,4081812 +static int fixExprCb(112233,4082416 +static int fixSelectCb(112250,4082854 +SQLITE_PRIVATE void sqlite3FixInit(112293,4084178 +SQLITE_PRIVATE int sqlite3FixSrcList(112331,4085750 +SQLITE_PRIVATE int sqlite3FixSelect(112345,4086130 +SQLITE_PRIVATE int sqlite3FixExpr(112351,4086350 +SQLITE_PRIVATE int sqlite3FixTriggerStep(112360,4086590 +SQLITE_API int sqlite3_set_authorizer(112464,4090162 +static void sqliteAuthBadReturnCode(112484,4090757 +SQLITE_PRIVATE int sqlite3AuthReadCol(112498,4091352 +SQLITE_PRIVATE void sqlite3AuthRead(112534,4092766 +SQLITE_PRIVATE int sqlite3AuthCheck(112591,4094615 +SQLITE_PRIVATE void sqlite3AuthContextPush(112640,4096125 +SQLITE_PRIVATE void sqlite3AuthContextPop(112655,4096467 +struct TableLock 112697,4097741 + int iDb;112698,4097760 + Pgno iTab;112699,4097838 + u8 isWriteLock;112700,4097909 + const char *zLockName;zLockName112701,4097984 +static SQLITE_NOINLINE void lockTable(112714,4098445 +SQLITE_PRIVATE void sqlite3TableLock(112750,4099535 +static void codeTableLocks(112766,4100145 + #define codeTableLocks(112779,4100486 +SQLITE_PRIVATE int sqlite3DbMaskAllZero(112788,4100758 +SQLITE_PRIVATE void sqlite3FinishCoding(112805,4101258 +SQLITE_PRIVATE void sqlite3NestedParse(112962,4106568 +SQLITE_PRIVATE int sqlite3UserAuthTable(112997,4107678 +SQLITE_PRIVATE Table *sqlite3FindTable(sqlite3FindTable113014,4108319 +SQLITE_PRIVATE Table *sqlite3LocateTable(sqlite3LocateTable113092,4111165 +SQLITE_PRIVATE Table *sqlite3LocateTableItem(sqlite3LocateTableItem113155,4113260 +SQLITE_PRIVATE Index *sqlite3FindIndex(sqlite3FindIndex113183,4114104 +SQLITE_PRIVATE void sqlite3FreeIndex(113203,4114754 +SQLITE_PRIVATE void sqlite3UnlinkAndDeleteIndex(113223,4115376 +SQLITE_PRIVATE void sqlite3CollapseDatabaseArray(113256,4116451 +SQLITE_PRIVATE void sqlite3ResetOneSchema(113283,4117149 +SQLITE_PRIVATE void sqlite3ResetAllSchemasOfConnection(113307,4117759 +SQLITE_PRIVATE void sqlite3CommitInternalChanges(113331,4118342 +SQLITE_PRIVATE void sqlite3DeleteColumnNames(113339,4118550 +static void SQLITE_NOINLINE deleteTable(113369,4119653 +SQLITE_PRIVATE void sqlite3DeleteTable(113420,4121535 +SQLITE_PRIVATE void sqlite3UnlinkAndDeleteTable(113432,4121932 +SQLITE_PRIVATE char *sqlite3NameFromToken(sqlite3NameFromToken113460,4122905 +SQLITE_PRIVATE void sqlite3OpenSchemaTable(113475,4123260 +SQLITE_PRIVATE int sqlite3FindDbName(113490,4123783 +SQLITE_PRIVATE int sqlite3FindDb(113510,4124504 +SQLITE_PRIVATE int sqlite3TwoPartName(113535,4125385 +SQLITE_PRIVATE int sqlite3WritableSchema(113568,4126326 +SQLITE_PRIVATE int sqlite3CheckObjectName(113590,4127337 +SQLITE_PRIVATE Index *sqlite3PrimaryKeyIndex(sqlite3PrimaryKeyIndex113628,4128522 +SQLITE_PRIVATE i16 sqlite3TableColumnToIndex(113640,4128945 +SQLITE_PRIVATE i16 sqlite3StorageColumnToTable(113660,4129627 +SQLITE_PRIVATE i16 sqlite3TableColumnToStorage(113708,4131508 +static void sqlite3ForceNotReadOnly(113734,4132386 +SQLITE_PRIVATE void sqlite3StartTable(113759,4133495 +SQLITE_PRIVATE void sqlite3ColumnPropertiesFromName(113948,4140246 +static void sqlite3DeleteReturning(113968,4140919 +SQLITE_PRIVATE void sqlite3AddReturning(113992,4141983 +SQLITE_PRIVATE void sqlite3AddColumn(114040,4143600 +SQLITE_PRIVATE void sqlite3AddNotNull(114112,4145682 +SQLITE_PRIVATE char sqlite3AffinityType(114159,4147206 +SQLITE_PRIVATE void sqlite3AddDefaultValue(114236,4149689 +static void sqlite3StringToId(114295,4151912 +static void makeColumnPartOfPrimaryKey(114306,4152153 +SQLITE_PRIVATE void sqlite3AddPrimaryKey(114336,4153351 +SQLITE_PRIVATE void sqlite3AddCheckConstraint(114411,4155716 +SQLITE_PRIVATE void sqlite3AddCollateType(114445,4156740 +SQLITE_PRIVATE void sqlite3AddGenerated(114480,4157740 +SQLITE_PRIVATE void sqlite3ChangeCookie(114548,4160153 +static int identLength(114564,4160726 +static void identPut(114585,4161513 +static char *createTableStmt(createTableStmt114613,4162290 +static int resizeIndexObject(114681,4164239 +static void estimateTableWidth(114708,4165150 +static void estimateIndexWidth(114722,4165485 +static int hasColumn(114738,4166003 +static int isDupColumn(114761,4166716 +static void recomputeColumnsNotIndexed(114800,4168183 +static void convertToWithoutRowidTable(114840,4169866 +SQLITE_PRIVATE int sqlite3IsShadowTableOf(114997,4174788 +SQLITE_PRIVATE int sqlite3ShadowTableName(115021,4175729 +static int markImmutableExprStep(115043,4176519 +static void markExprListImmutable(115047,4176651 +#define markExprListImmutable(115058,4176930 +SQLITE_PRIVATE void sqlite3EndTable(115082,4177912 +SQLITE_PRIVATE void sqlite3CreateView(115381,4188259 +SQLITE_PRIVATE int sqlite3ViewGetColumnNames(115472,4191413 +static void sqliteViewResetAll(115603,4195888 +# define sqliteViewResetAll(115618,4196354 +SQLITE_PRIVATE void sqlite3RootPageMoved(115639,4197329 +static void destroyRootPage(115669,4198253 +static void destroyTable(115699,4199502 +static void sqlite3ClearStatTables(115748,4201018 +SQLITE_PRIVATE void sqlite3CodeDropTable(115771,4201651 +SQLITE_PRIVATE int sqlite3ReadOnlyShadowTables(115844,4203980 +static int tableMayNotBeDropped(115860,4204299 +SQLITE_PRIVATE void sqlite3DropTable(115876,4204800 +SQLITE_PRIVATE void sqlite3CreateForeignKey(115996,4208457 +SQLITE_PRIVATE void sqlite3DeferForeignKey(116126,4212154 +static void sqlite3RefillIndex(116147,4213016 +SQLITE_PRIVATE Index *sqlite3AllocateIndexObject(sqlite3AllocateIndexObject116253,4217778 +SQLITE_PRIVATE int sqlite3HasExplicitNulls(116286,4219216 +SQLITE_PRIVATE void sqlite3CreateIndex(116314,4220228 +SQLITE_PRIVATE void sqlite3DefaultRowEst(116922,4242142 +SQLITE_PRIVATE void sqlite3DropIndex(116966,4243734 +SQLITE_PRIVATE void *sqlite3ArrayAllocate(sqlite3ArrayAllocate117048,4246590 +SQLITE_PRIVATE IdList *sqlite3IdListAppend(sqlite3IdListAppend117078,4247449 +SQLITE_PRIVATE void sqlite3IdListDelete(117106,4248090 +SQLITE_PRIVATE int sqlite3IdListIndex(117120,4248426 +SQLITE_PRIVATE SrcList *sqlite3SrcListEnlarge(sqlite3SrcListEnlarge117161,4249869 +SQLITE_PRIVATE SrcList *sqlite3SrcListAppend(sqlite3SrcListAppend117250,4252901 +SQLITE_PRIVATE void sqlite3SrcListAssignCursors(117295,4254210 +SQLITE_PRIVATE void sqlite3SrcListDelete(117313,4254707 +SQLITE_PRIVATE SrcList *sqlite3SrcListAppendFromTerm(sqlite3SrcListAppendFromTerm117347,4256288 +SQLITE_PRIVATE void sqlite3SrcListIndexedBy(117398,4257998 +SQLITE_PRIVATE SrcList *sqlite3SrcListAppendList(sqlite3SrcListAppendList117423,4258843 +SQLITE_PRIVATE void sqlite3SrcListFuncArgs(117442,4259354 +SQLITE_PRIVATE void sqlite3SrcListShiftJoinType(117470,4260326 +SQLITE_PRIVATE void sqlite3BeginTransaction(117483,4260585 +SQLITE_PRIVATE void sqlite3EndTransaction(117519,4261535 +SQLITE_PRIVATE void sqlite3Savepoint(117541,4262135 +SQLITE_PRIVATE int sqlite3OpenTempDatabase(117561,4262881 +static void sqlite3CodeVerifySchemaAtToplevel(117596,4263938 +SQLITE_PRIVATE void sqlite3CodeVerifySchema(117608,4264384 +SQLITE_PRIVATE void sqlite3CodeVerifyNamedSchema(117617,4264684 +SQLITE_PRIVATE void sqlite3BeginWriteOperation(117641,4265667 +SQLITE_PRIVATE void sqlite3MultiWrite(117655,4266301 +SQLITE_PRIVATE void sqlite3MayAbort(117676,4267303 +SQLITE_PRIVATE void sqlite3HaltConstraint(117686,4267634 +SQLITE_PRIVATE void sqlite3UniqueConstraint(117708,4268320 +SQLITE_PRIVATE void sqlite3RowidConstraint(117744,4269434 +static int collationMatch(117768,4270217 +static void reindexTable(117787,4270699 +static void reindexDatabases(117808,4271377 +SQLITE_PRIVATE void sqlite3Reindex(117840,4272608 +SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoOfIndex(sqlite3KeyInfoOfIndex117900,4274597 +SQLITE_PRIVATE Cte *sqlite3CteNew(sqlite3CteNew117944,4276083 +static void cteClear(117973,4276929 +SQLITE_PRIVATE void sqlite3CteDelete(117983,4277193 +SQLITE_PRIVATE With *sqlite3WithAdd(sqlite3WithAdd117995,4277589 +SQLITE_PRIVATE void sqlite3WithDelete(118042,4278771 +static void callCollNeeded(118077,4279836 +static int synthCollSeq(118106,4280873 +SQLITE_PRIVATE int sqlite3CheckCollSeq(118133,4281896 +static CollSeq *findCollSeqEntry(findCollSeqEntry118161,4282843 +SQLITE_PRIVATE CollSeq *sqlite3FindCollSeq(sqlite3FindCollSeq118213,4284606 +SQLITE_PRIVATE void sqlite3SetTextEncoding(118235,4285331 +SQLITE_PRIVATE CollSeq *sqlite3GetCollSeq(sqlite3GetCollSeq118258,4286314 +SQLITE_PRIVATE CollSeq *sqlite3LocateCollSeq(sqlite3LocateCollSeq118309,4288079 +static int matchQuality(118352,4289858 +SQLITE_PRIVATE FuncDef *sqlite3FunctionSearch(sqlite3FunctionSearch118388,4290922 +SQLITE_PRIVATE void sqlite3InsertBuiltinFuncs(118404,4291282 +SQLITE_PRIVATE FuncDef *sqlite3FindFunction(sqlite3FindFunction118449,4292907 +SQLITE_PRIVATE void sqlite3SchemaClear(118541,4296089 +SQLITE_PRIVATE Schema *sqlite3SchemaGet(sqlite3SchemaGet118573,4297044 +SQLITE_PRIVATE Table *sqlite3SrcListLookup(sqlite3SrcListLookup118624,4298854 +static int tabIsReadOnly(118655,4299820 +SQLITE_PRIVATE int sqlite3IsReadOnly(118674,4300425 +SQLITE_PRIVATE void sqlite3MaterializeView(118695,4301089 +SQLITE_PRIVATE Expr *sqlite3LimitWhere(sqlite3LimitWhere118734,4302646 +SQLITE_PRIVATE void sqlite3DeleteFrom(118833,4306198 +SQLITE_PRIVATE void sqlite3GenerateRowDelete(119281,4323028 +SQLITE_PRIVATE void sqlite3GenerateRowIndexDelete(119433,4329590 +SQLITE_PRIVATE int sqlite3GenerateIndexKey(119498,4332860 +SQLITE_PRIVATE void sqlite3ResolvePartIdxLabel(119560,4335328 +static CollSeq *sqlite3GetFuncCollSeq(sqlite3GetFuncCollSeq119594,4336450 +static void sqlite3SkipAccumulatorLoad(119607,4336814 +static void minmaxFunc(119616,4337037 +static void typeofFunc(119646,4337755 +static void lengthFunc(119671,4338568 +static void absFunc(119713,4339505 +static void instrFunc(119762,4341221 +static void printfFunc(119830,4343164 +static void substrFunc(119866,4344231 +static void roundFunc(119961,4346437 +static void *contextMalloc(contextMalloc120002,4347744 +static void upperFunc(120023,4348290 +static void lowerFunc(120042,4348870 +static void randomFunc(120075,4350031 +static void randomBlob(120101,4350847 +static void last_insert_rowid(120125,4351376 +static void changes(120145,4352018 +static void total_changes(120159,4352404 +struct compareInfo 120174,4352837 + u8 matchAll;120175,4352858 + u8 matchOne;120176,4352899 + u8 matchSet;120177,4352940 + u8 noCase;120178,4352979 +# define sqlite3Utf8Read(120188,4353322 +# define Utf8Read(120189,4353369 +# define Utf8Read(120191,4353419 +static const struct compareInfo globInfo 120194,4353501 +static const struct compareInfo likeInfoNorm 120197,4353679 +static const struct compareInfo likeInfoAlt 120200,4353873 +static int patternCompare(120247,4355432 +SQLITE_API int sqlite3_strglob(120380,4360129 +SQLITE_API int sqlite3_strlike(120388,4360392 +SQLITE_API int sqlite3_like_count 120398,4360728 +static void likeFunc(120414,4361156 +static void nullifFunc(120485,4363333 +static void versionFunc(120501,4363739 +static void sourceidFunc(120517,4364231 +static void errlogFunc(120533,4364729 +static void compileoptionusedFunc(120549,4365160 +static void compileoptiongetFunc(120573,4365870 +static const char hexdigits[hexdigits120591,4366414 +static void quoteFunc(120603,4366857 +static void unicodeFunc(120679,4369095 +static void charFunc(120694,4369545 +static void hexFunc(120735,4370706 +static void zeroblobFunc(120763,4371414 +static void replaceFunc(120786,4372016 +static void trimFunc(120879,4375159 +static void unknownFunc(120971,4378096 +static void soundexFunc(120992,4378610 +static void loadExt(121045,4380180 +typedef struct SumCtx SumCtx;121076,4381056 +struct SumCtx 121077,4381086 + double rSum;121078,4381102 + i64 iSum;121079,4381147 + i64 cnt;121080,4381185 + u8 overflow;121081,4381237 + u8 approx;121082,4381293 +static void sumStep(121095,4381807 +static void sumInverse(121117,4382440 +static void sumFinalize(121142,4383184 +static void avgFinalize(121155,4383541 +static void totalFinalize(121162,4383739 +typedef struct CountCtx CountCtx;121173,4384076 +struct CountCtx 121174,4384110 + i64 n;121175,4384128 + int bInverse;121177,4384157 +static void countStep(121184,4384302 +static void countFinalize(121200,4384957 +static void countInverse(121206,4385150 +static void minmaxStep(121224,4385647 +static void minMaxValueFinalize(121262,4386921 +static void minMaxValue(121273,4387252 +static void minMaxFinalize(121279,4387405 +static void groupConcatStep(121286,4387538 +static void groupConcatInverse(121319,4388482 +static void groupConcatFinalize(121350,4389321 +static void groupConcatValue(121365,4389809 +SQLITE_PRIVATE void sqlite3RegisterPerConnectionBuiltinFunctions(121388,4390560 +SQLITE_PRIVATE void sqlite3RegisterLikeFunctions(121401,4390946 +SQLITE_PRIVATE int sqlite3IsLikeFunction(121434,4392392 +static void ceilingFunc(121503,4394334 +static double xCeil(121530,4395030 +static double xFloor(121531,4395079 +static void logFunc(121541,4395311 +static double degToRad(121591,4396445 +static double radToDeg(121592,4396504 +static void math1Func(121599,4396668 +static void math2Func(121621,4397196 +static void piFunc(121644,4397844 +static void signFunc(121658,4398082 +SQLITE_PRIVATE void sqlite3RegisterBuiltinFunctions(121680,4398673 +SQLITE_PRIVATE int sqlite3FkLocateIndex(122040,4415451 +static void fkLookupParent(122175,4420984 +static Expr *exprTableRegister(exprTableRegister122328,4427743 +static Expr *exprTableColumn(exprTableColumn122360,4428702 +static void fkScanChildren(122407,4430775 +SQLITE_PRIVATE FKey *sqlite3FkReferences(sqlite3FkReferences122536,4436197 +static void fkTriggerDelete(122548,4436644 +SQLITE_PRIVATE void sqlite3FkDropTable(122576,4437722 +static int fkChildIsModified(122639,4440320 +static int fkParentIsModified(122666,4441448 +static int isSetNullAction(122695,4442142 +SQLITE_PRIVATE void sqlite3FkCheck(122728,4443460 +#define COLUMN_MASK(122924,4451537 +SQLITE_PRIVATE u32 sqlite3FkOldmask(122930,4451711 +SQLITE_PRIVATE int sqlite3FkRequired(122980,4453560 +static Trigger *fkActionTrigger(fkActionTrigger123048,4456282 +SQLITE_PRIVATE void sqlite3FkActions(123240,4463407 +SQLITE_PRIVATE void sqlite3FkDelete(123272,4464787 +SQLITE_PRIVATE void sqlite3OpenTable(123338,4466970 +SQLITE_PRIVATE const char *sqlite3IndexAffinityStr(sqlite3IndexAffinityStr123385,4468651 +SQLITE_PRIVATE void sqlite3TableAffinity(123444,4470632 +static int readsTable(123483,4471765 +static int exprColumnFlagUnion(123520,4472759 +SQLITE_PRIVATE void sqlite3ComputeGeneratedColumns(123536,4473381 +static int autoIncBegin(123654,4477385 +SQLITE_PRIVATE void sqlite3AutoincrementBegin(123705,4479136 +static void autoIncStep(123766,4481363 +static SQLITE_NOINLINE void autoIncrementEnd(123779,4481824 +SQLITE_PRIVATE void sqlite3AutoincrementEnd(123816,4483009 +# define autoIncBegin(123824,4483223 +# define autoIncStep(123825,4483256 +SQLITE_PRIVATE void sqlite3Insert(123935,4487589 +static int checkConstraintExprNode(124682,4515466 +SQLITE_PRIVATE int sqlite3ExprReferencesUpdatedColumn(124711,4516531 +typedef struct IndexListTerm IndexListTerm;124744,4517726 +typedef struct IndexIterator IndexIterator;124745,4517770 +struct IndexIterator 124746,4517814 + int eType;124747,4517837 + int i;124748,4517916 + Index *pIdx;pIdx124751,4518059 + } lx;124752,4518104 + int nIdx;124754,4518189 + IndexListTerm *aIdx;aIdx124755,4518243 + } ax;124756,4518303 + } u;124757,4518313 +struct IndexListTerm 124763,4518427 + Index *p;p124764,4518450 + int ix;124765,4518479 +static Index *indexIteratorFirst(indexIteratorFirst124769,4518602 +static Index *indexIteratorNext(indexIteratorNext124781,4518919 +SQLITE_PRIVATE void sqlite3GenerateConstraintChecks(124888,4524360 +SQLITE_PRIVATE void sqlite3SetMakeRecordP5(125719,4558057 +static void codeWithoutRowidPreupdate(125741,4558771 +# define codeWithoutRowidPreupdate(125757,4559423 +SQLITE_PRIVATE void sqlite3CompleteInsertion(125769,4559859 +SQLITE_PRIVATE int sqlite3OpenTableAndIndices(125858,4563401 +SQLITE_API int sqlite3_xferopt_count;125920,4565574 +static int xferCompatibleIndex(125936,4566119 +static int xferOptimization(125997,4568602 +SQLITE_API int sqlite3_exec(126407,4585595 +struct sqlite3_api_routines 126573,4591056 + void * (*aggregate_context)aggregate_context126574,4591086 + int (*aggregate_count)aggregate_count126575,4591146 + int (*bind_blob)bind_blob126576,4591191 + int (*bind_double)bind_double126577,4591264 + int (*bind_int)bind_int126578,4591313 + int (*bind_int64)bind_int64126579,4591356 + int (*bind_null)bind_null126580,4591410 + int (*bind_parameter_count)bind_parameter_count126581,4591450 + int (*bind_parameter_index)bind_parameter_index126582,4591497 + const char * (*bind_parameter_name)bind_parameter_name126583,4591561 + int (*bind_text)bind_text126584,4591619 + int (*bind_text16)bind_text16126585,4591692 + int (*bind_value)bind_value126586,4591765 + int (*busy_handler)busy_handler126587,4591827 + int (*busy_timeout)busy_timeout126588,4591885 + int (*changes)changes126589,4591926 + int (*close)close126590,4591955 + int (*collation_needed)collation_needed126591,4591982 + int (*collation_needed16)collation_needed16126593,4592103 + const void * (*column_blob)column_blob126595,4592228 + int (*column_bytes)column_bytes126596,4592283 + int (*column_bytes16)column_bytes16126597,4592331 + int (*column_count)column_count126598,4592381 + const char * (*column_database_name)column_database_name126599,4592425 + const void * (*column_database_name16)column_database_name16126600,4592484 + const char * (*column_decltype)column_decltype126601,4592545 + const void * (*column_decltype16)column_decltype16126602,4592601 + double (*column_double)column_double126603,4592657 + int (*column_int)column_int126604,4592709 + sqlite_int64 (*column_int64)column_int64126605,4592755 + const char * (*column_name)column_name126606,4592812 + const void * (*column_name16)column_name16126607,4592862 + const char * (*column_origin_name)column_origin_name126608,4592914 + const void * (*column_origin_name16)column_origin_name16126609,4592971 + const char * (*column_table_name)column_table_name126610,4593030 + const void * (*column_table_name16)column_table_name16126611,4593086 + const unsigned char * (*column_text)column_text126612,4593144 + const void * (*column_text16)column_text16126613,4593208 + int (*column_type)column_type126614,4593265 + sqlite3_value* (*column_value)column_value126615,4593312 + void * (*commit_hook)commit_hook126616,4593370 + int (*complete)complete126617,4593425 + int (*complete16)complete16126618,4593461 + int (*create_collation)create_collation126619,4593499 + int (*create_collation16)create_collation16126621,4593633 + int (*create_function)create_function126623,4593771 + int (*create_function16)create_function16126627,4594052 + int (*create_module)create_module126631,4594341 + int (*data_count)data_count126632,4594415 + sqlite3 * (*db_handle)db_handle126633,4594457 + int (*declare_vtab)declare_vtab126634,4594498 + int (*enable_shared_cache)enable_shared_cache126635,4594543 + int (*errcode)errcode126636,4594579 + const char * (*errmsg)errmsg126637,4594610 + const void * (*errmsg16)errmsg16126638,4594646 + int (*exec)exec126639,4594684 + int (*expired)expired126640,4594752 + int (*finalize)finalize126641,4594786 + void (*free)free126642,4594826 + void (*free_table)free_table126643,4594850 + int (*get_autocommit)get_autocommit126644,4594887 + void * (*get_auxdata)get_auxdata126645,4594923 + int (*get_table)get_table126646,4594970 + int (*global_recover)global_recover126647,4595038 + void (*interruptx)interruptx126648,4595070 + sqlite_int64 (*last_insert_rowid)last_insert_rowid126649,4595103 + const char * (*libversion)libversion126650,4595151 + int (*libversion_number)libversion_number126651,4595187 + void *(*malloc)malloc126652,4595222 + char * (*mprintf)mprintf126653,4595246 + int (*open)open126654,4595284 + int (*open16)open16126655,4595323 + int (*prepare)prepare126656,4595364 + int (*prepare16)prepare16126657,4595437 + void * (*profile)profile126658,4595512 + void (*progress_handler)progress_handler126659,4595590 + void *(*realloc)realloc126660,4595653 + int (*reset)reset126661,4595684 + void (*result_blob)result_blob126662,4595721 + void (*result_double)result_double126663,4595794 + void (*result_error)result_error126664,4595845 + void (*result_error16)result_error16126665,4595904 + void (*result_int)result_int126666,4595965 + void (*result_int64)result_int64126667,4596010 + void (*result_null)result_null126668,4596066 + void (*result_text)result_text126669,4596108 + void (*result_text16)result_text16126670,4596181 + void (*result_text16be)result_text16be126671,4596256 + void (*result_text16le)result_text16le126672,4596333 + void (*result_value)result_value126673,4596410 + void * (*rollback_hook)rollback_hook126674,4596468 + int (*set_authorizer)set_authorizer126675,4596526 + void (*set_auxdata)set_auxdata126677,4596660 + char * (*xsnprintf)xsnprintf126678,4596728 + int (*step)step126679,4596778 + int (*table_column_metadata)table_column_metadata126680,4596809 + void (*thread_cleanup)thread_cleanup126682,4596962 + int (*total_changes)total_changes126683,4596995 + void * (*trace)trace126684,4597030 + int (*transfer_bindings)transfer_bindings126685,4597098 + void * (*update_hook)update_hook126686,4597156 + void * (*user_data)user_data126688,4597296 + const void * (*value_blob)value_blob126689,4597337 + int (*value_bytes)value_bytes126690,4597383 + int (*value_bytes16)value_bytes16126691,4597422 + double (*value_double)value_double126692,4597463 + int (*value_int)value_int126693,4597506 + sqlite_int64 (*value_int64)value_int64126694,4597543 + int (*value_numeric_type)value_numeric_type126695,4597591 + const unsigned char * (*value_text)value_text126696,4597637 + const void * (*value_text16)value_text16126697,4597692 + const void * (*value_text16be)value_text16be126698,4597740 + const void * (*value_text16le)value_text16le126699,4597790 + int (*value_type)value_type126700,4597840 + char *(*vmprintf)vmprintf126701,4597878 + int (*overload_function)overload_function126703,4597938 + int (*prepare_v2)prepare_v2126705,4598033 + int (*prepare16_v2)prepare16_v2126706,4598108 + int (*clear_bindings)clear_bindings126707,4598185 + int (*create_module_v2)create_module_v2126709,4598248 + int (*bind_zeroblob)bind_zeroblob126712,4598400 + int (*blob_bytes)blob_bytes126713,4598447 + int (*blob_close)blob_close126714,4598483 + int (*blob_open)blob_open126715,4598519 + int (*blob_read)blob_read126717,4598638 + int (*blob_write)blob_write126718,4598687 + int (*create_collation_v2)create_collation_v2126719,4598743 + int (*file_control)file_control126722,4598926 + sqlite3_int64 (*memory_highwater)memory_highwater126723,4598981 + sqlite3_int64 (*memory_used)memory_used126724,4599023 + sqlite3_mutex *(*mutex_alloc)mutex_alloc126725,4599061 + void (*mutex_enter)mutex_enter126726,4599099 + void (*mutex_free)mutex_free126727,4599138 + void (*mutex_leave)mutex_leave126728,4599176 + int (*mutex_try)mutex_try126729,4599215 + int (*open_v2)open_v2126730,4599251 + int (*release_memory)release_memory126731,4599308 + void (*result_error_nomem)result_error_nomem126732,4599338 + void (*result_error_toobig)result_error_toobig126733,4599386 + int (*sleep)sleep126734,4599435 + void (*soft_heap_limit)soft_heap_limit126735,4599456 + sqlite3_vfs *(*vfs_find)vfs_find126736,4599488 + int (*vfs_register)vfs_register126737,4599529 + int (*vfs_unregister)vfs_unregister126738,4599570 + int (*xthreadsafe)xthreadsafe126739,4599609 + void (*result_zeroblob)result_zeroblob126740,4599637 + void (*result_error_code)result_error_code126741,4599686 + int (*test_control)test_control126742,4599737 + void (*randomness)randomness126743,4599770 + sqlite3 *(*context_db_handle)context_db_handle126744,4599803 + int (*extended_result_codes)extended_result_codes126745,4599854 + int (*limit)limit126746,4599900 + sqlite3_stmt *(*next_stmt)next_stmt126747,4599934 + const char *(*sql)sql126748,4599988 + int (*status)status126749,4600025 + int (*backup_finish)backup_finish126750,4600061 + sqlite3_backup *(*backup_init)backup_init126751,4600102 + int (*backup_pagecount)backup_pagecount126752,4600179 + int (*backup_remaining)backup_remaining126753,4600223 + int (*backup_step)backup_step126754,4600267 + const char *(*compileoption_get)compileoption_get126755,4600310 + int (*compileoption_used)compileoption_used126756,4600351 + int (*create_function_v2)create_function_v2126757,4600393 + int (*db_config)db_config126762,4600734 + sqlite3_mutex *(*db_mutex)db_mutex126763,4600772 + int (*db_status)db_status126764,4600812 + int (*extended_errcode)extended_errcode126765,4600860 + void (*log)log126766,4600897 + sqlite3_int64 (*soft_heap_limit64)soft_heap_limit64126767,4600933 + const char *(*sourceid)sourceid126768,4600986 + int (*stmt_status)stmt_status126769,4601019 + int (*strnicmp)strnicmp126770,4601064 + int (*unlock_notify)unlock_notify126771,4601112 + int (*wal_autocheckpoint)wal_autocheckpoint126772,4601172 + int (*wal_checkpoint)wal_checkpoint126773,4601215 + void *(*wal_hook)wal_hook126774,4601262 + int (*blob_reopen)blob_reopen126775,4601338 + int (*vtab_config)vtab_config126776,4601389 + int (*vtab_on_conflict)vtab_on_conflict126777,4601432 + int (*close_v2)close_v2126779,4601502 + const char *(*db_filename)db_filename126780,4601531 + int (*db_readonly)db_readonly126781,4601583 + int (*db_release_memory)db_release_memory126782,4601627 + const char *(*errstr)errstr126783,4601665 + int (*stmt_busy)stmt_busy126784,4601695 + int (*stmt_readonly)stmt_readonly126785,4601730 + int (*stricmp)stricmp126786,4601769 + int (*uri_boolean)uri_boolean126787,4601812 + sqlite3_int64 (*uri_int64)uri_int64126788,4601863 + const char *(*uri_parameter)uri_parameter126789,4601932 + char *(*xvsnprintf)xvsnprintf126790,4601989 + int (*wal_checkpoint_v2)wal_checkpoint_v2126791,4602043 + int (*auto_extension)auto_extension126793,4602139 + int (*bind_blob64)bind_blob64126794,4602179 + int (*bind_text64)bind_text64126796,4602284 + int (*cancel_auto_extension)cancel_auto_extension126798,4602404 + int (*load_extension)load_extension126799,4602451 + void *(*malloc64)malloc64126800,4602517 + sqlite3_uint64 (*msize)msize126801,4602554 + void *(*realloc64)realloc64126802,4602588 + void (*reset_auto_extension)reset_auto_extension126803,4602632 + void (*result_blob64)result_blob64126804,4602670 + void (*result_text64)result_text64126806,4602780 + int (*strglob)strglob126808,4602906 + sqlite3_value *(*value_dup)value_dup126810,4602982 + void (*value_free)value_free126811,4603035 + int (*result_zeroblob64)result_zeroblob64126812,4603073 + int (*bind_zeroblob64)bind_zeroblob64126813,4603134 + unsigned int (*value_subtype)value_subtype126815,4603228 + void (*result_subtype)result_subtype126816,4603277 + int (*status64)status64126818,4603367 + int (*strlike)strlike126819,4603425 + int (*db_cacheflush)db_cacheflush126820,4603481 + int (*system_errno)system_errno126822,4603548 + int (*trace_v2)trace_v2126824,4603614 + char *(*expanded_sql)expanded_sql126825,4603693 + void (*set_last_insert_rowid)set_last_insert_rowid126827,4603766 + int (*prepare_v3)prepare_v3126829,4603856 + int (*prepare16_v3)prepare16_v3126831,4603965 + int (*bind_pointer)bind_pointer126833,4604078 + void (*result_pointer)result_pointer126834,4604153 + void *(*value_pointer)value_pointer126835,4604230 + int (*vtab_nochange)vtab_nochange126836,4604284 + int (*value_nochange)value_nochange126837,4604326 + const char *(*vtab_collation)vtab_collation126838,4604367 + int (*keyword_count)keyword_count126840,4604458 + int (*keyword_name)keyword_name126841,4604488 + int (*keyword_check)keyword_check126842,4604534 + sqlite3_str *(*str_new)str_new126843,4604575 + char *(*str_finish)str_finish126844,4604612 + void (*str_appendf)str_appendf126845,4604649 + void (*str_vappendf)str_vappendf126846,4604712 + void (*str_append)str_append126847,4604780 + void (*str_appendall)str_appendall126848,4604840 + void (*str_appendchar)str_appendchar126849,4604896 + void (*str_reset)str_reset126850,4604951 + int (*str_errcode)str_errcode126851,4604986 + int (*str_length)str_length126852,4605022 + char *(*str_value)str_value126853,4605057 + int (*create_window_function)create_window_function126855,4605126 + const char *(*normalized_sql)normalized_sql126862,4605565 + int (*stmt_isexplain)stmt_isexplain126864,4605646 + int (*value_frombind)value_frombind126865,4605686 + int (*drop_modules)drop_modules126867,4605760 + sqlite3_int64 (*hard_heap_limit64)hard_heap_limit64126869,4605839 + const char *(*uri_key)uri_key126870,4605892 + const char *(*filename_database)filename_database126871,4605935 + const char *(*filename_journal)filename_journal126872,4605984 + const char *(*filename_wal)filename_wal126873,4606032 + char *(*create_filename)create_filename126875,4606109 + void (*free_filename)free_filename126877,4606219 + sqlite3_file *(*database_file_object)database_file_object126878,4606251 + int (*txn_state)txn_state126880,4606338 + sqlite3_int64 (*changes64)changes64126882,4606413 + sqlite3_int64 (*total_changes64)total_changes64126883,4606453 +typedef int (*sqlite3_loadext_entry)sqlite3_loadext_entry126890,4606628 +# define SQLITE_EXTENSION_INIT2(127196,4625106 +# define SQLITE_EXTENSION_INIT2(127203,4625384 +static const sqlite3_api_routines sqlite3Apis 127324,4629117 +# define DirSep(127682,4637189 +# define DirSep(127684,4637237 +static int sqlite3LoadExtension(127699,4637779 +SQLITE_API int sqlite3_load_extension(127850,4642893 +SQLITE_PRIVATE void sqlite3CloseExtensions(127868,4643523 +SQLITE_API int sqlite3_enable_load_extension(127881,4643909 +typedef struct sqlite3AutoExtList sqlite3AutoExtList;127901,4644478 +static SQLITE_WSD struct sqlite3AutoExtList 127902,4644532 + u32 nExt;127903,4644578 + void (**aExt)aExt127904,4644637 +} sqlite3Autoext 127905,4644709 +SQLITE_API int sqlite3_auto_extension(127927,4645408 +SQLITE_API int sqlite3_cancel_auto_extension(127974,4646650 +SQLITE_API void sqlite3_reset_auto_extension(127999,4647194 +SQLITE_PRIVATE void sqlite3AutoLoadExtensions(128021,4647714 +static const char *const pragCName[pragCName128161,4653343 +typedef struct PragmaName 128220,4655145 + const char *const zName;128221,4655173 + u8 ePragTyp;128222,4655221 + u8 mPragFlg;128223,4655272 + u8 iPragCName;128224,4655337 + u8 nPragCName;128225,4655407 + u64 iArg;128226,4655482 +} PragmaName;128227,4655530 +static const PragmaName aPragmaName[aPragmaName128228,4655544 +static u8 getSafetyLevel(128757,4673948 +SQLITE_PRIVATE u8 sqlite3GetBoolean(128782,4674759 +static int getLockingMode(128795,4675160 +static int getAutoVacuum(128810,4675645 +static int getTempStore(128826,4676232 +static int invalidateTempStorage(128844,4676690 +static int changeTempStorage(128868,4677417 +static void setPragmaResultColumnNames(128883,4677814 +static void returnSingleInt(128902,4678358 +static void returnSingleText(128910,4678584 +static void setAllPagerFlags(128926,4679008 +# define setAllPagerFlags(128946,4679665 +static const char *actionName(actionName128954,4679822 +SQLITE_PRIVATE const char *sqlite3JournalModename(sqlite3JournalModename128974,4680427 +static const PragmaName *pragmaLocate(pragmaLocate128996,4681059 +static void pragmaFunclistLine(129017,4681537 +static int integrityCheckResultRow(129069,4683081 +SQLITE_PRIVATE void sqlite3Pragma(129093,4683804 + static const struct EncName 130543,4735333 + char *zName;zName130544,4735367 + u8 enc;130545,4735386 +typedef struct PragmaVtab PragmaVtab;131001,4751656 +typedef struct PragmaVtabCursor PragmaVtabCursor;131002,4751694 +struct PragmaVtab 131003,4751744 + sqlite3_vtab base;131004,4751764 + sqlite3 *db;db131005,4751825 + const PragmaName *pName;pName131006,4751903 + u8 nHidden;131007,4751956 + u8 iHidden;131008,4752015 +struct PragmaVtabCursor 131010,4752085 + sqlite3_vtab_cursor base;131011,4752111 + sqlite3_stmt *pPragma;pPragma131012,4752172 + sqlite_int64 iRowid;131013,4752234 + char *azArg[azArg131014,4752282 +static int pragmaVtabConnect(131020,4752407 +static int pragmaVtabDisconnect(131082,4753950 +static int pragmaVtabBestIndex(131095,4754436 +static int pragmaVtabOpen(131132,4755640 +static void pragmaVtabCursorClear(131143,4756023 +static int pragmaVtabClose(131154,4756297 +static int pragmaVtabNext(131162,4756540 +static int pragmaVtabFilter(131180,4756983 +static int pragmaVtabEof(131230,4758458 +static int pragmaVtabColumn(131238,4758694 +static int pragmaVtabRowid(131256,4759173 +static const sqlite3_module pragmaVtabModule 131263,4759393 +SQLITE_PRIVATE Module *sqlite3PragmaVtabRegister(sqlite3PragmaVtabRegister131295,4761113 +static void corruptSchema(131332,4762443 +SQLITE_PRIVATE int sqlite3IndexHasDuplicateRootPage(131366,4763707 +SQLITE_PRIVATE int sqlite3InitCallback(131400,4764978 +SQLITE_PRIVATE int sqlite3InitOne(131502,4768648 +SQLITE_PRIVATE int sqlite3Init(131741,4776508 +SQLITE_PRIVATE int sqlite3ReadSchema(131773,4777513 +static void schemaIsValid(131795,4778074 +SQLITE_PRIVATE int sqlite3SchemaToIndex(131845,4779779 +SQLITE_PRIVATE void sqlite3ParserReset(131875,4780744 +SQLITE_PRIVATE void *sqlite3ParserAddCleanup(sqlite3ParserAddCleanup131923,4782790 +static int sqlite3Prepare(131947,4783543 +static int sqlite3LockAndPrepare(132088,4788210 +SQLITE_PRIVATE int sqlite3Reprepare(132134,4789882 +SQLITE_API int sqlite3_prepare(132173,4791074 +SQLITE_API int sqlite3_prepare_v2(132185,4791582 +SQLITE_API int sqlite3_prepare_v3(132203,4792354 +static int sqlite3Prepare16(132231,4793437 +SQLITE_API int sqlite3_prepare16(132289,4795578 +SQLITE_API int sqlite3_prepare16_v2(132301,4796082 +SQLITE_API int sqlite3_prepare16_v3(132313,4796610 +typedef struct DistinctCtx DistinctCtx;132354,4798168 +struct DistinctCtx 132355,4798208 + u8 isTnct;132356,4798229 + u8 eTnctType;132357,4798293 + int tabTnct;132358,4798355 + int addrTnct;132359,4798424 +typedef struct SortCtx SortCtx;132380,4799258 +struct SortCtx 132381,4799290 + ExprList *pOrderBy;pOrderBy132382,4799307 + int nOBSat;132383,4799371 + int iECursor;132384,4799447 + int regReturn;132385,4799506 + int labelBkOut;132386,4799581 + int addrSortIndex;132387,4799655 + int labelDone;132388,4799734 + int labelOBLopt;132389,4799803 + u8 sortFlags;132390,4799863 + u8 nDefer;132392,4799961 + struct DeferredCsr 132393,4800027 + Table *pTab;pTab132394,4800050 + int iCsr;132395,4800097 + int nKey;132396,4800151 + } aDefer[aDefer132397,4800223 + struct RowLoadInfo *pDeferredRowLoad;pDeferredRowLoad132399,4800245 +static void clearSelect(132410,4800645 +SQLITE_PRIVATE void sqlite3SelectDestInit(132439,4801479 +SQLITE_PRIVATE Select *sqlite3SelectNew(sqlite3SelectNew132453,4801791 +SQLITE_PRIVATE void sqlite3SelectDelete(132511,4803556 +static Select *findRightmost(findRightmost132518,4803752 +SQLITE_PRIVATE int sqlite3JoinType(132540,4804327 + u8 i;132547,4804628 + u8 nChar;132548,4804691 + u8 code;132549,4804750 +SQLITE_PRIVATE int sqlite3ColumnIndex(132601,4806348 +static int tableAndColumnIndex(132620,4806896 +static void addWhereTerm(132658,4808199 +SQLITE_PRIVATE void sqlite3SetJoinExpr(132717,4810641 +static void unsetJoinExpr(132740,4811406 +static int sqliteProcessJoin(132774,4812611 +typedef struct RowLoadInfo RowLoadInfo;132866,4816039 +struct RowLoadInfo 132867,4816079 + int regResult;132868,4816100 + u8 ecelFlags;132869,4816178 + ExprList *pExtra;pExtra132871,4816290 + int regExtraResult;132872,4816363 +static void innerLoopLoadRow(132880,4816570 +static int makeSorterRecord(132901,4817282 +static void pushOntoSorter(132922,4817795 +static void codeOffset(133064,4824390 +static int codeDistinct(133118,4826939 +static void fixDistinctOpenEph(133202,4829701 +static void selectExprDefer(133252,4832040 +static void selectInnerLoop(133317,4834240 +SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoAlloc(sqlite3KeyInfoAlloc133711,4849083 +SQLITE_PRIVATE void sqlite3KeyInfoUnref(133731,4849569 +SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoRef(sqlite3KeyInfoRef133742,4849776 +SQLITE_PRIVATE int sqlite3KeyInfoIsWriteable(133757,4850133 +SQLITE_PRIVATE KeyInfo *sqlite3KeyInfoFromExprList(sqlite3KeyInfoFromExprList133774,4850880 +SQLITE_PRIVATE const char *sqlite3SelectOpName(sqlite3SelectOpName133801,4851717 +static void explainTempTable(133823,4852391 +# define explainSetInteger(133834,4852861 +# define explainTempTable(133838,4852970 +# define explainSetInteger(133839,4853001 +static void generateSortTail(133849,4853311 +# define columnType(134070,4860993 +# define columnType(134072,4861105 +static const char *columnTypeImpl(columnTypeImpl134074,4861163 +static void generateColumnTypes(134223,4865964 +SQLITE_PRIVATE void sqlite3GenerateColumnNames(134290,4868769 +SQLITE_PRIVATE int sqlite3ColumnsFromExprList(134382,4872205 +SQLITE_PRIVATE void sqlite3SelectAddColumnTypeAndCollation(134486,4875839 +SQLITE_PRIVATE Table *sqlite3ResultSetOfSelect(sqlite3ResultSetOfSelect134537,4877547 +SQLITE_PRIVATE Vdbe *sqlite3GetVdbe(sqlite3GetVdbe134570,4878561 +static void computeLimitRegisters(134606,4879962 +static CollSeq *multiSelectCollSeq(multiSelectCollSeq134663,4881932 +static KeyInfo *multiSelectOrderByKeyInfo(multiSelectOrderByKeyInfo134689,4882816 +static void generateWithRecursiveQuery(134755,4885657 +static int multiSelectValues(134932,4892475 +static int hasAnchor(134969,4893633 +static int multiSelect(135005,4894871 +SQLITE_PRIVATE void sqlite3SelectWrongNumTermsError(135356,4907382 +static int generateOutputSubroutine(135386,4908436 +static int multiSelectOrderBy(135594,4916206 +typedef struct SubstContext 135904,4927838 + Parse *pParse;pParse135905,4927868 + int iTable;135906,4927922 + int iNewTable;135907,4927989 + int isLeftJoin;135908,4928040 + ExprList *pEList;pEList135909,4928121 +} SubstContext;135910,4928179 +static Expr *substExpr(substExpr135929,4928940 +static void substExprList(136014,4931812 +static void substSelect(136024,4932115 +static int recomputeColumnsUsedExpr(136059,4933256 +static void recomputeColumnsUsed(136068,4933599 +static void srclistRenumberCursors(136097,4934682 +static void renumberCursorDoMapping(136123,4935526 +static int renumberCursorsCb(136135,4935870 +static void renumberCursors(136164,4937027 +static int flattenSubquery(136335,4944768 +typedef struct WhereConst WhereConst;136759,4960278 +struct WhereConst 136760,4960316 + Parse *pParse;pParse136761,4960336 + u8 *pOomFault;pOomFault136762,4960377 + int nConst;136763,4960438 + int nChng;136764,4960496 + int bHasAffBlob;136765,4960562 + Expr **apExpr;apExpr136766,4960636 +static void constInsert(136777,4961015 +static void findConstInWhere(136825,4962648 +static int propagateConstantExprRewriteOne(136856,4963704 +static int propagateConstantExprRewrite(136905,4965437 +static int propagateConstants(136976,4968433 +static int pushDownWindowCheck(137027,4970128 +static int pushDownWhereTerms(137105,4973551 +static u8 minMaxQuery(137207,4976852 +static Table *isSimpleCount(isSimpleCount137253,4978384 +SQLITE_PRIVATE int sqlite3IndexedByLookup(137284,4979321 +static int convertCompoundSelectToSubquery(137325,4980703 +static int cannotBeFunction(137390,4982797 +static struct Cte *searchWith(searchWith137409,4983439 +SQLITE_PRIVATE With *sqlite3WithPush(sqlite3WithPush137448,4984848 +static int resolveFromTermToCte(137479,4985868 +SQLITE_PRIVATE void sqlite3SelectPopWith(137659,4991927 +SQLITE_PRIVATE int sqlite3ExpandSubquery(137678,4992570 +static int selectExpander(137730,4994606 +SQLITE_PRIVATE void sqlite3SelectWalkAssert2(138037,5005480 +static void sqlite3SelectExpand(138055,5006194 +static void selectAddSubqueryTypeInfo(138085,5007196 +static void sqlite3SelectAddTypeInfo(138120,5008181 +SQLITE_PRIVATE void sqlite3SelectPrep(138144,5009008 +static void resetAccumulator(138167,5009843 +static void finalizeAggFunctions(138211,5011499 +static void updateAccumulator(138233,5012280 +static void explainSimpleCount(138334,5015750 +# define explainSimpleCount(138349,5016251 +static int havingToWhereExprCb(138363,5016759 +static void havingToWhere(138407,5018432 +static SrcItem *isSelfJoinView(isSelfJoinView138427,5019064 +static void agginfoFree(138462,5020228 +static int countOfViewOptimization(138488,5021027 +SQLITE_PRIVATE int sqlite3Select(138568,5023981 +typedef struct TabResult 139823,5074075 + char **azResult;azResult139824,5074102 + char *zErrMsg;zErrMsg139825,5074148 + u32 nAlloc;139826,5074214 + u32 nRow;139827,5074272 + u32 nColumn;139828,5074328 + u32 nData;139829,5074387 + int rc;139830,5074458 +} TabResult;139831,5074517 +static int sqlite3_get_table_cb(139838,5074706 +SQLITE_API int sqlite3_get_table(139912,5076881 +SQLITE_API void sqlite3_free_table(139981,5078992 +SQLITE_PRIVATE void sqlite3DeleteTriggerStep(140016,5080050 +SQLITE_PRIVATE Trigger *sqlite3TriggerList(sqlite3TriggerList140047,5081233 +SQLITE_PRIVATE void sqlite3BeginTrigger(140103,5082932 +SQLITE_PRIVATE void sqlite3FinishTrigger(140310,5090320 +static char *triggerSpanDup(triggerSpanDup140398,5093214 +SQLITE_PRIVATE TriggerStep *sqlite3TriggerSelectStep(sqlite3TriggerSelectStep140412,5093671 +static TriggerStep *triggerStepAllocate(triggerStepAllocate140436,5094516 +SQLITE_PRIVATE TriggerStep *sqlite3TriggerInsertStep(sqlite3TriggerInsertStep140468,5095520 +SQLITE_PRIVATE TriggerStep *sqlite3TriggerUpdateStep(sqlite3TriggerUpdateStep140513,5097054 +SQLITE_PRIVATE TriggerStep *sqlite3TriggerDeleteStep(sqlite3TriggerDeleteStep140553,5098508 +SQLITE_PRIVATE void sqlite3DeleteTrigger(140580,5099305 +SQLITE_PRIVATE void sqlite3DropTrigger(140598,5100007 +static Table *tableOfTrigger(tableOfTrigger140640,5101203 +SQLITE_PRIVATE void sqlite3DropTriggerPtr(140648,5101388 +SQLITE_PRIVATE void sqlite3UnlinkAndDeleteTrigger(140686,5102600 +static int checkColumnOverlap(140720,5103720 +SQLITE_PRIVATE Trigger *sqlite3TriggersExist(sqlite3TriggersExist140735,5104244 +SQLITE_PRIVATE SrcList *sqlite3TriggerStepSrc(sqlite3TriggerStepSrc140809,5106772 +static int isAsteriskTerm(140840,5107742 +static ExprList *sqlite3ExpandReturning(sqlite3ExpandReturning140860,5108446 +static void codeReturningTrigger(140903,5109908 +static int codeTriggerProgram(140971,5112040 +static const char *onErrorText(onErrorText141057,5114905 +static void transferParseError(141075,5115412 +static TriggerPrg *codeRowTrigger(codeRowTrigger141091,5115868 +static TriggerPrg *getRowTrigger(getRowTrigger141206,5120212 +SQLITE_PRIVATE void sqlite3CodeRowTriggerDirect(141240,5121420 +SQLITE_PRIVATE void sqlite3CodeRowTrigger(141312,5124869 +SQLITE_PRIVATE u32 sqlite3TriggerColmask(141382,5128141 +SQLITE_PRIVATE void sqlite3ColumnDefault(141480,5132070 +static int indexColumnIsBeingUpdated(141512,5133212 +static int indexWhereClauseMightChange(141542,5134429 +static Expr *exprRowColumn(exprRowColumn141558,5135068 +static void updateFromSelect(141602,5136879 +SQLITE_PRIVATE void sqlite3Update(141699,5140040 +static void updateVirtualTable(142586,5173150 +static void SQLITE_NOINLINE upsertDelete(142772,5180055 +SQLITE_PRIVATE void sqlite3UpsertDelete(142784,5180445 +SQLITE_PRIVATE Upsert *sqlite3UpsertDup(sqlite3UpsertDup142792,5180582 +SQLITE_PRIVATE Upsert *sqlite3UpsertNew(sqlite3UpsertNew142806,5181017 +SQLITE_PRIVATE int sqlite3UpsertAnalyzeTarget(142841,5182200 +SQLITE_PRIVATE int sqlite3UpsertNextIsIPK(142968,5186813 +SQLITE_PRIVATE Upsert *sqlite3UpsertOfIndex(sqlite3UpsertOfIndex142984,5187342 +SQLITE_PRIVATE void sqlite3UpsertDoUpdate(143004,5187968 +static int execSql(143101,5191600 +static int execSqlF(143131,5192679 +SQLITE_PRIVATE void sqlite3Vacuum(143174,5194539 +SQLITE_PRIVATE SQLITE_NOINLINE int sqlite3RunVacuum(143212,5195829 +struct VtabCtx 143500,5207058 + VTable *pVTable;pVTable143501,5207075 + Table *pTab;pTab143502,5207139 + VtabCtx *pPrior;pPrior143503,5207219 + int bDeclared;143504,5207271 +SQLITE_PRIVATE Module *sqlite3VtabCreateModule(sqlite3VtabCreateModule143515,5207699 +static int createModule(143563,5209110 +SQLITE_API int sqlite3_create_module(143584,5209831 +SQLITE_API int sqlite3_create_module_v2(143599,5210406 +SQLITE_API int sqlite3_drop_modules(143616,5211084 +SQLITE_PRIVATE void sqlite3VtabModuleUnref(143638,5211778 +SQLITE_PRIVATE void sqlite3VtabLock(143658,5212385 +SQLITE_PRIVATE VTable *sqlite3GetVTable(sqlite3GetVTable143668,5212676 +SQLITE_PRIVATE void sqlite3VtabUnlock(143679,5213028 +static VTable *vtabDisconnectAll(vtabDisconnectAll143704,5213785 +SQLITE_PRIVATE void sqlite3VtabDisconnect(143744,5215109 +SQLITE_PRIVATE void sqlite3VtabUnlockList(143782,5216485 +SQLITE_PRIVATE void sqlite3VtabClear(143813,5217530 +static void addModuleArgument(143830,5218016 +SQLITE_PRIVATE void sqlite3VtabBeginParse(143853,5218817 +static void addArgumentToVtab(143901,5220741 +SQLITE_PRIVATE void sqlite3VtabFinishParse(143914,5221135 +SQLITE_PRIVATE void sqlite3VtabArgInit(144000,5224115 +SQLITE_PRIVATE void sqlite3VtabArgExtend(144010,5224396 +static int vtabCallConstructor(144026,5224814 +SQLITE_PRIVATE int sqlite3VtabCallConnect(144159,5228834 +static int growVTrans(144194,5229773 +static void addToVTrans(144217,5230457 +SQLITE_PRIVATE int sqlite3VtabCallCreate(144231,5230960 +SQLITE_API int sqlite3_declare_vtab(144272,5232315 +SQLITE_PRIVATE int sqlite3VtabCallDestroy(144357,5234716 +static void callFinaliser(144398,5235976 +SQLITE_PRIVATE int sqlite3VtabSync(144426,5236760 +SQLITE_PRIVATE int sqlite3VtabRollback(144448,5237312 +SQLITE_PRIVATE int sqlite3VtabCommit(144457,5237564 +SQLITE_PRIVATE int sqlite3VtabBegin(144470,5237993 +SQLITE_PRIVATE int sqlite3VtabSavepoint(144530,5239946 +SQLITE_PRIVATE FuncDef *sqlite3VtabOverloadFunction(sqlite3VtabOverloadFunction144578,5241532 +SQLITE_PRIVATE void sqlite3VtabMakeWritable(144647,5243780 +SQLITE_PRIVATE int sqlite3VtabEponymousTableInit(144681,5245094 +SQLITE_PRIVATE void sqlite3VtabEponymousTableClear(144718,5246273 +SQLITE_API int sqlite3_vtab_on_conflict(144737,5246887 +SQLITE_API int sqlite3_vtab_config(144755,5247550 +typedef struct WhereClause WhereClause;144844,5250309 +typedef struct WhereMaskSet WhereMaskSet;144845,5250349 +typedef struct WhereOrInfo WhereOrInfo;144846,5250391 +typedef struct WhereAndInfo WhereAndInfo;144847,5250431 +typedef struct WhereLevel WhereLevel;144848,5250473 +typedef struct WhereLoop WhereLoop;144849,5250511 +typedef struct WherePath WherePath;144850,5250547 +typedef struct WhereTerm WhereTerm;144851,5250583 +typedef struct WhereLoopBuilder WhereLoopBuilder;144852,5250619 +typedef struct WhereScan WhereScan;144853,5250669 +typedef struct WhereOrCost WhereOrCost;144854,5250705 +typedef struct WhereOrSet WhereOrSet;144855,5250745 +struct WhereLevel 144872,5251456 + int iLeftJoin;144873,5251476 + int iTabCur;144874,5251552 + int iIdxCur;144875,5251623 + int addrBrk;144876,5251689 + int addrNxt;144877,5251754 + int addrSkip;144878,5251827 + int addrCont;144879,5251899 + int addrFirst;144880,5251976 + int addrBody;144881,5252048 + int regBignull;144882,5252113 + int addrBignull;144883,5252192 + u32 iLikeRepCntr;144885,5252302 + int addrLikeRep;144886,5252381 + u8 iFrom;144888,5252448 + u8 op,144889,5252509 + u8 op, p3,144889,5252509 + u8 op, p3, p5;144889,5252509 + int p1,144890,5252588 + int p1, p2;144890,5252588 + int nIn;144893,5252749 + struct InLoop 144894,5252814 + int iCur;144895,5252836 + int addrInTop;144896,5252914 + int iBase;144897,5252970 + int nPrefix;144898,5253047 + u8 eEndLoopOp;144899,5253119 + } *aInLoop;aInLoop144900,5253195 + } in;144901,5253271 + Index *pCovidx;pCovidx144902,5253343 + } u;144903,5253418 + struct WhereLoop *pWLoop;pWLoop144904,5253425 + Bitmask notReady;144905,5253490 + int addrVisit;144907,5253600 +struct WhereLoop 144925,5254439 + Bitmask prereq;144926,5254458 + Bitmask maskSelf;144927,5254531 + char cId;144929,5254612 + u8 iTab;144931,5254692 + u8 iSortIdx;144932,5254769 + LogEst rSetup;144933,5254830 + LogEst rRun;144934,5254909 + LogEst nOut;144935,5254965 + u16 nEq;144938,5255108 + u16 nBtm;144939,5255174 + u16 nTop;144940,5255228 + u16 nDistinctCol;144941,5255282 + Index *pIndex;pIndex144942,5255357 + } btree;144943,5255412 + int idxNum;144945,5255489 + u8 needFree;144946,5255537 + i8 isOrdered;144947,5255611 + u16 omitMask;144948,5255673 + char *idxStr;idxStr144949,5255734 + } vtab;144950,5255793 + } u;144951,5255805 + u32 wsFlags;144952,5255812 + u16 nLTerm;144953,5255876 + u16 nSkip;144954,5255936 + u16 nLSlot;144957,5256122 + WhereTerm **aLTerm;aLTerm144958,5256191 + WhereLoop *pNextLoop;pNextLoop144959,5256237 + WhereTerm *aLTermSpace[aLTermSpace144960,5256308 +struct WhereOrCost 144967,5256550 + Bitmask prereq;144968,5256571 + LogEst rRun;144969,5256613 + LogEst nOut;144970,5256671 +struct WhereOrSet 144978,5256938 + u16 n;144979,5256958 + WhereOrCost a[a144980,5257022 +struct WherePath 145001,5258010 + Bitmask maskLoop;145002,5258029 + Bitmask revLoop;145003,5258105 + LogEst nRow;145004,5258181 + LogEst rCost;145005,5258259 + LogEst rUnsorted;145006,5258313 + i8 isOrdered;145007,5258390 + WhereLoop **aLoop;aLoop145008,5258468 +struct WhereTerm 145062,5261056 + Expr *pExpr;pExpr145063,5261075 + WhereClause *pWC;pWC145064,5261154 + LogEst truthProb;145065,5261218 + u16 wtFlags;145066,5261291 + u16 eOperator;145067,5261354 + u8 nChild;145068,5261416 + u8 eMatchOp;145069,5261488 + int iParent;145070,5261561 + int leftCursor;145071,5261641 + int leftColumn;145074,5261734 + int iField;145075,5261808 + } x;145076,5261883 + WhereOrInfo *pOrInfo;pOrInfo145077,5261951 + WhereAndInfo *pAndInfo;pAndInfo145078,5262029 + } u;145079,5262107 + Bitmask prereqRight;145080,5262114 + Bitmask prereqAll;145081,5262186 +struct WhereScan 145111,5263610 + WhereClause *pOrigWC;pOrigWC145112,5263629 + WhereClause *pWC;pWC145113,5263696 + const char *zCollName;zCollName145114,5263767 + Expr *pIdxExpr;pIdxExpr145115,5263843 + char idxaff;145116,5263911 + unsigned char nEquiv;145117,5263991 + unsigned char iEquiv;145118,5264070 + u32 opMask;145119,5264148 + int k;145120,5264204 + int aiCur[aiCur145121,5264280 + i16 aiColumn[aiColumn145122,5264348 +struct WhereClause 145137,5264911 + WhereInfo *pWInfo;pWInfo145138,5264932 + WhereClause *pOuter;pOuter145139,5264997 + u8 op;145140,5265048 + u8 hasOr;145141,5265114 + int nTerm;145142,5265182 + int nSlot;145143,5265231 + WhereTerm *a;a145144,5265289 + WhereTerm aStatic[aStatic145146,5265400 + WhereTerm aStatic[aStatic145148,5265468 +struct WhereOrInfo 145156,5265681 + WhereClause wc;145157,5265702 + Bitmask indexable;145158,5265763 +struct WhereAndInfo 145165,5265988 + WhereClause wc;145166,5266010 +struct WhereMaskSet 145195,5267339 + int bVarSelect;145196,5267361 + int n;145197,5267431 + int ix[ix145198,5267502 +#define initMaskSet(145204,5267614 +struct WhereLoopBuilder 145210,5267783 + WhereInfo *pWInfo;pWInfo145211,5267809 + WhereClause *pWC;pWC145212,5267872 + ExprList *pOrderBy;pOrderBy145213,5267925 + WhereLoop *pNew;pNew145214,5267975 + WhereOrSet *pOrSet;pOrSet145215,5268028 + UnpackedRecord *pRec;pRec145217,5268125 + int nRecValid;145218,5268189 + unsigned char bldFlags1;145220,5268271 + unsigned char bldFlags2;145221,5268338 + unsigned int iPlanLimit;145222,5268406 +typedef struct WhereExprMod WhereExprMod;145258,5269913 +struct WhereExprMod 145259,5269955 + WhereExprMod *pNext;pNext145260,5269977 + Expr *pExpr;pExpr145261,5270046 + Expr orig;145262,5270111 +struct WhereInfo 145275,5270553 + Parse *pParse;pParse145276,5270572 + SrcList *pTabList;pTabList145277,5270642 + ExprList *pOrderBy;pOrderBy145278,5270703 + ExprList *pResultSet;pResultSet145279,5270765 + Expr *pWhere;pWhere145280,5270823 + int aiCurOnePass[aiCurOnePass145281,5270883 + int iContinue;145282,5270958 + int iBreak;145283,5271031 + int savedNQueryLoop;145284,5271100 + u16 wctrlFlags;145285,5271176 + LogEst iLimit;145286,5271257 + u8 nLevel;145287,5271331 + i8 nOBSat;145288,5271387 + u8 eOnePass;145289,5271467 + u8 eDistinct;145290,5271536 + unsigned bDeferredSeek 145291,5271605 + unsigned untestedTerms 145292,5271663 + unsigned bOrderedInnerLoop:bOrderedInnerLoop145293,5271743 + unsigned sorted 145294,5271824 + LogEst nRowOut;145295,5271902 + int iTop;145296,5271968 + int iEndWhere;145297,5272039 + WhereLoop *pLoops;pLoops145298,5272104 + WhereExprMod *pExprMods;pExprMods145299,5272168 + Bitmask revMask;145300,5272227 + WhereClause sWC;145301,5272304 + WhereMaskSet sMaskSet;145302,5272372 + WhereLevel a[a145303,5272437 +# define sqlite3WhereExplainOneScan(145335,5273720 +# define sqlite3WhereAddScanStatus(145345,5274183 +static const char *explainIndexColumnName(explainIndexColumnName145439,5278648 +static void explainAppendTerm(145454,5279156 +static void explainIndexRange(145498,5280559 +SQLITE_PRIVATE int sqlite3WhereExplainOneScan(145532,5281782 +SQLITE_PRIVATE void sqlite3WhereAddScanStatus(145637,5285880 +static void disableTerm(145699,5288619 +static void codeApplyAffinity(145737,5289871 +static void updateRangeAffinityStr(145774,5291005 +static Expr *removeUnindexableInClauseTerms(removeUnindexableInClauseTerms145820,5292789 +static int codeEqualityTerm(145902,5296195 +static int codeAllEqualityTerms(146098,5303382 +static void whereLikeOptimizationStringFixup(146219,5308342 +# define whereLikeOptimizationStringFixup(146236,5309007 +struct CCurHint 146245,5309265 + int iTabCur;146246,5309283 + int iIdxCur;146247,5309333 + Index *pIdx;pIdx146248,5309409 +static int codeCursorHintCheckExpr(146257,5309776 +static int codeCursorHintIsOrFunction(146284,5310632 +static int codeCursorHintFixExpr(146319,5311828 +static void codeCursorHint(146349,5313025 +# define codeCursorHint(146450,5316740 +static void codeDeferredSeek(146471,5317674 +static void codeExprOrVector(146515,5319194 +typedef struct IdxExprTrans 146545,5320062 + Expr *pIdxExpr;pIdxExpr146546,5320092 + int iTabCur;146547,5320140 + int iIdxCur;146548,5320205 + int iIdxCol;146549,5320257 + int iTabCol;146550,5320309 + WhereInfo *pWInfo;pWInfo146551,5320361 + sqlite3 *db;db146552,5320422 +} IdxExprTrans;146553,5320484 +static void preserveExpr(146558,5320567 +static int whereIndexExprTransNode(146574,5321137 +static int whereIndexExprTransColumn(146596,5321880 +static void whereIndexExprTrans(146621,5322743 +static void whereApplyPartialIndexConstraints(146684,5325125 +SQLITE_PRIVATE Bitmask sqlite3WhereCodeOneLoopStart(146709,5325758 +static void whereOrInfoDelete(147956,5378418 +static void whereAndInfoDelete(147964,5378610 +static int whereClauseInsert(147988,5379707 +static int allowedOp(148029,5380977 +static u16 exprCommute(148041,5381342 +static u16 operatorMask(148064,5382005 +static int isLikeOrGlob(148102,5383191 +static int isAuxiliaryVtabOperator(148274,5390390 +static void transferJoinMarkings(148379,5393990 +static void markTermAsChild(148389,5394244 +static WhereTerm *whereNthSubterm(whereNthSubterm148400,5394635 +static void whereCombineDisjuncts(148430,5395473 +static void exprAnalyzeOrTerm(148557,5400663 +static int termIsEquivalence(148828,5411763 +static Bitmask exprSelectUsage(148851,5412559 +static SQLITE_NOINLINE int exprMightBeIndexed2(148888,5414048 +static int exprMightBeIndexed(148912,5414856 +static void exprAnalyze(148959,5416890 +SQLITE_PRIVATE void sqlite3WhereSplit(149389,5433273 +SQLITE_PRIVATE void sqlite3WhereClauseInit(149405,5433697 +SQLITE_PRIVATE void sqlite3WhereClauseClear(149422,5434177 +SQLITE_PRIVATE Bitmask sqlite3WhereExprUsageNN(149447,5434832 +SQLITE_PRIVATE Bitmask sqlite3WhereExprUsage(149475,5436008 +SQLITE_PRIVATE Bitmask sqlite3WhereExprListUsage(149478,5436143 +SQLITE_PRIVATE void sqlite3WhereExprAnalyze(149498,5436719 +SQLITE_PRIVATE void sqlite3WhereTabFuncArgs(149515,5437177 +typedef struct HiddenIndexInfo HiddenIndexInfo;149585,5439857 +struct HiddenIndexInfo 149586,5439905 + WhereClause *pWC;pWC149587,5439930 + Parse *pParse;pParse149588,5439990 +SQLITE_PRIVATE LogEst sqlite3WhereOutputRowCount(149597,5440207 +SQLITE_PRIVATE int sqlite3WhereIsDistinct(149605,5440438 +SQLITE_PRIVATE int sqlite3WhereIsOrdered(149617,5440891 +SQLITE_PRIVATE int sqlite3WhereOrderByLimitOptLabel(149644,5442161 +SQLITE_PRIVATE void sqlite3WhereMinMaxOptEarlyOut(149667,5443048 +SQLITE_PRIVATE int sqlite3WhereContinueLabel(149686,5443593 +SQLITE_PRIVATE int sqlite3WhereBreakLabel(149695,5443818 +SQLITE_PRIVATE int sqlite3WhereOkOnePass(149716,5444752 +SQLITE_PRIVATE int sqlite3WhereUsesDeferredSeek(149732,5445301 +static void whereOrMove(149739,5445449 +static int whereOrInsert(149751,5445877 +SQLITE_PRIVATE Bitmask sqlite3WhereGetMask(149788,5446844 +static void createMask(149807,5447380 +static Expr *whereRightSubexprIsColumn(whereRightSubexprIsColumn149816,5447680 +static WhereTerm *whereScanNext(whereScanNext149829,5448098 +static SQLITE_NOINLINE WhereTerm *whereScanInitIndexExpr(whereScanInitIndexExpr149928,5451666 +static WhereTerm *whereScanInit(whereScanInit149952,5452654 +SQLITE_PRIVATE WhereTerm *sqlite3WhereFindTerm(sqlite3WhereFindTerm150016,5455294 +static int findIndexCol(150050,5456362 +static int indexColumnNotNull(150080,5457260 +static int isDistinctRedundant(150103,5457860 +static LogEst estLog(150167,5460141 +static void translateColumnToCopy(150183,5460714 +static void whereTraceIndexInfoInputs(150221,5461977 +static void whereTraceIndexInfoOutputs(150239,5462513 +#define whereTraceIndexInfoInputs(150255,5463113 +#define whereTraceIndexInfoOutputs(150256,5463150 +static int termCanDriveIndex(150265,5463395 +static void constructAutomaticIndex(150298,5464569 +static sqlite3_index_info *allocateIndexInfo(allocateIndexInfo150505,5472998 +static int vtabBestIndex(150660,5478892 +static int whereKeyStats(150697,5480112 +static LogEst whereRangeAdjust(150889,5487370 +SQLITE_PRIVATE char sqlite3IndexColumnAffinity(150906,5487758 +static int whereRangeSkipScanEst(150953,5489613 +static int whereRangeScanEst(151065,5493948 +static int whereEqualScanEst(151246,5501148 +static int whereInScanEst(151310,5503229 +SQLITE_PRIVATE void sqlite3WhereTermPrint(151347,5504420 +SQLITE_PRIVATE void sqlite3WhereClausePrint(151392,5506091 +SQLITE_PRIVATE void sqlite3WhereLoopPrint(151404,5506333 +static void whereLoopInit(151456,5508095 +static void whereLoopClearUnion(151466,5508315 +static void whereLoopClear(151483,5508881 +static int whereLoopResize(151492,5509133 +static int whereLoopXfer(151508,5509625 +static void whereLoopDelete(151527,5510193 +static void whereInfoFree(151535,5510339 +static void whereUndoExprMods(151556,5510910 +static int whereLoopCheaperProperSubset(151583,5512030 +static void whereLoopAdjustCost(151624,5513405 +static WhereLoop **whereLoopFindLesser(whereLoopFindLesser151661,5514952 +static int whereLoopInsert(151749,5518735 +static void whereLoopOutputAdjust(151886,5523470 +static int whereRangeVectorLen(151956,5525836 +# define ApplyCostMultiplier(152010,5527829 +# define ApplyCostMultiplier(152012,5527877 +static int whereLoopAddBtreeIndex(152027,5528377 +static int indexMightHelpWithOrderBy(152427,5545031 +static int whereUsablePartialIndex(152461,5546056 +static int whereLoopAddBtree(152525,5548749 +static int whereLoopAddVirtualOne(152799,5559887 +SQLITE_API const char *sqlite3_vtab_collation(sqlite3_vtab_collation152959,5565687 +static int whereLoopAddVirtual(152999,5567390 +static int whereLoopAddOr(153122,5572356 +static int whereLoopAddAll(153248,5576499 +static i8 wherePathSatisfiesOrderBy(153326,5579328 +SQLITE_PRIVATE int sqlite3WhereIsSorted(153671,5593407 +static const char *wherePathName(wherePathName153679,5593651 +static LogEst whereSortingCost(153694,5594063 +static int wherePathSolver(153747,5595905 +static int whereShortCut(154139,5612318 +static int exprNodeIsDeterministic(154221,5614856 +static int exprIsDeterministic(154234,5615251 +static void showAllWhereLoops(154249,5615553 +# define WHERETRACE_ALL_LOOPS(154261,5616018 +# define WHERETRACE_ALL_LOOPS(154263,5616082 +SQLITE_PRIVATE WhereInfo *sqlite3WhereBegin(sqlite3WhereBegin154354,5620035 +# define OpcodeRewriteTrace(154936,5641955 +# define OpcodeRewriteTrace(154938,5642008 + static void sqlite3WhereOpcodeRewriteTrace(154939,5642081 +SQLITE_PRIVATE void sqlite3WhereEnd(154953,5642395 +static void row_numberStepFunc(155391,5659071 +static void row_numberValueFunc(155401,5659302 +struct CallCount 155410,5659561 + i64 nValue;155411,5659580 + i64 nStep;155412,5659594 + i64 nTotal;155413,5659607 +static void dense_rankStepFunc(155422,5659799 +static void dense_rankValueFunc(155433,5660067 +struct NthValueCtx 155450,5660532 + i64 nStep;155451,5660553 + sqlite3_value *pValue;pValue155452,5660566 +static void nth_valueStepFunc(155454,5660594 +static void nth_valueFinalizeFunc(155495,5661563 +static void first_valueStepFunc(155507,5661916 +static void first_valueFinalizeFunc(155523,5662309 +static void rankStepFunc(155541,5662845 +static void rankValueFunc(155557,5663172 +static void percent_rankStepFunc(155572,5663572 +static void percent_rankInvFunc(155585,5663869 +static void percent_rankValueFunc(155596,5664147 +static void cume_distStepFunc(155617,5664749 +static void cume_distInvFunc(155630,5665043 +static void cume_distValueFunc(155641,5665318 +struct NtileCtx 155654,5665670 + i64 nTotal;155655,5665688 + i64 nParam;155656,5665752 + i64 iRow;155657,5665821 +static void ntileStepFunc(155666,5666021 +static void ntileInvFunc(155686,5666505 +static void ntileValueFunc(155697,5666773 +struct LastValueCtx 155724,5667529 + sqlite3_value *pVal;pVal155725,5667551 + int nVal;155726,5667574 +static void last_valueStepFunc(155732,5667631 +static void last_valueInvFunc(155750,5668041 +static void last_valueValueFunc(155767,5668410 +static void last_valueFinalizeFunc(155774,5668625 +static const char row_numberName[row_numberName155792,5669218 +static const char dense_rankName[dense_rankName155793,5669271 +static const char rankName[rankName155794,5669324 +static const char percent_rankName[percent_rankName155795,5669371 +static const char cume_distName[cume_distName155796,5669426 +static const char ntileName[ntileName155797,5669478 +static const char last_valueName[last_valueName155798,5669526 +static const char nth_valueName[nth_valueName155799,5669579 +static const char first_valueName[first_valueName155800,5669631 +static const char leadName[leadName155801,5669685 +static const char lagName[lagName155802,5669732 +static void noopStepFunc(155813,5670155 +static void noopValueFunc(155823,5670565 +#define WINDOWFUNCALL(155827,5670740 +#define WINDOWFUNCNOOP(155835,5671160 +#define WINDOWFUNCX(155844,5671612 +SQLITE_PRIVATE void sqlite3WindowFunctions(155854,5672004 +static Window *windowFind(windowFind155875,5672672 +SQLITE_PRIVATE void sqlite3WindowUpdate(155903,5673794 + struct WindowUpdate 155938,5675102 + const char *zFunc;zFunc155939,5675130 + int eFrmType;155940,5675157 + int eStart;155941,5675179 + int eEnd;155942,5675199 +typedef struct WindowRewrite WindowRewrite;155978,5676479 +struct WindowRewrite 155979,5676523 + Window *pWin;pWin155980,5676546 + SrcList *pSrc;pSrc155981,5676562 + ExprList *pSub;pSub155982,5676579 + Table *pTab;pTab155983,5676597 + Select *pSubSelect;pSubSelect155984,5676612 +static int selectWindowRewriteExprCb(155992,5676861 +static int selectWindowRewriteSelectCb(156074,5679245 +static void selectWindowRewriteEList(156101,5680071 +static ExprList *exprListAppendList(exprListAppendList156135,5680961 +static int sqlite3WindowExtraAggFuncDepth(156177,5682340 +static int disallowAggregatesInOrderByCb(156186,5682538 +SQLITE_PRIVATE int sqlite3WindowRewrite(156201,5683114 +SQLITE_PRIVATE void sqlite3WindowUnlinkFromSelect(156356,5688951 +SQLITE_PRIVATE void sqlite3WindowDelete(156367,5689206 +SQLITE_PRIVATE void sqlite3WindowListDelete(156384,5689703 +static Expr *sqlite3WindowOffsetExpr(sqlite3WindowOffsetExpr156399,5690197 +SQLITE_PRIVATE Window *sqlite3WindowAlloc(sqlite3WindowAlloc156411,5690573 +SQLITE_PRIVATE Window *sqlite3WindowAssemble(sqlite3WindowAssemble156483,5693112 +SQLITE_PRIVATE void sqlite3WindowChain(156510,5693878 +SQLITE_PRIVATE void sqlite3WindowAttach(156544,5694898 +SQLITE_PRIVATE void sqlite3WindowLink(156567,5695652 +SQLITE_PRIVATE int sqlite3WindowCompare(156589,5696353 +SQLITE_PRIVATE void sqlite3WindowCodeInit(156618,5697368 +static void windowCheckValue(156702,5700733 +static int windowArgCount(156749,5702798 +typedef struct WindowCodeArg WindowCodeArg;156754,5702922 +typedef struct WindowCsrAndReg WindowCsrAndReg;156755,5702966 +struct WindowCsrAndReg 156760,5703065 + int csr;156761,5703090 + int reg;156762,5703144 +struct WindowCodeArg 156820,5705743 + Parse *pParse;pParse156821,5705766 + Window *pMWin;pMWin156822,5705815 + Vdbe *pVdbe;pVdbe156823,5705893 + int addrGosub;156824,5705940 + int regGosub;156825,5706018 + int regArg;156826,5706092 + int eDelete;156827,5706167 + int regRowid;156828,5706212 + WindowCsrAndReg start;156830,5706229 + WindowCsrAndReg current;156831,5706254 + WindowCsrAndReg end;156832,5706281 +static void windowReadPeerValues(156839,5706435 +static void windowAggStep(156876,5707795 +static void windowAggFinal(156990,5712006 +static void windowFullScan(157029,5713417 +static void windowReturnOneRow(157135,5716689 +static int windowInitAccum(157211,5719514 +static int windowCacheFrame(157243,5720559 +static void windowIfNewPeer(157269,5721414 +static void windowCodeRangeTest(157315,5723293 +static int windowCodeOp(157448,5728905 +SQLITE_PRIVATE Window *sqlite3WindowDup(sqlite3WindowDup157597,5733599 +SQLITE_PRIVATE Window *sqlite3WindowListDup(sqlite3WindowListDup157630,5734721 +static int windowExprGtZero(157652,5735290 +SQLITE_PRIVATE void sqlite3WindowCodeStep(157999,5746235 +#define yytestcase(158363,5760712 +struct TrigEvent 158399,5761821 +struct TrigEvent { int a;158399,5761821 +struct TrigEvent { int a; IdList * b;158399,5761821 +struct FrameBound 158401,5761863 +struct FrameBound { int eType;158401,5761863 +struct FrameBound { int eType; Expr *pExpr;pExpr158401,5761863 +static void disableLookaside(158407,5762025 +static void updateDeleteLimitError(158419,5762347 + static void parserDoubleLinkSelect(158440,5762924 + static Select *attachWithToSelect(attachWithToSelect158471,5763925 + static Expr *tokenExpr(tokenExpr158486,5764372 + static void binaryToUnaryIfNull(158521,5765324 + static ExprList *parserAddExprIdListTerm(parserAddExprIdListTerm158535,5765836 + int yyinit;158807,5778806 + sqlite3ParserTOKENTYPE yy0;158808,5778820 + Window* yy49;158809,5778850 + ExprList* yy70;158810,5778866 + Select* yy81;158811,5778884 + With* yy103;158812,5778900 + struct FrameBound yy117;158813,5778915 + struct {int value;158814,5778942 + struct {int value; int mask;158814,5778942 + struct {int value; int mask;} yy139;158814,5778942 + SrcList* yy153;158815,5778981 + TriggerStep* yy157;158816,5778999 + Upsert* yy190;158817,5779021 + struct TrigEvent yy262;158818,5779038 + Cte* yy329;158819,5779064 + int yy376;158820,5779078 + Expr* yy404;158821,5779091 + IdList* yy436;158822,5779106 + const char* yy504;158823,5779123 + u8 yy552;158824,5779144 +} YYMINORTYPE;158825,5779156 +# define yytestcase(158864,5780559 +static const YYACTIONTYPE yy_action[yy_action158919,5782908 +static const YYCODETYPE yy_lookahead[yy_lookahead159124,5797933 +static const unsigned short int yy_shift_ofst[yy_shift_ofst159350,5814410 +static const short yy_reduce_ofst[yy_reduce_ofst159412,5818775 +static const YYACTIONTYPE yy_default[yy_default159455,5821828 +static const YYCODETYPE yyFallback[yyFallback159531,5826777 +struct yyStackEntry 159735,5833759 + YYACTIONTYPE stateno;159736,5833781 + YYCODETYPE major;159737,5833862 + YYMINORTYPE minor;159739,5834003 +typedef struct yyStackEntry yyStackEntry;159742,5834135 +struct yyParser 159746,5834277 + yyStackEntry *yytos;yytos159747,5834295 + int yyhwm;159749,5834397 + int yyerrcnt;159752,5834497 + int yystksz;159757,5834753 + yyStackEntry *yystack;yystack159758,5834817 + yyStackEntry yystk0;159759,5834874 + yyStackEntry yystack[yystack159761,5834936 + yyStackEntry *yystackEnd;yystackEnd159762,5835000 +typedef struct yyParser yyParser;159765,5835079 +static FILE *yyTraceFILE yyTraceFILE159770,5835180 +static char *yyTracePrompt yyTracePrompt159771,5835210 +SQLITE_PRIVATE void sqlite3ParserTrace(159792,5835752 +static const char *const yyTokenName[yyTokenName159803,5836173 +static const char *const yyRuleName[yyRuleName160127,5843980 +static int yyGrowStack(160535,5861789 +SQLITE_PRIVATE void sqlite3ParserInit(160574,5862793 +SQLITE_PRIVATE void *sqlite3ParserAlloc(sqlite3ParserAlloc160613,5863851 +static void yy_destructor(160632,5864615 + break;160658,5865606 + break;160674,5866028 + break;160691,5866492 + break;160700,5866708 + break;160705,5866802 + break;160711,5866944 + break;160718,5867101 + break;160727,5867321 + break;160733,5867464 + break;160738,5867569 + break;160745,5867742 + default: break;160747,5867836 +static void yy_pop_parser_stack(160757,5868070 +SQLITE_PRIVATE void sqlite3ParserFinalize(160775,5868517 +SQLITE_PRIVATE void sqlite3ParserFree(160792,5869131 +SQLITE_PRIVATE int sqlite3ParserStackPeak(160808,5869541 +static unsigned char yycoverage[yycoverage160820,5869949 +SQLITE_PRIVATE int sqlite3ParserCoverage(160832,5870261 +static YYACTIONTYPE yy_find_shift_action(160855,5870951 +static YYACTIONTYPE yy_find_reduce_action(160920,5872907 +static void yyStackOverflow(160949,5873604 +static void yyTraceShift(160972,5874385 +# define yyTraceShift(160986,5874860 +static void yy_shift(160992,5874930 +static const YYCODETYPE yyRuleInfoLhs[yyRuleInfoLhs161033,5876170 +static const signed char yyRuleInfoNRhs[yyRuleInfoNRhs161436,5896629 +static YYACTIONTYPE yy_reduce(161849,5917089 + break;161905,5919277 + break;161910,5919418 + break;161915,5919574 + break;161920,5919790 + break;161923,5919874 +{yymsp[1].minor.yy376 yy376161933,5920432 + break;161934,5920460 + break;161937,5920555 + break;161940,5920656 + break;161945,5920854 + break;161951,5921035 + break;161961,5921404 + break;161964,5921537 +{yymsp[1].minor.yy0.n n161968,5921707 +{yymsp[1].minor.yy0.n = 0; yymsp[1].minor.yy0.z z161968,5921707 + break;161969,5921761 + break;161974,5921939 + break;161979,5922130 + break;161982,5922294 + break;161988,5922425 + break;161994,5922553 +{pParse->constraintName constraintName161997,5922684 + break;161998,5922731 + break;162001,5922921 + break;162004,5923087 + break;162007,5923282 + case 162008,5923297 + break;162013,5923533 + case 162014,5923548 + break;162023,5923886 + break;162026,5923999 + break;162029,5924181 + break;162033,5924366 + break;162036,5924531 + break;162039,5924711 + break;162042,5924828 + break;162045,5924946 + break;162048,5925062 + break;162051,5925199 + break;162054,5925284 + break;162057,5925398 + break;162060,5925572 + break;162063,5925708 + break;162066,5925852 + break;162069,5926015 + break;162072,5926178 + break;162075,5926298 + break;162078,5926421 + break;162081,5926539 + break;162084,5926658 + break;162087,5926779 + break;162090,5926902 +{yymsp[-1].minor.yy376 yy376162094,5927143 + break;162095,5927191 +{yymsp[-1].minor.yy376 yy376162101,5927564 + break;162102,5927593 + break;162105,5927705 + break;162108,5927794 + break;162111,5927980 + break;162115,5928203 + break;162118,5928376 + break;162124,5928690 +{yymsp[1].minor.yy376 yy376162127,5928795 + break;162128,5928832 + break;162131,5928951 + break;162134,5929046 +{yymsp[0].minor.yy376 yy376162137,5929178 + break;162138,5929215 + break;162143,5929368 + break;162148,5929661 + break;162153,5929813 + case 162154,5929828 + break;162160,5930029 + break;162163,5930196 + break;162166,5930373 + case 162167,5930388 + break;162175,5930572 + case 162176,5930587 + break;162199,5931319 +{yymsp[0].minor.yy376 yy376162202,5931463 + break;162203,5931524 + break;162206,5931623 + break;162211,5931987 + break;162221,5932530 + break;162226,5932698 + case 162227,5932713 + break;162240,5933129 + break;162243,5933225 + break;162246,5933311 +{yymsp[1].minor.yy70 yy70162253,5933681 + break;162254,5933708 + break;162261,5934102 + case 162262,5934117 + break;162267,5934308 + case 162268,5934323 + break;162275,5934667 +{yymsp[-1].minor.yy0 yy0162280,5934946 + break;162281,5934990 +{yymsp[1].minor.yy153 yy153162284,5935100 + break;162285,5935128 + break;162291,5935296 + break;162296,5935538 + break;162302,5935919 + break;162308,5936302 + break;162313,5936581 + break;162343,5938046 +{yymsp[1].minor.yy0.z=z162346,5938157 +{yymsp[1].minor.yy0.z=0; yymsp[1].minor.yy0.n=n162346,5938157 + break;162347,5938207 + yymsp[0].minor.yy153 yy153162353,5938466 + break;162354,5938509 + yymsp[-2].minor.yy153 yy153162360,5938794 + break;162361,5938838 + break;162364,5938990 + break;162367,5939169 + break;162373,5939483 + break;162379,5939771 + break;162382,5939867 + break;162385,5940024 + break;162388,5940202 + break;162391,5940401 +{yymsp[-1].minor.yy404 yy404162398,5940827 + break;162399,5940875 +{yymsp[1].minor.yy404 yy404162408,5941368 + break;162409,5941396 + break;162412,5941507 + break;162415,5941624 + break;162418,5941743 +{yymsp[1].minor.yy436 yy436162421,5941858 + break;162422,5941886 +{yymsp[-2].minor.yy70 yy70162425,5942041 + break;162426,5942087 + break;162432,5942372 + break;162438,5942642 + break;162441,5942737 + break;162444,5942834 +{yymsp[1].minor.yy376 yy376162447,5942944 + break;162448,5942990 + break;162451,5943090 + break;162454,5943190 + break;162457,5943332 + break;162460,5943506 + break;162463,5943679 + break;162469,5943937 + break;162472,5944091 + break;162475,5944276 + break;162483,5944770 + break;162489,5945029 + break;162494,5945246 + yymsp[-2].minor.yy70 yy70162500,5945462 + break;162501,5945504 + break;162506,5945688 + break;162511,5945931 + break;162516,5946147 + break;162519,5946225 + break;162522,5946374 + break;162525,5946663 + break;162528,5946892 + break;162531,5947041 + break;162534,5947249 + break;162537,5947372 + break;162540,5947486 + break;162543,5947647 + break;162546,5947793 + break;162549,5947899 +{yymsp[0].minor.yy404=yy404162552,5948022 + break;162553,5948108 + case 162554,5948123 + yymsp[-2].minor.yy404 yy404162564,5948559 + break;162565,5948603 + case 162566,5948618 + yymsp[-4].minor.yy404 yy404162578,5949199 + break;162579,5949243 +{yymsp[0].minor.yy404=yy404162582,5949370 + break;162583,5949465 + yymsp[0].minor.yy404 yy404162588,5949610 + break;162589,5949653 + break;162611,5950569 + break;162616,5950751 + break;162622,5951010 + yymsp[-4].minor.yy404 yy404162627,5951212 + break;162628,5951256 + yymsp[-3].minor.yy404 yy404162633,5951406 + break;162634,5951450 + yymsp[-5].minor.yy404 yy404162640,5951734 + break;162641,5951778 + yymsp[-4].minor.yy404 yy404162647,5952010 + break;162648,5952054 + yymsp[0].minor.yy404 yy404162653,5952190 + break;162654,5952233 + case 162655,5952248 + break;162668,5952722 + break;162671,5952873 +{yymsp[-2].minor.yy404=yy404162679,5953418 + break;162680,5953523 + break;162683,5953719 + break;162695,5954284 + break;162708,5954931 + break;162711,5955084 + break;162714,5955227 + break;162720,5955474 + break;162726,5955729 +{yymsp[-1].minor.yy404 yy404162729,5955854 + break;162730,5955962 + break;162736,5956171 +{yymsp[0].minor.yy376 yy376162739,5956293 + break;162740,5956321 + case 162741,5956336 + break;162753,5956876 + break;162793,5958715 + break;162799,5958927 + break;162806,5959278 + case 162807,5959293 + break;162816,5959893 + break;162823,5960109 + break;162835,5960674 + break;162841,5960966 + break;162847,5961225 + break;162850,5961350 + break;162853,5961520 + break;162856,5961673 +{yymsp[-2].minor.yy70 yy70162859,5961823 + break;162860,5961870 + break;162870,5962454 +{yymsp[0].minor.yy376 yy376162873,5962582 + break;162874,5962617 + break;162877,5962703 + break;162882,5962938 + break;162887,5963159 + break;162890,5963306 + break;162893,5963412 + break;162896,5963540 + break;162899,5963670 + break;162902,5963828 + break;162905,5963990 + break;162908,5964152 + break;162911,5964318 + break;162919,5964609 + break;162925,5965118 + break;162928,5965247 + break;162931,5965351 + break;162934,5965443 +{yymsp[0].minor.yy262.a a162937,5965586 +{yymsp[0].minor.yy262.a = yymsp[0].major; /*A-overwrites-X*/ yymsp[0].minor.yy262.b b162937,5965586 + break;162938,5965676 + break;162941,5965835 +{ yymsp[1].minor.yy404 yy404162944,5965949 + break;162945,5965979 +{ yymsp[-1].minor.yy404 yy404162948,5966112 + break;162949,5966162 + break;162956,5966415 + break;162962,5966588 + break;162970,5966836 + break;162977,5967036 + break;162984,5967235 + yymsp[-8].minor.yy157 yy157162987,5967562 + break;162988,5967606 + yymsp[-7].minor.yy157 yy157162993,5967983 + break;162994,5968027 + yymsp[-5].minor.yy157 yy157162997,5968267 + break;162998,5968311 + yymsp[-2].minor.yy157 yy157163001,5968564 + break;163002,5968608 + break;163010,5968824 + break;163018,5969098 + break;163021,5969196 + break;163024,5969286 + break;163029,5969439 + break;163034,5969625 + break;163039,5969749 + break;163042,5969834 + break;163045,5969964 + break;163048,5970049 + break;163051,5970179 + break;163056,5970339 + break;163062,5970618 + break;163067,5970787 + break;163073,5970949 + break;163078,5971150 + break;163081,5971243 + break;163084,5971372 + break;163089,5971604 + break;163092,5971683 + break;163097,5971932 + break;163101,5972124 + break;163104,5972208 + break;163107,5972306 + break;163110,5972407 + break;163115,5972649 + break;163120,5972801 + break;163125,5972968 + yymsp[0].minor.yy49 yy49163128,5973079 + break;163129,5973120 + yymsp[-2].minor.yy49 yy49163137,5973420 + break;163138,5973462 + yymsp[-4].minor.yy49 yy49163146,5973731 + break;163147,5973773 + break;163152,5973994 + yymsp[-5].minor.yy49 yy49163157,5974232 + break;163158,5974274 + break;163163,5974459 + yymsp[-4].minor.yy49 yy49163168,5974661 + break;163169,5974703 + yylhsminor.yy49 yy49163173,5974840 + yymsp[0].minor.yy49 yy49163175,5974883 + break;163176,5974924 + yymsp[-1].minor.yy49 yy49163181,5975089 + break;163182,5975131 + break;163187,5975276 + yymsp[-2].minor.yy49 yy49163192,5975543 + break;163193,5975585 + yymsp[-5].minor.yy49 yy49163198,5975921 + break;163199,5975963 +{yylhsminor.yy117 yy117163202,5976109 + yymsp[0].minor.yy117 yy117163203,5976152 + break;163204,5976195 +{yylhsminor.yy117.eType eType163208,5976434 +{yylhsminor.yy117.eType = yymsp[-1].major; yylhsminor.yy117.pExpr pExpr163208,5976434 + yymsp[-1].minor.yy117 yy117163209,5976506 + break;163210,5976550 + yymsp[-1].minor.yy117 yy117163213,5976719 + break;163214,5976763 + break;163217,5976850 + break;163220,5976979 +{yymsp[-1].minor.yy552 yy552163223,5977123 + break;163224,5977185 + break;163227,5977311 + break;163230,5977437 + yymsp[-1].minor.yy49 yy49163240,5977719 + break;163241,5977761 + yymsp[0].minor.yy49 yy49163252,5978101 + break;163253,5978142 + break;163259,5978301 + break;163267,5978591 + break;163270,5978721 + break;163333,5983039 + yygoto 163337,5983209 + yysize 163338,5983245 + yyact 163339,5983282 + yypParser->yytos yytos163349,5983682 + yymsp->stateno stateno163350,5983710 + yymsp->major major163351,5983750 +static void yy_parse_failed(163360,5983942 +static void yy_syntax_error(163383,5984713 +static void yy_accept(163407,5985572 +SQLITE_PRIVATE void sqlite3Parser(163448,5986896 +SQLITE_PRIVATE int sqlite3ParserFallback(163666,5994340 +static const unsigned char aiClass[aiClass163738,5997360 +# define charMap(163789,6000399 +# define charMap(163792,6000485 +const unsigned char ebcdicToAscii[ebcdicToAscii163793,6000537 +static const char zKWText[zKWText163854,6004101 +static const unsigned char aKWHash[aKWHash163894,6006970 +static const unsigned char aKWNext[aKWNext163909,6007870 +static const unsigned char aKWLen[aKWLen163924,6008749 +static const unsigned short int aKWOffset[aKWOffset163940,6009663 +static const unsigned char aKWCode[aKWCode163955,6010552 +static int keywordCode(164119,6014984 +SQLITE_PRIVATE int sqlite3KeywordCode(164293,6021331 +SQLITE_API int sqlite3_keyword_name(164299,6021496 +SQLITE_API int sqlite3_keyword_count(164305,6021709 +SQLITE_API int sqlite3_keyword_check(164306,6021780 +#define IdChar(164331,6022657 +SQLITE_PRIVATE const char sqlite3IsEbcdicIdChar[sqlite3IsEbcdicIdChar164334,6022750 +#define IdChar(164349,6023605 +SQLITE_PRIVATE int sqlite3IsIdChar(164353,6023748 +static int getToken(164360,6023980 +static int analyzeWindowKeyword(164409,6025458 +static int analyzeOverKeyword(164417,6025648 +static int analyzeFilterKeyword(164424,6025839 +SQLITE_PRIVATE int sqlite3GetToken(164436,6026169 +SQLITE_PRIVATE int sqlite3RunParser(164731,6033490 +static void addSpaceSeparator(164901,6038908 +SQLITE_PRIVATE char *sqlite3Normalize(sqlite3Normalize164912,6039274 +#define IdChar(165058,6043889 +SQLITE_PRIVATE const char sqlite3IsEbcdicIdChar[sqlite3IsEbcdicIdChar165061,6043982 +#define IdChar(165062,6044033 +SQLITE_API int sqlite3_complete(165135,6046679 +SQLITE_API int sqlite3_complete16(165300,6051770 +static int sqlite3TestExtInit(165452,6056543 +SQLITE_API const char sqlite3_version[sqlite3_version165523,6058149 +SQLITE_API const char *sqlite3_libversion(sqlite3_libversion165529,6058358 +SQLITE_API int sqlite3_libversion_number(165542,6058993 +SQLITE_API int sqlite3_threadsafe(165548,6059293 + int sqlite3OSTrace 165559,6059650 +SQLITE_API char *sqlite3_temp_directory sqlite3_temp_directory165579,6060302 +SQLITE_API char *sqlite3_data_directory sqlite3_data_directory165588,6060608 +SQLITE_API int sqlite3_initialize(165621,6061986 +SQLITE_API int sqlite3_shutdown(165796,6068042 +SQLITE_API int sqlite3_config(165850,6069711 + typedef void(*LOGFUNC_t)LOGFUNC_t166047,6077655 + typedef void(*SQLLOGFUNC_t)SQLLOGFUNC_t166078,6078895 +static int setupLookaside(166168,6081888 +SQLITE_API sqlite3_mutex *sqlite3_db_mutex(sqlite3_db_mutex166268,6084894 +SQLITE_API int sqlite3_db_release_memory(166282,6085176 +SQLITE_API int sqlite3_db_cacheflush(166306,6085741 +SQLITE_API int sqlite3_db_config(166335,6086519 + int op;166356,6087162 + u32 mask;166357,6087200 +static int binCollFunc(166410,6089375 +static int rtrimCollFunc(166433,6089949 +SQLITE_PRIVATE int sqlite3IsBinary(166448,6090346 +static int nocaseCollatingFunc(166462,6090841 +SQLITE_API sqlite_int64 sqlite3_last_insert_rowid(166479,6091194 +SQLITE_API void sqlite3_set_last_insert_rowid(166492,6091487 +SQLITE_API sqlite3_int64 sqlite3_changes64(166507,6091866 +SQLITE_API int sqlite3_changes(166516,6092068 +SQLITE_API sqlite3_int64 sqlite3_total_changes64(166523,6092229 +SQLITE_API int sqlite3_total_changes(166532,6092442 +SQLITE_PRIVATE void sqlite3CloseSavepoints(166541,6092727 +static void functionDestroy(166558,6093268 +static void disconnectAllVtab(166573,6093681 +static int connectionIsBusy(166604,6094519 +static int sqlite3Close(166618,6094819 +SQLITE_API int sqlite3_txn_state(166672,6096669 +SQLITE_API int sqlite3_close(166707,6097721 +SQLITE_API int sqlite3_close_v2(166708,6097793 +SQLITE_PRIVATE void sqlite3LeaveMutexAndCloseZombie(166719,6098186 +SQLITE_PRIVATE void sqlite3RollbackAll(166839,6102150 +SQLITE_PRIVATE const char *sqlite3ErrName(sqlite3ErrName166889,6103755 +SQLITE_PRIVATE const char *sqlite3ErrStr(sqlite3ErrStr167000,6111319 +static int sqliteDefaultBusyCallback(167070,6113781 +SQLITE_PRIVATE int sqlite3InvokeBusyHandler(167122,6115346 +SQLITE_API int sqlite3_busy_handler(167138,6115721 +SQLITE_API void sqlite3_progress_handler(167161,6116363 +SQLITE_API int sqlite3_busy_timeout(167192,6117005 +SQLITE_API void sqlite3_interrupt(167209,6117464 +SQLITE_PRIVATE int sqlite3CreateFunc(167226,6117995 +static int createFunctionApi(167361,6122406 +SQLITE_API int sqlite3_create_function(167412,6123585 +SQLITE_API int sqlite3_create_function_v2(167425,6123969 +SQLITE_API int sqlite3_create_window_function(167439,6124391 +SQLITE_API int sqlite3_create_function16(167456,6124889 +static void sqlite3InvalidFunction(167492,6126038 +SQLITE_API int sqlite3_overload_function(167518,6127041 +SQLITE_API void *sqlite3_trace(sqlite3_trace167551,6127993 +SQLITE_API int sqlite3_trace_v2(167572,6128532 +SQLITE_API void *sqlite3_profile(sqlite3_profile167602,6129513 +SQLITE_API void *sqlite3_commit_hook(sqlite3_commit_hook167632,6130257 +SQLITE_API void *sqlite3_update_hook(sqlite3_update_hook167657,6130925 +SQLITE_API void *sqlite3_rollback_hook(sqlite3_rollback_hook167682,6131584 +SQLITE_API void *sqlite3_preupdate_hook(sqlite3_preupdate_hook167708,6132280 +SQLITE_PRIVATE int sqlite3WalDefaultHook(167731,6133101 +SQLITE_API int sqlite3_wal_autocheckpoint(167757,6134048 +SQLITE_API void *sqlite3_wal_hook(sqlite3_wal_hook167778,6134600 +SQLITE_API int sqlite3_wal_checkpoint_v2(167805,6135224 +SQLITE_API int sqlite3_wal_checkpoint(167869,6137202 +SQLITE_PRIVATE int sqlite3Checkpoint(167896,6138398 +SQLITE_PRIVATE int sqlite3TempInMemory(167942,6140379 +SQLITE_API const char *sqlite3_errmsg(sqlite3_errmsg167963,6140815 +SQLITE_API const void *sqlite3_errmsg16(sqlite3_errmsg16167991,6141501 +SQLITE_API int sqlite3_errcode(168033,6142866 +SQLITE_API int sqlite3_extended_errcode(168042,6143098 +SQLITE_API int sqlite3_system_errno(168051,6143325 +SQLITE_API const char *sqlite3_errstr(sqlite3_errstr168060,6143569 +static int createCollation(168068,6143754 +static const int aHardLimit[aHardLimit168145,6146073 +SQLITE_API int sqlite3_limit(168208,6147967 +SQLITE_PRIVATE int sqlite3ParseUri(168278,6151305 + struct OpenMode 168420,6156616 + const char *z;z168421,6156642 + int mode;168422,6156667 +static const char *uriParameter(uriParameter168515,6159259 +static int openDatabase(168533,6159764 +SQLITE_API int sqlite3_open(168859,6170555 +SQLITE_API int sqlite3_open_v2(168866,6170740 +SQLITE_API int sqlite3_open16(168879,6171115 +SQLITE_API int sqlite3_create_collation(168918,6172189 +SQLITE_API int sqlite3_create_collation_v2(168931,6172498 +SQLITE_API int sqlite3_create_collation16(168956,6173116 +SQLITE_API int sqlite3_collation_needed(168986,6173935 +SQLITE_API int sqlite3_collation_needed16(169007,6174542 +SQLITE_API int sqlite3_global_recover(169029,6175186 +SQLITE_API int sqlite3_get_autocommit(169040,6175519 +SQLITE_PRIVATE int sqlite3ReportError(169061,6176163 +SQLITE_PRIVATE int sqlite3CorruptError(169066,6176361 +SQLITE_PRIVATE int sqlite3MisuseError(169070,6176534 +SQLITE_PRIVATE int sqlite3CantopenError(169074,6176692 +SQLITE_PRIVATE int sqlite3CorruptPgnoError(169079,6176929 +SQLITE_PRIVATE int sqlite3NomemError(169087,6177222 +SQLITE_PRIVATE int sqlite3IoerrnomemError(169091,6177375 +SQLITE_API void sqlite3_thread_cleanup(169105,6177844 +SQLITE_API int sqlite3_table_column_metadata(169113,6178033 +SQLITE_API int sqlite3_sleep(169231,6181619 +SQLITE_API int sqlite3_extended_result_codes(169247,6181982 +SQLITE_API int sqlite3_file_control(169260,6182351 +SQLITE_API int sqlite3_test_control(169310,6183879 + typedef int(*TESTCALLBACKFUNC_t)TESTCALLBACKFUNC_t169401,6187021 + typedef void (*void_function)void_function169414,6187409 + typedef void (*branch_callback)branch_callback169597,6194525 +static const char *databaseName(databaseName169764,6200960 +static char *appendText(appendText169775,6201260 +SQLITE_API char *sqlite3_create_filename(sqlite3_create_filename169790,6201739 +SQLITE_API void sqlite3_free_filename(169826,6202669 +SQLITE_API const char *sqlite3_uri_parameter(sqlite3_uri_parameter169844,6203338 +SQLITE_API const char *sqlite3_uri_key(sqlite3_uri_key169853,6203633 +SQLITE_API int sqlite3_uri_boolean(169867,6204062 +SQLITE_API sqlite3_int64 sqlite3_uri_int64(169876,6204347 +SQLITE_API const char *sqlite3_filename_database(sqlite3_filename_database169899,6205163 +SQLITE_API const char *sqlite3_filename_journal(sqlite3_filename_journal169902,6205272 +SQLITE_API const char *sqlite3_filename_wal(sqlite3_filename_wal169911,6205583 +SQLITE_PRIVATE Btree *sqlite3DbNameToBtree(sqlite3DbNameToBtree169924,6205904 +SQLITE_API const char *sqlite3_db_filename(sqlite3_db_filename169933,6206169 +SQLITE_API int sqlite3_db_readonly(169949,6206582 +SQLITE_API int sqlite3_snapshot_get(169966,6207018 +SQLITE_API int sqlite3_snapshot_open(170002,6207844 +SQLITE_API int sqlite3_snapshot_recover(170058,6209276 +SQLITE_API void sqlite3_snapshot_free(170089,6210042 +SQLITE_API int sqlite3_compileoption_used(170102,6210431 +SQLITE_API const char *sqlite3_compileoption_get(sqlite3_compileoption_get170135,6211209 +#define assertMutexHeld(170178,6212452 +static sqlite3 *SQLITE_WSD sqlite3BlockedList 170187,6212800 +static void checkListProperties(170204,6213435 +# define checkListProperties(170223,6214007 +static void removeFromBlockedList(170230,6214195 +static void addToBlockedList(170245,6214541 +static void enterMutex(170260,6214821 +static void leaveMutex(170268,6214988 +SQLITE_API int sqlite3_unlock_notify(170295,6215916 +SQLITE_PRIVATE void sqlite3ConnectionBlocked(170345,6217314 +SQLITE_PRIVATE void sqlite3ConnectionUnlocked(170373,6218281 +SQLITE_PRIVATE void sqlite3ConnectionClosed(170472,6222115 +typedef struct sqlite3_tokenizer_module sqlite3_tokenizer_module;170868,6238439 +typedef struct sqlite3_tokenizer sqlite3_tokenizer;170869,6238505 +typedef struct sqlite3_tokenizer_cursor sqlite3_tokenizer_cursor;170870,6238557 +struct sqlite3_tokenizer_module 170872,6238624 + int iVersion;170877,6238725 + int (*xCreate)xCreate170896,6239507 + int (*xDestroy)xDestroy170906,6239875 + int (*xOpen)xOpen170913,6240137 + int (*xClose)xClose170923,6240502 + int (*xNext)xNext170949,6241786 + int (*xLanguageid)xLanguageid170964,6242391 +struct sqlite3_tokenizer 170967,6242462 + const sqlite3_tokenizer_module *pModule;pModule170968,6242489 +struct sqlite3_tokenizer_cursor 170972,6242644 + sqlite3_tokenizer *pTokenizer;pTokenizer170973,6242678 +typedef struct Fts3Hash Fts3Hash;171007,6243940 +typedef struct Fts3HashElem Fts3HashElem;171008,6243974 +struct Fts3Hash 171018,6244473 + char keyClass;171019,6244491 + char copyKey;171020,6244560 + int count;171021,6244627 + Fts3HashElem *first;first171022,6244691 + int htsize;171023,6244754 + struct _fts3ht 171024,6244822 + int count;171025,6244869 + Fts3HashElem *chain;chain171026,6244937 + } *ht;ht171027,6245010 +struct Fts3HashElem 171036,6245280 + Fts3HashElem *next,next171037,6245302 + Fts3HashElem *next, *prev;prev171037,6245302 + void *data;data171038,6245377 + void *pKey;pKey171039,6245446 + void *pKey; int nKey;171039,6245446 +#define fts3HashFirst(171087,6247113 +#define fts3HashNext(171088,6247152 +#define fts3HashData(171089,6247190 +#define fts3HashKey(171090,6247228 +#define fts3HashKeysize(171091,6247266 +#define fts3HashCount(171096,6247349 +#define SizeofArray(171137,6248874 +# define MIN(171141,6248943 +# define MAX(171144,6248998 +# define testcase(171178,6250246 +# define assert_fts3_nc(171194,6250726 +# define assert_fts3_nc(171196,6250802 +# define ALWAYS(171210,6251109 +# define NEVER(171211,6251132 +# define ALWAYS(171213,6251183 +# define NEVER(171214,6251228 +# define ALWAYS(171218,6251366 +# define NEVER(171219,6251389 +typedef unsigned char u8;171225,6251460 +typedef short int i16;171226,6251536 +typedef unsigned int u32;171227,6251610 +typedef sqlite3_uint64 u64;171228,6251674 +typedef sqlite3_int64 i64;171229,6251738 +#define UNUSED_PARAMETER(171234,6251874 +# define TESTONLY(171249,6252281 +# define TESTONLY(171251,6252311 +typedef struct Fts3Table Fts3Table;171268,6252691 +typedef struct Fts3Cursor Fts3Cursor;171269,6252727 +typedef struct Fts3Expr Fts3Expr;171270,6252765 +typedef struct Fts3Phrase Fts3Phrase;171271,6252799 +typedef struct Fts3PhraseToken Fts3PhraseToken;171272,6252837 +typedef struct Fts3Doclist Fts3Doclist;171274,6252886 +typedef struct Fts3SegFilter Fts3SegFilter;171275,6252926 +typedef struct Fts3DeferredToken Fts3DeferredToken;171276,6252970 +typedef struct Fts3SegReader Fts3SegReader;171277,6253022 +typedef struct Fts3MultiSegReader Fts3MultiSegReader;171278,6253066 +typedef struct MatchinfoBuffer MatchinfoBuffer;171280,6253121 +struct Fts3Table 171289,6253466 + sqlite3_vtab base;171290,6253485 + sqlite3 *db;db171291,6253556 + const char *zDb;zDb171292,6253620 + const char *zName;zName171293,6253682 + int nColumn;171294,6253741 + char **azColumn;azColumn171295,6253822 + u8 *abNotindexed;abNotindexed171296,6253886 + sqlite3_tokenizer *pTokenizer;pTokenizer171297,6253956 + char *zContentTbl;zContentTbl171298,6254030 + char *zLanguageid;zLanguageid171299,6254098 + int nAutoincrmerge;171300,6254169 + u32 nLeafAdd;171301,6254241 + int bLock;171302,6254320 + sqlite3_stmt *aStmt[aStmt171307,6254549 + sqlite3_stmt *pSeekStmt;pSeekStmt171308,6254576 + char *zReadExprlist;zReadExprlist171310,6254648 + char *zWriteExprlist;zWriteExprlist171311,6254671 + int nNodeSize;171313,6254696 + u8 bFts4;171314,6254761 + u8 bHasStat;171315,6254831 + u8 bHasDocsize;171316,6254912 + u8 bDescIdx;171317,6254983 + u8 bIgnoreSavepoint;171318,6255061 + int nPgsz;171319,6255139 + char *zSegmentsTbl;zSegmentsTbl171320,6255207 + sqlite3_blob *pSegments;pSegments171321,6255272 + int nIndex;171340,6256275 + struct Fts3Index 171341,6256332 + int nPrefix;171342,6256353 + Fts3Hash hPending;171343,6256432 + } *aIndex;aIndex171344,6256507 + int nMaxPendingData;171345,6256520 + int nPendingData;171346,6256598 + sqlite_int64 iPrevDocid;171347,6256668 + int iPrevLangid;171348,6256749 + int bPrevDelete;171349,6256826 + int inTransaction;171357,6257230 + int mxSavepoint;171358,6257308 + int bNoIncrDoclist;171364,6257566 + int nMergeCount;171367,6257627 +# define MergeCount(171373,6257759 +# define MergeCount(171375,6257807 +struct Fts3Cursor 171383,6258068 + sqlite3_vtab_cursor base;171384,6258088 + i16 eSearch;171385,6258159 + u8 isEof;171386,6258227 + u8 isRequireSeek;171387,6258293 + u8 bSeekStmt;171388,6258374 + sqlite3_stmt *pStmt;pStmt171389,6258438 + Fts3Expr *pExpr;pExpr171390,6258518 + int iLangid;171391,6258584 + int nPhrase;171392,6258651 + Fts3DeferredToken *pDeferred;pDeferred171393,6258728 + sqlite3_int64 iPrevId;171394,6258799 + char *pNextId;pNextId171395,6258870 + char *aDoclist;aDoclist171396,6258944 + int nDoclist;171397,6259021 + u8 bDesc;171398,6259088 + int eEvalmode;171399,6259161 + int nRowAvg;171400,6259226 + sqlite3_int64 nDoc;171401,6259306 + i64 iMinDocid;171402,6259365 + i64 iMaxDocid;171403,6259429 + int isMatchinfoNeeded;171404,6259493 + MatchinfoBuffer *pMIBuffer;pMIBuffer171405,6259573 +struct Fts3Doclist 171441,6261098 + char *aAll;aAll171442,6261119 + int nAll;171443,6261193 + char *pNextDocid;pNextDocid171444,6261253 + sqlite3_int64 iDocid;171446,6261315 + int bFreeList;171447,6261382 + char *pList;pList171448,6261461 + int nList;171449,6261542 +struct Fts3PhraseToken 171458,6261888 + char *z;z171459,6261913 + int n;171460,6261971 + int isPrefix;171461,6262039 + int bFirst;171462,6262119 + Fts3DeferredToken *pDeferred;pDeferred171467,6262387 + Fts3MultiSegReader *pSegcsr;pSegcsr171468,6262464 +struct Fts3Phrase 171471,6262538 + Fts3Doclist doclist;171473,6262600 + int bIncr;171474,6262623 + int iDoclistToken;171475,6262698 + char *pOrPoslist;pOrPoslist171479,6262817 + i64 iOrDocid;171480,6262837 + int nToken;171485,6263008 + int iColumn;171486,6263074 + Fts3PhraseToken aToken[aToken171487,6263148 +struct Fts3Expr 171511,6264117 + int eType;171512,6264135 + int nNear;171513,6264215 + Fts3Expr *pParent;pParent171514,6264280 + Fts3Expr *pLeft;pLeft171515,6264361 + Fts3Expr *pRight;pRight171516,6264409 + Fts3Phrase *pPhrase;pPhrase171517,6264458 + sqlite3_int64 iDocid;171520,6264584 + u8 bEof;171521,6264633 + u8 bStart;171522,6264707 + u8 bDeferred;171523,6264766 + int iPhrase;171526,6264908 + u32 *aMI;aMI171527,6264987 +# define sqlite3Fts3FreeDeferredTokens(171571,6266793 +# define sqlite3Fts3DeferToken(171572,6266835 +# define sqlite3Fts3CacheDeferredDoclists(171573,6266883 +# define sqlite3Fts3FreeDeferredDoclists(171574,6266938 +# define sqlite3Fts3DeferredTokenList(171575,6266982 +struct Fts3SegFilter 171601,6268097 + const char *zTerm;zTerm171602,6268120 + int nTerm;171603,6268141 + int iCol;171604,6268154 + int flags;171605,6268166 +struct Fts3MultiSegReader 171608,6268183 + Fts3SegReader **apSegment;apSegment171610,6268270 + int nSegment;171611,6268341 + int nAdvance;171612,6268405 + Fts3SegFilter *pFilter;pFilter171613,6268477 + char *aBuffer;aBuffer171614,6268542 + int nBuffer;171615,6268610 + int iColFilter;171617,6268688 + int bRestart;171618,6268759 + int nCost;171621,6268805 + int bLookup;171622,6268870 + char *zTerm;zTerm171625,6269027 + int nTerm;171626,6269090 + char *aDoclist;aDoclist171627,6269153 + int nDoclist;171628,6269219 +#define fts3GetVarint32(171633,6269353 +SQLITE_PRIVATE int sqlite3Fts3Always(171737,6273565 +SQLITE_PRIVATE int sqlite3Fts3Never(171738,6273636 +SQLITE_API int sqlite3_fts3_may_be_corrupt 171749,6274048 +SQLITE_PRIVATE int sqlite3Fts3PutVarint(171757,6274299 +#define GETVARINT_STEP(171769,6274674 +#define GETVARINT_INIT(171772,6274855 +SQLITE_PRIVATE int sqlite3Fts3GetVarintU(171776,6275031 +SQLITE_PRIVATE int sqlite3Fts3GetVarint(171803,6275791 +SQLITE_PRIVATE int sqlite3Fts3GetVarintBounded(171813,6276121 +SQLITE_PRIVATE int sqlite3Fts3GetVarint32(171837,6276718 +SQLITE_PRIVATE int sqlite3Fts3VarintLen(171861,6277362 +SQLITE_PRIVATE void sqlite3Fts3Dequote(171884,6277858 +static void fts3GetDeltaVarint(171913,6278708 +static void fts3GetReverseVarint(171928,6279220 +static int fts3DisconnectMethod(171950,6279682 +SQLITE_PRIVATE void sqlite3Fts3ErrMsg(171978,6280370 +static void fts3DbExec(171993,6280793 +static int fts3DestroyMethod(172016,6281339 +static void fts3DeclareVtab(172053,6282626 +SQLITE_PRIVATE void sqlite3Fts3CreateStatTable(172090,6283811 +static int fts3CreateTables(172108,6284448 +static void fts3DatabasePageSize(172173,6286417 +static int fts3IsSpecialColumn(172207,6287433 +static void fts3Appendf(172232,6287868 +static char *fts3QuoteId(fts3QuoteId172265,6288863 +static char *fts3ReadExprList(fts3ReadExprList172307,6290332 +static char *fts3WriteExprList(fts3WriteExprList172364,6292205 +SQLITE_PRIVATE int sqlite3Fts3ReadInt(172391,6292877 +static int fts3GobbleInt(172415,6293650 +static int fts3PrefixParameter(172448,6294849 +static int fts3ContentColumns(172517,6297130 +static int fts3InitVtab(172592,6299642 +static int fts3ConnectMethod(172976,6312327 +static int fts3CreateMethod(172986,6312847 +static void fts3SetEstimatedRows(173002,6313574 +static void fts3SetUniqueFlag(173015,6313997 +static int fts3BestIndexMethod(173031,6314490 +static int fts3OpenMethod(173160,6318769 +static void fts3CursorFinalizeStmt(173184,6319566 +static void fts3ClearCursor(173201,6319973 +static int fts3CloseMethod(173214,6320419 +static int fts3CursorSeekStmt(173232,6321027 +static int fts3CursorSeek(173260,6321794 +static int fts3ScanInteriorNode(173307,6323431 +static int fts3SelectLeaf(173433,6328465 +static void fts3PutDeltaVarint(173487,6330333 +static void fts3PoslistCopy(173511,6331365 +static void fts3ColumnlistCopy(173558,6333090 +static void fts3ReadNextPos(173604,6334690 +static int fts3PutColNumber(173627,6335377 +static int fts3PoslistMerge(173645,6335988 +static int fts3PoslistPhraseMerge(173745,6339302 +static int fts3PoslistNearMerge(173868,6342816 +typedef struct TermSelect TermSelect;173907,6343973 +struct TermSelect 173908,6344011 + char *aaOutput[aaOutput173909,6344031 + int anOutput[anOutput173910,6344095 +static void fts3GetDeltaVarint3(173926,6344794 +static void fts3PutDeltaVarint3(173960,6345910 +#define DOCID_CMP(173993,6347158 +static int fts3DoclistOrMerge(174009,6347883 +static int fts3DoclistPhraseMerge(174111,6351808 +SQLITE_PRIVATE int sqlite3Fts3FirstFilter(174182,6353980 +static int fts3TermSelectFinishMerge(174234,6355447 +static int fts3TermSelectMerge(174288,6356979 +static int fts3SegReaderCursorAppend(174361,6359522 +static int fts3SegReaderCursor(174386,6360193 +SQLITE_PRIVATE int sqlite3Fts3SegReaderCursor(174460,6363229 +static int fts3SegReaderCursorAddZero(174492,6364544 +static int fts3TermSegReaderCursor(174517,6365550 +static void fts3SegReaderCursorFree(174574,6367321 +static int fts3TermSelect(174583,6367561 +static int fts3DoclistCountDocids(174640,6369517 +static int fts3NextMethod(174666,6370455 +static sqlite3_int64 fts3DocidRange(174692,6371258 +static int fts3FilterMethod(174718,6372092 +static int fts3EofMethod(174839,6375981 +static int fts3RowidMethod(174854,6376424 +static int fts3ColumnMethod(174871,6376982 +static int fts3UpdateMethod(174925,6378639 +static int fts3SyncMethod(174938,6379111 +static int fts3SetHasStat(174990,6381340 +static int fts3BeginMethod(175008,6381749 +static int fts3CommitMethod(175031,6382309 +static int fts3RollbackMethod(175046,6382777 +static void fts3ReversePoslist(175061,6383281 +static int fts3FunctionArg(175104,6384947 +static void fts3SnippetFunc(175126,6385607 +static void fts3OffsetsFunc(175173,6387366 +static void fts3OptimizeFunc(175199,6388155 +static void fts3MatchinfoFunc(175233,6389162 +static int fts3FindFunctionMethod(175253,6389824 + struct Overloaded 175260,6390179 + const char *zName;zName175261,6390201 + void (*xFunc)xFunc175262,6390224 +static int fts3RenameMethod(175289,6390898 +static int fts3SavepointMethod(175347,6392565 +static int fts3ReleaseMethod(175364,6393018 +static int fts3RollbackToMethod(175379,6393422 +static int fts3ShadowName(175392,6393790 +static const sqlite3_module fts3Module 175403,6394078 +static void hashDestroy(175435,6395270 +SQLITE_PRIVATE int sqlite3Fts3Init(175466,6396584 +static void fts3EvalAllocateReaders(175576,6400001 +static int fts3EvalPhraseMergeToken(175618,6401557 +static int fts3EvalPhraseLoad(175682,6403170 +static int fts3EvalDeferredPhrase(175719,6404409 +static int fts3EvalPhraseStart(175832,6407792 +SQLITE_PRIVATE void sqlite3Fts3DoclistPrev(175889,6409934 +SQLITE_PRIVATE void sqlite3Fts3DoclistNext(175945,6411493 +static void fts3EvalDlPhraseNext(175982,6412580 +typedef struct TokenDoclist TokenDoclist;176029,6414034 +struct TokenDoclist 176030,6414076 + int bIgnore;176031,6414098 + sqlite3_int64 iDocid;176032,6414113 + char *pList;pList176033,6414137 + int nList;176034,6414152 +static int incrPhraseTokenNext(176046,6414539 +static int fts3EvalIncrPhraseNext(176098,6416249 +static int fts3EvalPhraseNext(176199,6419649 +static void fts3EvalStartReaders(176238,6421109 +typedef struct Fts3TokenAndCost Fts3TokenAndCost;176274,6422503 +struct Fts3TokenAndCost 176275,6422553 + Fts3Phrase *pPhrase;pPhrase176276,6422579 + int iToken;176277,6422651 + Fts3PhraseToken *pToken;pToken176278,6422719 + Fts3Expr *pRoot;pRoot176279,6422776 + int nOvfl;176280,6422841 + int iCol;176281,6422922 +static void fts3EvalTokenCosts(176291,6423245 +static int fts3EvalAverageDocsize(176345,6425304 +static int fts3EvalSelectDeferred(176406,6427433 +static int fts3EvalStart(176539,6432821 +static void fts3EvalInvalidatePoslist(176588,6434141 +static int fts3EvalNearTrim(176619,6435373 +static void fts3EvalNextRow(176695,6438652 +static int fts3EvalNearTest(176838,6443853 +static int fts3EvalTestExpr(176920,6446643 +SQLITE_PRIVATE int sqlite3Fts3EvalTestDeferred(177034,6450475 +static int fts3EvalNext(177064,6451444 +static void fts3EvalRestart(177105,6452755 +static void fts3EvalUpdateCounts(177148,6453997 +static int fts3EvalGatherStats(177190,6455331 +SQLITE_PRIVATE int sqlite3Fts3EvalPhraseStats(177302,6459186 +SQLITE_PRIVATE int sqlite3Fts3EvalPhrasePoslist(177350,6460850 +SQLITE_PRIVATE void sqlite3Fts3EvalPhraseCleanup(177484,6465228 +SQLITE_PRIVATE int sqlite3Fts3Corrupt(177502,6465669 +__declspec(177512,6465833 +typedef struct Fts3auxTable Fts3auxTable;177547,6466725 +typedef struct Fts3auxCursor Fts3auxCursor;177548,6466767 +struct Fts3auxTable 177550,6466812 + sqlite3_vtab base;177551,6466834 + Fts3Table *pFts3Tab;pFts3Tab177552,6466905 +struct Fts3auxCursor 177555,6466932 + sqlite3_vtab_cursor base;177556,6466955 + Fts3MultiSegReader csr;177557,6467026 + Fts3SegFilter filter;177558,6467092 + char *zStop;zStop177559,6467116 + int nStop;177560,6467131 + int iLangid;177561,6467199 + int isEof;177562,6467260 + sqlite3_int64 iRowid;177563,6467325 + int iCol;177565,6467380 + int nStat;177566,6467450 + struct Fts3auxColstats 177567,6467512 + sqlite3_int64 nDoc;177568,6467539 + sqlite3_int64 nOcc;177569,6467618 + } *aStat;aStat177570,6467699 +static int fts3auxConnectMethod(177584,6468052 +static int fts3auxDisconnectMethod(177655,6470481 +static int fts3auxBestIndexMethod(177676,6470991 +static int fts3auxOpenMethod(177746,6472860 +static int fts3auxCloseMethod(177762,6473284 +static int fts3auxGrowStatArray(177775,6473685 +static int fts3auxNextMethod(177794,6474213 +static int fts3auxFilterMethod(177888,6476955 +static int fts3auxEofMethod(177984,6480204 +static int fts3auxColumnMethod(177992,6480380 +static int fts3auxRowidMethod(178033,6481429 +SQLITE_PRIVATE int sqlite3Fts3InitAux(178046,6481840 +SQLITE_API int sqlite3_fts3_enable_parentheses 178149,6486000 +typedef struct ParseContext ParseContext;178174,6486668 +struct ParseContext 178175,6486710 + sqlite3_tokenizer *pTokenizer;pTokenizer178176,6486732 + int iLangid;178177,6486793 + const char **azCol;azCol178178,6486869 + int bFts4;178179,6486950 + int nCol;178180,6487025 + int iDefaultCol;178181,6487098 + int isNot;178182,6487166 + sqlite3_context *pCtx;pCtx178183,6487247 + int nNest;178184,6487316 +static int fts3isspace(178198,6487935 +static void *fts3MallocZero(fts3MallocZero178207,6488207 +SQLITE_PRIVATE int sqlite3Fts3OpenTokenizer(178213,6488352 +static int getNextToken(178258,6489795 +static void *fts3ReallocOrFree(fts3ReallocOrFree178337,6492239 +static int getNextString(178357,6492985 +static int getNextNode(178475,6496766 + static const struct Fts3Keyword 178481,6497069 + char *z;z178482,6497105 + unsigned char n;178483,6497166 + unsigned char parenOnly;178484,6497236 + unsigned char eType;178485,6497309 +static int opPrecedence(178642,6502298 +static void insertBinaryOperator(178663,6503051 +static int fts3ExprParse(178694,6504178 +static int fts3ExprCheckDepth(178843,6508588 +static int fts3ExprBalance(178869,6509334 +static int fts3ExprParseUnbalanced(179043,6514515 +SQLITE_PRIVATE int sqlite3Fts3ExprParse(179106,6517050 +static void fts3FreeExprNode(179150,6518615 +SQLITE_PRIVATE void sqlite3Fts3ExprFree(179164,6519067 +static char *exprToString(exprToString179204,6520428 +static void fts3ExprTestCommon(179261,6522198 +static void fts3ExprTest(179343,6524228 +static void fts3ExprTestRebalance(179350,6524368 +SQLITE_PRIVATE int sqlite3Fts3ExprInitTestInterface(179362,6524626 +static void *fts3HashMalloc(fts3HashMalloc179416,6526328 +static void fts3HashFree(179423,6526457 +SQLITE_PRIVATE void sqlite3Fts3HashInit(179437,6526980 +SQLITE_PRIVATE void sqlite3Fts3HashClear(179452,6527447 +static int fts3StrHash(179475,6527972 +static int fts3StrCompare(179485,6528219 +static int fts3BinHash(179493,6528461 +static int fts3BinCompare(179501,6528647 +static int (*ftsHashFunction(ftsHashFunction179518,6529361 +static int (*ftsCompareFunction(ftsCompareFunction179533,6529776 +static void fts3HashInsertElement(179544,6530049 +static int fts3Rehash(179574,6530957 +static Fts3HashElem *fts3FindElementByHash(fts3FindElementByHash179598,6531879 +static void fts3RemoveElementByHash(179626,6532766 +SQLITE_PRIVATE Fts3HashElem *sqlite3Fts3HashFindElem(sqlite3Fts3HashFindElem179660,6533543 +SQLITE_PRIVATE void *sqlite3Fts3HashFind(sqlite3Fts3HashFind179681,6534188 +SQLITE_PRIVATE void *sqlite3Fts3HashInsert(sqlite3Fts3HashInsert179703,6535093 +typedef struct porter_tokenizer 179802,6538112 + sqlite3_tokenizer base;179803,6538146 +} porter_tokenizer;179804,6538194 +typedef struct porter_tokenizer_cursor 179809,6538268 + sqlite3_tokenizer_cursor base;179810,6538309 + const char *zInput;zInput179811,6538342 + int nInput;179812,6538403 + int iOffset;179813,6538458 + int iToken;179814,6538522 + char *zToken;zToken179815,6538594 + int nAllocated;179816,6538657 +} porter_tokenizer_cursor;179817,6538727 +static int porterCreate(179823,6538798 +static int porterDestroy(179842,6539174 +static int porterOpen(179853,6539486 +static int porterClose(179886,6540353 +static const char cType[cType179895,6540576 +static int isConsonant(179914,6541199 +static int isVowel(179923,6541395 +static int m_gt_0(179952,6542307 +static int m_eq_1(179962,6542531 +static int m_gt_1(179976,6542865 +static int hasVowel(179990,6543185 +static int doubleConsonant(180001,6543432 +static int star_oh(180013,6543796 +static int stem(180033,6544349 +static void copy_stemmer(180058,6545229 +static void porter_stemmer(180105,6546722 +static const char porterIdChar[porterIdChar180344,6552030 +#define isDelim(180352,6552434 +static int porterNext(180358,6552642 +static const sqlite3_tokenizer_module porterTokenizerModule 180406,6554174 +SQLITE_PRIVATE void sqlite3Fts3PorterTokenizerModule(180420,6554424 +static int fts3TokenizerEnabled(180466,6555919 +static void fts3TokenizerFunc(180493,6557049 +SQLITE_PRIVATE int sqlite3Fts3IsIdChar(180543,6558425 +SQLITE_PRIVATE const char *sqlite3Fts3NextToken(sqlite3Fts3NextToken180557,6559075 +SQLITE_PRIVATE int sqlite3Fts3InitTokenizer(180594,6559835 +static void testFunc(180690,6562683 +int registerTokenizer(180782,6564865 +int queryTokenizer(180805,6565326 +static void intTestFunc(180852,6566728 +SQLITE_PRIVATE int sqlite3Fts3InitHashTable(180906,6568490 +typedef struct simple_tokenizer 180987,6570659 + sqlite3_tokenizer base;180988,6570693 + char delim[delim180989,6570719 +} simple_tokenizer;180990,6570778 +typedef struct simple_tokenizer_cursor 180992,6570799 + sqlite3_tokenizer_cursor base;180993,6570840 + const char *pInput;pInput180994,6570873 + int nBytes;180995,6570934 + int iOffset;180996,6570989 + int iToken;180997,6571053 + char *pToken;pToken180998,6571125 + int nTokenAllocated;180999,6571188 +} simple_tokenizer_cursor;181000,6571258 +static int simpleDelim(181003,6571287 +static int fts3_isalnum(181006,6571383 +static int simpleCreate(181013,6571533 +static int simpleDestroy(181054,6572574 +static int simpleOpen(181065,6572886 +static int simpleClose(181098,6573758 +static int simpleNext(181109,6574084 +static const sqlite3_tokenizer_module simpleTokenizerModule 181166,6575933 +SQLITE_PRIVATE void sqlite3Fts3SimpleTokenizerModule(181180,6576184 +typedef struct Fts3tokTable Fts3tokTable;181236,6578066 +typedef struct Fts3tokCursor Fts3tokCursor;181237,6578108 +struct Fts3tokTable 181242,6578187 + sqlite3_vtab base;181243,6578209 + const sqlite3_tokenizer_module *pMod;pMod181244,6578280 + sqlite3_tokenizer *pTok;pTok181245,6578320 +struct Fts3tokCursor 181251,6578392 + sqlite3_vtab_cursor base;181252,6578415 + char *zInput;zInput181253,6578486 + sqlite3_tokenizer_cursor *pCsr;pCsr181254,6578539 + int iRowid;181255,6578612 + const char *zToken;zToken181256,6578674 + int nToken;181257,6578736 + int iStart;181258,6578800 + int iEnd;181259,6578862 + int iPos;181260,6578922 +static int fts3tokQueryTokenizer(181266,6579051 +static int fts3tokDequoteArray(181297,6580057 +static int fts3tokConnectMethod(181347,6581358 +static int fts3tokDisconnectMethod(181412,6583180 +static int fts3tokBestIndexMethod(181423,6583424 +static int fts3tokOpenMethod(181452,6584039 +static void fts3tokResetCursor(181470,6584511 +static int fts3tokCloseMethod(181489,6584908 +static int fts3tokNextMethod(181500,6585154 +static int fts3tokFilterMethod(181522,6585707 +static int fts3tokEofMethod(181559,6586915 +static int fts3tokColumnMethod(181567,6587097 +static int fts3tokRowidMethod(181599,6588003 +SQLITE_PRIVATE int sqlite3Fts3InitTok(181612,6588429 +int test_fts3_node_chunksize 181708,6592553 +int test_fts3_node_chunk_threshold 181709,6592594 +static void fts3LogMerge(181732,6593366 +#define fts3LogMerge(181736,6593517 +typedef struct PendingList PendingList;181740,6593553 +typedef struct SegmentNode SegmentNode;181741,6593593 +typedef struct SegmentWriter SegmentWriter;181742,6593633 +struct PendingList 181748,6593825 + int nData;181749,6593846 + char *aData;aData181750,6593859 + int nSpace;181751,6593874 + sqlite3_int64 iLastDocid;181752,6593888 + sqlite3_int64 iLastCol;181753,6593916 + sqlite3_int64 iLastPos;181754,6593942 +struct Fts3DeferredToken 181761,6594055 + Fts3PhraseToken *pToken;pToken181762,6594082 + int iCol;181763,6594158 + Fts3DeferredToken *pNext;pNext181764,6594225 + PendingList *pList;pList181765,6594297 +struct Fts3SegReader 181785,6594981 + int iIdx;181786,6595004 + u8 bLookup;181787,6595085 + u8 rootOnly;181788,6595148 + sqlite3_int64 iStartBlock;181790,6595217 + sqlite3_int64 iLeafEndBlock;181791,6595295 + sqlite3_int64 iEndBlock;181792,6595373 + sqlite3_int64 iCurrentBlock;181793,6595452 + char *aNode;aNode181795,6595519 + int nNode;181796,6595590 + int nPopulate;181797,6595661 + sqlite3_blob *pBlob;pBlob181798,6595739 + Fts3HashElem **ppNextElem;ppNextElem181800,6595818 + int nTerm;181807,6596094 + char *zTerm;zTerm181808,6596166 + int nTermAlloc;181809,6596230 + char *aDoclist;aDoclist181810,6596301 + int nDoclist;181811,6596377 + char *pOffsetList;pOffsetList181816,6596587 + int nOffsetList;181817,6596608 + sqlite3_int64 iDocid;181818,6596688 +#define fts3SegReaderIsPending(181821,6596716 +#define fts3SegReaderIsRootOnly(181822,6596771 +struct SegmentWriter 181833,6597081 + SegmentNode *pTree;pTree181834,6597104 + sqlite3_int64 iFirst;181835,6597179 + sqlite3_int64 iFree;181836,6597252 + char *zTerm;zTerm181837,6597321 + int nTerm;181838,6597393 + int nMalloc;181839,6597458 + char *zMalloc;zMalloc181840,6597533 + int nSize;181841,6597614 + int nData;181842,6597682 + char *aData;aData181843,6597745 + i64 nLeafData;181844,6597816 +struct SegmentNode 181865,6598727 + SegmentNode *pParent;pParent181866,6598748 + SegmentNode *pRight;pRight181867,6598824 + SegmentNode *pLeftmost;pLeftmost181868,6598889 + int nEntry;181869,6598969 + char *zTerm;zTerm181870,6599048 + int nTerm;181871,6599120 + int nMalloc;181872,6599185 + char *zMalloc;zMalloc181873,6599260 + int nData;181874,6599341 + char *aData;aData181875,6599408 +static int fts3SqlStmt(181935,6601681 +static int fts3SelectDocsize(182080,6607641 +SQLITE_PRIVATE int sqlite3Fts3SelectDoctotal(182105,6608405 +SQLITE_PRIVATE int sqlite3Fts3SelectDocsize(182126,6608981 +static void fts3SqlExec(182142,6609539 +static int fts3Writelock(182174,6610706 +static sqlite3_int64 getAbsoluteLevel(182213,6612263 +SQLITE_PRIVATE int sqlite3Fts3AllSegdirs(182245,6613337 +static int fts3PendingListAppendVarint(182292,6614928 +static int fts3PendingListAppend(182336,6616187 +static void fts3PendingListDelete(182391,6617669 +static int fts3PendingTermsAddOne(182398,6617813 +static int fts3PendingTermsAdd(182436,6618999 +static int fts3PendingTermsDocid(182514,6621321 +SQLITE_PRIVATE void sqlite3Fts3PendingTermsClear(182546,6622411 +static int fts3InsertTerms(182568,6623134 +static int fts3InsertData(182603,6624265 +static int fts3DeleteAll(182677,6626643 +static int langidFromSelect(182701,6627346 +static void fts3DeleteTerms(182712,6627700 +static int fts3AllocateSegdirIdx(182774,6629792 +SQLITE_PRIVATE int sqlite3Fts3ReadBlock(182845,6632625 +SQLITE_PRIVATE void sqlite3Fts3SegmentsClose(182901,6634330 +static int fts3SegReaderIncrRead(182906,6634449 +static int fts3SegReaderRequire(182930,6635129 +static void fts3SegReaderSetEof(182946,6635560 +static int fts3SegReaderNext(182960,6635974 +static int fts3SegReaderFirstDocid(183079,6639846 +static int fts3SegReaderNextDocid(183111,6641001 +SQLITE_PRIVATE int sqlite3Fts3MsrOvfl(183200,6643931 +SQLITE_PRIVATE void sqlite3Fts3SegReaderFree(183238,6644822 +SQLITE_PRIVATE int sqlite3Fts3SegReaderNew(183254,6645196 +static int SQLITE_CDECL fts3CompareElemByTerm(183307,6647057 +SQLITE_PRIVATE int sqlite3Fts3SegReaderPending(183343,6648196 +static int fts3SegReaderCmp(183440,6651390 +static int fts3SegReaderDoclistCmp(183473,6652265 +static int fts3SegReaderDoclistCmpRev(183485,6652617 +static int fts3SegReaderTermCmp(183506,6653335 +static void fts3SegReaderSort(183531,6654100 +static int fts3WriteSegment(183564,6655056 +SQLITE_PRIVATE int sqlite3Fts3MaxLevel(183587,6655881 +static int fts3WriteSegdir(183606,6656297 +static int fts3PrefixCompress(183647,6657959 +static int fts3NodeAddTerm(183663,6658516 +static int fts3TreeFinishNode(183779,6662591 +static int fts3NodeWrite(183805,6663496 +static void fts3NodeFree(183849,6665014 +static int fts3SegWriterAdd(183874,6665781 +static int fts3SegWriterFlush(184025,6671607 +static void fts3SegWriterFree(184061,6673041 +static int fts3IsEmpty(184080,6673734 +static int fts3SegmentMaxLevel(184107,6674470 +static int fts3SegmentIsMaxLevel(184143,6675647 +static int fts3DeleteSegment(184171,6676533 +static int fts3DeleteSegdir(184203,6677656 +static void fts3ColumnFilter(184260,6679648 +static int fts3MsrBufferData(184305,6680822 +SQLITE_PRIVATE int sqlite3Fts3MsrIncrNext(184323,6681241 +static int fts3SegReaderStart(184391,6683063 +SQLITE_PRIVATE int sqlite3Fts3SegReaderStart(184423,6684193 +SQLITE_PRIVATE int sqlite3Fts3MsrIncrStart(184432,6684532 +SQLITE_PRIVATE int sqlite3Fts3MsrIncrRestart(184487,6686338 +static int fts3GrowSegReaderBuffer(184506,6686835 +SQLITE_PRIVATE int sqlite3Fts3SegReaderStep(184520,6687141 +SQLITE_PRIVATE void sqlite3Fts3SegReaderFinish(184695,6692998 +static void fts3ReadEndBlockField(184722,6693862 +static int fts3PromoteSegments(184755,6694631 +static int fts3SegmentMerge(184857,6698347 +SQLITE_PRIVATE int sqlite3Fts3PendingTermsFlush(184956,6701955 +static void fts3EncodeIntArray(184992,6703002 +static void fts3DecodeIntArray(185008,6703428 +static void fts3InsertDocsize(185031,6704080 +static void fts3UpdateDocTotals(185075,6705639 +static int fts3DoOptimize(185151,6707785 +static int fts3DoRebuild(185194,6709097 +static int fts3IncrmergeCsr(185274,6711340 +typedef struct IncrmergeWriter IncrmergeWriter;185318,6712955 +typedef struct NodeWriter NodeWriter;185319,6713003 +typedef struct Blob Blob;185320,6713041 +typedef struct NodeReader NodeReader;185321,6713067 +struct Blob 185329,6713300 + char *a;a185330,6713314 + int n;185331,6713376 + int nAlloc;185332,6713453 +struct NodeWriter 185339,6713628 + sqlite3_int64 iBlock;185340,6713648 + Blob key;185341,6713705 + Blob block;185342,6713783 +struct IncrmergeWriter 185349,6713963 + int nLeafEst;185350,6713988 + int nWork;185351,6714060 + sqlite3_int64 iAbsLevel;185352,6714129 + int iIdx;185353,6714202 + sqlite3_int64 iStart;185354,6714283 + sqlite3_int64 iEnd;185355,6714361 + sqlite3_int64 nLeafData;185356,6714438 + u8 bNoLeafData;185357,6714509 + NodeWriter aNodeWriter[aNodeWriter185358,6714583 +struct NodeReader 185369,6714844 + const char *aNode;aNode185370,6714864 + int nNode;185371,6714885 + int iOff;185372,6714898 + sqlite3_int64 iChild;185375,6715030 + Blob term;185376,6715092 + const char *aDoclist;aDoclist185377,6715145 + int nDoclist;185378,6715204 +static void blobGrowBuffer(185390,6715675 +static int nodeReaderNext(185413,6716416 +static void nodeReaderRelease(185456,6717729 +static int nodeReaderInit(185467,6718060 +static int fts3IncrmergePush(185493,6718924 +static int fts3AppendToNode(185595,6722750 +static int fts3IncrmergeAppend(185646,6724631 +static void fts3IncrmergeRelease(185731,6727745 +static int fts3TermCmp(185821,6731314 +static int fts3IsAppendable(185847,6732114 +static int fts3IncrmergeLoad(185878,6733279 +static int fts3IncrmergeOutputIdx(186029,6738899 +static int fts3IncrmergeWriter(186074,6740533 +static int fts3RemoveSegdirEntry(186139,6743031 +static int fts3RepackSegdirLevel(186163,6743851 +static void fts3StartNode(186219,6745540 +static int fts3TruncateNode(186238,6746211 +static int fts3TruncateSegment(186296,6748211 +static int fts3IncrmergeChomp(186382,6751347 +static int fts3IncrmergeHintStore(186433,6752917 +static int fts3IncrmergeHintLoad(186457,6753703 +static void fts3IncrmergeHintPush(186493,6754800 +static int fts3IncrmergeHintPop(186514,6755665 +SQLITE_PRIVATE int sqlite3Fts3Incrmerge(186544,6756598 +static int fts3Getint(186720,6763296 +static int fts3DoIncrmerge(186737,6763767 +static int fts3DoAutoincrmerge(186780,6764791 +static u64 fts3ChecksumEntry(186808,6765621 +static u64 fts3ChecksumIndex(186838,6766724 +static int fts3IntegrityCheck(186916,6769033 +static int fts3DoIntegrityCheck(187029,6773170 +static int fts3SpecialInsert(187047,6773614 +SQLITE_PRIVATE void sqlite3Fts3FreeDeferredDoclists(187093,6775368 +SQLITE_PRIVATE void sqlite3Fts3FreeDeferredTokens(187105,6775707 +SQLITE_PRIVATE int sqlite3Fts3CacheDeferredDoclists(187124,6776306 +SQLITE_PRIVATE int sqlite3Fts3DeferredTokenList(187177,6778360 +SQLITE_PRIVATE int sqlite3Fts3DeferToken(187207,6778937 +static int fts3DeleteByRowid(187235,6779775 +SQLITE_PRIVATE int sqlite3Fts3UpdateMethod(187284,6781201 +SQLITE_PRIVATE int sqlite3Fts3Optimize(187428,6786399 +typedef sqlite3_int64 i64;187469,6787603 +typedef struct LoadDoclistCtx LoadDoclistCtx;187495,6788505 +struct LoadDoclistCtx 187496,6788551 + Fts3Cursor *pCsr;pCsr187497,6788575 + int nPhrase;187498,6788627 + int nToken;187499,6788697 +typedef struct SnippetIter SnippetIter;187506,6788875 +typedef struct SnippetPhrase SnippetPhrase;187507,6788915 +typedef struct SnippetFragment SnippetFragment;187508,6788959 +struct SnippetIter 187510,6789008 + Fts3Cursor *pCsr;pCsr187511,6789029 + int iCol;187512,6789108 + int nSnippet;187513,6789181 + int nPhrase;187514,6789258 + SnippetPhrase *aPhrase;aPhrase187515,6789325 + int iCurrent;187516,6789387 +struct SnippetPhrase 187519,6789462 + int nToken;187520,6789485 + char *pList;pList187521,6789552 + i64 iHead;187522,6789633 + char *pHead;pHead187523,6789701 + i64 iTail;187524,6789776 + char *pTail;pTail187525,6789853 +struct SnippetFragment 187528,6789932 + int iCol;187529,6789957 + int iPos;187530,6790030 + u64 covered;187531,6790102 + u64 hlmask;187532,6790172 +typedef struct MatchInfo MatchInfo;187539,6790386 +struct MatchInfo 187540,6790422 + Fts3Cursor *pCursor;pCursor187541,6790441 + int nCol;187542,6790493 + int nPhrase;187543,6790560 + sqlite3_int64 nDoc;187544,6790637 + char flag;187545,6790704 + u32 *aMatchinfo;aMatchinfo187546,6790717 +struct MatchinfoBuffer 187554,6790954 + u8 aRef[aRef187555,6790979 + int nElem;187556,6790993 + int bGlobal;187557,6791006 + char *zMatchinfo;zMatchinfo187558,6791075 + u32 aMatchinfo[aMatchinfo187559,6791095 +typedef struct StrBuffer StrBuffer;187568,6791342 +struct StrBuffer 187569,6791378 + char *z;z187570,6791397 + int n;187571,6791473 + int nAlloc;187572,6791551 +static MatchinfoBuffer *fts3MIBufferNew(fts3MIBufferNew187583,6791798 +static void fts3MIBufferFree(187604,6792511 +static void (*fts3MIBufferAlloc(fts3MIBufferAlloc187621,6792914 +static void fts3MIBufferSetGlobal(187646,6793490 +SQLITE_PRIVATE void sqlite3Fts3MIBufferFree(187654,6793718 +static void fts3GetDeltaPosition(187689,6794768 +static int fts3ExprIterate2(187698,6794960 +static int fts3ExprIterate(187730,6796213 +static int fts3ExprLoadDoclistsCb(187745,6796775 +static int fts3ExprLoadDoclists(187768,6797476 +static int fts3ExprPhraseCountCb(187782,6798042 +static int fts3ExprPhraseCount(187787,6798186 +static void fts3SnippetAdvance(187798,6798529 +static int fts3SnippetNextCandidate(187820,6798955 +static void fts3SnippetDetails(187866,6800295 +static int fts3SnippetFindPositions(187920,6802151 +static int fts3BestSnippet(187965,6803555 +static int fts3StringAppend(188051,6806430 +static int fts3SnippetShift(188103,6808313 +static int fts3SnippetText(188168,6811037 +static int fts3ColumnlistCount(188296,6816611 +static int fts3ExprLHits(188314,6816975 +static int fts3ExprLHitGather(188352,6818129 +static int fts3ExprGlobalHitsCb(188396,6819714 +static int fts3ExprLocalHitsCb(188412,6820311 +static int fts3MatchinfoCheck(188435,6820922 +static size_t fts3MatchinfoSize(188456,6821503 +static int fts3MatchinfoSelectDoctotal(188489,6822251 +typedef struct LcsIterator LcsIterator;188533,6823291 +struct LcsIterator 188534,6823331 + Fts3Expr *pExpr;pExpr188535,6823352 + int iPosOffset;188536,6823421 + char *pRead;pRead188537,6823499 + int iPos;188538,6823579 +static int fts3MatchinfoLcsCb(188547,6823819 +static int fts3LcsIteratorAdvance(188562,6824351 +static int fts3MatchinfoLcs(188590,6825124 +static int fts3MatchinfoValues(188679,6828146 +static void fts3GetMatchinfo(188801,6832022 +SQLITE_PRIVATE void sqlite3Fts3Snippet(188886,6834702 +typedef struct TermOffset TermOffset;188989,6838378 +typedef struct TermOffsetCtx TermOffsetCtx;188990,6838416 +struct TermOffset 188992,6838461 + char *pList;pList188993,6838481 + i64 iPos;188994,6838535 + i64 iOff;188995,6838605 +struct TermOffsetCtx 188998,6838689 + Fts3Cursor *pCsr;pCsr188999,6838712 + int iCol;189000,6838732 + int iTerm;189001,6838810 + sqlite3_int64 iDocid;189002,6838823 + TermOffset *aTerm;aTerm189003,6838847 +static int fts3ExprTermOffsetInit(189009,6838958 +SQLITE_PRIVATE void sqlite3Fts3Offsets(189038,6839831 +SQLITE_PRIVATE void sqlite3Fts3Matchinfo(189176,6844389 +static const unsigned char sqlite3Utf8Trans1[sqlite3Utf8Trans1189238,6846118 +#define READ_UTF8(189249,6846573 +#define WRITE_UTF8(189261,6847188 +typedef struct unicode_tokenizer unicode_tokenizer;189283,6848258 +typedef struct unicode_cursor unicode_cursor;189284,6848310 +struct unicode_tokenizer 189286,6848357 + sqlite3_tokenizer base;189287,6848384 + int eRemoveDiacritic;189288,6848410 + int nException;189289,6848434 + int *aiException;aiException189290,6848452 +struct unicode_cursor 189293,6848476 + sqlite3_tokenizer_cursor base;189294,6848500 + const unsigned char *aInput;aInput189295,6848533 + int nInput;189296,6848600 + int iOff;189297,6848666 + int iToken;189298,6848737 + char *zToken;zToken189299,6848812 + int nAlloc;189300,6848878 +static int unicodeDestroy(189307,6849008 +static int unicodeAddExceptions(189334,6850154 +static int unicodeIsException(189388,6851774 +static int unicodeIsAlnum(189413,6852302 +static int unicodeCreate(189421,6852543 +static int unicodeOpen(189474,6854125 +static int unicodeClose(189507,6854972 +static int unicodeNext(189518,6855290 +SQLITE_PRIVATE void sqlite3Fts3UnicodeTokenizer(189586,6857560 +SQLITE_PRIVATE int sqlite3FtsUnicodeIsalnum(189633,6858895 +static int remove_diacritic(189765,6865930 +SQLITE_PRIVATE int sqlite3FtsUnicodeIsdiacritic(189832,6868983 +SQLITE_PRIVATE int sqlite3FtsUnicodeFold(189851,6869604 + static const struct TableEntry 189869,6870574 + unsigned short iCode;189870,6870609 + unsigned char flags;189871,6870635 + unsigned char nRange;189872,6870660 +# define UNUSED_PARAM(190026,6877299 +# define safe_isdigit(190045,6877803 +# define safe_isalnum(190046,6877848 +# define safe_isxdigit(190047,6877893 +# define safe_isdigit(190051,6878048 +# define safe_isalnum(190052,6878103 +# define safe_isxdigit(190053,6878158 +static const char jsonIsSpace[jsonIsSpace190061,6878434 +#define safe_isspace(190079,6879337 + typedef sqlite3_uint64 u64;190084,6879572 + typedef unsigned int u32;190085,6879602 + typedef unsigned short int u16;190086,6879630 + typedef unsigned char u8;190087,6879664 +typedef struct JsonString JsonString;190091,6879714 +typedef struct JsonNode JsonNode;190092,6879752 +typedef struct JsonParse JsonParse;190093,6879786 +struct JsonString 190099,6880012 + sqlite3_context *pCtx;pCtx190100,6880032 + char *zBuf;zBuf190101,6880108 + u64 nAlloc;190102,6880166 + u64 nUsed;190103,6880236 + u8 bStatic;190104,6880300 + u8 bErr;190105,6880362 + char zSpace[zSpace190106,6880433 +static const char * const jsonType[jsonType190126,6880838 +struct JsonNode 190143,6881529 + u8 eType;190144,6881547 + u8 jnFlags;190145,6881607 + u32 n;190146,6881650 + const char *zJContent;zJContent190148,6881732 + u32 iAppend;190149,6881799 + u32 iKey;190150,6881864 + u32 iReplace;190151,6881934 + JsonNode *pPatch;pPatch190152,6882005 + } u;190153,6882074 +struct JsonParse 190158,6882123 + u32 nNode;190159,6882142 + u32 nAlloc;190160,6882201 + JsonNode *aNode;aNode190161,6882265 + const char *zJson;zJson190162,6882328 + u32 *aUp;aUp190163,6882376 + u8 oom;190164,6882432 + u8 nErr;190165,6882488 + u16 iDepth;190166,6882537 + int nJson;190167,6882578 + u32 iHold;190168,6882641 +static void jsonZero(190186,6883226 +static void jsonInit(190195,6883395 +static void jsonReset(190205,6883601 +static void jsonOom(190213,6883747 +static int jsonGrow(190222,6883985 +static void jsonAppendRaw(190249,6884605 +static void jsonPrintf(190258,6884881 +static void jsonAppendChar(190269,6885203 +static void jsonAppendSeparator(190277,6885441 +static void jsonAppendString(190289,6885820 +static void jsonAppendValue(190332,6887236 +static void jsonResult(190372,6888265 +static u32 jsonNodeSize(190395,6889116 +static void jsonParseReset(190403,6889325 +static void jsonParseFree(190415,6889592 +static void jsonRenderNode(190425,6889869 +static void jsonReturnJson(190507,6892077 +static u8 jsonHexToInt(190524,6892581 +static u32 jsonHexToInt4(190537,6892847 +static void jsonReturn(190553,6893222 +static JSON_NOINLINE int jsonParseAddNodeExpand(190717,6898049 +static int jsonParseAddNode(190744,6898927 +static int jsonIs4Hex(190765,6899516 +static int jsonParseValue(190779,6899963 +static int jsonParse(190939,6904332 +static void jsonParseFillInParentage(190972,6905202 +static int jsonParseFindParents(190999,6905839 +static JsonParse *jsonParseCached(jsonParseCached191025,6906722 +static int jsonLabelCompare(191087,6908249 +static JsonNode *jsonLookupStep(jsonLookupStep191109,6909008 +static JsonNode *jsonLookupAppend(jsonLookupAppend191254,6913093 +static char *jsonPathSyntaxError(jsonPathSyntaxError191280,6913928 +static JsonNode *jsonLookup(jsonLookup191294,6914372 +static void jsonWrongNumArgs(191331,6915242 +static void jsonRemoveAllNulls(191344,6915581 +static void jsonParseFunc(191371,6916329 +static void jsonTest1Func(191409,6917395 +static void jsonQuoteFunc(191429,6918053 +static void jsonArrayFunc(191448,6918486 +static void jsonArrayLengthFunc(191475,6919031 +static void jsonExtractFunc(191514,6919967 +static JsonNode *jsonMergePatch(jsonMergePatch191555,6920878 +static void jsonPatchFunc(191625,6923353 +static void jsonObjectFunc(191657,6924246 +static void jsonRemoveFunc(191699,6925274 +static void jsonReplaceFunc(191732,6926151 +static void jsonSetFunc(191779,6927399 +static void jsonTypeFunc(191828,6928625 +static void jsonValidFunc(191856,6929222 +static void jsonArrayStep(191876,6929746 +static void jsonArrayCompute(191895,6930179 +static void jsonArrayValue(191917,6930919 +static void jsonArrayFinal(191920,6930999 +static void jsonGroupInverse(191931,6931368 +static void jsonObjectStep(191979,6932416 +static void jsonObjectCompute(192004,6933034 +static void jsonObjectValue(192025,6933753 +static void jsonObjectFinal(192028,6933835 +typedef struct JsonEachCursor JsonEachCursor;192038,6934140 +struct JsonEachCursor 192039,6934186 + sqlite3_vtab_cursor base;192040,6934210 + u32 iRowid;192041,6934272 + u32 iBegin;192042,6934317 + u32 i;192043,6934379 + u32 iEnd;192044,6934453 + u8 eType;192045,6934528 + u8 bRecursive;192046,6934589 + char *zJson;zJson192047,6934669 + char *zRoot;zRoot192048,6934715 + JsonParse sParse;192049,6934780 +static int jsonEachConnect(192053,6934893 +static int jsonEachDisconnect(192095,6936009 +static int jsonEachOpenEach(192101,6936170 +static int jsonEachOpenTree(192113,6936518 +static void jsonEachCursorReset(192124,6936845 +static int jsonEachClose(192137,6937119 +static int jsonEachEof(192146,6937384 +static int jsonEachNext(192152,6937568 +static void jsonEachComputePath(192193,6938505 +static int jsonEachColumn(192220,6939298 +static int jsonEachRowid(192319,6942108 +static int jsonEachBestIndex(192330,6942517 +static int jsonEachFilter(192388,6944504 +static sqlite3_module jsonEachModule 192467,6946834 +static sqlite3_module jsonTreeModule 192495,6948106 +SQLITE_PRIVATE int sqlite3Json1Init(192529,6949737 + const char *zName;zName192533,6949851 + int nArg;192534,6949875 + int flag;192535,6949890 + void (*xFunc)xFunc192536,6949905 + const char *zName;zName192561,6951142 + int nArg;192562,6951166 + void (*xStep)xStep192563,6951181 + void (*xFinal)xFinal192564,6951239 + void (*xValue)xValue192565,6951278 + const char *zName;zName192574,6951578 + sqlite3_module *pModule;pModule192575,6951602 +__declspec(192609,6952749 +typedef sqlite3_int64 i64;192693,6955975 +typedef sqlite3_uint64 u64;192694,6956002 +typedef unsigned char u8;192695,6956030 +typedef unsigned short u16;192696,6956056 +typedef unsigned int u32;192697,6956084 +# define UNUSED_PARAMETER(192714,6956452 +typedef struct Rtree Rtree;192717,6956499 +typedef struct RtreeCursor RtreeCursor;192718,6956527 +typedef struct RtreeNode RtreeNode;192719,6956567 +typedef struct RtreeCell RtreeCell;192720,6956603 +typedef struct RtreeConstraint RtreeConstraint;192721,6956639 +typedef struct RtreeMatchArg RtreeMatchArg;192722,6956687 +typedef struct RtreeGeomCallback RtreeGeomCallback;192723,6956731 +typedef union RtreeCoord RtreeCoord;192724,6956783 +typedef struct RtreeSearchPoint RtreeSearchPoint;192725,6956820 +struct Rtree 192752,6957701 + sqlite3_vtab base;192753,6957716 + sqlite3 *db;db192754,6957779 + int iNodeSize;192755,6957840 + u8 nDim;192756,6957921 + u8 nDim2;192757,6957978 + u8 eCoordType;192758,6958045 + u8 nBytesPerCell;192759,6958121 + u8 inWrTrans;192760,6958181 + u8 nAux;192761,6958250 + u8 nAuxNotNull;192762,6958320 + u8 bCorrupt;192764,6958415 + int iDepth;192766,6958491 + char *zDb;zDb192767,6958565 + char *zName;zName192768,6958642 + u32 nBusy;192769,6958699 + i64 nRowEst;192770,6958777 + u32 nCursor;192771,6958852 + u32 nNodeRef;192772,6958911 + char *zReadAuxSql;zReadAuxSql192773,6958984 + RtreeNode *pDeleted;pDeleted192780,6959331 + int iReinsertHeight;192781,6959354 + sqlite3_blob *pNodeBlob;pNodeBlob192784,6959462 + sqlite3_stmt *pWriteNode;pWriteNode192787,6959553 + sqlite3_stmt *pDeleteNode;pDeleteNode192788,6959581 + sqlite3_stmt *pReadRowid;pReadRowid192791,6959675 + sqlite3_stmt *pWriteRowid;pWriteRowid192792,6959703 + sqlite3_stmt *pDeleteRowid;pDeleteRowid192793,6959732 + sqlite3_stmt *pReadParent;pReadParent192796,6959828 + sqlite3_stmt *pWriteParent;pWriteParent192797,6959857 + sqlite3_stmt *pDeleteParent;pDeleteParent192798,6959887 + sqlite3_stmt *pWriteAux;pWriteAux192801,6959988 + RtreeNode *aHash[aHash192803,6960016 + typedef sqlite3_int64 RtreeDValue;192816,6960380 + typedef int RtreeValue;192817,6960454 + typedef double RtreeDValue;192820,6960555 + typedef float RtreeValue;192821,6960629 +# define RTREE_IS_CORRUPT(192829,6960791 +# define RTREE_IS_CORRUPT(192831,6960846 +struct RtreeSearchPoint 192843,6961287 + RtreeDValue rScore;192844,6961313 + sqlite3_int64 id;192845,6961391 + u8 iLevel;192846,6961430 + u8 eWithin;192847,6961501 + u8 iCell;192848,6961562 +#define RTREE_MINCELLS(192860,6961897 +#define RTREE_REINSERT(192861,6961967 +struct RtreeCursor 192884,6962667 + sqlite3_vtab_cursor base;192885,6962688 + u8 atEOF;192886,6962757 + u8 bPoint;192887,6962824 + u8 bAuxValid;192888,6962890 + int iStrategy;192889,6962958 + int nConstraint;192890,6963032 + RtreeConstraint *aConstraint;aConstraint192891,6963107 + int nPointAlloc;192892,6963169 + int nPoint;192893,6963250 + int mxLevel;192894,6963325 + RtreeSearchPoint *aPoint;aPoint192895,6963401 + sqlite3_stmt *pReadAux;pReadAux192896,6963476 + RtreeSearchPoint sPoint;192897,6963545 + RtreeNode *aNode[aNode192898,6963612 + u32 anQueue[anQueue192899,6963671 +#define RTREE_OF_CURSOR(192903,6963792 +union RtreeCoord 192909,6963996 + RtreeValue f;192910,6964015 + int i;192911,6964063 + u32 u;192912,6964104 +# define DCOORD(192922,6964449 +# define DCOORD(192924,6964501 +struct RtreeConstraint 192934,6964758 + int iCoord;192935,6964783 + int op;192936,6964855 + RtreeDValue rValue;192938,6964928 + int (*xGeom)xGeom192939,6964988 + int (*xQueryFunc)xQueryFunc192940,6965053 + } u;192941,6965103 + sqlite3_rtree_query_info *pInfo;pInfo192942,6965110 +struct RtreeNode 192964,6965908 + RtreeNode *pParent;pParent192965,6965927 + i64 iNode;192966,6965975 + int nRef;192967,6966027 + int isDirty;192968,6966097 + u8 *zData;zData192969,6966178 + RtreeNode *pNext;pNext192970,6966256 +#define NCELL(192974,6966379 +struct RtreeCell 192979,6966480 + i64 iRowid;192980,6966499 + RtreeCoord aCoord[aCoord192981,6966568 +struct RtreeGeomCallback 192999,6967257 + int (*xGeom)xGeom193000,6967284 + int (*xQueryFunc)xQueryFunc193001,6967350 + void (*xDestructor)xDestructor193002,6967398 + void *pContext;pContext193003,6967428 +struct RtreeMatchArg 193012,6967711 + u32 iSize;193013,6967734 + RtreeGeomCallback cb;193014,6967790 + int nParam;193015,6967860 + sqlite3_value **apSqlParam;apSqlParam193016,6967937 + RtreeDValue aParam[aParam193017,6968003 +# define MAX(193021,6968097 +# define MIN(193024,6968158 +# define testcase(193044,6968822 +static int readInt16(193100,6970536 +static void readCoord(193103,6970594 +static i64 readInt64(193120,6971099 +static void writeInt16(193152,6971874 +static int writeCoord(193156,6971960 +static int writeInt64(193179,6972574 +static void nodeReference(193204,6973139 +static void nodeZero(193214,6973300 +static unsigned int nodeHash(193223,6973521 +static RtreeNode *nodeHashLookup(nodeHashLookup193231,6973714 +static void nodeHashInsert(193240,6973928 +static void nodeHashDelete(193251,6974192 +static RtreeNode *nodeNew(nodeNew193267,6974713 +static void nodeBlobReset(193285,6975179 +static int nodeInParentChain(193297,6975495 +static int nodeAcquire(193308,6975731 +static void nodeOverwriteCell(193428,6979345 +static void nodeDeleteCell(193446,6979921 +static int nodeInsertCell(193461,6980446 +static int nodeWrite(193485,6981159 +static int nodeRelease(193511,6981910 +static i64 nodeGetRowid(193540,6982660 +static void nodeGetCoord(193552,6983044 +static void nodeGetCell(193566,6983612 +static int rtreeCreate(193597,6984529 +static int rtreeConnect(193610,6984777 +static void rtreeReference(193623,6985020 +static void rtreeRelease(193631,6985199 +static int rtreeDisconnect(193655,6985943 +static int rtreeDestroy(193663,6986100 +static int rtreeOpen(193691,6986709 +static void resetCursor(193712,6987173 +static int rtreeClose(193740,6988000 +static int rtreeEof(193758,6988493 +#define RTREE_DECODE_COORD(193775,6989192 +#define RTREE_DECODE_COORD(193781,6989511 +#define RTREE_DECODE_COORD(193787,6989806 +#define RTREE_DECODE_COORD(193795,6990233 +#define RTREE_DECODE_COORD(193801,6990505 +static int rtreeCallbackConstraint(193813,6990954 +static void rtreeNonleafConstraint(193889,6994275 +static void rtreeLeafConstraint(193937,6996181 +static int nodeRowidIndex(193967,6997472 +static int nodeParentIndex(193990,6997954 +static int rtreeSearchPointCompare(194009,6998697 +static void rtreeSearchPointSwap(194023,6999026 +static RtreeSearchPoint *rtreeSearchPointFirst(rtreeSearchPointFirst194044,6999523 +static RtreeNode *rtreeNodeOfFirstSearchPoint(rtreeNodeOfFirstSearchPoint194051,6999737 +static RtreeSearchPoint *rtreeEnqueue(rtreeEnqueue194067,7000191 +static RtreeSearchPoint *rtreeSearchPointNew(rtreeSearchPointNew194102,7001160 +static void tracePoint(194139,7002230 +static void traceQueue(194151,7002563 +# define RTREE_QUEUE_TRACE(194162,7002879 +# define RTREE_QUEUE_TRACE(194164,7002933 +static void rtreeSearchPointPop(194169,7003048 +static int rtreeStepToLeaf(194217,7004284 +static int rtreeNext(194298,7006675 +static int rtreeRowid(194316,7007129 +static int rtreeColumn(194330,7007562 +static int findLeafNode(194384,7009342 +static int deserializeGeometry(194410,7010225 +static int rtreeFilter(194440,7011188 +static int rtreeBestIndex(194590,7016242 +static RtreeDValue cellArea(194679,7019404 +static RtreeDValue cellMargin(194709,7020460 +static void cellUnion(194722,7020750 +static int cellContains(194743,7021388 +static RtreeDValue cellGrowth(194761,7021878 +static RtreeDValue cellOverlap(194770,7022146 +static int ChooseLeaf(194802,7022851 +static int AdjustTree(194862,7024481 +static int rowidWrite(194893,7025282 +static int parentWrite(194903,7025621 +static void SortByDistance(194930,7026524 +static void SortByDimension(194996,7028205 +static int splitNodeStartree(195055,7029836 +static int updateMapping(195153,7032487 +static int SplitNode(195172,7032958 +static int fixLeafParent(195319,7036938 +static int removeNode(195354,7038275 +static int fixBoundingBox(195403,7039530 +static int deleteCell(195430,7040321 +static int Reinsert(195461,7041161 +static int rtreeInsertCell(195566,7044096 +static int reinsertNodeContent(195601,7044977 +static int rtreeNewRowid(195630,7045735 +static int rtreeDeleteRowid(195643,7046110 +static RtreeValue rtreeValueDown(195740,7049078 +static RtreeValue rtreeValueUp(195748,7049270 +static int rtreeConstraintError(195771,7050098 +static int rtreeUpdate(195809,7051090 +static int rtreeBeginTransaction(195957,7055778 +static int rtreeEndTransaction(195968,7056085 +static int rtreeRename(195978,7056306 +static int rtreeSavepoint(196011,7057411 +static int rtreeQueryStat1(196026,7057886 +static int rtreeShadowName(196070,7058967 +static sqlite3_module rtreeModule 196081,7059230 +static int rtreeSqlInit(196108,7060706 +static int getIntFromStmt(196238,7064844 +static int getNodeSize(196268,7065984 +static int rtreeTokenLength(196311,7067326 +static int rtreeInit(196325,7067694 +static void rtreenode(196462,7072282 +static void rtreedepth(196513,7073972 +typedef struct RtreeCheck RtreeCheck;196534,7074567 +struct RtreeCheck 196535,7074605 + sqlite3 *db;db196536,7074625 + const char *zDb;zDb196537,7074681 + const char *zTab;zTab196538,7074753 + int bInt;196539,7074813 + int nDim;196540,7074878 + sqlite3_stmt *pGetNode;pGetNode196541,7074958 + sqlite3_stmt *aCheckMapping[aCheckMapping196542,7075031 + int nLeaf;196543,7075108 + int nNonLeaf;196544,7075178 + int rc;196545,7075252 + char *zReport;zReport196546,7075304 + int nErr;196547,7075362 +static void rtreeCheckReset(196556,7075620 +static sqlite3_stmt *rtreeCheckPrepare(rtreeCheckPrepare196569,7076111 +static void rtreeCheckAppendMsg(196598,7076822 +static u8 *rtreeCheckGetNode(rtreeCheckGetNode196632,7077940 +static void rtreeCheckMapping(196676,7079381 +static void rtreeCheckCellCoord(196728,7081262 +static void rtreeCheckNode(196774,7082705 +static void rtreeCheckCount(196837,7084727 +static int rtreeCheckTable(196861,7085528 +static void rtreecheck(196966,7089311 + static int geo_debug 197022,7091043 +# define GEODEBUG(197023,7091071 +# define GEODEBUG(197025,7091120 +# define safe_isdigit(197036,7091449 +# define safe_isalnum(197037,7091494 +# define safe_isxdigit(197038,7091539 +# define safe_isdigit(197042,7091694 +# define safe_isalnum(197043,7091749 +# define safe_isxdigit(197044,7091804 +static const char geopolyIsSpace[geopolyIsSpace197051,7091975 +#define safe_isspace(197069,7092881 +typedef float GeoCoord;197090,7093406 +typedef struct GeoPoly GeoPoly;197114,7094427 +struct GeoPoly 197115,7094459 + int nVertex;197116,7094476 + unsigned char hdr[hdr197117,7094525 + GeoCoord a[a197118,7094589 +#define GEOPOLY_SZ(197124,7094777 +#define GeoX(197130,7095041 +#define GeoY(197131,7095089 +typedef struct GeoParse GeoParse;197137,7095187 +struct GeoParse 197138,7095221 + const unsigned char *z;z197139,7095239 + int nVertex;197140,7095288 + int nAlloc;197141,7095348 + int nErr;197142,7095405 + GeoCoord *a;a197143,7095468 +static void geopolySwab32(197147,7095574 +static char geopolySkipSpace(197157,7095780 +static int geopolyParseNumber(197165,7096025 +static GeoPoly *geopolyParseJson(geopolyParseJson197223,7097398 +static GeoPoly *geopolyFuncParam(geopolyFuncParam197300,7099539 +static void geopolyBlobFunc(197360,7101288 +static void geopolyJsonFunc(197379,7101729 +static void geopolySvgFunc(197405,7102484 +static void geopolyXformFunc(197452,7103735 +static double geopolyArea(197488,7104790 +static void geopolyAreaFunc(197510,7105539 +static void geopolyCcwFunc(197535,7106265 +static double geopolySine(197563,7106931 +static void geopolyRegularFunc(197584,7107433 +static GeoPoly *geopolyBBox(geopolyBBox197627,7108663 +static void geopolyBBoxFunc(197698,7110451 +typedef struct GeoBBox GeoBBox;197714,7110791 +struct GeoBBox 197715,7110823 + int isInit;197716,7110840 + RtreeCoord a[a197717,7110854 +static void geopolyBBoxStep(197724,7110955 +static void geopolyBBoxFinal(197747,7111627 +static int pointBeneathLine(197777,7112411 +static void geopolyContainsPointFunc(197808,7113131 +static void geopolyWithinFunc(197851,7114232 +typedef struct GeoEvent GeoEvent;197871,7114719 +typedef struct GeoSegment GeoSegment;197872,7114753 +typedef struct GeoOverlap GeoOverlap;197873,7114791 +struct GeoEvent 197874,7114829 + double x;197875,7114847 + int eType;197876,7114913 + GeoSegment *pSeg;pSeg197877,7114968 + GeoEvent *pNext;pNext197878,7115034 +struct GeoSegment 197880,7115098 + double C,197881,7115118 + double C, B;197881,7115118 + double y;197882,7115161 + float y0;197883,7115208 + unsigned char side;197884,7115255 + unsigned int idx;197885,7115305 + GeoSegment *pNext;pNext197886,7115366 +struct GeoOverlap 197888,7115435 + GeoEvent *aEvent;aEvent197889,7115455 + GeoSegment *aSegment;aSegment197890,7115510 + int nEvent;197891,7115567 + int nSegment;197892,7115619 +static void geopolyAddOneSegment(197898,7115734 +static void geopolyAddSegments(197942,7116540 +static GeoEvent *geopolyEventMerge(geopolyEventMerge197960,7117088 +static GeoEvent *geopolySortEventsByX(geopolySortEventsByX197982,7117585 +static GeoSegment *geopolySegmentMerge(geopolySegmentMerge198007,7118068 +static GeoSegment *geopolySortSegmentsByYAndC(geopolySortSegmentsByYAndC198032,7118692 +static int geopolyOverlap(198058,7119176 +static void geopolyOverlapFunc(198181,7122666 +static void geopolyDebugFunc(198203,7123132 +static int geopolyInit(198222,7123555 +static int geopolyCreate(198306,7126221 +static int geopolyConnect(198319,7126475 +static int geopolyFilter(198342,7127055 +static int geopolyBestIndex(198473,7131041 +static int geopolyColumn(198525,7132626 +static int geopolyUpdate(198580,7134265 +static int geopolyFindFunction(198716,7138494 +static sqlite3_module geopolyModule 198737,7138979 +static int sqlite3_geopoly_init(198764,7140457 + void (*xFunc)xFunc198767,7140549 + signed char nArg;198768,7140606 + unsigned char bPure;198769,7140628 + const char *zName;zName198770,7140653 + void (*xStep)xStep198786,7141585 + void (*xFinal)xFinal198787,7141642 + const char *zName;zName198788,7141680 +SQLITE_PRIVATE int sqlite3RtreeInit(198824,7142894 +static void rtreeFreeCallback(198863,7144103 +static void rtreeMatchArgFree(198872,7144354 +static void geomCallback(198895,7145158 +SQLITE_API int sqlite3_rtree_geometry_callback(198933,7146319 +SQLITE_API int sqlite3_rtree_query_callback(198957,7147268 +__declspec(198980,7148206 +static void icuFunctionError(199052,7150323 +static void xFree(199076,7151033 +static const unsigned char icuUtf8Trans1[icuUtf8Trans1199085,7151241 +#define SQLITE_ICU_READ_UTF8(199096,7151692 +#define SQLITE_ICU_SKIP_UTF8(199105,7152124 +static int icuLikeCompare(199117,7152549 +static void icuLikeFunc(199205,7155140 +static void icuRegexpDelete(199248,7156316 +static void icuRegexpFunc(199272,7157074 +static void icuCaseFunc16(199355,7159611 +static void icuCollationDel(199415,7161425 +static int icuCollationColl(199424,7161664 +static void icuLoadCollation(199456,7162577 +SQLITE_PRIVATE int sqlite3IcuInit(199496,7163724 + static const struct IcuScalar 199498,7163842 + const char *zName;zName199499,7163876 + unsigned char nArg;199500,7163942 + unsigned int enc;199501,7164014 + unsigned char iContext;199502,7164088 + void (*xFunc)xFunc199503,7164168 +__declspec(199537,7165658 +typedef struct IcuTokenizer IcuTokenizer;199579,7166792 +typedef struct IcuCursor IcuCursor;199580,7166834 +struct IcuTokenizer 199582,7166871 + sqlite3_tokenizer base;199583,7166893 + char *zLocale;zLocale199584,7166919 +struct IcuCursor 199587,7166940 + sqlite3_tokenizer_cursor base;199588,7166959 + UBreakIterator *pIter;pIter199590,7166993 + int nChar;199591,7167055 + UChar *aChar;aChar199592,7167126 + int *aOffset;aOffset199593,7167198 + int nBuffer;199595,7167276 + char *zBuffer;zBuffer199596,7167291 + int iToken;199598,7167309 +static int icuCreate(199604,7167369 +static int icuDestroy(199634,7168011 +static int icuOpen(199646,7168359 +static int icuClose(199718,7170172 +static int icuNext(199729,7170433 +static const sqlite3_tokenizer_module icuTokenizerModule 199794,7172161 +SQLITE_PRIVATE void sqlite3Fts3IcuTokenizerModule(199807,7172645 +typedef struct sqlite3rbu sqlite3rbu;200184,7189721 +# define SWAP(200536,7205034 +typedef struct RbuFrame RbuFrame;200608,7207393 +typedef struct RbuObjIter RbuObjIter;200609,7207427 +typedef struct RbuState RbuState;200610,7207465 +typedef struct RbuSpan RbuSpan;200611,7207499 +typedef struct rbu_vfs rbu_vfs;200612,7207531 +typedef struct rbu_file rbu_file;200613,7207563 +typedef struct RbuUpdateStmt RbuUpdateStmt;200614,7207597 +typedef unsigned int u32;200617,7207676 +typedef unsigned short u16;200618,7207702 +typedef unsigned char u8;200619,7207730 +typedef sqlite3_int64 i64;200620,7207756 +struct RbuState 200637,7208153 + int eStage;200638,7208171 + char *zTbl;zTbl200639,7208185 + char *zDataTbl;zDataTbl200640,7208199 + char *zIdx;zIdx200641,7208217 + i64 iWalCksum;200642,7208231 + int nRow;200643,7208248 + i64 nProgress;200644,7208260 + u32 iCookie;200645,7208277 + i64 iOalSz;200646,7208292 + i64 nPhaseOneStep;200647,7208306 +struct RbuUpdateStmt 200650,7208331 + char *zMask;zMask200651,7208354 + sqlite3_stmt *pUpdate;pUpdate200652,7208432 + RbuUpdateStmt *pNext;pNext200653,7208504 +struct RbuSpan 200656,7208532 + const char *zSpan;zSpan200657,7208549 + int nSpan;200658,7208570 +struct RbuObjIter 200682,7209440 + sqlite3_stmt *pTblIter;pTblIter200683,7209460 + sqlite3_stmt *pIdxIter;pIdxIter200684,7209523 + int nTblCol;200685,7209578 + char **azTblCol;azTblCol200686,7209643 + char **azTblType;azTblType200687,7209721 + int *aiSrcOrder;aiSrcOrder200688,7209790 + u8 *abTblPk;abTblPk200689,7209864 + u8 *abNotNull;abNotNull200690,7209945 + u8 *abIndexed;abIndexed200691,7210025 + int eType;200692,7210106 + int bCleanup;200695,7210227 + const char *zTbl;zTbl200696,7210291 + const char *zDataTbl;zDataTbl200697,7210355 + const char *zIdx;zIdx200698,7210426 + int iTnum;200699,7210500 + int iPkTnum;200700,7210568 + int bUnique;200701,7210645 + int nIndex;200702,7210709 + int nCol;200705,7210840 + sqlite3_stmt *pSelect;pSelect200706,7210916 + sqlite3_stmt *pInsert;pInsert200707,7210968 + sqlite3_stmt *pDelete;pDelete200708,7211040 + sqlite3_stmt *pTmpInsert;pTmpInsert200709,7211105 + int nIdxCol;200710,7211175 + RbuSpan *aIdxCol;aIdxCol200711,7211190 + char *zIdxSql;zIdxSql200712,7211210 + RbuUpdateStmt *pRbuUpdate;pRbuUpdate200715,7211292 +struct RbuFrame 200752,7212499 + u32 iDbPage;200753,7212517 + u32 iWalFrame;200754,7212532 +struct sqlite3rbu 200797,7214244 + int eStage;200798,7214264 + sqlite3 *dbMain;dbMain200799,7214335 + sqlite3 *dbRbu;dbRbu200800,7214398 + char *zTarget;zTarget200801,7214458 + char *zRbu;zRbu200802,7214516 + char *zState;zState200803,7214571 + char zStateDb[zStateDb200804,7214646 + int rc;200805,7214723 + char *zErrmsg;zErrmsg200806,7214802 + int nStep;200807,7214873 + int nProgress;200808,7214947 + RbuObjIter objiter;200809,7215018 + const char *zVfsName;zVfsName200810,7215096 + rbu_file *pTargetFd;pTargetFd200811,7215174 + int nPagePerSector;200812,7215244 + i64 iOalSz;200813,7215315 + i64 nPhaseOneStep;200814,7215329 + u32 iMaxFrame;200819,7215547 + u32 mLock;200820,7215623 + int nFrame;200821,7215636 + int nFrameAlloc;200822,7215702 + RbuFrame *aFrame;aFrame200823,7215775 + int pgsz;200824,7215795 + u8 *aBuf;aBuf200825,7215807 + i64 iWalCksum;200826,7215819 + i64 szTemp;200827,7215836 + i64 szTempLimit;200828,7215914 + int nRbu;200831,7216024 + rbu_file *pRbuFd;pRbuFd200832,7216095 +struct rbu_vfs 200843,7216480 + sqlite3_vfs base;200844,7216497 + sqlite3_vfs *pRealVfs;pRealVfs200845,7216558 + sqlite3_mutex *mutex;mutex200846,7216613 + sqlite3rbu *pRbu;pRbu200847,7216676 + rbu_file *pMain;pMain200848,7216733 + rbu_file *pMainRbu;pMainRbu200849,7216795 +struct rbu_file 200859,7217111 + sqlite3_file base;200860,7217129 + sqlite3_file *pReal;pReal200861,7217190 + rbu_vfs *pRbuVfs;pRbuVfs200862,7217253 + sqlite3rbu *pRbu;pRbu200863,7217323 + i64 sz;200864,7217403 + int openFlags;200866,7217478 + u32 iCookie;200867,7217550 + u8 iWriteVer;200868,7217621 + u8 bNolock;200869,7217701 + int nShm;200871,7217771 + char **apShm;apShm200872,7217846 + char *zDel;zDel200873,7217916 + const char *zWal;zWal200875,7217987 + rbu_file *pWalFd;pWalFd200876,7218062 + rbu_file *pMainNext;pMainNext200877,7218139 + rbu_file *pMainRbuNext;pMainRbuNext200878,7218197 +#define rbuIsVacuum(200884,7218332 +static unsigned int rbuDeltaGetInt(200904,7219000 +static unsigned int rbuDeltaChecksum(200932,7220004 +static int rbuDeltaApply(200985,7221593 +static int rbuDeltaOutputSize(201071,7223921 +static void rbuFossilDeltaFunc(201093,7224586 +static int prepareAndCollectError(201146,7226005 +static int resetAndCollectError(201168,7226617 +static int prepareFreeAndCollectError(201191,7227588 +static void rbuObjIterFreeCols(201213,7228044 +static void rbuObjIterClearStatements(201233,7228571 +static void rbuObjIterFinalize(201265,7229333 +static int rbuObjIterNext(201281,7229859 +static void rbuTargetNameFunc(201361,7232564 +static int rbuObjIterFirst(201397,7233585 +static char *rbuMPrintf(rbuMPrintf201432,7234840 +static int rbuMPrintfExec(201457,7235576 +static void *rbuMalloc(rbuMalloc201484,7236341 +static void rbuAllocateIterArrays(201504,7236833 +static char *rbuStrndup(rbuStrndup201529,7237805 +static void rbuFinalize(201554,7238372 +static void rbuTableType(201602,7240193 +static void rbuObjIterCacheIndexedCols(201686,7242642 +static int rbuObjIterCacheTableInfo(201740,7244418 +static char *rbuObjIterGetCollist(rbuObjIterGetCollist201850,7248473 +static char *rbuObjIterGetPkList(rbuObjIterGetPkList201871,7249122 +static char *rbuVacuumTableStart(rbuVacuumTableStart201916,7250641 +char *rbuVacuumIndexStart(rbuVacuumIndexStart201983,7253167 +static char *rbuObjIterGetIndexCols(rbuObjIterGetIndexCols202098,7256455 +static char *rbuObjIterGetOldlist(rbuObjIterGetOldlist202210,7260246 +static char *rbuObjIterGetWhere(rbuObjIterGetWhere202251,7261296 +static void rbuBadControlError(202292,7262521 +static char *rbuObjIterGetSetlist(rbuObjIterGetSetlist202315,7263520 +static char *rbuObjIterGetBindlist(rbuObjIterGetBindlist202369,7265213 +static char *rbuWithoutRowidPK(rbuWithoutRowidPK202396,7265917 +static void rbuCreateImposterTable2(202455,7268106 +static void rbuCreateImposterTable(202529,7271414 +static void rbuObjIterPrepareTmpInsert(202585,7273385 +static void rbuTmpInsertFunc(202603,7273979 +static char *rbuObjIterGetIndexWhere(rbuObjIterGetIndexWhere202633,7274664 +static int rbuObjIterPrepareAll(202733,7277718 +static int rbuGetUpdateStmt(203000,7287028 +static sqlite3 *rbuOpenDbhandle(rbuOpenDbhandle203068,7288995 +static void rbuFreeState(203089,7289489 +static RbuState *rbuLoadState(rbuLoadState203107,7289975 +static void rbuOpenDatabase(203184,7291986 +static void rbuFileSuffix3(203363,7297279 +static i64 rbuShmChecksum(203384,7297851 +static void rbuSetupCheckpoint(203413,7298950 +static int rbuCaptureWalRead(203497,7302190 +static int rbuCaptureDbWrite(203529,7303207 +static void rbuCheckpointFrame(203539,7303544 +static void rbuLockDatabase(203557,7304062 +static LPWSTR rbuWinUtf8ToUnicode(203567,7304365 +static void rbuMoveOalFile(203597,7305277 +static int rbuStepType(203688,7307874 +static void assertColumnName(203731,7308913 +# define assertColumnName(203736,7309101 +static void rbuStepOneOp(203744,7309358 +static int rbuStep(203827,7312064 +static void rbuIncrSchemaCookie(203892,7314181 +static void rbuSaveState(203923,7315333 +static void rbuCopyPragma(203984,7317160 +static void rbuCreateTargetSchema(204004,7317849 +SQLITE_API int sqlite3rbu_step(204056,7319331 +static int rbuStrCompare(204185,7323656 +static void rbuSetupOal(204201,7324277 +static void rbuDeleteOalFile(204234,7325257 +static void rbuCreateVfs(204250,7325764 +static void rbuDeleteVfs(204270,7326306 +static void rbuIndexCntFunc(204282,7326640 +static void rbuInitPhaseOneSteps(204332,7328214 +static sqlite3rbu *openRbuHandle(openRbuHandle204373,7329426 +static sqlite3rbu *rbuMisuseError(rbuMisuseError204529,7334392 +SQLITE_API sqlite3rbu *sqlite3rbu_open(sqlite3rbu_open204542,7334650 +SQLITE_API sqlite3rbu *sqlite3rbu_vacuum(sqlite3rbu_vacuum204555,7334987 +SQLITE_API sqlite3 *sqlite3rbu_db(sqlite3rbu_db204573,7335415 +static void rbuEditErrmsg(204587,7335768 +SQLITE_API int sqlite3rbu_close(204605,7336260 +SQLITE_API sqlite3_int64 sqlite3rbu_progress(204668,7338207 +SQLITE_API void sqlite3rbu_bp_progress(204676,7338395 +SQLITE_API int sqlite3rbu_state(204711,7339173 +SQLITE_API int sqlite3rbu_savestate(204739,7340058 +static void rbuUnlockShm(204832,7344185 +static int rbuUpdateTempSize(204848,7344579 +static void rbuMainlistAdd(204866,7345216 +static void rbuMainlistRemove(204888,7345821 +static rbu_file *rbuFindMaindb(rbuFindMaindb204909,7346567 +static int rbuVfsClose(204924,7346966 +static u32 rbuGetU32(204957,7347778 +static void rbuPutU32(204968,7348016 +static void rbuPutU16(204975,7348194 +static int rbuVfsRead(204983,7348346 +static int rbuVfsWrite(205049,7350576 +static int rbuVfsTruncate(205092,7351767 +static int rbuVfsSync(205104,7352100 +static int rbuVfsFileSize(205118,7352466 +static int rbuVfsLock(205139,7353060 +static int rbuVfsUnlock(205161,7353658 +static int rbuVfsCheckReservedLock(205169,7353887 +static int rbuVfsFileControl(205177,7354135 +static int rbuVfsSectorSize(205233,7355892 +static int rbuVfsDeviceCharacteristics(205241,7356109 +static int rbuVfsShmLock(205249,7356318 +static int rbuVfsShmMap(205287,7357395 +static void rbuVfsShmBarrier(205345,7358954 +static int rbuVfsShmUnmap(205353,7359119 +static int rbuVfsOpen(205372,7359623 +static int rbuVfsDelete(205470,7362976 +static int rbuVfsAccess(205479,7363278 +static int rbuVfsFullPathname(205527,7364808 +static void *rbuVfsDlOpen(rbuVfsDlOpen205541,7365136 +static void rbuVfsDlError(205551,7365480 +static void (*rbuVfsDlSym(rbuVfsDlSym205559,7365737 +static void rbuVfsDlClose(205571,7365985 +static int rbuVfsRandomness(205581,7366271 +static int rbuVfsSleep(205590,7366553 +static int rbuVfsCurrentTime(205598,7366780 +static int rbuVfsGetLastError(205606,7366973 +SQLITE_API void sqlite3rbu_destroy_vfs(205614,7367155 +SQLITE_API int sqlite3rbu_create_vfs(205628,7367608 +SQLITE_API sqlite3_int64 sqlite3rbu_temp_size_limit(205706,7370107 +SQLITE_API sqlite3_int64 sqlite3rbu_temp_size(205713,7370271 +static const char zDbstatSchema[zDbstatSchema205782,7373084 +typedef struct StatTable StatTable;205800,7374099 +typedef struct StatCursor StatCursor;205801,7374135 +typedef struct StatPage StatPage;205802,7374173 +typedef struct StatCell StatCell;205803,7374207 +struct StatCell 205806,7374303 + int nLocal;205807,7374321 + u32 iChildPg;205808,7374384 + int nOvfl;205809,7374460 + u32 *aOvfl;aOvfl205810,7374519 + int nLastOvfl;205811,7374590 + int iOvfl;205812,7374670 +struct StatPage 205816,7374786 + u32 iPgno;205817,7374804 + DbPage *pPg;pPg205818,7374856 + int iCell;205819,7374909 + char *zPath;zPath205821,7374963 + u8 flags;205824,7375071 + int nCell;205825,7375130 + int nUnused;205826,7375194 + StatCell *aCell;aCell205827,7375265 + u32 iRightChildPg;205828,7375327 + int nMxPayload;205829,7375398 +struct StatCursor 205833,7375537 + sqlite3_vtab_cursor base;205834,7375557 + sqlite3_stmt *pStmt;pStmt205835,7375625 + u8 isEof;205836,7375700 + u8 isAgg;205837,7375777 + int iDb;205838,7375850 + StatPage aPage[aPage205840,7375918 + int iPage;205841,7375988 + u32 iPageno;205844,7376080 + char *zName;zName205845,7376145 + char *zPath;zPath205846,7376208 + char *zPagetype;zPagetype205847,7376271 + int nPage;205848,7376338 + int nCell;205849,7376411 + int nMxPayload;205850,7376475 + i64 nUnused;205851,7376544 + i64 nPayload;205852,7376609 + i64 iOffset;205853,7376675 + i64 szPage;205854,7376742 +struct StatTable 205858,7376857 + sqlite3_vtab base;205859,7376876 + sqlite3 *db;db205860,7376944 + int iDb;205861,7377024 +# define get2byte(205865,7377114 +static int statConnect(205871,7377224 +static int statDisconnect(205914,7378149 +static int statBestIndex(205929,7378692 +static int statOpen(206002,7380685 +static void statClearCells(206019,7381106 +static void statClearPage(206031,7381317 +static void statResetCsr(206038,7381470 +static void statResetCounts(206051,7381783 +static int statClose(206063,7381990 +static int getLocalPayload(206076,7382391 +static int statDecodePage(206101,7383202 +static void statSizeAndOffset(206216,7386809 +static int statNext(206243,7387678 +static int statEof(206400,7392444 +static int statFilter(206409,7392739 +static int statColumn(206475,7394691 +static int statRowid(206536,7396404 +SQLITE_PRIVATE int sqlite3DbstatRegister(206545,7396647 +SQLITE_PRIVATE int sqlite3DbstatRegister(206575,7398154 +typedef struct DbpageTable DbpageTable;206617,7399826 +typedef struct DbpageCursor DbpageCursor;206618,7399866 +struct DbpageCursor 206620,7399909 + sqlite3_vtab_cursor base;206621,7399931 + int pgno;206622,7399998 + int mxPgno;206623,7400058 + Pager *pPager;pPager206624,7400130 + DbPage *pPage1;pPage1206625,7400195 + int iDb;206626,7400258 + int szPage;206627,7400327 +struct DbpageTable 206630,7400398 + sqlite3_vtab base;206631,7400419 + sqlite3 *db;db206632,7400486 +static int dbpageConnect(206645,7400713 +static int dbpageDisconnect(206676,7401433 +static int dbpageBestIndex(206689,7401697 +static int dbpageOpen(206744,7403381 +static int dbpageClose(206763,7403801 +static int dbpageNext(206773,7404073 +static int dbpageEof(206780,7404228 +static int dbpageFilter(206795,7404560 +static int dbpageColumn(206841,7405794 +static int dbpageRowid(206872,7406634 +static int dbpageUpdate(206878,7406805 +static int dbpageBegin(206949,7408565 +SQLITE_PRIVATE int sqlite3DbpageRegister(206964,7408902 +SQLITE_PRIVATE int sqlite3DbpageRegister(206994,7410416 +typedef struct SessionTable SessionTable;207010,7410949 +typedef struct SessionChange SessionChange;207011,7410991 +typedef struct SessionBuffer SessionBuffer;207012,7411035 +typedef struct SessionInput SessionInput;207013,7411079 +static int sessions_strm_chunk_size 207026,7411347 +typedef struct SessionHook SessionHook;207028,7411412 +struct SessionHook 207029,7411452 + void *pCtx;pCtx207030,7411473 + int (*xOld)xOld207031,7411487 + int (*xNew)xNew207032,7411529 + int (*xCount)xCount207033,7411571 + int (*xDepth)xDepth207034,7411595 +struct sqlite3_session 207040,7411658 + sqlite3 *db;db207041,7411683 + char *zDb;zDb207042,7411762 + int bEnableSize;207043,7411842 + int bEnable;207044,7411915 + int bIndirect;207045,7411983 + int bAutoAttach;207046,7412056 + int rc;207047,7412123 + void *pFilterCtx;pFilterCtx207048,7412197 + int (*xTableFilter)xTableFilter207049,7412276 + i64 nMalloc;207050,7412329 + i64 nMaxChangesetSize;207051,7412403 + sqlite3_value *pZeroBlob;pZeroBlob207052,7412428 + sqlite3_session *pNext;pNext207053,7412489 + SessionTable *pTable;pTable207054,7412561 + SessionHook hook;207055,7412625 +struct SessionBuffer 207061,7412786 + u8 *aBuf;aBuf207062,7412809 + int nBuf;207063,7412877 + int nAlloc;207064,7412937 +struct SessionInput 207073,7413267 + int bNoDiscard;207074,7413289 + int iCurrent;207075,7413370 + int iNext;207076,7413446 + u8 *aData;aData207077,7413519 + int nData;207078,7413598 + SessionBuffer buf;207080,7413664 + int (*xInput)xInput207081,7413724 + void *pIn;pIn207082,7413802 + int bEof;207083,7413877 +struct sqlite3_changeset_iter 207089,7413999 + SessionInput in;207090,7414031 + SessionBuffer tblhdr;207091,7414094 + int bPatchset;207092,7414168 + int bInvert;207093,7414235 + int bSkipEmpty;207094,7414300 + int rc;207095,7414365 + sqlite3_stmt *pConflict;pConflict207096,7414425 + char *zTab;zTab207097,7414499 + int nCol;207098,7414553 + int op;207099,7414619 + int bIndirect;207100,7414677 + u8 *abPK;abPK207101,7414753 + sqlite3_value **apValue;apValue207102,7414811 +struct SessionTable 207118,7415475 + SessionTable *pNext;pNext207119,7415497 + char *zName;zName207120,7415520 + int nCol;207121,7415580 + int bStat1;207122,7415653 + const char **azCol;azCol207123,7415722 + u8 *abPK;abPK207124,7415775 + int nEntry;207125,7415842 + int nChange;207126,7415920 + SessionChange **apChange;apChange207127,7415985 +struct SessionChange 207293,7423172 + u8 op;207294,7423195 + u8 bIndirect;207295,7423265 + int nMaxSize;207296,7423339 + int nRecord;207297,7423417 + u8 *aRecord;aRecord207298,7423493 + SessionChange *pNext;pNext207299,7423564 +static int sessionVarintPut(207306,7423738 +static int sessionVarintLen(207313,7423902 +static int sessionVarintGet(207321,7424067 +#define SESSION_UINT32(207326,7424209 +static sqlite3_int64 sessionGetI64(207332,7424382 +static void sessionPutI64(207342,7424614 +static int sessionSerializeValue(207366,7425424 +static void *sessionMalloc64(sessionMalloc64207442,7427539 +static void sessionFree(207453,7427930 +#define HASH_APPEND(207473,7428729 +static unsigned int sessionHashAppendI64(207479,7428960 +static unsigned int sessionHashAppendBlob(207488,7429267 +static unsigned int sessionHashAppendType(207498,7429566 +static int sessionPreupdateHash(207513,7430237 +static int sessionSerialLen(207578,7432383 +static unsigned int sessionChangeHash(207596,7433008 +static int sessionChangeEqual(207645,7434689 +static void sessionMergeRecord(207688,7436278 +static u8 *sessionMergeValue(sessionMergeValue207734,7437695 +static int sessionMergeUpdate(207768,7438378 +static int sessionPreupdateEqual(207845,7440514 +static int sessionGrowHash(207924,7443636 +static int sessionTableInfo(207990,7445657 +static int sessionInitTable(208107,7449257 +typedef struct SessionStat1Ctx SessionStat1Ctx;208142,7450294 +struct SessionStat1Ctx 208143,7450342 + SessionHook hook;208144,7450367 + sqlite3_session *pSession;pSession208145,7450387 +static int sessionStat1Old(208147,7450419 +static int sessionStat1New(208157,7450764 +static int sessionStat1Count(208167,7451109 +static int sessionStat1Depth(208171,7451239 +static int sessionUpdateMaxSize(208176,7451370 +static void sessionPreupdateOneChange(208282,7454251 +static int sessionFindTable(208431,7459106 +static void xPreUpdate(208467,7460106 +static int sessionPreupdateOld(208505,7461503 +static int sessionPreupdateNew(208508,7461643 +static int sessionPreupdateCount(208511,7461783 +static int sessionPreupdateDepth(208514,7461881 +static void sessionPreupdateHooks(208522,7462072 +typedef struct SessionDiffCtx SessionDiffCtx;208532,7462374 +struct SessionDiffCtx 208533,7462420 + sqlite3_stmt *pStmt;pStmt208534,7462444 + int nOldOff;208535,7462467 +static int sessionDiffOld(208541,7462526 +static int sessionDiffNew(208546,7462725 +static int sessionDiffCount(208551,7462914 +static int sessionDiffDepth(208555,7463069 +static void sessionDiffHooks(208563,7463211 +static char *sessionExprComparePK(sessionExprComparePK208574,7463512 +static char *sessionExprCompareOther(sessionExprCompareOther208597,7463978 +static char *sessionSelectFindNew(sessionSelectFindNew208628,7464580 +static int sessionDiffFindNew(208644,7465004 +static int sessionDiffFindModified(208675,7465749 +SQLITE_API int sqlite3session_diff(208715,7466810 +SQLITE_API int sqlite3session_create(208810,7469295 +static void sessionDeleteTable(208848,7470695 +SQLITE_API void sqlite3session_delete(208872,7471367 +SQLITE_API void sqlite3session_table_filter(208904,7472404 +SQLITE_API int sqlite3session_attach(208922,7472987 +static int sessionBufferGrow(208975,7474873 +static void sessionAppendValue(209018,7476124 +static void sessionAppendByte(209040,7476736 +static void sessionAppendVarint(209053,7477102 +static void sessionAppendBlob(209066,7477497 +static void sessionAppendStr(209086,7478041 +static void sessionAppendInteger(209106,7478560 +static void sessionAppendIdent(209125,7479234 +static void sessionAppendCol(209150,7480047 +static int sessionAppendUpdate(209212,7482264 +static int sessionAppendDelete(209311,7485366 +static int sessionSelectStmt(209366,7486765 +static int sessionSelectBind(209423,7488608 +static void sessionAppendTableHdr(209494,7490356 +static int sessionGenerateChangeset(209517,7491368 +SQLITE_API int sqlite3session_changeset(209643,7495874 +SQLITE_API int sqlite3session_changeset_strm(209658,7496393 +SQLITE_API int sqlite3session_patchset_strm(209669,7496673 +SQLITE_API int sqlite3session_patchset(209684,7497116 +SQLITE_API int sqlite3session_enable(209695,7497520 +SQLITE_API int sqlite3session_indirect(209709,7497896 +SQLITE_API int sqlite3session_isempty(209724,7498342 +SQLITE_API sqlite3_int64 sqlite3session_memory_used(209740,7498725 +SQLITE_API int sqlite3session_object_config(209747,7498904 +SQLITE_API sqlite3_int64 sqlite3session_changeset_size(209773,7499461 +static int sessionChangesetStart(209780,7499659 +SQLITE_API int sqlite3changeset_start(209818,7501030 +SQLITE_API int sqlite3changeset_start_v2(209825,7501371 +SQLITE_API int sqlite3changeset_start_strm(209838,7501848 +SQLITE_API int sqlite3changeset_start_v2_strm(209845,7502095 +static void sessionDiscardData(209859,7502572 +static int sessionInputBuffer(209879,7503194 +static void sessionSkipRecord(209907,7504037 +static int sessionValueSetStr(209933,7504773 +static int sessionReadRecord(209974,7506758 +static int sessionChangesetBufferTblhdr(210050,7509234 +static int sessionChangesetBufferRecord(210093,7510786 +static int sessionChangesetReadTblhdr(210137,7512289 +static int sessionChangesetNextOne(210186,7513712 +static int sessionChangesetNext(210319,7518614 +SQLITE_API int sqlite3changeset_next(210342,7519412 +SQLITE_API int sqlite3changeset_op(210351,7519701 +SQLITE_API int sqlite3changeset_pk(210371,7520464 +SQLITE_API int sqlite3changeset_old(210394,7521400 +SQLITE_API int sqlite3changeset_new(210422,7522436 +#define sessionChangesetNew(210442,7523141 +#define sessionChangesetOld(210443,7523221 +SQLITE_API int sqlite3changeset_conflict(210456,7523763 +SQLITE_API int sqlite3changeset_fk_conflicts(210479,7524567 +SQLITE_API int sqlite3changeset_finalize(210497,7525051 +static int sessionChangesetInvert(210512,7525449 +SQLITE_API int sqlite3changeset_invert(210671,7530472 +SQLITE_API int sqlite3changeset_invert_strm(210690,7531080 +typedef struct SessionUpdate SessionUpdate;210710,7531536 +struct SessionUpdate 210711,7531580 + sqlite3_stmt *pStmt;pStmt210712,7531603 + u32 *aMask;aMask210713,7531626 + SessionUpdate *pNext;pNext210714,7531640 +typedef struct SessionApplyCtx SessionApplyCtx;210717,7531668 +struct SessionApplyCtx 210718,7531716 + sqlite3 *db;db210719,7531741 + sqlite3_stmt *pDelete;pDelete210720,7531756 + sqlite3_stmt *pInsert;pInsert210721,7531813 + sqlite3_stmt *pSelect;pSelect210722,7531870 + int nCol;210723,7531927 + const char **azCol;azCol210724,7532001 + u8 *abPK;abPK210725,7532063 + u32 *aUpdateMask;aUpdateMask210726,7532143 + SessionUpdate *pUp;pUp210727,7532209 + int bStat1;210728,7532231 + int bDeferConstraints;210729,7532301 + int bInvertConstraints;210730,7532367 + SessionBuffer constraints;210731,7532448 + SessionBuffer rebase;210732,7532525 + u8 bRebaseStarted;210733,7532598 + u8 bRebase;210734,7532675 +static int sessionUpdateFind(210746,7533054 +static void sessionUpdateFree(210885,7536777 +static int sessionDeleteRow(210915,7537718 +static int sessionSelectRow(210980,7539496 +static int sessionInsertRow(210998,7540097 +static int sessionPrepare(211028,7540931 +static int sessionStat1Sql(211038,7541284 +static int sessionBindValue(211061,7542020 +static int sessionBindRow(211094,7543559 +static int sessionSeekToRow(211143,7545582 +static int sessionRebaseAdd(211178,7546904 +static int sessionConflictHandler(211252,7550006 +static int sessionApplyOneOp(211350,7553553 +static int sessionApplyOneWithRetry(211483,7558227 +static int sessionRetryConstraints(211540,7560519 +static int sessionChangesetApply(211596,7562383 +SQLITE_API int sqlite3changeset_apply_v2(211794,7568963 +SQLITE_API int sqlite3changeset_apply(211827,7570311 +SQLITE_API int sqlite3changeset_apply_v2_strm(211852,7571347 +SQLITE_API int sqlite3changeset_apply_strm(211879,7572506 +struct sqlite3_changegroup 211902,7573399 + int rc;211903,7573428 + int bPatch;211904,7573479 + SessionTable *pList;pList211905,7573548 +static int sessionChangeMerge(211913,7573831 +static int sessionChangesetToHash(212095,7579730 +static int sessionChangegroupOutput(212218,7583681 +SQLITE_API int sqlite3changegroup_new(212269,7585042 +SQLITE_API int sqlite3changegroup_add(212286,7585511 +SQLITE_API int sqlite3changegroup_output(212302,7586033 +SQLITE_API int sqlite3changegroup_add_strm(212313,7586260 +SQLITE_API int sqlite3changegroup_output_strm(212332,7586764 +SQLITE_API void sqlite3changegroup_delete(212343,7587019 +SQLITE_API int sqlite3changeset_concat(212353,7587216 +SQLITE_API int sqlite3changeset_concat_strm(212382,7588108 +struct sqlite3_rebaser 212411,7588793 + sqlite3_changegroup grp;212412,7588818 +static void sessionAppendRecordMerge(212421,7589146 +static void sessionAppendPartialUpdate(212470,7590808 +static int sessionRebase(212538,7593066 +SQLITE_API int sqlite3rebaser_create(212670,7597118 +SQLITE_API int sqlite3rebaser_configure(212687,7597472 +SQLITE_API int sqlite3rebaser_rebase(212704,7597972 +SQLITE_API int sqlite3rebaser_rebase_strm(212723,7598434 +SQLITE_API void sqlite3rebaser_delete(212744,7598951 +SQLITE_API int sqlite3session_config(212754,7599120 +typedef struct Fts5ExtensionApi Fts5ExtensionApi;212823,7600798 +typedef struct Fts5Context Fts5Context;212824,7600848 +typedef struct Fts5PhraseIter Fts5PhraseIter;212825,7600888 +typedef void (*fts5_extension_function)fts5_extension_function212827,7600935 +struct Fts5PhraseIter 212835,7601348 + const unsigned char *a;a212836,7601372 + const unsigned char *b;b212837,7601398 +struct Fts5ExtensionApi 213051,7610892 + int iVersion;213052,7610918 + void *(*xUserData)xUserData213054,7610985 + int (*xColumnCount)xColumnCount213056,7611022 + int (*xRowCount)xRowCount213057,7611059 + int (*xColumnTotalSize)xColumnTotalSize213058,7611115 + int (*xTokenize)xTokenize213060,7611191 + int (*xPhraseCount)xPhraseCount213066,7611433 + int (*xPhraseSize)xPhraseSize213067,7611470 + int (*xInstCount)xInstCount213069,7611520 + int (*xInst)xInst213070,7611568 + sqlite3_int64 (*xRowid)xRowid213072,7611648 + int (*xColumnText)xColumnText213073,7611689 + int (*xColumnSize)xColumnSize213074,7611761 + int (*xQueryPhrase)xQueryPhrase213076,7611822 + int (*xSetAuxdata)xSetAuxdata213079,7611948 + void *(*xGetAuxdata)xGetAuxdata213080,7612019 + int (*xPhraseFirst)xPhraseFirst213082,7612070 + void (*xPhraseNext)xPhraseNext213083,7612149 + int (*xPhraseFirstColumn)xPhraseFirstColumn213085,7612228 + void (*xPhraseNextColumn)xPhraseNextColumn213086,7612307 +typedef struct Fts5Tokenizer Fts5Tokenizer;213285,7622589 +typedef struct fts5_tokenizer fts5_tokenizer;213286,7622633 +struct fts5_tokenizer 213287,7622679 + int (*xCreate)xCreate213288,7622703 + void (*xDelete)xDelete213289,7622781 + int (*xTokenize)xTokenize213290,7622816 +typedef struct fts5_api fts5_api;213322,7624076 +struct fts5_api 213323,7624110 + int iVersion;213324,7624128 + int (*xCreateTokenizer)xCreateTokenizer213327,7624226 + int (*xFindTokenizer)xFindTokenizer213336,7624417 + int (*xCreateFunction)xCreateFunction213344,7624584 +typedef unsigned char u8;213388,7625509 +typedef unsigned int u32;213389,7625536 +typedef unsigned short u16;213390,7625564 +typedef short i16;213391,7625592 +typedef sqlite3_int64 i64;213392,7625611 +typedef sqlite3_uint64 u64;213393,7625638 +# define ArraySize(213396,7625685 +#define testcase(213399,7625749 +#define ALWAYS(213400,7625769 +#define NEVER(213401,7625789 +#define MIN(213403,7625809 +#define MAX(213404,7625852 +# define assert_nc(213452,7627264 +# define assert_nc(213454,7627335 +#define fts5Memcmp(213461,7627526 +# define UNUSED_PARAM(213466,7627703 +# define UNUSED_PARAM2(213470,7627769 +typedef struct Fts5Global Fts5Global;213473,7627828 +typedef struct Fts5Colset Fts5Colset;213474,7627866 +struct Fts5Colset 213482,7628186 + int nCol;213483,7628206 + int aiCol[aiCol213484,7628218 +typedef struct Fts5Config Fts5Config;213494,7628468 +struct Fts5Config 213531,7629673 + sqlite3 *db;db213532,7629693 + char *zDb;zDb213533,7629749 + char *zName;zName213534,7629830 + int nCol;213535,7629888 + char **azCol;azCol213536,7629946 + u8 *abUnindexed;abUnindexed213537,7629999 + int nPrefix;213538,7630066 + int *aPrefix;aPrefix213539,7630131 + int eContent;213540,7630212 + char *zContent;zContent213541,7630274 + char *zContentRowid;zContentRowid213542,7630328 + int bColumnsize;213543,7630398 + int eDetail;213544,7630475 + char *zContentExprlist;zContentExprlist213545,7630537 + Fts5Tokenizer *pTok;pTok213546,7630563 + fts5_tokenizer *pTokApi;pTokApi213547,7630586 + int bLock;213548,7630613 + int ePattern;213549,7630692 + int iCookie;213552,7630804 + int pgsz;213553,7630882 + int nAutomerge;213554,7630959 + int nCrisisMerge;213555,7631019 + int nUsermerge;213556,7631094 + int nHashSize;213557,7631154 + char *zRank;zRank213558,7631229 + char *zRankArgs;zRankArgs213559,7631291 + char **pzErrmsg;pzErrmsg213562,7631429 + int bPrefixIndex;213565,7631469 +typedef struct Fts5Buffer Fts5Buffer;213620,7633263 +struct Fts5Buffer 213621,7633301 + u8 *p;p213622,7633321 + int n;213623,7633330 + int nSpace;213624,7633339 +#define fts5BufferZero(213638,7633947 +#define fts5BufferAppendVarint(213639,7634010 +#define fts5BufferFree(213640,7634085 +#define fts5BufferAppendBlob(213641,7634148 +#define fts5BufferSet(213642,7634223 +#define fts5BufferGrow(213644,7634292 +#define FTS5_POS2COLUMN(213653,7634593 +#define FTS5_POS2OFFSET(213654,7634641 +typedef struct Fts5PoslistReader Fts5PoslistReader;213656,7634697 +struct Fts5PoslistReader 213657,7634749 + const u8 *a;a213659,7634846 + int n;213660,7634919 + int i;213661,7634990 + u8 bFlag;213663,7635053 + u8 bEof;213666,7635155 + i64 iPos;213667,7635214 +typedef struct Fts5PoslistWriter Fts5PoslistWriter;213675,7635525 +struct Fts5PoslistWriter 213676,7635577 + i64 iPrev;213677,7635604 +typedef struct Fts5Termset Fts5Termset;213697,7636341 +typedef struct Fts5Index Fts5Index;213711,7636898 +typedef struct Fts5IndexIter Fts5IndexIter;213712,7636934 +struct Fts5IndexIter 213714,7636979 + i64 iRowid;213715,7637002 + const u8 *pData;pData213716,7637016 + int nData;213717,7637035 + u8 bEof;213718,7637048 +#define sqlite3Fts5IterEof(213721,7637063 +#define fts5GetVarint32(213890,7642678 +#define fts5FastGetVarint32(213893,7642789 +typedef struct Fts5Table Fts5Table;213914,7643380 +struct Fts5Table 213915,7643416 + sqlite3_vtab base;213916,7643435 + Fts5Config *pConfig;pConfig213917,7643506 + Fts5Index *pIndex;pIndex213918,7643574 +typedef struct Fts5Hash Fts5Hash;213940,7644100 +typedef struct Fts5Storage Fts5Storage;213996,7646146 +typedef struct Fts5Expr Fts5Expr;214039,7647959 +typedef struct Fts5ExprNode Fts5ExprNode;214040,7647993 +typedef struct Fts5Parse Fts5Parse;214041,7648035 +typedef struct Fts5Token Fts5Token;214042,7648071 +typedef struct Fts5ExprPhrase Fts5ExprPhrase;214043,7648107 +typedef struct Fts5ExprNearset Fts5ExprNearset;214044,7648153 +struct Fts5Token 214046,7648202 + const char *p;p214047,7648221 + int n;214048,7648294 +typedef struct Fts5PoslistPopulator Fts5PoslistPopulator;214092,7649618 +#define fts5yytestcase(214265,7655396 + int fts5yyinit;214361,7660646 + sqlite3Fts5ParserFTS5TOKENTYPE fts5yy0;214362,7660664 + int fts5yy4;214363,7660706 + Fts5Colset* fts5yy11;214364,7660721 + Fts5ExprNode* fts5yy24;214365,7660745 + Fts5ExprNearset* fts5yy46;214366,7660771 + Fts5ExprPhrase* fts5yy53;214367,7660800 +} fts5YYMINORTYPE;214368,7660828 +# define fts5yytestcase(214406,7662345 +static const fts5YYACTIONTYPE fts5yy_action[fts5yy_action214461,7664809 +static const fts5YYCODETYPE fts5yy_lookahead[fts5yy_lookahead214474,7665646 +static const unsigned char fts5yy_shift_ofst[fts5yy_shift_ofst214492,7666712 +static const signed char fts5yy_reduce_ofst[fts5yy_reduce_ofst214501,7667132 +static const fts5YYACTIONTYPE fts5yy_default[fts5yy_default214505,7667321 +static const fts5YYCODETYPE fts5yyFallback[fts5yyFallback214528,7668330 +struct fts5yyStackEntry 214548,7669056 + fts5YYACTIONTYPE stateno;214549,7669082 + fts5YYCODETYPE major;214550,7669167 + fts5YYMINORTYPE minor;214552,7669312 +typedef struct fts5yyStackEntry fts5yyStackEntry;214555,7669448 +struct fts5yyParser 214559,7669598 + fts5yyStackEntry *fts5yytos;fts5yytos214560,7669620 + int fts5yyhwm;214562,7669734 + int fts5yyerrcnt;214565,7669842 + int fts5yystksz;214570,7670114 + fts5yyStackEntry *fts5yystack;fts5yystack214571,7670182 + fts5yyStackEntry fts5yystk0;214572,7670247 + fts5yyStackEntry fts5yystack[fts5yystack214574,7670317 + fts5yyStackEntry *fts5yystackEnd;fts5yystackEnd214575,7670393 +typedef struct fts5yyParser fts5yyParser;214578,7670480 +static FILE *fts5yyTraceFILE fts5yyTraceFILE214583,7670589 +static char *fts5yyTracePrompt fts5yyTracePrompt214584,7670623 +static void sqlite3Fts5ParserTrace(214605,7671169 +static const char *const fts5yyTokenName[fts5yyTokenName214616,7671614 +static const char *const fts5yyRuleName[fts5yyRuleName214650,7672409 +static int fts5yyGrowStack(214688,7673727 +static void sqlite3Fts5ParserInit(214727,7674819 +static void *sqlite3Fts5ParserAlloc(sqlite3Fts5ParserAlloc214766,7676053 +static void fts5yy_destructor(214785,7676881 + break;214808,7677784 + break;214815,7677934 + break;214821,7678048 + break;214827,7678179 + break;214832,7678277 + default: break;214834,7678371 +static void fts5yy_pop_parser_stack(214844,7678605 +static void sqlite3Fts5ParserFinalize(214862,7679120 +static void sqlite3Fts5ParserFree(214879,7679774 +static int sqlite3Fts5ParserStackPeak(214895,7680196 +static unsigned char fts5yycoverage[fts5yycoverage214907,7680620 +static int sqlite3Fts5ParserCoverage(214919,7680952 +static fts5YYACTIONTYPE fts5yy_find_shift_action(214942,7681670 +static fts5YYACTIONTYPE fts5yy_find_reduce_action(215007,7683814 +static void fts5yyStackOverflow(215036,7684579 +static void fts5yyTraceShift(215059,7685436 +# define fts5yyTraceShift(215073,7685991 +static void fts5yy_shift(215079,7686065 +static const fts5YYCODETYPE fts5yyRuleInfoLhs[fts5yyRuleInfoLhs215120,7687581 +static const signed char fts5yyRuleInfoNRhs[fts5yyRuleInfoNRhs215153,7689035 +static fts5YYACTIONTYPE fts5yy_reduce(215196,7690876 + break;215230,7692344 + break;215233,7692474 + fts5yymsp[0].minor.fts5yy11 fts5yy11215238,7692623 + break;215239,7692680 + break;215245,7692941 + fts5yymsp[-1].minor.fts5yy11 fts5yy11215249,7693132 + break;215250,7693190 + fts5yymsp[0].minor.fts5yy11 fts5yy11215255,7693343 + break;215256,7693400 + fts5yymsp[-2].minor.fts5yy24 fts5yy24215261,7693592 + break;215262,7693650 + fts5yymsp[-2].minor.fts5yy24 fts5yy24215267,7693840 + break;215268,7693898 + fts5yymsp[-2].minor.fts5yy24 fts5yy24215273,7694090 + break;215274,7694148 + fts5yymsp[-4].minor.fts5yy24 fts5yy24215280,7694376 + break;215281,7694434 + break;215284,7694553 +{fts5yylhsminor.fts5yy24 fts5yy24215287,7694684 + fts5yymsp[0].minor.fts5yy24 fts5yy24215288,7694741 + break;215289,7694798 + fts5yymsp[-1].minor.fts5yy24 fts5yy24215294,7694993 + break;215295,7695051 + fts5yymsp[0].minor.fts5yy24 fts5yy24215300,7695218 + break;215301,7695275 + fts5yymsp[-2].minor.fts5yy24 fts5yy24215307,7695547 + break;215308,7695605 + fts5yymsp[0].minor.fts5yy46 fts5yy46215311,7695755 + break;215312,7695812 + break;215318,7696032 + fts5yymsp[-4].minor.fts5yy46 fts5yy46215325,7696341 + break;215326,7696399 + fts5yymsp[0].minor.fts5yy46 fts5yy46215331,7696555 + break;215332,7696612 + fts5yymsp[-1].minor.fts5yy46 fts5yy46215337,7696807 + break;215338,7696865 + break;215341,7696990 + break;215344,7697118 + fts5yymsp[-3].minor.fts5yy53 fts5yy53215349,7697343 + break;215350,7697401 + fts5yymsp[-1].minor.fts5yy53 fts5yy53215355,7697587 + break;215356,7697645 + break;215359,7697735 + break;215362,7697820 + break;215364,7697850 + fts5yygoto 215368,7698032 + fts5yysize 215369,7698080 + fts5yyact 215370,7698129 + fts5yypParser->fts5yytos fts5yytos215380,7698585 + fts5yymsp->stateno stateno215381,7698625 + fts5yymsp->major major215382,7698677 +static void fts5yy_parse_failed(215391,7698901 +static void fts5yy_syntax_error(215414,7699740 +static void fts5yy_accept(215436,7700599 +static void sqlite3Fts5Parser(215477,7701995 +static int sqlite3Fts5ParserFallback(215695,7710499 +typedef struct CInstIter CInstIter;215741,7711892 +struct CInstIter 215742,7711928 + const Fts5ExtensionApi *pApi;pApi215743,7711947 + Fts5Context *pFts;pFts215744,7712022 + int iCol;215745,7712098 + int iInst;215746,7712155 + int nInst;215747,7712222 + int iStart;215750,7712321 + int iEnd;215751,7712402 +static int fts5CInstIterNext(215758,7712630 +static int fts5CInstIterInit(215789,7713440 +typedef struct HighlightContext HighlightContext;215815,7713919 +struct HighlightContext 215816,7713969 + CInstIter iter;215817,7713995 + int iPos;215818,7714063 + int iRangeStart;215819,7714133 + int iRangeEnd;215820,7714196 + const char *zOpen;zOpen215821,7714271 + const char *zClose;zClose215822,7714329 + const char *zIn;zIn215823,7714387 + int nIn;215824,7714438 + int iOff;215825,7714506 + char *zOut;zOut215826,7714574 +static void fts5HighlightAppend(215838,7715060 +static int fts5HighlightCb(215853,7715399 +static void fts5HighlightFunction(215907,7717042 +typedef struct Fts5SFinder Fts5SFinder;215956,7718601 +struct Fts5SFinder 215957,7718641 + int iPos;215958,7718662 + int nFirstAlloc;215959,7718725 + int nFirst;215960,7718792 + int *aFirst;aFirst215961,7718862 + const char *zDoc;zDoc215962,7718940 +static int fts5SentenceFinderAdd(215970,7719169 +static int fts5SentenceFinderCb(215989,7719780 +static int fts5SnippetScore(216022,7720758 +static const char *fts5ValueToText(fts5ValueToText216071,7722340 +static void fts5SnippetFunction(216079,7722534 +typedef struct Fts5Bm25Data Fts5Bm25Data;216237,7727837 +struct Fts5Bm25Data 216238,7727879 + int nPhrase;216239,7727901 + double avgdl;216240,7727968 + double *aIDF;aIDF216241,7728045 + double *aFreq;aFreq216242,7728105 +static int fts5CountCb(216249,7728326 +static int fts5Bm25GetData(216265,7728754 +static void fts5Bm25Function(216338,7731337 +static int sqlite3Fts5AuxInit(216394,7733531 + struct Builtin 216395,7733578 + const char *zFunc;zFunc216396,7733597 + void *pUserData;pUserData216397,7733668 + fts5_extension_function xFunc;216398,7733726 + void (*xDestroy)xDestroy216399,7733784 +static int sqlite3Fts5BufferSize(216437,7734789 +static void sqlite3Fts5BufferAppendVarint(216461,7735350 +static void sqlite3Fts5Put32(216466,7735539 +static int sqlite3Fts5Get32(216473,7735724 +static void sqlite3Fts5BufferAppendBlob(216482,7736035 +static void sqlite3Fts5BufferAppendString(216501,7736526 +static void sqlite3Fts5BufferAppendPrintf(216519,7737082 +static char *sqlite3Fts5Mprintf(sqlite3Fts5Mprintf216540,7737465 +static void sqlite3Fts5BufferFree(216558,7737825 +static void sqlite3Fts5BufferZero(216567,7738047 +static void sqlite3Fts5BufferSet(216576,7738304 +static int sqlite3Fts5PoslistNext64(216586,7738478 +static int sqlite3Fts5PoslistReaderNext(216630,7739581 +static int sqlite3Fts5PoslistReaderInit(216637,7739777 +static void sqlite3Fts5PoslistSafeAppend(216654,7740347 +static int sqlite3Fts5PoslistWriterAppend(216671,7740811 +static void *sqlite3Fts5MallocZero(sqlite3Fts5MallocZero216682,7741134 +static char *sqlite3Fts5Strndup(sqlite3Fts5Strndup216703,7741780 +static int sqlite3Fts5IsBareword(216731,7742485 +typedef struct Fts5TermsetEntry Fts5TermsetEntry;216749,7743289 +struct Fts5TermsetEntry 216750,7743339 + char *pTerm;pTerm216751,7743365 + int nTerm;216752,7743380 + int iIdx;216753,7743393 + Fts5TermsetEntry *pNext;pNext216754,7743465 +struct Fts5Termset 216757,7743496 + Fts5TermsetEntry *apHash[apHash216758,7743517 +static int sqlite3Fts5TermsetNew(216761,7743554 +static int sqlite3Fts5TermsetAdd(216767,7743701 +static void sqlite3Fts5TermsetFree(216816,7744999 +static int fts5_iswhitespace(216858,7746066 +static int fts5_isopenquote(216862,7746126 +static const char *fts5ConfigSkipWhitespace(fts5ConfigSkipWhitespace216871,7746413 +static const char *fts5ConfigSkipBareword(fts5ConfigSkipBareword216884,7746767 +static int fts5_isdigit(216891,7746930 +static const char *fts5ConfigSkipLiteral(fts5ConfigSkipLiteral216897,7746997 +static int fts5Dequote(216973,7748836 +static void sqlite3Fts5Dequote(217018,7749889 +struct Fts5Enum 217029,7750144 + const char *zName;zName217030,7750162 + int eVal;217031,7750183 +typedef struct Fts5Enum Fts5Enum;217033,7750198 +static int fts5ConfigSetEnum(217035,7750233 +static int fts5ConfigParseSpecial(217064,7751021 +static int fts5ConfigDefaultTokenizer(217228,7755683 +static const char *fts5ConfigGobbleWord(fts5ConfigGobbleWord217248,7756615 +static int fts5ConfigParseColumn(217288,7757535 +static int fts5ConfigMakeExprlist(217316,7758173 +static int sqlite3Fts5ConfigParse(217349,7759310 +static void sqlite3Fts5ConfigFree(217468,7762705 +static int sqlite3Fts5ConfigDeclareVtab(217495,7763513 +static int sqlite3Fts5Tokenize(217541,7765247 +static const char *fts5ConfigSkipArgs(fts5ConfigSkipArgs217560,7766002 +static int sqlite3Fts5ConfigParseRank(217587,7766563 +static int sqlite3Fts5ConfigSetValue(217646,7767887 +static int sqlite3Fts5ConfigLoad(217740,7770311 +typedef struct Fts5ExprTerm Fts5ExprTerm;217818,7772427 +struct Fts5Expr 217833,7772864 + Fts5Index *pIndex;pIndex217834,7772882 + Fts5Config *pConfig;pConfig217835,7772903 + Fts5ExprNode *pRoot;pRoot217836,7772926 + int bDesc;217837,7772949 + int nPhrase;217838,7773023 + Fts5ExprPhrase **apExprPhrase;apExprPhrase217839,7773095 +struct Fts5ExprNode 217852,7773497 + int eType;217853,7773519 + int bEof;217854,7773569 + int bNomatch;217855,7773621 + int (*xNext)xNext217858,7773726 + i64 iRowid;217860,7773779 + Fts5ExprNearset *pNear;pNear217861,7773833 + int nChild;217865,7774044 + Fts5ExprNode *apChild[apChild217866,7774106 +#define Fts5NodeIsString(217869,7774171 +#define fts5ExprNodeNext(217875,7774407 +struct Fts5ExprTerm 217881,7774572 + u8 bPrefix;217882,7774594 + u8 bFirst;217883,7774657 + char *zTerm;zTerm217884,7774735 + Fts5IndexIter *pIter;pIter217885,7774795 + Fts5ExprTerm *pSynonym;pSynonym217886,7774858 +struct Fts5ExprPhrase 217893,7775056 + Fts5ExprNode *pNode;pNode217894,7775080 + Fts5Buffer poslist;217895,7775160 + int nTerm;217896,7775222 + Fts5ExprTerm aTerm[aTerm217897,7775291 +struct Fts5ExprNearset 217904,7775492 + int nNear;217905,7775517 + Fts5Colset *pColset;pColset217906,7775572 + int nPhrase;217907,7775652 + Fts5ExprPhrase *apPhrase[apPhrase217908,7775729 +struct Fts5Parse 217915,7775823 + Fts5Config *pConfig;pConfig217916,7775842 + char *zErr;zErr217917,7775865 + int rc;217918,7775879 + int nPhrase;217919,7775889 + Fts5ExprPhrase **apPhrase;apPhrase217920,7775952 + Fts5ExprNode *pExpr;pExpr217921,7776013 + int bPhraseToAnd;217922,7776082 +static void sqlite3Fts5ParseError(217925,7776153 +static int fts5ExprIsspace(217936,7776427 +static int fts5ExprGetToken(217943,7776585 +static void *fts5ParseAlloc(fts5ParseAlloc218007,7778282 +static void fts5ParseFree(218008,7778362 +static int sqlite3Fts5ExprNew(218010,7778418 +static int sqlite3Fts5ExprPattern(218091,7780893 +static void sqlite3Fts5ParseNodeFree(218161,7782474 +static void sqlite3Fts5ExprFree(218175,7782772 +static int sqlite3Fts5ExprAnd(218183,7782932 +static i64 fts5ExprSynonymRowid(218223,7783933 +static int fts5ExprSynonymList(218247,7784473 +static int fts5ExprPhraseIsMatch(218330,7786917 +typedef struct Fts5LookaheadReader Fts5LookaheadReader;218414,7789454 +struct Fts5LookaheadReader 218415,7789510 + const u8 *a;a218416,7789539 + int n;218417,7789611 + int i;218418,7789679 + i64 iPos;218419,7789751 + i64 iLookahead;218420,7789808 +static int fts5LookaheadReaderNext(218425,7789911 +static int fts5LookaheadReaderInit(218433,7790154 +typedef struct Fts5NearTrimmer Fts5NearTrimmer;218444,7790476 +struct Fts5NearTrimmer 218445,7790524 + Fts5LookaheadReader reader;218446,7790549 + Fts5PoslistWriter writer;218447,7790604 + Fts5Buffer *pOut;pOut218448,7790659 +static int fts5ExprNearIsMatch(218468,7791578 +static int fts5ExprAdvanceto(218567,7794807 +static int fts5ExprSynonymAdvanceto(218593,7795588 +static int fts5ExprNearTest(218623,7796390 +static int fts5ExprNearInitAll(218682,7798287 +static int fts5RowidCmp(218744,7799765 +static void fts5ExprSetEof(218759,7800038 +static void fts5ExprNodeZeroPoslist(218768,7800218 +static int fts5NodeCompare(218798,7801067 +static int fts5ExprNodeTest_STRING(218819,7801729 +static int fts5ExprNodeNext_STRING(218889,7804119 +static int fts5ExprNodeTest_TERM(218954,7805866 +static int fts5ExprNodeNext_TERM(218982,7806895 +static void fts5ExprNodeTest_OR(219006,7807405 +static int fts5ExprNodeNext_OR(219025,7807953 +static int fts5ExprNodeTest_AND(219057,7808653 +static int fts5ExprNodeNext_AND(219109,7810153 +static int fts5ExprNodeTest_NOT(219124,7810457 +static int fts5ExprNodeNext_NOT(219152,7811255 +static int fts5ExprNodeTest(219173,7811763 +static int fts5ExprNodeFirst(219218,7812827 +static int sqlite3Fts5ExprFirst(219277,7814623 +static int sqlite3Fts5ExprNext(219308,7815549 +static int sqlite3Fts5ExprEof(219322,7815939 +static i64 sqlite3Fts5ExprRowid(219326,7816011 +static int fts5ParseStringFromToken(219330,7816087 +static void fts5ExprPhraseFree(219339,7816308 +static void sqlite3Fts5ParseSetCaret(219364,7817023 +static Fts5ExprNearset *sqlite3Fts5ParseNearset(sqlite3Fts5ParseNearset219378,7817461 +typedef struct TokenCtx TokenCtx;219438,7819166 +struct TokenCtx 219439,7819200 + Fts5ExprPhrase *pPhrase;pPhrase219440,7819218 + int rc;219441,7819245 +static int fts5ParseTokenize(219447,7819319 +static void sqlite3Fts5ParsePhraseFree(219512,7821462 +static void sqlite3Fts5ParseNearsetFree(219519,7821624 +static void sqlite3Fts5ParseFinished(219530,7821870 +static int parseGrowPhraseArray(219535,7821998 +static Fts5ExprPhrase *sqlite3Fts5ParseTerm(sqlite3Fts5ParseTerm219554,7822604 +static int sqlite3Fts5ExprClonePhrase(219608,7824308 +static void sqlite3Fts5ParseNear(219704,7827426 +static void sqlite3Fts5ParseSetDistance(219712,7827656 +static Fts5Colset *fts5ParseColset(fts5ParseColset219747,7828587 +static Fts5Colset *sqlite3Fts5ParseColsetInvert(sqlite3Fts5ParseColsetInvert219788,7829846 +static Fts5Colset *sqlite3Fts5ParseColset(sqlite3Fts5ParseColset219811,7830334 +static Fts5Colset *fts5CloneColset(fts5CloneColset219851,7831542 +static void fts5MergeColset(219868,7831972 +static void fts5ParseSetColset(219894,7832813 +static void sqlite3Fts5ParseSetColset(219932,7833927 +static void fts5ExprAssignXNext(219948,7834317 +static void fts5ExprAddChildren(219981,7835092 +static Fts5ExprNode *fts5ParsePhraseToAnd(fts5ParsePhraseToAnd220003,7835682 +static Fts5ExprNode *sqlite3Fts5ParseNode(sqlite3Fts5ParseNode220057,7837155 +static Fts5ExprNode *sqlite3Fts5ParseImplicitAnd(sqlite3Fts5ParseImplicitAnd220139,7839878 +static char *fts5ExprTermPrint(fts5ExprTermPrint220204,7841593 +static char *fts5PrintfAppend(fts5PrintfAppend220236,7842330 +static char *fts5ExprPrintTcl(fts5ExprPrintTcl220257,7842892 +static char *fts5ExprPrint(fts5ExprPrint220336,7844986 +static void fts5ExprFunction(220427,7847387 +static void fts5ExprFunctionHr(220512,7849688 +static void fts5ExprFunctionTcl(220519,7849943 +static void fts5ExprIsAlnum(220532,7850398 +static void fts5ExprFold(220553,7851045 +static int sqlite3Fts5ExprInit(220576,7851799 + struct Fts5ExprFunc 220578,7851884 + const char *z;z220579,7851908 + void (*x)x220580,7851927 +static int sqlite3Fts5ExprPhraseCount(220613,7852755 +static int sqlite3Fts5ExprPhraseSize(220620,7852924 +static int sqlite3Fts5ExprPoslist(220629,7853186 +struct Fts5PoslistPopulator 220643,7853558 + Fts5PoslistWriter writer;220644,7853588 + int bOk;220645,7853616 + int bMiss;220646,7853679 +static Fts5PoslistPopulator *sqlite3Fts5ExprClearPoslists(sqlite3Fts5ExprClearPoslists220649,7853696 +struct Fts5ExprCtx 220671,7854383 + Fts5Expr *pExpr;pExpr220672,7854404 + Fts5PoslistPopulator *aPopulator;aPopulator220673,7854423 + i64 iOff;220674,7854459 +typedef struct Fts5ExprCtx Fts5ExprCtx;220676,7854474 +static int fts5ExprColsetTest(220681,7854556 +static int fts5ExprPopulatePoslistsCb(220689,7854724 +static int sqlite3Fts5ExprPopulatePoslists(220724,7855991 +static void fts5ExprClearPoslists(220754,7856711 +static int fts5ExprCheckPoslists(220765,7856992 +static void sqlite3Fts5ExprCheckPoslists(220809,7857979 +static int sqlite3Fts5ExprPhraseCollist(220816,7858165 +typedef struct Fts5HashEntry Fts5HashEntry;220869,7859450 +struct Fts5Hash 220878,7859665 + int eDetail;220879,7859683 + int *pnByte;pnByte220880,7859750 + int nEntry;220881,7859815 + int nSlot;220882,7859891 + Fts5HashEntry *pScan;pScan220883,7859953 + Fts5HashEntry **aSlot;aSlot220884,7860019 +struct Fts5HashEntry 220909,7860871 + Fts5HashEntry *pHashNext;pHashNext220910,7860894 + Fts5HashEntry *pScanNext;pScanNext220911,7860969 + int nAlloc;220913,7861037 + int iSzPoslist;220914,7861102 + int nData;220915,7861182 + int nKey;220916,7861260 + u8 bDel;220917,7861323 + u8 bContent;220918,7861392 + i16 iCol;220919,7861468 + int iPos;220920,7861537 + i64 iRowid;220921,7861608 +#define fts5EntryKey(220929,7861769 +static int sqlite3Fts5HashNew(220935,7861855 +static void sqlite3Fts5HashFree(220965,7862567 +static void sqlite3Fts5HashClear(220976,7862778 +static unsigned int fts5HashKey(220990,7863134 +static unsigned int fts5HashKey2(220999,7863313 +static int fts5HashResize(221012,7863587 +static int fts5HashAddPoslistSize(221040,7864317 +static int sqlite3Fts5HashWrite(221091,7865670 +static Fts5HashEntry *fts5HashEntryMerge(fts5HashEntryMerge221244,7870590 +static int fts5HashEntrySort(221290,7871631 +static int sqlite3Fts5HashQuery(221337,7872769 +static int sqlite3Fts5HashScanInit(221375,7873901 +static void sqlite3Fts5HashScanNext(221382,7874112 +static int sqlite3Fts5HashScanEof(221387,7874239 +static void sqlite3Fts5HashScanEntry(221391,7874314 +#define fts5_dri(221643,7883158 +#define FTS5_SEGMENT_ROWID(221650,7883566 +#define FTS5_DLIDX_ROWID(221651,7883640 +static int sqlite3Fts5Corrupt(221654,7883740 +typedef struct Fts5Data Fts5Data;221666,7884085 +typedef struct Fts5DlidxIter Fts5DlidxIter;221667,7884119 +typedef struct Fts5DlidxLvl Fts5DlidxLvl;221668,7884163 +typedef struct Fts5DlidxWriter Fts5DlidxWriter;221669,7884205 +typedef struct Fts5Iter Fts5Iter;221670,7884253 +typedef struct Fts5PageWriter Fts5PageWriter;221671,7884287 +typedef struct Fts5SegIter Fts5SegIter;221672,7884333 +typedef struct Fts5DoclistIter Fts5DoclistIter;221673,7884373 +typedef struct Fts5SegWriter Fts5SegWriter;221674,7884421 +typedef struct Fts5Structure Fts5Structure;221675,7884465 +typedef struct Fts5StructureLevel Fts5StructureLevel;221676,7884509 +typedef struct Fts5StructureSegment Fts5StructureSegment;221677,7884563 +struct Fts5Data 221679,7884622 + u8 *p;p221680,7884640 + int nn;221681,7884716 + int szLeaf;221682,7884780 +struct Fts5Index 221688,7884894 + Fts5Config *pConfig;pConfig221689,7884913 + char *zDataTbl;zDataTbl221690,7884981 + int nWorkUnit;221691,7885042 + Fts5Hash *pHash;pHash221697,7885261 + int nPendingData;221698,7885331 + i64 iWriteRowid;221699,7885401 + int bDelete;221700,7885477 + int rc;221703,7885565 + sqlite3_blob *pReader;pReader221706,7885676 + sqlite3_stmt *pWriter;pWriter221707,7885750 + sqlite3_stmt *pDeleter;pDeleter221708,7885822 + sqlite3_stmt *pIdxWriter;pIdxWriter221709,7885903 + sqlite3_stmt *pIdxDeleter;pIdxDeleter221710,7885978 + sqlite3_stmt *pIdxSelect;pIdxSelect221711,7886051 + int nRead;221712,7886079 + sqlite3_stmt *pDataVersion;pDataVersion221714,7886148 + i64 iStructVersion;221715,7886178 + Fts5Structure *pStruct;pStruct221716,7886249 +struct Fts5DoclistIter 221719,7886324 + u8 *aEof;aEof221720,7886349 + i64 iRowid;221723,7886473 + u8 *aPoslist;aPoslist221724,7886487 + int nPoslist;221725,7886503 + int nSize;221726,7886519 +struct Fts5StructureSegment 221734,7886734 + int iSegid;221735,7886764 + int pgnoFirst;221736,7886815 + int pgnoLast;221737,7886889 +struct Fts5StructureLevel 221739,7886965 + int nMerge;221740,7886993 + int nSeg;221741,7887066 + Fts5StructureSegment *aSeg;aSeg221742,7887140 +struct Fts5Structure 221744,7887221 + int nRef;221745,7887244 + u64 nWriteCounter;221746,7887307 + int nSegment;221747,7887379 + int nLevel;221748,7887452 + Fts5StructureLevel aLevel[aLevel221749,7887523 +struct Fts5PageWriter 221755,7887668 + int pgno;221756,7887692 + int iPrevPgidx;221757,7887758 + Fts5Buffer buf;221758,7887832 + Fts5Buffer pgidx;221759,7887900 + Fts5Buffer term;221760,7887969 +struct Fts5DlidxWriter 221762,7888052 + int pgno;221763,7888077 + int bPrevValid;221764,7888143 + i64 iPrev;221765,7888206 + Fts5Buffer buf;221766,7888283 +struct Fts5SegWriter 221768,7888354 + int iSegid;221769,7888377 + Fts5PageWriter writer;221770,7888435 + i64 iPrevRowid;221771,7888493 + u8 bFirstRowidInDoclist;221772,7888572 + u8 bFirstRowidInPage;221773,7888651 + u8 bFirstTermInPage;221775,7888798 + int nLeafWritten;221776,7888878 + int nEmpty;221777,7888947 + int nDlidx;221779,7889025 + Fts5DlidxWriter *aDlidx;aDlidx221780,7889098 + Fts5Buffer btterm;221783,7889218 + int iBtPage;221784,7889295 +typedef struct Fts5CResult Fts5CResult;221787,7889375 +struct Fts5CResult 221788,7889415 + u16 iFirst;221789,7889436 + u8 bTermEq;221790,7889510 +struct Fts5SegIter 221839,7891253 + Fts5StructureSegment *pSeg;pSeg221840,7891274 + int flags;221841,7891341 + int iLeafPgno;221842,7891409 + Fts5Data *pLeaf;pLeaf221843,7891474 + Fts5Data *pNextLeaf;pNextLeaf221844,7891532 + i64 iLeafOffset;221845,7891596 + void (*xNext)xNext221848,7891689 + int iTermLeafPgno;221852,7891879 + int iTermLeafOffset;221853,7891900 + int iPgidxOff;221855,7891924 + int iEndofDoclist;221856,7891985 + int iRowidOffset;221859,7892084 + int nRowidOffset;221860,7892156 + int *aRowidOffset;aRowidOffset221861,7892235 + Fts5DlidxIter *pDlidx;pDlidx221863,7892308 + Fts5Buffer term;221866,7892429 + i64 iRowid;221867,7892482 + int nPos;221868,7892536 + u8 bDel;221869,7892617 +#define ASSERT_SZLEAF_OK(221876,7892778 +#define fts5LeafIsTermless(221888,7893146 +#define fts5LeafTermOff(221890,7893202 +#define fts5LeafFirstRowidOff(221892,7893276 +struct Fts5Iter 221917,7894403 + Fts5IndexIter base;221918,7894421 + Fts5Index *pIndex;pIndex221920,7894496 + Fts5Buffer poslist;221921,7894566 + Fts5Colset *pColset;pColset221922,7894640 + void (*xSetOutputs)xSetOutputs221925,7894756 + int nSeg;221927,7894805 + int bRev;221928,7894866 + u8 bSkipEmpty;221929,7894939 + i64 iSwitchRowid;221931,7895009 + Fts5CResult *aFirst;aFirst221932,7895088 + Fts5SegIter aSeg[aSeg221933,7895160 +struct Fts5DlidxLvl 221950,7895529 + Fts5Data *pData;pData221951,7895551 + int iOff;221952,7895625 + int bEof;221953,7895689 + int iFirstOff;221954,7895742 + int iLeafPgno;221957,7895832 + i64 iRowid;221958,7895903 +struct Fts5DlidxIter 221960,7895974 + int nLvl;221961,7895997 + int iSegid;221962,7896009 + Fts5DlidxLvl aLvl[aLvl221963,7896023 +static void fts5PutU16(221966,7896051 +static u16 fts5GetU16(221971,7896146 +static void *fts5IdxMalloc(fts5IdxMalloc221981,7896423 +static int fts5BufferCompareBlob(221994,7896797 +static int fts5BufferCompare(222013,7897409 +static int fts5LeafFirstTermOff(222019,7897621 +static void sqlite3Fts5IndexCloseReader(222028,7897806 +static Fts5Data *fts5DataRead(fts5DataRead222042,7898120 +static void fts5DataRelease(222115,7900359 +static Fts5Data *fts5LeafRead(fts5LeafRead222119,7900431 +static int fts5IndexPrepareStmt(222131,7900694 +static void fts5DataWrite(222153,7901117 +static void fts5DataDelete(222177,7901806 +static void fts5DataRemoveSegment(222198,7902395 +static void fts5StructureRelease(222220,7903113 +static void fts5StructureRef(222231,7903378 +static void *sqlite3Fts5StructureRef(sqlite3Fts5StructureRef222235,7903454 +static void sqlite3Fts5StructureRelease(222239,7903568 +static int sqlite3Fts5StructureTest(222244,7903680 +static int fts5StructureDecode(222263,7904300 +static void fts5StructureAddLevel(222354,7907037 +static void fts5StructureExtendLevel(222378,7907712 +static Fts5Structure *fts5StructureReadUncached(fts5StructureReadUncached222407,7908470 +static i64 fts5IndexDataVersion(222431,7909229 +static Fts5Structure *fts5StructureRead(fts5StructureRead222462,7910104 +static void fts5StructureInvalidate(222501,7911277 +static int fts5StructureCountSegments(222513,7911573 +#define fts5BufferSafeAppendBlob(222526,7911922 +#define fts5BufferSafeAppendVarint(222532,7912169 +static void fts5StructureWrite(222544,7912563 +static void fts5PrintStructure(222586,7914179 +# define fts5PrintStructure(222596,7914469 +static int fts5SegmentSize(222599,7914510 +static void fts5StructurePromoteTo(222608,7914773 +static void fts5StructurePromote(222651,7916202 +static int fts5DlidxLvlNext(222702,7917866 +static int fts5DlidxIterNextR(222734,7918643 +static int fts5DlidxIterNext(222754,7919237 +static int fts5DlidxIterFirst(222769,7919742 +static int fts5DlidxIterEof(222778,7919913 +static void fts5DlidxIterLast(222782,7920031 +static int fts5DlidxLvlPrev(222805,7920670 +static int fts5DlidxIterPrevR(222854,7922074 +static int fts5DlidxIterPrev(222877,7922727 +static void fts5DlidxIterFree(222884,7922918 +static Fts5DlidxIter *fts5DlidxIterInit(fts5DlidxIterInit222894,7923114 +static i64 fts5DlidxIterRowid(222941,7924330 +static int fts5DlidxIterPgno(222944,7924417 +static void fts5SegIterNextPage(222951,7924567 +static int fts5GetPoslistSize(222989,7925728 +static void fts5SegIterLoadNPos(223010,7926259 +static void fts5SegIterLoadRowid(223039,7927083 +static void fts5SegIterLoadTerm(223072,7928097 +static void fts5SegIterSetNext(223105,7929234 +static void fts5SegIterInit(223123,7929869 +static void fts5SegIterReverseInitPage(223171,7931723 +static void fts5SegIterReverseNewPage(223224,7932991 +static int fts5MultiIterIsEmpty(223276,7934619 +static void fts5SegIterNext_Reverse(223286,7934934 +static void fts5SegIterNext_None(223320,7935883 +static void fts5SegIterNext(223392,7938048 +#define SWAPVAL(223511,7941652 +#define fts5IndexSkipVarint(223513,7941708 +static void fts5SegIterReverse(223523,7942037 +static void fts5SegIterLoadDlidx(223609,7945073 +static void fts5LeafSeek(223643,7946349 +static sqlite3_stmt *fts5IdxSelectStmt(fts5IdxSelectStmt223770,7949349 +static void fts5SegIterSeekInit(223789,7950030 +static void fts5SegIterHashInit(223872,7952791 +static void fts5SegIterClear(223931,7954384 +static void fts5AssertComparisonResult(223948,7954927 +static void fts5AssertMultiIterSetup(223990,7956016 +# define fts5AssertMultiIterSetup(224024,7957150 +static int fts5MultiIterDoCompare(224035,7957520 +static void fts5SegIterGotoPage(224089,7958998 +static void fts5SegIterNextFrom(224127,7960064 +static void fts5MultiIterFree(224181,7961677 +static void fts5MultiIterAdvanced(224192,7961901 +static int fts5MultiIterAdvanceRowid(224220,7963031 +static void fts5MultiIterSetEof(224263,7964339 +static void fts5MultiIterNext(224276,7964763 +static void fts5MultiIterNext2(224314,7965860 +static void fts5IterSetOutputs_Noop(224342,7966598 +static Fts5Iter *fts5MultiIterAlloc(fts5MultiIterAlloc224346,7966718 +static void fts5PoslistCallback(224368,7967355 +typedef struct PoslistCallbackCtx PoslistCallbackCtx;224380,7967607 +struct PoslistCallbackCtx 224381,7967661 + Fts5Buffer *pBuf;pBuf224382,7967689 + Fts5Colset *pColset;pColset224383,7967751 + int eState;224384,7967823 +typedef struct PoslistOffsetsCtx PoslistOffsetsCtx;224387,7967877 +struct PoslistOffsetsCtx 224388,7967929 + Fts5Buffer *pBuf;pBuf224389,7967956 + Fts5Colset *pColset;pColset224390,7968018 + int iRead;224391,7968090 + int iWrite;224392,7968103 +static int fts5IndexColsetTest(224398,7968162 +static void fts5PoslistOffsetsCallback(224406,7968331 +static void fts5PoslistFilterCallback(224429,7968906 +static void fts5ChunkIterate(224481,7970239 +static void fts5SegiterPoslist(224531,7971738 +static void fts5IndexExtractColset(224572,7973260 +static void fts5IterSetOutputs_None(224632,7974746 +static void fts5IterSetOutputs_Nocolset(224642,7975069 +static void fts5IterSetOutputs_ZeroColset(224667,7976005 +static void fts5IterSetOutputs_Col(224677,7976356 +static void fts5IterSetOutputs_Col100(224695,7976898 +static void fts5IterSetOutputs_Full(224735,7977949 +static void fts5IterSetOutputCb(224760,7978943 +static void fts5MultiIterNew(224803,7980183 +static void fts5MultiIterNew2(224902,7983715 +static int fts5MultiIterEof(224942,7984803 +static i64 fts5MultiIterRowid(224954,7985172 +static void fts5MultiIterNextFrom(224962,7985406 +static const u8 *fts5MultiIterTerm(fts5MultiIterTerm224981,7985883 +static int fts5AllocateSegid(224996,7986392 +static void fts5IndexDiscardData(225053,7988122 +static int fts5PrefixCompress(225068,7988514 +static void fts5WriteDlidxClear(225076,7988674 +static int fts5WriteDlidxGrow(225102,7989425 +static int fts5WriteFlushDlidx(225128,7990131 +static void fts5WriteFlushBtree(225152,7990977 +static void fts5WriteBtreeTerm(225181,7992144 +static void fts5WriteBtreeNoTerm(225197,7992629 +static i64 fts5DlidxExtractFirstRowid(225213,7993233 +static void fts5WriteDlidxAppend(225227,7993620 +static void fts5WriteFlushLeaf(225287,7995626 +static void fts5WriteAppendTerm(225333,7997094 +static void fts5WriteAppendRowid(225414,7999999 +static void fts5WriteAppendPoslistData(225447,8001040 +static void fts5WriteFinish(225481,8001876 +static void fts5WriteInit(225509,8002597 +static void fts5TrimSegments(225556,8004113 +static void fts5MergeChunkCallback(225622,8006665 +static void fts5IndexMergeLevel(225634,8006884 +static int fts5IndexMerge(225783,8011796 +static void fts5IndexAutomerge(225842,8013720 +static void fts5IndexCrisismerge(225863,8014627 +static int fts5IndexReturn(225881,8015216 +typedef struct Fts5FlushCtx Fts5FlushCtx;225887,8015313 +struct Fts5FlushCtx 225888,8015355 + Fts5Index *pIdx;pIdx225889,8015377 + Fts5SegWriter writer;225890,8015396 +static int fts5PoslistPrefix(225898,8015605 +static void fts5FlushOneHash(225919,8016151 +static void fts5IndexFlush(226073,8021925 +static Fts5Structure *fts5IndexOptimizeStruct(fts5IndexOptimizeStruct226082,8022130 +static int sqlite3Fts5IndexOptimize(226144,8024112 +static int sqlite3Fts5IndexMerge(226178,8024910 +static void fts5AppendRowid(226200,8025517 +static void fts5AppendPoslist(226210,8025695 +static void fts5DoclistIterNext(226228,8026197 +static void fts5DoclistIterInit(226257,8026886 +static void fts5MergeAppendDocid(226276,8027265 +#define fts5MergeAppendDocid(226287,8027636 +static void fts5BufferSwap(226296,8027958 +static void fts5NextRowid(226302,8028071 +static void fts5MergeRowidLists(226317,8028464 +typedef struct PrefixMerger PrefixMerger;226360,8029670 +struct PrefixMerger 226361,8029712 + Fts5DoclistIter iter;226362,8029734 + i64 iPos;226363,8029791 + int iOff;226364,8029869 + u8 *aPos;aPos226365,8029881 + PrefixMerger *pNext;pNext226366,8029893 +static void fts5PrefixMergerInsertByRowid(226369,8029965 +static void fts5PrefixMergerInsertByPosition(226383,8030239 +static void fts5MergePrefixLists(226402,8030601 +#define fts5PrefixMergerNextPosition(226408,8030896 +static void fts5SetupPrefixIter(226546,8035660 +static int sqlite3Fts5IndexBeginWrite(226683,8040016 +static int sqlite3Fts5IndexSync(226707,8040612 +static int sqlite3Fts5IndexRollback(226720,8041029 +static int sqlite3Fts5IndexReinit(226733,8041459 +static int sqlite3Fts5IndexOpen(226750,8042010 +static int sqlite3Fts5IndexClose(226791,8043031 +static int sqlite3Fts5IndexCharlenToBytelen(226814,8043719 +static int fts5IndexCharlen(226841,8044292 +static int sqlite3Fts5IndexWrite(226863,8044960 +static int sqlite3Fts5IndexQuery(226899,8046137 +static int sqlite3Fts5IterNext(226983,8049229 +static int sqlite3Fts5IterNextScan(226993,8049543 +static int sqlite3Fts5IterNextFrom(227017,8050248 +static const char *sqlite3Fts5IterTerm(sqlite3Fts5IterTerm227026,8050499 +static void sqlite3Fts5IterClose(227037,8050810 +static int sqlite3Fts5IndexGetAverages(227052,8051249 +static int sqlite3Fts5IndexSetAverages(227076,8051897 +static int sqlite3Fts5IndexReads(227086,8052207 +static int sqlite3Fts5IndexSetCookie(227097,8052491 +static int sqlite3Fts5IndexLoadConfig(227117,8053088 +static u64 sqlite3Fts5IndexEntryCksum(227134,8053568 +static void fts5TestDlidxReverse(227160,8054272 +static int fts5QueryCksum(227196,8055283 +static int fts5TestUtf8(227240,8056717 +static void fts5TestTerm(227271,8057474 +# define fts5TestDlidxReverse(227340,8059990 +# define fts5TestTerm(227341,8060027 +static void fts5IndexIntegrityCheckEmpty(227352,8060301 +static void fts5IntegrityCheckPgidx(227373,8060934 +static void fts5IndexIntegrityCheckSegment(227423,8062201 +static int sqlite3Fts5IndexIntegrityCheck(227568,8067367 +static void fts5DecodeRowid(227661,8071026 +static void fts5DebugRowid(227682,8071719 +static void fts5DebugStructure(227702,8072312 +static void fts5DecodeStructure(227733,8073323 +static void fts5DecodeAverages(227760,8074030 +static int fts5DecodePoslist(227785,8074735 +static int fts5DecodeDoclist(227805,8075339 +static void fts5DecodeRowidList(227845,8076650 +static void fts5DecodeFunction(227878,8077413 +static void fts5RowidFunction(228089,8083320 +static int sqlite3Fts5IndexInit(228129,8084575 +static int sqlite3Fts5IndexReset(228155,8085120 +SQLITE_API int sqlite3_fts5_may_be_corrupt 228188,8086132 +typedef struct Fts5Auxdata Fts5Auxdata;228192,8086189 +typedef struct Fts5Auxiliary Fts5Auxiliary;228193,8086229 +typedef struct Fts5Cursor Fts5Cursor;228194,8086273 +typedef struct Fts5FullTable Fts5FullTable;228195,8086311 +typedef struct Fts5Sorter Fts5Sorter;228196,8086355 +typedef struct Fts5TokenizerModule Fts5TokenizerModule;228197,8086393 +struct Fts5TransactionState 228230,8087710 + int eState;228231,8087740 + int iSavepoint;228232,8087810 +struct Fts5Global 228240,8088109 + fts5_api api;228241,8088129 + sqlite3 *db;db228242,8088210 + i64 iNextId;228243,8088281 + Fts5Auxiliary *pAux;pAux228244,8088356 + Fts5TokenizerModule *pTok;pTok228245,8088432 + Fts5TokenizerModule *pDfltTok;pDfltTok228246,8088511 + Fts5Cursor *pCsr;pCsr228247,8088576 +struct Fts5Auxiliary 228255,8088841 + Fts5Global *pGlobal;pGlobal228256,8088864 + char *zFunc;zFunc228257,8088937 + void *pUserData;pUserData228258,8089008 + fts5_extension_function xFunc;228259,8089066 + void (*xDestroy)xDestroy228260,8089124 + Fts5Auxiliary *pNext;pNext228261,8089184 +struct Fts5TokenizerModule 228269,8089448 + char *zName;zName228270,8089477 + void *pUserData;pUserData228271,8089535 + fts5_tokenizer x;228272,8089608 + void (*xDestroy)xDestroy228273,8089668 + Fts5TokenizerModule *pNext;pNext228274,8089728 +struct Fts5FullTable 228277,8089805 + Fts5Table p;228278,8089828 + Fts5Storage *pStorage;pStorage228279,8089904 + Fts5Global *pGlobal;pGlobal228280,8089959 + Fts5Cursor *pSortCsr;pSortCsr228281,8090029 + struct Fts5TransactionState ts;228283,8090116 +struct Fts5MatchPhrase 228287,8090161 + Fts5Buffer *pPoslist;pPoslist228288,8090186 + int nTerm;228289,8090253 +struct Fts5Sorter 228301,8090613 + sqlite3_stmt *pStmt;pStmt228302,8090633 + i64 iRowid;228303,8090656 + const u8 *aPoslist;aPoslist228304,8090710 + int nIdx;228305,8090781 + int aIdx[aIdx228306,8090849 +struct Fts5Cursor 228329,8091674 + sqlite3_vtab_cursor base;228330,8091694 + Fts5Cursor *pNext;pNext228331,8091765 + int *aColumnSize;aColumnSize228332,8091841 + i64 iCsrId;228333,8091906 + int ePlan;228336,8092010 + int bDesc;228337,8092070 + i64 iFirstRowid;228338,8092149 + i64 iLastRowid;228339,8092224 + sqlite3_stmt *pStmt;pStmt228340,8092297 + Fts5Expr *pExpr;pExpr228341,8092370 + Fts5Sorter *pSorter;pSorter228342,8092439 + int csrflags;228343,8092514 + i64 iSpecial;228344,8092587 + char *zRank;zRank228347,8092718 + char *zRankArgs;zRankArgs228348,8092779 + Fts5Auxiliary *pRank;pRank228349,8092845 + int nRankArg;228350,8092909 + sqlite3_value **apRankArg;apRankArg228351,8092989 + sqlite3_stmt *pRankArgStmt;pRankArgStmt228352,8093057 + Fts5Auxiliary *pAux;pAux228355,8093162 + Fts5Auxdata *pAuxdata;pAuxdata228356,8093241 + Fts5PoslistReader *aInstIter;aInstIter228359,8093388 + int nInstAlloc;228360,8093448 + int nInstCount;228361,8093524 + int *aInst;aInst228362,8093591 +#define BitFlagAllTest(228390,8094501 +#define BitFlagTest(228391,8094548 +#define CsrFlagSet(228397,8094654 +#define CsrFlagClear(228398,8094716 +#define CsrFlagTest(228399,8094779 +struct Fts5Auxdata 228401,8094841 + Fts5Auxiliary *pAux;pAux228402,8094862 + void *pPtr;pPtr228403,8094934 + void(*xDelete)xDelete228404,8094988 + Fts5Auxdata *pNext;pNext228405,8095039 +static void fts5CheckTransactionState(228416,8095312 +# define fts5CheckTransactionState(228465,8096631 +static int fts5IsContentless(228471,8096734 +static void fts5FreeVtab(228478,8096911 +static int fts5DisconnectMethod(228490,8097184 +static int fts5DestroyMethod(228498,8097346 +static int fts5InitVtab(228518,8097899 +static int fts5ConnectMethod(228584,8100097 +static int fts5CreateMethod(228594,8100617 +static void fts5SetUniqueFlag(228620,8101804 +static int fts5UsePatternMatch(228631,8102042 +static int fts5BestIndexMethod(228709,8104878 +static int fts5NewTransaction(228844,8109413 +static int fts5OpenMethod(228855,8109706 +static int fts5StmtType(228881,8110560 +static void fts5CsrNewrow(228893,8110949 +static void fts5FreeCursorComponents(228902,8111138 +static int fts5CloseMethod(228946,8112325 +static int fts5SorterNext(228962,8112761 +static void fts5TripCursors(229005,8113726 +static int fts5CursorReseek(229028,8114542 +static int fts5NextMethod(229060,8115506 +static int fts5PrepareStatement(229113,8116829 +static int fts5CursorFirstSorted(229142,8117416 +static int fts5CursorFirst(229194,8118974 +static int fts5SpecialMatch(229211,8119524 +static Fts5Auxiliary *fts5FindAuxiliary(fts5FindAuxiliary229246,8120567 +static int fts5FindRankFunction(229258,8120875 +static int fts5CursorParseRank(229309,8122412 +static i64 fts5GetRowidLimit(229346,8123340 +static int fts5FilterMethod(229367,8123877 +static int fts5EofMethod(229559,8130711 +static i64 fts5CursorRowid(229567,8130927 +static int fts5RowidMethod(229585,8131468 +static int fts5SeekCursor(229616,8132260 +static void fts5SetVtabError(229655,8133513 +static int fts5SpecialInsert(229678,8134375 +static int fts5SpecialDelete(229734,8136249 +static void fts5StorageInsert(229747,8136572 +static int fts5UpdateMethod(229777,8137401 +static int fts5SyncMethod(229903,8141782 +static int fts5BeginMethod(229917,8142154 +static int fts5CommitMethod(229928,8142516 +static int fts5RollbackMethod(229938,8142881 +static void *fts5ApiUserData(fts5ApiUserData229948,8143174 +static int fts5ApiColumnCount(229953,8143298 +static int fts5ApiColumnTotalSize(229958,8143449 +static int fts5ApiRowCount(229968,8143712 +static int fts5ApiTokenize(229974,8143934 +static int fts5ApiPhraseCount(229987,8144295 +static int fts5ApiPhraseSize(229992,8144438 +static int fts5ApiColumnText(229997,8144601 +static int fts5CsrPoslist(230020,8145102 +static int fts5CacheInstArray(230072,8146609 +static int fts5ApiInstCount(230146,8148668 +static int fts5ApiInst(230156,8148944 +static sqlite3_int64 fts5ApiRowid(230185,8149613 +static int fts5ColumnSizeCb(230189,8149715 +static int fts5ApiColumnSize(230206,8150253 +static int fts5ApiSetAuxdata(230259,8151742 +static void *fts5ApiGetAuxdata(fts5ApiGetAuxdata230294,8152710 +static void fts5ApiPhraseNext(230314,8153091 +static int fts5ApiPhraseFirst(230336,8153555 +static void fts5ApiPhraseNextColumn(230355,8153984 +static int fts5ApiPhraseFirstColumn(230385,8154684 +static const Fts5ExtensionApi sFts5Api 230435,8155970 +static int fts5ApiQueryPhrase(230461,8156523 +static void fts5ApiInvoke(230498,8157565 +static Fts5Cursor *fts5CursorFromCsrid(fts5CursorFromCsrid230511,8157837 +static void fts5ApiCallback(230519,8158041 +static Fts5Table *sqlite3Fts5TableFromCsrid(sqlite3Fts5TableFromCsrid230548,8158739 +static int fts5PoslistBlob(230575,8159793 +static int fts5ColumnMethod(230632,8161453 +static int fts5FindFunctionMethod(230685,8163182 +static int fts5RenameMethod(230710,8163932 +static int sqlite3Fts5FlushToDisk(230718,8164191 +static int fts5SavepointMethod(230728,8164449 +static int fts5ReleaseMethod(230739,8164783 +static int fts5RollbackToMethod(230750,8165148 +static int fts5CreateAux(230761,8165557 +static int fts5CreateTokenizer(230800,8166844 +static Fts5TokenizerModule *fts5LocateTokenizer(fts5LocateTokenizer230835,8167974 +static int fts5FindTokenizer(230856,8168398 +static int sqlite3Fts5GetTokenizer(230877,8168937 +static void fts5ModuleDestroy(230914,8169789 +static void fts5Fts5Func(230934,8170304 +static void fts5SourceIdFunc(230950,8170800 +static int fts5ShadowName(230964,8171310 +static int fts5Init(230975,8171592 +__declspec(231059,8174643 +__declspec(231072,8174891 +SQLITE_PRIVATE int sqlite3Fts5Init(231084,8175131 +struct Fts5Storage 231107,8175624 + Fts5Config *pConfig;pConfig231108,8175645 + Fts5Index *pIndex;pIndex231109,8175668 + int bTotalsValid;231110,8175689 + i64 nTotalRow;231111,8175770 + i64 *aTotalSize;aTotalSize231112,8175844 + sqlite3_stmt *aStmt[aStmt231113,8175911 +static int fts5StorageGetStmt(231142,8176664 +static int fts5ExecPrintf(231245,8179959 +static int sqlite3Fts5DropAll(231273,8180457 +static void fts5StorageRenameOne(231297,8181196 +static int sqlite3Fts5StorageRename(231311,8181695 +static int sqlite3Fts5CreateTable(231331,8182380 +static int sqlite3Fts5StorageOpen(231366,8183440 +static int sqlite3Fts5StorageClose(231432,8185332 +typedef struct Fts5InsertCtx Fts5InsertCtx;231447,8185594 +struct Fts5InsertCtx 231448,8185638 + Fts5Storage *pStorage;pStorage231449,8185661 + int iCol;231450,8185686 + int szCol;231451,8185698 +static int fts5StorageInsertCallback(231457,8185851 +static int fts5StorageDeleteFromIndex(231480,8186793 +static int fts5StorageInsertDocsize(231545,8188660 +static int fts5StorageLoadTotals(231575,8189678 +static int fts5StorageSaveTotals(231591,8190127 +static int sqlite3Fts5StorageDelete(231613,8190613 +static int sqlite3Fts5StorageDeleteAll(231654,8191656 +static int sqlite3Fts5StorageRebuild(231685,8192505 +static int sqlite3Fts5StorageOptimize(231740,8194036 +static int sqlite3Fts5StorageMerge(231744,8194140 +static int sqlite3Fts5StorageReset(231748,8194258 +static int fts5StorageNewRowid(231761,8194749 +static int sqlite3Fts5StorageContentInsert(231782,8195315 +static int sqlite3Fts5StorageIndexInsert(231817,8196311 +static int fts5StorageCount(231860,8197564 +typedef struct Fts5IntegrityCtx Fts5IntegrityCtx;231888,8198223 +struct Fts5IntegrityCtx 231889,8198273 + i64 iRowid;231890,8198299 + int iCol;231891,8198313 + int szCol;231892,8198325 + u64 cksum;231893,8198338 + Fts5Termset *pTermset;pTermset231894,8198351 + Fts5Config *pConfig;pConfig231895,8198376 +static int fts5StorageIntegrityCallback(231902,8198460 +static int sqlite3Fts5StorageIntegrity(231972,8200456 +static int sqlite3Fts5StorageStmt(232080,8204283 +static void sqlite3Fts5StorageStmtRelease(232104,8204881 +static int fts5StorageDecodeSizeArray(232121,8205220 +static int sqlite3Fts5StorageDocsize(232142,8205847 +static int sqlite3Fts5StorageSize(232168,8206694 +static int sqlite3Fts5StorageRowCount(232186,8207107 +static int sqlite3Fts5StorageSync(232203,8207733 +static int sqlite3Fts5StorageRollback(232217,8208103 +static int sqlite3Fts5StorageConfigValue(232222,8208230 +static unsigned char aAsciiTokenChar[aAsciiTokenChar232275,8209638 +typedef struct AsciiTokenizer AsciiTokenizer;232286,8210256 +struct AsciiTokenizer 232287,8210302 + unsigned char aTokenChar[aTokenChar232288,8210326 +static void fts5AsciiAddExceptions(232291,8210363 +static void fts5AsciiDelete(232307,8210641 +static int fts5AsciiCreate(232314,8210748 +static void asciiFold(232355,8211722 +static int fts5AsciiTokenize(232367,8211956 +static const unsigned char sqlite3Utf8Trans1[sqlite3Utf8Trans1232436,8213617 +#define READ_UTF8(232447,8214072 +#define WRITE_UTF8(232460,8214688 +typedef struct Unicode61Tokenizer Unicode61Tokenizer;232482,8215758 +struct Unicode61Tokenizer 232483,8215812 + unsigned char aTokenChar[aTokenChar232484,8215840 + char *aFold;aFold232485,8215909 + int nFold;232486,8215974 + int eRemoveDiacritic;232487,8216039 + int nException;232488,8216114 + int *aiException;aiException232489,8216132 + unsigned char aCategory[aCategory232491,8216153 +static int fts5UnicodeAddExceptions(232499,8216428 +static int fts5UnicodeIsException(232549,8217953 +static void fts5UnicodeDelete(232573,8218398 +static int unicodeSetCategories(232583,8218619 +static int fts5UnicodeCreate(232601,8219040 +static int fts5UnicodeIsAlnum(232681,8221331 +static int fts5UnicodeTokenize(232688,8221511 +typedef struct PorterTokenizer PorterTokenizer;232800,8224790 +struct PorterTokenizer 232801,8224838 + fts5_tokenizer tokenizer;232802,8224863 + Fts5Tokenizer *pTokenizer;pTokenizer232803,8224927 + char aBuf[aBuf232804,8224993 +static void fts5PorterDelete(232810,8225076 +static int fts5PorterCreate(232823,8225330 +typedef struct PorterContext PorterContext;232859,8226186 +struct PorterContext 232860,8226230 + void *pCtx;pCtx232861,8226253 + int (*xToken)xToken232862,8226267 + char *aBuf;aBuf232863,8226324 +typedef struct PorterRule PorterRule;232866,8226342 +struct PorterRule 232867,8226380 + const char *zSuffix;zSuffix232868,8226400 + int nSuffix;232869,8226423 + int (*xCond)xCond232870,8226438 + const char *zOutput;zOutput232871,8226478 + int nOutput;232872,8226501 +static int fts5PorterApply(232876,8226526 +static int fts5PorterIsVowel(232901,8227143 +static int fts5PorterGobbleVC(232907,8227293 +static int fts5Porter_MGt0(232924,8227699 +static int fts5Porter_MGt1(232929,8227839 +static int fts5Porter_MEq1(232939,8228069 +static int fts5Porter_Ostar(232949,8228299 +static int fts5Porter_MGt1_and_S_or_T(232966,8228752 +static int fts5Porter_Vowel(232973,8228968 +static int fts5PorterStep4(232989,8229348 +static int fts5PorterStep1B2(233123,8232671 +static int fts5PorterStep2(233157,8233356 +static int fts5PorterStep3(233304,8237870 +static int fts5PorterStep1B(233370,8239417 +static void fts5PorterStep1A(233407,8240347 +static int fts5PorterCb(233425,8240736 +static int fts5PorterTokenize(233494,8242229 +typedef struct TrigramTokenizer TrigramTokenizer;233514,8242793 +struct TrigramTokenizer 233515,8242843 + int bFold;233516,8242869 +static void fts5TriDelete(233522,8242975 +static int fts5TriCreate(233529,8243081 +static int fts5TriTokenize(233567,8243925 +static int sqlite3Fts5TokenizerPattern(233627,8245711 +static int sqlite3Fts5TokenizerInit(233641,8246073 + struct BuiltinTokenizer 233642,8246126 + const char *zName;zName233643,8246154 + fts5_tokenizer x;233644,8246177 +static int fts5_remove_diacritic(233697,8247697 +static int sqlite3Fts5UnicodeIsdiacritic(233764,8250755 +static int sqlite3Fts5UnicodeFold(233783,8251369 + static const struct TableEntry 233801,8252332 + unsigned short iCode;233802,8252367 + unsigned char flags;233803,8252393 + unsigned char nRange;233804,8252418 +static int sqlite3Fts5UnicodeCatParse(233919,8257543 +static u16 aFts5UnicodeBlock[aFts5UnicodeBlock234037,8260998 +static u16 aFts5UnicodeMap[aFts5UnicodeMap234041,8261163 +static u16 aFts5UnicodeData[aFts5UnicodeData234220,8274135 +static int sqlite3Fts5UnicodeCategory(234400,8286817 +static void sqlite3Fts5UnicodeAscii(234431,8287525 +static int sqlite3Fts5GetVarint32(234469,8288584 +static u8 sqlite3Fts5GetVarint(234547,8290350 +static int FTS5_NOINLINE fts5PutVarint64(234741,8294023 +static int sqlite3Fts5PutVarint(234766,8294484 +static int sqlite3Fts5GetVarintLen(234780,8294718 +typedef struct Fts5VocabTable Fts5VocabTable;234833,8296372 +typedef struct Fts5VocabCursor Fts5VocabCursor;234834,8296418 +struct Fts5VocabTable 234836,8296467 + sqlite3_vtab base;234837,8296491 + char *zFts5Tbl;zFts5Tbl234838,8296512 + char *zFts5Db;zFts5Db234839,8296571 + sqlite3 *db;db234840,8296636 + Fts5Global *pGlobal;pGlobal234841,8296692 + int eType;234842,8296769 + unsigned bBusy;234843,8296841 +struct Fts5VocabCursor 234846,8296898 + sqlite3_vtab_cursor base;234847,8296923 + sqlite3_stmt *pStmt;pStmt234848,8296951 + Fts5Table *pFts5;pFts5234849,8297024 + int bEof;234851,8297087 + Fts5IndexIter *pIter;pIter234852,8297157 + void *pStruct;pStruct234853,8297224 + int nLeTerm;234855,8297296 + char *zLeTerm;zLeTerm234856,8297361 + int iCol;234859,8297484 + i64 *aCnt;aCnt234860,8297496 + i64 *aDoc;aDoc234861,8297509 + i64 rowid;234864,8297565 + Fts5Buffer term;234865,8297638 + i64 iInstPos;234868,8297763 + int iInstOff;234869,8297779 +static int fts5VocabTableType(234894,8298460 +static int fts5VocabDisconnectMethod(234923,8299143 +static int fts5VocabDestroyMethod(234932,8299342 +static int fts5VocabInitVtab(234959,8300033 +static int fts5VocabConnectMethod(235021,8302119 +static int fts5VocabCreateMethod(235031,8302646 +static int fts5VocabBestIndexMethod(235054,8303444 +static int fts5VocabOpenMethod(235116,8305257 +static void fts5VocabResetCursor(235184,8306995 +static int fts5VocabCloseMethod(235200,8307422 +static int fts5VocabInstanceNewTerm(235209,8307684 +static int fts5VocabInstanceNext(235231,8308238 +static int fts5VocabNextMethod(235263,8309003 +static int fts5VocabFilterMethod(235391,8312890 +static int fts5VocabEofMethod(235465,8315066 +static int fts5VocabColumnMethod(235470,8315204 +static int fts5VocabRowidMethod(235542,8317365 +static int sqlite3Fts5VocabInit(235551,8317557 +typedef struct stmt_vtab stmt_vtab;235624,8319869 +struct stmt_vtab 235625,8319905 + sqlite3_vtab base;235626,8319924 + sqlite3 *db;db235627,8319979 +typedef struct stmt_cursor stmt_cursor;235634,8320208 +struct stmt_cursor 235635,8320248 + sqlite3_vtab_cursor base;235636,8320269 + sqlite3 *db;db235637,8320331 + sqlite3_stmt *pStmt;pStmt235638,8320402 + sqlite3_int64 iRowid;235639,8320479 +static int stmtConnect(235655,8320958 +static int stmtDisconnect(235695,8322250 +static int stmtOpen(235703,8322395 +static int stmtClose(235716,8322722 +static int stmtNext(235725,8322873 +static int stmtColumn(235736,8323157 +static int stmtRowid(235783,8324543 +static int stmtEof(235793,8324787 +static int stmtFilter(235804,8325117 +static int stmtBestIndex(235821,8325602 +static sqlite3_module stmtModule 235834,8325869 +SQLITE_PRIVATE int sqlite3StmtVtabInit(235863,8327126 +__declspec(235873,8327356 +SQLITE_API const char *sqlite3_sourceid(sqlite3_sourceid235892,8327852 + +stash.c,372 +static const char zStashInit[zStashInit40,1230 +@ INSERT OR IGNORE INTO vvar(61,2466 +void stash_rid_renumbering_event(136,5138 +static void stash_add_file_or_dir(167,6354 +static int stash_create(258,9348 +static void stash_apply(308,10951 +static void stash_diff(405,14012 +static void stash_drop(483,16821 +static int stash_get_id(497,17240 +void stash_cmd(566,19735 + +stat.c,381 +void bigSizeName(30,839 +void approxSizeName(45,1276 +void stats_for_email(60,1730 +void stat_page(140,4184 +void dbstat_cmd(338,11400 +void urllist_page(479,16829 +void repo_schema_page(555,19037 +void repo_stat1_page(614,20764 +void repo_tabsize_page(647,21753 +void gather_artifact_stats(720,24166 +static void largest_n_artifacts(785,26914 +void artifact_stats_page(798,27199 + +statrep.c,709 +static int statsReportType 32,908 +static const char *statsReportTimelineYFlag statsReportTimelineYFlag38,1043 +static int stats_report_init_view(59,2043 +static const char *stats_report_label_for_type(stats_report_label_for_type127,3901 +static void stats_report_output_week_links(153,4520 +static void stats_report_by_month_year(183,5649 +static void stats_report_by_user(346,11471 +static void stats_report_by_file(420,14110 +static void stats_report_day_of_week(477,15889 +static void stats_report_year_weeks(576,19253 +static void stats_report_last_change(668,22330 +void stats_report_page(740,24404 + const char *zName;zName747,24788 + const char *zVal;zVal748,24844 + int eType;749,24905 + +style.c,3298 +static struct Submenu 42,1239 + const char *zLabel;zLabel43,1263 + const char *zLink;zLink44,1311 +} aSubmenu[aSubmenu45,1387 +static int nSubmenu 46,1403 +static struct SubmenuCtrl 47,1456 + const char *zName;zName48,1484 + const char *zLabel;zLabel49,1542 + unsigned char eType;50,1614 + unsigned char eVisible;51,1683 + short int iSize;52,1751 + const char *const *azChoice;azChoice53,1828 + const char *zFalse;zFalse54,1898 + const char *zJS;zJS55,1962 +} aSubmenuCtrl[aSubmenuCtrl56,2027 +static int nSubmenuCtrl 57,2047 +static int headerHasBeenGenerated 72,2590 +static int sideboxUsed 77,2671 +static unsigned adUnitFlags 82,2725 +static int submenuEnable 87,2789 +static int disableCSP 93,2929 +static int needHrefJs 98,3025 +static Blob blobOnLoad 103,3120 +char *xhref(xhref170,6137 +char *chref(chref195,6799 +char *href(href211,7280 +void form_begin(249,8826 +void style_submenu_element(268,9290 +void style_submenu_entry(281,9565 +void style_submenu_checkbox(295,10115 +void style_submenu_binary(309,10691 +void style_submenu_multichoice(323,11274 +void style_submenu_sql(337,11861 +void style_submenu_enable(375,12943 +static int submenuCompare(383,13066 +static char *local_zCurrentPage local_zCurrentPage392,13381 +void style_set_current_page(397,13490 +static void stylesheet_url_var(419,14135 +static void image_url_var(467,15718 +char *style_copy_button(style_copy_button499,16956 +char *style_nonce(style_nonce569,19064 +char *style_csp(style_csp599,19941 +void style_disable_csp(639,21131 +static const char zDfltHeader[zDfltHeader648,21347 +const char *get_default_header(get_default_header666,21911 +static const char zDfltMainMenu[zDfltMainMenu673,22028 +@ Files /dir?ci=ci676,22151 +@ Login /login !L wideonly685,22598 +const char *style_default_mainmenu(style_default_mainmenu691,22683 +static const char* feature_from_page_path(708,23354 +void style_set_current_feature(724,23897 +const char*style_get_mainmenu(style_get_mainmenu734,24243 +static void style_init_th1_vars(751,24609 +void style_header(791,26076 +void style_adunit_config(837,27371 +static const char *style_adunit_text(style_adunit_text848,27651 +void style_table_sorter(877,28456 +static void style_load_all_js_files(884,28590 +void style_finish_page(923,29989 +void style_sidebox_begin(1100,35517 +void style_sidebox_end(1108,35726 +static int containsSelector(1117,35868 +void contains_selector_cmd(1147,36815 +void page_script_js(1164,37265 +static void page_style_css_append_page_style(1184,37929 +void page_style_css(1239,39689 +static const char allCap[allCap1277,40851 +static char *find_capabilities(find_capabilities1283,40984 +static char *find_anon_capabilities(find_anon_capabilities1297,41268 +void page_test_env(1314,41671 +void honeypot_page(1322,41797 +void webpage_error(1338,42325 +void webpage_not_yet_implemented(1419,44466 +void webpage_assert_page(1426,44601 +void webpage_notfound_error(1435,44896 +# define webpage_assert(1453,45277 +static char * style_next_input_id(1461,45515 +void style_labeled_checkbox(1492,46643 +void style_select_list_int(1558,49018 +void style_select_list_str(1619,50841 +void style_script_begin(1670,52188 +void style_script_end(1682,52478 +void style_emit_noscript_for_js_page(1692,52806 + +sync.c,253 +int autosync(43,1503 +int autosync_loop(81,2789 +static void process_sync_args(116,3790 +void pull_cmd(228,7893 +void push_cmd(278,9899 +void sync_cmd(325,11710 +void sync_unversioned(347,12313 +void remote_url_cmd(412,14569 +void backup_cmd(537,18324 + +tag.c,364 +static void tag_propagate(34,1032 +void tag_propagate_all(118,3718 +int tag_findid(141,4340 +int tag_insert(157,4781 +void testtag_cmd(255,7443 +void tag_add_artifact(301,8709 +static void tag_cmd_tagname_check(381,11231 +void tag_cmd(496,16365 +void reparent_cmd(761,25098 +void taglist_page(803,26274 +void tagtimeline_page(853,27558 +int rid_has_tag(899,29357 + +tar.c,829 +static struct tarball_t 33,879 + unsigned char *aHdr;aHdr34,905 + char *zSpaces;zSpaces35,966 + char *zPrevDir;zPrevDir36,1019 + int nPrevDirAlloc;37,1090 + Blob pax;38,1141 +} tball;39,1184 +static void tar_begin(54,1438 +static int is_iso646_name(81,2238 +static void padded_copy(97,2565 +static int find_split_pos(149,4484 +static int tar_split_path(172,5046 +static void approximate_split_path(199,5797 +static void add_pax_header(235,6895 +static void cksum_and_write_header(266,7633 +static void tar_add_header(284,8056 +static void tar_add_directory_of(338,10023 +static void tar_add_file(368,10946 +static void tar_finish(410,12347 +void test_tarball_cmd(432,12923 +void tarball_of_checkin(474,14239 +void tarball_cmd(627,19692 +char *tar_uuid_from_name(tar_uuid_from_name697,21604 +void tarball_page(753,23796 + +terminal.c,244 +struct TerminalSize 38,903 + unsigned int nColumns;39,925 + unsigned int nLines;40,1002 +int terminal_get_size(56,1622 +unsigned int terminal_get_width(98,2560 +unsigned int terminal_get_height(110,2837 +void test_terminal_size_cmd(126,3238 + +th.c,4643 +typedef struct Th_Command Th_Command;32,568 +typedef struct Th_Frame Th_Frame;33,613 +typedef struct Th_Variable Th_Variable;34,656 +typedef struct Th_InterpAndList Th_InterpAndList;35,702 +struct Th_Interp 40,786 + Th_Vtab *pVtab;pVtab41,805 + char *zResult;zResult42,882 + int nResult;43,953 + Th_Hash *paCmd;paCmd44,1008 + Th_Frame *pFrame;pFrame45,1065 + int isListMode;46,1117 +struct Th_Command 54,1367 + int (*xProc)xProc55,1387 + void *pContext;pContext56,1451 + void (*xDel)xDel57,1469 +struct Th_Frame 85,2823 + Th_Hash *paVar;paVar86,2841 + Th_Frame *pCaller;pCaller87,2911 +struct Th_Variable 107,3703 + int nRef;108,3724 + int nData;109,3799 + char *zData;zData110,3872 + Th_Hash *pHash;pHash111,3934 +struct Th_InterpAndList 119,4191 + Th_Interp *interp;interp120,4217 + char **pzList;pzList121,4284 + int *pnList;pnList122,4347 +struct Th_Hash 129,4470 + Th_HashEntry *a[a130,4487 +struct Buffer 198,7078 + char *zBuf;zBuf199,7094 + int nBuf;200,7108 + int nBufAlloc;201,7120 +typedef struct Buffer Buffer;203,7140 +static void th_memcpy(211,7395 +static void thBufferWriteResize(220,7670 +static void thBufferWriteFast(241,8258 +#define thBufferWrite(255,8580 +static void thBufferAddChar(260,8697 +static void thBufferInit(275,8993 +static void thBufferFree(283,9170 +static int thHexdigit(293,9475 +static int thFreeVariable(325,10359 +static int thFreeCommand(352,11115 +static int thListAppendHashKey(370,11618 +static int thPushFrame(380,11945 +static void thPopFrame(390,12173 +static int thNextEscape(403,12677 +int thNextVarname(435,13291 +int thNextCommand(493,14698 +int thNextSpace(528,15386 +static int thNextWord(551,16059 +static int thSubstCommand(608,17393 +static int thSubstVarname(624,17823 +static int thSubstEscape(664,18928 +static int thSubstWord(700,19563 +static int thEndOfLine(779,21519 +static int thSplitList(815,22877 +static int thEvalLocal(895,25043 +static Th_Frame *getFrame(getFrame1008,28365 +int Th_Eval(1040,29146 +static int thAnalyseVarname(1081,30509 +struct Find 1138,32011 + Th_HashEntry *pValueEntry;pValueEntry1139,32025 + Th_HashEntry *pElemEntry;pElemEntry1140,32102 + const char *zElem;zElem1141,32181 + int nElem;1142,32253 +typedef struct Find Find;1144,32335 +static Th_Variable *thFindValue(thFindValue1160,32938 +int Th_GetVar(1260,35555 +int Th_ExistsVar(1278,35969 +int Th_ExistsArrayVar(1286,36219 +int Th_SetVar(1299,36752 +int Th_LinkVar(1334,37473 +int Th_UnsetVar(1371,38604 +char *th_strdup(th_strdup1437,40566 +int Th_ErrorMessage(1462,41154 +int Th_SetResult(1489,41912 +const char *Th_GetResult(Th_GetResult1517,42495 +char *Th_TakeResult(Th_TakeResult1535,43095 +void *Th_DbgMalloc(Th_DbgMalloc1553,43466 +void Th_DbgFree(1564,43707 +int Th_CreateCommand(1581,44019 +int Th_RenameCommand(1616,45128 +int Th_InFrame(1657,46343 +int Th_SplitList(1702,47701 +int Th_ListAppend(1745,49213 +int Th_StringAppend(1800,50617 +static int thInitialize(1829,51270 +void Th_DeleteInterp(1841,51545 +Th_Interp * Th_CreateInterp(1862,52126 +typedef struct Operator Operator;1887,52714 +struct Operator 1888,52748 + const char *zOp;zOp1889,52766 + int nOp;1890,52785 + int eOp;1891,52796 + int iPrecedence;1892,52807 + int eArgType;1893,52826 +typedef struct Expr Expr;1895,52845 +struct Expr 1896,52871 + Operator *pOp;pOp1897,52885 + Expr *pParent;pParent1898,52902 + Expr *pLeft;pLeft1899,52919 + Expr *pRight;pRight1900,52934 + char *zValue;zValue1902,52951 + int nValue;1903,53003 +static Operator aOperator[aOperator1946,54032 +static int thNextInteger(1991,55746 +static int thNextNumber(2024,56389 +static void exprFree(2044,56731 +static int exprEval(2056,56982 +int exprMakeTree(2203,62311 +#define ISTERM(2209,62429 +static int exprParse(2285,64499 +int Th_Expr(2418,68305 +Th_Hash *Th_HashNew(Th_HashNew2462,69447 +void Th_HashIterate(2475,69862 +static int xFreeHashEntry(2495,70292 +void Th_HashDelete(2503,70487 +Th_HashEntry *Th_HashFind(Th_HashFind2524,71263 +int th_strlen(2574,72426 +static unsigned char aCharProp[aCharProp2603,73018 +int th_isspace(2626,74429 +int th_isdigit(2629,74502 +int th_isspecial(2632,74575 +int th_isalnum(2635,74650 +int th_isalpha(2638,74723 +int th_ishexdig(2641,74796 +int th_isoctdig(2644,74870 +int th_isbindig(2647,74922 +static int sqlite3IsNumber(2664,75334 +static int sqlite3AtoF(2701,76460 +int Th_ToInt(2763,77903 +int Th_ToDouble(2823,79183 +int Th_SetResultInt(2842,79569 +int Th_SetResultDouble(2868,80109 +int Th_ListAppendCommands(2954,82409 +int Th_ListAppendVariables(2975,83106 +int Th_ListAppendArray(3001,83868 + +th_lang.c,2379 +int Th_WrongNumArgs(17,402 +static int catch_command(27,597 +static int if_command(56,1137 +static int expr_command(103,1929 +static int eval_loopbody(122,2336 +static int for_command(135,2576 +static int foreach_command(170,3253 +static int list_command(210,4119 +static int lappend_command(239,4652 +static int lindex_command(274,5220 +static int llength_command(314,5893 +static int lsearch_command(341,6286 +static int set_command(378,6935 +typedef struct ProcDefn ProcDefn;401,7541 +struct ProcDefn 402,7575 + int nParam;403,7593 + char **azParam;azParam404,7669 + int *anParam;anParam405,7720 + char **azDefault;azDefault406,7782 + int *anDefault;anDefault407,7832 + int hasArgs;408,7893 + char *zProgram;zProgram409,7965 + int nProgram;410,8013 + char *zUsage;zUsage411,8076 + int nUsage;412,8125 +typedef struct ProcArgs ProcArgs;419,8403 +struct ProcArgs 420,8437 + int argc;421,8455 + const char **argv;argv422,8467 + int *argl;argl423,8488 +static int proc_call2(435,8871 +static int proc_call1(492,10625 +static void proc_del(529,11535 +static int proc_command(540,11752 +static int rename_command(666,15312 +static int simple_command(687,15699 +static int return_command(708,16051 +static int string_compare_command(736,16567 +static int string_first_command(772,17217 +static int string_index_command(807,17893 +static int string_is_command(836,18553 +static int string_last_command(882,19824 +static int string_length_command(917,20491 +static int string_match_command(932,20785 +static int string_range_command(955,21355 +static int string_repeat_command(988,22136 +static int string_trim_command(1021,22775 +static int info_exists_command(1047,23291 +static int info_commands_command(1065,23623 +static int info_vars_command(1089,24077 +static int array_exists_command(1113,24535 +static int array_names_command(1131,24880 +static int unset_command(1155,25357 +int Th_CallSubCommand(1168,25586 +static int string_command(1208,26597 +static int info_command(1240,27427 +static int array_command(1262,27857 +static int thToFrame(1284,28516 +static int uplevel_command(1311,29044 +static int upvar_command(1334,29501 +static int breakpoint_command(1367,30188 +int th_register_language(1383,30481 + struct _Command 1385,30562 + const char *zName;zName1386,30582 + Th_CommandProc xProc;1387,30605 + void *pContext;pContext1388,30631 + +th_main.c,3519 +#define Th_IsRepositoryOpen(70,2814 +#define Th_IsConfigOpen(71,2867 +static int nOutstandingMalloc 82,3243 +static void *xMalloc(xMalloc87,3355 +static void xFree(94,3478 +static Th_Vtab vtab 100,3560 +int Th_GetOutstandingMalloc(105,3670 +void Th_Trace(113,3803 +void Th_ForceCgi(123,4007 +void Th_InitTraceLog(136,4298 +void Th_PrintTraceLog(148,4534 +static void dir_cmd_rev(165,5140 +static int dirCmd(217,6868 +static int httpizeCmd(255,7715 +static int enableOutput 275,8073 +static int enableOutputCmd(282,8218 +static int enableHtmlifyCmd(309,8868 +const char *Th_ReturnCodeName(Th_ReturnCodeName343,9609 +static Blob * pThOut 361,10105 +Blob * Th_SetOutputBlob(369,10433 +static void sendText(385,10941 +static void sendError(413,11516 +int th1_name_to_typed_rid(430,12093 +int th1_artifact_from_ci_and_filename(453,12681 +static int nonceCmd(502,13885 +static int putsCmd(522,14248 +static int redirectCmd(546,14972 +static int insertCsrfCmd(577,15626 +static int verifyCsrfCmd(600,16230 +static int verifyLoginCmd(620,16600 +static int markdownCmd(648,17247 +static int wikiCmd(679,18036 +static int htmlizeCmd(705,18576 +static int encode64Cmd(727,18986 +static int dateCmd(751,19462 +static int hascapCmd(776,20038 +int capexprCmd(823,21573 +static int searchableCmd(888,23196 +static int hasfeatureCmd(944,24903 +static int tclReadyCmd(1046,27203 +static int anycapCmd(1076,27718 +static int comboboxCmd(1108,28558 +static int copybtnCmd(1178,30758 +static int linecntCmd(1212,31670 +static int repositoryCmd(1248,32530 +static int checkoutCmd(1277,33349 +static int traceCmd(1303,33877 +static int globalStateCmd(1346,35230 +static int getParameterCmd(1399,37075 +static int setParameterCmd(1422,37537 +static int reinitializeCmd(1441,37931 +static int renderCmd(1470,38504 +static int defHeaderCmd(1491,38840 +static int styleHeaderCmd(1510,39188 +static int styleFooterCmd(1535,39678 +static int styleScriptCmd(1566,40493 +static int builtinRequestJsCmd(1601,41260 +static int artifactCmd(1622,41716 +static int cgiHeaderLineCmd(1658,42530 +static int unversionedContentCmd(1679,42998 +static int unversionedListCmd(1710,43738 +static int unversionedCmd(1739,44435 +static void getCpuTimes(1764,44902 +static int utimeCmd(1798,45907 +static int stimeCmd(1819,46311 +static int randhexCmd(1841,46711 +static int ignore_errors_step(1873,47395 +static int queryCmd(1891,47880 +static int settingCmd(1990,50723 +static int globMatchCmd(2036,51890 +static int regexpCmd(2082,53073 +static int httpCmd(2129,54403 +static int captureTh1Cmd(2238,57668 +void Th_OpenConfig(2269,58326 +void Th_CloseConfig(2294,58931 +void Th_FossilInit(2313,59373 + static struct _Command 2323,59770 + const char *zName;zName2324,59797 + Th_CommandProc xProc;2325,59820 + void *pContext;pContext2326,59846 +void Th_MaybeStore(2456,64729 +void Th_Store(2469,65094 +void Th_AppendToList(2486,65693 +void Th_StoreList(2502,66046 +void Th_StoreInt(2526,66556 +void Th_Unstore(2543,66942 +char *Th_Fetch(Th_Fetch2553,67148 +static int isBeginScriptTag(2568,67467 +static int isEndScriptTag(2580,67723 +static int validVarName(2593,68043 +int Th_AreHooksEnabled(2629,68956 +int Th_CommandHook(2646,69432 +int Th_CommandNotify(2702,71479 +int Th_WebpageHook(2733,72562 +int Th_WebpageNotify(2789,74600 +int Th_AreDocsEnabled(2820,75521 +int Th_RenderToBlob(2848,76417 +int Th_Render(2922,78629 +void test_th_render(2956,80110 +void test_th_eval(3006,81716 +void test_th_source(3069,83758 +void test_th_hook(3147,86826 + +th_tcl.c,2488 +#define MINIMUM_TCL_VERSION(33,917 +#define USE_ARGV_TO_OBJV(41,1185 +#define COPY_ARGV_TO_OBJV(46,1285 +#define FREE_ARGV_TO_OBJV(54,1710 +#define GET_CTX_TCL_INTERP(66,2045 +#define GET_CTX_TCL_USEOBJPROC(73,2269 +# define dlopen(109,3414 +# define dlsym(112,3494 +# define dlclose(115,3582 +typedef void (tcl_FindExecutableProc)188,6003 +typedef Tcl_Interp *(tcl_CreateInterpProc)189,6057 +typedef void (tcl_DeleteInterpProc)190,6108 +typedef void (tcl_FinalizeProc)191,6160 +typedef int (tcl_NotifyProc)201,6614 +static const TclStubs *tclStubsPtr tclStubsPtr226,7875 +struct PrivateTclInterp 233,8099 + char *result;result234,8125 + Tcl_FreeProc *freeProc;freeProc235,8141 + int errorLine;236,8167 + const struct TclStubs *stubTable;stubTable237,8184 +static int initTclStubs(245,8442 +static int canUseObjProc(283,9890 +static int canUseTip285(304,10628 +static int getTh1ReturnCode(330,11437 +static int getTclReturnCode(347,11940 +static const char *getTclReturnCodeName(getTclReturnCodeName363,12401 +static char *getTclResult(getTclResult387,13122 +struct TclContext 409,13633 + int argc;410,13653 + char **argv;argv411,13711 + void *hLibrary;hLibrary412,13776 + tcl_FindExecutableProc *xFindExecutable;xFindExecutable413,13835 + tcl_CreateInterpProc *xCreateInterp;xCreateInterp414,13914 + tcl_DeleteInterpProc *xDeleteInterp;xDeleteInterp415,13991 + tcl_FinalizeProc *xFinalize;xFinalize416,14068 + Tcl_Interp *interp;interp417,14141 + int useObjProc;418,14208 + int useTip285;419,14283 + const char *setup;setup420,14346 + tcl_NotifyProc *xPreEval;xPreEval421,14405 + void *pPreContext;pPreContext422,14477 + tcl_NotifyProc *xPostEval;xPostEval423,14546 + void *pPostContext;pPostContext424,14617 +static int notifyPreOrPostEval(433,14969 +static int tclEval_command(466,15853 +static int tclExpr_command(525,17518 +static int tclInvoke_command(591,19373 +static int tclIsSafe_command(665,21647 +static int tclMakeSafe_command(696,22430 +static int Th1EvalObjCmd(755,24170 +static int Th1ExprObjCmd(788,24993 +static struct _Command 819,25739 + const char *zName;zName820,25764 + Th_CommandProc xProc;821,25785 + void *pContext;pContext822,25809 +} aCommand[aCommand823,25827 +static void Th1DeleteProc(836,26193 +static int loadTcl(865,27199 +static int setTclArguments(994,31809 +int evaluateTclWithEvents(1056,33574 +static int createTclInterp(1106,34836 +int unloadTcl(1210,38149 +int th_register_tcl(1269,39839 + +timeline.c,330 +void tag_private_status(44,1155 +void hyperlink_to_version(53,1307 +void hyperlink_to_date(64,1581 +void hyperlink_to_user(78,1999 +int timeline_tableid(129,4546 +static int has_closed_tag(138,4699 +void www_print_timeline(166,5431 +static const char *bg_to_fg(bg_to_fg804,27859 +void timeline_output_graph_javascript(839,28768 + +tkt.c,1659 +static int nField 30,929 +static struct tktFieldInfo 31,952 + char *zName;zName32,981 + char *zValue;zValue33,1041 + char *zAppend;zAppend34,1089 + unsigned mUsed;35,1138 +} *aField;aField36,1198 +static u8 haveTicket 40,1299 +static u8 haveTicketCTime 41,1370 +static u8 haveTicketChng 42,1441 +static u8 haveTicketChngRid 43,1516 +static int nameCmpr(48,1652 +static int fieldId(57,1945 +static void getAllTicketFields(72,2352 +static void initializeVariablesFromDb(136,4345 +static void initializeVariablesFromCGI(175,5448 +static int ticket_insert(194,6015 +int ticket_need_moderation(300,9347 +void ticket_rebuild_entry(322,10050 +void ticket_init(358,11090 +int ticket_change(368,11309 +static int ticket_schema_auth(404,12326 +void ticket_restrict_sql(479,14025 +void ticket_unrestrict_sql(485,14186 +void ticket_create_table(493,14301 +void ticket_rebuild(516,14879 +void test_ticket_rebuild(541,15492 +static void showAllFields(559,16057 +void tktview_page(584,16685 +static int appendRemarkCmd(656,18928 +static int ticket_put(689,19655 +static int submitTicketCmd(730,20999 +void tktnew_page(833,24100 +void tktedit_page(883,25812 +char *ticket_schema_check(ticket_schema_check950,27943 +void tkt_draw_timeline(986,29028 +void tkttimeline_page(1038,30743 +void tkthistory_page(1092,32436 +static int contains_newline(1199,35613 +void ticket_output_change_artifact(1212,35858 +void ticket_cmd(1327,39765 + enum { set,1407,42105 + enum { set,add,1407,42105 + enum { set,add,history,1407,42105 +#define T_ALL_BUT(1600,48417 +void ticket_standard_submenu(1606,48524 +void tkt_home_page(1625,49069 +void tkt_srchpage(1640,49317 + +tktsetup.c,1847 +void tktsetup_page(29,823 +static const char zDefaultTicketTable[zDefaultTicketTable67,2332 +char *ticket_table_schema(ticket_table_schema104,3264 +static void tktsetup_generic(111,3420 +void tktsetup_tab_page(178,5416 +static const char zDefaultTicketCommon[zDefaultTicketCommon195,5844 +@ set subsystem_choices 240,6509 +const char *ticket_common_code(ticket_common_code247,6582 +void tktsetup_com_page(256,6800 +static const char zDefaultTicketChange[zDefaultTicketChange272,7120 +const char *ticket_change_code(ticket_change_code279,7215 +void tktsetup_change_page(288,7437 +static const char zDefaultNew[zDefaultNew304,7730 +@

Version Found nbsp652,17495 +@