Home | History | Annotate | Download | only in src

Lines Matching refs:totallen

286 	unsigned int totallen;
298 totallen=len*2+1;
300 dtoh16a(&data[PTP_di_FunctionalMode+totallen]);
302 PTP_di_OperationsSupported+totallen,
304 totallen=totallen+di->OperationsSupported_len*sizeof(uint16_t)+sizeof(uint32_t);
306 PTP_di_OperationsSupported+totallen,
308 totallen=totallen+di->EventsSupported_len*sizeof(uint16_t)+sizeof(uint32_t);
311 PTP_di_OperationsSupported+totallen,
313 totallen=totallen+di->DevicePropertiesSupported_len*sizeof(uint16_t)+sizeof(uint32_t);
315 PTP_di_OperationsSupported+totallen,
317 totallen=totallen+di->CaptureFormats_len*sizeof(uint16_t)+sizeof(uint32_t);
319 PTP_di_OperationsSupported+totallen,
321 totallen=totallen+di->ImageFormats_len*sizeof(uint16_t)+sizeof(uint32_t);
323 PTP_di_OperationsSupported+totallen,
325 totallen+=len*2+1;
327 PTP_di_OperationsSupported+totallen,
329 totallen+=len*2+1;
331 PTP_di_OperationsSupported+totallen,
333 totallen+=len*2+1;
335 PTP_di_OperationsSupported+totallen,
357 int totallen = 4;
362 totallen, &di->EventsSupported);
364 totallen += di->EventsSupported_len*sizeof(uint32_t)+4;
365 if (totallen >= datalen) return;
368 totallen, &di->DevicePropertiesSupported);
370 totallen += di->DevicePropertiesSupported_len*sizeof(uint32_t)+4;
371 if (totallen >= datalen) return;
374 totallen, &di->unk);
376 totallen += di->unk_len*sizeof(uint32_t)+4;