Searched refs:oset (Results 1 - 24 of 24) sorted by relevance

/external/valgrind/main/memcheck/tests/
H A Dunit_oset.c85 void example1singleset(OSet* oset, char *descr) argument
94 vg_assert( ! VG_(OSetGen_Contains)(oset, &v) );
95 vg_assert( ! VG_(OSetGen_Lookup)(oset, &v) );
96 vg_assert( ! VG_(OSetGen_Remove)(oset, &v) );
97 vg_assert( ! VG_(OSetGen_Next)(oset) );
98 vg_assert( 0 == VG_(OSetGen_Size)(oset) );
103 vs[i] = VG_(OSetGen_AllocNode)(oset, sizeof(Word));
118 VG_(OSetGen_Insert)(oset, vs[i]);
122 vg_assert( NN == VG_(OSetGen_Size)(oset) );
126 assert( VG_(OSetGen_Contains)(oset, v
260 OSet *oset, *oset_empty_clone; local
310 OSet* oset = VG_(OSetWord_Create)(allocate_node, "oset_test.2", free_node); local
469 OSet* oset = VG_(OSetGen_Create)(offsetof(Block, first), local
[all...]
H A Dunit_oset.stdout.exp1 -- start single oset, no pool allocator ----------------
999 -- end single oset, no pool allocator ----------------
1000 -- start single oset, pool allocator ----------------
1998 -- end single oset, pool allocator ----------------
1999 -- start oset, shared pool ----------------
2997 -- end oset, shared pool ----------------
2998 -- start cloned oset, shared pool ----------------
3996 -- end cloned oset, shared pool ----------------
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
H A Dsignal.c100 pthread_sigmask (int how, sigset_t const *set, sigset_t * oset) argument
127 if (oset != NULL)
129 memcpy (oset, &(thread.p->sigmask), sizeof (sigset_t));
/external/libedit/src/
H A Dsig.c72 sigset_t nset, oset; local
76 (void) sigprocmask(SIG_BLOCK, &nset, &oset);
105 (void) sigprocmask(SIG_SETMASK, &oset, NULL);
117 sigset_t *nset, oset; local
128 (void) sigprocmask(SIG_BLOCK, nset, &oset);
136 (void) sigprocmask(SIG_SETMASK, &oset, NULL);
161 sigset_t oset; local
168 (void) sigprocmask(SIG_BLOCK, &el->el_signal->sig_set, &oset);
177 (void) sigprocmask(SIG_SETMASK, &oset, NULL);
188 sigset_t oset; local
[all...]
H A Del.c590 sigset_t oset, nset; local
594 (void) sigprocmask(SIG_BLOCK, &nset, &oset);
600 (void) sigprocmask(SIG_SETMASK, &oset, NULL);
H A Dterminal.c864 sigset_t oset, nset; local
869 (void) sigprocmask(SIG_BLOCK, &nset, &oset);
935 (void) sigprocmask(SIG_SETMASK, &oset, NULL);
/external/openssl/crypto/
H A Ds390xcap.c16 sigset_t oset; local
28 sigprocmask(SIG_SETMASK,&ill_act.sa_mask,&oset);
36 sigprocmask(SIG_SETMASK,&oset,NULL);
H A Darmcap.c75 sigset_t oset; local
100 sigprocmask(SIG_SETMASK,&ill_act.sa_mask,&oset);
156 sigprocmask(SIG_SETMASK,&oset,NULL);
H A Dsparcv9cap.c172 sigset_t all_masked,oset; local
196 sigprocmask(SIG_SETMASK,&all_masked,&oset);
234 sigprocmask(SIG_SETMASK,&oset,NULL);
/external/tcpdump/
H A Dprint-ascii.c92 register const u_char *cp, register u_int length, register u_int oset)
115 ident, oset, HEXDUMP_HEXSTUFF_PER_LINE,
118 oset += HEXDUMP_BYTES_PER_LINE;
132 ident, oset, HEXDUMP_HEXSTUFF_PER_LINE,
149 register u_int oset)
158 (void)printf("%s0x%04x: ", ident, oset);
159 oset += HEXDUMP_BYTES_PER_LINE;
166 (void)printf("%s0x%04x: ", ident, oset);
91 hex_and_ascii_print_with_offset(register const char *ident, register const u_char *cp, register u_int length, register u_int oset) argument
148 hex_print_with_offset(register const char *ident, register const u_char *cp, register u_int length, register u_int oset) argument
/external/valgrind/main/drd/
H A Ddrd_barrier.c134 p->oset[i] = VG_(OSetGen_Create)(0, 0, VG_(malloc), "drd.barrier.bi.1",
141 * all the nodes in the OSet p->oset.
149 OSet* oset; local
166 oset = p->oset[1 - (p->pre_iteration & 1)];
167 VG_(OSetGen_ResetIter)(oset);
168 for ( ; (q = VG_(OSetGen_Next)(oset)) != 0; ) {
179 VG_(OSetGen_Destroy)(p->oset[i]);
180 p->oset[i] = NULL;
334 OSet* oset; local
411 OSet* oset; local
[all...]
H A Ddrd_hb.c94 p->oset = VG_(OSetGen_Create)(0, 0, VG_(malloc), "drd.hb",
107 VG_(OSetGen_ResetIter)(p->oset);
108 for ( ; (r = VG_(OSetGen_Next)(p->oset)) != 0; )
110 VG_(OSetGen_Destroy)(p->oset);
174 q = VG_(OSetGen_Lookup)(p->oset, &word_tid);
177 q = VG_(OSetGen_AllocNode)(p->oset, sizeof(*q));
179 VG_(OSetGen_Insert)(p->oset, q);
180 tl_assert(VG_(OSetGen_Lookup)(p->oset, &word_tid) == q);
214 VG_(OSetGen_ResetIter)(p->oset);
215 for ( ; (q = VG_(OSetGen_Next)(p->oset)) !
[all...]
H A Ddrd_bitmap.c109 bm->oset = VG_(OSetGen_EmptyClone)(s_bm2_set_template);
117 VG_(OSetGen_Destroy)(bm->oset);
351 VG_(OSetGen_ResetIter)(bm->oset);
352 for ( ; (bm2 = VG_(OSetGen_Next)(bm->oset)) != NULL; ) {
957 VG_(OSetGen_ResetIter)(lhs->oset);
958 VG_(OSetGen_ResetIter)(rhs->oset);
960 for ( ; (bm2l = VG_(OSetGen_Next)(lhs->oset)) != 0; )
967 bm2l = VG_(OSetGen_Next)(lhs->oset);
975 bm2r = VG_(OSetGen_Next)(rhs->oset);
998 bm2r = VG_(OSetGen_Next)(rhs->oset);
[all...]
H A Ddrd_clientobj.h96 OSet* oset; // Per-thread order annotation information. member in struct:hb_info
127 OSet* oset[2]; // Per-thread barrier information for the latest member in struct:barrier_info
H A Ddrd_bitmap.h512 bm2 = VG_(OSetGen_Lookup)(bm->oset, &a1);
537 bm2 = VG_(OSetGen_Lookup)(bm->oset, &a1);
572 bm2 = VG_(OSetGen_AllocNode)(bm->oset, sizeof(*bm2));
574 VG_(OSetGen_Insert)(bm->oset, bm2);
618 bm2 = VG_(OSetGen_Lookup)(bm->oset, &a1);
652 bm2 = VG_(OSetGen_Remove)(bm->oset, &a1);
653 VG_(OSetGen_FreeNode)(bm->oset, bm2);
H A Ddrd_rwlock.c144 DRD_(lookup_or_insert_node)(OSet* oset, const UWord tid) argument
148 q = VG_(OSetGen_Lookup)(oset, &tid);
151 q = VG_(OSetGen_AllocNode)(oset, sizeof(*q));
157 VG_(OSetGen_Insert)(oset, q);
H A Dpub_drd_bitmap.h72 OSet* oset; member in struct:bitmap
/external/openfst/src/include/fst/
H A Dinterval-set.h135 void Intersect(const IntervalSet<T> &iset, IntervalSet<T> *oset) const;
139 void Complement(T maxval, IntervalSet<T> *oset) const;
143 void Difference(const IntervalSet<T> &iset, IntervalSet<T> *oset) const;
201 IntervalSet<T> *oset) const {
203 vector<Interval> *ointervals = oset->Intervals();
208 oset->count_ = 0;
220 oset->count_ += interval.end - interval.begin;
232 void IntervalSet<T>::Complement(T maxval, IntervalSet<T> *oset) const {
233 vector<Interval> *ointervals = oset->Intervals();
235 oset
[all...]
/external/chromium_org/native_client_sdk/src/libraries/third_party/newlib-extras/sys/
H A Dsignal.h135 int _EXFUN(sigprocmask, (int how, const sigset_t *set, sigset_t *oset));
138 int _EXFUN(pthread_sigmask, (int how, const sigset_t *set, sigset_t *oset));
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc419 PRE_SYSCALL(sigprocmask)(long how, void *set, void *oset) {}
421 POST_SYSCALL(sigprocmask)(long res, long how, void *set, void *oset) {
424 if (oset) POST_WRITE(oset, old_sigset_t_sz);
684 PRE_SYSCALL(rt_sigprocmask)(long how, void *set, void *oset, long sigsetsize) {}
687 kernel_sigset_t *oset, long sigsetsize) {
690 if (oset) POST_WRITE(oset, sigsetsize);
/external/valgrind/main/coregrind/
H A Dm_oset.c861 // set up 'oset' for iteration so that the first key subsequently
865 void VG_(OSetGen_ResetIterAt)(AvlTree* oset, const void* k) argument
871 vg_assert(oset);
872 stackClear(oset);
874 if (!oset->root)
878 t = oset->root;
883 if (oset->cmp) {
884 cmpresS = (Word)slow_cmp(oset, k, t);
898 stackPush(oset, t, 2);
907 stackPush(oset,
[all...]
/external/valgrind/main/coregrind/m_debuginfo/
H A Dreadelf.c820 OSet *oset; local
836 oset = VG_(OSetGen_Create)( offsetof(TempSym,key),
840 vg_assert(oset);
875 prev = VG_(OSetGen_Lookup)( oset, &key );
935 elem = VG_(OSetGen_AllocNode)(oset, sizeof(TempSym));
943 VG_(OSetGen_Insert)(oset, elem);
947 VG_(printf)(" to-oset [%4ld]: "
962 /* All the syms that matter are in the oset. Now pull them out,
963 build a "standard" symbol table, and nuke the oset. */
966 VG_(OSetGen_ResetIter)( oset );
[all...]
/external/compiler-rt/include/sanitizer/
H A Dlinux_syscall_hooks.h173 #define __sanitizer_syscall_pre_sigprocmask(how, set, oset) \
175 (long)(oset))
176 #define __sanitizer_syscall_post_sigprocmask(res, how, set, oset) \
178 (long)(oset))
378 #define __sanitizer_syscall_pre_rt_sigprocmask(how, set, oset, sigsetsize) \
380 (long)(how), (long)(set), (long)(oset), (long)(sigsetsize))
381 #define __sanitizer_syscall_post_rt_sigprocmask(res, how, set, oset, \
384 res, (long)(how), (long)(set), (long)(oset), (long)(sigsetsize))
2089 void __sanitizer_syscall_pre_impl_sigprocmask(long how, long set, long oset);
2091 long oset);
[all...]
/external/linux-tools-perf/perf-3.12.0/tools/perf/
H A Dbuiltin-stat.c1192 sigset_t set, oset; local
1202 sigprocmask(SIG_BLOCK, &set, &oset);
1207 sigprocmask(SIG_SETMASK, &oset, NULL);

Completed in 540 milliseconds