Lines Matching refs:rp
813 char *result, *rp, *s; in php_pgsql_PQescapeInternal() local
821 …rp = result = (char *)safe_emalloc(len, 2, 5); /* leading " E" needs extra 2 bytes + quote_chars o… in php_pgsql_PQescapeInternal()
828 *rp++ = '\''; in php_pgsql_PQescapeInternal()
832 strncpy(rp, tmp, new_len); in php_pgsql_PQescapeInternal()
834 rp += new_len; in php_pgsql_PQescapeInternal()
855 *rp++ = ' '; in php_pgsql_PQescapeInternal()
856 *rp++ = 'E'; in php_pgsql_PQescapeInternal()
858 *rp++ = '\''; in php_pgsql_PQescapeInternal()
861 *rp++ = *s; in php_pgsql_PQescapeInternal()
862 *rp++ = *s; in php_pgsql_PQescapeInternal()
864 *rp++ = *s; in php_pgsql_PQescapeInternal()
868 *rp++ = '\''; in php_pgsql_PQescapeInternal()
871 *rp++ = '"'; in php_pgsql_PQescapeInternal()
874 *rp++ = '"'; in php_pgsql_PQescapeInternal()
875 *rp++ = '"'; in php_pgsql_PQescapeInternal()
877 *rp++ = *s; in php_pgsql_PQescapeInternal()
880 *rp++ = '"'; in php_pgsql_PQescapeInternal()
882 *rp = '\0'; in php_pgsql_PQescapeInternal()