/external/webkit/Source/WebCore/inspector/front-end/ |
Color.js | 140 toString: function(format) 142 if (!format) 143 format = this.format; 145 switch (format) { 166 throw "invalid color format"; 290 this.format = "nickname"; 309 this.format = "shorthex"; 312 this.format = "hex"; 316 this.format = "rgb" [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
OutputFinisher.java | 276 * No need to call this.set(), since the format and other info 359 * the format out of each instruction into a separate array, to be 382 * @param formats {@code non-null;} array of per-instruction format selections 411 * No need to call this.set() since the format and 431 * @param formats {@code non-null;} array of per-instruction format selections 472 * Attempts to fit the given instruction into a format, returning 473 * either a format that the instruction fits into or {@code null} 475 * fitting process starts with the given format as a first "best 479 * @param format {@code null-ok;} the current guess as to the best instruction 480 * format to use; {@code null} means that no simple format fit 546 InsnFormat format = formats[i]; local 673 InsnFormat format = dop.getFormat(); local [all...] |
/external/bluetooth/glib/gio/ |
gsimpleasyncresult.c | 250 * @format: a string with format characters. 251 * @...: a list of values to insert into @format. 263 const char *format, 271 g_return_val_if_fail (format != NULL, NULL); 277 va_start (args, format); 278 g_simple_async_result_set_error_va (simple, domain, code, format, args); 482 const char *format, 488 message = g_strdup_vprintf (format, args); 501 * @format: a formatted error reporting string [all...] |
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
VCardService.java | 120 // If true, VCardExporter is able to emits files longer than 8.3 format. 204 String.format("received multiple import request (uri: %s, displayName: %s)", 233 String.format("The path %s is already reserved. Reject export request", 274 if (DEBUG) Log.d(LOG_TAG, String.format("Received cancel request. (id: %d)", jobId)); 287 String.format("Cancel reservation for the path %s if appropriate", path)); 293 Log.w(LOG_TAG, String.format("Tried to remove unknown job (id: %d)", jobId)); 330 Log.i(LOG_TAG, String.format("Found unfinished job (id: %d)", jobId)); 374 Log.d(LOG_TAG, String.format("Received vCard import finish notification (id: %d). " 378 Log.w(LOG_TAG, String.format("Tried to remove unknown job (id: %d)", jobId)); 386 Log.d(LOG_TAG, String.format("Received vCard export finish notification (id: %d). [all...] |
/external/bluetooth/bluez/gdbus/ |
gdbus.h | 130 const char *name, const char *format, ...) 131 __attribute__((format(printf, 4, 5))); 134 const char *format, va_list args); 137 const char *format, ...) 138 __attribute__((format(printf, 3, 4))); 140 const char *format, va_list args);
|
/external/icu4c/test/intltest/ |
dtptngts.cpp | 347 SimpleDateFormat *format = new SimpleDateFormat(findPattern, deLocale, status); local 357 delete format; 360 format->setTimeZone(*zone); 363 dateReturned = format->format(sampleDate, dateReturned, status); 377 format->applyPattern(gen->getBestPattern(UnicodeString("MMMMdHmm"), status)); 379 dateReturned = format->format(sampleDate, dateReturned, status); 384 delete format; 387 format = (SimpleDateFormat *)DateFormat::createDateTimeInstance(DateFormat::kFull, DateFormat::kFull, [all...] |
/external/v8/src/ |
v8utils.h | 41 // On gcc we can ask the compiler to check the types of %d-style format 48 #define PRINTF_CHECKING __attribute__ ((format (printf, 1, 2))) 49 #define FPRINTF_CHECKING __attribute__ ((format (printf, 2, 3))) 57 void PRINTF_CHECKING PrintF(const char* format, ...); 58 void FPRINTF_CHECKING PrintF(FILE* out, const char* format, ...); 237 void AddFormatted(const char* format, ...); 240 void AddFormattedList(const char* format, va_list list);
|
/external/webkit/Source/JavaScriptCore/dfg/ |
DFGGenerationInfo.h | 57 // details of the format in memory (all values are spilled in a boxed form, but we may be 89 void initJSValue(NodeIndex nodeIndex, uint32_t useCount, GPRReg gpr, DataFormat format = DataFormatJS) 91 ASSERT(format & DataFormatJS); 95 m_registerFormat = format; 147 // Get the format of the value in machine registers (or 'none'). 149 // Get the format of the value as it is spilled in the RegisterFile (or 'none'). 193 // tracking which registers, and what format the value has. 194 void fillJSValue(GPRReg gpr, DataFormat format = DataFormatJS) 196 ASSERT(format & DataFormatJS); 197 m_registerFormat = format; [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/ |
Texture.cpp | 28 : width(0), height(0), dirty(false), surface(NULL), format(GL_NONE) 187 D3DFORMAT format = getD3DFormat(); local 189 switch(format) 207 // Selects an internal Direct3D 9 format for storing an Image 208 D3DFORMAT Texture::selectFormat(GLenum format, GLenum type) 210 if (format == GL_COMPRESSED_RGB_S3TC_DXT1_EXT || 211 format == GL_COMPRESSED_RGBA_S3TC_DXT1_EXT) 225 if (format == GL_LUMINANCE && getContext()->supportsLuminanceTextures()) 229 else if (format == GL_LUMINANCE_ALPHA && getContext()->supportsLuminanceAlphaTextures()) 233 else if (format == GL_RGB 1513 D3DFORMAT format = selectFormat(mImageArray[0].format, mType); local 1564 D3DFORMAT format = selectFormat(mImageArray[0].format, mType); local 1949 D3DFORMAT format = selectFormat(mImageArray[0][0].format, mType); local 2005 D3DFORMAT format = selectFormat(mImageArray[0][0].format, mType); local [all...] |
/external/webkit/Source/WebCore/platform/graphics/openvg/ |
VGUtils.cpp | 123 int VGUtils::bytesForImage(VGImageFormat format, VGint width, VGint height) 125 return width * height * imageFormatBitsPerPixel(format) / 8; 128 int VGUtils::bytesForImageScanline(VGImageFormat format, VGint width) 130 int bits = width * imageFormatBitsPerPixel(format); 137 int VGUtils::imageFormatBitsPerPixel(VGImageFormat format) 139 switch (format) {
|
/frameworks/base/core/java/android/widget/ |
Chronometer.java | 25 import android.text.format.DateUtils; 41 * to format the timer value into an arbitrary string. 133 * Sets the format string used for display. The Chronometer will display 137 * If the format string is null, or if you never call setFormat(), the 141 * @param format the format string. 144 public void setFormat(String format) { 145 mFormat = format; 146 if (format != null && mFormatBuilder == null) { 147 mFormatBuilder = new StringBuilder(format.length() * 2) [all...] |
/frameworks/base/include/media/ |
AudioRecord.h | 70 int format; member in class:android::AudioRecord::Buffer 114 int format, 131 * format: Audio format (e.g AUDIO_FORMAT_PCM_16_BIT for signed 153 int format = 0, 173 * - BAD_VALUE: invalid parameter (channels, format, sampleRate...) 179 int format = 0, 205 int format() const; 351 uint32_t format,
|
/sdk/sdkmanager/app/tests/com/android/sdkmanager/ |
CommandLineProcessorTest.java | 64 protected void stdout(String format, Object... args) { 65 String s = String.format(format, args); 71 protected void stderr(String format, Object... args) { 72 String s = String.format(format, args);
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/avd/ |
AvdInfo.java | 251 return String.format("Missing AVD 'path' property in %1$s", getIniFile()); 253 return String.format("Missing config.ini file in %1$s", mFolderPath); 255 return String.format("Missing 'target' property in %1$s", getIniFile()); 257 return String.format("Unknown target '%1$s' in %2$s", 260 return String.format("Failed to parse properties from %1$s", 263 return String.format(
|
/system/media/mca/filterfw/java/android/filterfw/core/ |
Frame.java | 46 Frame(FrameFormat format, FrameManager frameManager) { 47 mFormat = format.mutableCopy(); 51 Frame(FrameFormat format, FrameManager frameManager, int bindingType, long bindingId) { 52 mFormat = format.mutableCopy(); 172 protected void setFormat(FrameFormat format) { 173 mFormat = format.mutableCopy();
|
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/ |
OMX_VideoDec_Utils.c | 45 *! that is, newest first. The date format is dd-Mon-yyyy. 70 if ((OMX_U16)(pComponentPrivate->pInPortDef->format.video.nFrameWidth > VIDDEC_CIF_WIDTH) || 71 (OMX_U16)(pComponentPrivate->pInPortDef->format.video.nFrameHeight > VIDDEC_CIF_HEIGHT)) { 72 if (pComponentPrivate->pInPortDef->format.video.eCompressionFormat == OMX_VIDEO_CodingAVC) { 75 else if (pComponentPrivate->pInPortDef->format.video.eCompressionFormat == OMX_VIDEO_CodingWMV) { 78 else if (pComponentPrivate->pInPortDef->format.video.eCompressionFormat == OMX_VIDEO_CodingMPEG4) { 79 if ((OMX_U16)pComponentPrivate->pInPortDef->format.video.nFrameHeight > VIDDEC_D1MAX_HEIGHT || 80 (OMX_U16)pComponentPrivate->pInPortDef->format.video.nFrameWidth > VIDDEC_D1MAX_WIDTH) 89 else if (pComponentPrivate->pInPortDef->format.video.eCompressionFormat == OMX_VIDEO_CodingMPEG2) { 92 else if (pComponentPrivate->pInPortDef->format.video.eCompressionFormat == OMX_VIDEO_CodingH263) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/experiments/ |
GainLinearityExperiment.java | 74 setReport(String.format(getString(R.string.aq_linearity_report_error), deviation)); 77 setReport(String.format(getString(R.string.aq_linearity_report_normal), 81 setReport(String.format(getString(R.string.aq_linearity_report_normal),
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
CtsXmlResultReporter.java | 49 * Writes results to an XML files in the CTS format. 53 * Outputs xml in format governed by the cts_result.xsd 116 throw new IllegalArgumentException(String.format("Could not find session %d", 157 logResult(String.format("Saved log %s", logFile.getName())); 249 private void logResult(String format, Object... args) { 251 CLog.i(format, args); 253 Log.logAndDisplay(LogLevel.INFO, mDeviceSerial, String.format(format, args)); 286 String msg = String.format("XML test result file generated at %s. Passed %d, " + 337 InputStream configStream = getClass().getResourceAsStream(String.format("/%s" [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/targetprep/ |
CtsRootDeviceSetup.java | 68 throw new TargetSetupError(String.format( 91 throw new TargetSetupError(String.format( 105 throw new TargetSetupError(String.format(
|
/external/clang/test/Analysis/ |
cfref_rdar6080742.c | 35 void DebugStop(const char *format,...); 36 void DebugTraceIf(unsigned int condition, const char *format,...); 47 void DebugStop(const char *format,...); /* Not an abort function. */
|
/external/icu4c/i18n/ |
reldtfmt.h | 15 * \brief C++ API: Format and parse relative dates and times. 64 * Clone this Format object polymorphically. The caller owns the result and 69 virtual Format* clone(void) const; 72 * Return true if the given Format objects are semantically equal. Objects 75 * @return true if the given Format objects are semantically equal. 78 virtual UBool operator==(const Format& other) const; 81 using DateFormat::format; 84 * Format a date or time, which is the standard millis since 24:00 GMT, Jan 99 virtual UnicodeString& format( Calendar& cal, 104 * Format an object to produce a string. This method handles Formattabl [all...] |
/external/icu4c/i18n/unicode/ |
tmutfmt.h | 15 * \brief C++ API: Format and parse duration in single time unit 40 * Format or parse a TimeUnitAmount, using plural rules for the units where available. 48 * // create time unit format instance 49 * TimeUnitFormat* format = new TimeUnitFormat(Locale("en"), status); 50 * // format a time unit amount 55 * formatted = ((Format*)format)->format(formattable, formatted, status); 57 * ((Format*)format)->parseObject(formatted, result, status) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/audio/macrom/ |
SDL_romaudio.c | 219 switch (spec->format) { 221 spec->format = AUDIO_U8; 224 spec->format = AUDIO_S16LSB; 227 spec->format = AUDIO_S16MSB; 239 "Audio format 0x%x, channels = %d, sample_bits = %d, frequency = %d\n", 240 spec->format, spec->channels, sample_bits, spec->freq); 250 if ( spec->format == 0x8010 ) { 252 header.format = k16BitLittleEndianFormat; 420 switch (spec->format) { 422 spec->format = AUDIO_U8 [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/ |
SDL_blit.c | 80 (Uint16)srcrect->x*src->format->BytesPerPixel; 83 info.s_skip=src->pitch-info.s_width*src->format->BytesPerPixel; 86 (Uint16)dstrect->x*dst->format->BytesPerPixel; 89 info.d_skip=dst->pitch-info.d_width*dst->format->BytesPerPixel; 91 info.src = src->format; 93 info.dst = dst->format; 282 /* if an alpha pixel format is specified, we can accelerate alpha blits */ 298 && (surface->format->alpha != SDL_ALPHA_OPAQUE 299 || surface->format->Amask) ) { 312 if ( surface->format->BitsPerPixel < 8 ) [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/geometry/ |
IndexDataManager.cpp | 101 D3DFORMAT format = (type == GL_UNSIGNED_INT) ? D3DFMT_INDEX32 : D3DFMT_INDEX16; local 136 streamOffset = (offset / typeSize(type)) * indexSize(format); 163 indexBuffer->reserveSpace(convertCount * indexSize(format), type); 164 output = indexBuffer->map(indexSize(format) * convertCount, &streamOffset); 180 streamOffset = (offset / typeSize(type)) * indexSize(format); 186 translated->startIndex = streamOffset / indexSize(format); 191 std::size_t IndexDataManager::indexSize(D3DFORMAT format) const 193 return (format == D3DFMT_INDEX32) ? sizeof(unsigned int) : sizeof(unsigned short); 207 IndexBuffer::IndexBuffer(IDirect3DDevice9 *device, UINT size, D3DFORMAT format) : mDevice(device), mBufferSize(size), mIndexBuffer(NULL) 212 HRESULT result = device->CreateIndexBuffer(size, D3DUSAGE_DYNAMIC | D3DUSAGE_WRITEONLY, format, pool, &mIndexBuffer, NULL) [all...] |