Home
last modified time | relevance | path

Searched refs:nr_of_blocks (Results 1 – 3 of 3) sorted by relevance

/dports/graphics/libgphoto2/libgphoto2-2.5.26/camlibs/pccam600/
H A Dpccam600.c114 int nr_of_blocks; in pccam600_get_file_list() local
123 if (nr_of_blocks == 0){ in pccam600_get_file_list()
127 0,nr_of_blocks); in pccam600_get_file_list()
130 return nr_of_blocks / 2; in pccam600_get_file_list()
135 int nr_of_blocks; in pccam600_get_file() local
152 if (nr_of_blocks == 0){ in pccam600_get_file()
156 0,nr_of_blocks); in pccam600_get_file()
159 return nr_of_blocks / 2; in pccam600_get_file()
196 int nr_of_blocks; in pccam600_init() local
211 if (nr_of_blocks == 0) { in pccam600_init()
[all …]
H A Dlibrary.c110 int n,i,nr_of_blocks; in file_list_func() local
117 if ( (nr_of_blocks = pccam600_get_file_list(camera->port, context)) < 0 ){ in file_list_func()
122 for (n = 0; n != nr_of_blocks; n++) in file_list_func()
183 int nr_of_blocks = 0; in camera_get_file() local
187 nr_of_blocks = pccam600_get_file(camera->port,context,index); in camera_get_file()
188 if (nr_of_blocks < 0) in camera_get_file()
190 picturebuffersize = nr_of_blocks * 512; in camera_get_file()
191 id = gp_context_progress_start(context,nr_of_blocks,_("Downloading file...")); in camera_get_file()
194 for (n = 0; n != nr_of_blocks; n++){ in camera_get_file()
/dports/sysutils/lizardfs/lizardfs-3.12.0/src/chunkserver/
H A Dchunk_replicator.cc84 uint16_t nr_of_blocks; in getChunkBlocks() local
91 nr_of_blocks, status); in getChunkBlocks()
95 nr_of_blocks, status); in getChunkBlocks()
100 rx_chunk_id, rx_chunk_version, nr_of_blocks, status); in getChunkBlocks()
111 nr_of_blocks * slice_traits::getNumberOfDataParts(chunk_type)); in getChunkBlocks()
114 (nr_of_blocks + 1) * slice_traits::getNumberOfDataParts(chunk_type)); in getChunkBlocks()