Lines Matching refs:ptrA
41 struct bbs_APhArr* ptrA )
43 ptrA->arrPtrE = NULL;
44 ptrA->sizeE = 0;
45 ptrA->allocatedSizeE = 0;
46 ptrA->mspE = NULL;
52 struct bbs_APhArr* ptrA )
54 bbs_MemSeg_free( cpA, ptrA->mspE, ptrA->arrPtrE );
55 ptrA->arrPtrE = NULL;
56 ptrA->mspE = NULL;
57 ptrA->sizeE = 0;
58 ptrA->allocatedSizeE = 0;
72 struct bbs_APhArr* ptrA,
76 if( ptrA->allocatedSizeE < srcPtrA->allocatedSizeE )
83 bbs_APhArr_size( cpA, ptrA, srcPtrA->sizeE );
84 bbs_memcpy32( ptrA->arrPtrE, srcPtrA->arrPtrE, srcPtrA->sizeE * bbs_SIZEOF32( struct bbs_APh ) );
90 const struct bbs_APhArr* ptrA,
94 const struct bbs_APh* ptr1L = ptrA->arrPtrE;
96 if( ptrA->sizeE != srcPtrA->sizeE ) return FALSE;
97 for( iL = ptrA->sizeE; iL > 0; iL-- )
115 const struct bbs_APhArr* ptrA,
132 struct bbs_APhArr* ptrA,
137 if( ptrA->arrPtrE != 0 )
139 bbs_APhArr_size( cpA, ptrA, sizeA );
143 ptrA->arrPtrE = bbs_MemSeg_alloc( cpA, mspA, sizeA * bbs_SIZEOF16( struct bbs_APh ) );
145 ptrA->allocatedSizeE = sizeA;
146 ptrA->sizeE = sizeA;
147 if( !mspA->sharedE ) ptrA->mspE = mspA;
154 struct bbs_APhArr* ptrA,
157 if( ptrA->allocatedSizeE < sizeA )
161 ptrA->allocatedSizeE );
164 ptrA->sizeE = sizeA;
178 const struct bbs_APhArr* ptrA )
180 return bbs_SIZEOF16( uint32 ) + bbs_SIZEOF16( ptrA->sizeE ) +
181 ptrA->sizeE * bbs_SIZEOF16( struct bbs_APh );
187 const struct bbs_APhArr* ptrA,
190 uint32 memSizeL = bbs_APhArr_memSize( cpA, ptrA );
192 memPtrA += bbs_memWrite32( &ptrA->sizeE, memPtrA );
193 memPtrA += bbs_memWrite16Arr( cpA, ptrA->arrPtrE, ptrA->sizeE * 2, memPtrA );
200 struct bbs_APhArr* ptrA,
208 bbs_APhArr_create( cpA, ptrA, sizeL, mspA );
209 memPtrA += bbs_memRead16Arr( cpA, ptrA->arrPtrE, ptrA->sizeE * 2, memPtrA );
211 if( memSizeL != bbs_APhArr_memSize( cpA, ptrA ) )