Lines Matching refs:j

270 	int i, j;  in _free_sybase_result()  local
274 for (j=0; j<result->num_fields; j++) { in _free_sybase_result()
275 zval_dtor(&result->data[i][j]); in _free_sybase_result()
1196 int i, j; in php_sybase_fetch_result_row() local
1215 for (j = 0; j < result->num_fields; j++) { in php_sybase_fetch_result_row()
1218 if (!result->store && result->num_rows > 1 && Z_TYPE(result->data[i][j]) == IS_STRING) { in php_sybase_fetch_result_row()
1219 efree(Z_STRVAL(result->data[i][j])); in php_sybase_fetch_result_row()
1222 if (result->indicators[j] == -1) { /* null value */ in php_sybase_fetch_result_row()
1223 ZVAL_NULL(&result->data[i][j]); in php_sybase_fetch_result_row()
1225 switch (result->numerics[j]) { in php_sybase_fetch_result_row()
1228 ZVAL_LONG(&result->data[i][j], strtol(result->tmp_buffer[j], NULL, 10)); in php_sybase_fetch_result_row()
1234 RETURN_DOUBLE_VAL(result->data[i][j], result->tmp_buffer[j], result->lengths[j]); in php_sybase_fetch_result_row()
1241 Z_LVAL(result->data[i][j]) = strtol(result->tmp_buffer[j], NULL, 10); in php_sybase_fetch_result_row()
1245 RETURN_DOUBLE_VAL(result->data[i][j], result->tmp_buffer[j], result->lengths[j]); in php_sybase_fetch_result_row()
1248 Z_TYPE(result->data[i][j]) = IS_LONG; in php_sybase_fetch_result_row()
1259 if (result->lengths[j] < 1) { in php_sybase_fetch_result_row()
1260 ZVAL_NULL(&result->data[i][j]); in php_sybase_fetch_result_row()
1262 ZVAL_STRINGL(&result->data[i][j], result->tmp_buffer[j], result->lengths[j]- 1, 1); in php_sybase_fetch_result_row()
1300 int i, j; in php_sybase_fetch_result_set() local
1391 j=0; in php_sybase_fetch_result_set()
1398 if (j>0) { in php_sybase_fetch_result_set()
1399 snprintf(computed_buf, 16, "computed%d", j); in php_sybase_fetch_result_set()
1404 j++; in php_sybase_fetch_result_set()
1795 int i, j; in php_sybase_fetch_hash() local
1816 j= 1; in php_sybase_fetch_hash()
1828 snprintf(name, 32, "%s%d", result->fields[i].name, j); in php_sybase_fetch_hash()
1830 j++; in php_sybase_fetch_hash()