/toolchain/binutils/binutils-2.25/ld/testsuite/ld-elf/ |
dl4xxx.c | 6 printf ("DSO1\n"); 12 printf ("DSO2\n");
|
indirect4b.c | 6 printf ("MAIN2\n"); 14 printf ("MAIN1\n");
|
dl2main.c | 9 printf ("MAIN\n"); 18 printf ("OK1\n"); 20 printf ("OK2\n");
|
dl3main.cc | 16 printf ("OK\n"); 18 printf ("BAD1\n"); 22 printf ("BAD2\n");
|
/external/clang/test/CodeGen/ |
2009-02-13-zerosize-union-field-ppc.c | 4 // Every printf has 'i32 0' for the GEP of the string; no point counting those. 8 extern int printf(const char*, ...); 10 printf("%ld\n", sizeof(a)); 11 printf("%ld\n", __alignof__(a)); 12 printf("%ld\n", sizeof(b)); 13 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/compiler-rt/test/BlocksRuntime/ |
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/libvncserver/examples/ |
storepasswd.c | 27 printf("\nusage: storepasswd <password> <filename>\n\n"); 29 printf("Stores a password in encrypted format.\n"); 30 printf("The resulting file can be used with the -rfbauth argument to OSXvnc.\n\n"); 40 printf("storing password failed.\n"); 43 printf("storing password succeeded.\n");
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_close/ |
3-2.c | 23 printf("mq_close() did not return -1 on invalid descriptor\n"); 24 printf("Test FAILED\n"); 29 printf("errno != EBADF on invalid descriptor\n"); 30 printf("Test FAILED\n"); 34 printf("Test PASSED\n");
|
3-3.c | 27 printf("mq_close() did not return -1 on invalid descriptor\n"); 28 printf("Test FAILED\n"); 33 printf("errno != EBADF on invalid descriptor\n"); 34 printf("Test FAILED\n"); 38 printf("Test PASSED\n");
|
/external/valgrind/none/tests/mips32/ |
test_math.cpp | 16 printf("fesetround(FE_UPWARD)\n"); 17 printf("lrint(1234.01): %ld\n", lrint(1234.01)); 18 printf("lrintf(1234.01f): %ld\n", lrintf(1234.01f)); 19 printf("lrintl(1234.01): %ld\n", lrintl(1234.01)); 21 printf("fesetround(FE_TOWARDZERO)\n"); 22 printf("lrint(1234.01): %ld\n", lrint(1234.01)); 23 printf("lrintf(1234.01f): %ld\n", lrintf(1234.01f)); 24 printf("lrintl(1234.01): %ld\n", lrintl(1234.01)); 26 printf("fesetround(FE_UPWARD)\n"); 27 printf("llrint(1234.01): %lld\n", llrint(1234.01)) [all...] |
/external/valgrind/none/tests/mips64/ |
test_math.cpp | 16 printf("fesetround(FE_UPWARD)\n"); 17 printf("lrint(1234.01): %ld\n", lrint(1234.01)); 18 printf("lrintf(1234.01f): %ld\n", lrintf(1234.01f)); 19 printf("lrintl(1234.01): %ld\n", lrintl(1234.01)); 21 printf("fesetround(FE_TOWARDZERO)\n"); 22 printf("lrint(1234.01): %ld\n", lrint(1234.01)); 23 printf("lrintf(1234.01f): %ld\n", lrintf(1234.01f)); 24 printf("lrintl(1234.01): %ld\n", lrintl(1234.01)); 26 printf("fesetround(FE_UPWARD)\n"); 27 printf("llrint(1234.01): %lld\n", llrint(1234.01)) [all...] |
/external/clang/test/Sema/ |
format-strings.c | 11 int printf(const char *restrict, ...); // expected-note{{passing argument to parameter here}} 31 printf(s); // expected-warning {{format string is not a string literal}} 57 printf(fmt, 1, 2); // expected-warning{{data argument not used}} 60 printf("abc" 62 printf("abc\ 69 printf("%*d", (unsigned) 1, 1); // no-warning 81 printf(s); // expected-warning {{format string is not a string literal}} 100 printf(i == 1 ? "yes" : "no"); // no-warning 101 printf(i == 0 ? (i == 1 ? "yes" : "no") : "dont know"); // no-warning 102 printf(i == 0 ? (i == 1 ? s : "no") : "dont know"); // expected-warning{{format string is not a string li (…) 559 printf(kFormat17, (int[]){0}); \/\/ expected-warning{{format specifies type 'unsigned short' but the argument}} function [all...] |
format-strings-gnu.c | 9 int printf(const char *restrict, ...); 16 printf("%Ld", notLongEnough); // expected-warning {{format specifies type 'long long' but the argument has type 'long'}} 17 printf("%Ld", quiteLong); 28 printf("%Z\n", quiteLong); // expected-warning{{invalid conversion specifier 'Z'}} 34 printf("%Lc", 'a'); // expected-warning {{length modifier 'L' results in undefined behavior or no effect with 'c' conversion specifier}} 35 printf("%Ls", "a"); // expected-warning {{length modifier 'L' results in undefined behavior or no effect with 's' conversion specifier}} 41 printf("%Ld", y); // no-warning 42 printf("%Lu", y); // no-warning 43 printf("%Lx", y); // no-warning 44 printf("%Ld", x); // no-warnin [all...] |
format-strings-darwin.c | 10 int printf(const char *restrict, ...); 17 printf("%D", justRight); 18 printf("%D", tooLong); 19 printf("%U", justRight); 20 printf("%U", tooLong); 21 printf("%O", justRight); 22 printf("%O", tooLong); 43 printf("%hD", x); // expected-warning{{conversion specifier is not supported by ISO C}} expected-note {{did you mean to use 'd'?}} 44 printf("%lD", y); // expected-warning{{conversion specifier is not supported by ISO C}} expected-note {{did you mean to use 'd'?}} 45 printf("%hU", x); // expected-warning{{conversion specifier is not supported by ISO C}} expected-note {{d (…) [all...] |
format-strings-ms.c | 4 int printf(const char *format, ...) __attribute__((format(printf, 1, 2))); 12 printf("%Id", i32); // expected-warning{{'I' length modifier is not supported by ISO C}} 13 printf("%I32d", i32); // expected-warning{{'I32' length modifier is not supported by ISO C}} 14 printf("%I64d", i64); // expected-warning{{'I64' length modifier is not supported by ISO C}} 15 printf("%wc", c); // expected-warning{{'w' length modifier is not supported by ISO C}} 16 printf("%Z", p); // expected-warning{{'Z' conversion specifier is not supported by ISO C}} 23 printf("val = %I64d\n", val); // expected-warning{{format specifies type '__int64' (aka 'long long') but the argument has type 'short'}} 25 printf("val = %I32d\n", bigval); // expected-warning{{format specifies type '__int32' (aka 'int') but the argument has type 'long long'}} 26 printf("val = %Id\n", bigval); // expected-warning{{format specifies type '__int32' (aka 'int') but the a (…) [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_wrlock/ |
3-1.c | 34 printf("Error at pthread_rwlock_init()\n"); 40 printf("main: attempt write lock\n"); 42 printf("Error at pthread_rwlock_wrlock()\n"); 45 printf("main: acquired write lock\n"); 50 printf("main: attempt write lock\n"); 55 printf("Error releasing write lock\n"); 60 printf("Error at pthread_rwlock_destroy()\n"); 66 printf("main: correctly got EDEADLK\n"); 67 printf("Test PASSED\n"); 70 printf("Test FAILED: Incorrect return code %d\n", rc) [all...] |
/external/libxml2/ |
dbgen.pl | 31 printf " <row>\n"; 32 printf " <id>%04d</id>\n", $i; 33 printf " <firstname>$first</firstname>\n", $i; 34 printf " <lastname>$last</lastname>\n", $i; 35 printf " <street>%d Any St.</street>\n", ($i % 100) + 1; 36 printf " <city>Anytown</city>\n"; 37 printf " <state>$state</state>\n"; 38 printf " <zip>%d</zip>\n", $zip; 39 printf " </row>\n";
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-ifunc/ |
prog.c | 1 extern int printf (const char *, ...); 19 printf ("ifunc working correctly\n"); 22 printf ("wrong value returned by library_func2\n"); 29 printf ("wrong value returned by library_func2\n"); 32 printf ("ifunc working correctly\n"); 38 printf ("non-ifunc testcase\n"); 42 printf ("ifunc function not evaluated at run-time, res = %x\n", res);
|
/system/bt/embdrv/sbc/decoder/srce/ |
framing-sbc.c | 46 printf("SBC configuration\n"); 47 printf(" enhanced: %s\n", frameInfo->enhanced ? "true" : "false"); 48 printf(" frequency: %d\n", frameInfo->frequency); 49 printf(" subbands: %d\n", frameInfo->nrof_subbands); 50 printf(" blocks: %d\n", frameInfo->nrof_blocks); 51 printf(" channels: %d\n", frameInfo->nrof_channels); 52 printf(" mode: %s\n", OI_CODEC_SBC_ModeText[frameInfo->mode]); 53 printf(" alloc: %s\n", OI_CODEC_SBC_AllocText[frameInfo->alloc]); 54 printf(" bitpool: %d\n", frameInfo->bitpool);
|
/external/clang/test/Frontend/ |
source-col-map.c | 18 __attribute__((format(printf, 1, 2))) 19 extern int printf(const char *fmt, ...); 33 /* ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? */ printf("%d", "s"); 37 // CHECK-NEXT: ...???? ???? ???? ???? ???? ???? ???? ???? ???? */ printf("%d", "s");
|
/external/syslinux/com32/modules/ |
cpuidtest.c | 48 printf("Vendor = %s\n", cpu.vendor); 49 printf("Model = %s\n", cpu.model); 50 printf("Vendor ID = %d\n", cpu.vendor_id); 51 printf("Family = %d\n", cpu.family); 52 printf("Model ID = %d\n", cpu.model_id); 53 printf("Stepping = %d\n", cpu.stepping); 54 printf("Flags = "); 56 printf("fpu "); 58 printf("vme "); 60 printf("de ") [all...] |
/toolchain/binutils/binutils-2.25/binutils/ |
sysinfo.y | 58 printf("#ifdef SYSROFF_SWAP_IN\n"); 61 printf("#ifdef SYSROFF_p\n"); 66 printf("#ifdef SYSROFF_SWAP_OUT\n"); 69 printf("#ifdef SYSROFF_PRINT\n"); 70 printf("#include <stdio.h>\n"); 71 printf("#include <stdlib.h>\n"); 72 printf("#include <ansidecl.h>\n"); 82 printf("#endif\n"); 103 printf("\n\n\n#define IT_%s_CODE 0x%x\n", it,code); 104 printf("struct IT_%s;\n", it) [all...] |
/developers/samples/android/ |
emitSample.sh | 3 printf "\033[1;34mProcessing: ${1} ...\033[0m\n" 5 printf "\033[0;33m[Refresh]\033[0m\n" 7 printf "\033[0;33m[Clean 1]\033[0m\n" 9 printf "\033[0;33m[EmitGradle]\033[0m\n" 11 printf "\033[0;33m[Clean 2]\033[0m\n" 13 printf "\033[0;33m[EmitBrowseable]\033[0m\n" 15 printf "\033[0;33m[Clean 3]\033[0m\n" 17 printf "\033[0;33m[EmitGradleZip]\033[0m\n"
|