Lines Matching refs:buf
63 char* buf; in chdirOpenAllocRead() local
119 buf = (char*)OSAlloc(OSRoundUp32B(length)); in chdirOpenAllocRead()
124 DVDRead(&finfo, (void*)buf, (s32)OSRoundUp32B(length), in chdirOpenAllocRead()
134 DVDRead(&finfo, (void*)buf, (s32)OSRoundUp32B(length), 0)) in chdirOpenAllocRead()
142 ptr = buf; in chdirOpenAllocRead()
151 OSFree(buf); in chdirOpenAllocRead()
157 OSFree(buf); in chdirOpenAllocRead()
168 void* buf; in Read() local
188 buf = OSAlloc(length); in Read()
190 if ( length != DVDRead(&finfo, buf, (s32)length, 0) ) in Read()
196 return buf; in Read()