Lines Matching refs:ptrA
41 struct bbs_UInt32Arr* ptrA )
43 ptrA->arrPtrE = NULL;
44 ptrA->sizeE = 0;
45 ptrA->allocatedSizeE = 0;
46 ptrA->mspE = NULL;
52 struct bbs_UInt32Arr* 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_UInt32Arr* ptrA,
76 if( ptrA->allocatedSizeE < srcPtrA->allocatedSizeE )
83 bbs_UInt32Arr_size( cpA, ptrA, srcPtrA->sizeE );
84 bbs_memcpy32( ptrA->arrPtrE, srcPtrA->arrPtrE, srcPtrA->sizeE * bbs_SIZEOF32( uint32 ) );
90 const struct bbs_UInt32Arr* ptrA,
94 const uint32* ptr1L = ptrA->arrPtrE;
96 if( ptrA->sizeE != srcPtrA->sizeE ) return FALSE;
97 for( iL = ptrA->sizeE; iL > 0; iL-- )
115 const struct bbs_UInt32Arr* ptrA,
132 struct bbs_UInt32Arr* ptrA,
137 if( ptrA->sizeE == sizeA ) return;
138 if( ptrA->arrPtrE != 0 )
140 bbs_UInt32Arr_size( cpA, ptrA, sizeA );
144 ptrA->arrPtrE = bbs_MemSeg_alloc( cpA, mspA, sizeA * bbs_SIZEOF16( uint32 ) );
146 ptrA->allocatedSizeE = sizeA;
147 ptrA->sizeE = sizeA;
148 if( !mspA->sharedE ) ptrA->mspE = mspA;
155 struct bbs_UInt32Arr* ptrA,
158 if( ptrA->allocatedSizeE < sizeA )
162 ptrA->allocatedSizeE );
165 ptrA->sizeE = sizeA;
179 const struct bbs_UInt32Arr* ptrA )
181 return bbs_SIZEOF16( uint32 ) + bbs_SIZEOF16( ptrA->sizeE ) +
182 ptrA->sizeE * bbs_SIZEOF16( uint32 );
188 const struct bbs_UInt32Arr* ptrA,
191 uint32 memSizeL = bbs_UInt32Arr_memSize( cpA, ptrA );
193 memPtrA += bbs_memWrite32( &ptrA->sizeE, memPtrA );
194 memPtrA += bbs_memWrite32Arr( cpA, ptrA->arrPtrE, ptrA->sizeE, memPtrA );
201 struct bbs_UInt32Arr* ptrA,
209 bbs_UInt32Arr_create( cpA, ptrA, sizeL, mspA );
210 memPtrA += bbs_memRead32Arr( cpA, ptrA->arrPtrE, ptrA->sizeE, memPtrA );
212 if( memSizeL != bbs_UInt32Arr_memSize( cpA, ptrA ) )
232 struct bbs_UInt32Arr* ptrA,
236 for( iL = 0; iL < ptrA->sizeE; iL++ )
238 ptrA->arrPtrE[ iL ] = valA;