Home
last modified time | relevance | path

Searched refs:jump (Results 1 – 25 of 452) sorted by relevance

12345678910>>...19

/third_party/python/Lib/test/
Dtest__opcode.py38 self.assertEqual(stack_effect(JUMP_IF_TRUE_OR_POP, 0, jump=True), 0)
39 self.assertEqual(stack_effect(JUMP_IF_TRUE_OR_POP, 0, jump=False), -1)
42 self.assertEqual(stack_effect(FOR_ITER, 0, jump=True), -1)
43 self.assertEqual(stack_effect(FOR_ITER, 0, jump=False), 1)
46 self.assertEqual(stack_effect(JUMP_FORWARD, 0, jump=True), 0)
47 self.assertEqual(stack_effect(JUMP_FORWARD, 0, jump=False), 0)
54 jump = stack_effect(code, jump=True)
55 nojump = stack_effect(code, jump=False)
58 jump = stack_effect(code, 0, jump=True)
59 nojump = stack_effect(code, 0, jump=False)
[all …]
/third_party/pcre2/pcre2/src/sljit/
DsljitNativeMIPS_common.c314 static SLJIT_INLINE sljit_ins* detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit… in detect_jump_type() argument
322 if (jump->flags & (SLJIT_REWRITABLE_JUMP | IS_CALL)) in detect_jump_type()
325 if (jump->flags & SLJIT_REWRITABLE_JUMP) in detect_jump_type()
329 if (jump->flags & JUMP_ADDR) in detect_jump_type()
330 target_addr = jump->u.target; in detect_jump_type()
332 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type()
333 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; in detect_jump_type()
336 inst = (sljit_ins *)jump->addr; in detect_jump_type()
337 if (jump->flags & IS_COND) in detect_jump_type()
341 if (jump->flags & IS_CALL) in detect_jump_type()
[all …]
DsljitNativeSPARC_common.c218 static SLJIT_INLINE sljit_ins* detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit… in detect_jump_type() argument
225 if (jump->flags & SLJIT_REWRITABLE_JUMP) in detect_jump_type()
228 if (jump->flags & JUMP_ADDR) in detect_jump_type()
229 target_addr = jump->u.target; in detect_jump_type()
231 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type()
232 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; in detect_jump_type()
234 inst = (sljit_ins*)jump->addr; in detect_jump_type()
237 if (jump->flags & IS_CALL) { in detect_jump_type()
239 jump->flags |= PATCH_CALL; in detect_jump_type()
240 if (jump->flags & IS_MOVABLE) { in detect_jump_type()
[all …]
DsljitNativeARM_32.c404 static SLJIT_INLINE sljit_s32 detect_jump_type(struct sljit_jump *jump, sljit_uw *code_ptr, sljit_u… in detect_jump_type() argument
408 if (jump->flags & SLJIT_REWRITABLE_JUMP) in detect_jump_type()
412 if (jump->flags & IS_BL) in detect_jump_type()
415 if (jump->flags & JUMP_ADDR) in detect_jump_type()
416 diff = ((sljit_sw)jump->u.target - (sljit_sw)(code_ptr + 2) - executable_offset); in detect_jump_type()
418 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type()
419 diff = ((sljit_sw)(code + jump->u.label->size) - (sljit_sw)(code_ptr + 2)); in detect_jump_type()
426 if (jump->flags & IS_BL) { in detect_jump_type()
429 jump->flags |= PATCH_B; in detect_jump_type()
436 jump->flags |= PATCH_B; in detect_jump_type()
[all …]
DsljitNativeARM_T2_32.c240 static SLJIT_INLINE sljit_s32 detect_jump_type(struct sljit_jump *jump, sljit_u16 *code_ptr, sljit_… in detect_jump_type() argument
244 if (jump->flags & SLJIT_REWRITABLE_JUMP) in detect_jump_type()
247 if (jump->flags & JUMP_ADDR) { in detect_jump_type()
249 if (!(jump->u.target & 0x1)) in detect_jump_type()
251 diff = ((sljit_sw)jump->u.target - (sljit_sw)(code_ptr + 2) - executable_offset) >> 1; in detect_jump_type()
254 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type()
255 diff = ((sljit_sw)(code + jump->u.label->size) - (sljit_sw)(code_ptr + 2)) >> 1; in detect_jump_type()
258 if (jump->flags & IS_COND) { in detect_jump_type()
259 SLJIT_ASSERT(!(jump->flags & IS_BL)); in detect_jump_type()
261 jump->flags |= PATCH_TYPE1; in detect_jump_type()
[all …]
DsljitNativeARM_64.c154 static SLJIT_INLINE sljit_sw detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_i… in detect_jump_type() argument
159 if (jump->flags & SLJIT_REWRITABLE_JUMP) { in detect_jump_type()
160 jump->flags |= PATCH_ABS64; in detect_jump_type()
164 if (jump->flags & JUMP_ADDR) in detect_jump_type()
165 target_addr = jump->u.target; in detect_jump_type()
167 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type()
168 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; in detect_jump_type()
173 if (jump->flags & IS_COND) { in detect_jump_type()
176 code_ptr[-5] ^= (jump->flags & IS_CBZ) ? (0x1 << 24) : 0x1; in detect_jump_type()
177 jump->addr -= sizeof(sljit_ins); in detect_jump_type()
[all …]
DsljitNativePPC_common.c259 static SLJIT_INLINE sljit_s32 detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_… in detect_jump_type() argument
266 if (jump->flags & (SLJIT_REWRITABLE_JUMP | IS_CALL)) in detect_jump_type()
269 if (jump->flags & SLJIT_REWRITABLE_JUMP) in detect_jump_type()
273 if (jump->flags & JUMP_ADDR) in detect_jump_type()
274 target_addr = jump->u.target; in detect_jump_type()
276 SLJIT_ASSERT(jump->flags & JUMP_LABEL); in detect_jump_type()
277 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; in detect_jump_type()
281 if (jump->flags & IS_CALL) in detect_jump_type()
288 if (jump->flags & IS_COND) { in detect_jump_type()
290 jump->flags |= PATCH_B; in detect_jump_type()
[all …]
DsljitNativeX86_common.c429 static sljit_u8* generate_far_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr, sljit_sw execu…
431 static sljit_u8* generate_far_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr);
435 static sljit_u8* generate_near_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr, sljit_u8 *cod… in generate_near_jump_code() argument
437 sljit_s32 type = jump->flags >> TYPE_SHIFT; in generate_near_jump_code()
441 if (jump->flags & JUMP_LABEL) in generate_near_jump_code()
442 label_addr = (sljit_uw)(code + jump->u.label->size); in generate_near_jump_code()
444 label_addr = jump->u.target - executable_offset; in generate_near_jump_code()
446 …short_jump = (sljit_sw)(label_addr - (jump->addr + 2)) >= -128 && (sljit_sw)(label_addr - (jump->a… in generate_near_jump_code()
449 …if ((sljit_sw)(label_addr - (jump->addr + 1)) > HALFWORD_MAX || (sljit_sw)(label_addr - (jump->add… in generate_near_jump_code()
450 return generate_far_jump_code(jump, code_ptr); in generate_near_jump_code()
[all …]
DsljitNativeX86_32.c41 static sljit_u8* generate_far_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr, sljit_sw execu… in generate_far_jump_code() argument
43 sljit_s32 type = jump->flags >> TYPE_SHIFT; in generate_far_jump_code()
47 jump->addr++; in generate_far_jump_code()
51 jump->addr++; in generate_far_jump_code()
56 jump->addr += 2; in generate_far_jump_code()
59 if (jump->flags & JUMP_LABEL) in generate_far_jump_code()
60 jump->flags |= PATCH_MW; in generate_far_jump_code()
62 …sljit_unaligned_store_sw(code_ptr, jump->u.target - (jump->addr + 4) - (sljit_uw)executable_offset… in generate_far_jump_code()
731 struct sljit_jump *jump; in sljit_emit_call() local
748 jump = sljit_emit_jump(compiler, type); in sljit_emit_call()
[all …]
/third_party/boost/boost/coroutine/detail/
Dsymmetric_coroutine_impl.hpp71 caller_.jump( in unwind_stack()
96 callee_.jump( in yield()
144 caller_.jump( in resume_()
162 callee_.jump( in yield_to_()
211 caller_.jump( in unwind_stack()
236 callee_.jump( in yield()
284 caller_.jump( in resume_()
302 callee_.jump( in yield_to_()
351 caller_.jump( in unwind_stack()
368 caller_.jump( in resume()
[all …]
Dpush_coroutine_impl.hpp80 caller_->jump( in unwind_stack()
98 caller_->jump( in push()
115 caller_->jump( in push()
172 caller_->jump( in unwind_stack()
190 caller_->jump( in push()
247 caller_->jump( in unwind_stack()
265 caller_->jump( in push()
Dpull_coroutine_impl.hpp95 caller_->jump( in unwind_stack()
113 caller_->jump( in pull()
205 caller_->jump( in unwind_stack()
223 caller_->jump( in pull()
300 caller_->jump( in unwind_stack()
318 caller_->jump( in pull()
/third_party/glib/glib/pcre/
Dpcre_jit_compile.c172 struct sljit_jump *jump; member
442 #define JUMPHERE(jump) \ argument
443 sljit_set_label((jump), sljit_emit_label(compiler))
1232 sljit_set_label(list->jump, label); in set_jumps()
1237 …IT_INLINE void add_jump(struct sljit_compiler *compiler, jump_list **list, struct sljit_jump* jump) in add_jump() argument
1243 list_item->jump = jump; in add_jump()
1423 struct sljit_jump *jump; in check_start_used_ptr() local
1431 jump = CMP(SLJIT_C_LESS_EQUAL, TMP1, 0, STR_PTR, 0); in check_start_used_ptr()
1433 JUMPHERE(jump); in check_start_used_ptr()
1437 jump = CMP(SLJIT_C_LESS_EQUAL, SLJIT_MEM1(SLJIT_LOCALS_REG), common->start_used_ptr, STR_PTR, 0); in check_start_used_ptr()
[all …]
/third_party/python/Modules/
D_opcode.c26 PyObject *jump) in _opcode_stack_effect_impl() argument
48 if (jump == Py_None) { in _opcode_stack_effect_impl()
51 else if (jump == Py_True) { in _opcode_stack_effect_impl()
54 else if (jump == Py_False) { in _opcode_stack_effect_impl()
/third_party/typescript/tests/baselines/reference/
DinvalidForBreakStatements.errors.txt2 …lidForBreakStatements.ts(8,9): error TS1116: A 'break' statement can only jump to a label of an en…
5 …idForBreakStatements.ts(27,5): error TS1116: A 'break' statement can only jump to a label of an en…
6 …idForBreakStatements.ts(36,5): error TS1116: A 'break' statement can only jump to a label of an en…
21 !!! error TS1116: A 'break' statement can only jump to a label of an enclosing statement.
46 !!! error TS1116: A 'break' statement can only jump to a label of an enclosing statement.
57 !!! error TS1116: A 'break' statement can only jump to a label of an enclosing statement.
DinvalidWhileContinueStatements.errors.txt2 …ontinueStatements.ts(8,14): error TS1115: A 'continue' statement can only jump to a label of an en…
5 …ontinueStatements.ts(27,5): error TS1115: A 'continue' statement can only jump to a label of an en…
6 …ontinueStatements.ts(37,5): error TS1115: A 'continue' statement can only jump to a label of an en…
21 !!! error TS1115: A 'continue' statement can only jump to a label of an enclosing iteration stateme…
46 !!! error TS1115: A 'continue' statement can only jump to a label of an enclosing iteration stateme…
58 !!! error TS1115: A 'continue' statement can only jump to a label of an enclosing iteration stateme…
DinvalidWhileBreakStatements.errors.txt2 …WhileBreakStatements.ts(8,14): error TS1116: A 'break' statement can only jump to a label of an en…
5 …WhileBreakStatements.ts(27,5): error TS1116: A 'break' statement can only jump to a label of an en…
6 …WhileBreakStatements.ts(37,5): error TS1116: A 'break' statement can only jump to a label of an en…
21 !!! error TS1116: A 'break' statement can only jump to a label of an enclosing statement.
46 !!! error TS1116: A 'break' statement can only jump to a label of an enclosing statement.
58 !!! error TS1116: A 'break' statement can only jump to a label of an enclosing statement.
DinvalidForContinueStatements.errors.txt2 …ContinueStatements.ts(8,9): error TS1115: A 'continue' statement can only jump to a label of an en…
5 …ontinueStatements.ts(27,5): error TS1115: A 'continue' statement can only jump to a label of an en…
6 …ontinueStatements.ts(36,5): error TS1115: A 'continue' statement can only jump to a label of an en…
21 !!! error TS1115: A 'continue' statement can only jump to a label of an enclosing iteration stateme…
46 !!! error TS1115: A 'continue' statement can only jump to a label of an enclosing iteration stateme…
57 !!! error TS1115: A 'continue' statement can only jump to a label of an enclosing iteration stateme…
DinvalidForInBreakStatements.errors.txt2 …ForInBreakStatements.ts(8,19): error TS1116: A 'break' statement can only jump to a label of an en…
5 …ForInBreakStatements.ts(27,5): error TS1116: A 'break' statement can only jump to a label of an en…
6 …ForInBreakStatements.ts(37,5): error TS1116: A 'break' statement can only jump to a label of an en…
21 !!! error TS1116: A 'break' statement can only jump to a label of an enclosing statement.
46 !!! error TS1116: A 'break' statement can only jump to a label of an enclosing statement.
58 !!! error TS1116: A 'break' statement can only jump to a label of an enclosing statement.
DinvalidDoWhileContinueStatements.errors.txt2 …ContinueStatements.ts(8,4): error TS1115: A 'continue' statement can only jump to a label of an en…
5 …ontinueStatements.ts(27,5): error TS1115: A 'continue' statement can only jump to a label of an en…
6 …ontinueStatements.ts(37,5): error TS1115: A 'continue' statement can only jump to a label of an en…
21 !!! error TS1115: A 'continue' statement can only jump to a label of an enclosing iteration stateme…
46 !!! error TS1115: A 'continue' statement can only jump to a label of an enclosing iteration stateme…
58 !!! error TS1115: A 'continue' statement can only jump to a label of an enclosing iteration stateme…
DinvalidForInContinueStatements.errors.txt2 …ontinueStatements.ts(8,19): error TS1115: A 'continue' statement can only jump to a label of an en…
5 …ontinueStatements.ts(27,5): error TS1115: A 'continue' statement can only jump to a label of an en…
6 …ontinueStatements.ts(37,5): error TS1115: A 'continue' statement can only jump to a label of an en…
21 !!! error TS1115: A 'continue' statement can only jump to a label of an enclosing iteration stateme…
46 !!! error TS1115: A 'continue' statement can only jump to a label of an enclosing iteration stateme…
58 !!! error TS1115: A 'continue' statement can only jump to a label of an enclosing iteration stateme…
DinvalidDoWhileBreakStatements.errors.txt2 …oWhileBreakStatements.ts(8,4): error TS1116: A 'break' statement can only jump to a label of an en…
5 …WhileBreakStatements.ts(27,5): error TS1116: A 'break' statement can only jump to a label of an en…
6 …WhileBreakStatements.ts(37,5): error TS1116: A 'break' statement can only jump to a label of an en…
21 !!! error TS1116: A 'break' statement can only jump to a label of an enclosing statement.
46 !!! error TS1116: A 'break' statement can only jump to a label of an enclosing statement.
58 !!! error TS1116: A 'break' statement can only jump to a label of an enclosing statement.
/third_party/python/Modules/clinic/
D_opcode.c.h16 PyObject *jump);
28 PyObject *jump = Py_None; in _opcode_stack_effect() local
48 jump = args[2]; in _opcode_stack_effect()
50 _return_value = _opcode_stack_effect_impl(module, opcode, oparg, jump); in _opcode_stack_effect()
/third_party/python/Lib/turtledemo/
Dclock.py16 def jump(distanz, winkel=0): function
36 jump(-laenge*0.15)
47 jump(radius)
50 jump(-radius-25)
53 jump(-radius)
/third_party/pcre2/pcre2/src/
Dpcre2_jit_compile.c206 struct sljit_jump *jump; member
627 #define JUMPHERE(jump) \ argument
628 sljit_set_label((jump), sljit_emit_label(compiler))
629 #define SET_LABEL(jump, label) \ argument
630 sljit_set_label((jump), (label))
3083 SET_LABEL(list->jump, label); in set_jumps()
3088 …IT_INLINE void add_jump(struct sljit_compiler *compiler, jump_list **list, struct sljit_jump *jump) in add_jump() argument
3094 list_item->jump = jump; in add_jump()
3487 struct sljit_jump *jump; in check_start_used_ptr() local
3495 jump = CMP(SLJIT_LESS_EQUAL, TMP1, 0, STR_PTR, 0); in check_start_used_ptr()
[all …]

12345678910>>...19