Searched refs:format (Results 1 - 25 of 4509) sorted by relevance

1234567891011>>

/external/clang/unittests/Format/
H A DFormatTestSelective.cpp15 #define DEBUG_TYPE "format-test"
18 namespace format { namespace in namespace:clang
23 std::string format(llvm::StringRef Code, unsigned Offset, unsigned Length) { function in class:clang::format::__anon3335::FormatTestSelective
41 EXPECT_EQ("int a;\nint b;", format("int a; \nint b;", 0, 0));
42 EXPECT_EQ("int a;", format("int a; ", 0, 0));
43 EXPECT_EQ("int a;\n", format("int a; \n \n \n ", 0, 0));
44 EXPECT_EQ("int a;\nint b; ", format("int a; \nint b; ", 0, 0));
51 format("{int b;\n int a;}", 8, 0));
55 format("{int b;\n int a;}", 7, 0));
61 format("#defin
[all...]
/external/clang/test/CodeGen/
H A D2006-01-13-Includes.c4 int printf(const char * restrict format, ...);
H A D2002-02-18-64bitConstant.c5 int printf(const char * restrict format, ...);
/external/jemalloc/android/include/
H A Dlibc_logging.h33 #define __libc_fatal(format, ...) abort()
/external/clang/test/PCH/
H A D__va_list_tag-typedef.c14 void test(const char* format, ...) { va_list args; va_start( args, format ); } argument
H A Dva_arg.cpp16 void f(char *buffer, unsigned count, const char* format, va_list argptr) { argument
17 vsnprintf(buffer, count, format, argptr);
20 void g(char *buffer, const char *format, __ms_va_list argptr) { argument
21 wvsprintfA(buffer, format, argptr);
/external/llvm/lib/DebugInfo/DWARF/
H A DDWARFCompileUnit.cpp17 OS << format("0x%08x", getOffset()) << ": Compile Unit:"
18 << " length = " << format("0x%08x", getLength())
19 << " version = " << format("0x%04x", getVersion())
20 << " abbr_offset = " << format("0x%04x", getAbbreviations()->getOffset())
21 << " addr_size = " << format("0x%02x", getAddressByteSize())
22 << " (next unit at " << format("0x%08x", getNextUnitOffset())
H A DDWARFTypeUnit.cpp26 OS << format("0x%08x", getOffset()) << ": Type Unit:"
27 << " length = " << format("0x%08x", getLength())
28 << " version = " << format("0x%04x", getVersion())
29 << " abbr_offset = " << format("0x%04x", getAbbreviations()->getOffset())
30 << " addr_size = " << format("0x%02x", getAddressByteSize())
31 << " type_signature = " << format("0x%16" PRIx64, TypeHash)
32 << " type_offset = " << format("0x%04x", TypeOffset)
33 << " (next unit at " << format("0x%08x", getNextUnitOffset())
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_format_table.py97 for format in formats:
99 print 'util_format_%s_description = {' % (format.short_name(),)
100 print " %s," % (format.name,)
101 print " \"%s\"," % (format.name,)
102 print " \"%s\"," % (format.short_name(),)
103 print " {%u, %u, %u},\t/* block */" % (format.block_width, format.block_height, format.block_size())
104 print " %s," % (layout_map(format.layout),)
105 print " %u,\t/* nr_channels */" % (format
[all...]
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
H A Dtest_VIDIOC_ENUM_FMT.c45 struct v4l2_fmtdesc format; local
51 memset(&format, 0xff, sizeof(format));
52 format.index = i;
53 format.type = type;
55 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUM_FMT, &format);
63 CU_ASSERT_EQUAL(format.index, i);
64 //CU_ASSERT_EQUAL(format.type, ?);
65 //CU_ASSERT_EQUAL(format.flags, ?);
67 CU_ASSERT(0 < strlen((char *)format
135 struct v4l2_fmtdesc format; local
163 struct v4l2_fmtdesc format; local
191 struct v4l2_fmtdesc format; local
219 struct v4l2_fmtdesc format; local
353 struct v4l2_fmtdesc format; local
[all...]
/external/clang/test/Sema/
H A Dblock-sentinel-attribute.c3 void (^e) (int arg, const char * format, ...) __attribute__ ((__sentinel__ (1,1))); variable
6 void (^bbad) (int arg, const char * format) __attribute__ ((__sentinel__)) ; // expected-warning {{'sentinel' attribute only supported for variadic blocks}} local
7 bbad = ^void (int arg, const char * format) __attribute__ ((__sentinel__)) {} ; // expected-warning {{'sentinel' attribute only supported for variadic blocks}}
8 void (^b) (int arg, const char * format, ...) __attribute__ ((__sentinel__)) = // expected-note {{block has been explicitly marked sentinel here}} local
9 ^ __attribute__ ((__sentinel__)) (int arg, const char * format, ...) {};
10 void (^z) (int arg, const char * format, ...) __attribute__ ((__sentinel__ (2))) = ^ __attribute__ ((__sentinel__ (2))) (int arg, const char * format, ...) {}; // expected-note {{block has been explicitly marked sentinel here}} local
13 void (^y) (int arg, const char * format, ...) __attribute__ ((__sentinel__ (5))) = ^ __attribute__ ((__sentinel__ (5))) (int arg, const char * format, ...) {}; // expected-note {{block has been explicitly marked sentinel here}} local
/external/skia/src/ports/
H A DSkDebug_stdio.cpp14 void SkDebugf(const char format[], ...) { argument
16 va_start(args, format);
17 vfprintf(stderr, format, args);
/external/syslinux/com32/lib/
H A Ddprintf.c12 void dprintf(const char *format, ...) argument
16 va_start(ap, format);
17 vdprintf(format, ap);
H A Dprintf.c8 int printf(const char *format, ...) argument
13 va_start(ap, format);
14 rv = vfprintf(stdout, format, ap);
H A Dsscanf.c7 int sscanf(const char *str, const char *format, ...) argument
12 va_start(ap, format);
13 rv = vsscanf(str, format, ap);
H A Dvprintf.c8 int vprintf(const char *format, va_list ap) argument
10 return vfprintf(stdout, format, ap);
H A Dvsprintf.c8 int vsprintf(char *buffer, const char *format, va_list ap) argument
10 return vsnprintf(buffer, ~(size_t) 0, format, ap);
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/serializer/
H A DNumberAnchorGenerator.java32 NumberFormat format = NumberFormat.getNumberInstance();
33 format.setMinimumIntegerDigits(3);
34 format.setMaximumFractionDigits(0);// issue 172
35 format.setGroupingUsed(false);
36 String anchorId = format.format(this.lastAnchorId);
/external/clang/test/Preprocessor/
H A Dmacro_paste_commaext.c7 #define debug(format, ...) format, ## __VA_ARGS__)
/external/fmtlib/test/
H A Dformat-test.cc62 #include "fmt/format.h"
74 using fmt::format;
523 EXPECT_EQ("{", format("{{"));
524 EXPECT_EQ("before {", format("before {{"));
525 EXPECT_EQ("{ after", format("{{ after"));
526 EXPECT_EQ("before { after", format("before {{ after"));
528 EXPECT_EQ("}", format("}}"));
529 EXPECT_EQ("before }", format("before }}"));
530 EXPECT_EQ("} after", format("}} after"));
531 EXPECT_EQ("before } after", format("befor
580 static std::string format(fmt::CStringRef format_str, const Args & ... args) { function in struct:TestFormat
588 static std::string format(fmt::CStringRef format_str, const Args & ... args) { function in struct:TestFormat
1566 format_message(int id, const char *format, const fmt::ArgList &args) argument
1583 print_error(const char *file, int line, const char *format, const Args & ... args) argument
[all...]
/external/webrtc/talk/app/webrtc/objc/public/
H A DRTCLogging.h59 #define RTCLogString(format, ...) \
60 [NSString stringWithFormat:@"(%@:%d %s): " format, \
66 #define RTCLogFormat(severity, format, ...) \
68 NSString *logString = RTCLogString(format, ##__VA_ARGS__); \
72 #define RTCLogVerbose(format, ...) \
73 RTCLogFormat(kRTCLoggingSeverityVerbose, format, ##__VA_ARGS__) \
75 #define RTCLogInfo(format, ...) \
76 RTCLogFormat(kRTCLoggingSeverityInfo, format, ##__VA_ARGS__) \
78 #define RTCLogWarning(format, ...) \
79 RTCLogFormat(kRTCLoggingSeverityWarning, format, ##__VA_ARGS_
[all...]
/external/webrtc/webrtc/base/objc/
H A DRTCLogging.h42 #define RTCLogString(format, ...) \
43 [NSString stringWithFormat:@"(%@:%d %s): " format, \
49 #define RTCLogFormat(severity, format, ...) \
51 NSString* log_string = RTCLogString(format, ##__VA_ARGS__); \
55 #define RTCLogVerbose(format, ...) \
56 RTCLogFormat(kRTCLoggingSeverityVerbose, format, ##__VA_ARGS__) \
58 #define RTCLogInfo(format, ...) \
59 RTCLogFormat(kRTCLoggingSeverityInfo, format, ##__VA_ARGS__) \
61 #define RTCLogWarning(format, ...) \
62 RTCLogFormat(kRTCLoggingSeverityWarning, format, ##__VA_ARGS_
[all...]
/external/clang/test/CodeGenCXX/
H A Ddebug-info-rvalue-ref.cpp4 extern int printf(const char * format, ...);
/external/clang/test/Modules/Inputs/System/usr/include/
H A Dstdio.h2 int fprintf(FILE*restrict, const char* restrict format, ...);
/external/clang/test/Modules/Inputs/crash-recovery/usr/include/
H A Dstdio.h2 int fprintf(FILE*restrict, const char* restrict format, ...);

Completed in 1274 milliseconds

1234567891011>>