/external/libweave/third_party/chromium/base/strings/ |
stringprintf.h | 19 std::string StringPrintf(const char* format, ...) 23 std::string StringPrintV(const char* format, va_list ap) 27 const std::string& SStringPrintf(std::string* dst, const char* format, ...) 31 void StringAppendF(std::string* dst, const char* format, ...) 36 void StringAppendV(std::string* dst, const char* format, va_list ap)
|
stringprintf.cc | 28 const char* format, 32 return base::vsnprintf(buffer, buf_size, format, argptr); 40 const typename StringType::value_type* format, 53 int result = vsnprintfT(stack_buf, arraysize(stack_buf), format, ap_copy); 95 result = vsnprintfT(&mem_buf[0], mem_length, format, ap_copy); 108 std::string StringPrintf(const char* format, ...) { 110 va_start(ap, format); 112 StringAppendV(&result, format, ap); 117 std::string StringPrintV(const char* format, va_list ap) { 119 StringAppendV(&result, format, ap) [all...] |
/external/protobuf/src/google/protobuf/stubs/ |
stringprintf.h | 1 // Protocol Buffers - Google's data interchange format 53 LIBPROTOBUF_EXPORT extern string StringPrintf(const char* format, ...); 56 LIBPROTOBUF_EXPORT extern const string& SStringPrintf(string* dst, const char* format, ...); 59 LIBPROTOBUF_EXPORT extern void StringAppendF(string* dst, const char* format, ...); 63 LIBPROTOBUF_EXPORT extern void StringAppendV(string* dst, const char* format, va_list ap); 71 LIBPROTOBUF_EXPORT extern string StringPrintfVector(const char* format, const vector<string>& v);
|
/external/vboot_reference/firmware/stub/ |
vboot_api_stub_init.c | 24 static const char *fixfmt(const char *format) 27 for(i=0; i<MAX_FMT && format[i]; i++) { 28 fmtbuf[i] = format[i]; 29 if(format[i] == '%' && format[i+1] == 'L') { 38 void VbExError(const char *format, ...) 41 va_start(ap, format); 43 vfprintf(stderr, fixfmt(format), ap); 48 void VbExDebug(const char *format, ...) 51 va_start(ap, format); [all...] |
/external/libchrome/base/strings/ |
string_util_win.h | 25 const char* format, va_list arguments) { 26 int length = vsnprintf_s(buffer, size, size - 1, format, arguments); 28 return _vscprintf(format, arguments); 33 const wchar_t* format, va_list arguments) { 34 DCHECK(IsWprintfFormatPortable(format)); 36 int length = _vsnwprintf_s(buffer, size, size - 1, format, arguments); 38 return _vscwprintf(format, arguments);
|
/libcore/benchmarks/src/benchmarks/regression/ |
DateToStringBenchmark.java | 19 import android.text.format.DateFormat; 29 SimpleDateFormat format; field in class:DateToStringBenchmark 36 format = new SimpleDateFormat("EEE MMM dd HH:mm:ss zzz yyyy"); 47 new SimpleDateFormat("EEE MMM dd HH:mm:ss zzz yyyy").format(date); 53 ((SimpleDateFormat) format.clone()).format(date); 59 DateFormat.format("EEE MMM dd HH:mm:ss zzz yyyy", calendar);
|
/hardware/ti/omap3/omx/system/src/openmax_il/common/inc/ |
OMX_TI_Debug.h | 44 *! that is, newest first. The date format is dd-Mon-yyyy. 90 Output format is: 285 * format, list - debug message 290 #define OMX_DBG_PRINT(file, domain, level, mask, format, list...) \ 294 format OMX_DBG_FN OMX_DBG_LINE, ##list); \ 297 #define OMX_DBG_PRINT(file, domain, level, mask, format, list...) \ 302 format OMX_DBG_FN OMX_DBG_LINE, ##list); \ 306 format OMX_DBG_FN OMX_DBG_LINE, ##list); \ 312 #define OMX_DBG_PRINT(file, domain, level, mask, format, list...) \ 317 format OMX_DBG_FN OMX_DBG_LINE, ##list); [all...] |
/external/v8/src/arm64/ |
disasm-arm64.h | 32 void Format(Instruction* instr, const char* mnemonic, const char* format); 34 int SubstituteField(Instruction* instr, const char* format); 35 int SubstituteRegisterField(Instruction* instr, const char* format); 36 int SubstituteImmediateField(Instruction* instr, const char* format); 37 int SubstituteLiteralField(Instruction* instr, const char* format); 38 int SubstituteBitfieldImmediateField(Instruction* instr, const char* format); 39 int SubstituteShiftField(Instruction* instr, const char* format); 40 int SubstituteExtendField(Instruction* instr, const char* format); 41 int SubstituteConditionField(Instruction* instr, const char* format); [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_format.h | 42 * Describe how to pack/unpack pixels into/from the prescribed format. 137 enum pipe_format format; member in struct:util_format_description 164 * Whether the pixel format can be described as a bitfield structure. 389 util_format_description(enum pipe_format format); 393 * Format query functions. 397 util_format_name(enum pipe_format format) 399 const struct util_format_description *desc = util_format_description(format); 410 util_format_short_name(enum pipe_format format) 412 const struct util_format_description *desc = util_format_description(format); 423 * Whether this format is plain, see UTIL_FORMAT_LAYOUT_PLAIN for more info [all...] |
u_format_pack.py | 33 * Pixel format packing and unpacking functions. 43 def generate_format_type(format): 44 '''Generate a structure that describes the format.''' 46 assert format.layout == PLAIN 48 print 'union util_format_%s {' % format.short_name() 50 if format.block_size() in (8, 16, 32, 64): 51 print ' uint%u_t value;' % (format.block_size(),) 54 for channel in format.channels: 59 for channel in format.channels: 102 def bswap_format(format) [all...] |
/external/valgrind/include/ |
pub_tool_libcprint.h | 41 the 'printf' format. 52 extern UInt VG_(sprintf) ( HChar* buf, const HChar* format, ... ) 55 extern UInt VG_(vsprintf) ( HChar* buf, const HChar* format, va_list vargs ) 59 const HChar *format, ... ) 63 const HChar *format, va_list vargs ) 93 extern UInt VG_(printf) ( const HChar *format, ... ) 95 extern UInt VG_(vprintf) ( const HChar *format, va_list vargs ) 98 extern UInt VG_(printf_xml) ( const HChar *format, ... ) 101 extern UInt VG_(vprintf_xml) ( const HChar *format, va_list vargs ) 108 extern UInt VG_(fprintf) ( VgFile *fp, const HChar *format, ... [all...] |
/external/curl/include/curl/ |
mprintf.h | 34 CURL_EXTERN int curl_mprintf(const char *format, ...); 35 CURL_EXTERN int curl_mfprintf(FILE *fd, const char *format, ...); 36 CURL_EXTERN int curl_msprintf(char *buffer, const char *format, ...); 38 const char *format, ...); 39 CURL_EXTERN int curl_mvprintf(const char *format, va_list args); 40 CURL_EXTERN int curl_mvfprintf(FILE *fd, const char *format, va_list args); 41 CURL_EXTERN int curl_mvsprintf(char *buffer, const char *format, va_list args); 43 const char *format, va_list args); 44 CURL_EXTERN char *curl_maprintf(const char *format, ...); 45 CURL_EXTERN char *curl_mvaprintf(const char *format, va_list args) [all...] |
/external/google-breakpad/src/third_party/curl/ |
mprintf.h | 35 CURL_EXTERN int curl_mprintf(const char *format, ...); 36 CURL_EXTERN int curl_mfprintf(FILE *fd, const char *format, ...); 37 CURL_EXTERN int curl_msprintf(char *buffer, const char *format, ...); 39 const char *format, ...); 40 CURL_EXTERN int curl_mvprintf(const char *format, va_list args); 41 CURL_EXTERN int curl_mvfprintf(FILE *fd, const char *format, va_list args); 42 CURL_EXTERN int curl_mvsprintf(char *buffer, const char *format, va_list args); 44 const char *format, va_list args); 45 CURL_EXTERN char *curl_maprintf(const char *format, ...); 46 CURL_EXTERN char *curl_mvaprintf(const char *format, va_list args) [all...] |
/external/slf4j/slf4j-jcl/src/main/java/org/slf4j/impl/ |
JCLLoggerAdapter.java | 82 * @param format 83 * the format string 87 public void trace(String format, Object arg) { 89 FormattingTuple ft = MessageFormatter.format(format, arg); 103 * @param format 104 * the format string 110 public void trace(String format, Object arg1, Object arg2) { 112 FormattingTuple ft = MessageFormatter.format(format, arg1, arg2) [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
NumberFormatTest.java | 30 // NumberFormat.format(Object, StringBuffer, FieldPosition) guarantees it calls doubleValue for 43 assertEquals("123", nf.format(new MyNumber())); 46 // NumberFormat.format(Object, StringBuffer, FieldPosition) guarantees it calls longValue for 50 public StringBuffer format(double value, StringBuffer b, FieldPosition f) { method in class:NumberFormatTest.MyNumberFormat 54 public StringBuffer format(long value, StringBuffer b, FieldPosition f) { method in class:NumberFormatTest.MyNumberFormat 63 assertEquals("long", nf.format(BigInteger.valueOf(Long.MAX_VALUE))); 64 assertEquals("double", nf.format(BigInteger.valueOf(Long.MAX_VALUE).add(BigInteger.ONE))); 65 assertEquals("long", nf.format(BigInteger.valueOf(Long.MIN_VALUE))); 66 assertEquals("double", nf.format(BigInteger.valueOf(Long.MIN_VALUE).subtract(BigInteger.ONE))); 70 // Previous versions of android use just the positive format string (ICU4C) although now w 259 NumberFormat format = NumberFormat.getCurrencyInstance(Locale.US); local [all...] |
OldNumberFormatTest.java | 32 DecimalFormat format = (DecimalFormat) NumberFormat.getIntegerInstance(Locale.US); local 33 assertEquals("#,##0", format.toPattern()); 34 assertEquals("-36", format.format(-35.76)); 35 assertEquals(new Long(-36), format.parse("-36")); 36 assertEquals(new Long(-36), format.parseObject("-36")); 37 assertEquals(0, format.getMaximumFractionDigits()); 38 assertTrue(format.isParseIntegerOnly()); 42 format = (DecimalFormat) NumberFormat.getIntegerInstance(chLocale); 43 assertEquals("#,##0", format.toPattern()) 66 NumberFormat format = NumberFormat.getInstance(); local 78 NumberFormat format = NumberFormat.getInstance(new Locale("hu", "HU")); local 284 NumberFormat format = NumberFormat.getCurrencyInstance(); local 306 NumberFormat format = NumberFormat.getCurrencyInstance(usLocale); local 332 NumberFormat format = NumberFormat.getInstance(); local 352 NumberFormat format = NumberFormat.getInstance(de_CH); local 370 NumberFormat format = NumberFormat.getNumberInstance(); local 390 NumberFormat format = NumberFormat.getNumberInstance(deLocale); local 407 NumberFormat format = NumberFormat.getPercentInstance(); local 428 NumberFormat format = NumberFormat.getPercentInstance(csLocale); local 813 public StringBuffer format(double number, StringBuffer toAppendTo, method in class:OldNumberFormatTest.MyNumberFormat 824 public StringBuffer format(long number, StringBuffer toAppendTo, method in class:OldNumberFormatTest.MyNumberFormat [all...] |
/external/ceres-solver/internal/ceres/ |
stringprintf.cc | 53 void StringAppendV(string* dst, const char* format, va_list ap) { 62 int result = vsnprintf(space, sizeof(space), format, backup_ap); 76 result = vsnprintf(NULL, 0, format, backup_ap); 93 result = vsnprintf(buf, length, format, backup_ap); 104 string StringPrintf(const char* format, ...) { 106 va_start(ap, format); 108 StringAppendV(&result, format, ap); 113 const string& SStringPrintf(string* dst, const char* format, ...) { 115 va_start(ap, format); 117 StringAppendV(dst, format, ap) [all...] |
/external/chromium-trace/catapult/third_party/typ/typ/tests/ |
stats_test.py | 24 self.assertEqual(s.format(), 'foo') 28 self.assertEqual(s.format(), '[0/0/0/0/-]') 32 self.assertEqual(s.format(), '[3/1/5/2/ 60.0]') 36 self.assertEqual(s.format(), '[5/5/5/0/100.0]') 41 self.assertEqual(s.format(), '[0.400]') 44 self.assertEqual(s.format(), '[0.000]') 49 self.assertEquals(s.format(), '[-]') 52 self.assertEquals(s.format(), '[ 10.0]') 57 self.assertEqual(s.format(), '[-]') 61 self.assertEqual(s.format(), '[ 0.2]' [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
SimpleFrameManager.java | 37 public Frame newFrame(FrameFormat format) { 38 return createNewFrame(format); 42 public Frame newBoundFrame(FrameFormat format, int bindingType, long bindingId) { 44 switch(format.getTarget()) { 46 GLFrame glFrame = new GLFrame(format, this, bindingType, bindingId); 54 + FrameFormat.targetToString(format.getTarget()) + "!"); 59 private Frame createNewFrame(FrameFormat format) { 61 switch(format.getTarget()) { 63 result = new SimpleFrame(format, this); 67 result = new NativeFrame(format, this) [all...] |
/external/libxml2/ |
trio.h | 80 int trio_printf TRIO_PROTO((TRIO_CONST char *format, ...)); 81 int trio_vprintf TRIO_PROTO((TRIO_CONST char *format, va_list args)); 82 int trio_printfv TRIO_PROTO((TRIO_CONST char *format, void **args)); 84 int trio_fprintf TRIO_PROTO((FILE *file, TRIO_CONST char *format, ...)); 85 int trio_vfprintf TRIO_PROTO((FILE *file, TRIO_CONST char *format, va_list args)); 86 int trio_fprintfv TRIO_PROTO((FILE *file, TRIO_CONST char *format, void **args)); 88 int trio_dprintf TRIO_PROTO((int fd, TRIO_CONST char *format, ...)); 89 int trio_vdprintf TRIO_PROTO((int fd, TRIO_CONST char *format, va_list args)); 90 int trio_dprintfv TRIO_PROTO((int fd, TRIO_CONST char *format, void **args)); 93 TRIO_CONST char *format, ...)) [all...] |
/external/selinux/prebuilts/bin/ |
sediff.py | 99 format='%(asctime)s|%(levelname)s|%(name)s|%(message)s') variable 101 logging.basicConfig(level=logging.INFO, format='%(message)s') 103 logging.basicConfig(level=logging.WARNING, format='%(message)s') 111 print("Policy Properties ({0} Modified)".format(len(diff.modified_properties))) 115 print(" * {0} +{1} -{2}".format(name, added, removed)) 121 print("Commons ({0} Added, {1} Removed, {2} Modified)".format( 124 print(" Added Commons: {0}".format(len(diff.added_commons))) 126 print(" + {0}".format(c)) 128 print(" Removed Commons: {0}".format(len(diff.removed_commons))) 130 print(" - {0}".format(c) [all...] |
/external/wpa_supplicant_8/src/fst/ |
fst_internal.h | 20 #define fst_printf(level, format, ...) \ 21 wpa_printf((level), "FST: " format, ##__VA_ARGS__) 23 #define fst_printf_group(group, level, format, ...) \ 24 wpa_printf((level), "FST: %s: " format, \ 27 #define fst_printf_iface(iface, level, format, ...) \ 28 fst_printf_group(fst_iface_get_group(iface), (level), "%s: " format, \
|
/hardware/libhardware/include/hardware/ |
audio_alsaops.h | 33 * format the audio_format_t to convert 35 * Logs a fatal error if format is not a valid convertible audio_format_t. 37 static inline enum pcm_format pcm_format_from_audio_format(audio_format_t format) 39 switch (format) { 61 LOG_ALWAYS_FATAL("pcm_format_from_audio_format: invalid audio format %#x", format); 68 * format the pcm_format to convert 70 * Logs a fatal error if format is not a valid convertible pcm_format. 72 static inline audio_format_t audio_format_from_pcm_format(enum pcm_format format) 74 switch (format) { [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/ |
initsidquery.py | 59 self.log.info("Generating results from {0.policy}".format(self)) 60 self.log.debug("Name: {0.name!r}, regex: {0.name_regex}".format(self)) 61 self.log.debug("User: {0.user!r}, regex: {0.user_regex}".format(self)) 62 self.log.debug("Role: {0.role!r}, regex: {0.role_regex}".format(self)) 63 self.log.debug("Type: {0.type_!r}, regex: {0.type_regex}".format(self)) 65 "superset: {0.range_superset}, proper: {0.range_proper}".format(self))
|
netifconquery.py | 59 self.log.info("Generating results from {0.policy}".format(self)) 60 self.log.debug("Name: {0.name!r}, regex: {0.name_regex}".format(self)) 61 self.log.debug("User: {0.user!r}, regex: {0.user_regex}".format(self)) 62 self.log.debug("Role: {0.role!r}, regex: {0.role_regex}".format(self)) 63 self.log.debug("Type: {0.type_!r}, regex: {0.type_regex}".format(self)) 65 "superset: {0.range_superset}, proper: {0.range_proper}".format(self))
|