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

/PHP_TRUNK/Zend/
H A Dbench.php267 function mkmatrix ($rows, $cols) {
271 for ($j=0; $j<$cols; $j++) {
278 function mmult ($rows, $cols, $m1, $m2) {
281 for ($j=0; $j<$cols; $j++) {
283 for ($k=0; $k<$cols; $k++) {
/PHP_TRUNK/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_TRUNK/ext/pdo_oci/
H A Doci_statement.c96 if (S->cols) {
98 if (S->cols[i].data) {
99 switch (S->cols[i].dtype) {
102 OCIDescriptorFree(S->cols[i].data, OCI_DTYPE_LOB);
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[
[all...]
H A Dphp_pdo_oci_int.h67 pdo_oci_column *cols; member in struct:__anon172
/PHP_TRUNK/ext/pdo_odbc/
H A Dphp_pdo_odbc_int.h149 pdo_odbc_column *cols; member in struct:__anon4
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;
275 S->cols = ecalloc(colcount, sizeof(pdo_odbc_column));
573 rc = SQLDescribeCol(S->stmt, colno+1, S->cols[colno].colname,
574 sizeof(S->cols[colno].colname)-1, &colnamelen,
575 &S->cols[colno].coltype, &colsize, NULL, NULL);
596 col->maxlen = S->cols[coln
[all...]
/PHP_TRUNK/ext/pdo_mysql/
H A Dmysql_statement.c678 struct pdo_column_data *cols = stmt->columns; local
695 if (cols[0].name) {
702 namelen = spprintf(&cols[i].name, 0, "%s.%s", S->fields[i].table, S->fields[i].name);
703 cols[i].namelen = namelen;
705 cols[i].namelen = S->fields[i].name_length;
706 cols[i].name = estrndup(S->fields[i].name, S->fields[i].name_length);
709 cols[i].precision = S->fields[i].decimals;
710 cols[i].maxlen = S->fields[i].length;
714 cols[i].param_type = PDO_PARAM_ZVAL;
718 cols[
[all...]
/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_statement.c107 if(S->cols) {
108 efree(S->cols);
109 S->cols = NULL;
229 S->cols = ecalloc(stmt->column_count, sizeof(pdo_pgsql_column));
443 struct pdo_column_data *cols = stmt->columns; local
450 cols[colno].name = estrdup(PQfname(S->result, colno));
451 cols[colno].namelen = strlen(cols[colno].name);
452 cols[colno].maxlen = PQfsize(S->result, colno);
453 cols[coln
503 struct pdo_column_data *cols = stmt->columns; local
[all...]
H A Dphp_pdo_pgsql_int.h65 pdo_pgsql_column *cols; member in struct:__anon154
/PHP_TRUNK/win32/build/
H A Dconfutils.js1523 var cols = 80;
/PHP_TRUNK/ext/pdo/
H A Dpdo_stmt.c2026 struct pdo_column_data *cols = stmt->columns; local
2029 efree(cols[i].name);
2327 struct pdo_column_data *cols = stmt->columns; local
2330 if (cols[i].name) {
2331 efree(cols[i].name);
2332 cols[i].name = NULL;

Completed in 16 milliseconds