/external/python/cpython3/Objects/stringlib/ |
D | join.h | 14 Py_ssize_t seqlen = 0; in STRINGLIB() local 27 seqlen = PySequence_Fast_GET_SIZE(seq); in STRINGLIB() 28 if (seqlen == 0) { in STRINGLIB() 33 if (seqlen == 1) { in STRINGLIB() 42 if (seqlen > NB_STATIC_BUFFERS) { in STRINGLIB() 43 buffers = PyMem_NEW(Py_buffer, seqlen); in STRINGLIB() 58 for (i = 0, nbufs = 0; i < seqlen; i++) { in STRINGLIB() 91 if (seqlen != PySequence_Fast_GET_SIZE(seq)) { in STRINGLIB()
|
/external/tensorflow/tensorflow/contrib/recurrent/python/kernel_tests/ |
D | recurrent_test.py | 139 for seqlen, use_grad in [(1, False), (1, True), (7, False), (7, True)]: 140 logging.info('== Elman: seqlen=%s, use_grad=%s', seqlen, use_grad) 141 self._ParameterizedTestElman(seqlen, use_grad) 143 def _ParameterizedTestElman(self, seqlen, use_grad): argument 153 inputs = _ElmanInputs(x=RecurrentTest.Rand([seqlen, batch, dims])) 158 for i in xrange(seqlen):
|
/external/python/cpython2/Lib/test/ |
D | test_index.py | 95 seqlen = len(self.seq) 96 self.o.ind = int(seqlen * 1.5) 97 self.n.ind = seqlen + 2 107 seqlen = len(self.seq) 108 self.o2.ind = -seqlen - 2 109 self.n2.ind = -int(seqlen * 1.5)
|
/external/python/cpython3/Lib/test/ |
D | test_index.py | 117 seqlen = len(self.seq) 118 self.o.ind = int(seqlen * 1.5) 119 self.n.ind = seqlen + 2 124 self.o2.ind = -seqlen - 2 125 self.n2.ind = -int(seqlen * 1.5)
|
/external/boringssl/src/crypto/asn1/ |
D | tasn_enc.c | 132 int i, seqcontlen, seqlen, ndef = 1; in ASN1_item_ex_i2d() local 231 seqlen = ASN1_object_size(ndef, seqcontlen, tag); in ASN1_item_ex_i2d() 232 if (!out || seqlen == -1) in ASN1_item_ex_i2d() 233 return seqlen; in ASN1_item_ex_i2d() 250 return seqlen; in ASN1_item_ex_i2d()
|
/external/libvterm/src/ |
D | input.c | 18 int seqlen = fill_utf8(c, str); in vterm_input_push_char() local 19 vterm_push_output_bytes(vt, str, seqlen); in vterm_input_push_char()
|
D | keyboard.c | 18 int seqlen = fill_utf8(c, str); in vterm_keyboard_unichar() local 19 vterm_push_output_bytes(vt, str, seqlen); in vterm_keyboard_unichar()
|
/external/python/cpython3/Modules/ |
D | unicodename_db.h | 27928 int seqlen; member
|
D | unicodedata.c | 1255 named_sequences[index].seqlen); in unicodedata_UCD_lookup_impl()
|
/external/python/cpython2/Modules/ |
D | stropmodule.c | 171 Py_ssize_t seqlen, seplen = 0; in strop_joinfields() local 185 seqlen = PySequence_Size(seq); in strop_joinfields() 186 if (seqlen < 0 && PyErr_Occurred()) in strop_joinfields() 189 if (seqlen == 1) { in strop_joinfields() 210 for (i = 0; i < seqlen; i++) { in strop_joinfields() 253 for (i = 0; i < seqlen; i++) { in strop_joinfields()
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | rnn_test.py | 1041 def rnn_long_sequence_benchmark(batch_size, seqlen, num_units, dynamic, argument 1048 sequence_length = [seqlen for _ in range(batch_size)] 1051 for _ in range(seqlen) 1074 print("%d \t %d \t %d \t %s \t %f \t %f" % (batch_size, seqlen, num_units, 1076 elapsed / seqlen)) 1193 seqlen = 800 1199 rnn_long_sequence_benchmark(batch_size, seqlen, num_units,
|
/external/python/cpython2/Objects/ |
D | stringobject.c | 1599 Py_ssize_t seqlen = 0; in string_join() local 1609 seqlen = PySequence_Size(seq); in string_join() 1610 if (seqlen == 0) { in string_join() 1614 if (seqlen == 1) { in string_join() 1629 for (i = 0; i < seqlen; i++) { in string_join() 1673 for (i = 0; i < seqlen; ++i) { in string_join() 1679 if (i < seqlen - 1) { in string_join()
|
D | unicodeobject.c | 5655 Py_ssize_t seqlen; /* len(fseq) -- number of items in sequence */ in PyUnicode_Join() local 5671 seqlen = PySequence_Fast_GET_SIZE(fseq); in PyUnicode_Join() 5673 if (seqlen == 0) { in PyUnicode_Join() 5678 if (seqlen == 1) { in PyUnicode_Join() 5688 if (seqlen > 1) { in PyUnicode_Join() 5701 seqlen = PySequence_Fast_GET_SIZE(fseq); in PyUnicode_Join() 5712 for (i = 0; i < seqlen; ++i) { in PyUnicode_Join() 5731 seqlen = PySequence_Fast_GET_SIZE(fseq); in PyUnicode_Join() 5738 if (i < seqlen - 1) { in PyUnicode_Join() 5760 if (i < seqlen - 1) { in PyUnicode_Join()
|
/external/python/cpython3/Include/ |
D | unicodeobject.h | 1983 Py_ssize_t seqlen
|
/external/python/cpython3/Objects/ |
D | unicodeobject.c | 9897 Py_ssize_t seqlen; in PyUnicode_Join() local 9910 seqlen = PySequence_Fast_GET_SIZE(fseq); in PyUnicode_Join() 9911 res = _PyUnicode_JoinArray(separator, items, seqlen); in PyUnicode_Join() 9917 _PyUnicode_JoinArray(PyObject *separator, PyObject *const *items, Py_ssize_t seqlen) in _PyUnicode_JoinArray() argument 9932 if (seqlen == 0) { in _PyUnicode_JoinArray() 9938 if (seqlen == 1) { in _PyUnicode_JoinArray() 9988 for (i = 0; i < seqlen; i++) { in _PyUnicode_JoinArray() 10035 for (i = 0; i < seqlen; ++i) { in _PyUnicode_JoinArray() 10059 for (i = 0, res_offset = 0; i < seqlen; ++i) { in _PyUnicode_JoinArray()
|