Lines Matching refs:ptrA
41 struct bbs_ComplexArr* ptrA ) in bbs_ComplexArr_init() argument
43 ptrA->arrPtrE = NULL; in bbs_ComplexArr_init()
44 ptrA->sizeE = 0; in bbs_ComplexArr_init()
45 ptrA->allocatedSizeE = 0; in bbs_ComplexArr_init()
46 ptrA->mspE = NULL; in bbs_ComplexArr_init()
52 struct bbs_ComplexArr* ptrA ) in bbs_ComplexArr_exit() argument
54 bbs_MemSeg_free( cpA, ptrA->mspE, ptrA->arrPtrE ); in bbs_ComplexArr_exit()
55 ptrA->arrPtrE = NULL; in bbs_ComplexArr_exit()
56 ptrA->mspE = NULL; in bbs_ComplexArr_exit()
57 ptrA->sizeE = 0; in bbs_ComplexArr_exit()
58 ptrA->allocatedSizeE = 0; in bbs_ComplexArr_exit()
72 struct bbs_ComplexArr* ptrA, in bbs_ComplexArr_copy() argument
76 if( ptrA->allocatedSizeE < srcPtrA->allocatedSizeE ) in bbs_ComplexArr_copy()
83 bbs_ComplexArr_size( cpA, ptrA, srcPtrA->sizeE ); in bbs_ComplexArr_copy()
84 …bbs_memcpy32( ptrA->arrPtrE, srcPtrA->arrPtrE, srcPtrA->sizeE * bbs_SIZEOF32( struct bbs_Complex )… in bbs_ComplexArr_copy()
90 const struct bbs_ComplexArr* ptrA, in bbs_ComplexArr_equal() argument
94 const struct bbs_Complex* ptr1L = ptrA->arrPtrE; in bbs_ComplexArr_equal()
96 if( ptrA->sizeE != srcPtrA->sizeE ) return FALSE; in bbs_ComplexArr_equal()
97 for( iL = ptrA->sizeE; iL > 0; iL-- ) in bbs_ComplexArr_equal()
115 const struct bbs_ComplexArr* ptrA, in bbs_ComplexArr_heapSize() argument
132 struct bbs_ComplexArr* ptrA, in bbs_ComplexArr_create() argument
137 if( ptrA->arrPtrE != 0 ) in bbs_ComplexArr_create()
139 bbs_ComplexArr_size( cpA, ptrA, sizeA ); in bbs_ComplexArr_create()
143 ptrA->arrPtrE = bbs_MemSeg_alloc( cpA, mspA, sizeA * bbs_SIZEOF16( struct bbs_Complex ) ); in bbs_ComplexArr_create()
145 ptrA->allocatedSizeE = sizeA; in bbs_ComplexArr_create()
146 ptrA->sizeE = sizeA; in bbs_ComplexArr_create()
147 if( !mspA->sharedE ) ptrA->mspE = mspA; in bbs_ComplexArr_create()
154 struct bbs_ComplexArr* ptrA, in bbs_ComplexArr_size() argument
157 if( ptrA->allocatedSizeE < sizeA ) in bbs_ComplexArr_size()
161 ptrA->allocatedSizeE ); in bbs_ComplexArr_size()
164 ptrA->sizeE = sizeA; in bbs_ComplexArr_size()
178 const struct bbs_ComplexArr* ptrA ) in bbs_ComplexArr_memSize() argument
181 return bbs_SIZEOF16( uint32 ) + bbs_SIZEOF16( ptrA->sizeE ) + in bbs_ComplexArr_memSize()
182 ptrA->sizeE * bbs_SIZEOF16( struct bbs_Complex ); in bbs_ComplexArr_memSize()
188 const struct bbs_ComplexArr* ptrA, in bbs_ComplexArr_memWrite() argument
191 uint32 memSizeL = bbs_ComplexArr_memSize( cpA, ptrA ); in bbs_ComplexArr_memWrite()
193 memPtrA += bbs_memWrite32( &ptrA->sizeE, memPtrA ); in bbs_ComplexArr_memWrite()
194 memPtrA += bbs_memWrite16Arr( cpA, ptrA->arrPtrE, ptrA->sizeE * 2, memPtrA ); in bbs_ComplexArr_memWrite()
201 struct bbs_ComplexArr* ptrA, in bbs_ComplexArr_memRead() argument
209 bbs_ComplexArr_create( cpA, ptrA, sizeL, mspA ); in bbs_ComplexArr_memRead()
210 memPtrA += bbs_memRead16Arr( cpA, ptrA->arrPtrE, ptrA->sizeE * 2, memPtrA ); in bbs_ComplexArr_memRead()
212 if( memSizeL != bbs_ComplexArr_memSize( cpA, ptrA ) ) in bbs_ComplexArr_memRead()