Lines Matching refs:length

1739 int length = -1;  in find_fixedlength()  local
1784 if (length < 0) length = branchlength; in find_fixedlength()
1785 else if (length != branchlength) return -1; in find_fixedlength()
1786 if (*cc != OP_ALT) return length; in find_fixedlength()
4106 int length = (int)(ptr - cd->start_pattern - GET(previous_callout, 2)); in complete_callout() local
4107 PUT(previous_callout, 2 + LINK_SIZE, length); in complete_callout()
7137 if (namelen == ng->length && in compile_branch()
7180 cd->named_groups[cd->names_found].length = namelen; in compile_branch()
7282 if (namelen == ng->length && in compile_branch()
8261 int length; in compile_regex() local
8292 length = 2 + 2*LINK_SIZE + skipbytes; in compile_regex()
8336 length += 1 + LINK_SIZE; in compile_regex()
8344 cond_depth, cd, (lengthptr == NULL)? NULL : &length)) in compile_regex()
8496 length += 2 + 2*LINK_SIZE; in compile_regex()
8515 if (OFLOW_MAX - *lengthptr < length) in compile_regex()
8520 *lengthptr += length; in compile_regex()
8537 length += 1 + LINK_SIZE; in compile_regex()
8899 add_name(compile_data *cd, const pcre_uchar *name, int length, in add_name() argument
8907 int crc = memcmp(name, slot+IMM2_SIZE, IN_UCHARS(length)); in add_name()
8908 if (crc == 0 && slot[IMM2_SIZE+length] != 0) in add_name()
8929 memcpy(slot + IMM2_SIZE, name, IN_UCHARS(length)); in add_name()
8930 slot[IMM2_SIZE + length] = 0; in add_name()
8997 int length = 1; /* For final END opcode */ in pcre_compile2() local
9323 cd, &length); in pcre_compile2()
9326 DPRINTF(("end pre-compile: length=%d workspace=%d\n", length, in pcre_compile2()
9329 if (length > MAX_PATTERN_SIZE) in pcre_compile2()
9340 (length + cd->names_found * cd->name_entry_size) * sizeof(pcre_uchar); in pcre_compile2()
9409 add_name(cd, ng->name, ng->length, ng->number); in pcre_compile2()
9444 if (code - codestart > length) errorcode = ERR23; in pcre_compile2()
9451 VALGRIND_MAKE_MEM_NOACCESS(code, (length - (code - codestart)) * sizeof(pcre_uchar)); in pcre_compile2()
9666 length, re->top_bracket, re->top_backref); in pcre_compile2()
9699 if (code - codestart > length) in pcre_compile2()