Lines Matching refs:ptrA
41 struct bbs_UInt16Arr* ptrA )
43 ptrA->arrPtrE = NULL;
44 ptrA->sizeE = 0;
45 ptrA->allocatedSizeE = 0;
46 ptrA->mspE = NULL;
52 struct bbs_UInt16Arr* 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_UInt16Arr* ptrA,
76 if( ptrA->allocatedSizeE < srcPtrA->allocatedSizeE )
83 bbs_UInt16Arr_size( cpA, ptrA, srcPtrA->sizeE );
84 bbs_memcpy16( ptrA->arrPtrE, srcPtrA->arrPtrE, srcPtrA->sizeE * bbs_SIZEOF16( uint16 ) );
90 const struct bbs_UInt16Arr* ptrA,
94 const uint16* ptr1L = ptrA->arrPtrE;
96 if( ptrA->sizeE != srcPtrA->sizeE ) return FALSE;
97 for( iL = ptrA->sizeE; iL > 0; iL-- )
115 const struct bbs_UInt16Arr* ptrA,
120 const uint16* ptrL = ptrA->arrPtrE + startIndexA;
131 const struct bbs_UInt16Arr* ptrA,
148 struct bbs_UInt16Arr* ptrA,
151 if( ptrA->allocatedSizeE < sizeA )
155 ptrA->allocatedSizeE );
158 ptrA->sizeE = sizeA;
164 struct bbs_UInt16Arr* ptrA,
169 if( ptrA->sizeE == sizeA ) return;
170 if( ptrA->arrPtrE != 0 )
172 bbs_UInt16Arr_size( cpA, ptrA, sizeA );
176 ptrA->arrPtrE = bbs_MemSeg_alloc( cpA, mspA, sizeA * bbs_SIZEOF16( uint16 ) );
178 ptrA->allocatedSizeE = sizeA;
179 ptrA->sizeE = sizeA;
180 if( !mspA->sharedE ) ptrA->mspE = mspA;
195 const struct bbs_UInt16Arr* ptrA )
197 return bbs_SIZEOF16( uint32 ) + bbs_SIZEOF16( ptrA->sizeE ) +
198 ptrA->sizeE * bbs_SIZEOF16( uint16 );
204 const struct bbs_UInt16Arr* ptrA,
207 uint32 memSizeL = bbs_UInt16Arr_memSize( cpA, ptrA );
209 memPtrA += bbs_memWrite32( &ptrA->sizeE, memPtrA );
210 memPtrA += bbs_memWrite16Arr( cpA, ptrA->arrPtrE, ptrA->sizeE, memPtrA );
217 struct bbs_UInt16Arr* ptrA,
225 bbs_UInt16Arr_create( cpA, ptrA, sizeL, mspA );
226 memPtrA += bbs_memRead16Arr( cpA, ptrA->arrPtrE, ptrA->sizeE, memPtrA );
228 if( memSizeL != bbs_UInt16Arr_memSize( cpA, ptrA ) )
248 struct bbs_UInt16Arr* ptrA,
252 for( iL = 0; iL < ptrA->sizeE; iL++ )
254 ptrA->arrPtrE[ iL ] = valA;