Home
last modified time | relevance | path

Searched refs:seqlen (Results 1 – 9 of 9) sorted by relevance

/third_party/eudev/src/shared/
Ddevice-nodes.c48 int seqlen; in encode_devnode_name() local
50 seqlen = utf8_encoded_valid_unichar(&str[i]); in encode_devnode_name()
51 if (seqlen > 1) { in encode_devnode_name()
53 if (len-j < (size_t)seqlen) in encode_devnode_name()
56 memcpy(&str_enc[j], &str[i], seqlen); in encode_devnode_name()
57 j += seqlen; in encode_devnode_name()
58 i += (seqlen-1); in encode_devnode_name()
/third_party/python/Objects/stringlib/
Djoin.h14 Py_ssize_t seqlen = 0; in STRINGLIB() local
30 seqlen = PySequence_Fast_GET_SIZE(seq); in STRINGLIB()
31 if (seqlen == 0) { in STRINGLIB()
36 if (seqlen == 1) { in STRINGLIB()
45 if (seqlen > NB_STATIC_BUFFERS) { in STRINGLIB()
46 buffers = PyMem_NEW(Py_buffer, seqlen); in STRINGLIB()
61 for (i = 0, nbufs = 0; i < seqlen; i++) { in STRINGLIB()
103 if (seqlen != PySequence_Fast_GET_SIZE(seq)) { in STRINGLIB()
/third_party/python/Lib/test/
Dtest_index.py117 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)
/third_party/lwip/src/apps/snmp/
Dsnmp_traps.c74 u16_t seqlen; member
362 trap->seqlen = tot_len; in snmp_trap_header_sum()
363 snmp_asn1_enc_length_cnt(trap->seqlen, &lenlen); in snmp_trap_header_sum()
398 SNMP_ASN1_SET_TLV_PARAMS(tlv, SNMP_ASN1_TYPE_SEQUENCE, 0, trap->seqlen); in snmp_trap_header_enc()
/third_party/openssl/crypto/asn1/
Dtasn_enc.c86 int i, seqcontlen, seqlen, ndef = 1; in ASN1_item_ex_i2d() local
185 seqlen = ASN1_object_size(ndef, seqcontlen, tag); in ASN1_item_ex_i2d()
186 if (!out || seqlen == -1) in ASN1_item_ex_i2d()
187 return seqlen; in ASN1_item_ex_i2d()
204 return seqlen; in ASN1_item_ex_i2d()
/third_party/python/Modules/
Dunicodename_db.h29465 int seqlen; member
Dunicodedata.c1413 named_sequences[index].seqlen); in unicodedata_UCD_lookup_impl()
/third_party/python/Include/cpython/
Dunicodeobject.h1004 Py_ssize_t seqlen
/third_party/python/Objects/
Dunicodeobject.c10370 Py_ssize_t seqlen; in PyUnicode_Join() local
10383 seqlen = PySequence_Fast_GET_SIZE(fseq); in PyUnicode_Join()
10384 res = _PyUnicode_JoinArray(separator, items, seqlen); in PyUnicode_Join()
10390 _PyUnicode_JoinArray(PyObject *separator, PyObject *const *items, Py_ssize_t seqlen) in _PyUnicode_JoinArray() argument
10405 if (seqlen == 0) { in _PyUnicode_JoinArray()
10411 if (seqlen == 1) { in _PyUnicode_JoinArray()
10461 for (i = 0; i < seqlen; i++) { in _PyUnicode_JoinArray()
10508 for (i = 0; i < seqlen; ++i) { in _PyUnicode_JoinArray()
10532 for (i = 0, res_offset = 0; i < seqlen; ++i) { in _PyUnicode_JoinArray()