Lines Matching defs:stem_len
47 int stem_len = get_stem_from_file_name(*buf);
49 if (!stem_len)
52 if (stem_len == data->stem_arr[i].len
53 && !strncmp(*buf, data->stem_arr[i].buf, stem_len)) {
54 *buf += stem_len;
221 uint32_t stem_len;
225 rc = next_entry(&stem_len, mmap_area, sizeof(uint32_t));
226 if (rc < 0 || !stem_len) {
231 /* Check for stem_len wrap around. */
232 if (stem_len < UINT32_MAX) {
235 rc = next_entry(NULL, mmap_area, (stem_len + 1));
239 if (buf[stem_len] != '\0') {
249 newid = find_stem(data, buf, stem_len);
251 newid = store_stem(data, buf, stem_len);