Home
last modified time | relevance | path

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

/external/v8/src/builtins/
Dbuiltins-intl.cc856 std::unique_ptr<char[]> unit_str = unit->ToCString(); in GetURelativeDateTimeUnit() local
857 if ((strcmp("second", unit_str.get()) == 0) || in GetURelativeDateTimeUnit()
858 (strcmp("seconds", unit_str.get()) == 0)) { in GetURelativeDateTimeUnit()
860 } else if ((strcmp("minute", unit_str.get()) == 0) || in GetURelativeDateTimeUnit()
861 (strcmp("minutes", unit_str.get()) == 0)) { in GetURelativeDateTimeUnit()
863 } else if ((strcmp("hour", unit_str.get()) == 0) || in GetURelativeDateTimeUnit()
864 (strcmp("hours", unit_str.get()) == 0)) { in GetURelativeDateTimeUnit()
866 } else if ((strcmp("day", unit_str.get()) == 0) || in GetURelativeDateTimeUnit()
867 (strcmp("days", unit_str.get()) == 0)) { in GetURelativeDateTimeUnit()
869 } else if ((strcmp("week", unit_str.get()) == 0) || in GetURelativeDateTimeUnit()
[all …]