Searched refs:number (Results 1 - 25 of 1144) sorted by relevance

1234567891011>>

/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/libevent/include/event2/
H A Dtag_compat.h45 #define encode_int(evbuf, number) evtag_encode_int((evbuf), (number))
46 #define encode_int64(evbuf, number) evtag_encode_int64((evbuf), (number))
/external/valgrind/none/tests/solaris/
H A Dposix_spawn.stderr.exp1 posix_spawn: Bad file number
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/
H A DIncompleteJavaBean.java19 private int number; field in class:IncompleteJavaBean
27 public void setNumber(int number) { argument
28 this.number = number;
29 amount += number;
33 return number;
H A DBigDecimalJavaBean.java21 private BigDecimal number; field in class:BigDecimalJavaBean
25 return number;
28 public void setNumber(BigDecimal number) { argument
29 this.number = number;
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue144/
H A DBeanData.java20 private float number; field in class:BeanData
39 return number;
42 public void setNumber(float number) { argument
43 this.number = number;
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue183/
H A DNumberBeanTest.java26 NumberBean number = new NumberBean();
27 number.number = 1;
30 String dump = yaml.dump(number);
32 assertEquals(new Long(1), loaded.number);
36 NumberBean number = new NumberBean();
37 number.number = Float.POSITIVE_INFINITY;
40 String dump = yaml.dump(number);
42 assertEquals(Float.POSITIVE_INFINITY, loaded.number
[all...]
H A DNumberBean.java19 public Number number; field in class:NumberBean
/external/v8/test/webkit/fast/js/
H A DtoString-number.js70 number = validNumberData[i][numberIndex];
74 shouldBeEqualToString('Number(' + number + ').toString()', stringBase10);
75 shouldBeEqualToString('Number.prototype.toString.call(' + number + ')', stringBase10);
76 shouldBeEqualToString('Number.prototype.toString.call(new Number(' + number + '))', stringBase10);
77 // Passing the string to number should also lead to valid conversion.
78 shouldBeEqualToString('Number("' + number + '").toString()', stringBase10);
80 shouldBeEqualToString('Number(' + number + ').toString(10)', stringBase10);
84 shouldBeEqualToString('Number(' + number + ').toString(2)', stringBase2);
85 shouldBeEqualToString('Number.prototype.toString.call(' + number + ', 2)', stringBase2);
86 shouldBeEqualToString('Number.prototype.toString.call(new Number(' + number
[all...]
/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DCurrencyAmount.java26 * Constructs a new object given a number and a currency.
27 * @param number the number
30 public CurrencyAmount(Number number, Currency currency) { argument
31 super(number, currency);
36 * @param number a double value
39 public CurrencyAmount(double number, Currency currency) { argument
40 super(new Double(number), currency);
H A DTimeUnitAmount.java11 * Express a duration as a time unit and number. Patterned after Currency.
21 * Create from a number and unit.
23 public TimeUnitAmount(Number number, TimeUnit unit) { argument
24 super(number, unit);
28 * Create from a number and unit.
30 public TimeUnitAmount(double number, TimeUnit unit) { argument
31 super(new Double(number), unit);
H A DMeasure.java33 private final Number number; field in class:Measure
37 * Constructs a new object given a number and a unit.
38 * @param number the number
41 public Measure(Number number, MeasureUnit unit) { argument
42 if (number == null || unit == null) {
45 this.number = number;
61 return unit.equals(m.unit) && numbersEqual(number, m.number);
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DCurrencyAmount.java26 * Constructs a new object given a number and a currency.
27 * @param number the number
31 public CurrencyAmount(Number number, Currency currency) { argument
32 super(number, currency);
37 * @param number a double value
41 public CurrencyAmount(double number, Currency currency) { argument
42 super(new Double(number), currency);
H A DTimeUnitAmount.java10 * Express a duration as a time unit and number. Patterned after Currency.
20 * Create from a number and unit.
23 public TimeUnitAmount(Number number, TimeUnit unit) { argument
24 super(number, unit);
28 * Create from a number and unit.
31 public TimeUnitAmount(double number, TimeUnit unit) { argument
32 super(new Double(number), unit);
H A DMeasure.java33 private final Number number; field in class:Measure
37 * Constructs a new object given a number and a unit.
38 * @param number the number
42 public Measure(Number number, MeasureUnit unit) { argument
43 if (number == null || unit == null) {
46 this.number = number;
63 return unit.equals(m.unit) && numbersEqual(number, m.number);
[all...]
/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/libxml2/
H A Dtrionan.h56 * If number is a NaN return non-zero, otherwise return zero.
58 TRIO_PUBLIC int trio_isnan TRIO_PROTO((double number));
61 * If number is positive infinity return 1, if number is negative
64 TRIO_PUBLIC int trio_isinf TRIO_PROTO((double number));
67 * If number is finite return non-zero, otherwise return zero.
71 TRIO_PUBLIC int trio_isfinite TRIO_PROTO((double number));
73 TRIO_PUBLIC int trio_fpclassify TRIO_PROTO((double number));
76 TRIO_PUBLIC int trio_signbit TRIO_PROTO((double number));
78 TRIO_PUBLIC int trio_fpclassify_and_signbit TRIO_PROTO((double number, in
[all...]
/external/chromium-trace/catapult/third_party/Paste/paste/exceptions/
H A Dserial_number_generator.py22 def make_identifier(number):
24 Encodes a number as an identifier.
26 if not isinstance(number, six.integer_types):
29 % number)
30 if number < 0:
33 % number)
35 while number:
36 next = number % base
39 number = number // bas
[all...]
/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/
H A Dtransform.py19 From bytes to a number, number to bytes, etc.
54 def _int2bytes(number, block_size=None):
55 r'''Converts a number to a string of bytes.
72 OverflowError: Needed 4 bytes for number, but block size is 3
74 @param number: the number to convert
75 @param block_size: the number of bytes to output. If the number encoded to
79 @throws OverflowError when block_size is given and the number take
[all...]
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
H A DShortNumberUtil.java53 * Returns true if the number might be used to connect to an emergency service in the given
56 * This method takes into account cases where the number might contain formatting, or might have
59 * @param number the phone number to test
60 * @param regionCode the region where the phone number is being dialed
61 * @return if the number might be used to connect to an emergency service in the given region.
63 public boolean connectsToEmergencyNumber(String number, String regionCode) { argument
64 return ShortNumberInfo.getInstance().connectsToEmergencyNumber(number, regionCode);
68 * Returns true if the number exactly matches an emergency service number i
77 isEmergencyNumber(String number, String regionCode) argument
[all...]
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());
59 /** The matched phone number. */
60 private final PhoneNumber number; field in class:PhoneNumberMatch
69 PhoneNumberMatch(int start, String rawString, PhoneNumber number) argument
82 public PhoneNumber number() { method in class:PhoneNumberMatch
[all...]
/external/v8/test/mjsunit/
H A Dcall-cross-realm.js10 var number = 1; variable
11 assertEquals(object.prototype, f.call(number).__proto__.__proto__);
12 assertEquals(object.prototype, number.f().__proto__.__proto__);
/external/nanopb-c/generator/google/protobuf/internal/
H A Denum_type_wrapper.py51 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/python/google/protobuf/internal/
H A Denum_type_wrapper.py51 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/opencv3/modules/features2d/src/kaze/
H A Dfed.cpp40 * @brief This function allocates an array of the least number of time steps such
43 * The function returns the number of time steps per cycle or 0 on failure
45 * @param M Desired number of cycles
60 * @brief This function allocates an array of the least number of time steps such
63 * The function returns the number of time steps per cycle or 0 on failure
74 // Compute necessary number of time steps
88 * The function returns the number of time steps per cycle or 0 on failure
160 * @brief This function checks if a number is prime or not
161 * @param number Number to check if it is prime or not
162 * @return true if the number i
164 fed_is_prime_internal(const int& number) argument
[all...]

Completed in 5906 milliseconds

1234567891011>>