Home
last modified time | relevance | path

Searched refs:unquoted (Results 1 – 11 of 11) sorted by relevance

/php-src/ext/pdo/tests/
H A Dpdo_033.phpt19 $unquoted = ' !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrst…
21 $quoted = $db->quote($unquoted);
23 $len = strlen($unquoted);
/php-src/ext/standard/tests/general_functions/
H A Dbug70157.phpt2 parse_ini_string() crashes on values starting with number or unquoted strings
H A Dparse_ini_basic.data138 ; is single-quoted string, followed by unquoted text, followed by single-quoted '.'
/php-src/ext/pdo_sqlite/tests/
H A Dbug81740.phpt2 Bug #81740 (PDO::quote() may return unquoted string)
/php-src/ext/pdo_mysql/
H A Dmysql_driver.c308 static zend_string* mysql_handle_quoter(pdo_dbh_t *dbh, const zend_string *unquoted, enum pdo_param… in mysql_handle_quoter() argument
331 PDO_DBG_INF_FMT("unquoted=%.*s", (int)ZSTR_LEN(unquoted), ZSTR_VAL(unquoted)); in mysql_handle_quoter()
333 zend_string *quoted_str = zend_string_safe_alloc(2, ZSTR_LEN(unquoted), in mysql_handle_quoter()
338 …ysql_real_escape_string_quote(H->server, quoted + 2, ZSTR_VAL(unquoted), ZSTR_LEN(unquoted), '\''); in mysql_handle_quoter()
344 …ysql_real_escape_string_quote(H->server, quoted + 8, ZSTR_VAL(unquoted), ZSTR_LEN(unquoted), '\''); in mysql_handle_quoter()
349 …ysql_real_escape_string_quote(H->server, quoted + 1, ZSTR_VAL(unquoted), ZSTR_LEN(unquoted), '\''); in mysql_handle_quoter()
/php-src/ext/pdo_dblib/
H A Ddblib_driver.c145 static zend_string* dblib_handle_quoter(pdo_dbh_t *dbh, const zend_string *unquoted, enum pdo_param… in dblib_handle_quoter() argument
165 for (i = 0; i < ZSTR_LEN(unquoted); i++) { in dblib_handle_quoter()
166 if (ZSTR_VAL(unquoted)[i] == '\'') ++extralen; in dblib_handle_quoter() local
187 for (i = 0; i < ZSTR_LEN(unquoted); i++) { in dblib_handle_quoter()
188 if (ZSTR_VAL(unquoted)[i] == '\'') { in dblib_handle_quoter() local
192 *q++ = ZSTR_VAL(unquoted)[i]; in dblib_handle_quoter()
/php-src/ext/pdo_sqlite/
H A Dsqlite_driver.c223 static zend_string* sqlite_handle_quoter(pdo_dbh_t *dbh, const zend_string *unquoted, enum pdo_para… in sqlite_handle_quoter() argument
226 if (ZSTR_LEN(unquoted) > (INT_MAX - 3) / 2) { in sqlite_handle_quoter()
229 quoted = safe_emalloc(2, ZSTR_LEN(unquoted), 3); in sqlite_handle_quoter()
231 sqlite3_snprintf(2*ZSTR_LEN(unquoted) + 3, quoted, "'%q'", ZSTR_VAL(unquoted)); in sqlite_handle_quoter()
/php-src/ext/pdo_firebird/
H A Dfirebird_driver.c791 static zend_string* firebird_handle_quoter(pdo_dbh_t *dbh, const zend_string *unquoted, enum pdo_pa… in firebird_handle_quoter() argument
799 if (ZSTR_LEN(unquoted) == 0) { in firebird_handle_quoter()
805 for (co = ZSTR_VAL(unquoted); (co = strchr(co,'\'')); qcount++, co++); in firebird_handle_quoter()
807 if (UNEXPECTED(ZSTR_LEN(unquoted) + 2 > ZSTR_MAX_LEN - qcount)) { in firebird_handle_quoter()
811 quotedlen = ZSTR_LEN(unquoted) + qcount + 2; in firebird_handle_quoter()
817 for (l = ZSTR_VAL(unquoted); (r = strchr(l,'\'')); l = r+1) { in firebird_handle_quoter()
/php-src/ext/pdo_pgsql/
H A Dpgsql_driver.c373 static zend_string* pgsql_handle_quoter(pdo_dbh_t *dbh, const zend_string *unquoted, enum pdo_param… in pgsql_handle_quoter() argument
385 …escaped = PQescapeByteaConn(H->server, (unsigned char *)ZSTR_VAL(unquoted), ZSTR_LEN(unquoted), &t… in pgsql_handle_quoter()
395 quoted = safe_emalloc(2, ZSTR_LEN(unquoted), 3); in pgsql_handle_quoter()
397 …quotedlen = PQescapeStringConn(H->server, quoted + 1, ZSTR_VAL(unquoted), ZSTR_LEN(unquoted), NULL… in pgsql_handle_quoter()
/php-src/ext/pdo/
H A Dphp_pdo_driver.h233 typedef zend_string* (*pdo_dbh_quote_func)(pdo_dbh_t *dbh, const zend_string *unquoted, enum pdo_pa…
/php-src/build/
H A Dphp.m41002 dnl arguments must be passed unquoted (without Autoconf '[' and ']' characters.

Completed in 38 milliseconds