Searched defs:tok (Results 1 - 3 of 3) sorted by relevance

/system/bt/vendor_libs/test_vendor_lib/src/
H A Dbt_address.cc40 std::string tok; local
47 getline(iss, tok, ':');
48 uint64_t octet = std::stoi(tok, nullptr, 16);
/system/extras/su/
H A Dsu.cpp30 void pwtoid(const char* tok, uid_t* uid, gid_t* gid) { argument
31 struct passwd* pw = getpwnam(tok);
38 uid_t tmpid = strtoul(tok, &end, 10);
39 if (errno != 0 || end == tok) error(1, errno, "invalid uid/gid '%s'", tok);
48 char *tok; local
60 tok = strsep(&nexttok, ",");
61 pwtoid(tok, uid, gid);
62 tok = strsep(&nexttok, ",");
63 if (!tok) {
[all...]
/system/core/logd/
H A DLogKlog.cpp127 char *peek, *tok = s; local
132 return tok;
142 return tok;
147 if (s != (tok + 1)) { // not first?
152 return tok;
175 if (s != (tok + 1)) { // not first?
184 return tok;
249 for (char *ptr = nullptr, *tok = buffer;
250 !!(tok = android::log_strntok_r(tok, le
[all...]

Completed in 150 milliseconds