Searched defs:number (Results 1 - 25 of 362) sorted by relevance

1234567891011>>

/external/chromium/base/
H A Dfloat_util.h20 inline bool IsFinite(const double& number) { argument
22 return finite(number) != 0;
24 return _finite(number) != 0;
H A Drand_util_unittest.cc26 volatile double number = base::RandDouble(); local
27 EXPECT_GT(1.0, number);
28 EXPECT_LE(0.0, number);
H A Drand_util_win.cc15 uint32 number; local
16 CHECK_EQ(rand_s(&number), 0);
17 return number;
H A Drand_util_posix.cc46 uint64 number; local
50 reinterpret_cast<char*>(&number),
51 sizeof(number));
54 return number;
/external/webkit/Source/WebCore/platform/
H A DFloatConversion.h42 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 Dsvnrevision.py33 number = db.IntegerProperty() variable in class:SVNRevision
/external/chromium/base/i18n/
H A Dnumber_formatting.cc38 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 Dphone_number_unittest.cc10 // 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 Dcredit_card.h39 // 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 Dmeasure.h30 * 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 Dchoicfmt.h55 * the real number line \htmlonly<code>-&#x221E;</code> to
80 * <p>The pattern string defines the range boundaries and the strings for each number range.
83 * choiceStyle = number separator message ('|' number separator message)*
84 * number = normal_number | ['-'] \htmlonly&#x221E;\endhtmlonly (U+221E, infinity)
94 * <p>Each numeric sub-range extends from the current range's number
95 * to the next range's number.
96 * The number itself is included in its range if a <code>less_than_or_equal</code> sign is used,
103 * the sequence of <code>(number separator string)</code> in an equivalent pattern string.
107 * <p>During formatting, a number i
672 format(double number, UnicodeString& appendTo) const argument
678 format(int32_t number, UnicodeString& appendTo) const argument
[all...]
/external/mockito/src/org/mockito/internal/reporting/
H A DPluralizer.java9 public static String pluralize(int number) { argument
10 return number == 1 ? "1 time" : number + " times";
/external/v8/src/
H A Dv8conversions.h37 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 DSQLValue.cpp49 double SQLValue::number() const function in class:WebCore::SQLValue
/external/openssl/crypto/asn1/
H A Dt_pkey.c65 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/oprofile/
H A Dopev.py24 def number(s): function
43 first[1] = number(first[1])
/external/skia/src/gpu/gl/debug/
H A DGrTextureUnitObj.h29 void setNumber(GrGLenum number) { argument
30 fNumber = number;
/external/webkit/Source/WebCore/svg/
H A DSVGNumberList.cpp35 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 DCRLNumber.java18 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 Dwidget.cc40 Widget::Widget(int number, const std::string& name) argument
41 : number_(number),
/external/chromium/webkit/glue/
H A Dnpruntime_util.cc16 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/i18n/
H A Dtmutamt.cpp17 TimeUnitAmount::TimeUnitAmount(const Formattable& number, argument
20 : Measure(number, TimeUnit::createInstance(timeUnitField, status), status) {
H A Dupluralrules.cpp40 double number,
51 UnicodeString result = ((PluralRules*)uplrules)->select(number);
39 uplrules_select(const UPluralRules *uplrules, double number, UChar *keyword, int32_t capacity, UErrorCode *status) argument
/external/ipsec-tools/src/racoon/
H A Dgcmalloc.h62 calloc(size_t number, size_t size) argument
66 return (GC_MALLOC(number * size));
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
H A DPhoneNumberMatch.java24 * 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...]

Completed in 1582 milliseconds

1234567891011>>