/frameworks/base/core/jni/ |
android_view_TextureView.cpp | 79 static inline SkBitmap::Config convertPixelFormat(int32_t format) { 80 switch (format) { 159 ssize_t bytesCount = buffer.stride * bytesPerPixel(buffer.format); 162 bitmap.setConfig(convertPixelFormat(buffer.format), buffer.width, buffer.height, bytesCount); 164 if (buffer.format == WINDOW_FORMAT_RGBX_8888) { 174 SET_INT(canvas, gCanvasClassInfo.mSurfaceFormat, buffer.format);
|
/packages/apps/Camera/jni/feature_stab/src/dbregtest/ |
PgmImage.cpp | 29 PgmImage::PgmImage(int w, int h, int format) : 30 m_colors(255),m_w(w),m_h(h),m_format(format),m_over_allocation(256) 32 SetFormat(format); 83 void PgmImage::SetFormat(int format) 85 m_format = format; 87 switch (format) 249 o << "Format: RGB binary pixmap"; 252 o << "Format: PPM binary graymap"; 255 o << "Format: Invalid";
|
/packages/apps/Gallery2/jni_mosaic/feature_stab/src/dbregtest/ |
PgmImage.cpp | 29 PgmImage::PgmImage(int w, int h, int format) : 30 m_colors(255),m_w(w),m_h(h),m_format(format),m_over_allocation(256) 32 SetFormat(format); 83 void PgmImage::SetFormat(int format) 85 m_format = format; 87 switch (format) 249 o << "Format: RGB binary pixmap"; 252 o << "Format: PPM binary graymap"; 255 o << "Format: Invalid";
|
/packages/apps/LegacyCamera/jni/feature_stab/src/dbregtest/ |
PgmImage.cpp | 29 PgmImage::PgmImage(int w, int h, int format) : 30 m_colors(255),m_w(w),m_h(h),m_format(format),m_over_allocation(256) 32 SetFormat(format); 83 void PgmImage::SetFormat(int format) 85 m_format = format; 87 switch (format) 249 o << "Format: RGB binary pixmap"; 252 o << "Format: PPM binary graymap"; 255 o << "Format: Invalid";
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
DexWrapper.java | 74 return new Status(IStatus.ERROR, AdtPlugin.PLUGIN_ID, String.format( 113 String.format(Messages.DexWrapper_Failed_to_load_s, osFilepath), e); 116 String.format(Messages.DexWrapper_Failed_to_load_s, osFilepath), e); 168 String.format(Messages.DexWrapper_Unable_To_Execute_Dex_s, 202 msg = String.format("%s. Check the Eclipse log for stack trace.", 207 String.format(Messages.DexWrapper_Unable_To_Execute_Dex_s, msg), t));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/ |
ResourceNameValidator.java | 137 return String.format("'%1$c' is not a valid resource name character", c); 144 return String.format( 153 return String.format( 162 return String.format("%1$s is not a valid name (reserved Java keyword)", newText); 169 return String.format("%1$s already exists", newText); 171 return String.format("%1$s does not exist", newText);
|
/system/extras/tests/bionic/libc/common/ |
test_pthread_rwlock.c | 46 panic(const char* func, const char* format, ...) 50 va_start(args, format); 51 vfprintf(stderr, format, args); 60 error(int errcode, const char* func, const char* format, ...) 64 va_start(args, format); 65 vfprintf(stderr, format, args);
|
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/src/ |
OMX_VideoEnc_Utils.c | 45 *! that is, newest first. The date format is dd-Mon-yyyy. [all...] |
/external/webkit/Source/WebCore/html/ |
DateComponents.cpp | 44 // HTML5 uses ISO-8601 format with year >= 1. Gregorian calendar started in 682 String DateComponents::toStringForTime(SecondFormat format) const 685 SecondFormat effectiveFormat = format; 688 else if (format == None && m_second) 696 return String::format("%02d:%02d", m_hour, m_minute); 698 return String::format("%02d:%02d:%02d", m_hour, m_minute, m_second); 700 return String::format("%02d:%02d:%02d.%03d", m_hour, m_minute, m_second, m_millisecond); 704 String DateComponents::toString(SecondFormat format) const 708 return String::format("%04d-%02d-%02d", m_year, m_month + 1, m_monthDay); 710 return String::format("%04d-%02d-%02dT", m_year, m_month + 1, m_monthDay [all...] |
/external/libxslt/libxslt/ |
numbers.c | 77 * returns the numbers of bytes in the character, -1 on format error 318 xsltNumberFormatTokenize(const xmlChar *format, 339 while (! (IS_LETTER(val=xmlStringCurrentChar(NULL, format+ix, &len)) || 341 if (format[ix] == 0) /* if end of format string */ 346 tokens->start = xmlStrndup(format, ix); 351 if (format[ix] == 0) 363 val = xmlStringCurrentChar(NULL, format+ix, &len); 370 val = xmlStringCurrentChar(NULL, format+ix, &len); 375 val = xmlStringCurrentChar(NULL, format+ix, &len) [all...] |
/external/webkit/Source/JavaScriptCore/wtf/text/ |
WTFString.cpp | 334 String String::format(const char *format, ...) function in class:WTF::String 340 va_start(args, format); 343 buffer.vsprintf(format, args); 352 va_start(args, format); 359 int written = vsnprintf(buffer.data(), bufferSize, format, args); 369 va_start(args, format); 374 va_start(args, format); 378 // Do the format once to get the length. 380 int result = _vscprintf(format, args) [all...] |
/dalvik/vm/ |
Misc.cpp | 34 * Print a hex dump in this format: 171 void dvmPrintDebugMessage(const DebugOutputTarget* target, const char* format, 176 va_start(args, format); 181 format, args); 184 vfprintf(target->data.file.fp, format, args); 773 void StringAppendV(std::string* dst, const char* format, va_list ap) { 782 int result = vsnprintf(space, sizeof(space), format, backup_ap); 805 result = vsnprintf(buf, length, format, backup_ap); 827 void StringAppendF(std::string* dst, const char* format, ...) { 829 va_start(ap, format); [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
AlgorithmParametersTest.java | 120 final String strFormatParam = "format"; 123 protected byte[] engineGetEncoded(String format) throws IOException { 124 assertEquals(strFormatParam, format); 149 // test: if format param is null 153 protected byte[] engineGetEncoded(String format) throws IOException { 154 assertNull(format); // null is passed to spi-provider 325 params.init(new byte[0], "format"); 393 params.init(enc, "format"); 426 final String strFormatParam = "format"; 429 protected void engineInit(byte[] params, String format) [all...] |
/external/freetype/src/base/ |
ftglyph.c | 66 if ( slot->format != FT_GLYPH_FORMAT_BITMAP ) 166 /* check format in glyph slot */ 167 if ( slot->format != FT_GLYPH_FORMAT_OUTLINE ) 249 slot->format = FT_GLYPH_FORMAT_OUTLINE; 294 glyph->format = clazz->glyph_format; 335 copy->format = source->format; 372 if ( slot->format == FT_GLYPH_FORMAT_BITMAP ) 376 else if ( slot->format == FT_GLYPH_FORMAT_OUTLINE ) 381 /* try to find a renderer that supports the glyph image format */ [all...] |
/external/icu4c/i18n/ |
reldtfmt.cpp | 115 Format* RelativeDateFormat::clone(void) const { 119 UBool RelativeDateFormat::operator==(const Format& other) const { 133 UnicodeString& RelativeDateFormat::format( Calendar& cal, function in class:RelativeDateFormat 153 fDateTimeFormatter->format(cal,appendTo,pos); 159 fDateTimeFormatter->format(cal,appendTo,pos); 174 fCombinedFormat->format(timeDatePatterns, 2, combinedPattern, pos, status); // pos is ignored by this 176 fDateTimeFormatter->format(cal,appendTo,pos); 185 RelativeDateFormat::format(const Formattable& obj, function in class:RelativeDateFormat 191 // (the previous format() override would hide the version of 192 // format() on DateFormat that this function correspond to, so w [all...] |
/external/icu4c/test/intltest/ |
tchcfmt.cpp | 61 res1 = form->format(i, str, fpos, status ); 62 if (!chkstatus( status, "*** test_simple_example format" )) { 138 Format* filenumform = NumberFormat::createInstance( status ); 150 //const Format* testFormats[] = { fileform, NULL, filenumform }; 211 res2 = pattform->format(testArgs, 3, str, fpos, status ); 212 if (!chkstatus( status, "*** test_complex_example format" )) { 277 res2 = pattform->format(testArgs, 3, str, fpos, status ); 278 if (!chkstatus( status, "*** test_complex_example format 2" )) { 371 res1 = form_pat.format( arg_double, str, fpos ); 372 it_logln(UnicodeString("ChoiceFormat format:") + res1) [all...] |
tmsgfmt.cpp | 22 #include "unicode/format.h" 136 errln("Err: Number Format "); 137 logln("Number format creation failed."); 143 form->format(myNumber, buffer, pos); 149 errln("Err: Number Format parse"); 150 logln("Number format parse failed."); 165 cf->format((int32_t)1, toAppendTo, status); 177 // {sfb} use double format in pattern, so result will match (not strictly necessary) 217 defDateFormat->format(obj.getDate(), buffer); 322 form->format(testArgs, count, result, fieldpos, success) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
SDL_x11yuv.c | 111 switch (overlay->format) 160 SDL_Overlay *X11_CreateYUVOverlay(_THIS, int width, int height, Uint32 format, SDL_Surface *display) 176 /* Look for the XVideo extension with a valid port for this format */ 220 if ( (Uint32)formats[j].id == format ) { 238 switch (format) { 269 SDL_SetError("No available video ports for requested format"); 307 overlay->format = format; 328 hwdata->image = SDL_NAME(XvShmCreateImage)(GFX_Display, xv_port, format, 335 hwdata->image = SDL_NAME(XvShmCreateImage)(GFX_Display, xv_port, format, [all...] |
/external/srec/portable/src/ |
PFile.c | 162 ESR_ReturnCode PFileVfprintf(PFile* self, int* result, const LCHAR* format, va_list args) 171 rc = self->vfprintf(self, result, format, args); 472 int pfprintf(PFile* stream, const LCHAR* format, ...) 481 va_start(args, format); 482 rc = PFileVfprintf(stream, &result, format, args); 490 int pvfprintf(PFile* stream, const LCHAR* format, va_list argptr) 498 rc = PFileVfprintf(stream, &result, format, argptr); 505 int pprintf(const LCHAR* format, ...) 514 va_start(args, format); 515 rc = PFileVfprintf(PSTDOUT, &result, format, args) [all...] |
/external/wpa_supplicant_8/hostapd/ |
main.c | 52 char *format, *module_str; local 58 format = os_malloc(maxlen); 59 if (!format) 100 os_snprintf(format, maxlen, "%s: STA " MACSTR "%s%s: %s", 104 os_snprintf(format, maxlen, "%s:%s%s %s", 108 os_snprintf(format, maxlen, "STA " MACSTR "%s%s: %s", 112 os_snprintf(format, maxlen, "%s%s%s", 117 printf("%s\n", format); 141 syslog(priority, "%s", format); 145 os_free(format); [all...] |
/frameworks/native/opengl/tests/hwc/ |
hwcRects.cpp | 68 * of the graphic format and then the display frame rectangle where 80 * a list of attributes and the format of their expected value. 146 Rectangle() : format(defaultFormat), transform(defaultTransform), 152 uint32_t format; member in class:Rectangle 369 const struct hwcTestGraphicFormat *format; local 373 // Graphic Format 376 testPrintE("Error parsing format from: %s", rectStr.c_str()); 379 format = hwcTestGraphicFormatLookup(str.c_str()); 380 if (format == NULL) { 381 testPrintE("Unknown graphic format in: %s", rectStr.c_str()) [all...] |
/hardware/libhardware_legacy/audio/ |
A2dpAudioInterface.cpp | 64 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) 68 return mHardwareInterface->openOutputStream(devices, format, channels, sampleRate, status); 82 if ((err = out->set(devices, format, channels, sampleRate)) == NO_ERROR) { 107 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status, 110 return mHardwareInterface->openInputStream(devices, format, channels, sampleRate, status, acoustics); 202 size_t A2dpAudioInterface::getInputBufferSize(uint32_t sampleRate, int format, int channelCount) 204 return mHardwareInterface->getInputBufferSize(sampleRate, format, channelCount); 245 if (lFormat == 0) lFormat = format(); 250 if ((lFormat != format()) || 253 if (pFormat) *pFormat = format(); [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
TimeZoneTest.java | 230 failures.append(String.format("\n%20s: LD='%s' LS='%s'!", 235 failures.append(String.format("\n%20s: SD='%s' SS='%s'!", 243 failures.append(String.format("\n%20s: SS='%s' LD='%s'!", 247 failures.append(String.format("\n%20s: LS='%s' SD='%s'!", 253 failures.append(String.format("\n%20s: LD='%s' SD='%s'!", 263 failures.append(String.format("\n%s: LD %s", id, longDst)); 266 failures.append(String.format("\n%s: LS %s", id, longStd)); 269 failures.append(String.format("\n%s: SD %s", id, shortDst)); 272 failures.append(String.format("\n%s: SS %s", id, shortStd)); 310 return String.format("GMT%c%02d:%02d", sign, offset / 60, offset % 60) [all...] |
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/ |
OMX_VideoDecoder.c | 571 if (pComponentPrivate->pInPortDef->format.video.eCompressionFormat == OMX_VIDEO_CodingAVC) { 574 else if (pComponentPrivate->pInPortDef->format.video.eCompressionFormat == OMX_VIDEO_CodingWMV) { 577 else if ((pComponentPrivate->pInPortDef->format.video.eCompressionFormat == OMX_VIDEO_CodingMPEG4) || 578 (pComponentPrivate->pInPortDef->format.video.eCompressionFormat == OMX_VIDEO_CodingH263)) { 581 else if (pComponentPrivate->pInPortDef->format.video.eCompressionFormat == OMX_VIDEO_CodingMPEG2) { [all...] |
/libcore/luni/src/main/java/java/util/ |
ResourceBundle.java | 349 for (String format : formats) { 352 bundle = control.newBundle(baseName, locale, format, 354 format, loader, result, System 360 format, loader, false); 658 public NoFallbackControl(String format) { 660 listClass.add(format); 661 super.format = Collections.unmodifiableList(listClass); 665 super.format = list; 680 public SimpleControl(String format) { 682 listClass.add(format); 748 List<String> format; field in class:ResourceBundle.Control [all...] |