Searched defs:digits (Results 26 - 50 of 84) sorted by relevance

1234

/external/jhead/
H A Dgpsinfo.c212 int den, digits; local
215 digits = 0;
216 while (den > 1 && digits <= 6){
218 digits += 1;
220 if (digits > 6) digits = 6;
221 FmtString[1+a*7] = (char)('2'+digits+(digits ? 1 : 0));
222 FmtString[3+a*7] = (char)('0'+digits);
/external/opencv/cxcore/src/
H A Dcxdxt.cpp223 int digits[34], radix[34]; local
261 digits[nf] = 0;
264 digits[i] = 0;
307 digits[1]++;
318 for( k = 1; ++digits[k] >= factors[k]; k++ )
320 digits[k] = 0;
334 for( k = 0; ++digits[k] >= factors[k]; k++ )
336 digits[k] = 0;
/external/opencv/otherlibs/highgui/
H A Dgrfmt_pxm.cpp87 int digits = 0; local
115 if( ++digits >= maxdigits ) break;
/external/stlport/test/unit/
H A Dmoney_facets_test.cpp173 string digits; local
178 fmg.get(istr, istreambuf_iterator<char, char_traits<char> >(), true, ostr, err, digits);
180 CPPUNIT_ASSERT( digits == "123456" );
275 // Test for bug in case when number of digits in value less then number
276 // of digits in fraction. I.e. '9' should be printed as '0.09',
H A Dnum_put_get_test.cpp400 string output, digits; local
407 digits = "17";
408 complete_digits(digits);
409 CPPUNIT_CHECK(output == string("1.23457e+") + digits );
463 digits = "1";
464 complete_digits(digits);
465 CPPUNIT_CHECK(output == string("1.23456780e-") + digits );
1153 // we may loss some digits here, but not more than mantissa:
1174 // we may loss some digits here, but not more than mantissa:
1199 // we may loss some digits her
[all...]
/external/v8/src/
H A Dbignum.cc82 // Clear the excess digits (if there were any).
111 uint64_t digits = ReadUInt64(value, pos, kMaxUint64DecimalDigits); local
115 AddUInt64(digits);
117 uint64_t digits = ReadUInt64(value, pos, length); local
119 AddUInt64(digits);
355 // In the worst case we have to accumulate nb-digits products of digit*digit.
363 // First shift the digits so we don't overwrite them.
493 // Easy case: if we have less digits than the divisor than the result is 0.
504 // number of digits.
519 // Since other has more than 0 digits w
[all...]
H A Djson-parser.h366 int digits = 0; local
370 digits++;
373 if (c0_ != '.' && c0_ != 'e' && c0_ != 'E' && digits < 10) {
H A Dsafepoint-table.cc111 void SafepointTable::PrintBits(uint8_t byte, int digits) { argument
112 ASSERT(digits >= 0 && digits <= kBitsPerByte);
113 for (int i = 0; i < digits; i++) {
H A Dscanner.cc64 uc32 digits[4] = { 0, 0, 0, 0 }; local
67 digits[i] = c0_;
74 // Push back digits that we have advanced past.
76 PushBack(digits[j]);
766 // Parse decimal digits and allow trailing fractional part.
1017 // only "safe" characters are allowed (letters, digits, underscore),
/external/valgrind/main/coregrind/
H A Dm_debuglog.c559 HChar* digits = capitalised ? "0123456789ABCDEF" : "0123456789abcdef"; local
580 buf[ind++] = digits[p % base];
/external/chromium/googleurl/src/
H A Durl_parse.cc444 // we copy the digits to a small stack buffer (since we know the maximum number
445 // of digits in a valid port number) that we can NULL terminate.
462 return 0; // All digits were 0.
464 // Verify we don't have too many digits (we'll be copying to our buffer so
469 // Copy valid digits to the buffer.
470 char digits[kMaxDigits + 1]; // +1 for null terminator local
477 digits[i] = static_cast<char>(ch);
481 // only digits, atoi's lack of error handling is OK.
482 digits[digits_comp.len] = 0;
483 int port = atoi(digits);
[all...]
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/
H A DCSpinner.java179 public void setDigits(int digits) { argument
182 for (int i = 0; i < digits; i++) {
/external/elfutils/src/
H A Dsize.c412 const int digits = length_map[gelf_getclass (elf) - 1][radix]; local
442 digits - 2, sgettext ("sysv|size"),
443 digits, sgettext ("sysv|addr"));
465 digits - 2, shdr->sh_size,
466 digits, shdr->sh_addr);
474 digits - 2, total);
477 digits - 2, total);
480 digits - 2, total);
/external/mksh/src/
H A Dshf.c938 const char *digits = (flags & FL_UPPER) ? local
941 *--cp = digits[lnum & 0xf];
H A Dvar.c356 const char *digits = (vp->flag & UCASEV_AL) ? local
382 *--s = digits[n % base];
387 *--s = digits[base % 10];
389 *--s = digits[base / 10];
/external/webkit/Source/WebCore/inspector/
H A DInspectorValues.cpp139 bool readHexDigits(const UChar* start, const UChar* end, const UChar** tokenEnd, int digits) argument
141 if (end - start < digits)
143 for (int i = 0; i < digits; ++i) {
/external/expat/xmlwf/
H A Dxmlwf.c574 static const XML_Char digits[] = T("0123456789"); local
575 const XML_Char *s = tcschr(digits, name[i]);
579 cp += (int)(s - digits);
/external/icu4c/i18n/
H A DdecContext.h43 /* digits -- must be in the range 1 through 999999999 */
88 int32_t digits; /* working precision */ member in struct:__anon6462
227 #define DEC_Condition_LD "Lost digits"
H A Dplurrule.cpp440 char digits[128]; local
442 i = token.extract(0, token.length(), digits, ARRAY_SIZE(digits), US_INV);
443 digits[i]='\0';
445 return((int32_t)atoi(digits));
/external/quake/quake/src/QW/client/
H A Dsbar.c323 void Sbar_DrawNum (int x, int y, int num, int digits, int color) argument
331 if (l > digits)
332 ptr += (l-digits);
333 if (l < digits)
334 x += (digits-l)*24;
864 void Sbar_IntermissionNumber (int x, int y, int num, int digits, int color) argument
872 if (l > digits)
873 ptr += (l-digits);
874 if (l < digits)
875 x += (digits
[all...]
/external/quake/quake/src/WinQuake/
H A Dsbar.cpp350 void Sbar_DrawNum (int x, int y, int num, int digits, int color) argument
358 if (l > digits)
359 ptr += (l-digits);
360 if (l < digits)
361 x += (digits-l)*24;
1058 void Sbar_IntermissionNumber (int x, int y, int num, int digits, int color) argument
1066 if (l > digits)
1067 ptr += (l-digits);
1068 if (l < digits)
1069 x += (digits
[all...]
/external/skia/src/core/
H A DSkStream.cpp120 bool SkWStream::writeHexAsText(uint32_t hex, int digits) argument
123 tmp.appendHex(hex, digits);
/external/stlport/src/
H A Dnum_get_float.cpp86 wchar_t* digits) {
92 ct.widen(ndigits + 0, ndigits + 10, digits);
323 // Second argument is number of digits in buffer, 1 <= digits <= 17.
338 * 1) decimal digits as an integer
353 /* Convert the decimal digits to a binary integer. */
420 if (value == (ULL(1) << (limits::digits - 1))) { /* carry created normal number */
468 value &= ~(ULL(1) << (limits::digits - 1)); /* hide hidden bit */
487 /* Convert the decimal digits to a binary integer. */
530 if ( limits::digits < 6
83 _Initialize_get_float( const ctype<wchar_t>& ct, wchar_t& Plus, wchar_t& Minus, wchar_t& pow_e, wchar_t& pow_E, wchar_t* digits) argument
653 char digits[max_digits]; local
759 char digits[max_digits]; local
[all...]
/external/valgrind/main/exp-sgcheck/tests/
H A Dbad_percentify.c277 HChar* digits = capitalised ? "0123456789ABCDEF" : "0123456789abcdef"; local
298 buf[ind++] = digits[p % base];
/external/protobuf/src/google/protobuf/stubs/
H A Dstrutil.cc236 // The implementation of \x parses any positive number of hex digits,
296 case '0': case '1': case '2': case '3': // octal digit: 1 to 3 digits
318 while (isxdigit(p[1])) // arbitrarily many hex digits
328 // \uhhhh => convert 4 hex digits to UTF-8
336 << "\\u must be followed by 4 hex digits: \\"
345 // \Uhhhhhhhh => convert 8 hex digits to UTF-8
364 << "\\U must be followed by 8 hex digits: \\"
734 int digits; local
738 // and by outputting two digits at a time rather than one.
743 digits
825 int digits; local
[all...]

Completed in 600 milliseconds

1234