Searched refs:strWithDivide (Results 1 – 2 of 2) sorted by relevance
/external/cronet/third_party/icu/source/i18n/ |
D | units_converter.cpp | 128 double strHasDivideSignToDouble(StringPiece strWithDivide, UErrorCode &status) { in strHasDivideSignToDouble() argument 130 for (int i = 0, n = strWithDivide.length(); i < n; ++i) { in strHasDivideSignToDouble() 131 if (strWithDivide.data()[i] == '/') { in strHasDivideSignToDouble() 138 return strToDouble(strWithDivide.substr(0, divisionSignInd), status) / in strHasDivideSignToDouble() 139 strToDouble(strWithDivide.substr(divisionSignInd + 1), status); in strHasDivideSignToDouble() 142 return strToDouble(strWithDivide, status); in strHasDivideSignToDouble()
|
/external/icu/icu4c/source/i18n/ |
D | units_converter.cpp | 128 double strHasDivideSignToDouble(StringPiece strWithDivide, UErrorCode &status) { in strHasDivideSignToDouble() argument 130 for (int i = 0, n = strWithDivide.length(); i < n; ++i) { in strHasDivideSignToDouble() 131 if (strWithDivide.data()[i] == '/') { in strHasDivideSignToDouble() 138 return strToDouble(strWithDivide.substr(0, divisionSignInd), status) / in strHasDivideSignToDouble() 139 strToDouble(strWithDivide.substr(divisionSignInd + 1), status); in strHasDivideSignToDouble() 142 return strToDouble(strWithDivide, status); in strHasDivideSignToDouble()
|