Lines Matching refs:index

88     uint32_t                  index;  member
269 const nxt_conf_value_t *value, uint32_t index) in nxt_conf_set_member() argument
273 member = &object->u.object->members[index]; in nxt_conf_set_member()
283 nxt_str_t *value, uint32_t index) in nxt_conf_set_member_string() argument
287 member = &object->u.object->members[index]; in nxt_conf_set_member_string()
297 nxt_str_t *name, nxt_str_t *value, uint32_t index) in nxt_conf_set_member_string_dup() argument
301 member = &object->u.object->members[index]; in nxt_conf_set_member_string_dup()
311 int64_t value, uint32_t index) in nxt_conf_set_member_integer() argument
316 member = &object->u.object->members[index]; in nxt_conf_set_member_integer()
332 uint32_t index) in nxt_conf_set_member_null() argument
336 member = &object->u.object->members[index]; in nxt_conf_set_member_null()
369 nxt_conf_set_element(nxt_conf_value_t *array, nxt_uint_t index, in nxt_conf_set_element() argument
372 array->u.array->elements[index] = *value; in nxt_conf_set_element()
378 nxt_uint_t index, nxt_str_t *value) in nxt_conf_set_element_string_dup() argument
382 element = &array->u.array->elements[index]; in nxt_conf_set_element_string_dup()
440 nxt_int_t ret, index; in nxt_conf_get_path() local
469 index = nxt_int_parse(token.start, token.length); in nxt_conf_get_path()
471 if (index < 0 || index > NXT_INT32_T_MAX) { in nxt_conf_get_path()
475 value = nxt_conf_get_array_element(value, index); in nxt_conf_get_path()
529 uint32_t *index) in nxt_conf_get_object_member() argument
549 if (index != NULL) { in nxt_conf_get_object_member()
550 *index = n; in nxt_conf_get_object_member()
742 nxt_conf_get_array_element(nxt_conf_value_t *value, uint32_t index) in nxt_conf_get_array_element() argument
752 if (index >= array->count) { in nxt_conf_get_array_element()
756 return &array->elements[index]; in nxt_conf_get_array_element()
761 nxt_conf_get_array_element_or_itself(nxt_conf_value_t *value, uint32_t index) in nxt_conf_get_array_element_or_itself() argument
766 return (index == 0) ? value : NULL; in nxt_conf_get_array_element_or_itself()
771 if (index >= array->count) { in nxt_conf_get_array_element_or_itself()
775 return &array->elements[index]; in nxt_conf_get_array_element_or_itself()
800 nxt_int_t ret, index; in nxt_conf_op_compile() local
829 node = nxt_conf_get_object_member(root, &token, &op->index); in nxt_conf_op_compile()
833 index = nxt_int_parse(token.start, token.length); in nxt_conf_op_compile()
835 if (index < 0 || index > NXT_INT32_T_MAX) { in nxt_conf_op_compile()
839 op->index = index; in nxt_conf_op_compile()
841 node = nxt_conf_get_array_element(root, index); in nxt_conf_op_compile()
889 op->index = node->u.array->count; in nxt_conf_op_compile()
906 if (op->index > root->u.array->count) { in nxt_conf_op_compile()
925 op->index = root->u.object->count; in nxt_conf_op_compile()
1003 nxt_uint_t s, d, count, index; in nxt_conf_copy_array() local
1036 index = 0; in nxt_conf_copy_array()
1040 index = (op == NULL) ? src->u.array->count : op->index; in nxt_conf_copy_array()
1043 while (s != index) { in nxt_conf_copy_array()
1063 index++; in nxt_conf_copy_array()
1103 nxt_uint_t s, d, count, index; in nxt_conf_copy_object() local
1138 index = 0; in nxt_conf_copy_object()
1142 index = (op == NULL) ? src->u.object->count : op->index; in nxt_conf_copy_object()
1145 while (s != index) { in nxt_conf_copy_object()
1175 index++; in nxt_conf_copy_object()