Home | History | Annotate | Download | only in common

Lines Matching refs:sub

54                const UChar *sub, int32_t subLength) {
58 if(sub==NULL || subLength<-1) {
69 if((cs=*sub++)==0) {
72 if(*sub==0 && !U16_IS_SURROGATE(cs)) {
81 q=sub;
107 subLength=u_strlen(sub);
113 /* get sub[0] to search for it fast */
114 cs=*sub++;
116 subLimit=sub+subLength;
129 q=sub;
154 return NULL; /* s is shorter than sub */
167 q=sub;
285 const UChar *sub, int32_t subLength) {
289 if(sub==NULL || subLength<-1) {
307 subLength=u_strlen(sub);
313 /* get sub[subLength-1] to search for it fast */
314 subLimit=sub+subLength;
329 return NULL; /* s is shorter than sub */
345 if(q==sub) {