/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
DexWrapper.java | 71 return new Status(IStatus.ERROR, AdtPlugin.PLUGIN_ID, String.format( 109 String.format(Messages.DexWrapper_Failed_to_load_s, osFilepath), e); 112 String.format(Messages.DexWrapper_Failed_to_load_s, osFilepath), e); 161 String.format(Messages.DexWrapper_Unable_To_Execute_Dex_s, 194 msg = String.format("%s. Check the Eclipse log for stack trace.", 199 String.format(Messages.DexWrapper_Unable_To_Execute_Dex_s, msg), t));
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
PlatformPackage.java | 196 s = String.format("SDK Platform Android %1$s Preview%2$s",
200 s = String.format("SDK Platform Android %1$s%2$s",
216 s = String.format("SDK Platform Android %1$s Preview, revision %2$s%3$s",
221 s = String.format("SDK Platform Android %1$s, API %2$d, revision %3$s%4$s",
245 s += String.format("\nRevision %1$d%2$s",
277 String.format("android-%s", getVersion().getApiString())); //$NON-NLS-1$
|
/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...] |
/external/icu4c/test/intltest/ |
tmsgfmt.cpp | 22 #include "unicode/format.h" 130 errln("Err: Number Format "); 131 logln("Number format creation failed."); 137 form->format(myNumber, buffer, pos); 143 errln("Err: Number Format parse"); 144 logln("Number format parse failed."); 159 cf->format((int32_t)1, toAppendTo, status); 171 // {sfb} use double format in pattern, so result will match (not strictly necessary) 216 defDateFormat->format(obj.getDate(), buffer); 313 form->format(testArgs, count, result, fieldpos, success) [all...] |
tchcfmt.cpp | 61 res1 = form->format(i, str, fpos, status ); 62 if (!chkstatus( status, "*** test_simple_example format" )) { 128 Format* filenumform = NumberFormat::createInstance( status ); 140 //const Format* testFormats[] = { fileform, NULL, filenumform }; 201 res2 = pattform->format(testArgs, 3, str, fpos, status ); 202 if (!chkstatus( status, "*** test_complex_example format" )) { 265 res2 = pattform->format(testArgs, 3, str, fpos, status ); 266 if (!chkstatus( status, "*** test_complex_example format 2" )) { 359 res1 = form_pat.format( arg_double, str, fpos ); 360 it_logln(UnicodeString("ChoiceFormat format:") + res1) [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); 765 void StringAppendV(std::string* dst, const char* format, va_list ap) { 774 int result = vsnprintf(space, sizeof(space), format, backup_ap); 797 result = vsnprintf(buf, length, format, backup_ap); 819 void StringAppendF(std::string* dst, const char* format, ...) { 821 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/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 | 69 char *format, *module_str; local 75 format = os_malloc(maxlen); 76 if (!format) 117 os_snprintf(format, maxlen, "%s: STA " MACSTR "%s%s: %s", 121 os_snprintf(format, maxlen, "%s:%s%s %s", 125 os_snprintf(format, maxlen, "STA " MACSTR "%s%s: %s", 129 os_snprintf(format, maxlen, "%s%s%s", 134 printf("%s\n", format); 158 syslog(priority, "%s", format); 162 os_free(format); [all...] |
/frameworks/base/core/java/android/text/format/ |
DateUtils.java | 17 package android.text.format; 156 // The following FORMAT_* symbols are used for specifying the format of 187 // Date and time format strings that are constant and don't need to be 190 * This is not actually the preferred 24-hour date format in all locales. 205 // This table is used to lookup the resource string id of a format string 231 // This table is used to lookup the resource string id of a format string 525 String format = r.getQuantityString(resId, (int) count); local 526 return String.format(format, count); 551 * Example output strings for the US date format 639 String format = r.getQuantityString(resId, days); local [all...] |
/frameworks/base/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. 147 Rectangle() : format(defaultFormat), transform(defaultTransform), 153 uint32_t format; member in class:Rectangle 368 const struct hwcTestGraphicFormat *format; local 372 // Graphic Format 375 testPrintE("Error parsing format from: %s", rectStr.c_str()); 378 format = hwcTestGraphicFormatLookup(str.c_str()); 379 if (format == NULL) { 380 testPrintE("Unknown graphic format in: %s", rectStr.c_str()) [all...] |
/frameworks/base/services/surfaceflinger/ |
Layer.cpp | 139 PixelFormat format, uint32_t flags) 141 // this surfaces pixel format 143 status_t err = getPixelFormatInfo(format, &info); 146 // the display's pixel format 161 mFormat = format; 166 mCurrentOpacity = getOpacityForFormat(format); 169 mSurfaceTexture->setDefaultBufferFormat(format); 311 bool Layer::getOpacityForFormat(uint32_t format) 313 if (HARDWARE_IS_DEVICE_FORMAT(format)) { 317 status_t err = getPixelFormatInfo(PixelFormat(format), &info) [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...] |
/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 | 347 for (String format : formats) { 350 bundle = control.newBundle(baseName, locale, format, 352 format, loader, result, System 358 format, loader, false); 656 public NoFallbackControl(String format) { 658 listClass.add(format); 659 super.format = Collections.unmodifiableList(listClass); 663 super.format = list; 676 public SimpleControl(String format) { 678 listClass.add(format); 744 List<String> format; field in class:ResourceBundle.Control [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/quartz/ |
SDL_QuartzYUV.m | 114 Uint32 format, SDL_Surface *display) { 121 if (format == SDL_YV12_OVERLAY || 122 format == SDL_IYUV_OVERLAY) { 127 SDL_SetError ("Hardware: unsupported video format"); 150 SDL_SetError ("Could not find QuickTime codec for format"); 243 overlay->format = format; 254 if (format == SDL_IYUV_OVERLAY) { 256 plane2 = 1; /* Native codec format */ 259 else if (format == SDL_YV12_OVERLAY) [all...] |
/frameworks/base/core/tests/coretests/src/android/text/format/ |
TimeTest.java | 17 package android.text.format; 21 import android.text.format.Time; 193 String expectedTime = String.format("%d-%02d-%02d %02d:%02d", 195 String actualTime = String.format("%d-%02d-%02d %02d:%02d", 211 String expectedTime = String.format("%d-%02d-%02d %02d:%02d", 213 String actualTime = String.format("%d-%02d-%02d %02d:%02d", 234 String expectedTime = String.format("%d-%02d-%02d %02d:%02d isDst: %d", 237 String actualTime = String.format("%d-%02d-%02d %02d:%02d isDst: %d", 256 String expectedTime = String.format("%d-%02d-%02d %02d:%02d isDst: %d", 259 String actualTime = String.format("%d-%02d-%02d %02d:%02d isDst: %d" [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
TestPackageDef.java | 178 return String.format("%s.apk", mTargetBinaryName); 247 instrTest.addInstallApk(String.format("%s.apk", mName), mAppNameSpace); 248 mDigest = generateDigest(testCaseDir, String.format("%s.apk", mName)); 253 instrTest.addInstallApk(String.format("%s.apk", mApkToTestName), mPackageToTest); 283 instrTest.addInstallApk(String.format("%s.apk", mName), mAppNameSpace); 284 mDigest = generateDigest(testCaseDir, String.format("%s.apk", mName)); 393 buf.append(String.format("%02x", b & 0xFF));
|
/external/icu4c/i18n/ |
winnmfmt.cpp | 20 #include "unicode/format.h" 196 Format *Win32NumberFormat::clone(void) const 201 UnicodeString& Win32NumberFormat::format(double number, UnicodeString& appendTo, FieldPosition& pos) const function in class:Win32NumberFormat 203 return format(getMaximumFractionDigits(), appendTo, L"%.16f", number); 206 UnicodeString& Win32NumberFormat::format(int32_t number, UnicodeString& appendTo, FieldPosition& pos) const function in class:Win32NumberFormat 208 return format(getMinimumFractionDigits(), appendTo, L"%I32d", number); 211 UnicodeString& Win32NumberFormat::format(int64_t number, UnicodeString& appendTo, FieldPosition& pos) const function in class:Win32NumberFormat 213 return format(getMinimumFractionDigits(), appendTo, L"%I64d", number); 238 UnicodeString &Win32NumberFormat::format(int32_t numDigits, UnicodeString &appendTo, wchar_t *fmt, ...) const function in class:Win32NumberFormat
|
/external/icu4c/tools/tzcode/ |
icuzdump.cpp | 53 UnicodeString& format(UDate time, int32_t offset, UBool isDst, UnicodeString& appendTo) { function in class:DumpFormatter 56 UnicodeString str = sdf->format(time, appendTo); 72 decf->format(hour, appendTo); 73 decf->format(min, appendTo); 74 decf->format(sec, appendTo); 170 formatter->format(lot, rawOffset + dstOffset, (dstOffset == 0 ? FALSE : TRUE), str); 173 formatter->format(hit, newRawOffset + newDstOffset, (newDstOffset == 0 ? FALSE : TRUE), str);
|