Lines Matching refs:z
339 unsigned char *z; in sqliteVdbeCompressSpace() local
352 z = (unsigned char*)pOp->p3; in sqliteVdbeCompressSpace()
353 if( z==0 ) return; in sqliteVdbeCompressSpace()
355 while( isspace(z[i]) ){ i++; } in sqliteVdbeCompressSpace()
356 while( z[i] ){ in sqliteVdbeCompressSpace()
357 if( isspace(z[i]) ){ in sqliteVdbeCompressSpace()
358 z[j++] = ' '; in sqliteVdbeCompressSpace()
359 while( isspace(z[++i]) ){} in sqliteVdbeCompressSpace()
361 z[j++] = z[i++]; in sqliteVdbeCompressSpace()
364 while( j>0 && isspace(z[j-1]) ){ j--; } in sqliteVdbeCompressSpace()
365 z[j] = 0; in sqliteVdbeCompressSpace()
414 sqliteFree(p->s.z); in sqlite_set_result_string()
419 p->s.z = 0; in sqlite_set_result_string()
427 p->s.z = p->s.zShort; in sqlite_set_result_string()
429 p->s.z = sqliteMallocRaw( n+1 ); in sqlite_set_result_string()
430 if( p->s.z ){ in sqlite_set_result_string()
431 memcpy(p->s.z, zResult, n); in sqlite_set_result_string()
432 p->s.z[n] = 0; in sqlite_set_result_string()
438 return p->s.z; in sqlite_set_result_string()
443 sqliteFree(p->s.z); in sqlite_set_result_int()
451 sqliteFree(p->s.z); in sqlite_set_result_double()
484 p->pAgg = (void*)p->s.z; in sqlite_aggregate_context()
690 ctx.pAgg = pMem->z; in sqliteVdbeAggReset()
695 if( pMem->z!=0 && pMem->z!=pMem->zShort ){ in sqliteVdbeAggReset()
696 sqliteFree(pMem->z); in sqliteVdbeAggReset()
699 sqliteFree(ctx.s.z); in sqliteVdbeAggReset()
702 sqliteFree(pMem->z); in sqliteVdbeAggReset()
767 sqliteFree(pTos->z); in Cleanup()
777 sqliteFree(p->aMem[i].z); in Cleanup()