Lines Matching refs:little
246 /* return ptr to little string in big string, NULL if not found */
250 Perl_instr(pTHX_ register const char *big, register const char *little)
255 if (!little)
257 first = *little++;
263 for (x=big,s=little; *s; /**/ ) {
280 Perl_ninstr(pTHX_ register const char *big, register const char *bigend, const char *little, const char *lend)
283 register I32 first = *little;
286 if (!first && little >= littleend)
288 if (bigend - big < littleend - little)
290 bigend -= littleend - little++;
294 for (x=big,s=little; s < littleend; /**/ ) {
309 Perl_rninstr(pTHX_ register const char *big, const char *bigend, const char *little, const char *lend)
313 register I32 first = *little;
316 if (!first && little >= littleend)
319 big = bigend - (littleend - little++);
323 for (x=big+2,s=little; s < littleend; /**/ ) {
434 register unsigned char *little = (unsigned char *)SvPV(littlestr,l);
442 || (*big == *little &&
443 memEQ((char *)big, (char *)little, littlelen - 1))))
459 if (*s == *little)
472 if (bigend[-1] == '\n' && bigend[-2] == *little)
474 if (bigend[-1] == *little)
482 register unsigned char c1 = little[0];
483 register unsigned char c2 = little[1];
527 if (SvTAIL(littlestr) && (*bigend == *little))
533 if (s >= big && bigend[-1] == '\n' && *s == *little
535 && memEQ((char*)s + 1, (char*)little + 1, littlelen - 2))
539 if (s[1] == *little
540 && memEQ((char*)s + 2, (char*)little + 1, littlelen - 2))
548 (char*)little, (char*)little + littlelen);
553 if (*s == *little
554 && memEQ((char*)s + 1, (char*)little + 1, littlelen - 2))
564 register unsigned char *table = little + littlelen + FBM_TABLE_OFFSET;
572 little += littlelen; /* last char */
573 oldlittle = little;
590 if (*--s == *--little)
593 little = oldlittle;
633 register unsigned char *little;
644 little = (unsigned char *)(SvPVX(littlestr));
645 littleend = little + SvCUR(littlestr);
646 first = *little++;
652 little = (unsigned char *)(SvPVX(littlestr));
653 littleend = little + SvCUR(littlestr);
654 first = *little++;
680 for (x=big+pos+1,s=little; s < littleend; /**/ ) {
699 stop_pos = littleend - little; /* Actual littlestr len */
705 memEQ((char *)(big + 1), (char *)little, stop_pos - 1)))