Home
last modified time | relevance | path

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

/external/python/cffi/c/
Dtest_c.py44 def size_of_int(): function
283 assert repr(p) == "<cdata 'int *' owning %d bytes>" % size_of_int()
285 assert repr(p) == "<cdata 'int *' owning %d bytes>" % size_of_int()
287 assert repr(p) == "<cdata 'int *' owning %d bytes>" % size_of_int()
536 LENGTH, LENGTH * size_of_int())
593 3*5*size_of_int(),)
624 if ((bi - 1240) % size_of_int()) == 0:
625 assert b - a == (bi - 1240) // size_of_int()
626 assert a - b == (1240 - bi) // size_of_int()
827 bigval = -42 + (1 << (8*size_of_int()))
[all …]