Home
last modified time | relevance | path

Searched refs:cond (Results 1 – 25 of 725) sorted by relevance

12345678910>>...29

/external/qemu/distrib/sdl-1.2.15/src/thread/dc/
DSDL_syscond.c44 SDL_cond *cond; in SDL_CreateCond() local
46 cond = (SDL_cond *) SDL_malloc(sizeof(SDL_cond)); in SDL_CreateCond()
47 if ( cond ) { in SDL_CreateCond()
48 cond->lock = SDL_CreateMutex(); in SDL_CreateCond()
49 cond->wait_sem = SDL_CreateSemaphore(0); in SDL_CreateCond()
50 cond->wait_done = SDL_CreateSemaphore(0); in SDL_CreateCond()
51 cond->waiting = cond->signals = 0; in SDL_CreateCond()
52 if ( ! cond->lock || ! cond->wait_sem || ! cond->wait_done ) { in SDL_CreateCond()
53 SDL_DestroyCond(cond); in SDL_CreateCond()
54 cond = NULL; in SDL_CreateCond()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/thread/generic/
DSDL_syscond.c44 SDL_cond *cond; in SDL_CreateCond() local
46 cond = (SDL_cond *) SDL_malloc(sizeof(SDL_cond)); in SDL_CreateCond()
47 if ( cond ) { in SDL_CreateCond()
48 cond->lock = SDL_CreateMutex(); in SDL_CreateCond()
49 cond->wait_sem = SDL_CreateSemaphore(0); in SDL_CreateCond()
50 cond->wait_done = SDL_CreateSemaphore(0); in SDL_CreateCond()
51 cond->waiting = cond->signals = 0; in SDL_CreateCond()
52 if ( ! cond->lock || ! cond->wait_sem || ! cond->wait_done ) { in SDL_CreateCond()
53 SDL_DestroyCond(cond); in SDL_CreateCond()
54 cond = NULL; in SDL_CreateCond()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/thread/os2/
DSDL_syscond.c44 SDL_cond *cond; in SDL_CreateCond() local
46 cond = (SDL_cond *) SDL_malloc(sizeof(SDL_cond)); in SDL_CreateCond()
47 if ( cond ) { in SDL_CreateCond()
48 cond->lock = SDL_CreateMutex(); in SDL_CreateCond()
49 cond->wait_sem = SDL_CreateSemaphore(0); in SDL_CreateCond()
50 cond->wait_done = SDL_CreateSemaphore(0); in SDL_CreateCond()
51 cond->waiting = cond->signals = 0; in SDL_CreateCond()
52 if ( ! cond->lock || ! cond->wait_sem || ! cond->wait_done ) { in SDL_CreateCond()
53 SDL_DestroyCond(cond); in SDL_CreateCond()
54 cond = NULL; in SDL_CreateCond()
[all …]
/external/llvm/test/CodeGen/ARM/
Dfast-isel-br-phi.ll11 br i1 %cmp, label %cond.true, label %cond.false
13 cond.true: ; preds = %entry
14 br label %cond.end
16 cond.false: ; preds = %entry
17 br label %cond.end
19 cond.end: ; preds = %cond.false, %cond.true
20 %cond = phi i1 [ 0, %cond.true ], [ 1, %cond.false ]
21 br i1 %cond, label %cond.true8, label %cond.false8
23 cond.true8: ; preds = %cond.end
24 br label %cond.end8
[all …]
/external/llvm/test/CodeGen/Mips/
Dseleqk.ll17 br i1 %cmp, label %cond.true, label %cond.false
19 cond.true: ; preds = %entry
21 br label %cond.end
23 cond.false: ; preds = %entry
25 br label %cond.end
27 cond.end: ; preds = %cond.false, %cond.true
28 %cond = phi i32 [ %1, %cond.true ], [ %2, %cond.false ]
29 store i32 %cond, i32* @z1, align 4
32 br i1 %cmp1, label %cond.true2, label %cond.false3
34 cond.true2: ; preds = %cond.end
[all …]
Dselltk.ll18 br i1 %cmp, label %cond.true, label %cond.false
20 cond.true: ; preds = %entry
22 br label %cond.end
24 cond.false: ; preds = %entry
26 br label %cond.end
28 cond.end: ; preds = %cond.false, %cond.true
29 %cond = phi i32 [ %1, %cond.true ], [ %2, %cond.false ]
30 store i32 %cond, i32* @z1, align 4
33 br i1 %cmp1, label %cond.true2, label %cond.false3
35 cond.true2: ; preds = %cond.end
[all …]
Dselgek.ll18 br i1 %cmp, label %cond.true, label %cond.false
20 cond.true: ; preds = %entry
22 br label %cond.end
24 cond.false: ; preds = %entry
26 br label %cond.end
28 cond.end: ; preds = %cond.false, %cond.true
29 %cond = phi i32 [ %1, %cond.true ], [ %2, %cond.false ]
30 store i32 %cond, i32* @z1, align 4
33 br i1 %cmp1, label %cond.true2, label %cond.false3
35 cond.true2: ; preds = %cond.end
[all …]
Dseleq.ll18 br i1 %cmp, label %cond.true, label %cond.false
20 cond.true: ; preds = %entry
22 br label %cond.end
24 cond.false: ; preds = %entry
26 br label %cond.end
28 cond.end: ; preds = %cond.false, %cond.true
29 %cond = phi i32 [ %2, %cond.true ], [ %3, %cond.false ]
30 store i32 %cond, i32* @z1, align 4
34 br i1 %cmp1, label %cond.true2, label %cond.false3
36 cond.true2: ; preds = %cond.end
[all …]
Dselne.ll19 br i1 %cmp, label %cond.true, label %cond.false
21 cond.true: ; preds = %entry
23 br label %cond.end
25 cond.false: ; preds = %entry
27 br label %cond.end
29 cond.end: ; preds = %cond.false, %cond.true
30 %cond = phi i32 [ %2, %cond.true ], [ %3, %cond.false ]
31 store i32 %cond, i32* @z1, align 4
35 br i1 %cmp1, label %cond.true2, label %cond.false3
37 cond.true2: ; preds = %cond.end
[all …]
Dselgt.ll20 br i1 %cmp, label %cond.true, label %cond.false
22 cond.true: ; preds = %entry
24 br label %cond.end
26 cond.false: ; preds = %entry
28 br label %cond.end
30 cond.end: ; preds = %cond.false, %cond.true
31 %cond = phi i32 [ %2, %cond.true ], [ %3, %cond.false ]
32 store i32 %cond, i32* @z1, align 4
36 br i1 %cmp1, label %cond.true2, label %cond.false3
38 cond.true2: ; preds = %cond.end
[all …]
Dselle.ll19 br i1 %cmp, label %cond.true, label %cond.false
21 cond.true: ; preds = %entry
23 br label %cond.end
25 cond.false: ; preds = %entry
27 br label %cond.end
29 cond.end: ; preds = %cond.false, %cond.true
30 %cond = phi i32 [ %2, %cond.true ], [ %3, %cond.false ]
31 store i32 %cond, i32* @z1, align 4
35 br i1 %cmp1, label %cond.true2, label %cond.false3
37 cond.true2: ; preds = %cond.end
[all …]
Dselnek.ll17 br i1 %cmp, label %cond.true, label %cond.false
19 cond.true: ; preds = %entry
21 br label %cond.end
23 cond.false: ; preds = %entry
25 br label %cond.end
27 cond.end: ; preds = %cond.false, %cond.true
28 %cond = phi i32 [ %1, %cond.true ], [ %2, %cond.false ]
29 store i32 %cond, i32* @z1, align 4
32 br i1 %cmp1, label %cond.true2, label %cond.false3
34 cond.true2: ; preds = %cond.end
[all …]
/external/qemu/distrib/sdl-1.2.15/src/thread/pthread/
DSDL_syscond.c34 pthread_cond_t cond; member
40 SDL_cond *cond; in SDL_CreateCond() local
42 cond = (SDL_cond *) SDL_malloc(sizeof(SDL_cond)); in SDL_CreateCond()
43 if ( cond ) { in SDL_CreateCond()
44 if ( pthread_cond_init(&cond->cond, NULL) < 0 ) { in SDL_CreateCond()
46 SDL_free(cond); in SDL_CreateCond()
47 cond = NULL; in SDL_CreateCond()
50 return(cond); in SDL_CreateCond()
54 void SDL_DestroyCond(SDL_cond *cond) in SDL_DestroyCond() argument
56 if ( cond ) { in SDL_DestroyCond()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/thread/riscos/
DSDL_syscond.c38 pthread_cond_t cond; member
44 SDL_cond *cond; in SDL_CreateCond() local
46 cond = (SDL_cond *) SDL_malloc(sizeof(SDL_cond)); in SDL_CreateCond()
47 if ( cond ) { in SDL_CreateCond()
48 if ( pthread_cond_init(&cond->cond, NULL) < 0 ) { in SDL_CreateCond()
50 SDL_free(cond); in SDL_CreateCond()
51 cond = NULL; in SDL_CreateCond()
54 return(cond); in SDL_CreateCond()
58 void SDL_DestroyCond(SDL_cond *cond) in SDL_DestroyCond() argument
60 if ( cond ) { in SDL_DestroyCond()
[all …]
/external/valgrind/main/drd/
Ddrd_cond.c61 void DRD_(cond_initialize)(struct cond_info* const p, const Addr cond) in DRD_()
63 tl_assert(cond != 0); in DRD_()
64 tl_assert(p->a1 == cond); in DRD_()
118 static struct cond_info* cond_get_or_allocate(const Addr cond) in cond_get_or_allocate() argument
122 tl_assert(offsetof(DrdClientobj, cond) == 0); in cond_get_or_allocate()
123 p = &(DRD_(clientobj_get)(cond, ClientCondvar)->cond); in cond_get_or_allocate()
127 if (DRD_(clientobj_present)(cond, cond + 1)) in cond_get_or_allocate()
129 wrong_type(cond); in cond_get_or_allocate()
133 p = &(DRD_(clientobj_add)(cond, ClientCondvar)->cond); in cond_get_or_allocate()
134 DRD_(cond_initialize)(p, cond); in cond_get_or_allocate()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/thread/pth/
DSDL_syscond.c43 SDL_cond *cond; in SDL_CreateCond() local
45 cond = (SDL_cond *) SDL_malloc(sizeof(SDL_cond)); in SDL_CreateCond()
46 if ( cond ) { in SDL_CreateCond()
47 if ( pth_cond_init(&(cond->condpth_p)) < 0 ) { in SDL_CreateCond()
49 SDL_free(cond); in SDL_CreateCond()
50 cond = NULL; in SDL_CreateCond()
55 return(cond); in SDL_CreateCond()
59 void SDL_DestroyCond(SDL_cond *cond) in SDL_DestroyCond() argument
61 if ( cond ) { in SDL_DestroyCond()
62 SDL_free(cond); in SDL_DestroyCond()
[all …]
/external/llvm/test/Transforms/LoopDeletion/
D2011-06-21-phioperands.ll24 br label %for.cond.i14.us
26 for.cond.i14.us: ; preds = %for.inc.i38.us, %entry.split.us
27 br i1 true, label %for.cond.i50.us-lcssa.us, label %if.end.i23.us
30 br label %for.cond.i14.us
32 if.end.i23.us: ; preds = %for.cond.i14.us
33 br i1 true, label %for.cond.i50.us-lcssa.us, label %for.inc.i38.us
35 for.cond.i50.us-lcssa.us: ; preds = %if.end.i23.us, %for.cond.i14.us
36 br label %for.cond.i50
39 br label %for.cond.i14
41 for.cond.i14: ; preds = %for.inc.i38, %entry.split
[all …]
/external/webkit/Source/JavaScriptCore/assembler/
DMacroAssemblerX86Common.h604 Jump branchDouble(DoubleCondition cond, FPRegisterID left, FPRegisterID right) in branchDouble() argument
608 if (cond & DoubleConditionBitInvert) in branchDouble()
613 if (cond == DoubleEqual) { in branchDouble()
618 } else if (cond == DoubleNotEqualOrUnordered) { in branchDouble()
627 ASSERT(!(cond & DoubleConditionBitSpecial)); in branchDouble()
628 … return Jump(m_assembler.jCC(static_cast<X86Assembler::Condition>(cond & ~DoubleConditionBits))); in branchDouble()
797 Jump branch8(Condition cond, Address left, TrustedImm32 right) in branch8() argument
800 return Jump(m_assembler.jCC(x86Condition(cond))); in branch8()
803 Jump branch32(Condition cond, RegisterID left, RegisterID right) in branch32() argument
806 return Jump(m_assembler.jCC(x86Condition(cond))); in branch32()
[all …]
DMacroAssembler.h108 void branchPtr(Condition cond, RegisterID op1, TrustedImmPtr imm, Label target) in branchPtr() argument
110 branchPtr(cond, op1, imm).linkTo(target, this); in branchPtr()
113 void branch32(Condition cond, RegisterID op1, RegisterID op2, Label target) in branch32() argument
115 branch32(cond, op1, op2).linkTo(target, this); in branch32()
118 void branch32(Condition cond, RegisterID op1, TrustedImm32 imm, Label target) in branch32() argument
120 branch32(cond, op1, imm).linkTo(target, this); in branch32()
123 void branch32(Condition cond, RegisterID left, Address right, Label target) in branch32() argument
125 branch32(cond, left, right).linkTo(target, this); in branch32()
128 void branch16(Condition cond, BaseIndex left, RegisterID right, Label target) in branch16() argument
130 branch16(cond, left, right).linkTo(target, this); in branch16()
[all …]
/external/llvm/test/Transforms/CorrelatedValuePropagation/
D2010-09-26-MergeConstantRange.ll11 br label %for.cond.outer
13 for.cond.outer: ; preds = %for.cond.loopexit, %entry
14 br label %for.cond
16 for.cond.loopexit: ; preds = %bb.nph, %for.cond9.preheader
17 br label %for.cond.outer
19 for.cond.loopexit4.us-lcssa: ; preds = %if.then
20 br label %for.cond.loopexit4
22 for.cond.loopexit4: ; preds = %for.cond.loopexit4.us-lcssa.us, %for.c…
23 br label %for.cond.backedge
25 for.cond: ; preds = %for.cond.backedge, %for.cond.outer
[all …]
/external/qemu/tcg/arm/
Dtcg-target.c342 static inline void tcg_out_bx(TCGContext *s, int cond, int rn) in tcg_out_bx() argument
344 tcg_out32(s, (cond << 28) | 0x012fff10 | rn); in tcg_out_bx()
347 static inline void tcg_out_b(TCGContext *s, int cond, int32_t offset) in tcg_out_b() argument
349 tcg_out32(s, (cond << 28) | 0x0a000000 | in tcg_out_b()
353 static inline void tcg_out_b_noaddr(TCGContext *s, int cond) in tcg_out_b_noaddr() argument
359 tcg_out8(s, (cond << 4) | 0x0a); in tcg_out_b_noaddr()
363 tcg_out8(s, (cond << 4) | 0x0a); in tcg_out_b_noaddr()
367 static inline void tcg_out_bl(TCGContext *s, int cond, int32_t offset) in tcg_out_bl() argument
369 tcg_out32(s, (cond << 28) | 0x0b000000 | in tcg_out_bl()
373 static inline void tcg_out_blx(TCGContext *s, int cond, int rn) in tcg_out_blx() argument
[all …]
/external/valgrind/main/VEX/priv/
Dguest_s390_helpers.c1225 ULong cond, cc_op; in guest_s390x_spechelper() local
1237 cond = cond_expr->Iex.Const.con->Ico.U64; in guest_s390x_spechelper()
1240 vassert(cond <= 15); in guest_s390x_spechelper()
1261 if (cond == 8 || cond == 8 + 1) { in guest_s390x_spechelper()
1264 if (cond == 4 + 2 || cond == 4 + 2 + 1) { in guest_s390x_spechelper()
1267 if (cond == 4 || cond == 4 + 1) { in guest_s390x_spechelper()
1270 if (cond == 8 + 4 || cond == 8 + 4 + 1) { in guest_s390x_spechelper()
1274 if (cond == 2 || cond == 2 + 1) { in guest_s390x_spechelper()
1277 if (cond == 8 + 2 || cond == 8 + 2 + 1) { in guest_s390x_spechelper()
1280 if (cond == 8 + 4 + 2 || cond == 8 + 4 + 2 + 1) { in guest_s390x_spechelper()
[all …]
/external/llvm/test/Transforms/InstCombine/
Dpr12338.ll5 br label %for.cond
7 for.cond:
8 %local = phi <1 x i32> [ <i32 0>, %entry ], [ %phi2, %cond.end47 ]
11 br label %cond.end
13 cond.false:
14 br label %cond.end
16 cond.end:
17 %cond = phi <1 x i32> [ %phi3, %for.cond ], [ undef, %cond.false ]
18 br label %cond.end47
20 cond.end47:
[all …]
/external/clang/test/SemaObjC/
Dconditional-expr-4.m14 id f0(int cond, id a, void *b) {
15 return cond ? a : b;
17 A *f0_a(int cond, A *a, void *b) {
18 return cond ? a : b;
21 id f1(int cond, id a) {
22 return cond ? a : nil;
24 A *f1_a(int cond, A *a) {
25 return cond ? a : nil;
37 id f2(int cond, id<P0> a, void *b) {
38 return cond ? a : b;
[all …]
/external/llvm/test/CodeGen/X86/
Dzext-extract_subreg.ll20 br label %while.cond
22 while.cond: ; preds = %while.body, %if.end
28 land.rhs: ; preds = %while.cond
32 br label %while.cond
34 while.end: ; preds = %land.rhs, %while.cond
35 br i1 undef, label %cond.false205, label %cond.true190
37 cond.true190: ; preds = %while.end
38 br i1 undef, label %cond.false242, label %cond.true225
40 cond.false205: ; preds = %while.end
43 cond.true225: ; preds = %cond.true190
[all …]

12345678910>>...29