Searched refs:printf (Results 276 - 300 of 7700) sorted by relevance

<<11121314151617181920>>

/external/toybox/toys/pending/
H A Dipcs.c62 printf("\nMessage Queue msqid=%d\n"
65 printf ("cbytes=%ld\tqbytes=%ld\tqnum=%ld\tlspid=%d\tlrpid=%d\n",
69 printf("send_time=%-26.24s\nrcv_time=%-26.24s\nchange_time=%-26.24s\n\n",
89 printf("\nSemaphore Array semid=%d\n"
99 printf("ctime = %-26.24s\n"
113 printf("%-10d %-10d %-10d %-10d %-10d\n", i, val, nc, zc, pid);
130 printf("\nShared memory Segment shmid=%d\n"
139 printf("att_time=%-26.24s\n",
141 printf("det_time=%-26.24s\n",
143 printf("change_tim
[all...]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/
H A D6-2.c67 printf("sig_handler: signal is handled by thread\n");
70 printf("sig_handler: sleeping for %d seconds\n",
75 printf("sig_handler: signal is not handled by thread\n");
104 printf("thread: attempt timed read lock, %d seconds\n", TIMEOUT);
107 printf("thread: correctly acquired read lock\n");
110 printf("thread: timer expired, did not acquire read lock");
113 printf("Error at pthread_rwlock_timedrdlock()");
129 printf("Error at pthread_rwlock_init()\n");
133 printf("main: attempt write lock\n");
135 printf("pthread_rwlock_wrloc
[all...]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/
H A D6-2.c67 printf("sig_handler: signal is handled by thread\n");
70 printf("sig_handler: sleeping for %d seconds\n",
75 printf("sig_handler: signal is not handled by thread\n");
104 printf("thread: attempt timed write lock, %d seconds\n", TIMEOUT);
107 printf("thread: correctly acquired write lock\n");
110 printf("thread: timer expired, did not acquire write lock");
113 printf("Error %d at pthread_rwlock_timedwrlock()\n", rc);
129 printf("Error at pthread_rwlock_init()\n");
133 printf("main: attempt write lock\n");
135 printf("pthread_rwlock_wrloc
[all...]
/external/clang/test/CodeGenCXX/
H A Ddestructor-calls.cpp3 extern "C" int printf(...);
8 B() : iB(++val) { printf("B()\n"); }
10 ~B() { printf("~B(%d)\n", iB); --val; }
14 M() : iM(++val) { printf("M()\n"); }
16 ~M() { printf("~M(%d)\n", iM); --val; }
20 P() : iP(++val) { printf("P()\n"); }
22 ~P() { printf("~P(%d)\n", iP); --val; }
26 N() { printf("N()\n"); iN = ++val; }
27 ~N() { printf("~N(%d) val = %d\n", iN, --val); }
/external/e2fsprogs/lib/uuid/
H A Dtst_uuid.c56 printf("%s is %s", uuid, validStr[isValid]);
58 printf(" but uuid_parse says %s\n", validStr[parsedOk]);
61 printf(", OK\n");
85 printf("UUID generate = %s\n", str);
86 printf("UUID: ");
88 printf("%02x", *cp++);
90 printf("\n");
92 printf("UUID type = %d, UUID variant = %d\n", type, variant);
94 printf("Incorrect UUID Variant; was expecting DCE!\n");
97 printf("\
[all...]
/external/icu/icu4c/source/test/testmap/
H A Dtestmap.c35 printf("setCommonData(NULL) -> %s [should fail]\n", u_errorName(status));
38 printf("*** FAIL: should have returned U_ILLEGAL_ARGUMENT_ERROR\n");
44 printf("setCommonData(%p) -> %s\n", (void*)&U_ICUDATA_ENTRY_POINT, u_errorName(status));
47 printf("*** FAIL: should have returned U_ZERO_ERROR\n");
53 printf("ucnv_open(iso-8859-3)-> %p, err = %s, name=%s\n",
57 printf("\n*** FAIL: should have returned U_ZERO_ERROR;\n");
67 printf("setCommonData(%p) -> %s [should pass]\n", (void*) &U_ICUDATA_ENTRY_POINT, u_errorName(status));
70 printf("\n*** FAIL: should pass and not set U_USING_DEFAULT_ERROR\n");
74 printf("\n*** PASS PASS PASS, test PASSED!!!!!!!!\n");
/external/ltp/lib/
H A Ddatabin.c163 printf("***** for a ****************************\n");
165 printf("databingen('a', buffer, %d, 0)\n", size);
168 printf("databinchk('a', buffer, %d, 0, &errmsg) returned %d: %s\n",
171 printf("\tPASS return value of -1 as expected\n");
173 printf("\tFAIL return value %d, expected -1\n", ret);
177 printf("databinchk('a', &buffer[1], %d, %d, &errmsg) returned %d: %s\n",
180 printf("\tPASS return value of -1 as expected\n");
182 printf("\tFAIL return value %d, expected -1\n", ret);
185 printf("changing char 15 (offset (%d+15) = %d) to 0x0\n", offset,
190 printf("databinch
[all...]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/kill/
H A D1-2.c69 printf("Sigwait did not return 0."
86 printf("Could not raise signal being tested\n");
96 printf("Child exited normally\n");
97 printf("Test PASSED\n");
100 printf("Child did not exit normally.\n");
101 printf("Test FAILED\n");
106 printf("Error fork() a child\n");
110 printf("Should have exited from parent\n");
111 printf("Test FAILED\n");
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/
H A D23-1.c36 printf("Test UNRESOLVED\n");
46 printf("mq_open() should have failed with O_CREAT and\n");
47 printf("O_EXCL on an already opened queue.\n");
48 printf("Test FAILED\n");
55 printf("mq_open() failed as expected\n");
59 printf("errno != EEXIST\n");
60 printf("Test FAILED\n");
66 printf("errno == EEXIST\n");
72 printf("Test PASSED\n");
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_init/
H A D3-1.c36 printf("Error at pthread_rwlockattr_init()\n");
41 printf("Test FAILED: Error in pthread_rwlock_init()\n");
47 printf
54 printf
61 printf
68 printf
76 printf("Error at pthread_rwlockattr_destroy()\n");
81 printf("Error at pthread_rwlockattr_destroy()\n");
85 printf("Test PASSED\n");
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/raise/
H A D1-2.c37 printf("Caught signal from parent!\n");
43 printf("Caught signal from child!\n");
77 printf("Could not raise signal being tested\n");
81 printf("Should have exited from signal handler\n");
92 printf("Child exited normally\n");
93 printf("Test PASSED\n");
96 printf("Child did not exit normally.\n");
97 printf("Test FAILED\n");
102 printf("Should not make it here.\n");
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/
H A D1-1.c35 printf
56 printf("shouldn't be here\n");
66 printf("Could not raise signal being tested\n");
76 printf("Child exited normally\n");
77 printf("Test PASSED\n");
80 printf("Child did not exit normally.\n");
81 printf("Test FAILED\n");
86 printf("Should have exited from parent\n");
87 printf("Test FAILED\n");
/external/syslinux/com32/modules/
H A Dvpdtest.c45 printf("No VPD Structure found\n");
48 printf("VPD present at address : 0x%s\n", vpd.base_address);
51 printf("Bios Build ID : %s\n", vpd.bios_build_id);
53 printf("Bios Release Date : %s\n", vpd.bios_release_date);
55 printf("Bios Version : %s\n", vpd.bios_version);
57 printf("Default Flash Filename : %s\n",
60 printf("Box Serial Number : %s\n", vpd.box_serial_number);
62 printf("Motherboard Serial Number : %s\n",
65 printf("Machine Type/Model : %s\n", vpd.machine_type_model);
/external/valgrind/none/tests/s390x/
H A Ddfp-4.c18 printf("D32 -> D64 : ");
20 printf(" -> ");
24 printf("\nD64 -> D128 : ");
26 printf(" -> ");
30 printf("\nD64 -> D32 : ");
32 printf(" -> ");
36 printf("\nD128 -> D64 : ");
38 printf(" -> ");
40 printf("\n");
H A Dxc.c11 printf("\nOC:\n");
14 printf("CC:%d\n", get_cc());
19 printf("CC:%d\n", get_cc());
29 printf("\nNC:\n");
32 printf("CC:%d\n", get_cc());
37 printf("CC:%d\n", get_cc());
55 printf("\nXC:\n");
58 printf("CC:%d\n", get_cc());
63 printf("CC:%d\n", get_cc());
68 printf("C
[all...]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_destroy/
H A D2-1.c48 printf("child: barrier wait\n");
51 printf("Error: child: pthread_barrier_wait() get unexpected "
55 printf("child: get PTHREAD_BARRIER_SERIAL_THREAD\n");
69 printf("main: Initialize barrier with count = 2\n");
71 printf("main: Error at pthread_barrier_init()\n");
75 printf("main: create child thread\n");
78 printf("main: Error at pthread_create()\n");
90 printf("Test FAILED: child thread did not block on "
94 printf("Unexpected thread state\n");
98 printf("mai
[all...]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/
H A D4-2.c48 printf("un_thread: unlock read lock\n");
61 printf("Unlocking rwlock in different thread is undefined on Linux\n");
66 printf("main: Error at pthread_rwlock_init()\n");
70 printf("main: attempt read lock\n");
73 printf("main: Error at pthread_rwlock_rdlock()\n");
76 printf("main: acquired read lock\n");
80 printf("main: create un_thread\n");
82 printf("main: Error at pthread_create()\n");
93 printf("Unexpected thread state %d\n", thread_state);
98 printf("Erro
[all...]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_unlock/
H A D3-1.c47 printf("main: Error at pthread_spin_init()\n");
52 printf("thread: attempt spin lock\n");
55 printf("Error: thread failed to get spin lock error code:%d\n",
59 printf("thread: acquired spin lock\n");
70 printf("Error at pthread_spin_destroy()");
86 printf("main: create thread\n");
88 printf("main: Error creating thread\n");
96 printf("main: attempt to unlock a spinlock that we don't own\n");
99 printf("main: Error at pthread_spin_unlock()\n");
108 printf("mai
[all...]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigpending/
H A D1-3.c41 printf("Could not call sigemptyset()\n");
45 printf("Could not raise SIGUSR2\n");
49 printf("Could not raise SIGCONT\n");
54 printf("Error calling sigpending()\n");
60 printf("All pending signals found\n");
64 printf("Unsent signals not found\n");
65 printf("Test PASSED\n");
68 printf("Error with unsent signals\n");
69 printf("Test FAILED\n");
73 printf("Erro
[all...]
/external/strace/tests/
H A Dioctl_loop.c53 printf("%p", info);
55 printf("{lo_number=%d", info->lo_number);
57 printf(", lo_device=makedev(%u, %u), lo_inode=%lu, "
64 printf(", lo_offset=%#x", info->lo_offset);
67 printf(", lo_encrypt_type=");
69 printf("%s", encrypt_type);
71 printf("%#x /* LO_CRYPT_??? */", info->lo_encrypt_type);
73 printf(", lo_encrypt_key_size=%" PRIu32,
77 printf(", lo_flags=");
79 printf("
[all...]
/external/strace/tests-m32/
H A Dioctl_loop.c53 printf("%p", info);
55 printf("{lo_number=%d", info->lo_number);
57 printf(", lo_device=makedev(%u, %u), lo_inode=%lu, "
64 printf(", lo_offset=%#x", info->lo_offset);
67 printf(", lo_encrypt_type=");
69 printf("%s", encrypt_type);
71 printf("%#x /* LO_CRYPT_??? */", info->lo_encrypt_type);
73 printf(", lo_encrypt_key_size=%" PRIu32,
77 printf(", lo_flags=");
79 printf("
[all...]
/external/strace/tests-mx32/
H A Dioctl_loop.c53 printf("%p", info);
55 printf("{lo_number=%d", info->lo_number);
57 printf(", lo_device=makedev(%u, %u), lo_inode=%lu, "
64 printf(", lo_offset=%#x", info->lo_offset);
67 printf(", lo_encrypt_type=");
69 printf("%s", encrypt_type);
71 printf("%#x /* LO_CRYPT_??? */", info->lo_encrypt_type);
73 printf(", lo_encrypt_key_size=%" PRIu32,
77 printf(", lo_flags=");
79 printf("
[all...]
/external/toybox/toys/example/
H A Dskeleton.c70 printf("Ran %s\n", toys.which->name);
74 if (toys.optflags) printf("flags=%llx\n", toys.optflags);
75 if (toys.optflags & FLAG_a) printf("Saw a\n");
76 if (toys.optflags & FLAG_b) printf("b=%s\n", TT.s.b_string);
77 if (toys.optflags & FLAG_c) printf("c=%ld\n", TT.s.c_number);
79 printf("d=%s\n", TT.s.d_list->arg);
82 if (TT.s.e_count) printf("e was seen %ld times\n", TT.s.e_count);
84 printf("optarg=%s\n", *optargs);
85 if (toys.optflags & FLAG_walrus) printf("Saw --walrus\n");
86 if (TT.s.blubber_string) printf("
[all...]
/external/clang/test/Layout/
H A Dms-x86-primary-bases.cpp6 extern "C" int printf(const char *fmt, ...);
8 struct B0 { int a; B0() : a(0xf00000B0) { printf("B0 = %p\n", this); } virtual void f() { printf("B0"); } };
9 struct B1 { int a; B1() : a(0xf00000B1) { printf("B1 = %p\n", this); } virtual void g() { printf("B1"); } };
10 struct B2 { int a; B2() : a(0xf00000B2) { printf("B1 = %p\n", this); } };
12 struct B1X { int a; B1X() : a(0xf00000B1) {} virtual void f() { printf("B0"); } };
38 virtual void f() { printf("B"); }
59 virtual void g() { printf("A"); }
82 virtual void f() { printf("
[all...]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/
H A D2-1.c69 printf("Can't set policy to %d and prio to %d\n", policy, prio);
84 printf("rd_thread: attempt read lock\n");
87 printf
92 printf("rd_thread: acquired read lock\n");
96 printf("rd_thread: unlock read lock\n");
98 printf("rd_thread: Error at pthread_rwlock_unlock()\n");
115 printf("wr_thread: attempt write lock\n");
118 printf
123 printf("wr_thread: acquired write lock\n");
127 printf("wr_threa
[all...]

Completed in 1014 milliseconds

<<11121314151617181920>>