Searched refs:formats (Results 1 - 25 of 66) sorted by relevance

123

/external/qemu/distrib/sdl-1.2.15/test/
H A Dtesticonv.c18 const char * formats[] = { local
53 for ( i = 0; i < SDL_arraysize(formats); ++i ) {
54 test[0] = SDL_iconv_string(formats[i], "UCS-4", ucs4, len);
55 test[1] = SDL_iconv_string("UCS-4", formats[i], test[0], len);
57 fprintf(stderr, "FAIL: %s\n", formats[i]);
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
H A DMessageFormatTest.java97 Format[] formats = format.getFormats();
98 assertNotNull("null formats", formats);
99 assertTrue("Wrong format count: " + formats.length, formats.length >= 5);
100 assertTrue("Wrong time format", formats[0].equals(DateFormat
102 assertTrue("Wrong date format", formats[1].equals(DateFormat
104 assertTrue("Wrong number format", formats[2].equals(NumberFormat
106 assertTrue("Wrong choice format", formats[3].equals(new ChoiceFormat(
108 assertNull("Wrong string format", formats[
[all...]
H A DChoiceFormatTest.java32 String[] formats = new String[] { "Less than one", "one", field in class:ChoiceFormatTest
35 ChoiceFormat f1 = new ChoiceFormat(limits, formats);
145 assertTrue("Incorrect formats", java.util.Arrays.equals(f.getFormats(),
157 assertTrue("Incorrect formats", java.util.Arrays.equals(f.getFormats(),
181 assertTrue("Incorrect formats", java.util.Arrays.equals(f.getFormats(),
235 assertTrue("Should be equals--same limits, same formats",
300 String[] orgFormats = (String[]) formats.clone();
302 assertTrue("Wrong formats", f.equals(formats));
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowCameraParameters.java70 List<Integer> formats = new ArrayList<Integer>();
71 formats.add(ImageFormat.NV21);
72 formats.add(ImageFormat.JPEG);
73 return formats;
78 List<Integer> formats = new ArrayList<Integer>();
79 formats.add(ImageFormat.NV21);
80 formats.add(ImageFormat.JPEG);
81 return formats;
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
H A DDecodeThread.java52 Vector<BarcodeFormat> formats = new Vector<BarcodeFormat>();
53 formats.add(BarcodeFormat.QR_CODE);
54 hints.put(DecodeHintType.POSSIBLE_FORMATS, formats);
/external/apache-http/src/org/apache/http/impl/cookie/
H A DDateUtils.java47 * 3.3.1 as well as some other common non-standard formats.
89 * Parses a date value. The formats used for parsing the date value are retrieved from
97 * supported date formats
104 * Parses the date value using the given date formats.
107 * @param dateFormats the date formats to use
119 * Parses the date value using the given date formats.
122 * @param dateFormats the date formats to use
242 Map<String, SimpleDateFormat> formats = ref.get();
243 if (formats == null) {
244 formats
[all...]
/external/clang/test/Sema/
H A Dimplicit-decl.c29 int formats = 0; local
/external/icu4c/i18n/unicode/
H A Dchoicfmt.h190 * Copies the limits and formats instead of adopting them.
193 * @param formats Array of formats.
194 * @param count Size of 'limits' and 'formats' arrays.
198 const UnicodeString* formats,
204 * Copies the limits and formats instead of adopting them.
211 * @param formats Array of formats
212 * @param count Size of 'limits', 'closures', and 'formats' arrays
217 const UnicodeString* formats,
[all...]
/external/icu4c/i18n/
H A Dchoicfmt.cpp88 const UnicodeString* formats,
93 setChoices(limits, NULL, formats, cnt, constructorErrorCode);
100 const UnicodeString* formats,
105 setChoices(limits, closures, formats, cnt, constructorErrorCode);
254 const UnicodeString* formats,
258 setChoices(limits, NULL, formats, cnt, errorCode);
266 const UnicodeString* formats,
270 setChoices(limits, closures, formats, cnt, errorCode);
276 const UnicodeString* formats,
282 if (limits == NULL || formats
87 ChoiceFormat(const double* limits, const UnicodeString* formats, int32_t cnt ) argument
98 ChoiceFormat(const double* limits, const UBool* closures, const UnicodeString* formats, int32_t cnt ) argument
253 setChoices( const double* limits, const UnicodeString* formats, int32_t cnt ) argument
264 setChoices( const double* limits, const UBool* closures, const UnicodeString* formats, int32_t cnt ) argument
274 setChoices(const double* limits, const UBool* closures, const UnicodeString* formats, int32_t count, UErrorCode &errorCode) argument
[all...]
/external/webkit/Source/WebCore/platform/win/
H A DWCDataObject.cpp38 WCEnumFormatEtc(const Vector<FORMATETC>& formats);
39 WCEnumFormatEtc(const Vector<FORMATETC*>& formats);
60 WCEnumFormatEtc::WCEnumFormatEtc(const Vector<FORMATETC>& formats) argument
64 for(size_t i = 0; i < formats.size(); ++i)
65 m_formats.append(formats[i]);
68 WCEnumFormatEtc::WCEnumFormatEtc(const Vector<FORMATETC*>& formats) argument
72 for(size_t i = 0; i < formats.size(); ++i)
73 m_formats.append(*formats[i]);
/external/webkit/Source/WebCore/platform/
H A DMIMETypeRegistry.cpp99 QList<QByteArray> formats = QImageReader::supportedImageFormats();
100 for (size_t i = 0; i < static_cast<size_t>(formats.size()); ++i) {
105 if (formats.at(i).toLower().startsWith("svg"))
108 String mimeType = MIMETypeRegistry::getMIMETypeForExtension(formats.at(i).constData());
178 QList<QByteArray> formats = QImageWriter::supportedImageFormats(); local
179 for (int i = 0; i < formats.size(); ++i) {
180 String mimeType = MIMETypeRegistry::getMIMETypeForExtension(formats.at(i).constData());
/external/icu4c/test/intltest/
H A Dtufmtts.cpp44 TimeUnitFormat** formats = new TimeUnitFormat*[2]; local
45 formats[UTMUTFMT_FULL_STYLE] = new TimeUnitFormat(loc, status);
47 formats[UTMUTFMT_ABBREVIATED_STYLE] = new TimeUnitFormat(loc, UTMUTFMT_ABBREVIATED_STYLE, status);
71 formatted = ((Format*)formats[style])->format(formattable, formatted, status);
79 ((Format*)formats[style])->parseObject(formatted, result, status);
86 ((Format*)formats[1-style])->parseObject(formatted, result_1, status);
94 delete formats[UTMUTFMT_FULL_STYLE];
95 delete formats[UTMUTFMT_ABBREVIATED_STYLE];
96 delete[] formats;
H A Dtmsgfmt.cpp159 const UnicodeString formats[] = {"0.0<=Arg<1.0", local
162 ChoiceFormat *cf = new ChoiceFormat(limit, formats, 3);
607 // nested formats
800 //Select, plural, and number formats heavily nested
802 //Create the MessageFormat with Select, plural, and number formats heavily nested
1201 const Format** formats = msg.getFormats(count); local
1212 if (!formats || !formatsCmp || (count <= 0) || (count != countCmp)) {
1220 a = formats[i];
1233 msg.applyPattern( formatStrChange, err ); //set msg formats to something different
1269 // ICU 4.8 does not support toPattern() when there are custom formats (fro
1524 UnicodeString formats[] = { local
1737 const UnicodeString formats[] = {"0.0<=Arg<1.0", local
[all...]
/external/webkit/Source/WebCore/platform/qt/
H A DClipboardQt.cpp117 if (m_writableData->formats().isEmpty()) {
200 QStringList formats = m_readableData->formats(); local
201 for (int i = 0; i < formats.count(); ++i)
202 result.add(formats.at(i));
360 return data->formats().count() > 0;
/external/qemu/distrib/sdl-1.2.15/src/video/x11/
H A DSDL_x11yuv.c192 if ( ainfo[i].formats[j].visual_id ==
211 SDL_NAME(XvImageFormatValues) *formats;
212 formats = SDL_NAME(XvListImageFormats)(GFX_Display,
220 if ( (Uint32)formats[j].id == format ) {
229 if ( formats ) {
230 XFree(formats);
263 if (ainfo[i].formats != NULL) Xfree(ainfo[i].formats);
423 certain formats when the XvImage is too large to the i810's liking.
/external/chromium/chrome/browser/ui/views/frame/
H A Dbrowser_root_view.h30 int* formats,
H A Dbrowser_root_view.cc29 int* formats,
32 *formats = ui::OSExchangeData::URL | ui::OSExchangeData::STRING;
28 GetDropFormats( int* formats, std::set<ui::OSExchangeData::CustomFormat>* custom_formats) argument
/external/skia/include/utils/
H A DSkWGL.h79 * WGL doesn't have precise rules for the ordering of formats returned
81 * formats returned by wglChoosePixelFormat. The rules in decreasing
83 * * Choose formats with the smallest sample count that is >=
84 * desiredSampleCount (or the largest sample count if all formats have
86 * * Choose formats with the fewest color samples when coverage sampling
88 * * If the above rules leave multiple formats, choose the one that
89 * appears first in the formats array parameter.
91 int selectFormat(const int formats[],
/external/skia/src/utils/win/
H A DSkWGL_win.cpp104 int SkWGLExtensions::selectFormat(const int formats[], argument
129 formats[i],
134 rankedFormats[i].fFormat = formats[i];
/external/qemu/android/camera/
H A Dcamera-capture-linux.c109 /* Preferred pixel formats arranged from the most to the least desired.
112 * conversion between the camera supported formats, and formats that are
115 * contain only those formats, for which converters are implemented. Generally
117 * only as far as conversion speed is concerned. So, formats with the fastest
169 * is that when the camera service enumerates all pixel formats for all cameras
172 * formats, contained in _preferred_formats array against enumerated pixel
173 * formats to pick the first format that match.
176 * formats - Array containing list of pixel formats, supporte
183 _get_format_index(uint32_t fmt, QemuPixelFormat* formats, int size) argument
759 QemuPixelFormat* formats = NULL; local
[all...]
/external/chromium/chrome/browser/ui/views/extensions/
H A Dbrowser_action_overflow_menu_controller.h60 int* formats,
/external/antlr/antlr-3.4/runtime/Python/
H A Dhudson-build.sh68 python setup.py sdist --formats=gztar,zip
/external/bluetooth/bluedroid/btif/src/
H A Dbtif_sock_sdp.c250 tBTA_OP_FMT_MASK formats = BTUI_OPS_FORMATS; local
289 if ((formats >> i) & 1)
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
H A Dant-jdepend.jar ... .tools.ant.types.EnumeratedAttribute { private String[] formats public void " href="/4.3_r2.1/s? ...
/external/chromium/chrome/browser/ui/views/bookmarks/
H A Dbookmark_menu_controller_views.h92 int* formats,

Completed in 598 milliseconds

123