Searched refs:NewContents (Results 1 – 7 of 7) sorted by relevance
112 std::string NewContents; in updateDraft() local113 NewContents.reserve(*StartIndex + Change.text.length() + in updateDraft()116 NewContents = Contents.substr(0, *StartIndex); in updateDraft()117 NewContents += Change.text; in updateDraft()118 NewContents += Contents.substr(*EndIndex); in updateDraft()120 Contents = std::move(NewContents); in updateDraft()
33 static uintptr_t NewContents(Assembler &Assemblr, intptr_t Capacity) { in NewContents() function100 Contents = NewContents(Assemblr, kInitialBufferCapacity); in AssemblerBuffer()124 uintptr_t new_contents = NewContents(Assemblr, new_capacity); in extendCapacity()
41 for line, line_num in zip(f.NewContents(),42 xrange(1, len(f.NewContents()) + 1)):
120 def NewContents(self): member in MockFile
1233 '\n'.join(f.NewContents())))
207 f.NewContents())):
184 contents = f.NewContents()