Searched refs:_set_int (Results 1 – 4 of 4) sorted by relevance
/external/autotest/client/common_lib/ |
D | control_data_unittest.py | 242 cd._set_int('foo', 0) 244 cd._set_int('foo', '0') 246 cd._set_int('foo', '-1', min=-2, max=10) 248 self.assertRaises(ValueError, cd._set_int, 'foo', 0, min=1) 249 self.assertRaises(ValueError, cd._set_int, 'foo', 1, max=0) 250 self.assertRaises(ValueError, cd._set_int, 'foo', 'x') 251 self.assertRaises(ValueError, cd._set_int, 'foo', '') 252 self.assertRaises(TypeError, cd._set_int, 'foo', None)
|
D | control_data.py | 202 def _set_int(self, attr, val, min=None, max=None): member in ControlData 240 self._set_int('sync_count', val, min=1) 268 self._set_int('retries', val) 272 self._set_int('job_retries', val) 293 self._set_int('max_result_size_KB', val) 296 self._set_int('priority', val)
|
/external/python/cpython2/Modules/ |
D | _csv.c | 221 _set_int(const char *name, int *target, PyObject *src, int dflt) in _set_int() function 425 DIASET(_set_int, "quoting", &self->quoting, quoting, QUOTE_MINIMAL); in dialect_new()
|
/external/python/cpython3/Modules/ |
D | _csv.c | 207 _set_int(const char *name, int *target, PyObject *src, int dflt) in _set_int() function 425 DIASET(_set_int, "quoting", &self->quoting, quoting, QUOTE_MINIMAL); in dialect_new()
|