Searched refs:cols (Results 1 - 13 of 13) sorted by relevance

/PHP_5_3/Zend/
H A Dbench.php268 function mkmatrix ($rows, $cols) {
272 for ($j=0; $j<$cols; $j++) {
279 function mmult ($rows, $cols, $m1, $m2) {
282 for ($j=0; $j<$cols; $j++) {
284 for ($k=0; $k<$cols; $k++) {
/PHP_5_3/win32/build/
H A Dconfutils.js1444 var cols = 80;
/PHP_5_3/ext/odbc/
H A Dbirdstep.c354 SWORD cols,i,colnamelen; local
378 stat = SQLNumResultCols(res->hstmt,&cols);
385 if ( !cols ) { /* Was INSERT, UPDATE, DELETE, etc. query */
397 res->values = (VResVal *)safe_emalloc(sizeof(VResVal), cols, 0);
398 res->numcols = cols;
399 for ( i = 0; i < cols; i++ ) {
/PHP_5_3/ext/pdo/
H A Dpdo_stmt.c2080 struct pdo_column_data *cols = stmt->columns; local
2083 efree(cols[i].name);
2414 struct pdo_column_data *cols = stmt->columns; local
2417 if (cols[i].name) {
2418 efree(cols[i].name);
2419 cols[i].name = NULL;
/PHP_5_3/ext/pdo_dblib/
H A Ddblib_stmt.c61 if (S->cols) {
62 efree(S->cols);
105 if (!S->cols) {
112 S->cols = ecalloc(S->ncols, sizeof(pdo_dblib_col));
118 S->cols[i].coltype = dbcoltype(H->link, i+1);
119 S->cols[i].name = (char*)dbcolname(H->link, i+1);
121 if (!strlen(S->cols[i].name)) {
124 strlcpy(S->cols[i].name, tmp, strlen(tmp)+1);
127 S->cols[i].name = "computed";
132 S->cols[
[all...]
H A Dphp_pdo_dblib_int.h132 pdo_dblib_col *cols; member in struct:__anon131
/PHP_5_3/ext/pdo_mysql/
H A Dmysql_statement.c680 struct pdo_column_data *cols = stmt->columns; local
697 if (cols[0].name) {
704 namelen = spprintf(&cols[i].name, 0, "%s.%s", S->fields[i].table, S->fields[i].name);
705 cols[i].namelen = namelen;
708 cols[i].namelen = namelen;
709 cols[i].name = estrndup(S->fields[i].name, namelen);
712 cols[i].precision = S->fields[i].decimals;
713 cols[i].maxlen = S->fields[i].length;
717 cols[i].param_type = PDO_PARAM_ZVAL;
721 cols[
[all...]
/PHP_5_3/ext/pdo_oci/
H A Doci_statement.c96 if (S->cols) {
98 if (S->cols[i].data) {
99 switch (S->cols[i].dtype) {
105 efree(S->cols[i].data);
109 efree(S->cols);
110 S->cols = NULL;
160 if (S->cols) {
163 if (S->cols[i].data) {
164 switch (S->cols[i].dtype) {
170 efree(S->cols[
[all...]
H A Dphp_pdo_oci_int.h67 pdo_oci_column *cols; member in struct:__anon143
/PHP_5_3/ext/pdo_odbc/
H A Dodbc_stmt.c128 if (S->cols) {
132 if (S->cols[i].data) {
133 efree(S->cols[i].data);
136 efree(S->cols);
137 S->cols = NULL;
269 S->cols = ecalloc(colcount, sizeof(pdo_odbc_column));
551 rc = SQLDescribeCol(S->stmt, colno+1, S->cols[colno].colname,
552 sizeof(S->cols[colno].colname)-1, &colnamelen,
553 &S->cols[colno].coltype, &colsize, NULL, NULL);
574 col->maxlen = S->cols[coln
[all...]
H A Dphp_pdo_odbc_int.h149 pdo_odbc_column *cols; member in struct:__anon148
/PHP_5_3/ext/pdo_pgsql/
H A Dpgsql_statement.c109 if(S->cols) {
110 efree(S->cols);
111 S->cols = NULL;
225 S->cols = ecalloc(stmt->column_count, sizeof(pdo_pgsql_column));
433 struct pdo_column_data *cols = stmt->columns; local
440 cols[colno].name = estrdup(PQfname(S->result, colno));
441 cols[colno].namelen = strlen(cols[colno].name);
442 cols[colno].maxlen = PQfsize(S->result, colno);
443 cols[coln
495 struct pdo_column_data *cols = stmt->columns; local
[all...]
H A Dphp_pdo_pgsql_int.h67 pdo_pgsql_column *cols; member in struct:__anon154

Completed in 31 milliseconds