Home | History | Annotate | Download | only in amalgamation

Lines Matching defs:ao

62591     } ao;
64748 #if 0 /* local variables moved into u.ao */
64764 #endif /* local variables moved into u.ao */
64781 u.ao.nData = 0; /* Number of bytes of data space */
64782 u.ao
64783 u.ao.nZero = 0; /* Number of zero bytes at the end of the record */
64784 u.ao.nField = pOp->p1;
64785 u.ao.zAffinity = pOp->p4.z;
64786 assert( u.ao.nField>0 && pOp->p2>0 && pOp->p2+u.ao.nField<=p->nMem+1 );
64787 u.ao.pData0 = &aMem[u.ao.nField];
64788 u.ao.nField = pOp->p2;
64789 u.ao.pLast = &u.ao.pData0[u.ao.nField-1];
64790 u.ao.file_format = p->minWriteFileFormat;
64800 for(u.ao.pRec=u.ao.pData0; u.ao.pRec<=u.ao.pLast; u.ao.pRec++){
64801 assert( memIsValid(u.ao.pRec) );
64802 if( u.ao.zAffinity ){
64803 applyAffinity(u.ao.pRec, u.ao.zAffinity[u.ao.pRec-u.ao.pData0], encoding);
64805 if( u.ao.pRec->flags&MEM_Zero && u.ao.pRec->n>0 ){
64806 sqlite3VdbeMemExpandBlob(u.ao.pRec);
64808 u.ao.serial_type = sqlite3VdbeSerialType(u.ao.pRec, u.ao.file_format);
64809 u.ao.len = sqlite3VdbeSerialTypeLen(u.ao.serial_type);
64810 u.ao.nData += u.ao.len;
64811 u.ao.nHdr += sqlite3VarintLen(u.ao.serial_type);
64812 if( u.ao.pRec->flags & MEM_Zero ){
64815 u.ao.nZero += u.ao.pRec->u.nZero;
64816 }else if( u.ao.len ){
64817 u.ao.nZero = 0;
64822 u.ao.nHdr += u.ao.nVarint = sqlite3VarintLen(u.ao.nHdr);
64823 if( u.ao.nVarint<sqlite3VarintLen(u.ao.nHdr) ){
64824 u.ao.nHdr++;
64826 u.ao.nByte = u.ao.nHdr+u.ao.nData-u.ao.nZero;
64827 if( u.ao.nByte>db->aLimit[SQLITE_LIMIT_LENGTH] ){
64836 if( sqlite3VdbeMemGrow(pOut, (int)u.ao.nByte, 0) ){
64839 u.ao.zNewRecord = (u8 *)pOut->z;
64842 u.ao.i = putVarint32(u.ao.zNewRecord, u.ao.nHdr);
64843 for(u.ao.pRec=u.ao.pData0; u.ao.pRec<=u.ao.pLast; u.ao.pRec++){
64844 u.ao.serial_type = sqlite3VdbeSerialType(u.ao.pRec, u.ao.file_format);
64845 u.ao.i += putVarint32(&u.ao.zNewRecord[u.ao.i], u.ao.serial_type); /* serial type */
64847 for(u.ao.pRec=u.ao.pData0; u.ao.pRec<=u.ao.pLast; u.ao.pRec++){ /* serial data */
64848 u.ao.i += sqlite3VdbeSerialPut(&u.ao.zNewRecord[u.ao.i], (int)(u.ao.nByte-u.ao.i), u.ao.pRec,u.ao.file_format);
64850 assert( u.ao.i==u.ao.nByte );
64853 pOut->n = (int)u.ao.nByte;
64856 if( u.ao.nZero ){
64857 pOut->u.nZero = u.ao.nZero;