Searched refs:avail (Results 1 – 5 of 5) sorted by relevance
48 new_chunk->avail = INC_PTR(new_chunk, sizeof(ElfAllocatorChunk)); in alloc()54 void* ret = current_chunk_->avail; in alloc()56 current_chunk_->avail = INC_PTR(current_chunk_->avail, size); in alloc()
53 void* avail; member
36 size_t avail = file->buffer_size - file->buffer_pos; in fake_file_out() local37 if (length > avail) in fake_file_out()38 length = avail; in fake_file_out()62 size_t avail = (file->buffer_size - file->buffer_pos) / sizeof(wchar_t); in fake_file_outw() local63 if (length > avail) in fake_file_outw()64 length = avail; in fake_file_outw()
195 size_t avail = data_size - offset_; in Read() local196 if (avail == 0) in Read()199 if (buffer_size > avail) in Read()200 buffer_size = avail; in Read()241 size_t avail = data_size - offset_; in Map() local242 if (avail > length) in Map()243 avail = length; in Map()245 ::memcpy(map, data + offset_, avail); in Map()
116 size_t avail = buff_capacity_ - buff_size_; in GetNextLine() local117 int ret = fd_.Read(buff_ + buff_size_, avail); in GetNextLine()122 avail, in GetNextLine()