Home
last modified time | relevance | path

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

/third_party/alsa-utils/alsamixer/
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, unsig… in parse_words() argument
183 else if ((i = strlist_index(wordlist, itemlen, buf)) >= 0) in parse_words()
/third_party/python/Objects/stringlib/
Djoin.h62 Py_ssize_t itemlen; in STRINGLIB() local
88 itemlen = buffers[i].len; in STRINGLIB()
89 if (itemlen > PY_SSIZE_T_MAX - sz) { in STRINGLIB()
94 sz += itemlen; in STRINGLIB()
/third_party/python/Objects/
Dunicodeobject.c10509 Py_ssize_t itemlen; in _PyUnicode_JoinArray() local
10520 itemlen = PyUnicode_GET_LENGTH(item); in _PyUnicode_JoinArray()
10521 if (itemlen != 0) { in _PyUnicode_JoinArray()
10524 kind * itemlen); in _PyUnicode_JoinArray()
10525 res_data += kind * itemlen; in _PyUnicode_JoinArray()
10533 Py_ssize_t itemlen; in _PyUnicode_JoinArray() local
10542 itemlen = PyUnicode_GET_LENGTH(item); in _PyUnicode_JoinArray()
10543 if (itemlen != 0) { in _PyUnicode_JoinArray()
10544 _PyUnicode_FastCopyCharacters(res, res_offset, item, 0, itemlen); in _PyUnicode_JoinArray()
10545 res_offset += itemlen; in _PyUnicode_JoinArray()