Home | History | Annotate | Download | only in amalgamation

Lines Matching defs:ao

62770     } ao;
64927 #if 0 /* local variables moved into u.ao */
64943 #endif /* local variables moved into u.ao */
64960 u.ao.nData = 0; /* Number of bytes of data space */
64961 u.ao.nHdr = 0; /* Number of bytes of header space */
64962 u.ao.nZero = 0; /* Number of zero bytes at the end of the record */
64963 u.ao.nField = pOp->p1;
64964 u.ao.zAffinity = pOp->p4.z;
64965 assert( u.ao.nField>0 && pOp->p2>0 && pOp->p2+u.ao.nField<=p->nMem+1 );
64966 u.ao.pData0 = &aMem[u.ao.nField];
64967 u.ao.nField = pOp->p2;
64968 u.ao.pLast = &u.ao.pData0[u.ao.nField-1];
64969 u.ao.file_format = p->minWriteFileFormat;
64979 for(u.ao.pRec=u.ao.pData0; u.ao.pRec<=u.ao.pLast; u.ao.pRec++){
64980 assert( memIsValid(u.ao.pRec) );
64981 if( u.ao.zAffinity ){
64982 applyAffinity(u.ao.pRec, u.ao.zAffinity[u.ao.pRec-u.ao.pData0], encoding);
64984 if( u.ao.pRec->flags&MEM_Zero && u.ao.pRec->n>0 ){
64985 sqlite3VdbeMemExpandBlob(u.ao.pRec);
64987 u.ao.serial_type = sqlite3VdbeSerialType(u.ao.pRec, u.ao.file_format);
64988 u.ao.len = sqlite3VdbeSerialTypeLen(u.ao.serial_type);
64989 u.ao.nData += u.ao.len;
64990 u.ao.nHdr += sqlite3VarintLen(u.ao.serial_type);
64991 if( u.ao.pRec->flags & MEM_Zero ){
64994 u.ao.nZero += u.ao.pRec->u.nZero;
64995 }else if( u.ao.len ){
64996 u.ao.nZero = 0;
65001 u.ao.nHdr += u.ao.nVarint = sqlite3VarintLen(u.ao.nHdr);
65002 if( u.ao.nVarint<sqlite3VarintLen(u.ao.nHdr) ){
65003 u.ao.nHdr++;
65005 u.ao.nByte = u.ao.nHdr+u.ao.nData-u.ao.nZero;
65006 if( u.ao.nByte>db->aLimit[SQLITE_LIMIT_LENGTH] ){
65015 if( sqlite3VdbeMemGrow(pOut, (int)u.ao.nByte, 0) ){
65018 u.ao.zNewRecord = (u8 *)pOut->z;
65021 u.ao.i = putVarint32(u.ao.zNewRecord, u.ao.nHdr);
65022 for(u.ao.pRec=u.ao.pData0; u.ao.pRec<=u.ao.pLast; u.ao.pRec++){
65023 u.ao.serial_type = sqlite3VdbeSerialType(u.ao.pRec, u.ao.file_format);
65024 u.ao.i += putVarint32(&u.ao.zNewRecord[u.ao.i], u.ao.serial_type); /* serial type */
65026 for(u.ao.pRec=u.ao.pData0; u.ao.pRec<=u.ao.pLast; u.ao.pRec++){ /* serial data */
65027 u.ao.i += sqlite3VdbeSerialPut(&u.ao.zNewRecord[u.ao.i], (int)(u.ao.nByte-u.ao.i), u.ao.pRec,u.ao.file_format);
65029 assert( u.ao.i==u.ao.nByte );
65032 pOut->n = (int)u.ao.nByte;
65035 if( u.ao.nZero ){
65036 pOut->u.nZero = u.ao.nZero;