Lines Matching refs:size
75 typedef void (*sync_ls_cb)(unsigned mode, unsigned size, unsigned time, const char *name, void *cookie);
106 ltohl(msg.dent.size),
120 unsigned size;
168 unsigned int *mode, unsigned int *size)
180 *size = ltohl(msg.stat.size);
235 sbuf->size = htoll(ret);
247 static int write_data_buffer(int fd, char* file_buffer, int size, syncsendbuf *sbuf)
253 while (total < size) {
254 int count = size - total;
260 sbuf->size = htoll(count);
284 sbuf->size = htoll(len + 1);
304 int size = 0;
328 size = adb_lseek(lfd, 0, SEEK_END);
329 if (size == -1 || -1 == adb_lseek(lfd, 0, SEEK_SET)) {
335 file_buffer = (char *)malloc(size);
342 amt = adb_read(lfd, file_buffer, size);
343 if (amt != size) {
352 zip = init_zipfile(file_buffer, size);
380 write_data_buffer(fd, file_buffer, size, sbuf);
392 msg.data.size = htoll(mtime);
484 len = ltohl(msg.data.size);
515 len = ltohl(msg.data.size);
535 static void do_sync_ls_cb(unsigned mode, unsigned size, unsigned time,
538 printf("%08x %08x %08x %s\n", mode, size, time, name);
566 unsigned int size;
589 ci->size = 0;
655 ci->size = st.st_size;
708 unsigned int timestamp, mode, size;
709 if(sync_finish_readtime(fd, ×tamp, &mode, &size))
711 if(size == ci->size) {
810 sync_ls_build_list_cb(unsigned mode, unsigned size, unsigned time,
834 ci->size = size;
910 unsigned int timestamp, mode, size;
911 if (sync_finish_readtime(fd, ×tamp, &mode, &size))
913 if (size == ci->size) {