/external/tensorflow/tensorflow/python/util/ |
D | util.cc | 221 static auto* const check_cache = new CachedTypeCheck([](PyObject* to_check) { in IsMappingHelper() argument 232 return PyObject_IsInstance(to_check, collections_mapping_type); in IsMappingHelper() 241 static auto* const check_cache = new CachedTypeCheck([](PyObject* to_check) { in IsAttrsHelper() argument 242 Safe_PyObjectPtr cls(PyObject_GetAttrString(to_check, "__class__")); in IsAttrsHelper() 258 static auto* const check_cache = new CachedTypeCheck([](PyObject* to_check) { in IsIndexedSlicesHelper() argument 269 return PyObject_IsInstance(to_check, indexed_slices_type); in IsIndexedSlicesHelper() 278 static auto* const check_cache = new CachedTypeCheck([](PyObject* to_check) { in IsTensorHelper() argument 289 return PyObject_IsInstance(to_check, tensor_type); in IsTensorHelper() 307 static auto* const check_cache = new CachedTypeCheck([](PyObject* to_check) { in IsSequenceHelper() argument 318 int is_instance = PyObject_IsInstance(to_check, collections_sequence_type); in IsSequenceHelper() [all …]
|
/external/dynamic_depth/internal/xmpmeta/ |
D | jpeg_io.cc | 70 bool HasPrefixString(const string& to_check, const string& prefix) { in HasPrefixString() argument 71 if (to_check.size() < prefix.size()) { in HasPrefixString() 74 return std::equal(prefix.begin(), prefix.end(), to_check.begin()); in HasPrefixString()
|
/external/boringssl/src/crypto/cipher_extra/ |
D | tls_cbc.c | 96 size_t to_check = 256; // maximum amount of padding, inc length byte. in EVP_tls_cbc_remove_padding() local 97 if (to_check > in_len) { in EVP_tls_cbc_remove_padding() 98 to_check = in_len; in EVP_tls_cbc_remove_padding() 101 for (size_t i = 0; i < to_check; i++) { in EVP_tls_cbc_remove_padding()
|
/external/tensorflow/tensorflow/python/eager/ |
D | function.py | 86 def _shape_less_specific_than(relaxed, to_check): argument 101 if to_check.dims is not None and relaxed.dims is not None: 102 if to_check.rank != relaxed.rank: 104 for check_dim, relaxed_dim in zip(to_check.dims, relaxed.dims): 135 def is_compatible(relaxed, to_check): argument 152 if relaxed is None != to_check is None: 156 % (flat_relaxed, flat_to_check, relaxed, to_check)) 157 return relaxed is None or _shape_less_specific_than(relaxed, to_check) 158 return all(is_compatible(relaxed, to_check) 159 for relaxed, to_check in zip(flat_relaxed, flat_to_check))
|
/external/tensorflow/tensorflow/python/ops/ |
D | nn_batchnorm_test.py | 247 to_check = ["dx", "dm", "dv", "db", "dg"] 250 to_check = ["dx", "dm", "dv", "db"] 251 for i, _ in enumerate(to_check): 253 all_grads[i + len(to_check)], all_grads[i], atol=0.000001)
|
/external/v8/src/ |
D | objects.cc | 11644 static inline bool Equals(State* state_1, State* state_2, int to_check) { in Equals() argument 11647 return RawStringComparator<Chars1, Chars2>::compare(a, b, to_check); in Equals() 11655 int to_check = Min(state_1_.length_, state_2_.length_); in Equals() local 11656 DCHECK(to_check > 0 && to_check <= length); in Equals() 11660 is_equal = Equals<uint8_t, uint8_t>(&state_1_, &state_2_, to_check); in Equals() 11662 is_equal = Equals<uint8_t, uint16_t>(&state_1_, &state_2_, to_check); in Equals() 11666 is_equal = Equals<uint16_t, uint8_t>(&state_1_, &state_2_, to_check); in Equals() 11668 is_equal = Equals<uint16_t, uint16_t>(&state_1_, &state_2_, to_check); in Equals() 11673 length -= to_check; in Equals() 11676 state_1_.Advance(to_check); in Equals() [all …]
|
/external/v8/src/heap/ |
D | heap.cc | 2865 explicit LeftTrimmerVerifierRootVisitor(FixedArrayBase* to_check) in LeftTrimmerVerifierRootVisitor() argument 2866 : to_check_(to_check) {} in LeftTrimmerVerifierRootVisitor()
|