Home
last modified time | relevance | path

Searched refs:dot_pos (Results 1 – 2 of 2) sorted by relevance

/system/netd/resolv/dns_responder/
Ddns_responder.cpp186 size_t dot_pos = name.find('.', pos); in write() local
187 if (dot_pos == std::string::npos) { in write()
192 size_t len = dot_pos - pos; in write()
195 name.substr(pos, dot_pos - pos).c_str(), len); in write()
204 std::next(name.begin(), dot_pos), in write()
206 pos = dot_pos + 1; in write()
/system/tools/aidl/
Daidl.cpp390 size_t dot_pos = type.rfind('.'); in ParsePreprocessedLine() local
391 if (dot_pos != string::npos) { in ParsePreprocessedLine()
392 *class_name = type.substr(dot_pos + 1); in ParsePreprocessedLine()
393 *package = Split(type.substr(0, dot_pos), "."); in ParsePreprocessedLine()