Lines Matching refs:Cut
1016 temp2.Cut(20,5);
1019 temp2.Cut(100,100); //this should fail.
1050 temp2.Cut(20,5);
1053 temp2.Cut(100,100); //this should fail.
1080 s1.Cut(3,20); //try deleting more chars than actual length of pbuf
1081 NS_ASSERTION(s1=="wha","Cut error");
1084 s1.Cut(3,-10);
1085 NS_ASSERTION(s1==pbuf,"Cut error");
1088 s1.Cut(3,2);
1089 NS_ASSERTION(s1=="wha up doc?","Cut error");
1098 s1.Cut(3,20); //try deleting more chars than actual length of pbuf
1099 NS_ASSERTION(s1=="wha","Cut error");
1102 s1.Cut(3,-10);
1103 NS_ASSERTION(s1==pbuf,"Cut error");
1106 s1.Cut(3,2);
1107 NS_ASSERTION(s1=="wha up doc?","Cut error");
1118 s.Cut(0,5);
1125 cut.Cut(7,10); //this is out of bounds, so ignore...
1127 cut.Cut(5,2); //cut last chars
1129 cut.Cut(1,1); //cut first char
1131 cut.Cut(2,1); //cut one from the middle
1561 theString.Cut(pos,len);
1880 s1.Cut(20,50);
1884 printf("Cut(...) NSString: %f ",watch1.Elapsed());
2178 s1.Cut(20,50);
2182 printf("Cut(...) NSCString: %f ",watch1.Elapsed());