Lines Matching refs:hsdkL
65 btk_HSDK hsdkL = ( btk_HSDK )cpA; in btk_malloc() local
66 if( hsdkL->mallocFPtrE != NULL ) in btk_malloc()
68 return hsdkL->mallocFPtrE( sizeA ); in btk_malloc()
81 btk_HSDK hsdkL = ( btk_HSDK )cpA; in btk_error() local
82 if( hsdkL->errorFPtrE != NULL ) in btk_error()
84 hsdkL->errorFPtrE( hsdkL ); in btk_error()
111 btk_HSDK hsdkL = NULL; in btk_SDK_create() local
120 hsdkL = ( btk_HSDK )pCreateParamA->fpMalloc( bbs_SIZEOF8( struct btk_SDK ) ); in btk_SDK_create()
121 if( hsdkL == NULL ) return btk_STATUS_INVALID_HANDLE; in btk_SDK_create()
123 btk_SDK_init( hsdkL ); in btk_SDK_create()
126 hsdkL->mallocFPtrE = pCreateParamA->fpMalloc; in btk_SDK_create()
127 hsdkL->freeFPtrE = pCreateParamA->fpFree; in btk_SDK_create()
128 hsdkL->errorFPtrE = pCreateParamA->fpError; in btk_SDK_create()
131 bbs_Context_quickInit( &hsdkL->contextE, btk_malloc, pCreateParamA->fpFree, btk_error ); in btk_SDK_create()
132 if( bbs_Context_error( &hsdkL->contextE ) ) return btk_STATUS_ERROR; in btk_SDK_create()
146 hsdkL = ( btk_HSDK )exMemPtrL; in btk_SDK_create()
150 btk_SDK_init( hsdkL ); in btk_SDK_create()
152 hsdkL->errorFPtrE = pCreateParamA->fpError; in btk_SDK_create()
153 hsdkL->contextE.errorHandlerE = btk_error; in btk_SDK_create()
156 bbs_Context_addStaticSeg( &hsdkL->contextE, exMemPtrL, exMemSizeL, FALSE, 0 ); in btk_SDK_create()
157 …bbs_Context_addStaticSeg( &hsdkL->contextE, pCreateParamA->pShMem, pCreateParamA->sizeShMem >> 1, … in btk_SDK_create()
160 hsdkL->maxImageWidthE = pCreateParamA->maxImageWidth; in btk_SDK_create()
161 hsdkL->maxImageHeightE = pCreateParamA->maxImageHeight; in btk_SDK_create()
163 *hpsdkA = hsdkL; in btk_SDK_create()