Lines Matching refs:basenames
39 // from profile path. "profile_id" is composed of sanitized basenames of
56 // Get joined basenames of user data dir and profile.
57 std::wstring basenames = profile_path.DirName().BaseName().value() +
61 profile_id.reserve(basenames.size());
63 // Generate profile_id from sanitized basenames.
64 for (size_t i = 0; i < basenames.length(); ++i) {
65 if (IsAsciiAlpha(basenames[i]) ||
66 IsAsciiDigit(basenames[i]) ||
67 basenames[i] == L'.')
68 profile_id += basenames[i];