Lines Matching refs:token
55 std::string token;
57 if (!std::getline(line_stream, token, ',')) continue;
58 if (token == ProfileDataFromFileConstants::kBlockCounterMarker) {
64 CHECK(std::getline(line_stream, token, ','));
66 uint32_t id = static_cast<uint32_t>(strtoul(token.c_str(), &end, 0));
67 CHECK(errno == 0 && end != token.c_str());
68 std::getline(line_stream, token, ',');
70 double count = strtod(token.c_str(), &end);
71 CHECK(errno == 0 && end != token.c_str());
77 } else if (token == ProfileDataFromFileConstants::kBuiltinHashMarker) {
83 std::getline(line_stream, token, ',');
86 int hash = static_cast<int>(strtol(token.c_str(), &end, 0));
87 CHECK(errno == 0 && end != token.c_str());