Lines Matching refs:param
89 struct pdo_bound_param_data *param;
168 if (zend_hash_find(params, plc->pos, plc->len, (void**) ¶m) == FAILURE) {
191 ret = zend_hash_index_find(params, plc->bindno, (void**) ¶m);
193 ret = zend_hash_find(params, plc->pos, plc->len, (void**) ¶m);
202 if (param->param_type == PDO_PARAM_LOB && Z_TYPE_P(param->parameter) == IS_RESOURCE) {
205 php_stream_from_zval_no_verify(stm, ¶m->parameter);
212 param->param_type TSRMLS_CC)) {
231 switch (Z_TYPE_P(param->parameter)) {
239 convert_to_long(param->parameter);
243 convert_to_string(param->parameter);
244 plc->qlen = Z_STRLEN_P(param->parameter);
245 plc->quoted = Z_STRVAL_P(param->parameter);
250 convert_to_string(param->parameter);
251 if (!stmt->dbh->methods->quoter(stmt->dbh, Z_STRVAL_P(param->parameter),
252 Z_STRLEN_P(param->parameter), &plc->quoted, &plc->qlen,
253 param->param_type TSRMLS_CC)) {
263 plc->quoted = Z_STRVAL_P(param->parameter);
264 plc->qlen = Z_STRLEN_P(param->parameter);
396 struct pdo_bound_param_data *param;
408 while (SUCCESS == zend_hash_get_current_data(params, (void**)¶m)) {
409 if(param->parameter) {
410 convert_to_string(param->parameter);
415 newbuffer_len += padding * Z_STRLEN_P(param->parameter);
440 if((SUCCESS == zend_hash_find(params, s.tok, s.cur-s.tok,(void **)¶m))
442 (SUCCESS == zend_hash_index_find(params, bindno, (void **)¶m)))
450 if(stmt->dbh->methods->quoter(stmt->dbh, Z_STRVAL_P(param->parameter),
451 Z_STRLEN_P(param->parameter), "edstr, "edstrlen TSRMLS_CC))
458 memcpy(ptr, Z_STRVAL_P(param->parameter), Z_STRLEN_P(param->parameter));
459 ptr += Z_STRLEN_P(param->parameter);
460 *outquery_len += (Z_STRLEN_P(param->parameter));
479 if(SUCCESS == zend_hash_index_find(params, bindno, (void **)¶m))
486 if(stmt->dbh->methods->quoter(stmt->dbh, Z_STRVAL_P(param->parameter),
487 Z_STRLEN_P(param->parameter), "edstr, "edstrlen TSRMLS_CC))
494 memcpy(ptr, Z_STRVAL_P(param->parameter), Z_STRLEN_P(param->parameter));
495 ptr += Z_STRLEN_P(param->parameter);
496 *outquery_len += (Z_STRLEN_P(param->parameter));