Lines Matching refs:rp
811 char *result, *rp, *s; in php_pgsql_PQescapeInternal() local
818 …rp = result = (char *)safe_emalloc(len, 2, 5); /* leading " E" needs extra 2 bytes + quote_chars o… in php_pgsql_PQescapeInternal()
824 *rp++ = '\''; in php_pgsql_PQescapeInternal()
828 strncpy(rp, tmp, new_len); in php_pgsql_PQescapeInternal()
830 rp += new_len; in php_pgsql_PQescapeInternal()
852 *rp++ = ' '; in php_pgsql_PQescapeInternal()
853 *rp++ = 'E'; in php_pgsql_PQescapeInternal()
855 *rp++ = '\''; in php_pgsql_PQescapeInternal()
858 *rp++ = *s; in php_pgsql_PQescapeInternal()
859 *rp++ = *s; in php_pgsql_PQescapeInternal()
861 *rp++ = *s; in php_pgsql_PQescapeInternal()
865 *rp++ = '\''; in php_pgsql_PQescapeInternal()
868 *rp++ = '"'; in php_pgsql_PQescapeInternal()
871 *rp++ = '"'; in php_pgsql_PQescapeInternal()
872 *rp++ = '"'; in php_pgsql_PQescapeInternal()
874 *rp++ = *s; in php_pgsql_PQescapeInternal()
877 *rp++ = '"'; in php_pgsql_PQescapeInternal()
879 *rp = '\0'; in php_pgsql_PQescapeInternal()