Lines Matching refs:param

403 	struct pdo_bound_param_data *param;  in pdo_parse_params()  local
482 if (zend_hash_find(params, plc->pos, plc->len, (void**) &param) == FAILURE) { in pdo_parse_params()
505 ret = zend_hash_index_find(params, plc->bindno, (void**) &param); in pdo_parse_params()
507 ret = zend_hash_find(params, plc->pos, plc->len, (void**) &param); in pdo_parse_params()
516 if (param->param_type == PDO_PARAM_LOB && Z_TYPE_P(param->parameter) == IS_RESOURCE) { in pdo_parse_params()
519 php_stream_from_zval_no_verify(stm, &param->parameter); in pdo_parse_params()
526 param->param_type TSRMLS_CC)) { in pdo_parse_params()
545 zval tmp_param = *param->parameter; in pdo_parse_params()
569 param->param_type TSRMLS_CC)) { in pdo_parse_params()
580 plc->quoted = Z_STRVAL_P(param->parameter); in pdo_parse_params()
581 plc->qlen = Z_STRLEN_P(param->parameter); in pdo_parse_params()
713 struct pdo_bound_param_data *param;
725 while (SUCCESS == zend_hash_get_current_data(params, (void**)&param)) {
726 if(param->parameter) {
727 convert_to_string(param->parameter);
732 newbuffer_len += padding * Z_STRLEN_P(param->parameter);
757 if((SUCCESS == zend_hash_find(params, s.tok, s.cur-s.tok,(void **)&param))
759 (SUCCESS == zend_hash_index_find(params, bindno, (void **)&param)))
767 if(stmt->dbh->methods->quoter(stmt->dbh, Z_STRVAL_P(param->parameter),
768 Z_STRLEN_P(param->parameter), &quotedstr, &quotedstrlen TSRMLS_CC))
775 memcpy(ptr, Z_STRVAL_P(param->parameter), Z_STRLEN_P(param->parameter));
776 ptr += Z_STRLEN_P(param->parameter);
777 *outquery_len += (Z_STRLEN_P(param->parameter));
796 if(SUCCESS == zend_hash_index_find(params, bindno, (void **)&param))
803 if(stmt->dbh->methods->quoter(stmt->dbh, Z_STRVAL_P(param->parameter),
804 Z_STRLEN_P(param->parameter), &quotedstr, &quotedstrlen TSRMLS_CC))
811 memcpy(ptr, Z_STRVAL_P(param->parameter), Z_STRLEN_P(param->parameter));
812 ptr += Z_STRLEN_P(param->parameter);
813 *outquery_len += (Z_STRLEN_P(param->parameter));