Lines Matching refs:v
555 Value* v = malloc(sizeof(Value)); in PackageExtractFileFn() local
556 v->type = VAL_BLOB; in PackageExtractFileFn()
557 v->size = -1; in PackageExtractFileFn()
558 v->data = NULL; in PackageExtractFileFn()
569 v->size = mzGetZipEntryUncompLen(entry); in PackageExtractFileFn()
570 v->data = malloc(v->size); in PackageExtractFileFn()
571 if (v->data == NULL) { in PackageExtractFileFn()
573 name, (long)v->size, zip_path); in PackageExtractFileFn()
578 (unsigned char *)v->data); in PackageExtractFileFn()
583 free(v->data); in PackageExtractFileFn()
584 v->data = NULL; in PackageExtractFileFn()
585 v->size = -1; in PackageExtractFileFn()
587 return v; in PackageExtractFileFn()
1395 Value* v = malloc(sizeof(Value)); in ReadFileFn() local
1396 v->type = VAL_BLOB; in ReadFileFn()
1401 v->size = -1; in ReadFileFn()
1402 v->data = NULL; in ReadFileFn()
1404 return v; in ReadFileFn()
1407 v->size = fc.size; in ReadFileFn()
1408 v->data = (char*)fc.data; in ReadFileFn()
1411 return v; in ReadFileFn()