/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_types.py | 297 def test(i, format_spec, result): 300 assert type(format_spec) == str 301 self.assertEqual(i.__format__(format_spec), result) 302 self.assertEqual(i.__format__(unicode(format_spec)), result) 425 for format_spec in ([chr(x) for x in range(ord('a'), ord('z')+1)] + 427 if not format_spec in 'bcdoxXeEfFgGn%': 428 self.assertRaises(ValueError, 0 .__format__, format_spec) 429 self.assertRaises(ValueError, 1 .__format__, format_spec) 430 self.assertRaises(ValueError, (-1) .__format__, format_spec) 434 for format_spec in 'eEfFgG%' [all...] |
test_str.py | 202 # class with __format__ that forwards to string, for some format_spec's 208 def __format__(self, format_spec): 209 if format_spec == 'd': 211 return object.__format__(self, format_spec) 215 def __format__(self, format_spec): 219 def __format__(self, format_spec): 220 return self.strftime(format_spec) 223 def __format__(self, format_spec): 224 return int.__format__(self * 2, format_spec)
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_types.py | 297 def test(i, format_spec, result): 300 assert type(format_spec) == str 301 self.assertEqual(i.__format__(format_spec), result) 302 self.assertEqual(i.__format__(unicode(format_spec)), result) 425 for format_spec in ([chr(x) for x in range(ord('a'), ord('z')+1)] + 427 if not format_spec in 'bcdoxXeEfFgGn%': 428 self.assertRaises(ValueError, 0 .__format__, format_spec) 429 self.assertRaises(ValueError, 1 .__format__, format_spec) 430 self.assertRaises(ValueError, (-1) .__format__, format_spec) 434 for format_spec in 'eEfFgG%' [all...] |
test_str.py | 202 # class with __format__ that forwards to string, for some format_spec's 208 def __format__(self, format_spec): 209 if format_spec == 'd': 211 return object.__format__(self, format_spec) 215 def __format__(self, format_spec): 219 def __format__(self, format_spec): 220 return self.strftime(format_spec) 223 def __format__(self, format_spec): 224 return int.__format__(self * 2, format_spec)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_types.py | 297 def test(i, format_spec, result): 300 assert type(format_spec) == str 301 self.assertEqual(i.__format__(format_spec), result) 302 self.assertEqual(i.__format__(unicode(format_spec)), result) 425 for format_spec in ([chr(x) for x in range(ord('a'), ord('z')+1)] + 427 if not format_spec in 'bcdoxXeEfFgGn%': 428 self.assertRaises(ValueError, 0 .__format__, format_spec) 429 self.assertRaises(ValueError, 1 .__format__, format_spec) 430 self.assertRaises(ValueError, (-1) .__format__, format_spec) 434 for format_spec in 'eEfFgG%' [all...] |
test_str.py | 202 # class with __format__ that forwards to string, for some format_spec's 208 def __format__(self, format_spec): 209 if format_spec == 'd': 211 return object.__format__(self, format_spec) 215 def __format__(self, format_spec): 219 def __format__(self, format_spec): 220 return self.strftime(format_spec) 223 def __format__(self, format_spec): 224 return int.__format__(self * 2, format_spec)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_types.py | 297 def test(i, format_spec, result): 300 assert type(format_spec) == str 301 self.assertEqual(i.__format__(format_spec), result) 302 self.assertEqual(i.__format__(unicode(format_spec)), result) 425 for format_spec in ([chr(x) for x in range(ord('a'), ord('z')+1)] + 427 if not format_spec in 'bcdoxXeEfFgGn%': 428 self.assertRaises(ValueError, 0 .__format__, format_spec) 429 self.assertRaises(ValueError, 1 .__format__, format_spec) 430 self.assertRaises(ValueError, (-1) .__format__, format_spec) 434 for format_spec in 'eEfFgG%' [all...] |
test_str.py | 202 # class with __format__ that forwards to string, for some format_spec's 208 def __format__(self, format_spec): 209 if format_spec == 'd': 211 return object.__format__(self, format_spec) 215 def __format__(self, format_spec): 219 def __format__(self, format_spec): 220 return self.strftime(format_spec) 223 def __format__(self, format_spec): 224 return int.__format__(self * 2, format_spec)
|
/external/opencv3/modules/videoio/src/ |
cap_unicap.cpp | 83 memset( &format_spec, 0, sizeof(format_spec) ); 100 unicap_format_t format_spec; member in struct:CvCapture_Unicap 144 unicap_void_format(&format_spec); 146 if (!SUCCESS(unicap_enumerate_formats(handle, &format_spec, &format, desired_format))) {
|
/prebuilts/gdb/darwin-x86/include/python2.7/ |
complexobject.h | 57 /* Format the object based on the format_spec, as defined in PEP 3101 60 char *format_spec,
|
floatobject.h | 124 /* Format the object based on the format_spec, as defined in PEP 3101 127 char *format_spec,
|
intobject.h | 72 /* Format the object based on the format_spec, as defined in PEP 3101 75 char *format_spec,
|
/prebuilts/gdb/linux-x86/include/python2.7/ |
complexobject.h | 57 /* Format the object based on the format_spec, as defined in PEP 3101 60 char *format_spec,
|
floatobject.h | 124 /* Format the object based on the format_spec, as defined in PEP 3101 127 char *format_spec,
|
intobject.h | 72 /* Format the object based on the format_spec, as defined in PEP 3101 75 char *format_spec,
|
/prebuilts/python/darwin-x86/2.7.5/include/python2.7/ |
complexobject.h | 57 /* Format the object based on the format_spec, as defined in PEP 3101 60 char *format_spec,
|
floatobject.h | 124 /* Format the object based on the format_spec, as defined in PEP 3101 127 char *format_spec,
|
intobject.h | 72 /* Format the object based on the format_spec, as defined in PEP 3101 75 char *format_spec,
|
/prebuilts/python/linux-x86/2.7.5/include/python2.7/ |
complexobject.h | 57 /* Format the object based on the format_spec, as defined in PEP 3101 60 char *format_spec,
|
floatobject.h | 124 /* Format the object based on the format_spec, as defined in PEP 3101 127 char *format_spec,
|
intobject.h | 72 /* Format the object based on the format_spec, as defined in PEP 3101 75 char *format_spec,
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
string.py | 557 for literal_text, field_name, format_spec, conversion in \ 578 format_spec = self._vformat(format_spec, args, kwargs, 582 result.append(self.format_field(obj, format_spec)) 598 def format_field(self, value, format_spec): 599 return format(value, format_spec) 614 # (literal_text, field_name, format_spec, conversion) 619 # with format_spec and conversion and then used
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
string.py | 557 for literal_text, field_name, format_spec, conversion in \ 578 format_spec = self._vformat(format_spec, args, kwargs, 582 result.append(self.format_field(obj, format_spec)) 598 def format_field(self, value, format_spec): 599 return format(value, format_spec) 614 # (literal_text, field_name, format_spec, conversion) 619 # with format_spec and conversion and then used
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
string.py | 557 for literal_text, field_name, format_spec, conversion in \ 578 format_spec = self._vformat(format_spec, args, kwargs, 582 result.append(self.format_field(obj, format_spec)) 598 def format_field(self, value, format_spec): 599 return format(value, format_spec) 614 # (literal_text, field_name, format_spec, conversion) 619 # with format_spec and conversion and then used
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
string.py | 557 for literal_text, field_name, format_spec, conversion in \ 578 format_spec = self._vformat(format_spec, args, kwargs, 582 result.append(self.format_field(obj, format_spec)) 598 def format_field(self, value, format_spec): 599 return format(value, format_spec) 614 # (literal_text, field_name, format_spec, conversion) 619 # with format_spec and conversion and then used
|