/external/python/cpython3/Objects/clinic/ |
floatobject.c.h | 241 "__set_format__($type, typestr, fmt, /)\n" 248 " fmt\n" 263 const char *fmt); 270 const char *fmt; local 273 &typestr, &fmt)) { 276 return_value = float___set_format___impl(type, typestr, fmt);
|
/external/skia/gm/ |
p3.cpp | 25 static SkString fmt(SkColor4f c) { function 94 canvas->drawString(fmt(l.color).c_str(), 140,20, font, paint);
|
/external/skqp/gm/ |
p3.cpp | 25 static SkString fmt(SkColor4f c) { function 94 canvas->drawString(fmt(l.color).c_str(), 140,20, font, paint);
|
/frameworks/av/media/libstagefright/omx/ |
OMXUtils.cpp | 216 const OMX_COLOR_FORMATTYPE fmt = params.eColorFormat; local 221 if (fmt != OMX_COLOR_FormatYUV420Planar && 222 fmt != OMX_COLOR_FormatYUV420PackedPlanar && 223 fmt != OMX_COLOR_FormatYUV420SemiPlanar && 224 fmt != OMX_COLOR_FormatYUV420PackedSemiPlanar && 225 fmt != (OMX_COLOR_FORMATTYPE)HAL_PIXEL_FORMAT_YV12) { 226 ALOGW("do not know color format 0x%x = %d", fmt, fmt); 227 if (fmt == OMX_COLOR_FormatYUV420Planar16) { 246 fmt, fmt, params.nStride, params.nSliceHeight) [all...] |
/device/google/cuttlefish_common/guest/hals/audio/legacy/ |
vsoc_audio_output_stream.cpp | 106 int fmt = 0; local 107 if (str_parms_get_int(parms.get(), AUDIO_PARAMETER_STREAM_FORMAT, &fmt) 109 SetFormat(static_cast<audio_format_t>(fmt));
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/framer/framer/ |
function.py | 10 def parsefmt(fmt):
11 for c in fmt:
45 fmt = None
variable in class:_ArgumentList 81 def __init__(self, args, fmt=None):
84 if fmt is not None:
85 self.fmt = fmt
87 for code in parsefmt(fmt):
167 if self.args.fmt is not None:
168 v["ArgParse"] = self.args.fmt
[all...] |
/external/adhd/cras/src/tests/ |
alsa_helpers_unittest.cc | 43 struct cras_audio_format *fmt; local 53 fmt = cras_audio_format_create(SND_PCM_FORMAT_S16_LE, 44100, 2); 54 cras_audio_format_set_channel_layout(fmt, channel_layout); 75 /* Test if there's a cap matches fmt */ 76 c = cras_chmap_caps_match(caps, fmt); 82 c = cras_chmap_caps_match(caps, fmt); 90 cras_audio_format_destroy(fmt); 96 struct cras_audio_format *fmt; local 106 fmt = cras_audio_format_create(SND_PCM_FORMAT_S16_LE, 44100, 6); 107 cras_audio_format_set_channel_layout(fmt, channel_layout) [all...] |
apm_list_unittest.cc | 46 struct cras_audio_format fmt; local 48 fmt.num_channels = 2; 49 fmt.frame_rate = 48000; 50 fmt.format = SND_PCM_FORMAT_S16_LE; 55 EXPECT_NE((void *)NULL, cras_apm_list_add(list, dev_ptr, &fmt)); 58 EXPECT_NE((void *)NULL, cras_apm_list_add(list, dev_ptr2, &fmt)); 73 struct cras_audio_format fmt; local 77 fmt.num_channels = 2; 78 fmt.frame_rate = 48000; 79 fmt.format = SND_PCM_FORMAT_S16_LE 125 struct cras_audio_format fmt; local [all...] |
timing_unittest.cc | 305 cras_audio_format fmt; local 306 fill_audio_format(&fmt, 48000); 312 create_stream(1, 1, CRAS_STREAM_INPUT, 240, &fmt); 326 &fmt, streams); 339 cras_audio_format fmt; local 340 fill_audio_format(&fmt, 48000); 346 create_stream(1, 1, CRAS_STREAM_INPUT, 240, &fmt); 358 4096, 7000, &start, &fmt, streams, CRAS_NODE_TYPE_HOTWORD); 379 cras_audio_format fmt; local 380 fill_audio_format(&fmt, 48000) [all...] |
/external/catch2/include/reporters/ |
catch_reporter_junit.cpp | 40 const char * const fmt = "%Y-%m-%dT%H:%M:%SZ"; local 43 std::strftime(timeStamp, timeStampSize, fmt, &timeInfo); 45 std::strftime(timeStamp, timeStampSize, fmt, timeInfo);
|
/external/deqp/modules/gles31/functional/ |
es31fTextureBorderClampTests.cpp | 107 const tcu::TextureFormat fmt = glu::mapGLInternalFormat(format); local 109 if (fmt.order == tcu::TextureFormat::D) 114 else if (fmt.order == tcu::TextureFormat::DS && mode == tcu::Sampler::MODE_DEPTH) 135 const tcu::TextureFormat fmt = glu::mapGLInternalFormat(format); local 137 if (fmt.order == tcu::TextureFormat::S) 142 else if (fmt.order == tcu::TextureFormat::DS && mode == tcu::Sampler::MODE_STENCIL) 164 const tcu::TextureFormat fmt = glu::mapGLInternalFormat(format); local 165 const tcu::TextureFormat effectiveFmt = tcu::getEffectiveDepthStencilTextureFormat(fmt, mode); [all...] |
/external/grpc-grpc/test/core/gpr/ |
time_test.cc | 42 char fmt[32]; local 44 sprintf(fmt, "%%0%d%s", chars, base == 16 ? PRIxMAX : PRIdMAX); 45 sprintf(buf, fmt, x);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
NumberFormatRoundTripTest.java | 49 NumberFormat fmt = null; local 54 fmt = NumberFormat.getInstance(); 55 _test(fmt); 58 fmt = NumberFormat.getCurrencyInstance(); 59 _test(fmt); 62 fmt = NumberFormat.getPercentInstance(); 63 _test(fmt); 76 fmt = NumberFormat.getInstance(loc[i]); 77 _test(fmt); 79 fmt = NumberFormat.getCurrencyInstance(loc[i]) [all...] |
RBNFParseTest.java | 92 RuleBasedNumberFormat fmt = new RuleBasedNumberFormat(tests[i], Locale.US); local 93 logln("1.23: " + fmt.format(20)); 94 logln("-123: " + fmt.format(-123)); 95 logln(".123: " + fmt.format(.123)); 96 logln(" 123: " + fmt.format(123));
|
RbnfLenientScannerTest.java | 159 RuleBasedNumberFormat fmt = new RuleBasedNumberFormat(loc, j+1); local 172 String s = fmt.format(n); 180 fmt.setLenientParseMode(false); 181 Number num = fmt.parse(s); 185 fmt.setLenientScannerProvider(provider); 186 fmt.setLenientParseMode(true); 187 num = fmt.parse(s);
|
/external/icu/icu4c/source/samples/date/ |
date.c | 261 UDateFormat *fmt; local 276 fmt = udat_open(style, style, locale, tz, -1,NULL,0, status); 279 udat_applyPattern(fmt,FALSE,uFormat,-1); 281 len = udat_format(fmt, when, 0, len, 0, status); 286 udat_format(fmt, when, s, len + 1, 0, status); 300 udat_close(fmt); 306 UDateFormat *fmt = NULL; local 331 fmt = udat_open(style, style, locale, tz, -1,NULL,0, status); 334 udat_applyPattern(fmt,FALSE,uFormat,-1); 338 when = udat_parse(fmt, uParse, -1, &parsepos, status) [all...] |
/external/icu/icu4c/source/test/intltest/ |
nmfmtrt.cpp | 95 NumberFormat *fmt = NULL; local 99 fmt = NumberFormat::createInstance(status); 101 test(fmt); 103 delete fmt; 105 fmt = NumberFormat::createCurrencyInstance(status); 107 test(fmt); 109 delete fmt; 111 fmt = NumberFormat::createPercentInstance(status); 113 test(fmt); 115 delete fmt; [all...] |
selfmts.cpp | 223 SelectFormat fmt = *selFmt[0]; local 224 SelectFormat* dupPFmt = new SelectFormat(fmt);
|
simpleformattertest.cpp | 69 SimpleFormatter fmt("This doesn''t have templates '{0}", status); 70 assertEquals("getArgumentLimit", 0, fmt.getArgumentLimit()); 75 fmt.format("unused", appendTo, status)); 81 fmt.formatAndAppend(NULL, 0, appendTo, offsets, 1, status)); 86 fmt.formatAndReplace(NULL, 0, appendTo, NULL, 0, status)); 92 SimpleFormatter fmt("{}", status); 95 fmt.applyPattern("{12d", status); 101 SimpleFormatter fmt; local 102 fmt.applyPattern("{0} meter", status); 106 assertEquals("getArgumentLimit", 1, fmt.getArgumentLimit()) 152 SimpleFormatter fmt; local 340 SimpleFormatter fmt; local 370 SimpleFormatter fmt; local 400 SimpleFormatter fmt; local 430 SimpleFormatter fmt; local 460 SimpleFormatter fmt; local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
QuantityFormatter.java | 108 Number number, NumberFormat fmt, PluralRules rules, 111 fmt.format(number, formattedNumber, fpos);
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/ |
RbnfLenientScannerTest.java | 156 RuleBasedNumberFormat fmt = new RuleBasedNumberFormat(loc, j+1); local 169 String s = fmt.format(n); 177 fmt.setLenientParseMode(false); 178 Number num = fmt.parse(s); 182 fmt.setLenientScannerProvider(provider); 183 fmt.setLenientParseMode(true); 184 num = fmt.parse(s);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
NumberFormatRoundTripTest.java | 46 NumberFormat fmt = null; local 51 fmt = NumberFormat.getInstance(); 52 _test(fmt); 55 fmt = NumberFormat.getCurrencyInstance(); 56 _test(fmt); 59 fmt = NumberFormat.getPercentInstance(); 60 _test(fmt); 73 fmt = NumberFormat.getInstance(loc[i]); 74 _test(fmt); 76 fmt = NumberFormat.getCurrencyInstance(loc[i]) [all...] |
RBNFParseTest.java | 89 RuleBasedNumberFormat fmt = new RuleBasedNumberFormat(tests[i], Locale.US); local 90 logln("1.23: " + fmt.format(20)); 91 logln("-123: " + fmt.format(-123)); 92 logln(".123: " + fmt.format(.123)); 93 logln(" 123: " + fmt.format(123));
|
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/index/ |
IndexGenerator.java | 64 DateFormat fmt = DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.LONG, Locale.US); local 71 pw.println("# Generated by " + IndexGenerator.class.getName() + " on " + fmt.format(now));
|
/external/libaom/libaom/test/ |
end_to_end_test.cc | 51 aom_img_fmt fmt; member in struct:__anon26739::__anon26740 59 << " fmt:" << test_arg.fmt << " bit_depth:" << test_arg.bit_depth 173 test_video_param_.filename, test_video_param_.fmt, kWidth, kHeight,
|