Searched refs:field (Results 1 - 23 of 23) sorted by relevance

/PHP_5_3/ext/spl/internal/
H A Dsplfileobject.inc73 * @param delimiter character used as field separator
/PHP_5_3/ext/mbstring/libmbfl/tests/conv_encoding.tests/
H A Dgen_exp.c411 int field = 0; local
417 if (field >= sizeof(fields) / sizeof(*fields)) {
449 fields[field++] = q;
455 if (field == 0 || field == 1) {
457 } else if (field != 2) {
458 fprintf(stderr, "Unexpected field count (expected 2, got %d)\n", field);
464 fprintf(stderr, "Malformed field value: %s\n", fields[0]);
470 fprintf(stderr, "Malformed field valu
[all...]
/PHP_5_3/ext/mbstring/
H A Dphp_unicode.c122 static unsigned long case_lookup(unsigned long code, long l, long r, int field) argument
141 return _uccase_map[m + field];
147 MBSTRING_API unsigned long php_turkish_toupper(unsigned long code, long l, long r, int field) argument
152 return case_lookup(code, l, r, field);
155 MBSTRING_API unsigned long php_turkish_tolower(unsigned long code, long l, long r, int field) argument
160 return case_lookup(code, l, r, field);
165 int field; local
175 field = 2;
180 return php_turkish_toupper(code, l, r, field);
187 field
196 int field; local
227 int field; local
[all...]
/PHP_5_3/ext/mssql/
H A Dphp_mssql.c111 ZEND_ARG_INFO(0, field)
1718 if (ZEND_NUM_ARGS()==2) { /* field specified explicitly */
1735 Get the length of a MS-SQL field */
1754 if (ZEND_NUM_ARGS()==2) { /* field specified explicitly */
1765 Returns the name of the field given by offset in the result set given by result_id */
1784 if (ZEND_NUM_ARGS()==2) { /* field specified explicitly */
1795 Returns the type of a field */
1814 if (ZEND_NUM_ARGS()==2) { /* field specified explicitly */
1825 Seeks to the specified field offset */
1848 /* {{{ proto string mssql_result(resource result_id, int row, mixed field)
1852 zval **field, *mssql_result_index; local
[all...]
/PHP_5_3/ext/mysqli/
H A Dmysqli_api.c1048 static void php_add_field_properties(zval *value, const MYSQL_FIELD *field TSRMLS_DC)
1050 add_property_string(value, "name", (char *) (field->name ? field->name : ""), 1);
1051 add_property_string(value, "orgname", (char *) (field->org_name ? field->org_name : ""), 1);
1052 add_property_string(value, "table", (char *) (field->table ? field->table : ""), 1);
1053 add_property_string(value, "orgtable", (char *) (field->org_table ? field->org_table : ""), 1);
1054 add_property_string(value, "def", (field
1078 const MYSQL_FIELD *field; local
1114 const MYSQL_FIELD *field = mysql_fetch_field_direct(result, i); local
1131 const MYSQL_FIELD *field; local
[all...]
/PHP_5_3/ext/odbc/
H A Dbirdstep.c470 char *field = NULL; local
479 field = Z_STRVAL_PP(col);
484 if ( field ) {
486 if ( !strcasecmp(res->values[i].name,field)) {
492 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Field %s not found",field);
H A Dphp_odbc.c135 ZEND_ARG_INFO(0, field)
2013 /* {{{ proto mixed odbc_result(resource result_id, mixed field)
2017 char *field; local
2031 field = NULL;
2038 field = Z_STRVAL_PP(pv_field);
2051 /* get field index if the field parameter was a string */
2052 if (field != NULL) {
2059 if (!strcasecmp(result->values[i].name, field)) {
2066 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Field %s not found", field);
[all...]
/PHP_5_3/ext/sqlite/
H A Dsqlite.c2956 Returns the name of a particular field of a result set. */
2961 long field; local
2965 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &field)) {
2970 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl", &zres, &field)) {
2976 if (field < 0 || field >= res->ncolumns) {
2977 php_error_docref(NULL TSRMLS_CC, E_WARNING, "field %ld out of range", field);
2981 RETURN_STRING(res->col_names[field], 1);
/PHP_5_3/ext/sybase_ct/
H A Dphp_sybase_ct.c132 ZEND_ARG_INFO(0, field)
545 * useless. This levels the playing field for all platforms.
1983 Get field information */
2001 if (ZEND_NUM_ARGS() == 2) { /* field specified explicitly */
2019 Set field offset */
2042 /* {{{ proto string sybase_result(resource result, int row, mixed field)
2046 zval *field; local
2052 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rlz", &sybase_result_index, &row, &field) == FAILURE) {
2067 switch(Z_TYPE_P(field)) {
2072 if (strcasecmp(result->fields[i].name, Z_STRVAL_P(field))
[all...]
/PHP_5_3/ext/wddx/
H A Dwddx.c62 #define EL_FIELD "field"
887 zval **field; local
891 zend_hash_find(Z_ARRVAL_P(recordset->data), (char*)atts[i], strlen(atts[i])+1, (void**)&field) == SUCCESS) {
892 ent.data = *field;
966 /* if non-existent field */
/PHP_5_3/main/
H A Dphp.h424 #define XtOffset(p_type, field) _Offsetof(p_type, field)
427 #define XtOffset(p_type, field) \
428 (sizeof(int)*((unsigned int)&(((p_type)NULL)->field)))
432 #define XtOffset(p_type, field) ((unsigned int)&(((p_type)NULL)->field))
438 #define XtOffset(p_type, field) \
439 ((long) (((char *) (&(((p_type)NULL)->field))) - ((char *) NULL)))
446 #define XtOffsetOf(s_type, field) offsetof(s_type, field)
[all...]
/PHP_5_3/sapi/apache_hooks/
H A Dphp_apache.c40 #define offsetof(s_type,field) ((size_t)&(((s_type*)0)->field))
/PHP_5_3/sapi/thttpd/
H A Dthttpd.c307 #define CONDADD(name, field) \
308 if (TG(hc)->field[0]) { \
309 php_register_variable(#name, TG(hc)->field, track_vars_array TSRMLS_CC); \
/PHP_5_3/sapi/tux/
H A Dphp_tux.c229 #define CONDADD(name, field) \
230 if (TG(req)->field[0]) { \
231 php_register_variable(#name, TG(req)->field, track_vars_array TSRMLS_CC); \
/PHP_5_3/sapi/webjames/
H A Dwebjames.c106 #define ADD_NUM(name,field) {\
107 snprintf(buf, BUF_SIZE, "%d", WG(conn)->field);\
111 #define ADD_FIELD(name, field) \
112 if (WG(conn)->field) { \
113 php_register_variable(name, WG(conn)->field, track_vars_array TSRMLS_CC); \
/PHP_5_3/Zend/
H A Dzend_ini.h33 # define XtOffset(p_type, field) _Offsetof(p_type, field)
36 # define XtOffset(p_type, field) \
37 (sizeof(int)*((unsigned int)&(((p_type)NULL)->field)))
41 # define XtOffset(p_type, field) ((unsigned int)&(((p_type)NULL)->field))
47 # define XtOffset(p_type, field) \
48 ((long) (((char *) (&(((p_type)NULL)->field))) - ((char *) NULL)))
53 # define XtOffsetOf(s_type, field) offsetof(s_type, field)
[all...]
/PHP_5_3/ext/mysqlnd/
H A Dmysqlnd_priv.h154 typedef void (*ps_field_fetch_func)(zval *zv, const MYSQLND_FIELD * const field,
180 void ps_fetch_from_1_to_8_bytes(zval *zv, const MYSQLND_FIELD * const field,
H A Dmysqlnd_ps_codec.c56 void ps_fetch_from_1_to_8_bytes(zval *zv, const MYSQLND_FIELD * const field, argument
62 zend_bool is_bit = field->type == MYSQL_TYPE_BIT;
65 if (field->flags & UNSIGNED_FLAG) {
139 void ps_fetch_null(zval *zv, const MYSQLND_FIELD * const field, argument
150 void ps_fetch_int8(zval *zv, const MYSQLND_FIELD * const field, argument
154 ps_fetch_from_1_to_8_bytes(zv, field, pack_len, row, as_unicode, 1 TSRMLS_CC);
161 void ps_fetch_int16(zval *zv, const MYSQLND_FIELD * const field, argument
165 ps_fetch_from_1_to_8_bytes(zv, field, pack_len, row, as_unicode, 2 TSRMLS_CC);
172 void ps_fetch_int32(zval *zv, const MYSQLND_FIELD * const field, argument
176 ps_fetch_from_1_to_8_bytes(zv, field, pack_le
183 ps_fetch_int64(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument
194 ps_fetch_float(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument
211 ps_fetch_double(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument
228 ps_fetch_time(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument
285 ps_fetch_date(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument
336 ps_fetch_datetime(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument
395 ps_fetch_string(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument
427 ps_fetch_bit(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar **row, zend_bool as_unicode TSRMLS_DC) argument
[all...]
H A Dmysqlnd_result.c338 better free and allocate a new because the number of field might change
679 MYSQLND_FIELD *field = result->meta->fields; local
696 for (i = 0; i < field_count; i++, field++, hash_key++) {
713 if (field->max_length < len) {
714 field->max_length = len;
794 MYSQLND_FIELD *field = result->meta->fields; local
810 for (i = 0; i < field_count; i++, field++, hash_key++) {
840 field->name,
841 field->name_length + 1,
851 if (field
962 MYSQLND_FIELD *field = result->meta->fields; local
1038 MYSQLND_FIELD *field = result->meta->fields; local
[all...]
/PHP_5_3/ext/standard/
H A Dfile.c1948 #define FPUTCSV_FLD_CHK(c) memchr(Z_STRVAL(field), c, Z_STRLEN(field))
1959 zval *fp = NULL, *fields = NULL, **field_tmp = NULL, field; local
2001 field = **field_tmp;
2004 zval_copy_ctor(&field);
2005 convert_to_string(&field);
2008 /* enclose a field that contains a delimiter, an enclosure character, or a newline */
2017 char *ch = Z_STRVAL(field);
2018 char *end = ch + Z_STRLEN(field);
2035 smart_str_appendl(&csvline, Z_STRVAL(field), Z_STRLE
[all...]
/PHP_5_3/sapi/fpm/fpm/
H A Dfpm_conf.c51 #define GO(field) offsetof(struct fpm_global_config_s, field)
52 #define WPO(field) offsetof(struct fpm_worker_pool_config_s, field)
/PHP_5_3/ext/mysql/
H A Dphp_mysql.c200 ZEND_ARG_INFO(0, field)
1876 /* {{{ proto mixed mysql_result(resource result, int row [, mixed field])
1880 zval *result, *field=NULL; local
1894 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl|z", &result, &row, &field) == FAILURE) {
1906 if (field) {
1907 switch(Z_TYPE_P(field)) {
1913 if ((tmp=strchr(Z_STRVAL_P(field), '.'))) {
1914 table_name = estrndup(Z_STRVAL_P(field), tmp-Z_STRVAL_P(field));
1918 field_name = estrndup(Z_STRVAL_P(field),Z_STRLEN_
2359 long field=0; local
2432 long field; local
[all...]
/PHP_5_3/ext/pgsql/
H A Dpgsql.c977 /* For pg_result_error_field() field codes */
2139 Returns the name of the table field belongs to, or table's oid if oid_only is true */
2158 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Bad field offset specified");
2239 long field; local
2244 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl", &result, &field) == FAILURE) {
2252 if (field < 0 || field >= PQnfields(pgsql_result)) {
2253 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Bad field offset specified");
2259 Z_STRVAL_P(return_value) = PQfname(pgsql_result, field);
2265 Z_LVAL_P(return_value) = PQfsize(pgsql_result, field);
2335 char *field; local
2357 zval *result, **field=NULL; local
2727 zval *result, **field; local
4257 char *field = NULL; local
5153 char *field = NULL; local
[all...]

Completed in 141 milliseconds