Home
last modified time | relevance | path

Searched refs:sig_lock (Results 1 – 4 of 4) sorted by relevance

/external/bc/include/
Dvm.h197 #define BC_SIG_ASSERT_LOCKED do { assert(vm.sig_lock); } while (0)
198 #define BC_SIG_ASSERT_NOT_LOCKED do { assert(vm.sig_lock == 0); } while (0)
207 vm.sig_lock = 1; \
213 vm.sig_lock = 0; \
219 vm.sig_lock = 1; \
224 vm.sig_lock = 0; \
230 v = vm.sig_lock; \
231 vm.sig_lock = 1; \
236 vm.sig_lock = (v); \
355 volatile sig_atomic_t sig_lock; member
Dlibrary.h58 vm.sig_lock = 0; \
80 vm.sig_lock = 0; \
/external/bc/src/
Dlibrary.c59 if (!vm.sig_lock) BC_VM_JMP; in bcl_handleSignal()
103 assert(!vm.running && !vm.sig && !vm.sig_lock); in bcl_init()
160 assert(!vm.running && !vm.sig && !vm.sig_lock); in bcl_free()
200 assert(!vm.running && !vm.sig && !vm.sig_lock); in bcl_ctxt_create()
277 assert(!vm.running && !vm.sig && !vm.sig_lock); in bcl_num_insert()
301 assert(!vm.running && !vm.sig && !vm.sig_lock); in bcl_num_create()
357 assert(!vm.running && !vm.sig && !vm.sig_lock); in bcl_copy()
389 assert(!vm.running && !vm.sig && !vm.sig_lock); in bcl_dup()
479 assert(!vm.running && !vm.sig && !vm.sig_lock); in bcl_num_setScale()
523 assert(!vm.running && !vm.sig && !vm.sig_lock); in bcl_bigdig()
[all …]
Dvm.c120 if (!vm.sig_lock) BC_VM_JMP;