Lines Matching refs:zCopy
880 char *zCopy = (char *)sqlite3_malloc(nText); in tkt2213Function() local
881 memcpy(zCopy, zText1, nText); in tkt2213Function()
882 sqlite3_result_text(context, zCopy, nText, sqlite3_free); in tkt2213Function()
4604 char *zCopy = 0; /* malloc() copy of zSql */ in test_prepare_v2() local
4625 zCopy = malloc(bytes); in test_prepare_v2()
4626 memcpy(zCopy, zSql, bytes); in test_prepare_v2()
4629 zCopy = malloc(n); in test_prepare_v2()
4630 memcpy(zCopy, zSql, n); in test_prepare_v2()
4633 rc = sqlite3_prepare_v2(db, zCopy, bytes, &pStmt, pzTail); in test_prepare_v2()
4635 zTail = &zSql[(zTail - zCopy)]; in test_prepare_v2()
4637 free(zCopy); in test_prepare_v2()
4678 char *zCopy = 0; /* malloc() copy of zSql */ in test_prepare_v3() local
4700 zCopy = malloc(bytes); in test_prepare_v3()
4701 memcpy(zCopy, zSql, bytes); in test_prepare_v3()
4704 zCopy = malloc(n); in test_prepare_v3()
4705 memcpy(zCopy, zSql, n); in test_prepare_v3()
4708 rc = sqlite3_prepare_v3(db, zCopy, bytes, (unsigned int)flags,&pStmt,pzTail); in test_prepare_v3()
4709 free(zCopy); in test_prepare_v3()
4710 zTail = &zSql[(zTail - zCopy)]; in test_prepare_v3()