/external/valgrind/main/none/tests/s390x/ |
fgx.c | 14 printf("test LGDR\n\n"); 15 printf("before g = %ld\n", g); 16 printf("before f = %a\n", f); 17 printf("copy f to g\n"); 19 printf("after g = %16.16lx\n", g); /* 0x0x0x0...... */ 20 printf("after f = %a\n", f); 22 printf("\ntest LDGR\n\n"); 24 printf("before g = %16.16lx\n", g); /* 0x0x0x0...... */ 25 printf("before f = %a\n", f); 26 printf("copy g to f\n") [all...] |
/external/clang/test/Sema/ |
format-strings-no-fixit.c | 10 int printf(char const *, ...); 15 printf(kFormat1, 5); 16 printf("%s", 5); 20 printf(kFormat2, p); 21 printf("%.3p", p); 24 printf(kFormat3, "a"); 25 printf("%0s", "a"); 28 printf(kFormat4, "a"); 29 printf("%hhs", "a"); 32 printf(kFormat5, 5) [all...] |
format-strings.c | 7 int printf(const char *restrict, ...); // expected-note{{passing argument to parameter here}} 27 printf(s); // expected-warning {{format string is not a string literal}} 46 printf("abc" 48 printf("abc\ 55 printf("%*d", (unsigned) 1, 1); // no-warning 64 printf(s); // expected-warning {{format string is not a string literal}} 78 printf(i == 1 ? "yes" : "no"); // no-warning 79 printf(i == 0 ? (i == 1 ? "yes" : "no") : "dont know"); // no-warning 80 printf(i == 0 ? (i == 1 ? s : "no") : "dont know"); // expected-warning{{format string is not a string literal}} 81 printf("yes" ?: "no %d", 1); // expected-warning{{data argument not used by format string} 497 printf(kFormat17, (int[]){0}); \/\/ expected-warning{{format specifies type 'unsigned short' but the argument}} function [all...] |
format-strings-fixit.c | 11 int printf(char const *, ...); 20 printf("%s", (int) 123); 21 printf("abc%0f", "testing testing 123"); 22 printf("%u", (long) -12); 23 printf("%p", 123); 24 printf("%c\n", "x"); 25 printf("%c\n", 1.23); 28 printf("%+.2d", (unsigned long long) 123456); 29 printf("%1d", (long double) 1.23); 32 printf("%0+s", (unsigned) 31337); // 0 flag should sta [all...] |
/external/srtp/crypto/test/ |
env.c | 55 printf("CPU set to big-endian\t\t\t(WORDS_BIGENDIAN == 1)\n"); 57 printf("CPU set to little-endian\t\t(WORDS_BIGENDIAN == 0)\n"); 61 printf("CPU set to RISC\t\t\t\t(CPU_RISC == 1)\n"); 63 printf("CPU set to CISC\t\t\t\t(CPU_CISC == 1)\n"); 65 printf("CPU set to an unknown type, probably due to a configuration error\n"); 70 printf("CPU set to ALTIVEC\t\t\t\t(CPU_ALTIVEC == 0)\n"); 74 printf("using native 64-bit type\t\t(NO_64_BIT_MATH == 0)\n"); 76 printf("using built-in 64-bit math\t\t(NO_64_BIT_MATH == 1)\n"); 80 printf("using stdout for error reporting\t(ERR_REPORTING_STDOUT == 1)\n"); 88 printf("using %s as a random source\t(DEV_URANDOM == %s)\n" [all...] |
/external/clang/test/CodeGen/ |
2002-02-18-64bitConstant.c | 5 int printf(const char * restrict format, ...); 9 printf("%lld\n", Var);
|
2009-02-13-zerosize-union-field-ppc.c | 3 // Every printf has 'i32 0' for the GEP of the string; no point counting those. 7 extern int printf(const char*, ...); 9 printf("%ld\n", sizeof(a)); 10 printf("%ld\n", __alignof__(a)); 11 printf("%ld\n", sizeof(b)); 12 printf("%ld\n", __alignof__(b));
|
2009-02-13-zerosize-union-field.c | 2 // Every printf has 'i32 0' for the GEP of the string; no point counting those. 6 extern int printf(const char*, ...); 9 printf("%ld\n", sizeof(a)); 11 printf("%ld\n", __alignof__(a)); 13 printf("%ld\n", sizeof(b)); 15 printf("%ld\n", __alignof__(b));
|
/external/clang/test/CodeGenCXX/ |
switch-case-folding-2.cpp | 4 extern int printf(const char*, ...); 10 case 6: do { case 5: printf("bad\n"); } while (0);
|
predefined-expr.cpp | 101 int printf(const char * _Format, ...); 106 printf("__func__ %s\n", __func__); 107 printf("__FUNCTION__ %s\n", __FUNCTION__); 108 printf("__PRETTY_FUNCTION__ %s\n\n", __PRETTY_FUNCTION__); 117 printf("__func__ %s\n", __func__); 118 printf("__FUNCTION__ %s\n", __FUNCTION__); 119 printf("__PRETTY_FUNCTION__ %s\n\n", __PRETTY_FUNCTION__); 131 printf("__func__ %s\n", __func__); 132 printf("__FUNCTION__ %s\n", __FUNCTION__); 133 printf("__PRETTY_FUNCTION__ %s\n\n", __PRETTY_FUNCTION__) [all...] |
/external/compiler-rt/BlocksRuntime/tests/ |
shorthandexpression.c | 18 void (^b)(void) = ^(void)printf("hello world\n"); 22 printf("%s: this shouldn't compile\n", argv[0]);
|
constassign.c | 18 void foo(void) { printf("I'm in foo\n"); } 19 void bar(void) { printf("I'm in bar\n"); } 23 void (^const blockA)(void) = ^ { printf("hello\n"); }; 24 blockA = ^ { printf("world\n"); } ; 26 printf("%s: success\n", argv[0]);
|
sizeof.c | 21 void (^aBlock)(void) = ^{ printf("hellow world\n"); }; 23 printf("the size of a block is %ld\n", sizeof(*aBlock)); 24 printf("%s: success\n", argv[0]);
|
/external/fsck_msdos/ |
fsutil.h | 4 #define pwarn printf 5 #define pfatal printf
|
/external/valgrind/main/none/tests/ppc32/ |
bug129390-ppc32.c | 6 printf("vmxcache: start\n"); 50 printf("vmxcache: done\n");
|
/external/libmtp/examples/ |
hotplug.c | 90 printf("# UDEV-style hotplug map for libmtp\n"); 91 printf("# Put this file in /etc/udev/rules.d\n\n"); 92 printf("ACTION!=\"add\", GOTO=\"libmtp_rules_end\"\n"); 93 printf("ENV{MAJOR}!=\"?*\", GOTO=\"libmtp_rules_end\"\n"); 94 printf("SUBSYSTEM==\"usb\", GOTO=\"libmtp_usb_rules\"\n" 101 printf("# This usermap will call the script \"libmtp.sh\" whenever a known MTP device is attached.\n\n"); 104 printf("<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?> <!-- -*- SGML -*- -->\n"); 105 printf("<!-- This file was generated by %s - - fdi -->\n", argv[0]); 106 printf("<deviceinfo version=\"0.2\">\n"); 107 printf(" <device>\n") [all...] |
/frameworks/compile/libbcc/tests/data/src/ |
iops.c | 5 printf("++\n"); 7 printf("%d\n", y); 9 printf("--\n"); 11 printf("%d\n", y); 16 printf("Literals: %d %d\n", 1, -1);
|
locals.c | 6 // printf("f 0: a = %d b = %d\n", a, b); 7 printf("f 0: a = %d\n", a); 9 printf("f 1: a = %d\n", a); 13 printf("g 0: a = %d\n", a); 15 printf("g 1: a = %d\n", a); 21 printf("h 0: a = %d\n", a); 23 printf("h 1: a = %d\n", a); 39 printf("b()\n"); 44 printf("nested 0: a = %d\n", a); 46 printf("nested 1: a = %d\n", a) [all...] |
expr-ansi.c | 3 void testInc() { int a, b; a = 3; b = a++; printf("3++ = %d %d\n", b, a); } 4 void testDec() { int a, b; a = 3; b = a--; printf("3-- = %d %d\n", b, a); } 5 void testTimes(){ printf("%d * %d = %d\n", 10, 4, 10 * 4); } 6 void testDiv(){ printf("%d / %d = %d\n", 11, 4, 11 / 4); } 7 void testMod(){ printf("%d %% %d = %d\n", 11, 4, 11 % 4); } 8 void testPlus(){ printf("%d + %d = %d\n", 10, 4, 10 + 4); } 9 void testMinus(){ printf("%d - %d = %d\n", 10, 4, 10 - 4); } 10 void testShiftLeft(){ printf("%d << %d = %d\n", 10, 4, 10 << 4); } 11 void testShiftRight(){ printf("%d >> %d = %d\n", 100, 4, 100 >> 4); } 12 void testLess(){ printf("%d < %d = %d\n", 10, 4, 10 < 4); [all...] |
expr.c | 3 testInc() { int a, b; a = 3; b = a++; printf("3++ = %d %d\n", b, a); } 4 testDec() { int a, b; a = 3; b = a--; printf("3-- = %d %d\n", b, a); } 5 testTimes(){ printf("%d * %d = %d\n", 10, 4, 10 * 4); } 6 testDiv(){ printf("%d / %d = %d\n", 11, 4, 11 / 4); } 7 testMod(){ printf("%d %% %d = %d\n", 11, 4, 11 % 4); } 8 testPlus(){ printf("%d + %d = %d\n", 10, 4, 10 + 4); } 9 testMinus(){ printf("%d - %d = %d\n", 10, 4, 10 - 4); } 10 testShiftLeft(){ printf("%d << %d = %d\n", 10, 4, 10 << 4); } 11 testShiftRight(){ printf("%d >> %d = %d\n", 100, 4, 100 >> 4); } 12 testLess(){ printf("%d < %d = %d\n", 10, 4, 10 < 4); [all...] |
/external/openssl/crypto/des/ |
rpw.c | 67 printf("read passwd\n"); 70 printf("password = "); 72 printf("%02x ",k[i]); 75 printf("error %d\n",i); 76 printf("\n"); 77 printf("read 2passwds and verify\n"); 81 printf("password1 = "); 83 printf("%02x ",k[i]); 84 printf("\n"); 85 printf("password2 = ") [all...] |
/ndk/tests/device/test-cpufeatures/jni/ |
test_cpufeatures.c | 24 printf("CPU family is ARM\n"); 27 printf("CPU family is x86\n"); 30 printf("CPU family is MIPS\n"); 39 printf( "Supported ARM features:\n"); 41 printf( " ARMv7\n" ); 44 printf( " VFPv3\n" ); 47 printf( " NEON\n" ); 50 printf( " ldrex/strex\n" ); 56 printf( "Supported x86 features:\n"); 58 printf( " SSSE3\n") [all...] |
/external/oprofile/daemon/liblegacy/ |
opd_24_stats.c | 26 printf("\n%s\n", op_get_time()); 27 printf("Nr. proc struct: %d\n", opd_get_nr_procs()); 28 printf("Nr. image struct: %d\n", opd_get_nr_images()); 29 printf("Nr. kernel samples: %lu\n", opd_24_stats[OPD_KERNEL]); 30 printf("Nr. modules samples: %lu\n", opd_24_stats[OPD_MODULE]); 31 printf("Nr. modules samples lost: %lu\n", opd_24_stats[OPD_LOST_MODULE]); 32 printf("Nr. samples lost due to no process information: %lu\n", 34 printf("Nr. samples lost due to sample file open failure: %lu\n", 36 printf("Nr. process samples in user-space: %lu\n", opd_24_stats[OPD_PROCESS]); 37 printf("Nr. samples lost due to no map information: %lu\n" [all...] |
/hardware/ti/omap4xxx/security/smc_pa_ctrl/ |
smc_pa_ctrl.c | 47 printf("usage : smc_boot_pa_ctrl <options> [command]\n"); 48 printf(" Options:\n"); 49 printf(" -h, --help: Print this help\n"); 50 printf(" Commands:\n"); 51 printf(" -c <conf> : Configuration file path\n"); 52 printf(" start <pa_file_path>: load and start the SMC PA\n"); 53 printf("\n"); 55 printf("usage : smc_pa_ctrl <options> [command]\n"); 56 printf(" Options:\n"); 57 printf(" -h, --help: Print this help\n") [all...] |
/external/valgrind/main/gdbserver_tests/ |
main_pic.c | 5 printf ("another func called msg %s\n", msg); 10 printf("address of main %p\n", &main); 11 printf("address of another_func %p\n", &another_func);
|