• Home
  • Raw
  • Download

Lines Matching refs:ptrA

41 						 struct bbs_UInt32Arr* ptrA )  in bbs_UInt32Arr_init()  argument
43 ptrA->arrPtrE = NULL; in bbs_UInt32Arr_init()
44 ptrA->sizeE = 0; in bbs_UInt32Arr_init()
45 ptrA->allocatedSizeE = 0; in bbs_UInt32Arr_init()
46 ptrA->mspE = NULL; in bbs_UInt32Arr_init()
52 struct bbs_UInt32Arr* ptrA ) in bbs_UInt32Arr_exit() argument
54 bbs_MemSeg_free( cpA, ptrA->mspE, ptrA->arrPtrE ); in bbs_UInt32Arr_exit()
55 ptrA->arrPtrE = NULL; in bbs_UInt32Arr_exit()
56 ptrA->mspE = NULL; in bbs_UInt32Arr_exit()
57 ptrA->sizeE = 0; in bbs_UInt32Arr_exit()
58 ptrA->allocatedSizeE = 0; in bbs_UInt32Arr_exit()
72 struct bbs_UInt32Arr* ptrA, in bbs_UInt32Arr_copy() argument
76 if( ptrA->allocatedSizeE < srcPtrA->allocatedSizeE ) in bbs_UInt32Arr_copy()
83 bbs_UInt32Arr_size( cpA, ptrA, srcPtrA->sizeE ); in bbs_UInt32Arr_copy()
84 bbs_memcpy32( ptrA->arrPtrE, srcPtrA->arrPtrE, srcPtrA->sizeE * bbs_SIZEOF32( uint32 ) ); in bbs_UInt32Arr_copy()
90 const struct bbs_UInt32Arr* ptrA, in bbs_UInt32Arr_equal() argument
94 const uint32* ptr1L = ptrA->arrPtrE; in bbs_UInt32Arr_equal()
96 if( ptrA->sizeE != srcPtrA->sizeE ) return FALSE; in bbs_UInt32Arr_equal()
97 for( iL = ptrA->sizeE; iL > 0; iL-- ) in bbs_UInt32Arr_equal()
115 const struct bbs_UInt32Arr* ptrA, in bbs_UInt32Arr_heapSize() argument
132 struct bbs_UInt32Arr* ptrA, in bbs_UInt32Arr_create() argument
137 if( ptrA->sizeE == sizeA ) return; in bbs_UInt32Arr_create()
138 if( ptrA->arrPtrE != 0 ) in bbs_UInt32Arr_create()
140 bbs_UInt32Arr_size( cpA, ptrA, sizeA ); in bbs_UInt32Arr_create()
144 ptrA->arrPtrE = bbs_MemSeg_alloc( cpA, mspA, sizeA * bbs_SIZEOF16( uint32 ) ); in bbs_UInt32Arr_create()
146 ptrA->allocatedSizeE = sizeA; in bbs_UInt32Arr_create()
147 ptrA->sizeE = sizeA; in bbs_UInt32Arr_create()
148 if( !mspA->sharedE ) ptrA->mspE = mspA; in bbs_UInt32Arr_create()
155 struct bbs_UInt32Arr* ptrA, in bbs_UInt32Arr_size() argument
158 if( ptrA->allocatedSizeE < sizeA ) in bbs_UInt32Arr_size()
162 ptrA->allocatedSizeE ); in bbs_UInt32Arr_size()
165 ptrA->sizeE = sizeA; in bbs_UInt32Arr_size()
179 const struct bbs_UInt32Arr* ptrA ) in bbs_UInt32Arr_memSize() argument
181 return bbs_SIZEOF16( uint32 ) + bbs_SIZEOF16( ptrA->sizeE ) + in bbs_UInt32Arr_memSize()
182 ptrA->sizeE * bbs_SIZEOF16( uint32 ); in bbs_UInt32Arr_memSize()
188 const struct bbs_UInt32Arr* ptrA, in bbs_UInt32Arr_memWrite() argument
191 uint32 memSizeL = bbs_UInt32Arr_memSize( cpA, ptrA ); in bbs_UInt32Arr_memWrite()
193 memPtrA += bbs_memWrite32( &ptrA->sizeE, memPtrA ); in bbs_UInt32Arr_memWrite()
194 memPtrA += bbs_memWrite32Arr( cpA, ptrA->arrPtrE, ptrA->sizeE, memPtrA ); in bbs_UInt32Arr_memWrite()
201 struct bbs_UInt32Arr* ptrA, in bbs_UInt32Arr_memRead() argument
209 bbs_UInt32Arr_create( cpA, ptrA, sizeL, mspA ); in bbs_UInt32Arr_memRead()
210 memPtrA += bbs_memRead32Arr( cpA, ptrA->arrPtrE, ptrA->sizeE, memPtrA ); in bbs_UInt32Arr_memRead()
212 if( memSizeL != bbs_UInt32Arr_memSize( cpA, ptrA ) ) in bbs_UInt32Arr_memRead()
232 struct bbs_UInt32Arr* ptrA, in bbs_UInt32Arr_fill() argument
236 for( iL = 0; iL < ptrA->sizeE; iL++ ) in bbs_UInt32Arr_fill()
238 ptrA->arrPtrE[ iL ] = valA; in bbs_UInt32Arr_fill()