Home | History | Annotate | Download | only in fastboot

Lines Matching refs:sz

43     DWORD     sz;
56 sz = GetFileSize( file, NULL );
59 return sz;
78 DWORD sz;
91 sz = GetFileSize( file, NULL );
94 if (sz > 0) {
95 data = (char*) malloc( sz );
97 fprintf(stderr, "load_file: could not allocate %ld bytes\n", sz );
98 sz = 0;
102 if ( !ReadFile( file, data, sz, &out_bytes, NULL ) ||
103 out_bytes != sz )
105 fprintf(stderr, "load_file: could not read %ld bytes from '%s'\n", sz, fn);
108 sz = 0;
114 *_sz = (unsigned) sz;