Lines Matching defs:count
63 static size_t scpdata_length(const u8 *buf, size_t count)
65 while (count) {
66 if (buf[count - 1] != '\0' && buf[count - 1] != ' ')
68 count--;
70 return count;
79 size_t count = 0;
95 count = min(size - 1, scpdata_length(scp_data, scp_data_len));
96 if (!count)
100 for (i = 0; i < count; i++) {
102 count = 0;
110 memcpy(dest, scp_data, count);
112 for (i = 0; i < count; i++)
115 dest[count] = '\0';
116 return count;