Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dnumber_capi.cpp111 unumf_formatInt(const UNumberFormatter* uformatter, int64_t value, UFormattedNumber* uresult, in unumf_formatInt() argument
114 UFormattedNumberData* result = UFormattedNumberData::validate(uresult, *ec); in unumf_formatInt()
123 unumf_formatDouble(const UNumberFormatter* uformatter, double value, UFormattedNumber* uresult, in unumf_formatDouble() argument
126 UFormattedNumberData* result = UFormattedNumberData::validate(uresult, *ec); in unumf_formatDouble()
136 UFormattedNumber* uresult, UErrorCode* ec) { in unumf_formatDecimal() argument
138 UFormattedNumberData* result = UFormattedNumberData::validate(uresult, *ec); in unumf_formatDecimal()
148 unumf_resultToString(const UFormattedNumber* uresult, UChar* buffer, int32_t bufferCapacity, in unumf_resultToString() argument
150 const UFormattedNumberData* result = UFormattedNumberData::validate(uresult, *ec); in unumf_resultToString()
162 unumf_resultNextFieldPosition(const UFormattedNumber* uresult, UFieldPosition* ufpos, UErrorCode* e… in unumf_resultNextFieldPosition() argument
163 const UFormattedNumberData* result = UFormattedNumberData::validate(uresult, *ec); in unumf_resultNextFieldPosition()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dunumberformattertst.c84 UFormattedNumber* uresult = unumf_openResult(&ec); in TestSkeletonFormatToFields() local
86 unumf_formatInt(uformatter, 9876543210L, uresult, &ec); // "+9,876,543,210.00 m" in TestSkeletonFormatToFields()
91 unumf_resultNextFieldPosition(uresult, &ufpos, &ec); in TestSkeletonFormatToFields()
99 unumf_resultGetAllFieldPositions(uresult, ufpositer, &ec); in TestSkeletonFormatToFields()
143 while (unumf_resultNextFieldPosition(uresult, &actual, &ec)) { in TestSkeletonFormatToFields()
153 unumf_closeResult(uresult); in TestSkeletonFormatToFields()
165 UFormattedNumber* uresult = unumf_openResult(&ec); in TestExampleCode() local
170 unumf_formatDouble(uformatter, 5142.3, uresult, &ec); in TestExampleCode()
174 int32_t len = unumf_resultToString(uresult, NULL, 0, &ec); in TestExampleCode()
178 unumf_resultToString(uresult, buffer, len+1, &ec); in TestExampleCode()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dunumberformatter.h486 unumf_formatInt(const UNumberFormatter* uformatter, int64_t value, UFormattedNumber* uresult,
506 unumf_formatDouble(const UNumberFormatter* uformatter, double value, UFormattedNumber* uresult,
531 UFormattedNumber* uresult, UErrorCode* ec);
549 unumf_resultToString(const UFormattedNumber* uresult, UChar* buffer, int32_t bufferCapacity,
585 unumf_resultNextFieldPosition(const UFormattedNumber* uresult, UFieldPosition* ufpos, UErrorCode* e…
607 unumf_resultGetAllFieldPositions(const UFormattedNumber* uresult, UFieldPositionIterator* ufpositer,
632 unumf_closeResult(UFormattedNumber* uresult);
/external/python/cpython3/Python/
Dmystrtoul.c266 unsigned long uresult; in PyOS_strtol() local
276 uresult = PyOS_strtoul(str, ptr, base); in PyOS_strtol()
278 if (uresult <= (unsigned long)LONG_MAX) { in PyOS_strtol()
279 result = (long)uresult; in PyOS_strtol()
283 else if (sign == '-' && uresult == PY_ABS_LONG_MIN) { in PyOS_strtol()
/external/python/cpython2/Python/
Dmystrtoul.c260 unsigned long uresult; in PyOS_strtol() local
270 uresult = PyOS_strtoul(str, ptr, base); in PyOS_strtol()
272 if (uresult <= (unsigned long)LONG_MAX) { in PyOS_strtol()
273 result = (long)uresult; in PyOS_strtol()
277 else if (sign == '-' && uresult == PY_ABS_LONG_MIN) { in PyOS_strtol()
/external/v8/src/base/
Dsafe_math_impl.h151 UnsignedDst uresult = ux + uy;
155 if (HasSignBit(BinaryComplement((uresult ^ ux) & (uresult ^ uy))))
158 *validity = HasSignBit(uresult) ? RANGE_OVERFLOW : RANGE_UNDERFLOW;
163 return static_cast<T>(uresult);
174 UnsignedDst uresult = ux - uy;
178 if (HasSignBit(BinaryComplement((uresult ^ ux) & (ux ^ uy))))
181 *validity = HasSignBit(uresult) ? RANGE_OVERFLOW : RANGE_UNDERFLOW;
186 return static_cast<T>(uresult);
/external/libchrome/base/numerics/
Dchecked_math_impl.h32 UnsignedDst uresult = static_cast<UnsignedDst>(ux + uy); in CheckedAddImpl() local
33 *result = static_cast<T>(uresult); in CheckedAddImpl()
37 ? static_cast<SignedDst>((uresult ^ ux) & (uresult ^ uy)) >= 0 in CheckedAddImpl()
38 : uresult >= uy; // Unsigned is either valid or underflow. in CheckedAddImpl()
92 UnsignedDst uresult = static_cast<UnsignedDst>(ux - uy);
93 *result = static_cast<T>(uresult);
97 ? static_cast<SignedDst>((uresult ^ ux) & (ux ^ uy)) >= 0
152 UnsignedDst uresult = static_cast<UnsignedDst>(ux * uy);
155 *result = is_negative ? 0 - uresult : uresult;
/external/pdfium/third_party/base/numerics/
Dsafe_math_impl.h64 auto uresult = static_cast<UnsignedDst>(ux + uy);
65 *result = static_cast<T>(uresult);
69 ? static_cast<SignedDst>((uresult ^ ux) & (uresult ^ uy)) >= 0
70 : uresult >= uy; // Unsigned is either valid or underflow.
115 auto uresult = static_cast<UnsignedDst>(ux - uy);
116 *result = static_cast<T>(uresult);
120 ? static_cast<SignedDst>((uresult ^ ux) & (ux ^ uy)) >= 0
166 auto uresult = static_cast<UnsignedDst>(ux * uy);
169 *result = is_negative ? 0 - uresult : uresult;
/external/python/cpython2/Modules/
Dposixmodule.c397 unsigned long uresult; in _Py_Uid_Converter() local
399 uresult = PyLong_AsUnsignedLong(obj); in _Py_Uid_Converter()
408 uresult = result; in _Py_Uid_Converter()
411 (unsigned long)(uid_t)uresult != uresult) in _Py_Uid_Converter()
413 *(uid_t *)p = (uid_t)uresult; in _Py_Uid_Converter()
449 unsigned long uresult; in _Py_Gid_Converter() local
451 uresult = PyLong_AsUnsignedLong(obj); in _Py_Gid_Converter()
460 uresult = result; in _Py_Gid_Converter()
463 (unsigned long)(gid_t)uresult != uresult) in _Py_Gid_Converter()
465 *(gid_t *)p = (gid_t)uresult; in _Py_Gid_Converter()
/external/v8/src/arm/
Dsimulator-arm.cc1352 uint32_t uresult = static_cast<uint32_t>(result); in GetShiftRm() local
1353 uresult >>= (shift_amount - 1); in GetShiftRm()
1354 *carry_out = (uresult & 1) == 1; in GetShiftRm()
1355 uresult >>= 1; in GetShiftRm()
1356 result = static_cast<int32_t>(uresult); in GetShiftRm()
1425 uint32_t uresult = static_cast<uint32_t>(result); in GetShiftRm() local
1426 uresult >>= (shift_amount - 1); in GetShiftRm()
1427 *carry_out = (uresult & 1) == 1; in GetShiftRm()
1428 uresult >>= 1; in GetShiftRm()
1429 result = static_cast<int32_t>(uresult); in GetShiftRm()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_api.cpp2441 LocalUFormattedNumberPointer uresult(unumf_openResult(&ec)); in localPointerCAPI() local
2445 unumf_formatDecimal(uformatter.getAlias(), "9.87E-3", -1, uresult.getAlias(), &ec); in localPointerCAPI()
2450 unumf_resultNextFieldPosition(uresult.getAlias(), &ufpos, &ec); in localPointerCAPI()
/external/python/cpython3/Modules/
Dposixmodule.c528 unsigned long uresult; in _Py_Uid_Converter() local
582 uresult = PyLong_AsUnsignedLong(index); in _Py_Uid_Converter()
589 uid = (uid_t)uresult; in _Py_Uid_Converter()
603 (unsigned long)uid != uresult) in _Py_Uid_Converter()
634 unsigned long uresult; in _Py_Gid_Converter() local
689 uresult = PyLong_AsUnsignedLong(index); in _Py_Gid_Converter()
696 gid = (gid_t)uresult; in _Py_Gid_Converter()
710 (unsigned long)gid != uresult) in _Py_Gid_Converter()