Lines Matching refs:newstr

130   char *newstr;  in shrinkstring()  local
173 newstr = dupstring( str1.c_str() ); in shrinkstring()
176 newstr = dupstring( str ); in shrinkstring()
177 newstr[llen] = 0; in shrinkstring()
179 return newstr; in shrinkstring()
298 char *newstr2, *newstr, *tstr1; in AGUIX_catTrustedAndUnTrusted() local
352 newstr = (char*)_allocsafe( lenstr1 + 2 + strlen( newstr2 ) + 2 + 1 ); in AGUIX_catTrustedAndUnTrusted()
358 sprintf( newstr, "%s%s", tstr1, newstr2 ); in AGUIX_catTrustedAndUnTrusted()
363 sprintf( newstr, "%s\"'%s'\"", tstr1, newstr2 ); in AGUIX_catTrustedAndUnTrusted()
367 sprintf( newstr, "%s'%s'", tstr1, newstr2 ); in AGUIX_catTrustedAndUnTrusted()
372 return newstr; in AGUIX_catTrustedAndUnTrusted()
414 char *newstr; in AGUIX_unquoteString() local
421 newstr = (char*)_allocsafe( strlen( str1 ) + 1 ); in AGUIX_unquoteString()
433 newstr[o++] = str1[i]; in AGUIX_unquoteString()
452 newstr[o++] = str1[i]; in AGUIX_unquoteString()
462 newstr[o++] = str1[i]; in AGUIX_unquoteString()
469 newstr[o++] = str1[i]; in AGUIX_unquoteString()
477 newstr[o++] = str1[i]; in AGUIX_unquoteString()
482 newstr[o] = '\0'; in AGUIX_unquoteString()
484 return newstr; in AGUIX_unquoteString()
511 char *newstr, *tstr1; in AGUIX_catQuotedAndUnQuoted() local
555 newstr = (char*)_allocsafe( lenstr1 + newlen + 1 ); in AGUIX_catQuotedAndUnQuoted()
556 strcpy( newstr, tstr1 ); in AGUIX_catQuotedAndUnQuoted()
563 newstr[o++] = '\''; in AGUIX_catQuotedAndUnQuoted()
564 newstr[o++] = '\\'; in AGUIX_catQuotedAndUnQuoted()
565 newstr[o++] = '\''; in AGUIX_catQuotedAndUnQuoted()
566 newstr[o++] = '\''; in AGUIX_catQuotedAndUnQuoted()
568 newstr[o++] = str2[i]; in AGUIX_catQuotedAndUnQuoted()
573 newstr[o++] = '\\'; in AGUIX_catQuotedAndUnQuoted()
574 newstr[o++] = '"'; in AGUIX_catQuotedAndUnQuoted()
576 newstr[o++] = '\\'; in AGUIX_catQuotedAndUnQuoted()
577 newstr[o++] = '\\'; in AGUIX_catQuotedAndUnQuoted()
579 newstr[o++] = '\\'; in AGUIX_catQuotedAndUnQuoted()
580 newstr[o++] = '$'; in AGUIX_catQuotedAndUnQuoted()
582 newstr[o++] = str2[i]; in AGUIX_catQuotedAndUnQuoted()
587 newstr[o++] = '\\'; in AGUIX_catQuotedAndUnQuoted()
588 newstr[o++] = '"'; in AGUIX_catQuotedAndUnQuoted()
590 newstr[o++] = '\\'; in AGUIX_catQuotedAndUnQuoted()
591 newstr[o++] = '\''; in AGUIX_catQuotedAndUnQuoted()
593 newstr[o++] = '\\'; in AGUIX_catQuotedAndUnQuoted()
594 newstr[o++] = '\\'; in AGUIX_catQuotedAndUnQuoted()
596 newstr[o++] = '\\'; in AGUIX_catQuotedAndUnQuoted()
597 newstr[o++] = '$'; in AGUIX_catQuotedAndUnQuoted()
599 newstr[o++] = '\\'; in AGUIX_catQuotedAndUnQuoted()
600 newstr[o++] = '&'; in AGUIX_catQuotedAndUnQuoted()
602 newstr[o++] = '\\'; in AGUIX_catQuotedAndUnQuoted()
603 newstr[o++] = '|'; in AGUIX_catQuotedAndUnQuoted()
605 newstr[o++] = '\\'; in AGUIX_catQuotedAndUnQuoted()
606 newstr[o++] = ';'; in AGUIX_catQuotedAndUnQuoted()
608 newstr[o++] = '\\'; in AGUIX_catQuotedAndUnQuoted()
609 newstr[o++] = '<'; in AGUIX_catQuotedAndUnQuoted()
611 newstr[o++] = '\\'; in AGUIX_catQuotedAndUnQuoted()
612 newstr[o++] = '>'; in AGUIX_catQuotedAndUnQuoted()
614 newstr[o++] = '\\'; in AGUIX_catQuotedAndUnQuoted()
615 newstr[o++] = str2[i]; in AGUIX_catQuotedAndUnQuoted()
617 newstr[o++] = str2[i]; in AGUIX_catQuotedAndUnQuoted()
622 newstr[o] = '\0'; in AGUIX_catQuotedAndUnQuoted()
626 return newstr; in AGUIX_catQuotedAndUnQuoted()
638 char *newstr; in AGUIX_fixBackslashed() local
662 newstr = dupstring( str1 ); in AGUIX_fixBackslashed()
667 newstr[ lenstr1 - 1 ] = '\0'; in AGUIX_fixBackslashed()
670 return newstr; in AGUIX_fixBackslashed()