/dalvik/dx/src/com/android/dx/cf/code/ |
BytecodeArray.java | 225 int fmt = info & ByteOps.FMT_MASK; local [all...] |
/external/adhd/cras/src/tests/ |
dev_stream_unittest.cc | 456 struct cras_audio_format fmt; local 460 fmt.num_channels = 2; 461 fmt.format = SND_PCM_FORMAT_S16_LE; 462 EXPECT_EQ(0, dev_stream_mix(&dev_stream, &fmt, 0, 3)); 468 struct cras_audio_format fmt; local 476 fmt.num_channels = 2; 477 fmt.format = SND_PCM_FORMAT_S16_LE; 478 EXPECT_EQ(nfr, dev_stream_mix(&dev_stream, &fmt, (uint8_t*)0x5000, nfr)); 494 struct cras_audio_format fmt; local 502 fmt.num_channels = 2 [all...] |
/external/clang/test/Sema/ |
format-strings.c | 56 const char *const fmt = "%d"; // FIXME -- defined here local 57 printf(fmt, 1, 2); // expected-warning{{data argument not used}} 588 void __attribute__((format(strfmon,1,2))) monformat(const char *fmt, ...); 589 void __attribute__((format(strftime,1,0))) dateformat(const char *fmt); [all...] |
/external/deqp/modules/gles2/functional/ |
es2fTextureCompletenessTests.cpp | 277 tcu::TextureFormat fmt = glu::mapGLTransferFormat(GL_RGBA, GL_UNSIGNED_BYTE); local 278 tcu::TextureLevel levelData (fmt); 345 tcu::TextureFormat fmt = glu::mapGLTransferFormat(m_format, GL_UNSIGNED_BYTE); local 346 tcu::TextureLevel levelData (fmt); 396 tcu::TextureFormat fmt = glu::mapGLTransferFormat(GL_RGBA, GL_UNSIGNED_BYTE); local 397 tcu::TextureLevel levelData (fmt); 452 tcu::TextureFormat fmt = glu::mapGLTransferFormat(GL_RGBA, GL_UNSIGNED_BYTE); local 453 tcu::TextureLevel levelData (fmt); 498 tcu::TextureFormat fmt = glu::mapGLTransferFormat(GL_RGBA, GL_UNSIGNED_BYTE); local 499 tcu::TextureLevel levelData (fmt); 598 tcu::TextureFormat fmt = glu::mapGLTransferFormat(GL_RGBA, GL_UNSIGNED_BYTE); local 668 tcu::TextureFormat fmt = glu::mapGLTransferFormat(GL_RGBA, GL_UNSIGNED_BYTE); local 735 tcu::TextureFormat fmt = glu::mapGLTransferFormat(GL_RGBA, GL_UNSIGNED_BYTE); local 797 tcu::TextureFormat fmt = glu::mapGLTransferFormat(GL_RGBA, GL_UNSIGNED_BYTE); local 844 tcu::TextureFormat fmt = glu::mapGLTransferFormat(GL_RGBA, GL_UNSIGNED_BYTE); local [all...] |
/external/deqp/modules/gles3/functional/ |
es3fTextureFormatTests.cpp | 145 tcu::TextureFormat fmt = m_dataType ? glu::mapGLTransferFormat(m_format, m_dataType) : glu::mapGLInternalFormat(m_format); local 146 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(fmt); 315 tcu::TextureFormat fmt = m_dataType ? glu::mapGLTransferFormat(m_format, m_dataType) : glu::mapGLInternalFormat(m_format); local 316 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(fmt); [all...] |
/external/elfutils/src/ |
objdump.c | 726 char *fmt; local 732 if (asprintf (&fmt, "%s%%7m %s%%.1o,%s%%.2o,%s%%.3o%%34a %s%%l", 744 fmt = "%7m %.1o,%.2o,%.3o%34a %l"; 748 fmt, disasm_output, &info, NULL /* XXX */); 751 free (fmt);
|
/external/freetype/src/base/ |
ftdbgmem.c | 208 ft_mem_debug_panic( const char* fmt, 216 va_start( ap, fmt ); 217 vprintf( fmt, ap ); 932 const char* fmt; local 972 fmt = "%6ld %6ld %8ld %8ld %8ld %s:%d\n"; 979 printf( fmt,
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
CopticTest.java | 182 SimpleDateFormat fmt = new SimpleDateFormat("EEE MMM dd, yyyy GG"); local 188 assertEquals("Gregorian Date", "Fri Aug 29, 0284 AD", fmt.format(cal.getTime())); 193 assertEquals("Gregorian Date", "Thu Aug 30, 0283 AD", fmt.format(cal.getTime()));
|
DangiTest.java | 182 DateFormat fmt = DateFormat.getDateInstance(cal, DateFormat.DEFAULT); local 243 logln("OK: " + buf + " => " + fmt.format(cal.getTime())); 245 String s = fmt.format(cal.getTime()); 253 ", expected " + fmt.format(cal.getTime()) +
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
MessageRegressionTest.java | 120 MessageFormat fmt = new MessageFormat("{0,choice,0#no files|1#one file|1< {0,number,integer} files}"); 121 String pat = fmt.toPattern(); 179 MessageFormat fmt = new MessageFormat("There are {0} apples growing on the {1} tree."); local 181 Object[] objs = fmt.parse(str, pos); 404 ChoiceFormat fmt = new ChoiceFormat( local 406 logln("Formatter Pattern : " + fmt.toPattern()); 408 logln("Format with -INF : " + fmt.format(Double.NEGATIVE_INFINITY)); 409 logln("Format with -1.0 : " + fmt.format(-1.0)); 410 logln("Format with 0 : " + fmt.format(0)); 411 logln("Format with 0.9 : " + fmt.format(0.9)) 425 ChoiceFormat fmt = new ChoiceFormat( local 725 MessageFormat fmt = new MessageFormat("There are {numberOfApples} apples growing on the {whatKindOfTree} tree."); local [all...] |
/external/icu/icu4c/source/i18n/ |
measfmt.cpp | 1255 CurrencyFormat* fmt = NULL; local [all...] |
udat.cpp | 35 * Verify that fmt is a SimpleDateFormat. Invalid error if not. 36 * @param fmt the UDateFormat, definitely a DateFormat, maybe something else 37 * @param status error code, will be set to failure if there is a familure or the fmt is NULL. 39 static void verifyIsSimpleDateFormat(const UDateFormat* fmt, UErrorCode *status) { 41 dynamic_cast<const SimpleDateFormat*>(reinterpret_cast<const DateFormat*>(fmt))==NULL) { 138 DateFormat *fmt; local 143 fmt = (DateFormat*) (*gOpener)(timeStyle,dateStyle,locale,tzID,tzIDLength,pattern,patternLength,status); 144 if(fmt!=NULL) { 145 return (UDateFormat*)fmt; 150 fmt = DateFormat::createDateTimeInstance((DateFormat::EStyle)dateStyle [all...] |
/external/icu/icu4c/source/test/cintltst/ |
cdtrgtst.c | 241 void aux917( UDateFormat *fmt, UChar* str) 250 resultlengthneeded=udat_toPattern(fmt, TRUE, NULL, resultlength, &status); 256 udat_toPattern(fmt, TRUE, pat, resultlength, &status); 264 formatted = myFormatit(fmt, d1); 278 UDateFormat *formatter, *fmt; local 295 fmt = udat_open(UDAT_FULL,UDAT_LONG ,NULL, tzID, -1, NULL, 0, &status); 302 myString = myFormatit(fmt, myDate); 315 udat_close(fmt); 381 UDateFormat *fmt; local 390 fmt= udat_open(UDAT_SHORT,UDAT_SHORT ,NULL, NULL, 0, NULL, 0, &status) 478 UDateFormat *fmt; local [all...] |
cnmdptst.c | 64 UNumberFormat *fmt; local 81 fmt= unum_open(UNUM_IGNORE,upat, u_strlen(upat), "en_US",NULL, &status); 87 lneed=unum_toPattern(fmt, FALSE, NULL, lneed, &status); 91 unum_toPattern(fmt, FALSE, unewp, lneed+1, &status); 101 lneed=unum_format(fmt, 0, NULL, lneed, NULL, &status); 105 unum_format(fmt, 0, str, lneed+1, NULL, &status); 118 unum_close(fmt); 130 UNumberFormat *fmt; local 134 fmt =unum_open(UNUM_IGNORE,pat, u_strlen(pat), "en_US",NULL, &status); 139 lneed=unum_format(fmt, 123, NULL, lneed, NULL, &status) 193 UNumberFormat *fmt; local 343 UNumberFormat *fmt; local [all...] |
/external/icu/icu4c/source/test/perf/howExpensiveIs/ |
howExpensiveIs.cpp | 349 UNumberFormat *fmt = NumTest::initFmt(); local 350 unum_setAttribute(fmt, fAttr,fAttrValue); 351 return fmt; 377 UNumberFormat *fmt = NumTest::initFmt(); local 378 //unum_setAttribute(fmt, fAttr,fAttrValue); 379 return fmt; 502 UNumberFormat *fmt = unum_open(UNUM_DECIMAL, NULL, -1, TEST_LOCALE, 0, &setupStatus); local 503 unum_applyPattern(fmt, FALSE, fPat.getTerminatedBuffer(), -1, NULL, &setupStatus); 504 return fmt; 508 UNumberFormat *fmt = unum_open(UNUM_PATTERN_DECIMAL, fPat.getTerminatedBuffer(), -1, TEST_LOCALE, 0, &setupStatus) local 514 UNumberFormat *fmt = unum_open(UNUM_DECIMAL, NULL, -1, TEST_LOCALE, 0, &setupStatus); local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
CopticTest.java | 179 SimpleDateFormat fmt = new SimpleDateFormat("EEE MMM dd, yyyy GG"); local 185 assertEquals("Gregorian Date", "Fri Aug 29, 0284 AD", fmt.format(cal.getTime())); 190 assertEquals("Gregorian Date", "Thu Aug 30, 0283 AD", fmt.format(cal.getTime()));
|
DangiTest.java | 179 DateFormat fmt = DateFormat.getDateInstance(cal, DateFormat.DEFAULT); local 240 logln("OK: " + buf + " => " + fmt.format(cal.getTime())); 242 String s = fmt.format(cal.getTime()); 250 ", expected " + fmt.format(cal.getTime()) +
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
MessageRegressionTest.java | 117 MessageFormat fmt = new MessageFormat("{0,choice,0#no files|1#one file|1< {0,number,integer} files}"); 118 String pat = fmt.toPattern(); 176 MessageFormat fmt = new MessageFormat("There are {0} apples growing on the {1} tree."); local 178 Object[] objs = fmt.parse(str, pos); 401 ChoiceFormat fmt = new ChoiceFormat( local 403 logln("Formatter Pattern : " + fmt.toPattern()); 405 logln("Format with -INF : " + fmt.format(Double.NEGATIVE_INFINITY)); 406 logln("Format with -1.0 : " + fmt.format(-1.0)); 407 logln("Format with 0 : " + fmt.format(0)); 408 logln("Format with 0.9 : " + fmt.format(0.9)) 422 ChoiceFormat fmt = new ChoiceFormat( local 722 MessageFormat fmt = new MessageFormat("There are {numberOfApples} apples growing on the {whatKindOfTree} tree."); local [all...] |
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/ |
ReportAPI.java | 287 DateFormat fmt = new SimpleDateFormat("yyyy"); local 288 String year = fmt.format(new Date());
|
/external/libldac/src/ |
ldacBT_internal.h | 120 LDACBT_SMPL_FMT_T fmt; /* sample format */ member in struct:_ldacbt_pcm_info 194 DECLFUNC int ldacBT_assert_sample_format( LDACBT_SMPL_FMT_T fmt ); 200 LDACBT_SMPL_FMT_T fmt );
|
/external/libnl/lib/route/ |
tc.c | 875 char *unit, fmt[64]; local 880 strcpy(fmt, " %7.2f %s %10u %10u %10u %10u %10u\n"); 888 fmt[11] = '9'; 890 nl_dump_line(p, fmt, res, unit, 899 strcpy(fmt, " %7.2f %s/s%9u pps"); 902 fmt[11] = '9'; 904 nl_dump_line(p, fmt, res, unit, tc->tc_stats[RTNL_TC_RATE_PPS]);
|
/external/python/cpython2/Modules/ |
ossaudiodev.c | 208 fmt = setfmt(fmt) -> ioctl(fd, SNDCTL_DSP_SETFMT, &fmt) 492 int fmt, channels, rate; local 499 fmt = wanted_fmt; 500 if (ioctl(self->fd, SNDCTL_DSP_SETFMT, &fmt) == -1) { 503 if (strict && fmt != wanted_fmt) { 507 wanted_fmt, fmt); 532 /* Construct the return value: a (fmt, channels, rate) tuple that 534 return Py_BuildValue("(iii)", fmt, channels, rate) 540 int fmt; local [all...] |
/external/python/cpython3/Lib/test/ |
test_traceback.py | 434 def fmt(): function in function:TracebackFormatTests.test_format_stack 436 result = fmt() 437 lineno = fmt.__code__.co_firstlineno 440 ' result = fmt()\n' % (__file__, lineno+2), 441 ' File "%s", line %d, in fmt\n' [all...] |
/external/python/cpython3/Modules/ |
ossaudiodev.c | 211 fmt = setfmt(fmt) -> ioctl(fd, SNDCTL_DSP_SETFMT, &fmt) 570 int fmt, channels, rate; local 580 fmt = wanted_fmt; 581 if (ioctl(self->fd, SNDCTL_DSP_SETFMT, &fmt) == -1) { 584 if (strict && fmt != wanted_fmt) { 588 wanted_fmt, fmt); 613 /* Construct the return value: a (fmt, channels, rate) tuple that 615 return Py_BuildValue("(iii)", fmt, channels, rate) 621 int fmt; local [all...] |
timemodule.c | 565 const time_char *fmt; local 613 fmt = format; 619 fmt = PyBytes_AS_STRING(format); 624 for (outbuf = strchr(fmt, '%'); 640 for (outbuf = wcschr(fmt, '%'); 656 fmtlen = time_strlen(fmt); 671 buflen = format_time(outbuf, i, fmt, &buf); [all...] |