/dports/audio/miniaudio/miniaudio-dbca7a3b44594e0226f887472b31f54aa5f14214/research/_examples/ |
H A D | resource_manager_advanced.c | 30 static ma_result ma_data_source_read_pcm_frames_f32_ex(ma_data_source* pDataSource, float* pFramesO… in ma_data_source_read_pcm_frames_f32_ex() argument 36 MA_ASSERT(pDataSource != NULL); in ma_data_source_read_pcm_frames_f32_ex() 40 … return ma_data_source_read_pcm_frames(pDataSource, pFramesOut, frameCount, pFramesRead, loop); in ma_data_source_read_pcm_frames_f32_ex() 56 …result = ma_data_source_read_pcm_frames(pDataSource, pFramesOut, framesToRead, &framesJustRead, lo… in ma_data_source_read_pcm_frames_f32_ex() 70 MA_API ma_result ma_data_source_read_pcm_frames_f32(ma_data_source* pDataSource, float* pFramesOut,… in ma_data_source_read_pcm_frames_f32() argument 76 result = ma_data_source_get_data_format(pDataSource, &format, &channels, NULL); in ma_data_source_read_pcm_frames_f32() 81 …return ma_data_source_read_pcm_frames_f32_ex(pDataSource, pFramesOut, frameCount, pFramesRead, loo… in ma_data_source_read_pcm_frames_f32() 84 MA_API ma_result ma_data_source_read_pcm_frames_and_mix_f32(ma_data_source* pDataSource, float* pFr… in ma_data_source_read_pcm_frames_and_mix_f32() argument 95 if (pDataSource == NULL) { in ma_data_source_read_pcm_frames_and_mix_f32() 99 result = ma_data_source_get_data_format(pDataSource, &format, &channels, NULL); in ma_data_source_read_pcm_frames_and_mix_f32() [all …]
|
/dports/print/ghostscript7-base/ghostscript-7.07/src/ |
H A D | zfunc0.c | 43 ref *pDataSource; in gs_build_function_0() local 50 if ((code = dict_find_string(op, "DataSource", &pDataSource)) <= 0) in gs_build_function_0() 52 switch (r_type(pDataSource)) { in gs_build_function_0() 55 pDataSource->value.const_bytes, in gs_build_function_0() 56 r_size(pDataSource)); in gs_build_function_0() 61 check_read_known_file_else(s, pDataSource, return_error, in gs_build_function_0()
|
H A D | zshade.c | 397 ref *pDataSource; in build_mesh_shading() local 401 if (dict_find_string(op, "DataSource", &pDataSource) <= 0) in build_mesh_shading() 403 if (r_is_array(pDataSource)) { in build_mesh_shading() 404 uint size = r_size(pDataSource); in build_mesh_shading() 412 code = float_params(pDataSource->value.refs + size - 1, size, data); in build_mesh_shading() 419 switch (r_type(pDataSource)) { in build_mesh_shading() 423 check_read_file(s, pDataSource); in build_mesh_shading() 428 check_read(*pDataSource); in build_mesh_shading() 430 pDataSource->value.bytes, in build_mesh_shading() 431 r_size(pDataSource)); in build_mesh_shading()
|
/dports/print/ghostscript7-x11/ghostscript-7.07/src/ |
H A D | zfunc0.c | 43 ref *pDataSource; in gs_build_function_0() local 50 if ((code = dict_find_string(op, "DataSource", &pDataSource)) <= 0) in gs_build_function_0() 52 switch (r_type(pDataSource)) { in gs_build_function_0() 55 pDataSource->value.const_bytes, in gs_build_function_0() 56 r_size(pDataSource)); in gs_build_function_0() 61 check_read_known_file_else(s, pDataSource, return_error, in gs_build_function_0()
|
H A D | zshade.c | 397 ref *pDataSource; in build_mesh_shading() local 401 if (dict_find_string(op, "DataSource", &pDataSource) <= 0) in build_mesh_shading() 403 if (r_is_array(pDataSource)) { in build_mesh_shading() 404 uint size = r_size(pDataSource); in build_mesh_shading() 412 code = float_params(pDataSource->value.refs + size - 1, size, data); in build_mesh_shading() 419 switch (r_type(pDataSource)) { in build_mesh_shading() 423 check_read_file(s, pDataSource); in build_mesh_shading() 428 check_read(*pDataSource); in build_mesh_shading() 430 pDataSource->value.bytes, in build_mesh_shading() 431 r_size(pDataSource)); in build_mesh_shading()
|
/dports/print/ghostscript8-x11/ghostscript-8.71/psi/ |
H A D | zfunc0.c | 38 ref *pDataSource; in gs_build_function_0() local 45 if ((code = dict_find_string(op, "DataSource", &pDataSource)) <= 0) in gs_build_function_0() 47 switch (r_type(pDataSource)) { in gs_build_function_0() 50 pDataSource->value.const_bytes, in gs_build_function_0() 51 r_size(pDataSource)); in gs_build_function_0() 56 check_read_known_file_else(s, pDataSource, return_error, in gs_build_function_0()
|
H A D | zshade.c | 473 ref *pDataSource; in build_mesh_shading() local 477 if (dict_find_string(op, "DataSource", &pDataSource) <= 0) in build_mesh_shading() 479 if (r_is_array(pDataSource)) { in build_mesh_shading() 480 uint size = r_size(pDataSource); in build_mesh_shading() 486 code = process_float_array(mem, pDataSource, size, data); in build_mesh_shading() 493 switch (r_type(pDataSource)) { in build_mesh_shading() 497 check_read_file(s, pDataSource); in build_mesh_shading() 502 check_read(*pDataSource); in build_mesh_shading() 504 pDataSource->value.bytes, in build_mesh_shading() 505 r_size(pDataSource)); in build_mesh_shading()
|
/dports/print/ghostscript9-x11/ghostscript-9.06/psi/ |
H A D | zfunc0.c | 40 ref *pDataSource; in gs_build_function_0() local 47 if ((code = dict_find_string(op, "DataSource", &pDataSource)) <= 0) in gs_build_function_0() 49 switch (r_type(pDataSource)) { in gs_build_function_0() 52 pDataSource->value.const_bytes, in gs_build_function_0() 53 r_size(pDataSource)); in gs_build_function_0() 58 check_read_known_file_else(s, pDataSource, return_error, in gs_build_function_0()
|
H A D | zshade.c | 475 ref *pDataSource; in build_mesh_shading() local 479 if (dict_find_string(op, "DataSource", &pDataSource) <= 0) in build_mesh_shading() 481 if (r_is_array(pDataSource)) { in build_mesh_shading() 482 uint size = r_size(pDataSource); in build_mesh_shading() 488 code = process_float_array(mem, pDataSource, size, data); in build_mesh_shading() 495 switch (r_type(pDataSource)) { in build_mesh_shading() 499 check_read_file(i_ctx_p, s, pDataSource); in build_mesh_shading() 504 check_read(*pDataSource); in build_mesh_shading() 506 pDataSource->value.bytes, in build_mesh_shading() 507 r_size(pDataSource)); in build_mesh_shading()
|
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/psi/ |
H A D | zfunc0.c | 40 ref *pDataSource; in gs_build_function_0() local 47 if ((code = dict_find_string(op, "DataSource", &pDataSource)) <= 0) in gs_build_function_0() 49 switch (r_type(pDataSource)) { in gs_build_function_0() 52 pDataSource->value.const_bytes, in gs_build_function_0() 53 r_size(pDataSource)); in gs_build_function_0() 58 check_read_known_file_else(s, pDataSource, return_error, in gs_build_function_0()
|
H A D | zshade.c | 477 ref *pDataSource; in build_mesh_shading() local 481 if (dict_find_string(op, "DataSource", &pDataSource) <= 0) in build_mesh_shading() 483 if (r_is_array(pDataSource)) { in build_mesh_shading() 484 uint size = r_size(pDataSource); in build_mesh_shading() 490 code = process_float_array(mem, pDataSource, size, data); in build_mesh_shading() 497 switch (r_type(pDataSource)) { in build_mesh_shading() 501 check_read_file(i_ctx_p, s, pDataSource); in build_mesh_shading() 506 check_read(*pDataSource); in build_mesh_shading() 508 pDataSource->value.bytes, in build_mesh_shading() 509 r_size(pDataSource)); in build_mesh_shading()
|
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/psi/ |
H A D | zfunc0.c | 40 ref *pDataSource; in gs_build_function_0() local 47 if ((code = dict_find_string(op, "DataSource", &pDataSource)) <= 0) in gs_build_function_0() 49 switch (r_type(pDataSource)) { in gs_build_function_0() 52 pDataSource->value.const_bytes, in gs_build_function_0() 53 r_size(pDataSource)); in gs_build_function_0() 58 check_read_known_file_else(s, pDataSource, return_error, in gs_build_function_0()
|
H A D | zshade.c | 477 ref *pDataSource; in build_mesh_shading() local 481 if (dict_find_string(op, "DataSource", &pDataSource) <= 0) in build_mesh_shading() 483 if (r_is_array(pDataSource)) { in build_mesh_shading() 484 uint size = r_size(pDataSource); in build_mesh_shading() 490 code = process_float_array(mem, pDataSource, size, data); in build_mesh_shading() 497 switch (r_type(pDataSource)) { in build_mesh_shading() 501 check_read_file(i_ctx_p, s, pDataSource); in build_mesh_shading() 506 check_read(*pDataSource); in build_mesh_shading() 508 pDataSource->value.bytes, in build_mesh_shading() 509 r_size(pDataSource)); in build_mesh_shading()
|
/dports/print/ghostscript9-base/ghostscript-9.06/psi/ |
H A D | zfunc0.c | 40 ref *pDataSource; in gs_build_function_0() local 47 if ((code = dict_find_string(op, "DataSource", &pDataSource)) <= 0) in gs_build_function_0() 49 switch (r_type(pDataSource)) { in gs_build_function_0() 52 pDataSource->value.const_bytes, in gs_build_function_0() 53 r_size(pDataSource)); in gs_build_function_0() 58 check_read_known_file_else(s, pDataSource, return_error, in gs_build_function_0()
|
/dports/print/ghostscript8-base/ghostscript-8.71/psi/ |
H A D | zfunc0.c | 38 ref *pDataSource; in gs_build_function_0() local 45 if ((code = dict_find_string(op, "DataSource", &pDataSource)) <= 0) in gs_build_function_0() 47 switch (r_type(pDataSource)) { in gs_build_function_0() 50 pDataSource->value.const_bytes, in gs_build_function_0() 51 r_size(pDataSource)); in gs_build_function_0() 56 check_read_known_file_else(s, pDataSource, return_error, in gs_build_function_0()
|
H A D | zshade.c | 473 ref *pDataSource; in build_mesh_shading() local 477 if (dict_find_string(op, "DataSource", &pDataSource) <= 0) in build_mesh_shading() 479 if (r_is_array(pDataSource)) { in build_mesh_shading() 480 uint size = r_size(pDataSource); in build_mesh_shading() 486 code = process_float_array(mem, pDataSource, size, data); in build_mesh_shading() 493 switch (r_type(pDataSource)) { in build_mesh_shading() 497 check_read_file(s, pDataSource); in build_mesh_shading() 502 check_read(*pDataSource); in build_mesh_shading() 504 pDataSource->value.bytes, in build_mesh_shading() 505 r_size(pDataSource)); in build_mesh_shading()
|
/dports/audio/miniaudio/miniaudio-dbca7a3b44594e0226f887472b31f54aa5f14214/extras/ |
H A D | miniaudio_libopus.h | 49 static ma_result ma_libopus_ds_read(ma_data_source* pDataSource, void* pFramesOut, ma_uint64 frameC… in ma_libopus_ds_read() argument 51 … return ma_libopus_read_pcm_frames((ma_libopus*)pDataSource, pFramesOut, frameCount, pFramesRead); in ma_libopus_ds_read() 54 static ma_result ma_libopus_ds_seek(ma_data_source* pDataSource, ma_uint64 frameIndex) in ma_libopus_ds_seek() argument 56 return ma_libopus_seek_to_pcm_frame((ma_libopus*)pDataSource, frameIndex); in ma_libopus_ds_seek() 59 static ma_result ma_libopus_ds_get_data_format(ma_data_source* pDataSource, ma_format* pFormat, ma_… in ma_libopus_ds_get_data_format() argument 61 …return ma_libopus_get_data_format((ma_libopus*)pDataSource, pFormat, pChannels, pSampleRate, NULL,… in ma_libopus_ds_get_data_format() 64 static ma_result ma_libopus_ds_get_cursor(ma_data_source* pDataSource, ma_uint64* pCursor) in ma_libopus_ds_get_cursor() argument 66 return ma_libopus_get_cursor_in_pcm_frames((ma_libopus*)pDataSource, pCursor); in ma_libopus_ds_get_cursor() 69 static ma_result ma_libopus_ds_get_length(ma_data_source* pDataSource, ma_uint64* pLength) in ma_libopus_ds_get_length() argument 71 return ma_libopus_get_length_in_pcm_frames((ma_libopus*)pDataSource, pLength); in ma_libopus_ds_get_length()
|
H A D | miniaudio_libvorbis.h | 50 static ma_result ma_libvorbis_ds_read(ma_data_source* pDataSource, void* pFramesOut, ma_uint64 fram… in ma_libvorbis_ds_read() argument 52 …return ma_libvorbis_read_pcm_frames((ma_libvorbis*)pDataSource, pFramesOut, frameCount, pFramesRea… in ma_libvorbis_ds_read() 55 static ma_result ma_libvorbis_ds_seek(ma_data_source* pDataSource, ma_uint64 frameIndex) in ma_libvorbis_ds_seek() argument 57 return ma_libvorbis_seek_to_pcm_frame((ma_libvorbis*)pDataSource, frameIndex); in ma_libvorbis_ds_seek() 60 static ma_result ma_libvorbis_ds_get_data_format(ma_data_source* pDataSource, ma_format* pFormat, m… in ma_libvorbis_ds_get_data_format() argument 62 …return ma_libvorbis_get_data_format((ma_libvorbis*)pDataSource, pFormat, pChannels, pSampleRate, N… in ma_libvorbis_ds_get_data_format() 65 static ma_result ma_libvorbis_ds_get_cursor(ma_data_source* pDataSource, ma_uint64* pCursor) in ma_libvorbis_ds_get_cursor() argument 67 return ma_libvorbis_get_cursor_in_pcm_frames((ma_libvorbis*)pDataSource, pCursor); in ma_libvorbis_ds_get_cursor() 70 static ma_result ma_libvorbis_ds_get_length(ma_data_source* pDataSource, ma_uint64* pLength) in ma_libvorbis_ds_get_length() argument 72 return ma_libvorbis_get_length_in_pcm_frames((ma_libvorbis*)pDataSource, pLength); in ma_libvorbis_ds_get_length()
|
/dports/www/R-cran-httpuv/httpuv/src/ |
H A D | webapplication.cpp | 108 std::shared_ptr<DataSource> pDataSource = std::make_shared<InMemoryDataSource>(responseData); in error_response() local 111 new HttpResponse(pRequest, code, description, pDataSource), in error_response() 203 std::shared_ptr<DataSource> pDataSource; in listToResponse() local 226 pDataSource = pFDS; in listToResponse() 230 pDataSource = std::make_shared<InMemoryDataSource>(responseBytes); in listToResponse() 234 pDataSource = std::make_shared<InMemoryDataSource>(responseBytes); in listToResponse() 238 new HttpResponse(pRequest, status, statusDesc, pDataSource), in listToResponse() 525 std::shared_ptr<FileDataSource> pDataSource = std::make_shared<FileDataSource>(); in staticFileResponse() local 526 FileDataSourceResult ret = pDataSource->initialize(local_path, false); in staticFileResponse() 557 time_t file_mtime = pDataSource->getMtime(); in staticFileResponse() [all …]
|
/dports/games/jaggedalliance2/miniaudio-634cdb028f340075ae8e8a1126620695688d2ac3/research/ |
H A D | miniaudio_engine.h | 6518 if (pDataSource == NULL) { in ma_resource_manager_data_source_init() 6540 if (pDataSource == NULL) { in ma_resource_manager_data_source_uninit() 6554 if (pDataSource == NULL) { in ma_resource_manager_data_source_read_pcm_frames() 6567 if (pDataSource == NULL) { in ma_resource_manager_data_source_seek_to_pcm_frame() 6580 if (pDataSource == NULL) { in ma_resource_manager_data_source_map() 6593 if (pDataSource == NULL) { in ma_resource_manager_data_source_unmap() 6606 if (pDataSource == NULL) { in ma_resource_manager_data_source_get_data_format() 6619 if (pDataSource == NULL) { in ma_resource_manager_data_source_get_cursor_in_pcm_frames() 6632 if (pDataSource == NULL) { in ma_resource_manager_data_source_get_length_in_pcm_frames() 6645 if (pDataSource == NULL) { in ma_resource_manager_data_source_result() [all …]
|
/dports/devel/upp/upp/bazaar/plugin/gdal/ogr/ogrsf_frmts/wasp/ |
H A D | ogrwaspdriver.cpp | 56 std::auto_ptr<OGRWAsPDataSource> pDataSource( new OGRWAsPDataSource( pszFilename, fh )); in Open() local 58 if ( pDataSource->Load(true) != OGRERR_NONE ) in Open() 62 return pDataSource.release(); in Open()
|
/dports/graphics/py-gdal/gdal-3.3.3/ogr/ogrsf_frmts/wasp/ |
H A D | ogrwaspdriver.cpp | 58 std::unique_ptr<OGRWAsPDataSource> pDataSource( new OGRWAsPDataSource( pszFilename, fh )); in Open() local 60 if ( pDataSource->Load(true) != OGRERR_NONE ) in Open() 64 return pDataSource.release(); in Open()
|
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/ogr/ogrsf_frmts/wasp/ |
H A D | ogrwaspdriver.cpp | 58 std::unique_ptr<OGRWAsPDataSource> pDataSource( new OGRWAsPDataSource( pszFilename, fh )); in Open() local 60 if ( pDataSource->Load(true) != OGRERR_NONE ) in Open() 64 return pDataSource.release(); in Open()
|
/dports/graphics/gdal/gdal-3.3.3/ogr/ogrsf_frmts/wasp/ |
H A D | ogrwaspdriver.cpp | 58 std::unique_ptr<OGRWAsPDataSource> pDataSource( new OGRWAsPDataSource( pszFilename, fh )); in Open() local 60 if ( pDataSource->Load(true) != OGRERR_NONE ) in Open() 64 return pDataSource.release(); in Open()
|
/dports/audio/miniaudio/miniaudio-dbca7a3b44594e0226f887472b31f54aa5f14214/research/ |
H A D | miniaudio_engine.h | 5270 config.pDataSource = pDataSource; in ma_data_source_node_config_init() 5365 pDataSourceNode->pDataSource = pConfig->pDataSource; in ma_data_source_node_init() 9615 if (pDataSource == NULL) { in ma_resource_manager_data_source_preinit() 9687 if (pDataSource == NULL) { in ma_resource_manager_data_source_uninit() 9706 if (pDataSource == NULL) { in ma_resource_manager_data_source_read_pcm_frames() 9719 if (pDataSource == NULL) { in ma_resource_manager_data_source_seek_to_pcm_frame() 9732 if (pDataSource == NULL) { in ma_resource_manager_data_source_map() 9745 if (pDataSource == NULL) { in ma_resource_manager_data_source_unmap() 9758 if (pDataSource == NULL) { in ma_resource_manager_data_source_get_data_format() 13522 pSound->pDataSource = pConfig->pDataSource; in ma_sound_init_from_data_source_internal() [all …]
|