Lines Matching refs:ptrA
41 struct bim_UInt32Image* ptrA ) in bim_UInt32Image_init() argument
43 bbs_UInt32Arr_init( cpA, &ptrA->arrE ); in bim_UInt32Image_init()
44 ptrA->widthE = 0; in bim_UInt32Image_init()
45 ptrA->heightE = 0; in bim_UInt32Image_init()
51 struct bim_UInt32Image* ptrA ) in bim_UInt32Image_exit() argument
53 bbs_UInt32Arr_exit( cpA, &ptrA->arrE ); in bim_UInt32Image_exit()
54 ptrA->widthE = 0; in bim_UInt32Image_exit()
55 ptrA->heightE = 0; in bim_UInt32Image_exit()
69 struct bim_UInt32Image* ptrA, in bim_UInt32Image_copy() argument
73 if( ptrA->arrE.allocatedSizeE < srcPtrA->arrE.allocatedSizeE ) in bim_UInt32Image_copy()
80 ptrA->widthE = srcPtrA->widthE; in bim_UInt32Image_copy()
81 ptrA->heightE = srcPtrA->heightE; in bim_UInt32Image_copy()
82 bbs_UInt32Arr_copy( cpA, &ptrA->arrE, &srcPtrA->arrE ); in bim_UInt32Image_copy()
88 const struct bim_UInt32Image* ptrA, in bim_UInt32Image_equal() argument
91 if( ptrA->widthE != srcPtrA->widthE ) return FALSE; in bim_UInt32Image_equal()
92 if( ptrA->heightE != srcPtrA->heightE ) return FALSE; in bim_UInt32Image_equal()
93 return bbs_UInt32Arr_equal( cpA, &ptrA->arrE, &srcPtrA->arrE ); in bim_UInt32Image_equal()
107 const struct bim_UInt32Image* ptrA, in bim_UInt32Image_heapSize() argument
111 return bbs_UInt32Arr_heapSize( cpA, &ptrA->arrE, widthA * heightA ); in bim_UInt32Image_heapSize()
117 const struct bim_UInt32Image* ptrA ) in bim_UInt32Image_checkSum() argument
121 uint32 sizeL = ptrA->arrE.sizeE; in bim_UInt32Image_checkSum()
122 const uint32* ptrL = ptrA->arrE.arrPtrE; in bim_UInt32Image_checkSum()
141 struct bim_UInt32Image* ptrA, in bim_UInt32Image_create() argument
147 if( ptrA->arrE.arrPtrE != 0 ) in bim_UInt32Image_create()
149 bim_UInt32Image_size( cpA, ptrA, widthA, heightA ); in bim_UInt32Image_create()
153 bbs_UInt32Arr_create( cpA, &ptrA->arrE, widthA * heightA, mspA ); in bim_UInt32Image_create()
154 ptrA->widthE = widthA; in bim_UInt32Image_create()
155 ptrA->heightE = heightA; in bim_UInt32Image_create()
162 struct bim_UInt32Image* ptrA, in bim_UInt32Image_assignExternalImage() argument
167 if( ptrA->arrE.arrPtrE != 0 ) in bim_UInt32Image_assignExternalImage()
174 ptrA, in bim_UInt32Image_assignExternalImage()
183 struct bim_UInt32Image* ptrA, in bim_UInt32Image_size() argument
187 if( ptrA->arrE.allocatedSizeE < widthA * heightA ) in bim_UInt32Image_size()
193 ptrA->widthE = widthA; in bim_UInt32Image_size()
194 ptrA->heightE = heightA; in bim_UInt32Image_size()
195 bbs_UInt32Arr_size( cpA, &ptrA->arrE, widthA * heightA ); in bim_UInt32Image_size()
209 const struct bim_UInt32Image* ptrA ) in bim_UInt32Image_memSize() argument
213 + bbs_SIZEOF16( ptrA->widthE ) in bim_UInt32Image_memSize()
214 + bbs_SIZEOF16( ptrA->heightE ) in bim_UInt32Image_memSize()
215 + bbs_UInt32Arr_memSize( cpA, &ptrA->arrE ); in bim_UInt32Image_memSize()
221 const struct bim_UInt32Image* ptrA, in bim_UInt32Image_memWrite() argument
224 uint32 memSizeL = bim_UInt32Image_memSize( cpA, ptrA ); in bim_UInt32Image_memWrite()
227 memPtrA += bbs_memWrite32( &ptrA->widthE, memPtrA ); in bim_UInt32Image_memWrite()
228 memPtrA += bbs_memWrite32( &ptrA->heightE, memPtrA ); in bim_UInt32Image_memWrite()
229 bbs_UInt32Arr_memWrite( cpA, &ptrA->arrE, memPtrA ); in bim_UInt32Image_memWrite()
236 struct bim_UInt32Image* ptrA, in bim_UInt32Image_memRead() argument
244 memPtrA += bbs_memRead32( &ptrA->widthE, memPtrA ); in bim_UInt32Image_memRead()
245 memPtrA += bbs_memRead32( &ptrA->heightE, memPtrA ); in bim_UInt32Image_memRead()
246 bbs_UInt32Arr_memRead( cpA, &ptrA->arrE, memPtrA, mspA ); in bim_UInt32Image_memRead()
248 if( memSizeL != bim_UInt32Image_memSize( cpA, ptrA ) ) in bim_UInt32Image_memRead()
268 struct bim_UInt32Image* ptrA, in bim_UInt32Image_setAllPixels() argument
273 uint32* ptrL = ptrA->arrE.arrPtrE; in bim_UInt32Image_setAllPixels()
274 for( iL = ptrA->widthE * ptrA->heightE; iL > 0; iL-- ) in bim_UInt32Image_setAllPixels()