Lines Matching refs:size
425 v->size = -1; in PackageExtractFileFn()
437 v->size = mzGetZipEntryUncompLen(entry); in PackageExtractFileFn()
438 v->data = malloc(v->size); in PackageExtractFileFn()
441 name, (long)v->size, zip_path); in PackageExtractFileFn()
453 v->size = -1; in PackageExtractFileFn()
796 ssize_t wrote = mtd_write_data(ctx, contents->data, contents->size); in WriteRawImageFn()
797 success = (wrote == contents->size); in WriteRawImageFn()
948 int size = 0; in UIPrintFn() local
951 size += strlen(args[i]); in UIPrintFn()
953 char* buffer = malloc(size+1); in UIPrintFn()
954 size = 0; in UIPrintFn()
956 strcpy(buffer+size, args[i]); in UIPrintFn()
957 size += strlen(args[i]); in UIPrintFn()
961 buffer[size] = '\0'; in UIPrintFn()
1059 if (args[0]->size < 0) { in Sha1CheckFn()
1064 SHA(args[0]->data, args[0]->size, digest); in Sha1CheckFn()
1121 v->size = fc.size; in ReadFileFn()