Lines Matching refs:context
750 sqlite3_context *context, in re_sql_func() argument
761 pRe = sqlite3_get_auxdata(context, 0); in re_sql_func()
765 zErr = re_compile(&pRe, zPattern, sqlite3_user_data(context)!=0); in re_sql_func()
768 sqlite3_result_error(context, zErr, -1); in re_sql_func()
772 sqlite3_result_error_nomem(context); in re_sql_func()
779 sqlite3_result_int(context, re_match(pRe, zStr, -1)); in re_sql_func()
782 sqlite3_set_auxdata(context, 0, pRe, (void(*)(void*))re_free); in re_sql_func()
795 sqlite3_context *context, in re_bytecode_func() argument
809 zErr = re_compile(&pRe, zPattern, sqlite3_user_data(context)!=0); in re_bytecode_func()
812 sqlite3_result_error(context, zErr, -1); in re_bytecode_func()
816 sqlite3_result_error_nomem(context); in re_bytecode_func()
837 sqlite3_result_text(context, z, n-1, sqlite3_free); in re_bytecode_func()