Lines Matching refs:param

408 	struct pdo_bound_param_data *param;  in pdo_parse_params()  local
487 if ((param = zend_hash_str_find_ptr(params, plc->pos, plc->len)) == NULL) { in pdo_parse_params()
510 param = zend_hash_index_find_ptr(params, plc->bindno); in pdo_parse_params()
512 param = zend_hash_str_find_ptr(params, plc->pos, plc->len); in pdo_parse_params()
514 if (param == NULL) { in pdo_parse_params()
522 if (Z_ISREF(param->parameter)) { in pdo_parse_params()
523 parameter = Z_REFVAL(param->parameter); in pdo_parse_params()
525 parameter = &param->parameter; in pdo_parse_params()
527 if (param->param_type == PDO_PARAM_LOB && Z_TYPE_P(parameter) == IS_RESOURCE) { in pdo_parse_params()
539 param->param_type)) { in pdo_parse_params()
583 param->param_type)) { in pdo_parse_params()
595 if (Z_ISREF(param->parameter)) { in pdo_parse_params()
596 parameter = Z_REFVAL(param->parameter); in pdo_parse_params()
598 parameter = &param->parameter; in pdo_parse_params()
732 struct pdo_bound_param_data *param;
743 ZEND_HASH_FOREACH_PTR(params, param) {
744 if(param->parameter) {
745 convert_to_string(param->parameter);
750 newbuffer_len += padding * Z_STRLEN_P(param->parameter);
774 if((NULL != (param = zend_hash_str_find_ptr(params, s.tok, s.cur-s.tok))
784 if(stmt->dbh->methods->quoter(stmt->dbh, Z_STRVAL_P(param->parameter),
785 Z_STRLEN_P(param->parameter), &quotedstr, &quotedstrlen))
792 memcpy(ptr, Z_STRVAL_P(param->parameter), Z_STRLEN_P(param->parameter));
793 ptr += Z_STRLEN_P(param->parameter);
794 *outquery_len += (Z_STRLEN_P(param->parameter));
820 if(stmt->dbh->methods->quoter(stmt->dbh, Z_STRVAL_P(param->parameter),
821 Z_STRLEN_P(param->parameter), &quotedstr, &quotedstrlen))
828 memcpy(ptr, Z_STRVAL_P(param->parameter), Z_STRLEN_P(param->parameter));
829 ptr += Z_STRLEN_P(param->parameter);
830 *outquery_len += (Z_STRLEN_P(param->parameter));