Home
last modified time | relevance | path

Searched refs:_values (Results 1 – 25 of 85) sorted by relevance

1234

/external/cronet/third_party/protobuf/python/google/protobuf/internal/
Dcontainers.py81 self._values = []
93 return self._values[key]
97 return len(self._values)
107 return repr(self._values)
115 self._values.sort(*args, **kwargs)
118 self._values.reverse()
150 self._values.append(self._type_checker.CheckValue(value))
156 self._values.insert(key, self._type_checker.CheckValue(value))
175 self._values.extend(new_values)
185 self._values.extend(other)
[all …]
/external/protobuf/python/google/protobuf/internal/
Dcontainers.py81 self._values = []
93 return self._values[key]
97 return len(self._values)
107 return repr(self._values)
115 self._values.sort(*args, **kwargs)
118 self._values.reverse()
150 self._values.append(self._type_checker.CheckValue(value))
156 self._values.insert(key, self._type_checker.CheckValue(value))
175 self._values.extend(new_values)
185 self._values.extend(other)
[all …]
/external/python/pyasn1/pyasn1/type/
Dconstraint.py25 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/cronet/third_party/protobuf/objectivec/
DGPBArray.m76 //% 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 …]
DGPBDictionary.m909 //% VALUE_TYPE _values[2];
941 //% if ((BOOL_DICT_W_HAS##HELPER(0, ) && (NEQ_##HELPER(_values[0], otherDictionary->_values[0]))) …
942 //% (BOOL_DICT_W_HAS##HELPER(1, ) && (NEQ_##HELPER(_values[1], otherDictionary->_values[1]))))…
955 //% [result appendFormat:@"NO: STR_FORMAT_##HELPER(VALUE_NAME)", _values[0]];
958 //% [result appendFormat:@"YES: STR_FORMAT_##HELPER(VALUE_NAME)", _values[1]];
974 //% block(@"false", TEXT_FORMAT_OBJ##VALUE_NAME(_values[0]));
977 //% block(@"true", TEXT_FORMAT_OBJ##VALUE_NAME(_values[1]));
985 //% block(NO, _values[0], &stop);
988 //% block(YES, _values[1], &stop);
1000 //% msgSize += ComputeDict##VALUE_NAME##FieldSize(_values[i], kMapValueFieldNumber, valueDataT…
[all …]
/external/protobuf/objectivec/
DGPBArray.m76 //% 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 …]
DGPBDictionary.m909 //% VALUE_TYPE _values[2];
941 //% if ((BOOL_DICT_W_HAS##HELPER(0, ) && (NEQ_##HELPER(_values[0], otherDictionary->_values[0]))) …
942 //% (BOOL_DICT_W_HAS##HELPER(1, ) && (NEQ_##HELPER(_values[1], otherDictionary->_values[1]))))…
955 //% [result appendFormat:@"NO: STR_FORMAT_##HELPER(VALUE_NAME)", _values[0]];
958 //% [result appendFormat:@"YES: STR_FORMAT_##HELPER(VALUE_NAME)", _values[1]];
974 //% block(@"false", TEXT_FORMAT_OBJ##VALUE_NAME(_values[0]));
977 //% block(@"true", TEXT_FORMAT_OBJ##VALUE_NAME(_values[1]));
985 //% block(NO, _values[0], &stop);
988 //% block(YES, _values[1], &stop);
1000 //% msgSize += ComputeDict##VALUE_NAME##FieldSize(_values[i], kMapValueFieldNumber, valueDataT…
[all …]
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_tensor_value.py51 self._values = values
58 lambda self: self._values,
61 lambda self: self._values.dtype,
85 values_is_ragged = isinstance(self._values, RaggedTensorValue)
86 return self._values.ragged_rank + 1 if values_is_ragged else 1
91 return (self._row_splits.shape[0] - 1,) + (None,) + self._values.shape[1:]
102 return "tf.RaggedTensorValue(values=%r, row_splits=%r)" % (self._values,
107 if isinstance(self._values, RaggedTensorValue):
108 values_as_list = self._values.to_list()
110 values_as_list = self._values.tolist()
/external/grpc-grpc/src/python/grpcio/grpc/framework/foundation/
Dstream_util.py48 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/bazel-skylib/lib/
Dnew_sets.bzl43 return struct(_values = {e: None for e in elements})
54 return struct(_values = dict(s._values))
65 return s._values.keys()
79 s._values[e] = None
94 s._values.pop(e)
107 return e in a._values
133 return a._values == b._values
145 for e in a._values.keys():
146 if e not in b._values:
163 for e in shorter._values.keys():
[all …]
/external/autotest/utils/frozen_chromite/third_party/infra_libs/ts_mon/common/
Dmetric_store.py133 self._values = collections.defaultdict(dict)
141 return self._values[key]
151 for target_fields, fields_values in self._values.items():
161 ret._values = copy.deepcopy(self._values, memo_dict)
171 self._values = {}
175 if name not in self._values:
178 return self._values[name]
192 values = copy.deepcopy(self._values)
228 for name in self._values.keys():
232 self._values[name] = _TargetFieldsValues(self._start_time(name))
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DInjectableValues.java46 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/protobuf/python/google/protobuf/
Dunknown_fields.py84 self._values.append(unknown_field)
86 self._values = []
108 size = len(self._values)
114 return self._values[index]
117 return len(self._values)
120 return iter(self._values)
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/
DTestSetterlessProperties.java20 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/tensorflow/tensorflow/python/distribute/coordinator/
Dvalues.py168 self._values = None
178 self._values = None
191 self._values = tensors
197 self._values = None
203 return self._values
242 if self._values is not None:
245 self._fetched_tensors = nest.map_structure(copy_tensor, self._values)
275 self._values = tuple(values)
280 self._values[0]._type_spec, # pylint: disable=protected-access
362 for iterator_remote_value in per_worker_iterator._values:
[all …]
/external/fonttools/Lib/fontTools/misc/
DconfigTools.py222 _values: Dict[str, Any]
230 self._values = {}
231 values_dict = values._values if isinstance(values, AbstractConfig) else values
294 self._values[option.name] = value
322 if option.name in self._values:
323 return self._values[option.name]
329 return self.__class__(self._values)
339 del self._values[option.name]
342 return self._values.__iter__()
345 return len(self._values)
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DEnumSerializer.java39 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/ComputeLibrary/arm_compute/runtime/
DArray.h41 : IArray<T>(0), _values(nullptr) in Array()
49 : IArray<T>(max_num_values), _values(std::make_unique<T[]>(max_num_values)) in Array()
56 return _values.get(); in buffer()
60 std::unique_ptr<T[]> _values;
/external/ComputeLibrary/utils/command_line/
DEnumListOption.h70 std::vector<T> _values{};
82 …: Option{ std::move(name), false, true }, _values{ std::forward<std::initializer_list<T>>(default_… in EnumListOption()
90 _values.clear(); in parse()
113 _values.emplace_back(typed_value); in parse()
146 return _values; in value()
DListOption.h63 std::vector<T> _values{};
68 …: Option{ std::move(name), false, true }, _values{ std::forward<std::initializer_list<T>>(default_… in ListOption()
91 _values.emplace_back(typed_value); in parse()
114 return _values; in value()
/external/python/cpython3/Lib/test/libregrtest/
Dwin_utils.py37 self._values = []
187 elif len(self._values) < NVALUE:
188 self._values.append(processor_queue_length)
190 self._load = sum(self._values) / len(self._values)
/external/tensorflow/tensorflow/python/kernel_tests/math_ops/
Dsets_test.py38 def _values(values, dtype): function
45 return constant_op.constant(_values(values, dtype), dtype=dtype)
176 expected_values = _values([1, 9], dtype)
213 expected_values = _values([1, 9], dtype)
238 expected_values = _values([1], dtype)
382 expected_values = _values(
556 expected_values = _values([1, 5, 9, 3, 4, 5, 1, 5], dtype)
587 expected_values = _values([2, 1, 2], dtype)
624 expected_values = _values([5, 9, 3, 4, 5], dtype)
642 expected_values = _values([2, 6, 1, 2], dtype)
[all …]
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/
D_channel_close_test.py58 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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTextTrieMap.java239 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/
DTextTrieMap.java248 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;

1234