Lines Matching refs:index

23     uint32_t            index;  member
56 uint32_t *index);
62 uint32_t index);
118 nxt_var_decl_get(nxt_str_t *name, nxt_array_t *fields, uint32_t *index) in nxt_var_decl_get() argument
164 field = f->index; in nxt_var_decl_get()
173 if (index != NULL) { in nxt_var_decl_get()
174 *index = (decl->index << 16) | field; in nxt_var_decl_get()
205 field->index = fields->nelts - 1; in nxt_var_field_add()
212 nxt_var_field_get(nxt_array_t *fields, uint16_t index) in nxt_var_field_get() argument
220 if (nfields > 0 && index <= nfields) { in nxt_var_field_get()
221 return &field[index]; in nxt_var_field_get()
236 nxt_var_cache_value(nxt_task_t *task, nxt_var_query_t *query, uint32_t index) in nxt_var_cache_value() argument
253 lhq.key_hash = nxt_murmur_hash2_uint32(&index); in nxt_var_cache_value()
256 lhq.key.start = (u_char *) &index; in nxt_var_cache_value()
267 ret = nxt_var_index[index >> 16](task, value, query->ctx, in nxt_var_cache_value()
268 index & 0xffff); in nxt_var_cache_value()
310 nxt_var_handler_t *index; in nxt_var_index_init() local
313 index = nxt_memalign(64, nxt_var_count * sizeof(nxt_var_handler_t)); in nxt_var_index_init()
314 if (index == NULL) { in nxt_var_index_init()
322 decl->index = i; in nxt_var_index_init()
323 index[i] = decl->handler; in nxt_var_index_init()
326 nxt_var_index = index; in nxt_var_index_init()
338 uint32_t index; in nxt_var_compile() local
392 decl = nxt_var_decl_get(&part, fields, &index); in nxt_var_compile()
397 subs[n].index = index; in nxt_var_compile()
598 value = nxt_var_cache_value(task, query, subs[i].index); in nxt_var_query()