/external/protobuf/python/google/protobuf/internal/ |
D | containers.py | 200 self._values = [] 204 return self._values[key] 208 return len(self._values) 219 return repr(self._values) 227 self._values.sort(*args, **kwargs) 251 self._values.append(self._type_checker.CheckValue(value)) 257 self._values.insert(key, self._type_checker.CheckValue(value)) 277 self._values.extend(new_values) 284 self._values.extend(other._values) 289 self._values.remove(elem) [all …]
|
/external/python/pyasn1/pyasn1/type/ |
D | constraint.py | 25 self.__hash = hash((self.__class__.__name__, self._values)) 28 if not self._values: 42 if self._values: 43 representation += ' consts %s' % ', '.join([repr(x) for x in self._values]) 48 return self is other and True or self._values == other 51 return self._values != other 54 return self._values < other 57 return self._values <= other 60 return self._values > other 63 return self._values >= other [all …]
|
/external/protobuf/objectivec/ |
D | GPBArray.m | 70 //% TYPE *_values; 102 //% return [self initWithValues:array->_values count:array->_count]; 109 //% _values = reallocf(_values, count * sizeof(TYPE)); 110 //% if (_values != NULL) { 112 //% memcpy(_values, values, count * sizeof(TYPE)); 134 //% return [[GPB##NAME##Array allocWithZone:zone] initWithValues:_values count:_count]; 141 //% return _values[index]; 157 //% free(_values); 169 //% && memcmp(_values, other->_values, (_count * sizeof(TYPE))) == 0); 181 //% [result appendFormat:@"##FORMAT##", _values[i]]; [all …]
|
D | GPBDictionary.m | 956 //% VALUE_TYPE _values[2]; 1020 //% if ((BOOL_DICT_W_HAS##HELPER(0, ) && (NEQ_##HELPER(_values[0], other->_values[0]))) || 1021 //% (BOOL_DICT_W_HAS##HELPER(1, ) && (NEQ_##HELPER(_values[1], other->_values[1])))) { 1034 //% [result appendFormat:@"NO: STR_FORMAT_##HELPER(VALUE_NAME)", _values[0]]; 1037 //% [result appendFormat:@"YES: STR_FORMAT_##HELPER(VALUE_NAME)", _values[1]]; 1053 //% block(@"false", TEXT_FORMAT_OBJ##VALUE_NAME(_values[0])); 1056 //% block(@"true", TEXT_FORMAT_OBJ##VALUE_NAME(_values[1])); 1064 //% block(NO, _values[0], &stop); 1067 //% block(YES, _values[1], &stop); 1079 //% msgSize += ComputeDict##VALUE_NAME##FieldSize(_values[i], kMapValueFieldNumber, valueDataT… [all …]
|
/external/tensorflow/tensorflow/python/ops/ragged/ |
D | ragged_tensor_value.py | 48 self._values = values 55 lambda self: self._values, 58 lambda self: self._values.dtype, 82 values_is_ragged = isinstance(self._values, RaggedTensorValue) 83 return self._values.ragged_rank + 1 if values_is_ragged else 1 88 return (self._row_splits.shape[0] - 1,) + (None,) + self._values.shape[1:] 94 return "tf.RaggedTensorValue(values=%r, row_splits=%r)" % (self._values, 99 if isinstance(self._values, RaggedTensorValue): 100 values_as_list = self._values.to_list() 102 values_as_list = self._values.tolist()
|
D | ragged_tensor.py | 251 self._values = values 629 return self._values.dtype 651 values_shape = self._values.shape 663 values_is_ragged = isinstance(self._values, RaggedTensor) 664 return self._values.ragged_rank + 1 if values_is_ragged else 1 688 return self._values 1036 if isinstance(self._values, ops.Tensor): 1403 return "tf.RaggedTensor(values=%s, row_splits=%s)" % (self._values, 1512 return hasattr(self._values, 'graph')
|
/external/grpc-grpc/src/python/grpcio/grpc/framework/foundation/ |
D | stream_util.py | 48 self._values = [] 54 self._values.append(value) 65 self._values.append(value) 77 while self._active and not self._values: 79 if self._values: 80 return self._values.pop(0) 95 self._values = [] 114 elif self._values: 115 value = self._values.pop(0) 116 terminate = not self._values and not self._active [all …]
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | generic_utils.py | 345 self._values = {} 366 if k not in self._values: 367 self._values[k] = [v * (current - self._seen_so_far), 370 self._values[k][0] += v * (current - self._seen_so_far) 371 self._values[k][1] += (current - self._seen_so_far) 376 self._values[k] = [v, 1] 438 if isinstance(self._values[k], list): 439 avg = np.mean(self._values[k][0] / max(1, self._values[k][1])) 445 info += ' %s' % self._values[k] 464 avg = np.mean(self._values[k][0] / max(1, self._values[k][1]))
|
/external/tensorflow/tensorflow/python/framework/ |
D | sparse_tensor.py | 127 self._values = values 165 return self._values 175 return self._values.dtype 198 self._indices, self._values, self._dense_shape) 231 return (self._indices, self._values, self._dense_shape) 252 return hasattr(self._values, 'graph')
|
D | ops.py | 1656 self._values = values 1663 return self._values 1698 return self._values.graph 1702 self._indices, self._values, (", dense_shape=%s" % self._dense_shape) 1710 return (self._values, self._indices) 1712 return (self._values, self._indices, self._dense_shape) 1720 shape = self._values.shape 1729 return hasattr(self._values, 'graph') 6290 self._values = values 6294 if self._values and self._in_eager_mode: [all …]
|
/external/tensorflow/tensorflow/python/distribute/ |
D | values.py | 238 self._values = tuple(values) 240 logical_device = device_map.logical_device_from_values(self._values) 250 self._values, replica_context) 256 return self._device_map.select_for_device(self._values, device) 261 return self._values[0] 278 return self._values 282 for v in self._values: 289 assert len(self._values) == len(devices) 290 debug_str = ",\n".join(" %d %s: %s" % (i, devices[i], self._values[i]) 296 assert len(self._values) == len(devices) [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | sets_test.py | 40 def _values(values, dtype): function 47 return constant_op.constant(_values(values, dtype), dtype=dtype) 178 expected_values = _values([1, 9], dtype) 215 expected_values = _values([1, 9], dtype) 240 expected_values = _values([1], dtype) 384 expected_values = _values( 558 expected_values = _values([1, 5, 9, 3, 4, 5, 1, 5], dtype) 589 expected_values = _values([2, 1, 2], dtype) 626 expected_values = _values([5, 9, 3, 4, 5], dtype) 644 expected_values = _values([2, 6, 1, 2], dtype) [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | TextTrieMap.java | 248 private List<V> _values; field in TextTrieMap.Node 256 _values = values; in Node() 265 if (_values == null) { in values() 268 return _values.iterator(); in values() 328 _values = addValue(_values, value); in add() 404 Node child = new Node(childText, _values, _children); 405 _values = null;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | TextTrieMap.java | 239 private List<V> _values; field in TextTrieMap.Node 247 _values = values; in Node() 256 if (_values == null) { in values() 259 return _values.iterator(); in values() 319 _values = addValue(_values, value); in add() 395 Node child = new Node(childText, _values, _children); 396 _values = null;
|
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/ |
D | _channel_close_test.py | 58 self._values = list(values) 66 while not self._values and self._open: 68 if self._values: 69 return self._values.pop(0) 81 self._values.append(value)
|
/external/grpc-grpc/src/python/grpcio/grpc/beta/ |
D | _server_adaptations.py | 108 self._values = [] 114 self._values.append(value) 124 self._values.append(value) 138 elif self._values: 139 return self._values.pop(0) 151 all_values = tuple(self._values) 152 self._values = None
|
/external/webrtc/webrtc/api/objc/ |
D | RTCStatsReport.mm | 24 @synthesize values = _values; 31 _values]; 57 _values = values;
|
/external/grpc-grpc/src/python/grpcio_tests/tests/testing/ |
D | _client_application.py | 68 self._values = [] 77 if self._values: 78 return self._values.pop(0) 92 self._values.append(value)
|
/external/grpc-grpc/src/python/grpcio_tests/tests/fork/ |
D | methods.py | 79 self._values = [] 90 while not self._values and self._open: 92 if self._values: 93 return self._values.pop(0) 99 self._values.append(value)
|
/external/grpc-grpc/src/python/grpcio_tests/tests/interop/ |
D | methods.py | 198 self._values = [] 209 while not self._values and self._open: 211 if self._values: 212 return self._values.pop(0) 218 self._values.append(value)
|
/external/tensorflow/tensorflow/python/ops/ |
D | control_flow_ops.py | 1383 self._values = set() 1397 self._values = set( 1408 for op in self._values - set(self._external_values.keys()) 1453 [ops.strip_name_scope(v, export_scope) for v in sorted(self._values)]) 1460 self._values.add(name) 1586 self._values.add(pred.name) 1588 self._values.add(pivot.name) 1680 if val.name in self._values: 1687 self._values.add(val.name) 1690 self._values.add(result.name) [all …]
|
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/ |
D | ParserRuleReturnScope.as | 24 private var _values:Object = new Object(); // contains the return values 52 return _values;
|
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/tree/ |
D | TreeRuleReturnScope.as | 42 private var _values:Object = new Object(); // contains the return values 54 return _values;
|
/external/tensorflow/tensorflow/contrib/compiler/ |
D | xla.py | 237 context._values.update(output_names) 246 if val.name in self._values: 252 self._values.add(val.name) 255 self._values.add(result.name)
|
/external/tensorflow/tensorflow/contrib/checkpoint/python/ |
D | containers.py | 50 def _values(self): member in UniqueNameTracker
|