Searched refs:src1 (Results 1 – 1 of 1) sorted by relevance
1053 re_node_set_add_intersect (re_node_set *dest, const re_node_set *src1, in re_node_set_add_intersect() argument1057 if (src1->nelem == 0 || src2->nelem == 0) in re_node_set_add_intersect()1062 if (src1->nelem + src2->nelem + dest->nelem > dest->alloc) in re_node_set_add_intersect()1064 Idx new_alloc = src1->nelem + src2->nelem + dest->alloc; in re_node_set_add_intersect()1074 sbase = dest->nelem + src1->nelem + src2->nelem; in re_node_set_add_intersect()1075 i1 = src1->nelem - 1; in re_node_set_add_intersect()1080 if (src1->elems[i1] == src2->elems[i2]) in re_node_set_add_intersect()1083 while (REG_VALID_INDEX (id) && dest->elems[id] > src1->elems[i1]) in re_node_set_add_intersect()1086 if (! REG_VALID_INDEX (id) || dest->elems[id] != src1->elems[i1]) in re_node_set_add_intersect()1087 dest->elems[--sbase] = src1->elems[i1]; in re_node_set_add_intersect()[all …]