Home | History | Annotate | Download | only in python2.7

Lines Matching refs:code

342         # Scan the code, and yield 'interesting' opcode combinations
344 code = co.co_code
347 while code:
348 c = code[0]
350 oparg, = unpack('<H', code[1:3])
352 code = code[3:]
354 if c == LOAD_CONST and code[3] == IMPORT_NAME:
355 oparg_1, oparg_2 = unpack('<xHxH', code[:6])
357 code = code[6:]
360 code = code[3:]
362 code = code[1:]
366 # Scan the code, and yield 'interesting' opcode combinations
368 code = co.co_code
372 while code:
373 c = code[0]
375 oparg, = unpack('<H', code[1:3])
377 code = code[3:]
379 if code[:9:3] == LOAD_LOAD_AND_IMPORT:
380 oparg_1, oparg_2, oparg_3 = unpack('<xHxHxH', code[:9])
388 code = code[9:]
391 code = code[3:]
393 code = code[1:]
396 code = co.co_code
417 # the code has already been parsed and we can suck out the