/external/clang/unittests/Format/ |
H A D | FormatTestSelective.cpp | 15 #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::__anon3383::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 D | 2006-01-13-Includes.c | 4 int printf(const char * restrict format, ...);
|
/external/jemalloc/android/include/ |
H A D | log.h | 33 #define async_safe_fatal(format, ...) abort()
|
/external/clang/test/PCH/ |
H A D | __va_list_tag-typedef.c | 14 void test(const char* format, ...) { va_list args; va_start( args, format ); } argument
|
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
H A D | fd3_format.h | 33 enum a3xx_vtx_fmt fd3_pipe2vtx(enum pipe_format format); 34 enum a3xx_tex_fmt fd3_pipe2tex(enum pipe_format format); 35 enum a3xx_tex_fetchsize fd3_pipe2fetchsize(enum pipe_format format); 36 enum a3xx_color_fmt fd3_pipe2color(enum pipe_format format); 37 enum a3xx_color_fmt fd3_fs_output_format(enum pipe_format format); 38 enum a3xx_color_swap fd3_pipe2swap(enum pipe_format format); 39 unsigned fd3_pipe2nblocksx(enum pipe_format format, unsigned width); 41 uint32_t fd3_tex_swiz(enum pipe_format format, unsigned swizzle_r,
|
/external/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFCompileUnit.cpp | 17 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 D | DWARFTypeUnit.cpp | 26 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/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
H A D | test_VIDIOC_ENUM_FMT.c | 45 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/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
H A D | fd4_format.h | 36 enum a4xx_vtx_fmt fd4_pipe2vtx(enum pipe_format format); 37 enum a4xx_tex_fmt fd4_pipe2tex(enum pipe_format format); 38 enum a4xx_color_fmt fd4_pipe2color(enum pipe_format format); 39 enum a3xx_color_swap fd4_pipe2swap(enum pipe_format format); 40 enum a4xx_tex_fetchsize fd4_pipe2fetchsize(enum pipe_format format); 41 enum a4xx_depth_format fd4_pipe2depth(enum pipe_format format); 43 uint32_t fd4_tex_swiz(enum pipe_format format, unsigned swizzle_r,
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
H A D | fd5_format.h | 34 enum a5xx_vtx_fmt fd5_pipe2vtx(enum pipe_format format); 35 enum a5xx_tex_fmt fd5_pipe2tex(enum pipe_format format); 36 enum a5xx_color_fmt fd5_pipe2color(enum pipe_format format); 37 enum a3xx_color_swap fd5_pipe2swap(enum pipe_format format); 38 enum a5xx_tex_fetchsize fd5_pipe2fetchsize(enum pipe_format format); 39 enum a5xx_depth_format fd5_pipe2depth(enum pipe_format format); 41 uint32_t fd5_tex_swiz(enum pipe_format format, unsigned swizzle_r,
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_format_table.py | 120 comment = colorspace_channels_map[format.colorspace][i] 126 for format in formats: 128 print 'util_format_%s_description = {' % (format.short_name(),) 129 print " %s," % (format.name,) 130 print " \"%s\"," % (format.name,) 131 print " \"%s\"," % (format.short_name(),) 132 print " {%u, %u, %u},\t/* block */" % (format.block_width, format.block_height, format.block_size()) 133 print " %s," % (layout_map(format [all...] |
/external/clang/test/Sema/ |
H A D | block-sentinel-attribute.c | 3 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/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_format.h | 41 * Vertex format flags. These are used to specify that some vertex formats 56 * Texture format flags. 61 svga_translate_vertex_format_vgpu10(enum pipe_format format, 67 enum pipe_format format, 72 SVGA3dSurfaceFormat format, 76 svga_format_size(SVGA3dSurfaceFormat format, 82 svga_format_name(SVGA3dSurfaceFormat format); 85 svga_format_is_integer(SVGA3dSurfaceFormat format); 88 svga_format_support_gen_mips(enum pipe_format format); 91 svga_get_texture_datatype(enum pipe_format format); [all...] |
/external/skia/src/ports/ |
H A D | SkDebug_stdio.cpp | 14 void SkDebugf(const char format[], ...) { argument 16 va_start(args, format); 17 vfprintf(stderr, format, args);
|
/external/syslinux/com32/lib/ |
H A D | dprintf.c | 12 void dprintf(const char *format, ...) argument 16 va_start(ap, format); 17 vdprintf(format, ap);
|
H A D | printf.c | 8 int printf(const char *format, ...) argument 13 va_start(ap, format); 14 rv = vfprintf(stdout, format, ap);
|
H A D | sscanf.c | 7 int sscanf(const char *str, const char *format, ...) argument 12 va_start(ap, format); 13 rv = vsscanf(str, format, ap);
|
H A D | vprintf.c | 8 int vprintf(const char *format, va_list ap) argument 10 return vfprintf(stdout, format, ap);
|
H A D | vsprintf.c | 8 int vsprintf(char *buffer, const char *format, va_list ap) argument 10 return vsnprintf(buffer, ~(size_t) 0, format, ap);
|
/external/mesa3d/src/gallium/drivers/ilo/ |
H A D | ilo_format.h | 37 enum pipe_format format); 41 enum pipe_format format); 45 enum pipe_format format); 49 enum pipe_format format); 53 enum pipe_format format); 57 enum pipe_format format); 60 * Translate a pipe format to a hardware surface format suitable for 68 enum pipe_format format, unsigned bind) 77 switch (format) { 67 ilo_format_translate(const struct ilo_dev *dev, enum pipe_format format, unsigned bind) argument 148 ilo_format_translate_render(const struct ilo_dev *dev, enum pipe_format format) argument 155 ilo_format_translate_texture(const struct ilo_dev *dev, enum pipe_format format) argument 162 ilo_format_translate_vertex(const struct ilo_dev *dev, enum pipe_format format) argument 169 ilo_format_translate_depth(const struct ilo_dev *dev, enum pipe_format format) argument [all...] |
/external/openssh/ |
H A D | utf8.h | 19 __attribute__((format(printf, 1, 2))); 21 __attribute__((format(printf, 2, 3))); 24 __attribute__((format(printf, 4, 5)));
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/serializer/ |
H A D | NumberAnchorGenerator.java | 32 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 D | macro_paste_commaext.c | 7 #define debug(format, ...) format, ## __VA_ARGS__)
|
/external/mesa3d/src/intel/vulkan/ |
H A D | vk_format_info.h | 31 vk_format_aspects(VkFormat format) argument 33 switch (format) { 56 vk_format_is_color(VkFormat format) argument 58 return vk_format_aspects(format) == VK_IMAGE_ASPECT_COLOR_BIT; 62 vk_format_is_depth_or_stencil(VkFormat format) argument 64 const VkImageAspectFlags aspects = vk_format_aspects(format); 69 vk_format_has_depth(VkFormat format) argument 71 const VkImageAspectFlags aspects = vk_format_aspects(format);
|
/external/fmtlib/test/ |
H A D | format-test.cc | 62 #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...] |