HomeSort by relevance Sort by last modified time
    Searched refs:format (Results 576 - 600 of 8082) sorted by null

<<21222324252627282930>>

  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_complex.py 61 self.fail(msg.format(x, y))
544 # empty format string is same as str()
545 self.assertEqual(format(1+3j, ''), str(1+3j))
546 self.assertEqual(format(1.5+3.5j, ''), str(1.5+3.5j))
547 self.assertEqual(format(3j, ''), str(3j))
548 self.assertEqual(format(3.2j, ''), str(3.2j))
549 self.assertEqual(format(3+0j, ''), str(3+0j))
550 self.assertEqual(format(3.2+0j, ''), str(3.2+0j))
553 # even when format string is nonempty (issue #5920).
554 self.assertEqual(format(3.2+0j, '-'), str(3.2+0j)
    [all...]
test_unicode.py 343 self.assertFalse(ch.istitle(), '{!r} is not title'.format(ch))
356 self.assertFalse(ch.isspace(), '{!r} is not space.'.format(ch))
362 self.assertTrue(ch.isalnum(), '{!r} is alnum.'.format(ch))
395 self.assertFalse(ch.isdecimal(), '{!r} is not decimal.'.format(ch))
397 self.assertTrue(ch.isdecimal(), '{!r} is decimal.'.format(ch))
409 self.assertFalse(ch.isdigit(), '{!r} is not a digit.'.format(ch))
411 self.assertTrue(ch.isdigit(), '{!r} is a digit.'.format(ch))
429 self.assertFalse(ch.isnumeric(), '{!r} is not numeric.'.format(ch))
432 self.assertTrue(ch.isnumeric(), '{!r} is numeric.'.format(ch))
650 format_string = u"%.{}f".format(INT_MAX + 1
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
localvideosource_unittest.cc 78 // capture format enumeration. This is used to simulate the current
206 const cricket::VideoFormat* format = capturer_->GetCaptureFormat(); local
207 ASSERT_TRUE(format != NULL);
208 EXPECT_EQ(352, format->width);
209 EXPECT_EQ(288, format->height);
210 EXPECT_EQ(5, format->framerate());
226 const cricket::VideoFormat* format = capturer_->GetCaptureFormat(); local
227 ASSERT_TRUE(format != NULL);
228 EXPECT_EQ(1280, format->width);
229 EXPECT_EQ(720, format->height)
247 const cricket::VideoFormat* format = capturer_->GetCaptureFormat(); local
273 const cricket::VideoFormat* format = capturer_->GetCaptureFormat(); local
287 const cricket::VideoFormat* format = capturer_->GetCaptureFormat(); local
309 const cricket::VideoFormat* format = capturer_->GetCaptureFormat(); local
454 const cricket::VideoFormat* format = capturer_->GetCaptureFormat(); local
475 const cricket::VideoFormat* format = capturer_->GetCaptureFormat(); local
495 const cricket::VideoFormat* format = capturer_->GetCaptureFormat(); local
519 const cricket::VideoFormat* format = capturer_->GetCaptureFormat(); local
    [all...]
  /external/bison/darwin-lib/
stdio.h 66 The __-protected variants of the attributes 'format' and 'printf' are
78 indicates to GCC that the function takes a format string and arguments,
79 where the format string directives are the ones standardized by ISO C99
90 except that it indicates to GCC that the supported format string directives
97 indicates to GCC that the function takes a format string and arguments,
98 where the format string directives are the ones standardized by ISO C99
109 except that it indicates to GCC that the supported format string directives
450 _GL_FUNCDECL_RPL (dprintf, int, (int fd, const char *format, ...)
453 _GL_CXXALIAS_RPL (dprintf, int, (int fd, const char *format, ...));
456 _GL_FUNCDECL_SYS (dprintf, int, (int fd, const char *format, ...
    [all...]
  /external/bison/linux-lib/
stdio.h 66 The __-protected variants of the attributes 'format' and 'printf' are
78 indicates to GCC that the function takes a format string and arguments,
79 where the format string directives are the ones standardized by ISO C99
90 except that it indicates to GCC that the supported format string directives
97 indicates to GCC that the function takes a format string and arguments,
98 where the format string directives are the ones standardized by ISO C99
109 except that it indicates to GCC that the supported format string directives
450 _GL_FUNCDECL_RPL (dprintf, int, (int fd, const char *format, ...)
453 _GL_CXXALIAS_RPL (dprintf, int, (int fd, const char *format, ...));
456 _GL_FUNCDECL_SYS (dprintf, int, (int fd, const char *format, ...
    [all...]
  /external/valgrind/main/VEX/priv/
main_util.c 319 HChar* format,
343 if (!format)
345 if (*format == 0)
348 if (*format != '%') {
349 PUT(*format);
350 format++;
354 saved_format = format;
359 format++;
361 if (*format == '-') {
362 format++
    [all...]
  /libcore/luni/src/test/java/libcore/java/text/
OldMessageFormatTest.java 23 import java.text.Format;
48 MessageFormat format = new MessageFormat("test"); local
49 format.setLocale(Locale.FRENCH); // use French since English has the
51 format.applyPattern("{0,time, Full}");
52 assertEquals("Wrong full time pattern", "{0,time,full}", format
114 * java.text.MessageFormat#setFormat(int, Format) Test of method
115 * java.text.MessageFormat#setFormat(int, Format). Case 1: Compare
130 Format[] formats = f1.getFormats();
133 Format[] correctFormats = new Format[] {
166 MessageFormat format = new MessageFormat("{1,number,integer}"); local
285 MessageFormat format = new MessageFormat(pattern, Locale.US); local
    [all...]
  /external/chromium_org/cc/resources/
prioritized_resource.cc 18 GLenum format)
20 format_(format),
29 DCHECK(format || size.IsEmpty());
30 if (format)
31 bytes_ = Resource::MemorySizeBytes(size, format);
51 void PrioritizedResource::SetDimensions(gfx::Size size, GLenum format) {
52 if (format_ != format || size_ != size) {
54 format_ = format;
56 bytes_ = Resource::MemorySizeBytes(size, format);
94 // different than texture format
    [all...]
  /external/chromium_org/third_party/mesa/src/src/glx/
renderpix.c 69 * \param format Format of the image
83 GLenum format, GLenum type, const GLvoid * src,
95 (*gc->fillImage) (gc, dim, width, height, depth, format, type,
121 GLsizei width, GLsizei height, GLenum format,
129 compsize = __glImageSize(width, 1, 1, format, type, 0);
130 compsize2 = __glImageSize(height, 1, 1, format, type, 0);
146 __GLX_PUT_LONG(16, format);
150 (*gc->fillImage) (gc, 1, width, 1, 1, format, type,
155 (*gc->fillImage) (gc, 1, height, 1, 1, format, type
    [all...]
  /external/mesa3d/src/glx/
renderpix.c 69 * \param format Format of the image
83 GLenum format, GLenum type, const GLvoid * src,
95 (*gc->fillImage) (gc, dim, width, height, depth, format, type,
121 GLsizei width, GLsizei height, GLenum format,
129 compsize = __glImageSize(width, 1, 1, format, type, 0);
130 compsize2 = __glImageSize(height, 1, 1, format, type, 0);
146 __GLX_PUT_LONG(16, format);
150 (*gc->fillImage) (gc, 1, width, 1, 1, format, type,
155 (*gc->fillImage) (gc, 1, height, 1, 1, format, type
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_unicode.py 343 self.assertFalse(ch.istitle(), '{!r} is not title'.format(ch))
356 self.assertFalse(ch.isspace(), '{!r} is not space.'.format(ch))
362 self.assertTrue(ch.isalnum(), '{!r} is alnum.'.format(ch))
395 self.assertFalse(ch.isdecimal(), '{!r} is not decimal.'.format(ch))
397 self.assertTrue(ch.isdecimal(), '{!r} is decimal.'.format(ch))
409 self.assertFalse(ch.isdigit(), '{!r} is not a digit.'.format(ch))
411 self.assertTrue(ch.isdigit(), '{!r} is a digit.'.format(ch))
429 self.assertFalse(ch.isnumeric(), '{!r} is not numeric.'.format(ch))
432 self.assertTrue(ch.isnumeric(), '{!r} is numeric.'.format(ch))
650 format_string = u"%.{}f".format(INT_MAX + 1
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
AlgorithmParametersSpi.java 26 protected boolean isASN1FormatString(String format)
28 return format == null || format.equals("ASN.1");
79 String format)
81 if (isASN1FormatString(format) || format.equalsIgnoreCase("X.509"))
139 String format)
142 if (format.equalsIgnoreCase("X.509")
143 || format.equalsIgnoreCase("ASN.1"))
149 throw new IOException("Unknown parameter format " + format)
    [all...]
  /external/valgrind/main/exp-sgcheck/tests/
bad_percentify.c 35 const HChar* format,
85 const HChar *format, va_list vargs )
90 ( add_to__printf_buf, b, format, vargs );
97 const HChar *format, va_list vargs )
102 ret = vprintf_to_buf(&myprintf_buf, format, vargs);
113 UInt VG_(vprintf) ( const HChar *format, va_list vargs )
115 return vprintf_WRK( &VG_(log_output_sink), format, vargs );
119 UInt VG_(printf) ( const HChar *format, ... )
123 va_start(vargs, format);
124 ret = VG_(vprintf)(format, vargs)
    [all...]
  /external/valgrind/main/coregrind/
m_options.c 129 Char* VG_(expand_file_name)(Char* option_name, Char* format)
138 if (VG_STREQ(format, "")) {
144 // If 'format' starts with a '~', abort -- the user probably expected the
148 if (format[0] == '~') {
159 // If 'format' starts with a '/', do not prefix with startup dir.
160 if (format[0] != '/') {
165 len = j + VG_(strlen)(format) + 10;
167 if (format[0] != '/') {
178 while (format[i]) {
179 if (format[i] != '%')
    [all...]
  /external/chromium_org/third_party/icu/source/io/
uprntf_p.c 66 /* C K is old format */
68 /* S U is old format */
77 * format specification, for example 'd' or 's'.
80 * information on the format specification.
98 * Struct encapsulating a single uprintf format specification.
119 /* Sets the sign of a format based on u_printf_spec_info */
122 u_printf_set_sign(UNumberFormat *format,
129 *prefixBufLen = unum_getTextAttribute(format,
136 /* unum_setSymbol(format, UNUM_PLUS_SIGN_SYMBOL, gSpaceStr, 1, &status); */
137 unum_setTextAttribute(format, UNUM_POSITIVE_PREFIX, gSpaceStr, 1, status)
278 UNumberFormat *format; local
354 UNumberFormat *format; local
489 UNumberFormat *format; local
558 UNumberFormat *format; local
678 UNumberFormat *format; local
803 UNumberFormat *format; local
876 UNumberFormat *format; local
    [all...]
  /external/icu4c/io/
uprntf_p.c 66 /* C K is old format */
68 /* S U is old format */
77 * format specification, for example 'd' or 's'.
80 * information on the format specification.
98 * Struct encapsulating a single uprintf format specification.
119 /* Sets the sign of a format based on u_printf_spec_info */
122 u_printf_set_sign(UNumberFormat *format,
129 *prefixBufLen = unum_getTextAttribute(format,
136 /* unum_setSymbol(format, UNUM_PLUS_SIGN_SYMBOL, gSpaceStr, 1, &status); */
137 unum_setTextAttribute(format, UNUM_POSITIVE_PREFIX, gSpaceStr, 1, status)
278 UNumberFormat *format; local
354 UNumberFormat *format; local
489 UNumberFormat *format; local
558 UNumberFormat *format; local
678 UNumberFormat *format; local
803 UNumberFormat *format; local
876 UNumberFormat *format; local
    [all...]
  /external/libpcap/missing/
snprintf.c 290 const unsigned char *format = (const unsigned char *)char_format; local
293 while((c = *format++)) {
302 while((c = *format++)){
327 c = *format++;
331 c = *format++;
337 c = *format++;
341 c = *format++;
345 c = *format++;
353 c = *format++;
356 c = *format++
    [all...]
  /external/tcpdump/missing/
snprintf.c 290 const unsigned char *format = (const unsigned char *)char_format; local
293 while((c = *format++)) {
302 while((c = *format++)){
327 c = *format++;
331 c = *format++;
337 c = *format++;
341 c = *format++;
345 c = *format++;
353 c = *format++;
356 c = *format++
    [all...]
  /external/chromium_org/media/audio/mac/
audio_auhal_mac.cc 21 const AudioStreamBasicDescription& format) {
22 os << "sample rate : " << format.mSampleRate << std::endl
23 << "format ID : " << format.mFormatID << std::endl
24 << "format flags : " << format.mFormatFlags << std::endl
25 << "bytes per packet : " << format.mBytesPerPacket << std::endl
26 << "frames per packet : " << format.mFramesPerPacket << std::endl
27 << "bytes per frame : " << format.mBytesPerFrame << std::endl
28 << "channels per frame: " << format.mChannelsPerFrame << std::end
415 AudioStreamBasicDescription& format = *desc; local
    [all...]
  /external/chromium_org/third_party/icu/source/i18n/unicode/
smpdtfmt.h 31 * \brief C++ API: Format and parse dates in a language-independent manner.
61 * Date/Time format syntax:
63 * The date/time format is specified by means of a string time pattern. In this
105 * The count of pattern letters determine the format.
130 * Format Pattern Result
148 * // Format the current time.
155 * formatter->format( currentTime_1, dateString, fp );
165 * marker 'a' is left out from the format pattern while the "hour in am/pm"
193 * parsed specially. For example, the format "HHmmss" parses the input text
208 * There is one common number format to handle all the numbers; the digit coun
1148 SimpleDateFormat::format(const Formattable& obj, function in class:SimpleDateFormat
1157 SimpleDateFormat::format(const Formattable& obj, function in class:SimpleDateFormat
1168 SimpleDateFormat::format(const Formattable& obj, function in class:SimpleDateFormat
1179 SimpleDateFormat::format(UDate date, function in class:SimpleDateFormat
1188 SimpleDateFormat::format(UDate date, function in class:SimpleDateFormat
1198 SimpleDateFormat::format(UDate date, UnicodeString& appendTo) const { function in class:SimpleDateFormat
    [all...]
  /external/icu4c/i18n/unicode/
smpdtfmt.h 31 * \brief C++ API: Format and parse dates in a language-independent manner.
386 * generation, it should match the 12-hour-cycle format preferred by the locale (h or K); it should not match
387 * a 24-hour-cycle format (H or k). Use hh for zero padding.</td>
394 * generation, it should match the 24-hour-cycle format preferred by the locale (H or k); it should not match a
395 * 12-hour-cycle format (h or K). Use HH for zero padding.</td>
444 * <td>The <i>short specific non-location format</i>.
445 * Where that is unavailable, falls back to the <i>short localized GMT format</i> ("O").</td>
450 * <td>The <i>long specific non-location format</i>.
451 * Where that is unavailable, falls back to the <i>long localized GMT format</i> ("OOOO").</td>
457 * <td>The <i>ISO8601 basic format</i> with hours, minutes and optional seconds fields
1718 SimpleDateFormat::format(const Formattable& obj, function in class:SimpleDateFormat
1727 SimpleDateFormat::format(const Formattable& obj, function in class:SimpleDateFormat
1738 SimpleDateFormat::format(const Formattable& obj, function in class:SimpleDateFormat
1749 SimpleDateFormat::format(UDate date, function in class:SimpleDateFormat
1758 SimpleDateFormat::format(UDate date, function in class:SimpleDateFormat
1768 SimpleDateFormat::format(UDate date, UnicodeString& appendTo) const { function in class:SimpleDateFormat
    [all...]
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
DateFormatTest.java 34 DateFormat format = DateFormat.getInstance(); local
35 DateFormat clone = (DateFormat) format.clone();
36 assertTrue("Clone not equal", format.equals(clone));
38 assertTrue("Clone shares NumberFormat", !format.equals(clone));
56 f1.format(new Date()).getClass() == String.class);
65 DateFormat format = DateFormat.getInstance(); local
66 Calendar cal1 = format.getCalendar();
67 Calendar cal2 = format.getCalendar();
82 f2.format(new Date()).getClass() == String.class);
100 f2.format(new Date()).getClass() == String.class)
315 DateFormat format = DateFormat.getInstance(); local
434 DateFormat format = DateFormat.getInstance(); local
444 DateFormat format = DateFormat.getInstance(); local
454 DateFormat format = DateFormat.getInstance(); local
    [all...]
  /art/runtime/base/
stringprintf.h 34 void StringAppendV(std::string* dst, const char* format, va_list ap);
  /bootable/recovery/minadbd/
utils.h 56 char* buff_add (char* buff, char* buffEnd, const char* format, ... );
  /cts/tests/src/android/text/format/cts/
LocaleUtils.java 17 package android.text.format.cts;

Completed in 3412 milliseconds

<<21222324252627282930>>