/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
D | MessageFormatTest.java | 97 Format[] formats = format.getFormats(); in test_ConstructorLjava_lang_String() local 98 assertNotNull("null formats", formats); in test_ConstructorLjava_lang_String() 99 assertTrue("Wrong format count: " + formats.length, formats.length >= 5); in test_ConstructorLjava_lang_String() 100 assertTrue("Wrong time format", formats[0].equals(DateFormat in test_ConstructorLjava_lang_String() 102 assertTrue("Wrong date format", formats[1].equals(DateFormat in test_ConstructorLjava_lang_String() 104 assertTrue("Wrong number format", formats[2].equals(NumberFormat in test_ConstructorLjava_lang_String() 106 assertTrue("Wrong choice format", formats[3].equals(new ChoiceFormat( in test_ConstructorLjava_lang_String() 108 assertNull("Wrong string format", formats[4]); in test_ConstructorLjava_lang_String() 320 Format[] formats = clone.getFormats(); in test_clone() local 321 ((SimpleDateFormat) formats[0]).applyPattern("adk123"); in test_clone() [all …]
|
D | ChoiceFormatTest.java | 32 String[] formats = new String[] { "Less than one", "one", field in ChoiceFormatTest 35 ChoiceFormat f1 = new ChoiceFormat(limits, formats); 300 String[] orgFormats = (String[]) formats.clone(); in test_getFormats() 302 assertTrue("Wrong formats", f.equals(formats)); in test_getFormats()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowCameraParameters.java | 70 List<Integer> formats = new ArrayList<Integer>(); in getSupportedPictureFormats() local 71 formats.add(ImageFormat.NV21); in getSupportedPictureFormats() 72 formats.add(ImageFormat.JPEG); in getSupportedPictureFormats() 73 return formats; in getSupportedPictureFormats() 78 List<Integer> formats = new ArrayList<Integer>(); in getSupportedPreviewFormats() local 79 formats.add(ImageFormat.NV21); in getSupportedPreviewFormats() 80 formats.add(ImageFormat.JPEG); in getSupportedPreviewFormats() 81 return formats; in getSupportedPreviewFormats()
|
/external/qemu/distrib/sdl-1.2.15/test/ |
D | testiconv.c | 18 const char * formats[] = { in main() local 53 for ( i = 0; i < SDL_arraysize(formats); ++i ) { in main() 54 test[0] = SDL_iconv_string(formats[i], "UCS-4", ucs4, len); in main() 55 test[1] = SDL_iconv_string("UCS-4", formats[i], test[0], len); in main() 57 fprintf(stderr, "FAIL: %s\n", formats[i]); in main()
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
D | DateUtils.java | 242 Map<String, SimpleDateFormat> formats = ref.get(); in formatFor() local 243 if (formats == null) { in formatFor() 244 formats = new HashMap<String, SimpleDateFormat>(); in formatFor() 246 new SoftReference<Map<String, SimpleDateFormat>>(formats)); in formatFor() 249 SimpleDateFormat format = formats.get(pattern); in formatFor() 253 formats.put(pattern, format); in formatFor()
|
/external/icu4c/i18n/ |
D | choicfmt.cpp | 88 const UnicodeString* formats, in ChoiceFormat() argument 93 setChoices(limits, NULL, formats, cnt, constructorErrorCode); in ChoiceFormat() 100 const UnicodeString* formats, in ChoiceFormat() argument 105 setChoices(limits, closures, formats, cnt, constructorErrorCode); in ChoiceFormat() 254 const UnicodeString* formats, in setChoices() argument 258 setChoices(limits, NULL, formats, cnt, errorCode); in setChoices() 266 const UnicodeString* formats, in setChoices() argument 270 setChoices(limits, closures, formats, cnt, errorCode); in setChoices() 276 const UnicodeString* formats, in setChoices() argument 282 if (limits == NULL || formats == NULL) { in setChoices() [all …]
|
/external/webkit/Source/WebCore/platform/win/ |
D | WCDataObject.cpp | 38 WCEnumFormatEtc(const Vector<FORMATETC>& formats); 39 WCEnumFormatEtc(const Vector<FORMATETC*>& formats); 60 WCEnumFormatEtc::WCEnumFormatEtc(const Vector<FORMATETC>& formats) in WCEnumFormatEtc() argument 64 for(size_t i = 0; i < formats.size(); ++i) in WCEnumFormatEtc() 65 m_formats.append(formats[i]); in WCEnumFormatEtc() 68 WCEnumFormatEtc::WCEnumFormatEtc(const Vector<FORMATETC*>& formats) in WCEnumFormatEtc() argument 72 for(size_t i = 0; i < formats.size(); ++i) in WCEnumFormatEtc() 73 m_formats.append(*formats[i]); in WCEnumFormatEtc()
|
/external/icu4c/test/intltest/ |
D | tufmtts.cpp | 44 TimeUnitFormat** formats = new TimeUnitFormat*[2]; in testBasic() local 45 formats[UTMUTFMT_FULL_STYLE] = new TimeUnitFormat(loc, status); in testBasic() 47 … formats[UTMUTFMT_ABBREVIATED_STYLE] = new TimeUnitFormat(loc, UTMUTFMT_ABBREVIATED_STYLE, status); in testBasic() 71 formatted = ((Format*)formats[style])->format(formattable, formatted, status); in testBasic() 79 ((Format*)formats[style])->parseObject(formatted, result, status); in testBasic() 86 ((Format*)formats[1-style])->parseObject(formatted, result_1, status); in testBasic() 94 delete formats[UTMUTFMT_FULL_STYLE]; in testBasic() 95 delete formats[UTMUTFMT_ABBREVIATED_STYLE]; in testBasic() 96 delete[] formats; in testBasic()
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
D | DecodeThread.java | 52 Vector<BarcodeFormat> formats = new Vector<BarcodeFormat>(); in DecodeThread() local 53 formats.add(BarcodeFormat.QR_CODE); in DecodeThread() 54 hints.put(DecodeHintType.POSSIBLE_FORMATS, formats); in DecodeThread()
|
/external/webkit/Source/WebCore/platform/ |
D | MIMETypeRegistry.cpp | 99 QList<QByteArray> formats = QImageReader::supportedImageFormats(); in initializeSupportedImageMIMETypes() 100 for (size_t i = 0; i < static_cast<size_t>(formats.size()); ++i) { in initializeSupportedImageMIMETypes() 105 if (formats.at(i).toLower().startsWith("svg")) in initializeSupportedImageMIMETypes() 108 String mimeType = MIMETypeRegistry::getMIMETypeForExtension(formats.at(i).constData()); in initializeSupportedImageMIMETypes() 178 QList<QByteArray> formats = QImageWriter::supportedImageFormats(); in initializeSupportedImageMIMETypesForEncoding() local 179 for (int i = 0; i < formats.size(); ++i) { in initializeSupportedImageMIMETypesForEncoding() 180 String mimeType = MIMETypeRegistry::getMIMETypeForExtension(formats.at(i).constData()); in initializeSupportedImageMIMETypesForEncoding()
|
/external/webkit/Source/WebCore/platform/qt/ |
D | ClipboardQt.cpp | 117 if (m_writableData->formats().isEmpty()) { in clearData() 200 QStringList formats = m_readableData->formats(); in types() local 201 for (int i = 0; i < formats.count(); ++i) in types() 202 result.add(formats.at(i)); in types() 360 return data->formats().count() > 0; in hasData()
|
/external/icu4c/i18n/unicode/ |
D | choicfmt.h | 198 const UnicodeString* formats, 217 const UnicodeString* formats, 324 const UnicodeString* formats, 571 const UnicodeString* formats,
|
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
D | SDL_x11yuv.c | 192 if ( ainfo[i].formats[j].visual_id == in X11_CreateYUVOverlay() 211 SDL_NAME(XvImageFormatValues) *formats; in X11_CreateYUVOverlay() 212 formats = SDL_NAME(XvListImageFormats)(GFX_Display, in X11_CreateYUVOverlay() 220 if ( (Uint32)formats[j].id == format ) { in X11_CreateYUVOverlay() 229 if ( formats ) { in X11_CreateYUVOverlay() 230 XFree(formats); in X11_CreateYUVOverlay() 263 if (ainfo[i].formats != NULL) Xfree(ainfo[i].formats); in X11_CreateYUVOverlay()
|
/external/qemu/android/camera/ |
D | camera-capture-linux.c | 183 _get_format_index(uint32_t fmt, QemuPixelFormat* formats, int size) in _get_format_index() argument 186 for (f = 0; f < size && formats[f].format != fmt; f++); in _get_format_index() 759 QemuPixelFormat* formats = NULL; in _camera_device_get_info() local 760 int num_pix_fmts = _camera_device_enum_pixel_formats(cd, &formats); in _camera_device_get_info() 767 chosen = _get_format_index(_preferred_formats[f], formats, num_pix_fmts); in _camera_device_get_info() 780 cis->pixel_format = formats[chosen].format; in _camera_device_get_info() 781 cis->frame_sizes_num = formats[chosen].dim_num; in _camera_device_get_info() 783 cis->frame_sizes = formats[chosen].dims; in _camera_device_get_info() 784 formats[chosen].dims = NULL; in _camera_device_get_info() 788 _qemu_pixel_format_free(formats + f); in _camera_device_get_info() [all …]
|
/external/skia/src/utils/win/ |
D | SkWGL_win.cpp | 104 int SkWGLExtensions::selectFormat(const int formats[], in selectFormat() argument 129 formats[i], in selectFormat() 134 rankedFormats[i].fFormat = formats[i]; in selectFormat()
|
/external/llvm/utils/lit/tests/Inputs/shtest-format/external_shell/ |
D | lit.local.cfg | 1 config.test_format = lit.formats.ShTest(execute_external=True)
|
/external/llvm/utils/lit/lit/ExampleTests/ShExternal/ |
D | lit.local.cfg | 3 config.test_format = lit.formats.ShTest(execute_external = True)
|
/external/llvm/utils/lit/lit/ExampleTests/ShInternal/ |
D | lit.local.cfg | 3 config.test_format = lit.formats.ShTest(execute_external = False)
|
/external/chromium/chrome/browser/ui/views/frame/ |
D | browser_root_view.cc | 29 int* formats, in GetDropFormats() argument 32 *formats = ui::OSExchangeData::URL | ui::OSExchangeData::STRING; in GetDropFormats()
|
/external/llvm/utils/lit/tests/Inputs/unittest-adaptor/ |
D | lit.cfg | 3 config.test_format = lit.formats.ShTest()
|
/external/llvm/utils/lit/tests/Inputs/discovery/subsuite/ |
D | lit.cfg | 3 config.test_format = lit.formats.ShTest()
|
/external/llvm/utils/lit/tests/Inputs/shtest-shell/ |
D | lit.cfg | 3 config.test_format = lit.formats.ShTest()
|
/external/llvm/utils/lit/tests/Inputs/discovery/ |
D | lit.cfg | 3 config.test_format = lit.formats.ShTest()
|
/external/icu4c/test/testdata/ |
D | format.txt | 112 // normal formats, combined using 'at' 120 // normal formats, combined using ", " 128 // formats with relative day, combined using 'at' 136 // formats with relative day, combined using ", " 144 // normal formats that have quoted literals, combined 152 // vi combined formats have time first 167 // el combines formats using hyphen
|
/external/llvm/utils/lit/tests/Inputs/shtest-format/ |
D | lit.cfg | 3 config.test_format = lit.formats.ShTest()
|