Home
last modified time | relevance | path

Searched refs:pep_code (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Modules/_ctypes/
D_ctypes.c266 char pep_code = '\0'; in _ctypes_alloc_format_string_for_type() local
270 case 'i': pep_code = 'h'; break; in _ctypes_alloc_format_string_for_type()
271 case 'I': pep_code = 'H'; break; in _ctypes_alloc_format_string_for_type()
273 case 'i': pep_code = 'i'; break; in _ctypes_alloc_format_string_for_type()
274 case 'I': pep_code = 'I'; break; in _ctypes_alloc_format_string_for_type()
276 case 'i': pep_code = 'q'; break; in _ctypes_alloc_format_string_for_type()
277 case 'I': pep_code = 'Q'; break; in _ctypes_alloc_format_string_for_type()
282 case 'l': pep_code = 'l'; break; in _ctypes_alloc_format_string_for_type()
283 case 'L': pep_code = 'L'; break; in _ctypes_alloc_format_string_for_type()
285 case 'l': pep_code = 'q'; break; in _ctypes_alloc_format_string_for_type()
[all …]
/external/python/cpython2/Modules/_ctypes/
D_ctypes.c315 char pep_code = '\0'; in _ctypes_alloc_format_string_for_type() local
319 case 'i': pep_code = 'h'; break; in _ctypes_alloc_format_string_for_type()
320 case 'I': pep_code = 'H'; break; in _ctypes_alloc_format_string_for_type()
322 case 'i': pep_code = 'i'; break; in _ctypes_alloc_format_string_for_type()
323 case 'I': pep_code = 'I'; break; in _ctypes_alloc_format_string_for_type()
325 case 'i': pep_code = 'q'; break; in _ctypes_alloc_format_string_for_type()
326 case 'I': pep_code = 'Q'; break; in _ctypes_alloc_format_string_for_type()
331 case 'l': pep_code = 'l'; break; in _ctypes_alloc_format_string_for_type()
332 case 'L': pep_code = 'L'; break; in _ctypes_alloc_format_string_for_type()
334 case 'l': pep_code = 'q'; break; in _ctypes_alloc_format_string_for_type()
[all …]