Lines Matching refs:pend
104 const char *pend,
116 if (p >= pend) return NULL;
128 p = t1 + (r = rb_enc_mbclen(t1, pend, enc));
129 if (p >= pend) return NULL;
137 p = t2 + (r2 = rb_enc_mbclen(t2, pend, enc));
146 c2 = rb_enc_codepoint(t1, pend, enc);
149 c2 = rb_enc_codepoint(t2, pend, enc);
161 c2 = rb_enc_toupper(rb_enc_codepoint(p, pend, enc), enc);
195 const char *pend = p + strlen(p);
229 if ((t = bracket(p + 1, pend, s, send, flags, enc)) != 0) {
244 r = rb_enc_precise_mbclen(p, pend, enc);
253 if (rb_enc_toupper(rb_enc_codepoint(p, pend, enc), enc) !=
913 char *path, *pend;
921 pend = path + len;
922 pend = rb_enc_path_end(rb_enc_path_skip_prefix(path, pend, enc), pend, enc);
923 if (pend - path < len) {
924 d = rb_str_subseq(d, 0, pend - path);
1073 has_magic(const char *p, const char *pend, int flags, rb_encoding *enc)
1080 while (p < pend && (c = *p++) != 0) {
1097 p = Next(p-1, pend, enc);
1105 find_dirsep(const char *p, const char *pend, int flags, rb_encoding *enc)
1132 p = Next(p-1, pend, enc);
1140 remove_backslashes(char *p, register const char *pend, rb_encoding *enc)
1153 Inc(p, pend, enc);
1600 const char *pend = p + strlen(p);
1616 Inc(p, pend, enc);
1637 Inc(p, pend, enc);
1718 char *p, *pend;
1726 pend = RSTRING_PTR(str) + RSTRING_LEN(str);
1727 while (p < pend && !*p)