Lines Matching refs:rp
805 char *result, *rp, *s; in php_pgsql_PQescapeInternal() local
812 …rp = result = (char *)safe_emalloc(len, 2, 5); /* leading " E" needs extra 2 bytes + quote_chars o… in php_pgsql_PQescapeInternal()
818 *rp++ = '\''; in php_pgsql_PQescapeInternal()
822 strncpy(rp, tmp, new_len); in php_pgsql_PQescapeInternal()
824 rp += new_len; in php_pgsql_PQescapeInternal()
846 *rp++ = ' '; in php_pgsql_PQescapeInternal()
847 *rp++ = 'E'; in php_pgsql_PQescapeInternal()
849 *rp++ = '\''; in php_pgsql_PQescapeInternal()
852 *rp++ = *s; in php_pgsql_PQescapeInternal()
853 *rp++ = *s; in php_pgsql_PQescapeInternal()
855 *rp++ = *s; in php_pgsql_PQescapeInternal()
859 *rp++ = '\''; in php_pgsql_PQescapeInternal()
862 *rp++ = '"'; in php_pgsql_PQescapeInternal()
865 *rp++ = '"'; in php_pgsql_PQescapeInternal()
866 *rp++ = '"'; in php_pgsql_PQescapeInternal()
868 *rp++ = *s; in php_pgsql_PQescapeInternal()
871 *rp++ = '"'; in php_pgsql_PQescapeInternal()
873 *rp = '\0'; in php_pgsql_PQescapeInternal()