/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | IntlTestDateFormat.java | 42 private DateFormat fFormat = null; field in IntlTestDateFormat 51 fFormat = DateFormat.getInstance(); in init() 74 fFormat = DateFormat.getTimeInstance(timeStyle, locale); in localeTest() 88 fFormat = DateFormat.getDateInstance(dateStyle, locale); in localeTest() 101 fFormat = DateFormat.getDateTimeInstance(dateStyle, timeStyle, locale); in localeTest() 113 if (fFormat == null) { in TestFormat() 133 if (fFormat == null) { in describeTest() 139 SimpleDateFormat s = (SimpleDateFormat) fFormat; in describeTest() 157 date[i] = fFormat.parse(string[i-1].toString()); in tryDate() 161 …rrln("********** FAIL: Parse of " + string[i-1] + " failed for locale: "+fFormat.getLocale(ULocale… in tryDate() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | IntlTestDateFormat.java | 46 private DateFormat fFormat = null; field in IntlTestDateFormat 55 fFormat = DateFormat.getInstance(); in init() 78 fFormat = DateFormat.getTimeInstance(timeStyle, locale); in localeTest() 92 fFormat = DateFormat.getDateInstance(dateStyle, locale); in localeTest() 105 fFormat = DateFormat.getDateTimeInstance(dateStyle, timeStyle, locale); in localeTest() 117 if (fFormat == null) { in TestFormat() 137 if (fFormat == null) { in describeTest() 143 SimpleDateFormat s = (SimpleDateFormat) fFormat; in describeTest() 161 date[i] = fFormat.parse(string[i-1].toString()); in tryDate() 165 …rrln("********** FAIL: Parse of " + string[i-1] + " failed for locale: "+fFormat.getLocale(ULocale… in tryDate() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | tsnmfmt.cpp | 47 fFormat = NumberFormat::createInstance(fStatus); in runIndexedTest() 83 fFormat = NumberFormat::createInstance(locale, fStatus); in testLocale() 89 fFormat = NumberFormat::createCurrencyInstance(locale, fStatus); in testLocale() 95 fFormat = NumberFormat::createPercentInstance(locale, fStatus); in testLocale() 102 fFormat = NumberFormat::createScientificInstance(locale, fStatus); in testLocale() 163 if (fFormat != 0) in testFormat() 165 delete fFormat; in testFormat() 166 fFormat = 0; in testFormat() 170 if (fFormat == 0) in testFormat() 179 DecimalFormat *s = (DecimalFormat*)fFormat; in testFormat() [all …]
|
D | tsdate.cpp | 35 fFormat = DateFormat::createInstance(); in runIndexedTest() 81 fFormat = DateFormat::createTimeInstance(timeStyle, locale); in testLocale() 92 fFormat = DateFormat::createDateInstance(dateStyle, locale); in testLocale() 105 fFormat = DateFormat::createDateTimeInstance(dateStyle, timeStyle, locale); in testLocale() 113 if (fFormat == 0) in testFormat() 135 delete fFormat; in testFormat() 142 SimpleDateFormat *s = (SimpleDateFormat*)fFormat; in describeTest() 162 fFormat->format(theDate, string[0]); in tryDate() 167 date[i] = fFormat->parse(string[i-1], status); in tryDate() 175 fFormat->format(date[i], string[i]); in tryDate()
|
D | tsmthred.cpp | 491 LocalPointer<NumberFormat> fFormat; member in ThreadSafeFormatSharedData 501 fFormat.adoptInstead(NumberFormat::createCurrencyInstance(Locale::getUS(), status)); in ThreadSafeFormatSharedData() 509 fFormat->format(fYDDThing, fYDDStr, NULL, status); in ThreadSafeFormatSharedData() 510 fFormat->format(fBBDThing, fBBDStr, NULL, status); in ThreadSafeFormatSharedData() 531 LocalPointer<NumberFormat> fFormat; // formatter - en_US constructed currency member in ThreadSafeFormat 536 fFormat.adoptInstead(NumberFormat::createCurrencyInstance(Locale::getUS(), status)); in ThreadSafeFormat() 544 if(u_strcmp(fFormat->getCurrency(), kUSD)) { in doStuff() 548 .append(fFormat->getCurrency()) in doStuff() 553 if(u_strcmp(gSharedData->fFormat->getCurrency(), kUSD)) { in doStuff() 557 .append(gSharedData->fFormat->getCurrency()) in doStuff() [all …]
|
D | tsnmfmt.h | 54 NumberFormat* fFormat; variable
|
D | tsdate.h | 56 DateFormat *fFormat; variable
|
/external/skia/include/core/ |
D | SkMask.h | 37 Format fFormat; member 60 SkASSERT(kBW_Format == fFormat); in getAddr1() 71 SkASSERT(kA8_Format == fFormat); in getAddr8() 83 SkASSERT(kLCD16_Format == fFormat); in getAddrLCD16() 96 SkASSERT(kARGB32_Format == fFormat); in getAddr32()
|
/external/skia/src/gpu/vk/ |
D | GrVkRenderPass.h | 27 VkFormat fFormat; member 29 AttachmentDesc() : fFormat(VK_FORMAT_UNDEFINED), fSamples(0) {} in AttachmentDesc() 31 return (fFormat == right.fFormat && fSamples == right.fSamples);
|
D | GrVkStencilAttachment.cpp | 23 , fFormat(format) in GrVkStencilAttachment() 39 imageDesc.fFormat = format.fInternalFormat; in Create() 78 size *= fFormat.fTotalBits; in onGpuMemorySize()
|
D | GrVkStencilAttachment.h | 36 VkFormat vkFormat() const { return fFormat.fInternalFormat; } in vkFormat() 54 Format fFormat; variable
|
D | GrVkRenderPass.cpp | 59 fAttachmentsDescriptor.fColor.fFormat, in initSimple() 78 fAttachmentsDescriptor.fResolve.fFormat, in initSimple() 93 fAttachmentsDescriptor.fStencil.fFormat, in initSimple()
|
D | GrVkImage.h | 74 VkFormat fFormat; member 85 , fFormat(VK_FORMAT_UNDEFINED) in ImageDesc()
|
D | GrVkRenderTarget.cpp | 130 msImageDesc.fFormat = pixelFormat; in Create() 246 desc->fColor.fFormat = colorFormat; in getAttachmentsDescriptor() 251 desc->fResolve.fFormat = colorFormat; in getAttachmentsDescriptor() 260 desc->fStencil.fFormat = vkStencil->vkFormat(); in getAttachmentsDescriptor()
|
D | GrVkTextureRenderTarget.cpp | 43 msImageDesc.fFormat = pixelFormat; in Create() 131 imageDesc.fFormat, imageRsrc); in CreateNewTextureRenderTarget()
|
/external/skia/src/gpu/gl/ |
D | GrGLStencilAttachment.h | 38 , fFormat(format) in GrGLStencilAttachment() 47 const Format& format() const { return fFormat; } in format() 59 Format fFormat; variable
|
D | GrGLStencilAttachment.cpp | 16 size *= fFormat.fTotalBits; in onGpuMemorySize()
|
/external/skia/src/core/ |
D | SkMask.cpp | 29 if (fFormat == SkMask::k3D_Format) { in computeTotalImageSize() 78 SkASSERT(kBW_Format != fFormat); in getAddr() 84 addr += (x - fBounds.fLeft) << maskFormatToShift(fFormat); in getAddr()
|
D | SkScalerContext.cpp | 34 mask->fFormat = static_cast<SkMask::Format>(fMaskFormat); in toMask() 220 glyph->fMaskFormat = dst.fFormat; in getMetrics() 256 SkASSERT(SkMask::kLCD16_Format == dst.fFormat); in pack4xHToLCD16() 386 paint.setAntiAlias(SkMask::kBW_Format != mask.fFormat); in generateMask() 387 switch (mask.fFormat) { in generateMask() 429 switch (mask.fFormat) { in generateMask() 515 mask.fFormat = SkMask::kA8_Format; in getImage() 527 SkASSERT(SkMask::kARGB32_Format != mask.fFormat); in getImage() 543 if (SkMask::kARGB32_Format == srcM.fFormat) { in getImage() 546 srcM.fFormat = SkMask::kA8_Format; in getImage() [all …]
|
D | SkBlitter_ARGB32.cpp | 177 if (mask.fFormat == SkMask::kBW_Format) { in blitMask() 179 } else if (SkMask::kARGB32_Format == mask.fFormat) { in blitMask() 192 if (mask.fFormat == SkMask::kBW_Format) { in blitMask() 194 } else if (SkMask::kARGB32_Format == mask.fFormat) { in blitMask() 534 if (fXfermode && (SkMask::kA8_Format != mask.fFormat)) { in blitMask() 548 proc = SkBlitMask::RowFactory(kN32_SkColorType, mask.fFormat, in blitMask() 569 SkASSERT(SkMask::kA8_Format == mask.fFormat); in blitMask()
|
D | SkBlitter_PM4f.cpp | 106 if (SkMask::kLCD16_Format == mask.fFormat) { in blitMask() 110 if (SkMask::kA8_Format != mask.fFormat) { in blitMask() 244 if (SkMask::kLCD16_Format == mask.fFormat) { in blitMask() 248 if (SkMask::kA8_Format != mask.fFormat) { in blitMask()
|
D | SkRasterizer.cpp | 24 srcM.fFormat = SkMask::kA8_Format; in rasterize()
|
/external/skia/tests/ |
D | AAClipTest.cpp | 17 if (a.fFormat != b.fFormat || a.fBounds != b.fBounds) { in operator ==() 28 switch (a.fFormat) { in operator ==() 60 mask->fFormat = SkMask::kA8_Format; in copyToMask() 300 expected.fFormat = SkMask::kA8_Format; in test_path_with_hole()
|
D | MaskCacheTest.cpp | 50 mask.fFormat = SkMask::kBW_Format; in DEF_TEST() 88 mask.fFormat = SkMask::kBW_Format; in DEF_TEST()
|
/external/skia/src/effects/ |
D | SkTableMaskFilter.cpp | 29 if (src.fFormat != SkMask::kA8_Format) { in filterMask() 35 dst->fFormat = SkMask::kA8_Format; in filterMask()
|