Home
last modified time | relevance | path

Searched refs:read_buf (Results 1 – 3 of 3) sorted by relevance

/packages/inputmethods/PinyinIME/jni/share/
Dutf16reader.cpp72 char16* Utf16Reader::readline(char16* read_buf, size_t max_len) { in readline() argument
73 if (NULL == fp_ || NULL == read_buf || 0 == max_len) in readline()
86 read_buf[ret_len] = (char16)'\0'; in readline()
87 return read_buf; in readline()
94 if (ret_len + i > 0 && read_buf[ret_len + i - 1] == (char16)'\r') { in readline()
95 read_buf[ret_len + i - 1] = (char16)'\0'; in readline()
97 read_buf[ret_len + i] = (char16)'\0'; in readline()
107 return read_buf; in readline()
109 read_buf[ret_len + i] = buffer_[buffer_next_pos_ + i]; in readline()
Ddictbuilder.cpp377 char16 read_buf[kReadBufLen]; in read_raw_dict() local
395 if (!utf16_reader.readline(read_buf, kReadBufLen)) { in read_raw_dict()
402 char16 *to_tokenize = read_buf; in read_raw_dict()
/packages/inputmethods/PinyinIME/jni/include/
Dutf16reader.h43 char16* readline(char16* read_buf, size_t max_len);