/libcore/luni/src/main/java/java/sql/ |
Time.java | 24 * format and parse the time's representation as a String in JDBC escape format. 178 * Formats the {@code Time} as a String in JDBC escape format: {@code 182 * format: {@code HH:mm:ss} 188 format(getHours(), 2, sb); 190 format(getMinutes(), 2, sb); 192 format(getSeconds(), 2, sb); 200 * Private method to format the time 202 private void format(int date, int digits, StringBuilder sb) { method in class:Time 212 * JDBC escape format: {@code hh:mm:ss} [all...] |
/libcore/luni/src/main/java/java/text/ |
Format.java | 35 * Many of the concrete subclasses of {@code Format} employ the notion of a 39 * common US English format for currency values, yielding strings such as 42 * patterns, the notion of a pattern is not inherent to {@code Format} classes 47 * {@code NumberFormat} which allows the user to format different number ranges 50 * is a formatter which utilizes other {@code Format} objects to format a string 57 public abstract class Format implements Serializable, Cloneable { 64 protected Format() { 68 * Returns a copy of this {@code Format} instance. 70 * @return a shallow copy of this format 92 public final String format(Object object) { method in class:Format 117 public abstract StringBuffer format(Object object, StringBuffer buffer, method in class:Format [all...] |
/ndk/sources/host-tools/sed-4.2.1/lib/ |
error.h | 26 /* The __-protected variants of `format' and `printf' attributes 29 # define __format__ format 38 /* Print a message with `fprintf (stderr, FORMAT, ...)';
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
Utils.java | 19 import android.text.format.Time;
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/ |
FrameBuffer.h | 15 bool Init(int width, int height, GLenum format);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/ |
AndroidXmlFormatter.java | 39 public final void format(IDocument document, IRegion region) { method in class:AndroidXmlFormatter 44 * {@link #format(IDocument,IFormattingContext)} instead. However, for 52 format(document, context); method 61 public void format(IDocument document, IFormattingContext context) { method in class:AndroidXmlFormatter 80 strategy.format();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
ActivityLaunchAction.java | 57 String msg = String.format("Starting activity %1$s on device %2$s", mActivity, 80 AdtPlugin.printErrorToConsole(info.getProject(), String.format( 91 String.format("Launch error: %s", e.getMessage())); 122 return String.format("%1$s activity launch", mActivity);
|
/system/core/include/sysutils/ |
NetlinkEvent.h | 41 bool decode(char *buffer, int size, int format = NetlinkListener::NETLINK_FORMAT_ASCII);
|
/system/core/libpixelflinger/ |
format.cpp | 1 /* libs/pixelflinger/format.cpp 19 #include <pixelflinger/format.h>
|
/system/netd/ |
NetlinkHandler.h | 27 NetlinkHandler(NetlinkManager *nm, int listenerSocket, int format);
|
/bootable/recovery/minadbd/ |
utils.c | 72 buff_add (char* buff, char* buffEnd, const char* format, ... ) 82 va_start(args, format); 83 nn = vsnprintf( buff, avail, format, args); 88 * but they will also do that if the format spec is
|
/dalvik/vm/analysis/ |
VerifySubs.cpp | 45 void dvmLogVerifyFailure(const Method* meth, const char* format, ...) 57 va_start(ap, format); 58 LOG_PRI_VA(logLevel, LOG_TAG, format, ap);
|
/external/chromium/chrome/browser/ui/views/extensions/ |
browser_action_drag_data.cc | 54 static ui::OSExchangeData::CustomFormat format; local 59 format = ui::OSExchangeData::RegisterCustomFormat( 62 return format;
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_printf.cc | 95 const char *format, va_list args) { 98 RAW_CHECK(format); 101 const char *cur = format; 176 void Printf(const char *format, ...) { 180 va_start(args, format); 181 int needed_length = VSNPrintf(buffer.data(), kLen, format, args); 193 int internal_snprintf(char *buffer, uptr length, const char *format, ...) { 195 va_start(args, format); 196 int needed_length = VSNPrintf(buffer, length, format, args); 202 void Report(const char *format, ...) [all...] |
/external/harfbuzz/src/ |
harfbuzz-stream.c | 38 _hb_log( const char* format, ... ) 42 va_start( ap, format ); 43 vfprintf( stderr, format, ap );
|
/external/harfbuzz_ng/src/hb-old/ |
harfbuzz-stream.c | 38 _hb_log( const char* format, ... ) 42 va_start( ap, format ); 43 vfprintf( stderr, format, ap );
|
/external/icu4c/i18n/unicode/ |
format.h | 7 * File FORMAT.H 18 // This file was generated from the java source file Format.java 56 * Many of the concrete subclasses of Format employ the notion of 60 * "$#,##0.00;($#,##0.00)", which is a common US English format for 66 * is not inherent to Format classes in general, and is not part of 71 * NumberFormat which allows the user to format different number ranges 74 * MessageFormat is a formatter which utilizes other Format objects to 75 * format a string containing with multiple values. For instance, 82 * the Format cannot format the type of object, otherwise if there i [all...] |
selfmt.h | 38 * object provided to the format method is a string that's matched 48 * <p>The main use case for the select format is gender based inflection. 117 * the form of the participle, uses a select format based on argument 1:</p> 147 * the <code>format</code> method matches no other keyword. 167 * msgFmt->format(args1, 2, result, ignore, status); 183 class U_I18N_API SelectFormat : public Format { 209 * Sets the pattern used by this select format. 213 * @param pattern the pattern for this select format 222 using Format::format; [all...] |
/external/icu4c/test/intltest/ |
msfmrgts.cpp | 13 #include "unicode/format.h" 103 tempBuffer = messageFormatter->format(params, 2, tempBuffer, pos, status); 104 if( tempBuffer != "Message with param:BUG" || failure(status, "messageFormat->format")) 119 //tempBuffer = messageFormatter->format(NULL, 1, tempBuffer, FieldPosition(FieldPosition::DONT_CARE), status); 121 tempBuffer = messageFormatter->format(NULL, 0, tempBuffer, pos, status); 123 if( tempBuffer != "Message without param" || failure(status, "messageFormat->format")) 128 tempBuffer = messageFormatter->format(params, 2, tempBuffer, pos, status); 129 if (tempBuffer != "Message without param" || failure(status, "messageFormat->format")) 197 tempBuffer = messageFormatter->format(params, 1, tempBuffer, pos, status); 198 if(tempBuffer != "Impossible {1} has occurred -- status code is 7 and message is {2}." || failure(status, "MessageFormat::format")) 972 MessageFormat *format = new MessageFormat("", status); local 989 MessageFormat *format = new MessageFormat("", status); local [all...] |
/external/icu4c/test/iotest/ |
iotest.cpp | 207 UChar format[512]; local 242 tempStr=testCase->getString("format", errorCode); 243 tempStr.extract(format, sizeof(format)/sizeof(format[0]), errorCode); 248 u_austrncpy(cBuffer, format, sizeof(cBuffer)); 255 log_verbose("Test %d: format=\"%s\"\n", i, cBuffer); 259 uBufferLenReturned = u_sprintf_u(uBuffer, format, dbl); 260 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, dbl); 264 uBufferLenReturned = u_sprintf_u(uBuffer, format, i8) 372 UChar format[512]; local 575 UChar format[512]; local [all...] |
/external/linux-tools-perf/util/ |
cache.h | 80 extern char *mkpath(const char *fmt, ...) __attribute__((format (printf, 1, 2))); 81 extern char *perf_path(const char *fmt, ...) __attribute__((format (printf, 1, 2))); 84 __attribute__((format (printf, 1, 2)));
|
/external/llvm/include/llvm/Analysis/ |
ProfileInfo.h | 26 #include "llvm/Support/Format.h" 126 << " (weight: " << format("%.20g",w) << ")\n"); 178 dbgs() << F << "@" << format("%p", F) << ": " << format("%.20g",getExecutionCount(F)) << "\n"; 183 dbgs() << fi->first << "@" << format("%p",fi->first) << ": " << format("%.20g",fi->second) << "\n"; 194 dbgs() << bi->first << "@" << format("%p", bi->first) << ": " << format("%.20g",bi->second) << "\n"; 204 dbgs() << ewi->first << ": " << format("%.20g",ewi->second) << "\n"; 210 dbgs() << F << "@" << format("%p", F) << ": " << format("%.20g",getExecutionCount(F)) << "\n" [all...] |
/external/protobuf/src/google/protobuf/io/ |
gzip_stream.h | 1 // Protocol Buffers - Google's data interchange format 57 // Format key for constructor 58 enum Format { 65 // Simpler zlib stream format. 69 // buffer_size and format may be -1 for default of 64kB and GZIP format 72 Format format = AUTO, 91 Format format_; 111 // Format key for constructo 122 Format format; member in struct:google::protobuf::io::GzipOutputStream::Options [all...] |
/external/qemu/distrib/sdl-1.2.15/src/audio/mint/ |
SDL_mintaudio_mcsn.c | 222 DEBUG_PRINT((DEBUG_NAME "asked: %d bits, ",spec->format & 0x00ff)); 223 DEBUG_PRINT(("signed=%d, ", ((spec->format & 0x8000)!=0))); 224 DEBUG_PRINT(("big endian=%d, ", ((spec->format & 0x1000)!=0))); 237 spec->format=8; /* FIXME: is it signed or unsigned ? */ 241 spec->format=AUDIO_S8; 268 spec->format |= 0x8000; /* Audio is always signed */ 269 if ((spec->format & 0x00ff)==16) { 270 spec->format |= 0x1000; /* Audio is always big endian */ 288 DEBUG_PRINT((DEBUG_NAME "obtained: %d bits, ",spec->format & 0x00ff)); 289 DEBUG_PRINT(("signed=%d, ", ((spec->format & 0x8000)!=0))) [all...] |
/external/skia/src/gpu/ |
GrAtlas.cpp | 47 GrAtlas::GrAtlas(GrAtlasMgr* mgr, int plotX, int plotY, GrMaskFormat format) { 50 fTexture = mgr->getTexture(format); // we're not an owner, just a pointer 56 fMaskFormat = format; 145 static GrPixelConfig maskformat2pixelconfig(GrMaskFormat format) { 146 switch (format) { 161 GrMaskFormat format, 163 GrAssert(NULL == atlas || atlas->getMaskFormat() == format); 179 if (NULL == fTexture[format]) { 185 desc.fConfig = maskformat2pixelconfig(format); 187 fTexture[format] = fGpu->createTexture(desc, NULL, 0) [all...] |