Lines Matching refs:param

407 	struct pdo_bound_param_data *param;  in pdo_parse_params()  local
486 if ((param = zend_hash_str_find_ptr(params, plc->pos, plc->len)) == NULL) { in pdo_parse_params()
509 param = zend_hash_index_find_ptr(params, plc->bindno); in pdo_parse_params()
511 param = zend_hash_str_find_ptr(params, plc->pos, plc->len); in pdo_parse_params()
513 if (param == NULL) { in pdo_parse_params()
521 if (Z_ISREF(param->parameter)) { in pdo_parse_params()
522 parameter = Z_REFVAL(param->parameter); in pdo_parse_params()
524 parameter = &param->parameter; in pdo_parse_params()
526 if (param->param_type == PDO_PARAM_LOB && Z_TYPE_P(parameter) == IS_RESOURCE) { in pdo_parse_params()
538 param->param_type)) { in pdo_parse_params()
582 param->param_type)) { in pdo_parse_params()
594 if (Z_ISREF(param->parameter)) { in pdo_parse_params()
595 parameter = Z_REFVAL(param->parameter); in pdo_parse_params()
597 parameter = &param->parameter; in pdo_parse_params()
731 struct pdo_bound_param_data *param;
742 ZEND_HASH_FOREACH_PTR(params, param) {
743 if(param->parameter) {
744 convert_to_string(param->parameter);
749 newbuffer_len += padding * Z_STRLEN_P(param->parameter);
773 if((NULL != (param = zend_hash_str_find_ptr(params, s.tok, s.cur-s.tok))
783 if(stmt->dbh->methods->quoter(stmt->dbh, Z_STRVAL_P(param->parameter),
784 Z_STRLEN_P(param->parameter), &quotedstr, &quotedstrlen))
791 memcpy(ptr, Z_STRVAL_P(param->parameter), Z_STRLEN_P(param->parameter));
792 ptr += Z_STRLEN_P(param->parameter);
793 *outquery_len += (Z_STRLEN_P(param->parameter));
819 if(stmt->dbh->methods->quoter(stmt->dbh, Z_STRVAL_P(param->parameter),
820 Z_STRLEN_P(param->parameter), &quotedstr, &quotedstrlen))
827 memcpy(ptr, Z_STRVAL_P(param->parameter), Z_STRLEN_P(param->parameter));
828 ptr += Z_STRLEN_P(param->parameter);
829 *outquery_len += (Z_STRLEN_P(param->parameter));