/dports/mail/bmf/bmf-0.9.4/ |
H A D | vec.c | 66 vec_setsize( pthis, pthis->nitems+1 ); in vec_addhead() 67 memmove( &pthis->pitems[1], &pthis->pitems[0], pthis->nitems*sizeof(str_t) ); in vec_addhead() 76 vec_setsize( pthis, pthis->nitems+1 ); in vec_addtail() 77 pthis->pitems[pthis->nitems] = *pstr; in vec_addtail() 85 memmove( &pthis->pitems[0], &pthis->pitems[1], pthis->nitems*sizeof(str_t) ); in vec_delhead() 205 if( pthis->plist == NULL || pthis->index >= pthis->plist->nitems ) in veciter_get() 210 return &pthis->plist->pitems[pthis->index]; in veciter_get() 226 if( pthis->plist == NULL || pthis->index >= pthis->plist->nitems ) in veciter_hasitem() 246 if( pthis->index == pthis->plist->nitems ) in veciter_next() 261 if( pthis->index != pthis->plist->nitems-1 ) in veciter_addafter() [all …]
|
H A D | lex.c | 556 pthis->pos = pthis->lineend; in lex_nextline() 562 pbuf = pthis->pbuf + pthis->pos; in lex_nextline() 598 if( pthis->pos == pthis->eom ) in lex_nexttoken() 600 pthis->bom = pthis->pos; in lex_nexttoken() 605 while( pthis->pos != pthis->lineend && is_whitespace(pthis->pbuf[pthis->pos]) ) in lex_nexttoken() 610 pbuf = pthis->pbuf + pthis->pos; in lex_nexttoken() 687 assert( pthis->bom < pthis->buflen && pthis->eom <= pthis->buflen ); in lex_passthru() 690 pthis->pos = pthis->bom; in lex_passthru() 737 if( pthis->pos < pthis->eom ) in lex_passthru() 739 write( STDOUT_FILENO, pthis->pbuf+pthis->pos, pthis->eom-pthis->pos ); in lex_passthru() [all …]
|
H A D | dbmysql.c | 53 if( pthis == NULL ) in dbmysql_db_open() 72 free( pthis ); in dbmysql_db_open() 154 if( pthis->pdb == NULL || pthis->pdb->dbh == NULL ) in dbmysql_table_mergeclose() 160 pthis->nmsgs++; in dbmysql_table_mergeclose() 163 pthis->table, pthis->nmsgs, MSGCOUNT_KEY ); in dbmysql_table_mergeclose() 171 pthis->table, MSGCOUNT_KEY, pthis->nmsgs ); in dbmysql_table_mergeclose() 227 if( pthis->pdb == NULL || pthis->pdb->dbh == NULL ) in dbmysql_table_unmergeclose() 239 pthis->table, pthis->nmsgs, MSGCOUNT_KEY ); in dbmysql_table_unmergeclose() 247 pthis->table, MSGCOUNT_KEY, pthis->nmsgs ); in dbmysql_table_unmergeclose() 306 if( pthis->pdb == NULL || pthis->pdb->dbh == NULL ) in dbmysql_table_import() [all …]
|
H A D | dbtext.c | 48 dbhtext_t* pthis; in dbtext_db_open() local 55 if( pthis == NULL ) in dbtext_db_open() 108 return (dbh_t*)pthis; in dbtext_db_open() 116 free( pthis->dir ); in dbtext_db_close() 117 pthis->dir = NULL; in dbtext_db_close() 282 free( pthis->pbuf ); in dbtext_table_close() 283 pthis->pbuf = NULL; in dbtext_table_close() 285 pthis->pitems = NULL; in dbtext_table_close() 298 pthis->fd = -1; in dbtext_table_close() 323 pthis->nmsgs++; in dbtext_table_mergeclose() [all …]
|
H A D | vec.h | 30 void vec_create ( vec_t* pthis ); 31 void vec_destroy ( vec_t* pthis ); 33 void vec_addhead ( vec_t* pthis, str_t* pstr ); 35 void vec_delhead ( vec_t* pthis ); 36 void vec_deltail ( vec_t* pthis ); 47 void veciter_destroy ( veciter_t* pthis ); 49 str_t* veciter_get ( veciter_t* pthis ); 51 bool_t veciter_hasitem ( veciter_t* pthis ); 52 bool_t veciter_prev ( veciter_t* pthis ); 53 bool_t veciter_next ( veciter_t* pthis ); [all …]
|
H A D | dbdb.c | 80 dbhdb_t* pthis; in dbdb_db_open() local 87 if( pthis == NULL ) in dbdb_db_open() 147 …if( pthis->envp->open( pthis->envp, pthis->dir, DB_INIT_LOCK|DB_INIT_MPOOL|DB_CREATE, 0644 ) != 0 ) in dbdb_db_open() 153 return (dbh_t*)pthis; in dbdb_db_open() 156 free( pthis ); in dbdb_db_open() 165 pthis->envp->close( pthis->envp, 0 ); in dbdb_db_close() 168 free( pthis->dir ); in dbdb_db_close() 169 pthis->dir = NULL; in dbdb_db_close() 289 DB* dbp = pthis->dbp; in dbdb_table_close() 325 pthis->nmsgs++; in dbdb_table_mergeclose() [all …]
|
H A D | str.c | 50 int str_cmp( const str_t* pthis, const str_t* pother ) in str_cmp() argument 52 uint minlen = min( pthis->len, pother->len ); in str_cmp() 54 assert( pthis->p != NULL && pother->p != NULL && minlen != 0 ); in str_cmp() 56 cmp = strncmp( pthis->p, pother->p, minlen ); in str_cmp() 58 if( cmp == 0 && pthis->len != pother->len ) in str_cmp() 60 cmp = (pthis->len < pother->len) ? -1 : 1; in str_cmp() 65 int str_casecmp( const str_t* pthis, const str_t* pother ) in str_casecmp() argument 67 uint minlen = min( pthis->len, pother->len ); in str_casecmp() 71 cmp = strncasecmp( pthis->p, pother->p, minlen ); in str_casecmp() 73 if( cmp == 0 && pthis->len != pother->len ) in str_casecmp() [all …]
|
/dports/multimedia/intel-media-sdk/MediaSDK-intel-mediasdk-22.1.0/tools/tracer/tracer/bits/ |
H A D | mfxcallbacks.h | 36 FUNCTION(mfxExtBRC, mfxStatus, Init, (mfxHDL pthis, mfxVideoParam* par), (pthis, par)) 37 FUNCTION(mfxExtBRC, mfxStatus, Reset, (mfxHDL pthis, mfxVideoParam* par), (pthis, par)) 38 FUNCTION(mfxExtBRC, mfxStatus, Close, (mfxHDL pthis), (pthis)) 42 FUNCTION(mfxCoreInterface, mfxStatus, GetCoreParam, (mfxHDL pthis, mfxCoreParam *par), (pthis, par)) 44 FUNCTION(mfxCoreInterface, mfxStatus, IncreaseReference, (mfxHDL pthis, mfxFrameData *fd), (pthis, … 58 FUNCTION(mfxPlugin, mfxStatus, PluginInit, (mfxHDL pthis, mfxCoreInterface *core), (pthis, core)) 59 FUNCTION(mfxPlugin, mfxStatus, PluginClose, (mfxHDL pthis), (pthis)) 60 FUNCTION(mfxPlugin, mfxStatus, GetPluginParam, (mfxHDL pthis, mfxPluginParam *par), (pthis, par)) 67 FUNCTION(mfxVideoCodecPlugin, mfxStatus, Init, (mfxHDL pthis, mfxVideoParam *par), (pthis, par)) 68 FUNCTION(mfxVideoCodecPlugin, mfxStatus, Reset, (mfxHDL pthis, mfxVideoParam *par), (pthis, par)) [all …]
|
/dports/multimedia/intel-media-sdk/MediaSDK-intel-mediasdk-22.1.0/_studio/enctools/include/ |
H A D | mfx_enctools.h | 99 MFX_CHECK_NULL_PTR1(pthis); in Init() 105 MFX_CHECK_NULL_PTR1(pthis); in GetSupportedConfig() 110 MFX_CHECK_NULL_PTR1(pthis); in GetActiveConfig() 115 MFX_CHECK_NULL_PTR1(pthis); in Reset() 120 MFX_CHECK_NULL_PTR1(pthis); in Close() 127 MFX_CHECK_NULL_PTR1(pthis); in Submit() 134 MFX_CHECK_NULL_PTR1(pthis); in Query() 141 MFX_CHECK_NULL_PTR1(pthis); in Discard() 146 MFX_CHECK_NULL_PTR1(pthis); in GetDelayInFrames() 187 MFX_CHECK_NULL_PTR1(pthis); in Close() [all …]
|
/dports/multimedia/onevpl/oneVPL-2022.0.6/tools/legacy/media_sdk_compatibility_headers/ |
H A D | mfxplugin.h | 350 mfxHDL pthis; member 372 mfxStatus(MFX_CDECL* GetRealSurface)(mfxHDL pthis, 395 mfxStatus(MFX_CDECL* QueryIOSurf)(mfxHDL pthis, 401 mfxStatus(MFX_CDECL* Close)(mfxHDL pthis); 418 mfxStatus(MFX_CDECL* VPPFrameSubmit)(mfxHDL pthis, 429 mfxStatus(MFX_CDECL* ENCFrameSubmit)(mfxHDL pthis, 442 mfxStatus(MFX_CDECL* QueryIOSize)(mfxHDL pthis, 447 mfxStatus(MFX_CDECL* Close)(mfxHDL pthis); 469 mfxHDL pthis; member 472 mfxStatus(MFX_CDECL* PluginClose)(mfxHDL pthis); [all …]
|
/dports/multimedia/obs-studio/obs-studio-27.1.3/plugins/obs-qsv11/libmfx/include/msdk/include/ |
H A D | mfxplugin.h | 109 mfxHDL pthis; member 115 mfxStatus (MFX_CDECL *GetCoreParam)(mfxHDL pthis, mfxCoreParam *par); 143 mfxStatus (MFX_CDECL *Init)(mfxHDL pthis, mfxVideoParam *par); 144 mfxStatus (MFX_CDECL *Reset)(mfxHDL pthis, mfxVideoParam *par); 145 mfxStatus (MFX_CDECL *Close)(mfxHDL pthis); 146 mfxStatus (MFX_CDECL *GetVideoParam)(mfxHDL pthis, mfxVideoParam *par); 168 mfxStatus (MFX_CDECL *Init)(mfxHDL pthis, mfxAudioParam *par); 169 mfxStatus (MFX_CDECL *Reset)(mfxHDL pthis, mfxAudioParam *par); 170 mfxStatus (MFX_CDECL *Close)(mfxHDL pthis); 186 mfxHDL pthis; member [all …]
|
H A D | mfxplugin++.h | 213 return m_core.pthis != 0; in IsCoreSet() 219 return m_core.GetCoreParam(m_core.pthis, par); in GetCoreParam() 231 return m_core.IncreaseReference(m_core.pthis, fd); in IncreaseReference() 237 return m_core.DecreaseReference(m_core.pthis, fd); in DecreaseReference() 243 return m_core.CopyFrame(m_core.pthis, dst, src); in CopyFrame() 324 m_mfxAPI.pthis = plugin; in SetupCallbacks() 347 static mfxStatus _PluginClose(mfxHDL pthis) { in _PluginClose() argument 411 static mfxStatus _Close(mfxHDL pthis) { in _Close() argument 412 return reinterpret_cast<T*>(pthis)->Close(); in _Close() 469 static mfxStatus _Close(mfxHDL pthis) { in _Close() argument [all …]
|
/dports/multimedia/intel-media-sdk/MediaSDK-intel-mediasdk-22.1.0/api/include/ |
H A D | mfxplugin.h | 109 mfxHDL pthis; member 115 mfxStatus (MFX_CDECL *GetCoreParam)(mfxHDL pthis, mfxCoreParam *par); 143 mfxStatus (MFX_CDECL *Init)(mfxHDL pthis, mfxVideoParam *par); 144 mfxStatus (MFX_CDECL *Reset)(mfxHDL pthis, mfxVideoParam *par); 145 mfxStatus (MFX_CDECL *Close)(mfxHDL pthis); 146 mfxStatus (MFX_CDECL *GetVideoParam)(mfxHDL pthis, mfxVideoParam *par); 168 mfxStatus (MFX_CDECL *Init)(mfxHDL pthis, mfxAudioParam *par); 169 mfxStatus (MFX_CDECL *Reset)(mfxHDL pthis, mfxAudioParam *par); 170 mfxStatus (MFX_CDECL *Close)(mfxHDL pthis); 186 mfxHDL pthis; member [all …]
|
H A D | mfxplugin++.h | 213 return m_core.pthis != 0; in IsCoreSet() 219 return m_core.GetCoreParam(m_core.pthis, par); in GetCoreParam() 231 return m_core.IncreaseReference(m_core.pthis, fd); in IncreaseReference() 237 return m_core.DecreaseReference(m_core.pthis, fd); in DecreaseReference() 243 return m_core.CopyFrame(m_core.pthis, dst, src); in CopyFrame() 324 m_mfxAPI.pthis = plugin; in SetupCallbacks() 347 static mfxStatus _PluginClose(mfxHDL pthis) { in _PluginClose() argument 411 static mfxStatus _Close(mfxHDL pthis) { in _Close() argument 412 return reinterpret_cast<T*>(pthis)->Close(); in _Close() 469 static mfxStatus _Close(mfxHDL pthis) { in _Close() argument [all …]
|
/dports/multimedia/intel-media-sdk/MediaSDK-intel-mediasdk-22.1.0/tools/tracer/wrappers/ |
H A D | mfx_video_user.cpp | 56 Log::WriteLog(context.dump("pthis", pthis)); in mfxCoreInterface_GetCoreParam() 60 mfxStatus status = (*proc) (pthis, par); in mfxCoreInterface_GetCoreParam() 129 mfxStatus status = (*proc) (pthis, fd); in mfxCoreInterface_IncreaseReference() 163 mfxStatus status = (*proc) (pthis, fd); in mfxCoreInterface_DecreaseReference() 540 if (core->FrameAllocator.pthis) in mfxPlugin_PluginInit() 556 if (core->pthis) in mfxPlugin_PluginInit() 557 core->pthis = pCtx->pLoaderBase; in mfxPlugin_PluginInit() 587 mfxStatus status = (*proc) (pthis); in mfxPlugin_PluginClose() 620 mfxStatus status = (*proc) (pthis, par); in mfxPlugin_GetPluginParam() 903 mfxStatus status = (*proc) (pthis); in mfxVideoCodecPlugin_Close() [all …]
|
/dports/devel/stxxl/stxxl-1.4.1/lib/io/ |
H A D | request_queue_impl_qwqr.cpp | 144 self* pthis = static_cast<self*>(arg); in worker() local 149 pthis->m_sem--; in worker() 154 if (!pthis->m_write_queue.empty()) in worker() 168 pthis->m_sem++; in worker() 174 if (pthis->m_priority_op == NONE || pthis->m_priority_op == READ) in worker() 181 if (!pthis->m_read_queue.empty()) in worker() 197 pthis->m_sem++; in worker() 203 if (pthis->m_priority_op == NONE || pthis->m_priority_op == WRITE) in worker() 209 if ((pthis->m_sem--) == 0) in worker() 212 pthis->m_sem++; in worker() [all …]
|
/dports/multimedia/onevpl/oneVPL-2022.0.6/tools/legacy/sample_common/src/ |
H A D | base_allocator.cpp | 13 pthis = this; in MFXFrameAllocator() 26 if (0 == pthis) in Alloc_() 35 if (0 == pthis) in Lock_() 44 if (0 == pthis) in Unlock_() 53 if (0 == pthis) in Free_() 62 if (0 == pthis) in GetHDL_() 209 pthis = this; in MFXBufferAllocator() 219 if (0 == pthis) in Alloc_() 228 if (0 == pthis) in Lock_() 237 if (0 == pthis) in Unlock_() [all …]
|
/dports/multimedia/intel-media-sdk/MediaSDK-intel-mediasdk-22.1.0/samples/sample_common/src/ |
H A D | base_allocator.cpp | 27 pthis = this; in MFXFrameAllocator() 41 if (0 == pthis) in Alloc_() 51 if (0 == pthis) in Lock_() 61 if (0 == pthis) in Unlock_() 71 if (0 == pthis) in Free_() 81 if (0 == pthis) in GetHDL_() 246 pthis = this; in MFXBufferAllocator() 259 if (0 == pthis) in Alloc_() 269 if (0 == pthis) in Lock_() 279 if (0 == pthis) in Unlock_() [all …]
|
/dports/multimedia/intel-media-sdk/MediaSDK-intel-mediasdk-22.1.0/_studio/mfx_lib/shared/include/ |
H A D | mfx_brc_common.h | 96 inline mfxStatus Init (mfxHDL pthis, mfxVideoParam* par) in Init() argument 98 MFX_CHECK_NULL_PTR1(pthis); in Init() 103 MFX_CHECK_NULL_PTR1(pthis); in Reset() 106 inline mfxStatus Close (mfxHDL pthis) in Close() argument 108 MFX_CHECK_NULL_PTR1(pthis); in Close() 113 MFX_CHECK_NULL_PTR1(pthis); in GetFrameCtrl() 118 MFX_CHECK_NULL_PTR1(pthis); in Update() 124 m_BRC.pthis = new MfxHwH265EncodeBRC::ExtBRC; in Create() 135 MFX_CHECK(m_BRC.pthis != NULL, MFX_ERR_NONE); in Destroy() 136 delete (MfxHwH265EncodeBRC::ExtBRC*)m_BRC.pthis; in Destroy() [all …]
|
/dports/misc/thrill/thrill-12c5b59bca66df93b66628b3829027bd0f110dd9/extlib/foxxll/foxxll/io/ |
H A D | request_queue_impl_qwqr.cpp | 157 self* pthis = static_cast<self*>(arg); in worker() local 162 pthis->sem_.wait(); in worker() 167 if (!pthis->write_queue_.empty()) in worker() 181 pthis->sem_.signal(); in worker() 187 if (pthis->priority_op_ == NONE || pthis->priority_op_ == READ) in worker() 194 if (!pthis->read_queue_.empty()) in worker() 212 pthis->sem_.signal(); in worker() 218 if (pthis->priority_op_ == NONE || pthis->priority_op_ == WRITE) in worker() 224 if (pthis->sem_.wait() == 0) in worker() 227 pthis->sem_.signal(); in worker() [all …]
|
/dports/biology/emboss/EMBOSS-6.6.0/ajax/core/ |
H A D | ajpat.c | 161 AJNEW0(pthis); in ajPatternSeqNewList() 175 return pthis; in ajPatternSeqNewList() 204 AJNEW0(pthis); in ajPatternRegexNewList() 215 pthis->Compiled = ajRegComp(pthis->Pattern); in ajPatternRegexNewList() 218 return pthis; in ajPatternRegexNewList() 552 AJNEW0(pthis); in ajPatlistRegexNew() 560 return pthis; in ajPatlistRegexNew() 591 return pthis; in ajPatlistRegexNewType() 619 return pthis; in ajPatlistSeqNew() 648 return pthis; in ajPatlistSeqNewType() [all …]
|
/dports/comms/limesuite/LimeSuite-20.10.0/src/fftviewer_wxgui/ |
H A D | fftviewer_frFFTviewer.cpp | 394 ch_offset += 2*pthis->lmsIndex; in StreamingLoop() 404 LMS_SetupStream(pthis->lmsControl, &pthis->rxStreams[i]); in StreamingLoop() 406 pthis->txStreams[i].handle = 0; in StreamingLoop() 413 LMS_SetupStream(pthis->lmsControl, &pthis->txStreams[i]); in StreamingLoop() 432 wxQueueEvent(pthis->cmbFmt, e); in StreamingLoop() 435 pthis->mStreamRunning.store(true); in StreamingLoop() 534 pthis->QueueEvent(evt); in StreamingLoop() 589 pthis->stopProcessing.store(true); in StreamingLoop() 590 pthis->mStreamRunning.store(false); in StreamingLoop() 600 LMS_DestroyStream(pthis->lmsControl, &pthis->txStreams[i]); in StreamingLoop() [all …]
|
/dports/multimedia/intel-media-sdk/MediaSDK-intel-mediasdk-22.1.0/_studio/mfx_lib/encode_hw/hevc/agnostic/base/ |
H A D | hevcehw_base_ext_brc.cpp | 42 MFX_CHECK_NULL_PTR1(pthis); in Close() 47 Close(pthis); in Reset() 48 return Init(pthis, par); in Reset() 71 m_BRC.pthis = new TBRC; in Create() 107 dst.pthis = src.pthis; in SetSupported() 139 if ( !dst.pthis in SetInherited() 146 dst.pthis = src.pthis; in SetInherited() 175 && ( pBRC->pthis in Query1NoCaps() 181 && ( !pBRC->pthis in Query1NoCaps() 196 && ( pBRC->pthis in Query1NoCaps() [all …]
|
/dports/graphics/waifu2x-ncnn-vulkan/waifu2x-ncnn-vulkan-20210521/src/ncnn/src/ |
H A D | c_api.cpp | 137 delete (Allocator*)allocator->pthis; in ncnn_allocator_destroy() 596 delete (DataReader*)dr->pthis; in ncnn_datareader_destroy() 708 mb->pthis = (void*)(new ModelBinFromDataReader_c_api(mb, *(const DataReader*)dr->pthis)); in ncnn_modelbin_create_from_datareader() 732 delete (ModelBin*)mb->pthis; in ncnn_modelbin_destroy() 769 mb0.pthis = (void*)&mb; in load_model() 1001 delete (Layer*)layer->pthis; in ncnn_layer_destroy() 1136 net->pthis = (void*)(new Net()); in ncnn_net_create() 1143 delete (Net*)net->pthis; in ncnn_net_destroy() 1253 return ((Net*)net->pthis)->load_param(*(const DataReader*)dr->pthis); in ncnn_net_load_param_datareader() 1259 return ((Net*)net->pthis)->load_param_bin(*(const DataReader*)dr->pthis); in ncnn_net_load_param_bin_datareader() [all …]
|
/dports/benchmarks/vkpeak/vkpeak-20210430/ncnn/src/ |
H A D | c_api.cpp | 137 delete (Allocator*)allocator->pthis; in ncnn_allocator_destroy() 596 delete (DataReader*)dr->pthis; in ncnn_datareader_destroy() 708 mb->pthis = (void*)(new ModelBinFromDataReader_c_api(mb, *(const DataReader*)dr->pthis)); in ncnn_modelbin_create_from_datareader() 732 delete (ModelBin*)mb->pthis; in ncnn_modelbin_destroy() 769 mb0.pthis = (void*)&mb; in load_model() 1001 delete (Layer*)layer->pthis; in ncnn_layer_destroy() 1136 net->pthis = (void*)(new Net()); in ncnn_net_create() 1143 delete (Net*)net->pthis; in ncnn_net_destroy() 1253 return ((Net*)net->pthis)->load_param(*(const DataReader*)dr->pthis); in ncnn_net_load_param_datareader() 1259 return ((Net*)net->pthis)->load_param_bin(*(const DataReader*)dr->pthis); in ncnn_net_load_param_bin_datareader() [all …]
|