Lines Matching refs:malloc

15 # which causes the N-th malloc to fail.  This special feature is used
16 # to see what happens in the library if a malloc were to really fail
19 # $Id: malloc.test,v 1.81 2009/06/24 13:13:45 drh Exp $
23 set ::testprefix malloc
30 puts "Skipping malloc tests: not compiled with -DSQLITE_MEMDEBUG..."
69 do_test malloc-1.X {
97 do_test malloc-2.X {
121 do_test malloc-3.X {
147 do_test malloc-4.X {
171 do_test malloc-5.X {
211 # This block is designed to test that some malloc failures that may
212 # occur in vdbeapi.c. Specifically, if a malloc failure that occurs
218 # actually return an error to the user when a malloc() fails.. That
255 # This block tests that malloc() failures that occur whilst commiting
269 # This block tests malloc() failures that occur while opening a
286 # This block tests malloc() failures that occur within calls to
305 # Test malloc errors when replaying two hot journals from a 2-file
366 # Test for malloc() failures in sqlite3_create_collation() and
388 # Also test sqlite3_complete(). There are (currently) no malloc()
399 # Test handling of malloc() failures in sqlite3_open16().
451 # Test handling of malloc() failures in sqlite3_errmsg16().
468 # cause a malloc() only used when converting between the two utf-16
470 # hits this malloc() on little-endian hosts.
498 # when the malloc failure occurs within the nested parse.
520 # Test malloc failure whilst installing a foreign key.
528 # Test malloc failure in an sqlite3_prepare_v2() call.
622 # a malloc() to allocate space to save the index key. This test case is
624 # particular malloc() call.
634 # table B-Tree. By using a new connection, the outcome of a malloc()
653 # Test that no memory is leaked following a malloc() failure in
667 # Test that malloc failures that occur while processing INDEXED BY
710 -- of malloc errors (including SQLITE_IOERR_NOMEM errors) when loading
717 # This test verifies the libraries response to a malloc() failure during
730 # If, when running in exclusive mode, a malloc() failure occurs
736 # the malloc failure and rollback, the change counter will not
765 # the malloc failure occurs after updating the change counter but
792 do_test malloc-32.$zRepeat.${::n}.integrity {
863 do_test malloc-36.$zRepeat.${::n}.unlocked {
948 do_test malloc-99.X {