Lines Matching refs:TextChar
24 typedef int32_t TextChar; typedef
37 static void rewriteText(std::vector<TextChar>* text) { in rewriteText()
38 TextChar terminator = text->back(); in rewriteText()
39 TextChar prev = terminator; in rewriteText()
42 TextChar next = text->at(from); in rewriteText()
55 static void remapTerminators(std::vector<TextChar>* text, in remapTerminators()
56 TextChar* next_terminator) { in remapTerminators()
57 TextChar prev = -1; in remapTerminators()
58 TextChar x = 256; in remapTerminators()
60 TextChar next = text->at(i); in remapTerminators()
75 static void buildFullText(std::vector<std::vector<TextChar>>* data, in buildFullText()
76 std::vector<TextChar>* full_text, std::vector<TextIdx>* file_map, in buildFullText()
77 std::vector<TextIdx>* file_offset, TextChar* next_terminator) { in buildFullText()
83 std::vector<TextChar>& file = data->at(i); in buildFullText()
93 static void buildLcp(std::vector<TextChar>* text, std::vector<TextIdx>* sa, in buildLcp()
126 std::vector<std::vector<TextChar>>* data, std::vector<TextIdx>* file_map, in poisonData()
127 std::vector<TextIdx>* file_offset, TextChar* next_terminator) { in poisonData()
130 std::vector<TextChar>& file = data->at(f); in poisonData()
147 static void cutMatch(std::vector<std::vector<TextChar>>* data, TextIdx index, in cutMatch()
149 std::vector<TextIdx>* invese_sa, TextChar* next_terminator, in cutMatch()
180 TextChar next_terminator = 256; in DM_generate()
183 std::vector<std::vector<TextChar>> data; in DM_generate()
204 std::vector<TextChar>(sample_data + offset, sample_data + next_offset)); in DM_generate()
211 std::vector<TextChar> full_text; in DM_generate()
231 static_cast<TextChar>(full_text.size()), next_terminator); in DM_generate()