Home
last modified time | relevance | path

Searched refs:COUNT (Results 1 – 25 of 140) sorted by relevance

123456

/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D20020108-1.c52 #define REPEAT_FN(COUNT) \ argument
53 u8 CAT (ashift_qi_, COUNT) (u8 n) { return n << COUNT; }
58 u8 CAT (lshiftrt_qi_, COUNT) (u8 n) { return n >> COUNT; }
63 s8 CAT (ashiftrt_qi_, COUNT) (s8 n) { return n >> COUNT; }
79 u16 CAT (ashift_hi_, COUNT) (u16 n) { return n << COUNT; }
84 u16 CAT (lshiftrt_hi_, COUNT) (u16 n) { return n >> COUNT; }
89 s16 CAT (ashiftrt_hi_, COUNT) (s16 n) { return n >> COUNT; }
108 u32 CAT (ashift_si_, COUNT) (u32 n) { return n << COUNT; }
113 u32 CAT (lshiftrt_si_, COUNT) (u32 n) { return n >> COUNT; }
118 s32 CAT (ashiftrt_si_, COUNT) (s32 n) { return n >> COUNT; }
[all …]
H A D960117-1.c2 typedef short COUNT; typedef
14 COUNT pos __attribute__ ((aligned (2), packed)) ;
/openbsd/gnu/usr.bin/perl/dist/threads/t/
H A Dfree.t93 lock($COUNT);
94 $COUNT++;
101 $COUNT = 0;
108 cond_wait($COUNT) if ($COUNT < 5);
118 ok($COUNT == 5, "Done - $COUNT threads");
137 $COUNT++;
145 $COUNT = 0;
158 ok($COUNT == 5, "Done - $COUNT threads");
191 $COUNT++;
198 $COUNT = 0;
[all …]
H A Dblocks.t26 my ($TEST, $COUNT, $TOTAL);
31 share($COUNT);
32 $COUNT = 0;
61 sub foo { lock($COUNT); $COUNT++; }
73 threads->create(sub { lock($COUNT); $COUNT++; })->join();
80 threads->create(sub { lock($COUNT); $COUNT++; })->detach();
92 threads->create(sub { lock($COUNT); $COUNT++; })->join();
99 threads->create(sub { lock($COUNT); $COUNT++; })->detach();
114 lock($COUNT);
115 redo if ($COUNT < $TOTAL);
H A Dfree2.t67 my $COUNT;
68 share($COUNT);
110 lock($COUNT);
111 $COUNT++;
112 cond_signal($COUNT);
323 $COUNT = 0;
326 lock($COUNT);
327 while ($COUNT < 17) {
328 cond_wait($COUNT);
334 ok($COUNT == 17, "Done - $COUNT threads");
/openbsd/regress/lib/libc/asr/
H A Dregress.subr17 local out="${OUTDIR}/test-${COUNT}.out"
18 local out0="${OUTDIR}/test-${COUNT}${A}.out"
19 local out1="${OUTDIR}/test-${COUNT}${B}.out"
20 local err0="${OUTDIR}/test-${COUNT}${A}.err"
21 local err1="${OUTDIR}/test-${COUNT}${B}.err"
22 local outdiff="${OUTDIR}/test-${COUNT}${A}${B}.diff"
41 echo "### FAIL [#${COUNT} env=${REGRESSENV}] ${cmd} $@" >> $ERR
50 echo "### OK [#${COUNT} env=$REGRESSENV] ${cmd} $@" >> $OUT
55 COUNT=$((COUNT+1))
97 echo "===> run=$COUNT ok=$OK fail=$FAIL error=$ERROR"
[all …]
/openbsd/gnu/usr.bin/perl/cpan/Memoize/t/
H A Dnormalize.t31 my $COUNT;
32 $COUNT = 0;
33 sub parity { $COUNT++; $_[0] % 2 }
37 is $COUNT, 2, '... with the expected number of calls';
40 $COUNT = 0;
41 sub par2 { $COUNT++; $_[0] % 2 }
44 is $COUNT, 2, '... still with the expected number of calls';
46 $COUNT = 0;
47 sub count_uninitialized { $COUNT += join('', @_) =~ /\AUse of uninitialized value / }
50 is $COUNT, 0, 'no warning when normalizer returns undef';
/openbsd/lib/librthread/
H A Drthread_rwlock.c32 #define COUNT(v) ((v) & WRITER) macro
104 if (COUNT(val) == WRITER) in _rthread_rwlock_tryrdlock()
106 if (COUNT(val) == MAXREADER) in _rthread_rwlock_tryrdlock()
146 if (val == UNLOCKED || (COUNT(val)) != WRITER) in _rthread_rwlock_timedrdlock()
269 if (COUNT(val) == WRITER || COUNT(val) == 1) in pthread_rwlock_unlock()
/openbsd/gnu/gcc/gcc/
H A Dscan.h33 #define MAKE_SSTRING_SPACE(STR, COUNT) \ argument
34 if ((STR)->limit - (STR)->ptr < (COUNT)) make_sstring_space (STR, COUNT);
H A Dlonglong.h129 #define count_leading_zeros(COUNT,X) ((COUNT) = __builtin_clzl (X)) argument
130 #define count_trailing_zeros(COUNT,X) ((COUNT) = __builtin_ctzl (X)) argument
133 #define count_leading_zeros(COUNT,X) \ argument
139 (COUNT) = 64 - (__clz_tab[__t] + __a*8); \
141 #define count_trailing_zeros(COUNT,X) \ argument
155 (COUNT) = __a; \
/openbsd/gnu/llvm/clang/utils/ABITest/layout/
H A DMakefile9 COUNT := 1000 macro
65 $(ABITESTGEN) $(TESTARGS) -o $@ --min=$(shell expr $* '*' $(COUNT)) --count=$(COUNT)
/openbsd/gnu/usr.bin/gcc/gcc/
H A Dscan.h33 #define MAKE_SSTRING_SPACE(STR, COUNT) \ argument
34 if ((STR)->limit - (STR)->ptr < (COUNT)) make_sstring_space (STR, COUNT);
/openbsd/regress/lib/libc/sys/
H A Dt_sendrecv.c49 #define COUNT 100 macro
71 for (size_t i = 0; i < COUNT; i++) { in sender()
89 for (size_t i = 0; i < COUNT; i++) { in receiver()
/openbsd/gnu/usr.bin/perl/cpan/Test-Simple/lib/Test2/
H A DHub.pm54 $self->{+COUNT} = 0;
87 $self->{+COUNT} = 0;
333 my $count = ++($self->{+COUNT});
350 $self->{+COUNT}++ if $f->{assert};
355 my $count = $self->{+COUNT};
415 my $count = $self->{+COUNT};
432 $count = $self->{+COUNT};
/openbsd/gnu/usr.bin/binutils-2.17/gas/config/
H A Dtc-i960.h151 #define TC_ADJUST_RELOC_COUNT(FIX,COUNT) \ argument
155 ++(COUNT); \
/openbsd/gnu/usr.bin/gcc/gcc/java/
H A Djcf-dump.c131 #define HANDLE_START_CONSTANT_POOL(COUNT) \ argument
261 #define HANDLE_EXCEPTION_TABLE(ENTRIES, COUNT) \ argument
262 print_exception_table (jcf, ENTRIES, COUNT)
264 #define HANDLE_EXCEPTIONS_ATTRIBUTE(COUNT) \ argument
265 { int n = (COUNT); int i; \
274 #define HANDLE_LOCALVARIABLETABLE_ATTRIBUTE(COUNT) \ argument
275 { int n = (COUNT); int i; \
290 #define HANDLE_LINENUMBERTABLE_ATTRIBUTE(COUNT) \ argument
291 { int n = (COUNT); int i; \
302 #define HANDLE_INNERCLASSES_ATTRIBUTE(COUNT) \ argument
[all …]
H A Djcf.h213 #define JCF_FILL(JCF, COUNT) \ argument
214 ((JCF)->read_end-(JCF)->read_ptr >= (COUNT) ? 0 : (*(JCF)->filbuf)(JCF, COUNT))
H A Djcf-parse.c202 #define HANDLE_LOCALVARIABLETABLE_ATTRIBUTE(COUNT) \ argument
203 { int n = (COUNT); \
207 #define HANDLE_LINENUMBERTABLE_ATTRIBUTE(COUNT) \ argument
208 { int n = (COUNT); \
212 #define HANDLE_EXCEPTIONS_ATTRIBUTE(COUNT) \ argument
214 int n = COUNT; \
226 #define HANDLE_INNERCLASSES_ATTRIBUTE(COUNT) \ argument
227 handle_innerclass_attribute (COUNT, jcf)
/openbsd/gnu/usr.bin/binutils/gas/config/
H A Dtc-i960.h160 #define TC_ADJUST_RELOC_COUNT(FIX,COUNT) \ argument
164 ++(COUNT); \
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DR600ClauseMergePass.cpp79 .getOperand(TII->getOperandIdx(MI.getOpcode(), R600::OpName::COUNT)) in getCFAluSize()
92 int CntIdx = TII->getOperandIdx(R600::CF_ALU, R600::OpName::COUNT); in cleanPotentialDisabledCFAlu()
111 int CntIdx = TII->getOperandIdx(R600::CF_ALU, R600::OpName::COUNT); in mergeIfPossible()
H A DR600InstrFormats.td371 bits<3> COUNT;
383 let Word1{12-10} = COUNT;
409 bits<6> COUNT;
418 let Word1{15-10} = COUNT;
445 bits<7> COUNT;
454 let Word1{24-18} = COUNT;
H A DEvergreenInstructions.td819 "TEX $COUNT @$ADDR"> {
829 let COUNT = 0;
833 let COUNT = 0;
838 let COUNT = 0;
843 let COUNT = 0;
847 let COUNT = 0;
851 let COUNT = 0;
855 let COUNT = 0;
859 let COUNT = 0;
864 let COUNT = 0;
[all …]
/openbsd/gnu/usr.bin/binutils/gdb/
H A Dser-go32.c165 #define COUNT(x) cnts[x]++ macro
167 #define COUNT(x) macro
291 COUNT (CNT_STRAY); in dos_comisr()
325 COUNT (CNT_ORUN); in dos_comisr()
329 COUNT (CNT_RX); in dos_comisr()
352 COUNT (iir); in dos_comisr()
/openbsd/gnu/llvm/llvm/tools/llvm-xray/
H A Dxray-graph.cpp67 clEnumValN(GraphRenderer::StatType::COUNT,
91 clEnumValN(GraphRenderer::StatType::COUNT, "count",
115 clEnumValN(GraphRenderer::StatType::COUNT, "count",
139 clEnumValN(GraphRenderer::StatType::COUNT, "count",
362 case GraphRenderer::StatType::COUNT: in getString()
385 case GraphRenderer::StatType::COUNT: in getDouble()
/openbsd/gnu/llvm/clang/utils/ABITest/
H A DMakefile.test.common5 # COUNT can be over-ridden to change the number of tests generated per
11 COUNT := 1
156 …inputs/test.$*.b.c -D inputs/test.$*.driver.c --min=$(shell expr $* '*' $(COUNT)) --count=$(COUNT)

123456