Searched refs:hash_pos (Results 1 – 7 of 7) sorted by relevance
81 size_t hash_pos = 0; in get_hash_pos() local85 hash_pos += (size_t)spelling_str[pos]; in get_hash_pos()88 hash_pos = hash_pos % spelling_max_num_; in get_hash_pos()89 return hash_pos; in get_hash_pos()92 size_t SpellingTable::hash_pos_next(size_t hash_pos) { in hash_pos_next() argument93 hash_pos += 123; in hash_pos_next()94 hash_pos = hash_pos % spelling_max_num_; in hash_pos_next()95 return hash_pos; in hash_pos_next()149 size_t hash_pos = get_hash_pos(spelling_str); in put_spelling() local151 raw_spellings_[hash_pos].str[spelling_size_ - 1] = '\0'; in put_spelling()[all …]
54 int hash_pos; in affs_readdir() local69 hash_pos = (ctx->pos - 2) >> 16; in affs_readdir()73 hash_pos++; in affs_readdir()74 ctx->pos = ((hash_pos << 16) | chain_pos) + 2; in affs_readdir()89 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]); in affs_readdir()103 hash_pos++; in affs_readdir()105 for (; hash_pos < AFFS_SB(sb)->s_hashsize; hash_pos++) { in affs_readdir()106 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]); in affs_readdir()109 ctx->pos = (hash_pos << 16) + 2; in affs_readdir()123 namelen, name, ino, hash_pos, ctx->pos); in affs_readdir()
49 const size_type hash_pos = in resize_imp_no_exceptions_reassign_pointer() local53 p_e->m_p_next = a_p_entries_resized[hash_pos]; in resize_imp_no_exceptions_reassign_pointer()54 a_p_entries_resized[hash_pos] = p_e; in resize_imp_no_exceptions_reassign_pointer()
220 char *hash_pos = strchr(name, '#'); in get_sensor_index_attr() local226 if (!hash_pos) in get_sensor_index_attr()229 dash_pos = strchr(hash_pos, '-'); in get_sensor_index_attr()233 copy_len = dash_pos - hash_pos - 1; in get_sensor_index_attr()237 strncpy(buf, hash_pos + 1, copy_len); in get_sensor_index_attr()
67 size_t hash_pos_next(size_t hash_pos);