Lines Matching refs:ptrA

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