Lines Matching refs:start

62 static u_char *nxt_var_next_part(u_char *start, u_char *end, nxt_str_t *part);
102 lhq.key_hash = nxt_djb_hash(name->start, name->length); in nxt_var_hash_find()
129 p = name->start; in nxt_var_decl_get()
142 str.start = name->start; in nxt_var_decl_get()
143 str.length = p - 1 - name->start; in nxt_var_decl_get()
148 str.start = p; in nxt_var_decl_get()
254 lhq.key.start = (u_char *) &index; in nxt_var_cache_value()
288 lhq.key_hash = nxt_djb_hash(lhq.key.start, lhq.key.length); in nxt_var_register()
343 p = str->start; in nxt_var_compile()
352 if (part.start != NULL) { in nxt_var_compile()
370 nxt_memcpy(src, str->start, str->length); in nxt_var_compile()
373 p = str->start; in nxt_var_compile()
378 if (part.start != NULL) { in nxt_var_compile()
386 subs[n].position = p - str->start; in nxt_var_compile()
405 p = str->start; in nxt_var_test()
413 "Invalid variable at position %uz%Z", p - str->start); in nxt_var_test()
418 if (part.start != NULL) { in nxt_var_test()
437 nxt_var_next_part(u_char *start, u_char *end, nxt_str_t *part) in nxt_var_next_part() argument
443 p = memchr(start, '$', end - start); in nxt_var_next_part()
445 if (p == start) { in nxt_var_next_part()
466 start = p; in nxt_var_next_part()
492 part->start = start; in nxt_var_next_part()
539 if (logging && value->start == NULL) { in nxt_var_interpreter()
550 str->start = p; in nxt_var_interpreter()
564 p = nxt_cpymem(p, part[i]->start, part[i]->length); in nxt_var_interpreter()
566 if (logging && part[i]->start == NULL) { in nxt_var_interpreter()