• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/Heimdal-323.92.1/lib/sqlite/

Lines Matching refs:aPgno

44841     ht_slot *aIndex;              /* i0, i1, i2... such that aPgno[iN] ascend */
44842 u32 *aPgno; /* Array of page numbers. */
44843 int nEntry; /* Nr. of entries in aPgno[] and aIndex[] */
44844 int iZero; /* Frame number associated with aPgno[0] */
45208 volatile u32 *aPgno;
45210 rc = walIndexPage(pWal, iHash, &aPgno);
45217 aHash = (volatile ht_slot *)&aPgno[HASHTABLE_NPAGE];
45219 aPgno = &aPgno[WALINDEX_HDR_SIZE/sizeof(u32)];
45225 *paPgno = &aPgno[-1];
45274 volatile u32 *aPgno = 0; /* Page number array for hash table */
45277 int nByte; /* Number of bytes to zero in aPgno[] */
45293 walHashGet(pWal, walFramePage(pWal->hdr.mxFrame), &aHash, &aPgno, &iZero);
45306 /* Zero the entries in the aPgno array that correspond to frames with
45309 nByte = (int)((char *)aHash - (char *)&aPgno[iLimit+1]);
45310 memset((void *)&aPgno[iLimit+1], 0, nByte);
45320 for(iKey=walHash(aPgno[i]); aHash[iKey]; iKey=walNextHash(iKey)){
45336 u32 iZero = 0; /* One less than frame number of aPgno[1] */
45337 volatile u32 *aPgno = 0; /* Page number array */
45340 rc = walHashGet(pWal, walFramePage(iFrame), &aHash, &aPgno, &iZero);
45354 ** entire hash table and aPgno[] array before proceding.
45357 int nByte = (int)((u8 *)&aHash[HASHTABLE_NSLOT] - (u8 *)&aPgno[1]);
45358 memset((void*)&aPgno[1], 0, nByte);
45361 /* If the entry in aPgno[] is already set, then the previous writer
45367 if( aPgno[idx] ){
45369 assert( !aPgno[idx] );
45372 /* Write the aPgno[] array entry and the hash-table slot. */
45377 aPgno[idx] = iPage;
45399 for(iKey=walHash(aPgno[i]); aHash[iKey]; iKey=walNextHash(iKey)){
45704 u32 iPg = pSegment->aPgno[pSegment->aIndex[pSegment->iNext]];
45915 volatile u32 *aPgno;
45917 rc = walHashGet(pWal, i, &aHash, &aPgno, &iZero);
45923 aPgno++;
45927 nEntry = (int)((u32*)aHash - (u32*)aPgno);
45935 walMergesort((u32 *)aPgno, aTmp, aIndex, &nEntry);
45939 p->aSegment[i].aPgno = (u32 *)aPgno;
46659 ** (aPgno[iFrame]==pgno):
46668 volatile u32 *aPgno; /* Pointer to array of page numbers */
46669 u32 iZero; /* Frame number corresponding to aPgno[0] */
46674 rc = walHashGet(pWal, iHash, &aHash, &aPgno, &iZero);
46681 if( iFrame<=iLast && aPgno[aHash[iKey]]==pgno ){