Home
last modified time | relevance | path

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

12345678910>>...47

/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/
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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/llvm/test/Transforms/SimplifyCFG/
Dspeculate-vector-ops.ll16 br i1 %tobool, label %cond.else, label %cond.then
18 return: ; preds = %cond.end28
21 cond.then: ; preds = %entry
23 br label %cond.end
25 cond.else: ; preds = %entry
27 br label %cond.end
29 cond.end: ; preds = %cond.else, %cond.then
30 %cond = phi i32 [ %tmp10, %cond.then ], [ %tmp12, %cond.else ]
33 br i1 %tobool15, label %cond.else17, label %cond.then16
35 cond.then16: ; preds = %cond.end
[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/llvm/lib/Target/Sparc/
DSparcInstrAliases.td15 // mov<cond> <ccreg> rs2, rd
16 multiclass intcond_mov_alias<string cond, int condVal, string ccreg,
20 // mov<cond> (%icc|%xcc), rs2, rd
21 def : InstAlias<!strconcat(!strconcat(!strconcat("mov", cond), ccreg),
25 // mov<cond> (%icc|%xcc), simm11, rd
26 def : InstAlias<!strconcat(!strconcat(!strconcat("mov", cond), ccreg),
30 // fmovs<cond> (%icc|%xcc), $rs2, $rd
31 def : InstAlias<!strconcat(!strconcat(!strconcat("fmovs", cond), ccreg),
35 // fmovd<cond> (%icc|%xcc), $rs2, $rd
36 def : InstAlias<!strconcat(!strconcat(!strconcat("fmovd", cond), ccreg),
[all …]
/external/chromium_org/third_party/hwcplus/include/log/
Dlog.h88 #define CONDITION(cond) (__builtin_expect((cond)!=0, 0)) argument
92 #define ALOGV_IF(cond, ...) ((void)0) argument
94 #define ALOGV_IF(cond, ...) \
95 ( (CONDITION(cond)) \
109 #define ALOGD_IF(cond, ...) \ argument
110 ( (CONDITION(cond)) \
123 #define ALOGI_IF(cond, ...) \ argument
124 ( (CONDITION(cond)) \
137 #define ALOGW_IF(cond, ...) \ argument
138 ( (CONDITION(cond)) \
[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/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/mesa3d/src/gallium/auxiliary/os/
Dos_thread.h110 #define pipe_condvar_init(cond) \ argument
111 pthread_cond_init(&(cond), NULL)
113 #define pipe_condvar_destroy(cond) \ argument
114 pthread_cond_destroy(&(cond))
116 #define pipe_condvar_wait(cond, mutex) \ argument
117 pthread_cond_wait(&(cond), &(mutex))
119 #define pipe_condvar_signal(cond) \ argument
120 pthread_cond_signal(&(cond))
122 #define pipe_condvar_broadcast(cond) \ argument
123 pthread_cond_broadcast(&(cond))
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/os/
Dos_thread.h110 #define pipe_condvar_init(cond) \ argument
111 pthread_cond_init(&(cond), NULL)
113 #define pipe_condvar_destroy(cond) \ argument
114 pthread_cond_destroy(&(cond))
116 #define pipe_condvar_wait(cond, mutex) \ argument
117 pthread_cond_wait(&(cond), &(mutex))
119 #define pipe_condvar_signal(cond) \ argument
120 pthread_cond_signal(&(cond))
122 #define pipe_condvar_broadcast(cond) \ argument
123 pthread_cond_broadcast(&(cond))
[all …]
/external/llvm/lib/Target/Mips/
DMips64r6InstrInfo.td123 def : MipsPat<(select i64:$cond, i64:$t, i64:$f),
124 (OR64 (SELNEZ64 i64:$t, i64:$cond),
125 (SELEQZ64 i64:$f, i64:$cond))>,
127 def : MipsPat<(select (i32 (seteq i64:$cond, immz)), i64:$t, i64:$f),
128 (OR64 (SELEQZ64 i64:$t, i64:$cond),
129 (SELNEZ64 i64:$f, i64:$cond))>,
131 def : MipsPat<(select (i32 (setne i64:$cond, immz)), i64:$t, i64:$f),
132 (OR64 (SELNEZ64 i64:$t, i64:$cond),
133 (SELEQZ64 i64:$f, i64:$cond))>,
135 def : MipsPat<(select (i32 (seteq i64:$cond, immZExt16_64:$imm)), i64:$t, i64:$f),
[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>>...47