Searched refs:OnigDistance (Results 1 – 4 of 4) sorted by relevance
109 typedef unsigned int OnigDistance; typedef111 #define ONIG_INFINITE_DISTANCE ~((OnigDistance )0)687 OnigDistance anchor_dmin; /* (SEMI_)END_BUF anchor distance */688 OnigDistance anchor_dmax; /* (SEMI_)END_BUF anchor distance */695 OnigDistance dmin; /* min-distance of exact or map */696 OnigDistance dmax; /* max-distance of exact or map */
96 static OnigDistance97 distance_add(OnigDistance d1, OnigDistance d2) in distance_add()107 static OnigDistance108 distance_multiply(OnigDistance d, int m) in distance_multiply()2038 get_min_match_length(Node* node, OnigDistance *min, ScanEnv* env) in get_min_match_length()2040 OnigDistance tmin; in get_min_match_length()2102 *min = (OnigDistance)(sn->end - sn->s); in get_min_match_length()2161 get_max_match_length(Node* node, OnigDistance *max, ScanEnv* env) in get_max_match_length()2163 OnigDistance tmax; in get_max_match_length()2186 *max = (OnigDistance)(sn->end - sn->s); in get_max_match_length()[all …]
196 OnigDistance min_len; /* min length (byte) */197 OnigDistance max_len; /* max length (byte) */
3495 if ((OnigDistance )(max_semi_end - str) < reg->anchor_dmin) in onig_search()3499 if ((OnigDistance )(min_semi_end - start) > reg->anchor_dmax) { in onig_search()3507 if ((OnigDistance )(max_semi_end - (range - 1)) < reg->anchor_dmin) { in onig_search()3514 if ((OnigDistance )(min_semi_end - range) > reg->anchor_dmax) { in onig_search()3517 if ((OnigDistance )(max_semi_end - start) < reg->anchor_dmin) { in onig_search()