/external/protobuf/python/google/protobuf/internal/ |
D | containers.py | 204 self._values = [] 208 return self._values[key] 212 return len(self._values) 223 return repr(self._values) 231 self._values.sort(*args, **kwargs) 257 self._values.append(self._type_checker.CheckValue(value)) 263 self._values.insert(key, self._type_checker.CheckValue(value)) 283 self._values.extend(new_values) 290 self._values.extend(other._values) 295 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: 44 [repr(x) for x in self._values]) 49 return self is other and True or self._values == other 52 return self._values != other 55 return self._values < other 58 return self._values <= other 61 return self._values > other 64 return self._values >= other [all …]
|
/external/protobuf/objectivec/ |
D | GPBArray.m | 76 //% TYPE *_values; 108 //% return [self initWithValues:array->_values count:array->_count]; 115 //% _values = reallocf(_values, count * sizeof(TYPE)); 116 //% if (_values != NULL) { 118 //% memcpy(_values, values, count * sizeof(TYPE)); 140 //% return [[GPB##NAME##Array allocWithZone:zone] initWithValues:_values count:_count]; 147 //% return _values[index]; 163 //% free(_values); 176 //% && memcmp(_values, otherArray->_values, (_count * sizeof(TYPE))) == 0); 188 //% [result appendFormat:@"##FORMAT##", _values[i]]; [all …]
|
D | GPBDictionary.m | 907 //% VALUE_TYPE _values[2]; 939 //% if ((BOOL_DICT_W_HAS##HELPER(0, ) && (NEQ_##HELPER(_values[0], otherDictionary->_values[0]))) … 940 //% (BOOL_DICT_W_HAS##HELPER(1, ) && (NEQ_##HELPER(_values[1], otherDictionary->_values[1]))))… 953 //% [result appendFormat:@"NO: STR_FORMAT_##HELPER(VALUE_NAME)", _values[0]]; 956 //% [result appendFormat:@"YES: STR_FORMAT_##HELPER(VALUE_NAME)", _values[1]]; 972 //% block(@"false", TEXT_FORMAT_OBJ##VALUE_NAME(_values[0])); 975 //% block(@"true", TEXT_FORMAT_OBJ##VALUE_NAME(_values[1])); 983 //% block(NO, _values[0], &stop); 986 //% block(YES, _values[1], &stop); 998 //% msgSize += ComputeDict##VALUE_NAME##FieldSize(_values[i], kMapValueFieldNumber, valueDataT… [all …]
|
/external/tensorflow/tensorflow/python/ops/ragged/ |
D | ragged_tensor_value.py | 52 self._values = values 59 lambda self: self._values, 62 lambda self: self._values.dtype, 86 values_is_ragged = isinstance(self._values, RaggedTensorValue) 87 return self._values.ragged_rank + 1 if values_is_ragged else 1 92 return (self._row_splits.shape[0] - 1,) + (None,) + self._values.shape[1:] 98 return "tf.RaggedTensorValue(values=%r, row_splits=%r)" % (self._values, 103 if isinstance(self._values, RaggedTensorValue): 104 values_as_list = self._values.to_list() 106 values_as_list = self._values.tolist()
|
/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/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ |
D | InjectableValues.java | 46 protected final Map<String,Object> _values; field in InjectableValues.Std 53 _values = values; in Std() 57 _values.put(key, value); in addValue() 62 _values.put(classKey.getName(), value); in addValue() 77 Object ob = _values.get(key); in findInjectableValue() 78 if (ob == null && !_values.containsKey(key)) { in findInjectableValue()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/ |
D | TestSetterlessProperties.java | 20 List<String> _values = new ArrayList<String>(); field in TestSetterlessProperties.CollectionBean 22 public List<String> getValues() { return _values; } in getValues() 27 Map<String,Integer> _values = new HashMap<String,Integer>(); field in TestSetterlessProperties.MapBean 29 public Map<String,Integer> getValues() { return _values; } in getValues() 55 List<String> l = result._values; in testSimpleSetterlessCollectionOk() 94 Map<String,Integer> m = result._values; in testSimpleSetterlessMapOk()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/ |
D | EnumSerializer.java | 39 protected final EnumValues _values; field in EnumSerializer 59 _values = v; in EnumSerializer() 98 return new EnumSerializer(_values, serializeAsIndex); in createContextual() 110 public EnumValues getEnumValues() { return _values; } in getEnumValues() 131 gen.writeString(_values.serializedValueFor(en)); in serialize() 151 for (SerializableString value : _values.values()) { in getSchema() 175 for (Enum<?> e : _values.enums()) { in acceptJsonFormatVisitor() 180 for (SerializableString value : _values.values()) { in acceptJsonFormatVisitor()
|
/external/python/cpython3/Lib/test/libregrtest/ |
D | win_utils.py | 37 self._values = [] 185 elif len(self._values) < NVALUE: 186 self._values.append(processor_queue_length) 188 self._load = sum(self._values) / len(self._values)
|
/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/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/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/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/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/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/ |
D | EnumValues.java | 20 private final Enum<?>[] _values; field in EnumValues 28 _values = enumClass.getEnumConstants(); in EnumValues() 113 return Arrays.asList(_values); in enums() 125 for (Enum<?> en : _values) { in internalMap()
|
/external/tensorflow/tensorflow/python/framework/ |
D | indexed_slices.py | 103 self._values = values 110 return self._values 157 return self._values.graph 161 self._indices, self._values, 170 indices_shape = self._indices.shape.merge_with(self._values.shape[:1]) 172 self._values.shape[1:])
|
D | sparse_tensor.py | 140 self._values = values 179 return self._values 209 return self._values.op 214 return self._values.dtype 237 self._indices, self._values, self._dense_shape)
|
/external/python/pybind11/tests/ |
D | constructor_stats.h | 76 std::list<std::string> _values; // Used to track values (e.g. of value constructors) variable 141 _values.push_back(oss.str()); in value() 148 for (const auto &v : _values) l.append(py::cast(v)); in values() 149 _values.clear(); in values() 190 …default_constructions + cs1.copy_constructions + cs1.move_constructions + (int) cs1._values.size(); in get() 191 …default_constructions + cs2.copy_constructions + cs2.move_constructions + (int) cs2._values.size(); in get()
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | generic_utils.py | 806 self._values = {} 840 if k not in self._values: 841 self._values[k] = [v * value_base, value_base] 843 self._values[k][0] += v * value_base 844 self._values[k][1] += value_base 849 self._values[k] = [v, 1] 907 if isinstance(self._values[k], list): 908 avg = np.mean(self._values[k][0] / max(1, self._values[k][1])) 914 info += ' %s' % self._values[k] 933 avg = np.mean(self._values[k][0] / max(1, self._values[k][1]))
|
/external/webrtc/sdk/objc/api/peerconnection/ |
D | RTCLegacyStatsReport.mm | 23 @synthesize values = _values; 30 _values]; 55 _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/tensorflow/tensorflow/python/distribute/ |
D | values.py | 146 self._values = tuple(values) 154 return self._values[replica_id] 167 for value in self._values: 172 return self._values[replica_id] 177 return self._values[0] 181 return tuple(v.device for v in self._values) 185 " %d: %s" % (i, v) for i, v in enumerate(self._values)) 190 " %d: %r" % (i, v) for i, v in enumerate(self._values)) 235 return self._values 368 *(type_spec.type_spec_from_value(v) for v in self._values)) [all …]
|
D | test_util.py | 61 return array_ops.stack(value._values) 62 assert len(strategy.extended.worker_devices) == len(value._values) 63 inputs = [array_ops.expand_dims_v2(v, axis=0) for v in value._values]
|
/external/tensorflow/tensorflow/python/distribute/coordinator/ |
D | cluster_coordinator.py | 178 self._values = None 186 self._values = None 199 self._values = tensors 205 self._values = None 211 return self._values 228 lambda x: x.numpy() if hasattr(x, "numpy") else x, self._values) 309 self._values = tuple(values) 316 …return x._values[worker_id] if isinstance(x, PerWorkerValues) else x # pylint: disable=protected-… 1350 for iterator_remote_value in per_worker_iterator._values: 1354 return _PerWorkerDistributedIterator(per_worker_iterator._values)
|