Home
last modified time | relevance | path

Searched refs:safe_range (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Tools/gdb/
Dlibpython.py101 def safe_range(val): function
662 for i in safe_range(self.field('ma_mask') + 1):
760 for i in safe_range(int_from_int(self.field('ob_size')))]
771 for i in safe_range(int_from_int(self.field('ob_size'))):
811 for i in safe_range(abs(ob_size))]
860 for i in safe_range(self.co_nlocals):
988 for i in safe_range(self.field('mask')+1):
1012 for i in safe_range(self.field('mask')+1):
1035 return ''.join([chr(char_ptr[i]) for i in safe_range(field_ob_size)])
1061 for i in safe_range(int_from_int(self.field('ob_size')))])
[all …]
/external/python/cpython3/Tools/gdb/
Dlibpython.py115 def safe_range(val): function
679 for i in safe_range(nentries):
762 for i in safe_range(int_from_int(self.field('ob_size')))]
773 for i in safe_range(int_from_int(self.field('ob_size'))):
813 for i in safe_range(abs(ob_size))]
872 for i in safe_range(self.co_nlocals):
1016 for i in safe_range(self.field('mask') + 1):
1075 return ''.join([chr(char_ptr[i]) for i in safe_range(field_ob_size)])
1126 for i in safe_range(int_from_int(self.field('ob_size'))))
1137 for i in safe_range(int_from_int(self.field('ob_size'))):
[all …]
/external/libchrome/third_party/jinja2/
Dsandbox.py147 def safe_range(*args): function
319 self.globals['range'] = safe_range