/external/chromium/base/ |
H A D | float_util.h | 20 inline bool IsFinite(const double& number) { argument 22 return finite(number) != 0; 24 return _finite(number) != 0;
|
H A D | rand_util_unittest.cc | 26 volatile double number = base::RandDouble(); local 27 EXPECT_GT(1.0, number); 28 EXPECT_LE(0.0, number);
|
H A D | rand_util_win.cc | 15 uint32 number; local 16 CHECK_EQ(rand_s(&number), 0); 17 return number;
|
H A D | rand_util_posix.cc | 46 uint64 number; local 50 reinterpret_cast<char*>(&number), 51 sizeof(number)); 54 return number;
|
/external/webkit/Source/WebCore/platform/ |
H A D | FloatConversion.h | 42 inline float narrowPrecisionToFloat(double number) argument 44 return static_cast<float>(number); 52 inline CGFloat narrowPrecisionToCGFloat(double number) argument 54 return static_cast<CGFloat>(number);
|
/external/webkit/Tools/QueueStatusServer/model/ |
H A D | svnrevision.py | 33 number = db.IntegerProperty() variable in class:SVNRevision
|
/external/chromium/base/i18n/ |
H A D | number_formatting.cc | 38 string16 FormatNumber(int64 number) { argument 42 // As a fallback, just return the raw number in a string. 43 return UTF8ToUTF16(StringPrintf("%" PRId64, number)); 46 number_format->format(number, ustr);
|
/external/chromium/chrome/browser/autofill/ |
H A D | phone_number_unittest.cc | 10 // Tests the phone number parser. 12 string16 number; local 18 PhoneNumber::ParsePhoneNumber(phone0, &number, &city_code, &country_code); 19 EXPECT_EQ(string16(), number); local 25 PhoneNumber::ParsePhoneNumber(phone1, &number, &city_code, &country_code); 26 EXPECT_EQ(string16(), number); local 30 // Test for string with exactly 7 digits. Should give back only phone number. 32 PhoneNumber::ParsePhoneNumber(phone2, &number, &city_code, &country_code); 33 EXPECT_EQ(ASCIIToUTF16("1234567"), number); 38 // only phone number [all...] |
H A D | credit_card.h | 39 // The number altered for display, for example: ******1234 41 // The last four digits of the credit card number. 65 // Return a version of |number| that has any separator characters removed. 66 static const string16 StripSeparators(const string16& number); 68 // Returns true if |text| looks like a valid credit card number. 69 // Uses the Luhn formula to validate the number. 75 // Returns the credit card number. 76 const string16& number() const { return number_; } function in class:CreditCard 92 // Sets |number_| to the stripped version of |number|, containing only digits. 93 void SetNumber(const string16& number); [all...] |
/external/icu4c/i18n/unicode/ |
H A D | 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;
|
H A D | choicfmt.h | 54 * the real number line \htmlonly<code>-∞</code> to 79 * <p>The pattern string defines the range boundaries and the strings for each number range. 82 * choiceStyle = number separator message ('|' number separator message)* 83 * number = normal_number | ['-'] \htmlonly∞\endhtmlonly (U+221E, infinity) 93 * <p>Each numeric sub-range extends from the current range's number 94 * to the next range's number. 95 * The number itself is included in its range if a <code>less_than_or_equal</code> sign is used, 102 * the sequence of <code>(number separator string)</code> in an equivalent pattern string. 106 * <p>During formatting, a number i 670 format(double number, UnicodeString& appendTo) const argument 676 format(int32_t number, UnicodeString& appendTo) const argument [all...] |
/external/v8/src/ |
H A D | v8conversions.h | 37 inline int32_t NumberToInt32(Object* number) { argument 38 if (number->IsSmi()) return Smi::cast(number)->value(); 39 return DoubleToInt32(number->Number()); 43 inline uint32_t NumberToUint32(Object* number) { argument 44 if (number->IsSmi()) return Smi::cast(number)->value(); 45 return DoubleToUint32(number->Number());
|
/external/webkit/Source/WebCore/platform/sql/ |
H A D | SQLValue.cpp | 49 double SQLValue::number() const function in class:WebCore::SQLValue
|
/external/icu4c/i18n/ |
H A D | upluralrules.cpp | 35 double number, 46 UnicodeString result = ((PluralRules*)uplrules)->select(number); 34 uplrules_select(const UPluralRules *uplrules, double number, UChar *keyword, int32_t capacity, UErrorCode *status) argument
|
H A D | tmutamt.cpp | 17 TimeUnitAmount::TimeUnitAmount(const Formattable& number, argument 20 : Measure(number, TimeUnit::createInstance(timeUnitField, status), status) {
|
/external/openssl/crypto/asn1/ |
H A D | t_pkey.c | 65 int ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num, argument 77 if (BIO_printf(bp, "%s 0\n", number) <= 0) 84 if (BIO_printf(bp,"%s %s%lu (%s0x%lx)\n",number,neg, 91 if (BIO_printf(bp,"%s%s",number,
|
/external/webkit/Source/WebCore/svg/ |
H A D | SVGNumberList.cpp | 35 float number = 0; local 41 if (!parseNumber(ptr, end, number)) 43 append(number); 56 builder.append(String::number(at(i)));
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
H A D | CRLNumber.java | 18 private BigInteger number; field in class:CRLNumber 21 BigInteger number) 23 this.number = number; 28 return number; 38 return new ASN1Integer(number); 20 CRLNumber( BigInteger number) argument
|
/external/chromium/testing/gtest/xcode/Samples/FrameworkSample/ |
H A D | widget.cc | 40 Widget::Widget(int number, const std::string& name) argument 41 : number_(number),
|
/external/chromium/webkit/glue/ |
H A D | npruntime_util.cc | 16 int32_t number; local 18 WebBindings::extractIdentifierData(identifier, string, number, is_string); 26 return pickle->WriteInt(number); 43 int number; local 44 if (!pickle.ReadInt(pickle_iter, &number)) 46 *identifier = WebBindings::getIntIdentifier(number);
|
/external/icu4c/test/cintltst/ |
H A D | cpluralrulestest.c | 29 double number; member in struct:__anon6024 70 int32_t keywdLen = uplrules_select(uplrules, testItemPtr->number, keyword, kKeywordBufLen, &status); 78 log_data_err("ERROR: uplrules_select for locale %s, number %.1f: expect %s, get %s\n", 79 testItemPtr->locale, testItemPtr->number, testItemPtr->keywordExpected, u_austrcpy(bcharBuf,keyword) ); 82 log_err("FAIL: uplrules_select for locale %s, number %.1f: %s\n", 83 testItemPtr->locale, testItemPtr->number, myErrorName(status) );
|
/external/ipsec-tools/src/racoon/ |
H A D | gcmalloc.h | 62 calloc(size_t number, size_t size) argument 66 return (GC_MALLOC(number * size));
|
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/ |
H A D | PhoneNumberMatch.java | 24 * The immutable match of a phone number within a piece of text. Matches may be found using 27 * <p>A match consists of the {@linkplain #number() phone number} as well as the 32 * match offsets, and the parsed number: 39 * // Find the first phone number match: 42 * // rawString() contains the phone number as it appears in the text. 49 * // number() returns the the same result as PhoneNumberUtil.{@link PhoneNumberUtil#parse parse()} 51 * util.parse(m.rawString(), country).equals(m.number()); 61 /** The matched phone number. */ 62 private final PhoneNumber number; field in class:PhoneNumberMatch 71 PhoneNumberMatch(int start, String rawString, PhoneNumber number) argument 84 public PhoneNumber number() { method in class:PhoneNumberMatch [all...] |
H A D | ShortNumberUtil.java | 43 * Returns true if the number might be used to connect to an emergency service in the given 46 * This method takes into account cases where the number might contain formatting, or might have 49 * @param number the phone number to test 50 * @param regionCode the region where the phone number is being dialed 51 * @return if the number might be used to connect to an emergency service in the given region. 53 public boolean connectsToEmergencyNumber(String number, String regionCode) { argument 54 return matchesEmergencyNumberHelper(number, regionCode, true /* allows prefix match */); 58 * Returns true if the number exactly matches an emergency service number i 67 isEmergencyNumber(String number, String regionCode) argument 71 matchesEmergencyNumberHelper(String number, String regionCode, boolean allowPrefixMatch) argument [all...] |
/external/protobuf/examples/ |
H A D | add_person.cc | 11 cout << "Enter person ID number: "; 28 cout << "Enter a phone number (or leave blank to finish): "; 29 string number; local 30 getline(cin, number); 31 if (number.empty()) { 36 phone_number->set_number(number);
|