Home | History | Annotate | Download | only in tools

Lines Matching refs:and

13 # Generates 2 files. Found by trial and error.
247 if not doCatch and not doFinally: return
250 if not doCatch and (catchReturns or catchWithLocal or catchThrows):
254 if not doFinally and (finallyReturns or finallyThrows):
257 # tryFirstReturns is only relevant when both tryReturns and tryThrows are
259 if tryFirstReturns and not (tryReturns and tryThrows): return
261 # From the try and finally block, we can return or throw, but not both.
262 if catchReturns and catchThrows: return
263 if finallyReturns and finallyThrows: return
266 if endReturnLocal and not (tryResultToLocal or catchWithLocal): return
275 # If try returns and throws, then don't catchWithLocal, endReturnLocal, or
277 if (tryReturns and tryThrows and
281 if doFinally and anyAlternative: return
283 if ((tryResultToLocal or catchWithLocal or endReturnLocal) and
287 if doFinally and deopt: return
290 # catchReturns, and no catchThrows, and deopt.
291 if (alternativeFn2 and
355 if tryReturns and not (tryThrows and not tryFirstReturns):
368 if tryReturns and tryThrows and not tryFirstReturns:
383 if isinstance(result, tuple) and result[0] == 'throw':
387 if isinstance(result, tuple) and result[0] == "throw":
389 elif catchReturns and catchWithLocal:
391 if isinstance(result, tuple) and result[0] == "throw":
393 elif catchReturns and not catchWithLocal:
395 if isinstance(result, tuple) and result[0] == "throw":
399 if isinstance(result, tuple) and result[0] == "throw":
404 if isinstance(result, tuple) and result[0] == "throw":
419 elif not finallyReturns and not finallyThrows:
465 if FILE != None and NUM_TESTS_IN_SHARD < SHARD_SIZE:
542 elif sys.argv[1:] == ['--shard-and-overwrite']:
549 print(" python {} --shard-and-overwrite".format(sys.argv[0]))