Lines Matching refs:stem_len
46 int stem_len = get_stem_from_file_name(key); in find_stem_from_file() local
48 if (!stem_len) in find_stem_from_file()
51 if (stem_len == data->stem_arr[i].len in find_stem_from_file()
52 && !strncmp(key, data->stem_arr[i].buf, stem_len)) { in find_stem_from_file()
247 uint32_t stem_len; in load_mmap() local
251 rc = next_entry(&stem_len, mmap_area, sizeof(uint32_t)); in load_mmap()
252 if (rc < 0 || !stem_len) { in load_mmap()
258 if (stem_len < UINT32_MAX) { in load_mmap()
261 rc = next_entry(NULL, mmap_area, (stem_len + 1)); in load_mmap()
265 if (buf[stem_len] != '\0') { in load_mmap()
275 newid = find_stem(data, buf, stem_len); in load_mmap()
277 newid = store_stem(data, buf, stem_len); in load_mmap()