/external/arduino/hardware/arduino/cores/arduino/ |
Print.cpp | 187 void Print::printFloat(double number, uint8_t digits) 190 if (number < 0.0) 193 number = -number; 201 number += rounding; 203 // Extract the integer part of the number and print it 204 unsigned long int_part = (unsigned long)number; 205 double remainder = number - (double)int_part;
|
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
ExtensionRegistry.java | 41 * A table of known extensions, searchable by name or field number. When 145 * Find an extension by containing type and field number. 246 private final int number; field in class:ExtensionRegistry.DescriptorIntPair 248 DescriptorIntPair(final Descriptor descriptor, final int number) { 250 this.number = number; 255 return descriptor.hashCode() * ((1 << 16) - 1) + number; 263 return descriptor == other.descriptor && number == other.number;
|
/external/icu/icu4c/source/i18n/unicode/ |
rbnf.h | 15 * \brief C++ API: Rule Based Number Format 58 * The RuleBasedNumberFormat class formats numbers according to a set of rules. This number formatter is 63 * other complicated formatting tasks, such as formatting a number of seconds as hours, 99 * isolate the number's ones digit, format it using this same set of rules, and place the 101 * the number being formatted is an even multiple of 10 (the hyphen is a literal hyphen; 24 104 * <p>For even larger numbers, we can actually look up several parts of the number in the 115 * can change this). To fill in the substitutions, the formatter divides the number being 180 * <p>This is called a <em>negative-number rule,</em> and is identified by "-x" 182 * >> token here means "find the number's absolute value, format it with these 191 * negative-number rule first and then through this rule). Here, the << token refers t [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
ExtensionRegistry.java | 41 * A table of known extensions, searchable by name or field number. When 145 * Find an extension by containing type and field number. 246 private final int number; field in class:ExtensionRegistry.DescriptorIntPair 248 DescriptorIntPair(final Descriptor descriptor, final int number) { 250 this.number = number; 255 return descriptor.hashCode() * ((1 << 16) - 1) + number; 263 return descriptor == other.descriptor && number == other.number;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
CdmaInformationRecords.java | 151 public String number; field in class:CdmaInformationRecords.CdmaNumberInfoRec 157 public CdmaNumberInfoRec(int id, String number, int numberType, int numberPlan, int pi, 159 this.number = number; 170 ", number: " + number + 190 public CdmaRedirectingNumberInfoRec(String number, int numberType, int numberPlan, 193 number, numberType, numberPlan, pi, si);
|
/ndk/sources/host-tools/make-3.81/ |
signame.c | 46 /* Table of abbreviations for signals. Note: A given number can 52 int number; member in struct:__anon43022 58 /* Number of elements of sig_table used. */ 61 /* Enter signal number NUMBER into the tables with ABBREV and NAME. */ 64 init_sig (int number, const char *abbrev, const char *name) 70 if (number >= 0 && number < NSIG) 71 sys_siglist[number] = name; 75 sig_table[sig_table_nelts].number = number [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/ |
VTTScannerTest.cpp | 264 int number; local 265 EXPECT_EQ(scanner.scanDigits(number), 0u); 266 EXPECT_EQ(number, 0); 268 EXPECT_EQ(scanner.scanDigits(number), 3u); 270 EXPECT_EQ(number, 123); 276 EXPECT_EQ(scanner.scanDigits(number), 5u); 277 EXPECT_EQ(number, 45678); 285 int number; local 286 EXPECT_EQ(scanner.scanDigits(number), 0u); 287 EXPECT_EQ(number, 0) [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
CallerInfoAsyncQuery.java | 82 public String number; field in class:CallerInfoAsyncQuery.CookieWrapper 276 // Change the callerInfo number ONLY if it is an emergency number or the 277 // voicemail number, and adjust other data (including photoResource) 280 // Note we're setting the phone number here (refer to javadoc 290 mContext, cw.number, mCallerInfo); 300 // no contacts matched the phone number of the incoming call), 311 // Actually when no contacts match the incoming phone number, 313 // *or* phoneNumber). So we need to pass in cw.number as 314 // a fallback number [all...] |
/frameworks/base/telephony/java/android/telephony/ |
PhoneNumberUtils.java | 49 * Various utilities for dealing with phone number strings. 56 * (See "What is a phone number?" doc) 83 * global-phone-number = ["+"] 1*( DIGIT / written-sep ) 144 /** Extracts the phone number from an Intent. 146 * @param intent the intent to get the number of 149 * @return the phone number that would be called by the intent, or 150 * <code>null</code> if the number cannot be found. 153 String number = null; local 177 phoneColumn = Contacts.People.Phones.NUMBER; 179 phoneColumn = ContactsContract.CommonDataKinds.Phone.NUMBER; [all...] |
/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
unknown_field_set_unittest.cc | 70 if (unknown_fields_->field(i).number() == field->number()) { 87 bizarro_unknown_fields->AddFixed32(unknown_field.number(), 1); 89 bizarro_unknown_fields->AddVarint(unknown_field.number(), 1); 121 EXPECT_EQ(i, unknown_fields_->field(pos++).number()); 125 EXPECT_EQ(i, unknown_fields_->field(pos++).number()); 176 EXPECT_EQ(nested_field_descriptor->number(), nested_field.number()); 416 unknown_fields->AddVarint(singular_field->number(), TestAllTypes::BAR); 417 unknown_fields->AddVarint(singular_field->number(), 5); // not vali [all...] |
wire_format_lite.cc | 132 int number = WireFormatLite::GetTagFieldNumber(tag); local 138 if (unknown_fields != NULL) unknown_fields->AddVarint(number, value); 144 if (unknown_fields != NULL) unknown_fields->AddFixed64(number, value); 153 if (!input->ReadString(unknown_fields->AddLengthDelimited(number), 163 NULL : unknown_fields->AddGroup(number))) { 181 if (unknown_fields != NULL) unknown_fields->AddFixed32(number, value); 216 output->WriteVarint32(WireFormatLite::MakeTag(field.number(), 221 output->WriteVarint32(WireFormatLite::MakeTag(field.number(), 226 output->WriteVarint32(WireFormatLite::MakeTag(field.number(), 231 output->WriteVarint32(WireFormatLite::MakeTag(field.number(), [all...] |
/external/protobuf/src/google/protobuf/ |
wire_format.cc | 61 return descriptor->number(); 84 int number = WireFormatLite::GetTagFieldNumber(tag); local 90 if (unknown_fields != NULL) unknown_fields->AddVarint(number, value); 96 if (unknown_fields != NULL) unknown_fields->AddFixed64(number, value); 105 if (!input->ReadString(unknown_fields->AddLengthDelimited(number), 115 NULL : unknown_fields->AddGroup(number))) { 133 if (unknown_fields != NULL) unknown_fields->AddFixed32(number, value); 168 output->WriteVarint32(WireFormatLite::MakeTag(field.number(), 173 output->WriteVarint32(WireFormatLite::MakeTag(field.number(), 178 output->WriteVarint32(WireFormatLite::MakeTag(field.number(), [all...] |
unknown_field_set_unittest.cc | 72 if (unknown_fields_->field(i).number() == field->number()) { 89 bizarro_unknown_fields->AddFixed32(unknown_field.number(), 1); 91 bizarro_unknown_fields->AddVarint(unknown_field.number(), 1); 121 EXPECT_EQ(i, unknown_fields_->field(pos++).number()); 125 EXPECT_EQ(i, unknown_fields_->field(pos++).number()); 176 EXPECT_EQ(nested_field_descriptor->number(), nested_field.number()); 407 unknown_fields->AddVarint(singular_field->number(), TestAllTypes::BAR); 408 unknown_fields->AddVarint(singular_field->number(), 5); // not vali [all...] |
unknown_field_set.cc | 93 void UnknownFieldSet::AddVarint(int number, uint64 value) { 96 field.number_ = number; 102 void UnknownFieldSet::AddFixed32(int number, uint32 value) { 105 field.number_ = number; 111 void UnknownFieldSet::AddFixed64(int number, uint64 value) { 114 field.number_ = number; 120 string* UnknownFieldSet::AddLengthDelimited(int number) { 123 field.number_ = number; 130 UnknownFieldSet* UnknownFieldSet::AddGroup(int number) { 133 field.number_ = number; [all...] |
/external/chromium_org/ui/file_manager/file_manager/foreground/js/image_editor/ |
viewport.js | 38 * @param {number} width Image width. 39 * @param {number} height Image height. 48 * @param {number} width Screen width. 49 * @param {number} height Screen height. 82 * @return {number} Scale. 87 * @param {number} scale The new scale. 98 * @return {number} Best scale to fit the current image into the current screen. 118 * @return {number} X-offset of the viewport. 123 * @return {number} Y-offset of the viewport. 129 * @param {number} x X-offset [all...] |
/external/chromium_org/ui/file_manager/gallery/js/image_editor/ |
viewport.js | 38 * @param {number} width Image width. 39 * @param {number} height Image height. 48 * @param {number} width Screen width. 49 * @param {number} height Screen height. 82 * @return {number} Scale. 87 * @param {number} scale The new scale. 98 * @return {number} Best scale to fit the current image into the current screen. 118 * @return {number} X-offset of the viewport. 123 * @return {number} Y-offset of the viewport. 129 * @param {number} x X-offset [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
nfrs.cpp | 225 // if it's the negative-number rule, copy it into its own 313 NFRuleSet::format(int64_t number, UnicodeString& toAppendTo, int32_t pos) const 315 NFRule *rule = findNormalRule(number); 322 rule->doFormat(number, toAppendTo, pos); 329 NFRuleSet::format(double number, UnicodeString& toAppendTo, int32_t pos) const 331 NFRule *rule = findDoubleRule(number); 338 rule->doFormat(number, toAppendTo, pos); 345 NFRuleSet::findDoubleRule(double number) const 349 return findFractionRuleSetRule(number); 352 // if the number is negative, return the negative number rul [all...] |
/external/icu/icu4c/source/i18n/ |
nfrs.cpp | 238 // if it's the negative-number rule, copy it into its own 338 NFRuleSet::format(int64_t number, UnicodeString& toAppendTo, int32_t pos) const 340 NFRule *rule = findNormalRule(number); 347 rule->doFormat(number, toAppendTo, pos); 354 NFRuleSet::format(double number, UnicodeString& toAppendTo, int32_t pos) const 356 NFRule *rule = findDoubleRule(number); 363 rule->doFormat(number, toAppendTo, pos); 370 NFRuleSet::findDoubleRule(double number) const 374 return findFractionRuleSetRule(number); 377 // if the number is negative, return the negative number rul [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/background/ |
externs.js | 49 * @param {number} tabId 114 /** @type {number} */ 116 /** @type {number} */ 118 /** @type {number} */ 120 /** @type {number} */
|
/external/chromium_org/components/autofill/core/browser/ |
phone_number_i18n.cc | 37 // Verify that the number has a valid area code (that in some cases could be 39 // number (for example, in the US 1234567 is not valid, because numbers do not 47 // Formats the given |number| as a human-readable string, and writes the result 48 // into |formatted_number|. Also, normalizes the formatted number, and writes 53 // in explicitly, as |number| might have an implicit country code set, even 55 void FormatValidatedNumber(const PhoneNumber& number, 66 phone_util->Format(number, format, &processed_number); 81 // Parses the number stored in |value| as it should be interpreted in the given 88 base::string16* number, 93 number->clear() [all...] |
/external/harfbuzz_ng/test/api/ |
hb-test.h | 92 hb_test_bug (const char *uri_base, unsigned int number) 94 char *s = g_strdup_printf ("%u", number); 103 hb_test_bug_freedesktop (unsigned int number) 105 hb_test_bug ("http://bugs.freedesktop.org/", number); 109 hb_test_bug_gnome (unsigned int number) 111 hb_test_bug ("http://bugzilla.gnome.org/", number); 115 hb_test_bug_mozilla (unsigned int number) 117 hb_test_bug ("http://bugzilla.mozilla.org/", number); 121 hb_test_bug_redhat (unsigned int number) 123 hb_test_bug ("http://bugzilla.redhat.com/", number); [all...] |
/packages/services/Telephony/src/com/android/phone/ |
CallForwardEditPreference.java | 104 final String number = getPhoneNumber(); local 111 && number.equals(callForwardInfo.number)) { 117 + ", number=" + number); 119 // Display no forwarding number while we're waiting for 127 number, 145 setPhoneNumber(callForwardInfo.number); 151 final String number = getRawPhoneNumber(); local 152 if (number != null && number.length() > 0) [all...] |
/external/bison/src/ |
reduce.c | 121 bitset_set (Np, rules[r].lhs->number - ntokens); 167 if (bitset_test (N, accept->number - ntokens)) 169 bitset_set (V, accept->number); 179 && bitset_test (V, rules[r].lhs->number)) 200 bitset_set (V, endtoken->number); /* end-of-input token */ 201 bitset_set (V, errtoken->number); /* error token */ 202 bitset_set (V, undeftoken->number); /* some undefined token */ 224 bitset_set (V1, rules[r].precsym->number); 264 rules[r].number = r; 308 /* Shuffle elements of tables indexed by symbol number. * [all...] |
/external/chromium_org/third_party/libevent/ |
event_tagging.c | 85 * We encode integer's by nibbles; the first nibble contains the number 91 encode_int(struct evbuffer *evbuf, ev_uint32_t number) 97 while (number) { 99 data[off/2] = (data[off/2] & 0xf0) | (number & 0x0f); 102 ((number & 0x0f) << 4); 103 number >>= 4; 110 /* Off - 1 is the number of encoded nibbles */ 147 ev_uint32_t number = 0; local 154 number |= (lower & 0x7f) << shift; 170 *ptag = number; 229 ev_uint32_t number = 0; local [all...] |
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
DefaultVoicemailNotifier.java | 109 // Maps each number into a name: if a number is in the map, it has already left a more 118 // Check if we already know the name associated with this number. 119 String name = names.get(newCall.number); 121 name = mPhoneNumberHelper.getDisplayName(newCall.number, 123 // If we cannot lookup the contact, use the number instead. 126 name = mNameLookupQuery.query(newCall.number); 128 name = newCall.number; 131 names.put(newCall.number, name); 193 R.string.notification_new_voicemail_ticker, names.get(callToNotify.number))); 215 public final String number; field in class:DefaultVoicemailNotifier.NewCall [all...] |