Home
last modified time | relevance | path

Searched refs:itemlen (Results 1 - 3 of 3) sorted by relevance

/third_party/python/Objects/stringlib/
H A Djoin.h62 Py_ssize_t itemlen; in bytes_join() local
88 itemlen = buffers[i].len; in bytes_join()
89 if (itemlen > PY_SSIZE_T_MAX - sz) { in bytes_join()
94 sz += itemlen; in bytes_join()
/third_party/alsa-utils/alsamixer/
H A Dconfigparser.c24 static int strlist_index(const char *haystack, unsigned int itemlen, const char *needle) { in strlist_index() argument
30 if (needle_len <= itemlen && needle[needle_len - 1] != ' ') { in strlist_index()
34 if (pos % itemlen == 0 && (needle_len == itemlen || haystack[pos+needle_len] == ' ')) in strlist_index()
35 return pos / itemlen; in strlist_index()
155 static unsigned int parse_words(const char *name, const char* wordlist, unsigned int itemlen, unsigned int *number) { in parse_words() argument
183 else if ((i = strlist_index(wordlist, itemlen, buf)) >= 0) in parse_words()
/third_party/python/Objects/
H A Dunicodeobject.c10182 Py_ssize_t itemlen; in _PyUnicode_JoinArray() local
10193 itemlen = PyUnicode_GET_LENGTH(item); in _PyUnicode_JoinArray()
10194 if (itemlen != 0) { in _PyUnicode_JoinArray()
10197 kind * itemlen); in _PyUnicode_JoinArray()
10198 res_data += kind * itemlen; in _PyUnicode_JoinArray()
10206 Py_ssize_t itemlen; in _PyUnicode_JoinArray() local
10215 itemlen = PyUnicode_GET_LENGTH(item); in _PyUnicode_JoinArray()
10216 if (itemlen != 0) { in _PyUnicode_JoinArray()
10217 _PyUnicode_FastCopyCharacters(res, res_offset, item, 0, itemlen); in _PyUnicode_JoinArray()
10218 res_offset += itemlen; in _PyUnicode_JoinArray()
[all...]

Completed in 17 milliseconds