Searched refs:buff (Results 1 – 4 of 4) sorted by relevance
94 public static FatDirectoryEntry read(ByteBuffer buff, boolean readOnly) { in read() argument95 assert (buff.remaining() >= SIZE); in read()99 if (buff.get(buff.position()) == 0) return null; in read()104 buff.get(data); in read()108 public static void writeNullEntry(ByteBuffer buff) { in writeNullEntry() argument110 buff.put((byte) 0); in writeNullEntry()377 void write(ByteBuffer buff) { in write() argument378 buff.put(data); in write()
69 slicer::Buffer buff; in GetAsciiString() local70 buff.PushULeb128(len); in GetAsciiString()71 buff.Push(cstr, len + 1); in GetAsciiString()72 buff.Seal(1); in GetAsciiString()76 ir_string->data = slicer::MemView(buff.data(), buff.size()); in GetAsciiString()86 dex_ir_->AttachBuffer(std::move(buff)); in GetAsciiString()
51 dex::u1 buff[sizeof(T)] = {}; in WriteIntValue() local52 dex::u1* dst = buff; in WriteIntValue()68 size_t size = dst - buff; in WriteIntValue()71 data.Push(buff, size); in WriteIntValue()77 dex::u1 buff[sizeof(T)] = {}; in WriteFloatValue() local89 buff[i] = src[i]; in WriteFloatValue()94 data.Push(buff, size); in WriteFloatValue()
117 size_t Push(const Buffer& buff) { in Push() argument118 SLICER_CHECK(&buff != this); in Push()119 return Push(buff.data(), buff.size()); in Push()