Lines Matching defs:pbuf

147   PRUnichar pbuf[10]={'e','f','g',0};
159 PRInt32 pos=theDest.Find(pbuf);
189 pos=theDest.FindCharInSet(pbuf);
204 pos=theDest.RFindCharInSet(pbuf);
473 PRUnichar pbuf[10]={'f','o','o',0};
474 PRUnichar* buf=pbuf;
492 nsCString temp4(pbuf);
493 NS_ASSERTION(temp4==pbuf,"nsCString Constructor error");
651 static const PRUnichar pbuf[] = {' ','w','o','r','l','d',0};
680 theDest.Assign(pbuf); //assign a PRUnichar* to an nsString
681 NS_ASSERTION(theDest==pbuf,"Assignment error");
704 theDest=pbuf;
705 NS_ASSERTION(theDest==pbuf,"Assignment error");
728 theDest=s1+pbuf;
756 static const PRUnichar pbuf[] = {' ','w','o','r','l','d',0};
780 theDest.Append(pbuf,20); //try appending more chars than actual length of pbuf
781 NS_ASSERTION(theDest!=pbuf,"Append(PRUnichar*) error");
786 theDest.Append(pbuf,5); //try appending fewer chars than actual length of pbuf
790 theDest.Append(pbuf); //try appending all of pbuf
791 NS_ASSERTION(theDest==pbuf,"Append(PRUnichar*) error");
798 theDest.Append(pbuf,0); //try appending nothing
838 theDest.Append(pbuf);
851 temp2=a+pbuf;
996 static const char pbuf[] = " world";
1002 temp1.Insert(pbuf,3); //prunichar* insertion
1025 static const PRUnichar pbuf[] = {' ','w','o','r','l','d',0};
1036 temp1.Insert(pbuf,3); //prunichar* insertion
1077 const char* pbuf = "whats up doc?";
1079 nsCString s1(pbuf);
1080 s1.Cut(3,20); //try deleting more chars than actual length of pbuf
1083 s1=pbuf;
1085 NS_ASSERTION(s1==pbuf,"Cut error");
1087 s1=pbuf;
1095 const PRUnichar pbuf[] = {'w','h','a','t','s',' ','u','p',' ','d','o','c','?',0};
1097 nsString s1(pbuf);
1098 s1.Cut(3,20); //try deleting more chars than actual length of pbuf
1101 s1=pbuf;
1103 NS_ASSERTION(s1==pbuf,"Cut error");
1105 s1=pbuf;
1289 PRUnichar pbuf[] = {'h','e','l','l','o','\n','\n','\n','\n',250,'\n','\n','\n','\n','\n','\n','r','i','c','k',0};
1292 nsString s0(pbuf);
1301 nsAutoString s1(pbuf);
1307 char pbuf[] = { 0x1C, 0x04, 0x1D, 0x04, 0x20, 0x00, 0x2D, 0x00, 0x20, 0x00, 0x23, 0x04, 0x20, 0x00, 0x40, 0x04,
1315 nsAutoString temp((PRUnichar*)pbuf);
1345 s0=pbuf;
1396 PRUnichar pbuf[] = {'h','e','l','l','o',0};
1403 nsAutoString temp3(pbuf);
1406 nsAutoString temp4(CBufDescriptor((char*)pbuf,PR_TRUE,5,5));
1409 nsString s(pbuf);
1434 nsCAutoString temp3(pbuf);
1444 nsString s(pbuf);
1691 PRUnichar pbuf[10]={'a','b','c','d','e',0};
1868 PRUnichar pbuf[] = {'1','2','3','4','5','6','7','8','9','0',0};
1872 source1.Append(pbuf);