Home
last modified time | relevance | path

Searched refs:buff_ (Results 1 – 4 of 4) sorted by relevance

/ndk/sources/android/crazy_linker/src/
Dcrazy_linker_error.cpp18 strlcpy(buff_, message, sizeof(buff_)); in Set()
20 LOG("--- ERROR: %s\n", buff_); in Set()
26 strlcat(buff_, message, sizeof(buff_)); in Append()
28 LOG("--- ERROR: %s\n", buff_); in Append()
34 vsnprintf(buff_, sizeof(buff_), fmt, args); in Format()
37 LOG("--- ERROR: %s\n", buff_); in Format()
43 size_t buff_len = strlen(buff_); in AppendFormat()
44 vsnprintf(buff_ + buff_len, sizeof(buff_) - buff_len, fmt, args); in AppendFormat()
47 LOG("--- ERROR: %s\n", buff_); in AppendFormat()
Dcrazy_linker_line_reader.cpp16 LineReader::LineReader() : fd_(), buff_(buff0_) { in LineReader()
21 LineReader::LineReader(const char* path) : fd_(), buff_(buff0_) { Open(path); } in LineReader()
31 if (buff_ != buff0_) in Reset()
32 ::free(buff_); in Reset()
39 buff_ = buff0_; in Reset()
55 const char* line = buff_ + line_start_; in GetNextLine()
66 buff_ + line_start_); in GetNextLine()
72 ::memmove(buff_, buff_ + line_start_, buff_size_ - line_start_); in GetNextLine()
84 buff_[buff_size_++] = '\n'; in GetNextLine()
90 buff_); in GetNextLine()
[all …]
Dcrazy_linker_error.h23 Error() { buff_[0] = '\0'; } in Error()
27 Error(const Error& other) { Set(other.buff_); } in Error()
29 const char* c_str() const { return buff_; } in c_str()
40 char buff_[512];
Dcrazy_linker_line_reader.h54 char* buff_; variable