OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:THREAD_NUM
(Results
1 - 17
of
17
) sorted by null
/external/ltp/testcases/network/nfs/nfs_stress/
nfs05
29
THREAD_NUM
=${
THREAD_NUM
:-"8"}
36
tst_resm TINFO "start nfs05_make_tree -d $DIR_NUM -f $FILE_NUM -t $
THREAD_NUM
"
37
ROD nfs05_make_tree -d $DIR_NUM -f $FILE_NUM -t $
THREAD_NUM
nfs03
32
THREAD_NUM
=${
THREAD_NUM
:-"1"}
106
tst_resm TINFO "Setting server side nfsd count to $
THREAD_NUM
"
108
tst_rhost_run -s -c "rpc.nfsd $
THREAD_NUM
"
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/
2-1.c
18
* 2. In each loop, Main thread initialize barrier, with count set to
THREAD_NUM
19
* 3. Main create
THREAD_NUM
threads
35
#define
THREAD_NUM
5
46
int
thread_num
= *(int *)arg;
local
48
printf("child[%d]: barrier wait\n",
thread_num
);
53
"return code : %d\n",
thread_num
, rc);
58
thread_num
);
71
pthread_t child_threads[
THREAD_NUM
];
75
printf("Initialize barrier with count = %d\n",
THREAD_NUM
);
76
if (pthread_barrier_init(&barrier, NULL,
THREAD_NUM
) != 0)
[
all
...]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/
1-1.c
30
#define
THREAD_NUM
5
42
pthread_t threads[
THREAD_NUM
];
49
fprintf(stderr, "Creating %d threads\n",
THREAD_NUM
);
50
for (i = 0; i <
THREAD_NUM
; ++i)
54
for (i = 0; i <
THREAD_NUM
; ++i)
60
if (value != (
THREAD_NUM
) * LOOPS) {
62
THREAD_NUM
, LOOPS);
64
(
THREAD_NUM
) * LOOPS, value);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_unlock/
2-1.c
33
#define
THREAD_NUM
6
44
pthread_t threads[
THREAD_NUM
];
47
fprintf(stderr, "Creating %d threads\n",
THREAD_NUM
);
48
for (i = 0; i <
THREAD_NUM
; ++i)
52
for (i = 0; i <
THREAD_NUM
; ++i)
57
if (value != (
THREAD_NUM
) * LOOPS) {
59
THREAD_NUM
, LOOPS);
61
(
THREAD_NUM
) * LOOPS, value);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/
1-1.c
21
#define
THREAD_NUM
3
68
pthread_t thread[
THREAD_NUM
];
79
for (i = 0; i <
THREAD_NUM
; i++) {
86
while (start_num <
THREAD_NUM
)
111
if (waken_num <
THREAD_NUM
) {
114
for (i = 0; i <
THREAD_NUM
; i++)
122
for (i = 0; i <
THREAD_NUM
; i++) {
2-1.c
22
#define
THREAD_NUM
3
77
pthread_t thread[
THREAD_NUM
];
88
for (i = 0; i <
THREAD_NUM
; i++) {
94
while (start_num <
THREAD_NUM
)
117
if (waken_num <
THREAD_NUM
) {
119
for (i = 0; i <
THREAD_NUM
; i++)
127
for (i = 0; i <
THREAD_NUM
; i++) {
4-1.c
21
#define
THREAD_NUM
5
66
pthread_t thread[
THREAD_NUM
];
77
for (i = 0; i <
THREAD_NUM
; i++) {
83
while (start_num <
THREAD_NUM
)
115
if (waken_num <
THREAD_NUM
) {
117
for (i = 0; i <
THREAD_NUM
; i++)
125
for (i = 0; i <
THREAD_NUM
; i++) {
2-2.c
24
#define
THREAD_NUM
3
25
#define TIMEOUT (
THREAD_NUM
* 2)
90
pthread_t thread[
THREAD_NUM
];
101
for (i = 0; i <
THREAD_NUM
; i++) {
107
while (start_num <
THREAD_NUM
)
128
if (waken_num <
THREAD_NUM
) {
130
for (i = 0; i <
THREAD_NUM
; i++)
138
for (i = 0; i <
THREAD_NUM
; i++)
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/
1-1.c
22
#define
THREAD_NUM
3
29
pthread_t thread[
THREAD_NUM
];
39
for (i = 0; i <
THREAD_NUM
; i++) { /* cancel threads */
95
for (i = 0; i <
THREAD_NUM
; i++) { /* create
THREAD_NUM
threads */
101
while (start_num <
THREAD_NUM
) /* waiting for all threads started */
128
for (i = 0; i <
THREAD_NUM
; i++) { /* cancel threads */
143
for (i = 1; i <
THREAD_NUM
; i++) {
155
for (i = 0; i <
THREAD_NUM
; i++) {
2-1.c
23
#define
THREAD_NUM
3
30
pthread_t thread[
THREAD_NUM
];
40
for (i = 0; i <
THREAD_NUM
; i++) { /* cancel threads */
122
for (i = 0; i <
THREAD_NUM
; i++) {
128
while (start_num <
THREAD_NUM
) /* waiting for all threads started */
140
while (waken_num <
THREAD_NUM
) { /* waiting for all threads wakened */
150
for (i = 0; i <
THREAD_NUM
; i++) {
2-2.c
24
#define
THREAD_NUM
3
25
#define TIMEOUT
THREAD_NUM
* 2
100
pthread_t thread[
THREAD_NUM
];
121
for (i = 0; i <
THREAD_NUM
; i++) {
127
while (start_num <
THREAD_NUM
) /* waiting for all threads started */
132
while (waken_num <
THREAD_NUM
) { /* waiting for all threads wakened */
142
for (i = 0; i <
THREAD_NUM
; i++) {
4-1.c
22
#define
THREAD_NUM
5
29
pthread_t thread[
THREAD_NUM
];
39
for (i = 0; i <
THREAD_NUM
; i++) { /* cancel threads */
91
for (i = 0; i <
THREAD_NUM
; i++) {
97
while (start_num <
THREAD_NUM
) /* waiting for all threads started */
107
while (waken_num <
THREAD_NUM
) { /* loop to wake up all waiter threads */
121
for (i = 0; i <
THREAD_NUM
; i++) {
/cts/hostsidetests/security/securityPatch/CVE-2016-6733/
poc.c
29
#define
THREAD_NUM
900
76
pthread_t thread_id[
THREAD_NUM
] = { 0 };
77
int thread_ret[
THREAD_NUM
] = { 0 };
114
int i, try_time =
THREAD_NUM
, ret;
130
for(i = 0; i <
THREAD_NUM
; i++){
148
for(i = 0; i <
THREAD_NUM
; i++){
/cts/hostsidetests/security/securityPatch/CVE-2016-6732/
poc.c
29
#define
THREAD_NUM
900
77
pthread_t thread_id[
THREAD_NUM
] = { 0 };
78
int thread_ret[
THREAD_NUM
] = { 0 };
129
for(i = 0; i <
THREAD_NUM
; i++){
148
for(i = 0; i <
THREAD_NUM
; i++){
/cts/hostsidetests/security/securityPatch/Bug-33452365/
poc.c
30
#define
THREAD_NUM
600
140
pthread_t thread_id[
THREAD_NUM
+1] = { 0 };
141
int thread_ret[
THREAD_NUM
] = { 0 };
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
SinkChannelTest.java
107
final int
THREAD_NUM
= 20;
109
Thread[] thread = new Thread[
THREAD_NUM
];
110
for (int i = 0; i <
THREAD_NUM
; i++) {
121
for (int i = 0; i <
THREAD_NUM
; i++) {
124
for (int i = 0; i <
THREAD_NUM
; i++) {
127
ByteBuffer readBuf = ByteBuffer.allocate(
THREAD_NUM
* BUFFER_SIZE);
136
} while (totalCount != (
THREAD_NUM
* BUFFER_SIZE));
139
for (int i = 0; i <
THREAD_NUM
; i++) {
Completed in 263 milliseconds