Home | History | Annotate | Download | only in common

Lines Matching refs:limit

37  * The limit pointer may be NULL, all others must be real pointers.
40 isMatchAtCPBoundary(const UChar *start, const UChar *match, const UChar *matchLimit, const UChar *limit) {
45 if(U16_IS_LEAD(*(matchLimit-1)) && match!=limit && U16_IS_TRAIL(*matchLimit)) {
150 const UChar *limit, *preLimit;
157 limit=s+length;
160 preLimit=limit-subLength;
170 if(isMatchAtCPBoundary(start, s-1, p, limit)) {
246 const UChar *limit=s+count;
251 } while(++s!=limit);
266 const UChar *limit=s+count-1; /* -1 so that we do not need a separate check for the trail unit */
273 } while(++s!=limit);
286 const UChar *start, *limit, *p, *q, *subLimit;
333 limit=s+length;
338 while(s!=limit) {
339 c=*(--limit);
342 p=limit;
346 if(isMatchAtCPBoundary(start, p, limit+1, start+length)) {
421 const UChar *limit=s+count;
423 if(*(--limit)==c) {
424 return (UChar *)limit;
426 } while(s!=limit);
441 const UChar *limit=s+count-1;
445 if(*limit==trail && *(limit-1)==lead) {
446 return (UChar *)(limit-1);
448 } while(s!=--limit);
725 /* both lengths are same, check only one limit */
772 /* check pseudo-limit */
1074 const UChar *limit;
1093 limit=s+length;
1095 if(s==limit) {
1101 if(U16_IS_LEAD(*s++) && s!=limit && U16_IS_TRAIL(*s)) {
1133 UChar *limit = dest + count;
1135 while (ptr < limit) {
1145 const UChar *limit = buf1 + count;
1148 while (buf1 < limit) {
1494 const TYPE *limit = p + len; \
1495 while (p<limit) { \