Lines Matching refs:length
62 u32 length; in chdirOpenAllocRead() local
112 length = ARCGetLength(&afinfo); in chdirOpenAllocRead()
116 length = DVDGetLength(&finfo); in chdirOpenAllocRead()
119 buf = (char*)OSAlloc(OSRoundUp32B(length)); in chdirOpenAllocRead()
123 if (OSRoundUp32B(length) != in chdirOpenAllocRead()
124 DVDRead(&finfo, (void*)buf, (s32)OSRoundUp32B(length), in chdirOpenAllocRead()
133 if (OSRoundUp32B(length) != in chdirOpenAllocRead()
134 DVDRead(&finfo, (void*)buf, (s32)OSRoundUp32B(length), 0)) in chdirOpenAllocRead()
143 for (i = 0; i < length; i++) in chdirOpenAllocRead()
167 u32 length; in Read() local
177 length = OSRoundUp32B(DVDGetLength(&finfo)); in Read()
186 length = OSRoundUp32B(header.fileStart); in Read()
188 buf = OSAlloc(length); in Read()
190 if ( length != DVDRead(&finfo, buf, (s32)length, 0) ) in Read()