/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
IntegerToStringConversion.h | 66 static typename ConversionTrait<T>::ReturnType numberToStringImpl(UnsignedIntegerType number, typename ConversionTrait<T>::AdditionalArgumentType* additionalArgument) 73 *--p = static_cast<LChar>((number % 10) + '0'); 74 number /= 10; 75 } while (number); 84 inline typename ConversionTrait<T>::ReturnType numberToStringSigned(SignedIntegerType number, typename ConversionTrait<T>::AdditionalArgumentType* additionalArgument = 0) 86 if (number < 0) 87 return numberToStringImpl<T, typename UnsignedIntegerTrait<SignedIntegerType>::Type, NegativeNumber>(-number, additionalArgument); 88 return numberToStringImpl<T, typename UnsignedIntegerTrait<SignedIntegerType>::Type, PositiveNumber>(number, additionalArgument); 92 inline typename ConversionTrait<T>::ReturnType numberToStringUnsigned(UnsignedIntegerType number, typename ConversionTrait<T>::AdditionalArgumentType* additionalArgument = 0) 94 return numberToStringImpl<T, UnsignedIntegerType, PositiveNumber>(number, additionalArgument) [all...] |
/external/chromium_org/ui/gfx/ |
sequential_id_generator.cc | 38 uint32 SequentialIDGenerator::GetGeneratedID(uint32 number) { 39 IDMap::iterator find = number_to_id_.find(number); 44 number_to_id_.insert(std::make_pair(number, id)); 45 id_to_number_.insert(std::make_pair(id, number)); 49 bool SequentialIDGenerator::HasGeneratedIDFor(uint32 number) const { 50 return number_to_id_.find(number) != number_to_id_.end(); 58 void SequentialIDGenerator::ReleaseNumber(uint32 number) { 59 DCHECK_GT(number_to_id_.count(number), 0U); 60 UpdateNextAvailableIDAfterRelease(number_to_id_[number]); 61 Remove(number, &number_to_id_, &id_to_number_) [all...] |
sequential_id_generator.h | 24 // Generates a unique ID to represent |number|. The generated ID is the 27 uint32 GetGeneratedID(uint32 number); 30 // |number|. 31 bool HasGeneratedIDFor(uint32 number) const; 34 // no longer mapped to any number, subsequent calls to |GetGeneratedID()| can 38 // Removes the ID previously generated for |number| by calling 40 void ReleaseNumber(uint32 number);
|
/external/libcxx/test/numerics/complex.number/complex.special/ |
Android.mk | 17 test_makefile := external/libcxx/test/numerics/complex.number/complex.special/Android.mk 19 test_name := numerics/complex.number/complex.special/long_double_float_implicit 23 test_name := numerics/complex.number/complex.special/long_double_double_implicit 27 test_name := numerics/complex.number/complex.special/float_double_explicit 31 test_name := numerics/complex.number/complex.special/long_double_double_explicit 35 test_name := numerics/complex.number/complex.special/double_long_double_explicit 39 test_name := numerics/complex.number/complex.special/double_float_implicit 43 test_name := numerics/complex.number/complex.special/float_long_double_explicit 47 test_name := numerics/complex.number/complex.special/double_float_explicit 51 test_name := numerics/complex.number/complex.special/long_double_float_explici [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
BigIntegerOperateBitsTest.java | 41 * bitCount() of a negative number. 49 * bitCount() of a negative number. 65 * bitLength() of a positive number. 75 * bitLength() of a positive number with the leftmost bit set 85 * bitLength() of a positive number which is a power of 2 95 * bitLength() of a negative number. 105 * bitLength() of a negative number with the leftmost bit set 115 * bitLength() of a negative number which is a power of 2 130 int number = -7; local 133 aNumber.clearBit(number); 145 int number = 0; local 163 int number = 95; local 181 int number = 15; local 199 int number = 44; local 216 int number = 2; local 230 int number = 0; local 244 int number = 0; local 256 int number = 150; local 274 int number = 165; local 292 int number = 20; local 310 int number = 17; local 328 int number = 45; local 346 int number = 50; local 364 int number = 63; local 382 int number = 150; local 400 int number = 191; local 418 int number = 63; local 436 int number = -7; local 451 int number = 0; local 469 int number = 62; local 487 int number = 63; local 505 int number = 48; local 523 int number = 48; local 541 int number = 15; local 559 int number = 45; local 577 int number = 2; local 591 int number = 0; local 605 int number = 0; local 617 int number = 150; local 635 int number = 191; local 653 int number = 15; local 671 int number = 45; local 689 int number = 150; local 707 int number = 191; local 725 int number = -7; local 740 int number = 0; local 758 int number = 95; local 776 int number = 20; local 794 int number = 17; local 812 int number = 45; local 830 int number = 50; local 848 int number = 150; local 866 int number = 223; local 884 int number = 63; local 902 int number = 48; local 920 int number = 15; local 938 int number = 44; local 956 int number = 2; local 969 int number = 0; local 982 int number = 0; local 994 int number = 150; local 1012 int number = 191; local 1041 int number = 0; local 1059 int number = -27; local 1077 int number = 27; local 1095 int number = 45; local 1113 int number = 45; local 1131 int number = 0; local 1149 int number = -27; local 1167 int number = 27; local 1185 int number = 45; local 1203 int number = 300; local 1223 int number = 64; local 1243 int number = 68; local 1263 int number = 68; local 1283 int number = 64; local 1301 int number = -7; local 1316 int number = 7; local 1327 int number = 45; local 1338 int number = 300; local 1349 int number = 7; local 1360 int number = 45; local 1371 int number = 300; local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsNumberUtils.java | 65 /* <Phone Number>, <NXX>-<XXXX> N[2-9] */ 68 /* <Area_code>-<Phone Number>, <NXX>-<NXX>-<XXXX> N[2-9] */ 71 /* <1>-<Area_code>-<Phone Number>, 1-<NXX>-<NXX>-<XXXX> N[2-9] */ 74 /* <+><U.S.Country_code><Area_code><Phone Number>, +1-<NXX>-<NXX>-<XXXX> N[2-9] */ 77 /* <Local_IDD><Country_code><Area_code><Phone Number>, 001-1-<NXX>-<NXX>-<XXXX> N[2-9] */ 80 /* <+><Home_IDD><Country_code><Area_code><Phone Number>, +011-1-<NXX>-<NXX>-<XXXX> N[2-9] */ 84 /* <+>-<Home_IDD>-<Country_code>-<Area_code>-<Phone Number>, +011-86-25-86281234 */ 87 /* <Home_IDD>-<Country_code>-<Area_code>-<Phone Number>, 011-86-25-86281234 */ 90 /* <NBPCD>-<Country_code>-<Area_code>-<Phone Number>, +1-86-25-86281234 */ 93 /* <Local_IDD>-<Country_code>-<Area_code>-<Phone Number>, 00-86-25-86281234 * 105 public String number; field in class:SmsNumberUtils.NumberEntry 294 String number = numberEntry.number; local 377 String number = numberEntry.number; local [all...] |
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
ExtensionRegistryLite.java | 106 * Find an extension by containing type and field number. 165 private final int number; field in class:ExtensionRegistryLite.ObjectIntPair 167 ObjectIntPair(final Object object, final int number) { 169 this.number = number; 174 return System.identityHashCode(object) * ((1 << 16) - 1) + number; 182 return object == other.object && number == other.number;
|
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/ |
enum_type_wrapper.py | 51 def Name(self, number): 53 if number in self._enum_type.values_by_number: 54 return self._enum_type.values_by_number[number].name 56 self._enum_type.name, number)) 61 return self._enum_type.values_by_name[name].number 80 return [value_descriptor.number 88 return [(value_descriptor.name, value_descriptor.number)
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
ExtensionRegistryLite.java | 90 * Find an extension by containing type and field number. 149 private final int number; field in class:ExtensionRegistryLite.ObjectIntPair 151 ObjectIntPair(final Object object, final int number) { 153 this.number = number; 158 return System.identityHashCode(object) * ((1 << 16) - 1) + number; 166 return object == other.object && number == other.number;
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
PhoneNumberDisplayHelper.java | 43 /* package */ CharSequence getDisplayName(CharSequence number, int presentation) { 53 if (mPhoneNumberUtils.isVoicemailNumber(number)) { 56 if (PhoneNumberUtilsWrapper.isLegacyUnknownNumbers(number)) { 63 * Returns the string to display for the given phone number. 65 * @param number the number to display 66 * @param formattedNumber the formatted number if available, may be null 68 public CharSequence getDisplayNumber(CharSequence number, 71 final CharSequence displayName = getDisplayName(number, presentation); 76 if (TextUtils.isEmpty(number)) { [all...] |
/external/libcxx/test/numerics/complex.number/complex.value.ops/ |
Android.mk | 17 test_makefile := external/libcxx/test/numerics/complex.number/complex.value.ops/Android.mk 19 test_name := numerics/complex.number/complex.value.ops/polar 23 test_name := numerics/complex.number/complex.value.ops/conj 27 test_name := numerics/complex.number/complex.value.ops/abs 31 test_name := numerics/complex.number/complex.value.ops/imag 35 test_name := numerics/complex.number/complex.value.ops/proj 39 test_name := numerics/complex.number/complex.value.ops/real 43 test_name := numerics/complex.number/complex.value.ops/arg 47 test_name := numerics/complex.number/complex.value.ops/norm
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
measure.h | 30 * An amount of a specified unit, consisting of a number and a Unit. 31 * For example, a length measure consists of a number and a length 51 * @param number a numeric object; amount.isNumeric() must be TRUE 57 Measure(const Formattable& number, MeasureUnit* adoptedUnit, 117 Formattable number; member in class:Measure 127 return number;
|
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/ |
normalize_utf8.h | 28 static string NormalizeDecimalDigits(const string& number) { 31 number_as_unicode.PointToUTF8(number.data(), number.size());
|
shortnumberinfo.h | 41 // Returns true if the number might be used to connect to an emergency service 44 // This method takes into account cases where the number might contain 47 bool ConnectsToEmergencyNumber(const string& number, 50 // Returns true if the number exactly matches an emergency service number in 53 // This method takes into account cases where the number might contain 55 bool IsEmergencyNumber(const string& number, 68 bool MatchesEmergencyNumberHelper(const string& number,
|
/external/icu/icu4c/source/i18n/unicode/ |
measure.h | 30 * An amount of a specified unit, consisting of a number and a Unit. 31 * For example, a length measure consists of a number and a length 47 * @param number a numeric object; amount.isNumeric() must be TRUE 53 Measure(const Formattable& number, MeasureUnit* adoptedUnit, 139 Formattable number; member in class:Measure 149 return number;
|
/external/libcxx/test/numerics/complex.number/ |
Android.mk | 17 test_makefile := external/libcxx/test/numerics/complex.number/Android.mk 19 test_name := numerics/complex.number/layout 23 test_name := numerics/complex.number/version
|
/external/libcxx/test/numerics/complex.number/complex.members/ |
Android.mk | 17 test_makefile := external/libcxx/test/numerics/complex.number/complex.members/Android.mk 19 test_name := numerics/complex.number/complex.members/construct 23 test_name := numerics/complex.number/complex.members/real_imag
|
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/prefixmapper/ |
PhonePrefixMapTest.java | 38 private PhoneNumber number = new PhoneNumber(); field in class:PhonePrefixMapTest 98 number.setCountryCode(1).setNationalNumber(2121234567L); 99 assertEquals("New York", phonePrefixMapForUS.lookup(number)); 103 number.setCountryCode(1).setNationalNumber(2016641234L); 104 assertEquals("Westwood, NJ", phonePrefixMapForUS.lookup(number)); 108 number.setCountryCode(1).setNationalNumber(2126641234L); 109 assertEquals("New York", phonePrefixMapForUS.lookup(number)); 113 number.setCountryCode(1).setNationalNumber(6503451234L); 114 assertEquals("San Mateo, CA", phonePrefixMapForUS.lookup(number)); 118 number.setCountryCode(1).setNationalNumber(6502531234L) [all...] |
PrefixTimeZonesMapTest.java | 92 PhoneNumber number = new PhoneNumber(); local 93 number.setCountryCode(1).setNationalNumber(1000000000L); 95 prefixTimeZonesMapForUS.lookupTimeZonesForNumber(number)); 99 PhoneNumber number = new PhoneNumber(); local 100 number.setCountryCode(1).setNationalNumber(2051235458L); 102 prefixTimeZonesMapForUS.lookupTimeZonesForNumber(number)); 106 PhoneNumber number = new PhoneNumber(); local 107 number.setCountryCode(1).setNationalNumber(2082924565L); 109 prefixTimeZonesMapForUS.lookupTimeZonesForNumber(number)); 113 PhoneNumber number = new PhoneNumber() local 120 PhoneNumber number = new PhoneNumber(); local 127 PhoneNumber number = new PhoneNumber(); local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
Support_DecimalFormat.java | 42 Number number = new Double(10000000.76); local 45 t_FormatWithField(0, format, number, text, NumberFormat.Field.CURRENCY, 0, 1); 46 t_FormatWithField(1, format, number, text, NumberFormat.Field.INTEGER, 1, 11); 47 t_FormatWithField(2, format, number, text, NumberFormat.Field.GROUPING_SEPARATOR, 3, 4); 48 t_FormatWithField(3, format, number, text, NumberFormat.Field.DECIMAL_SEPARATOR, 11, 12); 49 t_FormatWithField(4, format, number, text, NumberFormat.Field.FRACTION, 12, 14); 52 t_FormatWithField(5, format, number, text, NumberFormat.Field.SIGN, 0, 0); 53 t_FormatWithField(6, format, number, text, NumberFormat.Field.EXPONENT, 0, 0); 54 t_FormatWithField(7, format, number, text, NumberFormat.Field.EXPONENT_SIGN, 0, 0) 98 Number number = new Double(350.76); local [all...] |
/bionic/libc/include/sys/ |
syscall.h | 40 long syscall(long number, ...);
|
/cts/tools/dasm/src/java_cup/ |
parse_reduce_row.java | 12 /** Simple constructor. Note: this should not be used until the number 18 if (_size <= 0 ) _size = non_terminal.number(); 28 /** Number of columns (non terminals) in every row. */ 31 /** Number of columns (non terminals) in every row. */
|
/development/ndk/platforms/android-3/include/sys/ |
syscall.h | 38 int syscall(int number, ...);
|
/development/ndk/platforms/android-L/include/sys/ |
syscall.h | 40 int syscall(int number, ...);
|
/external/chromium_org/components/autofill/core/browser/ |
validation.cc | 55 base::string16 number = CreditCard::StripSeparators(text); local 63 if (type == kAmericanExpressCard && number.size() != 15) 65 if (type == kDinersCard && number.size() != 14) 67 if (type == kDiscoverCard && number.size() != 16) 69 if (type == kJCBCard && number.size() != 16) 71 if (type == kMasterCard && number.size() != 16) 73 if (type == kUnionPay && (number.size() < 16 || number.size() > 19)) 75 if (type == kVisaCard && number.size() != 13 && number.size() != 16 [all...] |