/external/python/cpython3/Lib/ |
D | ast.py | 51 def _convert(node): function 59 return tuple(map(_convert, node.elts)) 61 return list(map(_convert, node.elts)) 63 return set(map(_convert, node.elts)) 65 return dict((_convert(k), _convert(v)) for k, v 70 operand = _convert(node.operand) 77 left = _convert(node.left) 78 right = _convert(node.right) 85 return _convert(node_or_string)
|
D | aifc.py | 310 self._convert = None 438 if self._convert and data: 439 data = self._convert(data) 490 self._convert = self._adpcm2lin 492 self._convert = self._ulaw2lin 494 self._convert = self._alaw2lin 575 self._convert = None 724 if self._convert: 725 data = self._convert(data) 752 self._convert = None [all …]
|
D | signal.py | 8 _IntEnum._convert( 15 _IntEnum._convert( 20 _IntEnum._convert(
|
D | statistics.py | 233 def _convert(value, T): function 314 return _convert(total/n, T) 360 return _convert(n/total, T) 590 return _convert(ss/(n-1), T) 638 return _convert(ss/n, T)
|
D | wave.py | 126 self._convert = None 245 if self._convert and data: 246 data = self._convert(data) 305 self._convert = None 418 if self._convert: 419 data = self._convert(data)
|
D | socket.py | 73 IntEnum._convert( 78 IntEnum._convert( 83 IntFlag._convert( 88 IntFlag._convert(
|
D | ssl.py | 122 _IntEnum._convert( 127 _IntFlag._convert( 132 _IntEnum._convert( 137 _IntEnum._convert( 142 _IntFlag._convert( 147 _IntEnum._convert(
|
D | functools.py | 178 _convert = { variable 196 roots = [op for op in _convert if getattr(cls, op, None) is not getattr(object, op, None)] 200 for opname, opfunc in _convert[root]:
|
D | enum.py | 603 def _convert(cls, name, module, filter, source=None): member in Enum
|
/external/python/cpython2/Lib/ |
D | ast.py | 52 def _convert(node): function 58 return tuple(map(_convert, node.elts)) 60 return list(map(_convert, node.elts)) 62 return dict((_convert(k), _convert(v)) for k, v 80 return _convert(node_or_string)
|
D | aifc.py | 294 self._convert = None 425 if self._convert and data: 426 data = self._convert(data) 485 self._convert = self._adpcm2lin 495 self._convert = self._ulaw2lin 508 self._convert = self._decomp_data 584 self._convert = None 724 if self._convert: 725 data = self._convert(data) 755 self._convert = None [all …]
|
D | wave.py | 127 self._convert = None 259 if self._convert and data: 260 data = self._convert(data) 319 self._convert = None 424 if self._convert: 425 data = self._convert(data)
|
/external/autotest/client/cros/power/ |
D | power_dashboard.py | 112 def _convert(self): member in BaseDashboard 126 raw_measurement = self._convert() 138 def _convert(self): member in MeasurementLoggerDashboard
|
/external/tensorflow/tensorflow/python/client/ |
D | device_lib.py | 31 def _convert(pb_str): function 36 return [_convert(s) for s in pywrap_tensorflow.list_devices()]
|
/external/tensorflow/tensorflow/python/ops/ |
D | script_ops.py | 94 def _convert(value, dtype=None): member in FuncRegistry 152 return [self._convert(x) for x in ret] 154 return self._convert(ret)
|
D | image_ops_test.py | 2991 def _convert(self, original, original_dtype, output_dtype, expected): member in ConvertImageTest 3020 self._convert([0, 255], dtypes.uint8, dtypes.int16, [0, 255 * 128]) 3021 self._convert([0, 32767], dtypes.int16, dtypes.uint8, [0, 255]) 3022 self._convert([0, 2**32], dtypes.int64, dtypes.int32, [0, 1]) 3023 self._convert([0, 1], dtypes.int32, dtypes.int64, [0, 2**32]) 3028 self._convert([-1.0, 0, 1.0, 200000], dtypes.float32, dtypes.float64, 3030 self._convert([-1.0, 0, 1.0, 200000], dtypes.float64, dtypes.float32, 3036 self._convert([0, 1, 255], dtypes.uint8, dtypes.float32, 3038 self._convert([0, 1.1 / 255.0, 1], dtypes.float32, dtypes.uint8, 3044 self._convert([0, 255 * 256], dtypes.uint16, dtypes.uint8, [0, 255]) [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_statistics.py | 937 x = statistics._convert(Fraction(71), int) 940 x = statistics._convert(Fraction(17), MyInt) 945 x = statistics._convert(Fraction(95, 99), Fraction) 950 x = statistics._convert(Fraction(71, 13), MyFraction) 955 x = statistics._convert(Fraction(-1, 2), float) 960 x = statistics._convert(Fraction(9, 8), MyFloat) 965 x = statistics._convert(Fraction(1, 40), Decimal) 970 x = statistics._convert(Fraction(-15, 16), MyDecimal) 976 x = statistics._convert(inf, type(inf)) 981 x = statistics._convert(nan, type(nan))
|
D | test_enum.py | 2570 test_type = enum.IntEnum._convert( 2580 test_type = enum.IntEnum._convert(
|
/external/libcap/contrib/ |
D | pcaps4server | 331 ${j}_convert 353 ${i}_convert
|
/external/tensorflow/tensorflow/python/data/ops/ |
D | dataset_ops.py | 377 script_ops.FuncRegistry._convert(ret, dtype=dtype.as_numpy_dtype)
|