/external/valgrind/main/memcheck/tests/ |
clientperm.c | 25 printf("m_na: returned value is %d\n", m ); 29 printf("sum is %s\n", sum > 0 ? "positive" : "non-positive"); 32 printf("m_rm: returned value is %d\n", m ); 36 printf("sum is %s\n", sum > 0 ? "positive" : "non-positive");
|
manuel2.c | 10 printf ("x = %d\n", *x==0xDEADBEEF ? 99 : 88);
|
wrap2.c | 21 printf("in wrapper1-pre: fact(%d)\n", n); 23 printf("in wrapper1-post: fact(%d) = %d\n", n, r); 32 printf("computing fact(5)\n"); 34 printf("fact(5) = %d\n", r);
|
/external/valgrind/main/memcheck/tests/x86/ |
pushfw_x86.c | 20 printf("%x %x %x\n", arr[0]-arr[0], arr[0]-arr[1], arr[0]-arr[2]);
|
more_x86_fp.c | 35 printf("a=%f b=%f a+b=%f\n", a, b, a + b); 36 printf("a=%f b=%f a-b=%f\n", a, b, a - b); 37 printf("a=%f b=%f a*b=%f\n", a, b, a * b); 38 printf("a=%f b=%f a/b=%f\n", a, b, a / b); 39 printf("a=%f b=%f fmod(a, b)=%f\n", a, b, fmod(a, b)); 40 printf("a=%f sqrt(a)=%f\n", a, sqrt(a)); 41 printf("a=%f sin(a)=%f\n", a, sin(a)); 42 printf("a=%f cos(a)=%f\n", a, cos(a)); 43 printf("a=%f tan(a)=%f\n", a, tan(a)); 44 printf("a=%f log(a)=%f\n", a, log(a)) [all...] |
/external/valgrind/main/none/tests/amd64/ |
shrld.c | 164 printf("\nleft 64\n"); 174 printf("%3d 0x%016llx 0x%llx\n", i, result, flags_out & mask); 177 printf("\nleft 32\n"); 187 printf("%3d 0x%016llx 0x%llx\n", i, result, flags_out & mask); 189 printf("\n"); 191 printf("\nleft 16\n"); 201 printf("%3d 0x%016llx 0x%llx\n", i, result, flags_out & mask); 203 printf("\n"); 205 printf("\nright 64\n"); 215 printf("%3d 0x%016llx 0x%llx\n", i, result, flags_out & mask) [all...] |
/external/valgrind/main/none/tests/ |
args.c | 8 printf("arg %d: `%s'\n", i, argv[i]);
|
/ndk/tests/device/test-basic-exceptions/jni/ |
test_basic_exceptions.cpp | 32 std::printf("OK: Exception raised: %s\n", str);
|
/ndk/tests/standalone/test-basic-c++/ |
test_basic_exceptions.cpp | 32 std::printf("OK: Exception raised: %s\n", str);
|
/system/extras/tests/bionic/libc/other/ |
test_arc4random.c | 37 printf("%u\n", arc4random());
|
/external/bluetooth/hcidump/parser/ |
att.c | 267 printf("Error: %s (%d)\n", atterror2str(err), err); 270 printf("%s (0x%.2x) on handle 0x%2.2x\n", attop2str(op), op, handle); 278 printf("client rx mtu %d\n", client_rx_mtu); 286 printf("server rx mtu %d\n", server_rx_mtu); 295 printf("start 0x%2.2x, end 0x%2.2x\n", start, end); 305 printf("format: uuid-16\n"); 311 printf("handle 0x%2.2x, uuid 0x%2.2x (%s)\n", handle, uuid, 315 printf("format: uuid-128\n"); 322 printf("handle 0x%2.2x, uuid ", handle); 324 printf("%02x", get_u8(frm)) [all...] |
/external/tcpdump/ |
print-radius.c | 70 printf("%02X", *ptr_data ); \ 459 printf(" [|radius]"); 463 printf("Tag %u, ",*data); 466 printf("Salt %u ",EXTRACT_16BITS(data) ); 480 printf(" [|radius]"); 483 printf("Tag %u",*data); 491 printf("%c",(*data < 32 || *data > 128) ? '.' : *data ); 496 printf(" [|radius]"); 518 printf("Vendor: %s (%u)", 530 printf("\n\t Vendor Attribute: %u, Length: %u (bogus, must be >= 2)" [all...] |
print-ospf.c | 193 printf("\n\t Bogus length %u < %lu", ls_length, 199 printf("\n\t Advertising Router: %s, seq 0x%08x, age %us, length: %u", 211 printf("\n\t %s LSA (%d), Opaque-Type: %s LSA (%u), Opaque-ID: %u", 226 printf("\n\t %s LSA (%d), LSA-ID: %s", 234 printf("\n\t Options: [%s]", bittok2str(ospf_option_values,"none",lshp->ls_options)); 276 printf("\n\t Router LSA Options: [%s]", bittok2str(ospf_rla_flag_values,"none",lsap->lsa_un.un_rla.rla_flags)); 287 printf("\n\t Virtual Link: Neighbor Router-ID: %s, Interface Address: %s", 293 printf("\n\t Neighbor Router-ID: %s, Interface Address: %s", 299 printf("\n\t Neighbor Network-ID: %s, Interface Address: %s", 305 printf("\n\t Stub Network: %s, Mask: %s" [all...] |
print-egp.c | 183 printf(" %s %s ", 191 printf("%sd%d:", comma, (int)*cp++); 206 printf(" %s", ipaddr_string(&addr)); 226 printf("[|egp]"); 229 (void)printf("egp: "); 232 printf("[version %d]", egp->egp_version); 235 printf("as:%d seq:%d", EXTRACT_16BITS(&egp->egp_as), EXTRACT_16BITS(&egp->egp_sequence)); 243 printf(" acquire"); 247 printf(" %s", egp_acquire_codes[code]); 252 printf(" %s", egp_acquire_status[status]) [all...] |
print-bootp.c | 73 printf("BOOTP/DHCP, %s", 78 printf(" from %s", etheraddr_string(bp->bp_chaddr)); 81 printf(", length %u", length); 90 printf(", htype %d", bp->bp_htype); 94 printf(", hlen %d", bp->bp_hlen); 98 printf(", hops %d", bp->bp_hops); 100 printf(", xid 0x%x", EXTRACT_32BITS(&bp->bp_xid)); 102 printf(", secs %d", EXTRACT_16BITS(&bp->bp_secs)); 104 printf(", Flags [%s]", 107 printf(" (0x%04x)", EXTRACT_16BITS(&bp->bp_flags)) [all...] |
/external/ipsec-tools/src/libipsec/ |
key_debug.c | 103 #define panic(param) { printf(param); exit(1); } 121 printf("sadb_msg{ version=%u type=%u errno=%u satype=%u\n", 124 printf(" len=%u reserved=%u seq=%u pid=%u\n", 132 printf("sadb_ext{ len=%u type=%u }\n", 136 printf("kdebug_sadb: invalid ext_len=0 was passed.\n"); 140 printf("kdebug_sadb: ext_len exceeds end of buffer.\n"); 207 printf("kdebug_sadb: invalid ext_type %u was passed.\n", 235 printf("sadb_prop{ replay=%u\n", prop->sadb_prop_replay); 238 printf("sadb_comb{ auth=%u encrypt=%u " 243 printf(" auth_minbits=%u auth_maxbits=%u [all...] |
/external/e2fsprogs/lib/ext2fs/ |
tst_bitops.c | 51 printf("Bit set: %d\n", i); 62 printf("Bit %d set, not expected\n", i); 67 printf("Expected bit %d to be clear.\n", i); 72 printf("ext2fs_test_bit appears to be correct\n"); 80 printf("ext2fs_set_bit test succeeded.\n"); 82 printf("ext2fs_set_bit test failed.\n"); 84 printf("%02x ", testarray[i]); 86 printf("\n"); 94 printf("ext2fs_clear_bit failed, " 99 printf("ext2fs_clear_bit test succeed.\n") [all...] |
/external/elfutils/tests/ |
asm-tst2.c | 71 printf ("cannot create assembler context: %s\n", asm_errmsg (-1)); 80 printf ("cannot create section in output file: %s\n", asm_errmsg (-1)); 88 printf ("cannot align .text section: %s\n", asm_errmsg (-1)); 95 printf ("cannot insert first string: %s\n", asm_errmsg (-1)); 100 printf ("cannot insert second string: %s\n", asm_errmsg (-1)); 105 printf ("cannot insert third string: %s\n", asm_errmsg (-1)); 112 printf ("cannot create output file: %s\n", asm_errmsg (-1)); 121 printf ("cannot open generated file: %m\n"); 129 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1)); 143 printf ("cannot get ELF header: %s\n", elf_errmsg (-1)) [all...] |
asm-tst7.c | 39 printf ("cannot create assembler context: %s\n", asm_errmsg (-1)); 45 printf ("cannot create common symbol: %s\n", asm_errmsg (-1)); 53 printf ("cannot create output file: %s\n", asm_errmsg (-1)); 62 printf ("cannot open generated file: %m\n"); 70 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1)); 90 printf ("cannot get section %Zd: %s\n", cnt, elf_errmsg (-1)); 98 printf ("cannot get section header for section %Zd: %s\n", 124 printf ("cannot get symbol %zu: %s\n", cnt, elf_errmsg (-1)); 131 printf ("expected common symbol, got section %u\n", 138 printf ("requested alignment 16, is %" PRIuMAX "\n" [all...] |
/external/valgrind/main/memcheck/tests/amd64/ |
more_x87_fp.c | 44 printf("a=%f b=%f a+b=%f\n", a, b, a + b); 45 printf("a=%f b=%f a-b=%f\n", a, b, a - b); 46 printf("a=%f b=%f a*b=%f\n", a, b, a * b); 47 printf("a=%f b=%f a/b=%f\n", a, b, a / b); 49 //printf("a=%f b=%f fmod(a, b)=%f\n", a, b, fmod(a, b)); 50 printf("a=%f sqrt(a)=%f\n", a, sqrt(a)); 51 printf("a=%f sin(a)=%f\n", a, sin(a)); 52 printf("a=%f cos(a)=%f\n", a, cos(a)); 53 printf("a=%f tan(a)=%f\n", a, tan(a)); 54 printf("a=%f log(a)=%f\n", a, log(a)) [all...] |
/external/clang/test/Sema/ |
attr-format.c | 5 void a(const char *a, ...) __attribute__((format(printf, 1,2))); // no-error 6 void b(const char *a, ...) __attribute__((format(printf, 1,1))); // expected-error {{'format' attribute parameter 3 is out of bounds}} 7 void c(const char *a, ...) __attribute__((format(printf, 0,2))); // expected-error {{'format' attribute parameter 2 is out of bounds}} 8 void d(const char *a, int c) __attribute__((format(printf, 1,2))); // expected-error {{format attribute requires variadic function}} 9 void e(char *str, int c, ...) __attribute__((format(printf, 2,3))); // expected-error {{format argument not a string type}} 12 void f(xpto c, va_list list) __attribute__((format(printf, 1, 0))); // no-error 13 void g(xpto c) __attribute__((format(printf, 1, 0))); // no-error 18 int (*f_ptr)(char*,...) __attribute__((format(printf, 1,2))); // no-error 19 int (*f2_ptr)(double,...) __attribute__((format(printf, 1, 2))); // expected-error {{format argument not a string type}} 22 int (*printf)(const char *format, ...) __attribute__((__format__(printf, 1, 2))); // no-erro member in struct:_mystruct [all...] |
/external/iptables/extensions/ |
libxt_LED.c | 39 printf( 77 printf(" led-trigger-id:\""); 81 printf("\\"); 82 printf("%c", *id++); 84 printf("\""); 87 printf(" led-delay:inf"); 89 printf(" led-delay:%dms", led->delay); 92 printf(" led-always-blink"); 100 printf(" --led-trigger-id \""); 104 printf("\\"); [all...] |
libxt_quota2.c | 50 printf( 90 printf(" !"); 92 printf(" --grow "); 94 printf(" --no-change "); 96 printf(" --packets "); 98 printf(" --name %s ", q->name); 99 printf(" --quota %llu ", (unsigned long long)q->quota); 108 printf(" !"); 110 printf(" counter"); 112 printf(" quota") [all...] |
/external/pcre/ |
perltest.pl | 61 printf($outfile "Perl $] Regular Expressions\n\n"); 68 printf " re> " if $infile eq "STDIN"; 70 printf $outfile "$_" if $infile ne "STDIN"; 77 printf " > " if $infile eq "STDIN"; 79 printf $outfile "$_" if $infile ne "STDIN"; 111 printf $outfile "Error: $@"; 133 printf "data> " if $infile eq "STDIN"; 136 printf $outfile "$_\n" if $infile ne "STDIN"; 176 printf $outfile "Error: $@\n"; 181 printf $outfile "No match" [all...] |
/external/dbus/bus/ |
test-main.c | 47 printf ("%s: checking for memleaks\n", name); 103 printf ("%s: Running expire list test\n", argv[0]); 109 printf ("%s: Running config file parser test\n", argv[0]); 115 printf ("%s: Running policy test\n", argv[0]); 121 printf ("%s: Running signals test\n", argv[0]); 127 printf ("%s: Running SHA1 connection test\n", argv[0]); 133 printf ("%s: Running message dispatch test\n", argv[0]); 139 printf ("%s: Running service files reloading test\n", argv[0]); 146 printf ("%s: Running unix fd passing test\n", argv[0]); 152 printf ("%s: Success\n", argv[0]) [all...] |