Searched defs:string2 (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libmail/common/
H A Dsubstr.c36 * This routine looks for string2 in string1.
37 * If found, it returns the position string2 is found at,
41 substr(char *string1, char *string2) argument
49 len2 = (int)strlen(string2);
51 for (j = 0; j < len2 && string1[i+j] == string2[j]; j++)
/illumos-gate/usr/src/ucbcmd/tr/
H A Dtr.c52 struct string { int last, max; char *p; } string1, string2; variable in typeref:struct:string
63 string1.last = string2.last = 0;
64 string1.max = string2.max = 0;
65 string1.p = string2.p = "";
87 if(argc>1) string2.p = argv[1];
106 d = next(&string2);
112 while(d = next(&string2))
/illumos-gate/usr/src/cmd/mailx/
H A Daux.c750 * This routine looks for string2 in string1.
751 * If found, it returns the position string2 is found at,
755 substr(char *string1, char *string2) argument
760 len2 = strlen(string2);
762 for (j = 0; j < len2 && string1[i+j] == string2[j]; j++)
/illumos-gate/usr/src/cmd/make/bin/
H A Dread2.cc339 register wchar_t *string2; local
396 string2 = name_string; /*save for free*/
429 retmem(string2);
446 retmem(string2);

Completed in 64 milliseconds