Source symbols: src/c_api.cpp
Deterministic, value-free symbol metadata extracted from public source. Implementations and literal values are not copied into this page.
- Revision: master@dda2e28bae2a084760361197d87f06e685604e52 · 2026-07-13T07:13:46Z
- Declarations: 61
- Referenced calls: 366
Declared symbols
char— const at line 45; referencesncnn_versionPoolAllocator_c_api— class at line 56; referencesPoolAllocator,fastMalloc,fast_malloc,fastFree,fast_freevoid— static at line 79; references__ncnn_PoolAllocator_fast_malloc,fastMallocvoid— static at line 84; references__ncnn_PoolAllocator_fast_free,fastFreeUnlockedPoolAllocator_c_api— class at line 89; referencesUnlockedPoolAllocator,fastMalloc,fast_malloc,fastFree,fast_freevoid— static at line 112; references__ncnn_UnlockedPoolAllocator_fast_malloc,fastMallocvoid— static at line 117; references__ncnn_UnlockedPoolAllocator_fast_free,fastFreechar— const at line 774; referencesncnn_blob_get_name,c_strMat— const at line 792; referencesncnn_paramdict_create,ParamDictDataReader_c_api— class at line 846; referencesDataReader,scan,readint— static at line 872; references__ncnn_DataReader_scan,scansize_t— static at line 878; references__ncnn_DataReader_read,readDataReaderFromStdio_c_api— class at line 884; referencesDataReaderFromStdio,scan,readint— static at line 910; references__ncnn_DataReaderFromStdio_scan,scansize_t— static at line 916; references__ncnn_DataReaderFromStdio_read,readDataReaderFromMemory_c_api— class at line 922; referencesDataReaderFromMemory,scan,readint— static at line 948; references__ncnn_DataReaderFromMemory_scan,scansize_t— static at line 954; references__ncnn_DataReaderFromMemory_read,readModelBinFromDataReader_c_api— class at line 1001; referencesModelBinFromDataReader,load,load_1d,ncnn_mat_destroy,load_2d,load_3dncnn_mat_t— static at line 1038; references__ncnn_ModelBinFromDataReader_load_1d,Mat,loadncnn_mat_t— static at line 1043; references__ncnn_ModelBinFromDataReader_load_2d,Mat,loadncnn_mat_t— static at line 1048; references__ncnn_ModelBinFromDataReader_load_3d,Mat,loadModelBinFromMatArray_c_api— class at line 1053; referencesModelBinFromMatArray,load,load_1d,ncnn_mat_destroy,load_2d,load_3dncnn_mat_t— static at line 1090; references__ncnn_ModelBinFromMatArray_load_1d,Mat,loadncnn_mat_t— static at line 1095; references__ncnn_ModelBinFromMatArray_load_2d,Mat,loadncnn_mat_t— static at line 1100; references__ncnn_ModelBinFromMatArray_load_3d,Mat,loadncnn_mat_t— static at line 1136; references__ncnn_modelbin_load_1d,Mat,loadncnn_mat_t— static at line 1141; references__ncnn_modelbin_load_2d,Mat,loadncnn_mat_t— static at line 1146; references__ncnn_modelbin_load_3d,Mat,loadLayer_c_api— class at line 1152; referencesLayer,load_param,load_model,create_pipeline,destroy_pipeline,forward,size,bottom_blobs0,for,top_blobs0,forward_n,ncnn_mat_destroy,forward_1,forward_inplace,bottom_top_blobs0,forward_inplace_n,forward_inplace_1__ncnn_modelbin_t— struct at line 1168; referencesload_model,create_pipelineint— const at line 1188; referencessize,bottom_blobs0,forint— const at line 1189; referencessize,bottom_blobs0,forint— const at line 1216; referencessize,bottom_top_blobs0,forint— static at line 1234; references__ncnn_Layer_load_param,load_paramint— static at line 1239; references__ncnn_Layer_load_model,load_modelint— static at line 1244; references__ncnn_Layer_create_pipeline,create_pipelineint— static at line 1249; references__ncnn_Layer_destroy_pipeline,destroy_pipelineint— static at line 1254; references__ncnn_Layer_forward_1,forward,Matint— static at line 1262; references__ncnn_Layer_forward_n,_bottom_blobs,_top_blobs,for,forward,Matint— static at line 1278; references__ncnn_Layer_forward_inplace_1,forward_inplaceint— static at line 1283; references__ncnn_Layer_forward_inplace_n,_bottom_top_blobs,for,forward_inplaceint— static at line 1293; references__ncnn_layer_load_param,load_paramint— static at line 1298; references__ncnn_layer_load_model,load_modelint— static at line 1303; references__ncnn_layer_create_pipeline,create_pipelineint— static at line 1308; references__ncnn_layer_destroy_pipeline,destroy_pipelineint— static at line 1313; references__ncnn_layer_forward_1,forward,Matint— static at line 1321; references__ncnn_layer_forward_n,_bottom_blobs,_top_blobs,for,forward,Matint— static at line 1337; references__ncnn_layer_forward_inplace_1,forward_inplaceint— static at line 1342; references__ncnn_layer_forward_inplace_n,_bottom_top_blobs,for,forward_inplacechar— const at line 1423; referencesncnn_layer_get_name,c_strchar— const at line 1435; referencesncnn_layer_get_type,c_strMat— const at line 1583; referencesncnn_blob_get_top_shapeMat— const at line 1592; referencesncnn_net_create,malloc,sizeof,Netvoid— static at line 1659; references__Layer_c_api_layer_destroyer,destroyerchar— const at line 1782; referencesncnn_net_get_input_name,input_nameschar— const at line 1787; referencesncnn_net_get_output_name,output_namesOption— const at line 1850; referencescopy_make_border,ncnn_copy_make_border_3d,copy_make_border_3dOption— const at line 1856; referencescopy_make_border_3d,ncnn_copy_cut_border,copy_cut_borderOption— const at line 1862; referencescopy_cut_border,ncnn_copy_cut_border_3d,copy_cut_border_3dOption— const at line 1868; referencescopy_cut_border_3d,ncnn_draw_rectangle_c1,draw_rectangle_c1
File-level call references
ncnn_version— line 45ncnn_version_number— line 50PoolAllocator_c_api— line 59PoolAllocator— line 60fastMalloc— line 65fast_malloc— line 67fastFree— line 70fast_free— line 72__ncnn_PoolAllocator_fast_malloc— line 79__ncnn_PoolAllocator_fast_free— line 84UnlockedPoolAllocator_c_api— line 92UnlockedPoolAllocator— line 93__ncnn_UnlockedPoolAllocator_fast_malloc— line 112__ncnn_UnlockedPoolAllocator_fast_free— line 117ncnn_allocator_create_pool_allocator— line 122malloc— line 124sizeof— line 124ncnn_allocator_create_unlocked_pool_allocator— line 131ncnn_allocator_destroy— line 140delete— line 144free— line 145ncnn_pipelinecache_create— line 151get_gpu_device— line 153PipelineCache— line 157ncnn_pipelinecache_destroy— line 160ncnn_pipelinecache_clear— line 165clear— line 168ncnn_pipelinecache_get_size— line 171size— line 176ncnn_pipelinecache_load_memory— line 179load_cache— line 184ncnn_pipelinecache_save_memory— line 187save_cache— line 193memcpy— line 203data— line 203ncnn_pipelinecache_load— line 210ncnn_pipelinecache_save— line 218ncnn_pipelinecache_load_w— line 227ncnn_pipelinecache_save_w— line 235ncnn_option_create— line 247Option— line 249ncnn_option_destroy— line 252ncnn_option_get_num_threads— line 257ncnn_option_set_num_threads— line 262ncnn_option_set_blob_allocator— line 267ncnn_option_set_workspace_allocator— line 272ncnn_option_get_use_vulkan_compute— line 277ncnn_option_get_use_local_pool_allocator— line 287ncnn_option_get_use_winograd_convolution— line 292ncnn_option_get_use_sgemm_convolution— line 297ncnn_option_get_use_packing_layout— line 302ncnn_option_get_use_fp16_packed— line 307ncnn_option_get_use_fp16_storage— line 312ncnn_option_get_use_fp16_arithmetic— line 317ncnn_option_get_use_int8_packed— line 322ncnn_option_get_use_int8_storage— line 327ncnn_option_get_use_int8_arithmetic— line 332ncnn_option_get_use_int16_packed— line 337ncnn_option_get_use_int16_storage— line 342ncnn_option_get_use_bf16_packed— line 347ncnn_option_get_use_bf16_storage— line 352ncnn_option_get_use_shader_local_memory— line 357ncnn_option_get_use_cooperative_matrix— line 367ncnn_option_set_use_vulkan_compute— line 377ncnn_option_set_use_local_pool_allocator— line 387ncnn_option_set_use_winograd_convolution— line 392ncnn_option_set_use_sgemm_convolution— line 397ncnn_option_set_use_packing_layout— line 402ncnn_option_set_use_fp16_packed— line 407ncnn_option_set_use_fp16_storage— line 412ncnn_option_set_use_fp16_arithmetic— line 417ncnn_option_set_use_int8_packed— line 422ncnn_option_set_use_int8_storage— line 427ncnn_option_set_use_int8_arithmetic— line 432ncnn_option_set_use_int16_packed— line 437ncnn_option_set_use_int16_storage— line 442ncnn_option_set_use_bf16_packed— line 447ncnn_option_set_use_bf16_storage— line 452ncnn_option_set_use_shader_local_memory— line 457ncnn_option_set_use_cooperative_matrix— line 467ncnn_option_set_pipeline_cache— line 478ncnn_mat_create— line 485Mat— line 487ncnn_mat_create_1d— line 490ncnn_mat_create_2d— line 495ncnn_mat_create_3d— line 500ncnn_mat_create_4d— line 505ncnn_mat_create_1d_batch— line 511ncnn_mat_create_2d_batch— line 516ncnn_mat_create_3d_batch— line 521ncnn_mat_create_4d_batch— line 526ncnn_mat_create_external_1d— line 532ncnn_mat_create_external_2d— line 537ncnn_mat_create_external_3d— line 542ncnn_mat_create_external_4d— line 547ncnn_mat_create_1d_elem— line 552ncnn_mat_create_2d_elem— line 557ncnn_mat_create_3d_elem— line 562ncnn_mat_create_4d_elem— line 567ncnn_mat_create_1d_elem_batch— line 573ncnn_mat_create_2d_elem_batch— line 578ncnn_mat_create_3d_elem_batch— line 583ncnn_mat_create_4d_elem_batch— line 588ncnn_mat_create_external_1d_elem— line 594ncnn_mat_create_external_2d_elem— line 599ncnn_mat_create_external_3d_elem— line 604ncnn_mat_create_external_4d_elem— line 609ncnn_mat_destroy— line 614ncnn_mat_fill_float— line 619fill— line 621ncnn_mat_clone— line 624clone— line 626ncnn_mat_reshape_1d— line 629reshape— line 631ncnn_mat_reshape_2d— line 634ncnn_mat_reshape_3d— line 639ncnn_mat_reshape_4d— line 644ncnn_mat_get_dims— line 649ncnn_mat_get_w— line 654ncnn_mat_get_h— line 659
Source: src/c_api.cpp