field 313 Zend/zend_portability.h # define XtOffset(p_type, field) _Offsetof(p_type, field) field 316 Zend/zend_portability.h # define XtOffset(p_type, field) \ field 317 Zend/zend_portability.h (sizeof(int)*((unsigned int)&(((p_type)NULL)->field))) field 321 Zend/zend_portability.h # define XtOffset(p_type, field) ((unsigned int)&(((p_type)NULL)->field)) field 327 Zend/zend_portability.h # define XtOffset(p_type, field) \ field 328 Zend/zend_portability.h ((zend_long) (((char *) (&(((p_type)NULL)->field))) - ((char *) NULL))) field 333 Zend/zend_portability.h # define XtOffsetOf(s_type, field) offsetof(s_type, field) field 335 Zend/zend_portability.h # define XtOffsetOf(s_type, field) XtOffset(s_type*, field) field 517 ext/intl/php_intl.c ZEND_ARG_INFO( 0, field ) field 548 ext/intl/php_intl.c ZEND_ARG_INFO( 0, field ) field 569 ext/intl/php_intl.c ZEND_ARG_INFO( 0, field ) field 575 ext/intl/php_intl.c ZEND_ARG_INFO( 0, field ) field 581 ext/intl/php_intl.c ZEND_ARG_INFO( 0, field ) field 411 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c int field = 0; field 417 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c if (field >= sizeof(fields) / sizeof(*fields)) { field 449 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c fields[field++] = q; field 455 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c if (field == 0 || field == 1) { field 457 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c } else if (field != 2) { field 458 ext/mbstring/libmbfl/tests/conv_encoding.tests/gen_exp.c fprintf(stderr, "Unexpected field count (expected 2, got %d)\n", field); field 122 ext/mbstring/php_unicode.c static unsigned long case_lookup(unsigned long code, long l, long r, int field) field 141 ext/mbstring/php_unicode.c return _uccase_map[m + field]; field 147 ext/mbstring/php_unicode.c MBSTRING_API unsigned long php_turkish_toupper(unsigned long code, long l, long r, int field) field 152 ext/mbstring/php_unicode.c return case_lookup(code, l, r, field); field 155 ext/mbstring/php_unicode.c MBSTRING_API unsigned long php_turkish_tolower(unsigned long code, long l, long r, int field) field 160 ext/mbstring/php_unicode.c return case_lookup(code, l, r, field); field 165 ext/mbstring/php_unicode.c int field; field 175 ext/mbstring/php_unicode.c field = 2; field 180 ext/mbstring/php_unicode.c return php_turkish_toupper(code, l, r, field); field 187 ext/mbstring/php_unicode.c field = 1; field 191 ext/mbstring/php_unicode.c return case_lookup(code, l, r, field); field 196 ext/mbstring/php_unicode.c int field; field 206 ext/mbstring/php_unicode.c field = 1; field 211 ext/mbstring/php_unicode.c return php_turkish_tolower(code, l, r, field); field 218 ext/mbstring/php_unicode.c field = 2; field 222 ext/mbstring/php_unicode.c return case_lookup(code, l, r, field); field 227 ext/mbstring/php_unicode.c int field; field 236 ext/mbstring/php_unicode.c field = 2; field 251 ext/mbstring/php_unicode.c return case_lookup(code, l, r, field); field 1153 ext/mysqli/mysqli_api.c static void php_add_field_properties(zval *value, const MYSQL_FIELD *field) field 1156 ext/mysqli/mysqli_api.c add_property_str(value, "name", zend_string_copy(field->sname)); field 1158 ext/mysqli/mysqli_api.c add_property_stringl(value, "name",(field->name ? field->name : ""), field->name_length); field 1161 ext/mysqli/mysqli_api.c add_property_stringl(value, "orgname", (field->org_name ? field->org_name : ""), field->org_name_length); field 1162 ext/mysqli/mysqli_api.c add_property_stringl(value, "table", (field->table ? field->table : ""), field->table_length); field 1163 ext/mysqli/mysqli_api.c add_property_stringl(value, "orgtable", (field->org_table ? field->org_table : ""), field->org_table_length); field 1164 ext/mysqli/mysqli_api.c add_property_stringl(value, "def", (field->def ? field->def : ""), field->def_length); field 1165 ext/mysqli/mysqli_api.c add_property_stringl(value, "db", (field->db ? field->db : ""), field->db_length); field 1173 ext/mysqli/mysqli_api.c add_property_long(value, "max_length", field->max_length); field 1174 ext/mysqli/mysqli_api.c add_property_long(value, "length", field->length); field 1175 ext/mysqli/mysqli_api.c add_property_long(value, "charsetnr", field->charsetnr); field 1176 ext/mysqli/mysqli_api.c add_property_long(value, "flags", field->flags); field 1177 ext/mysqli/mysqli_api.c add_property_long(value, "type", field->type); field 1178 ext/mysqli/mysqli_api.c add_property_long(value, "decimals", field->decimals); field 1188 ext/mysqli/mysqli_api.c const MYSQL_FIELD *field; field 1196 ext/mysqli/mysqli_api.c if (!(field = mysql_fetch_field(result))) { field 1201 ext/mysqli/mysqli_api.c php_add_field_properties(return_value, field); field 1224 ext/mysqli/mysqli_api.c const MYSQL_FIELD *field = mysql_fetch_field_direct(result, i); field 1228 ext/mysqli/mysqli_api.c php_add_field_properties(&obj, field); field 1240 ext/mysqli/mysqli_api.c const MYSQL_FIELD *field; field 1254 ext/mysqli/mysqli_api.c if (!(field = mysql_fetch_field_direct(result,offset))) { field 1259 ext/mysqli/mysqli_api.c php_add_field_properties(return_value, field); field 141 ext/mysqlnd/mysqlnd_priv.h typedef void (*ps_field_fetch_func)(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row); field 178 ext/mysqlnd/mysqlnd_priv.h void ps_fetch_from_1_to_8_bytes(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row, unsigned int byte_count); field 58 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_from_1_to_8_bytes(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, field 63 ext/mysqlnd/mysqlnd_ps_codec.c zend_bool is_bit = field->type == MYSQL_TYPE_BIT; field 66 ext/mysqlnd/mysqlnd_ps_codec.c if (field->flags & UNSIGNED_FLAG) { field 131 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_null(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) field 140 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_int8(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) field 142 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_from_1_to_8_bytes(zv, field, pack_len, row, 1); field 149 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_int16(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) field 151 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_from_1_to_8_bytes(zv, field, pack_len, row, 2); field 158 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_int32(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) field 160 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_from_1_to_8_bytes(zv, field, pack_len, row, 4); field 167 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_int64(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) field 169 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_from_1_to_8_bytes(zv, field, pack_len, row, 8); field 176 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_float(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) field 189 ext/mysqlnd/mysqlnd_ps_codec.c dval = mysql_float_to_double(fval, (field->decimals >= NOT_FIXED_DEC) ? -1 : field->decimals); field 199 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_double(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) field 214 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_time(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) field 257 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_date(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) field 294 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_datetime(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) field 338 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_string(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) field 358 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_bit(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) field 361 ext/mysqlnd/mysqlnd_ps_codec.c ps_fetch_from_1_to_8_bytes(zv, field, pack_len, row, length); field 733 ext/mysqlnd/mysqlnd_result.c MYSQLND_FIELD * field = meta->fields; field 736 ext/mysqlnd/mysqlnd_result.c for (i = 0; i < field_count; i++, field++) { field 753 ext/mysqlnd/mysqlnd_result.c if (field->max_length < len) { field 754 ext/mysqlnd/mysqlnd_result.c field->max_length = len; field 851 ext/mysqlnd/mysqlnd_result.c MYSQLND_FIELD * field = meta->fields; field 854 ext/mysqlnd/mysqlnd_result.c for (i = 0; i < field_count; i++, field++) { field 882 ext/mysqlnd/mysqlnd_result.c if (field->max_length < len) { field 883 ext/mysqlnd/mysqlnd_result.c field->max_length = len; field 470 ext/odbc/birdstep.c char *field = NULL; field 479 ext/odbc/birdstep.c field = Z_STRVAL_PP(col); field 484 ext/odbc/birdstep.c if ( field ) { field 486 ext/odbc/birdstep.c if ( !strcasecmp(res->values[i].name,field)) { field 492 ext/odbc/birdstep.c php_error_docref(NULL, E_WARNING, "Field %s not found",field); field 135 ext/odbc/php_odbc.c ZEND_ARG_INFO(0, field) field 2072 ext/odbc/php_odbc.c char *field; field 2087 ext/odbc/php_odbc.c field = NULL; field 2094 ext/odbc/php_odbc.c field = Z_STRVAL_P(pv_field); field 2110 ext/odbc/php_odbc.c if (field != NULL) { field 2117 ext/odbc/php_odbc.c if (!strcasecmp(result->values[i].name, field)) { field 2124 ext/odbc/php_odbc.c php_error_docref(NULL, E_WARNING, "Field %s not found", field); field 2231 ext/odbc/php_odbc.c field = emalloc(fieldsize); field 2235 ext/odbc/php_odbc.c rc = SQLGetData(result->stmt, (SQLUSMALLINT)(field_ind + 1),sql_c_type, field, fieldsize, &result->values[field_ind].vallen); field 2239 ext/odbc/php_odbc.c efree(field); field 2244 ext/odbc/php_odbc.c efree(field); field 2248 ext/odbc/php_odbc.c PHPWRITE(field,(rc == SQL_SUCCESS_WITH_INFO) ? 4095 : result->values[field_ind].vallen); field 2251 ext/odbc/php_odbc.c efree(field); field 582 ext/pcntl/pcntl.c #define PHP_RUSAGE_PARA(from, to, field) \ field 583 ext/pcntl/pcntl.c add_assoc_long(to, #field, from.field) field 2496 ext/pgsql/pgsql.c zend_long field; field 2501 ext/pgsql/pgsql.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rl", &result, &field) == FAILURE) { field 2512 ext/pgsql/pgsql.c if (field < 0 || field >= PQnfields(pgsql_result)) { field 2519 ext/pgsql/pgsql.c RETURN_STRING(PQfname(pgsql_result, (int)field)); field 2522 ext/pgsql/pgsql.c RETURN_LONG(PQfsize(pgsql_result, (int)field)); field 2525 ext/pgsql/pgsql.c char *name = get_field_name(pg_result->conn, PQftype(pgsql_result, (int)field), &EG(regular_list)); field 2532 ext/pgsql/pgsql.c oid = PQftype(pgsql_result, (int)field); field 2588 ext/pgsql/pgsql.c char *field; field 2593 ext/pgsql/pgsql.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &result, &field, &field_len) == FAILURE) { field 2603 ext/pgsql/pgsql.c RETURN_LONG(PQfnumber(pgsql_result, field)); field 2611 ext/pgsql/pgsql.c zval *result, *field=NULL; field 2618 ext/pgsql/pgsql.c if (zend_parse_parameters(argc, "rz", &result, &field) == FAILURE) { field 2622 ext/pgsql/pgsql.c if (zend_parse_parameters(argc, "rlz", &result, &row, &field) == FAILURE) { field 2648 ext/pgsql/pgsql.c switch (Z_TYPE_P(field)) { field 2650 ext/pgsql/pgsql.c field_offset = PQfnumber(pgsql_result, Z_STRVAL_P(field)); field 2657 ext/pgsql/pgsql.c convert_to_long_ex(field); field 2658 ext/pgsql/pgsql.c if (Z_LVAL_P(field) < 0 || Z_LVAL_P(field) >= PQnfields(pgsql_result)) { field 2662 ext/pgsql/pgsql.c field_offset = (int)Z_LVAL_P(field); field 2974 ext/pgsql/pgsql.c zval *result, *field; field 2981 ext/pgsql/pgsql.c if (zend_parse_parameters(argc, "rz", &result, &field) == FAILURE) { field 2985 ext/pgsql/pgsql.c if (zend_parse_parameters(argc, "rlz", &result, &row, &field) == FAILURE) { field 3012 ext/pgsql/pgsql.c switch (Z_TYPE_P(field)) { field 3014 ext/pgsql/pgsql.c convert_to_string_ex(field); field 3015 ext/pgsql/pgsql.c field_offset = PQfnumber(pgsql_result, Z_STRVAL_P(field)); field 3022 ext/pgsql/pgsql.c convert_to_long_ex(field); field 3023 ext/pgsql/pgsql.c if (Z_LVAL_P(field) < 0 || Z_LVAL_P(field) >= PQnfields(pgsql_result)) { field 3027 ext/pgsql/pgsql.c field_offset = (int)Z_LVAL_P(field); field 4648 ext/pgsql/pgsql.c char *field = NULL; field 4673 ext/pgsql/pgsql.c field = (char *)PQresultErrorField(pgsql_result, (int)fieldcode); field 4674 ext/pgsql/pgsql.c if (field == NULL) { field 4677 ext/pgsql/pgsql.c RETURN_STRING(field); field 5793 ext/pgsql/pgsql.c php_error_docref(NULL, E_NOTICE, "Detected NULL for 'NOT NULL' field '%s'", ZSTR_VAL(field)); \ field 5803 ext/pgsql/pgsql.c zend_string *field = NULL; field 5824 ext/pgsql/pgsql.c ZEND_HASH_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(values), field, val) { field 5828 ext/pgsql/pgsql.c if (!err && field == NULL) { field 5833 ext/pgsql/pgsql.c if (!err && (def = zend_hash_find(Z_ARRVAL(meta), field)) == NULL) { field 5834 ext/pgsql/pgsql.c php_error_docref(NULL, E_NOTICE, "Invalid field name (%s) in values", ZSTR_VAL(field)); field 5893 ext/pgsql/pgsql.c php_error_docref(NULL, E_NOTICE, "Detected invalid value (%s) for PostgreSQL %s field (%s)", Z_STRVAL_P(val), Z_STRVAL_P(type), ZSTR_VAL(field)); field 5925 ext/pgsql/pgsql.c php_error_docref(NULL, E_NOTICE, "Expects string, null, long or boolelan value for PostgreSQL '%s' (%s)", Z_STRVAL_P(type), ZSTR_VAL(field)); field 5967 ext/pgsql/pgsql.c php_error_docref(NULL, E_NOTICE, "Expects NULL, string, long or double value for pgsql '%s' (%s)", Z_STRVAL_P(type), ZSTR_VAL(field)); field 6013 ext/pgsql/pgsql.c php_error_docref(NULL, E_NOTICE, "Expects NULL, string, long or double value for PostgreSQL '%s' (%s)", Z_STRVAL_P(type), ZSTR_VAL(field)); field 6076 ext/pgsql/pgsql.c php_error_docref(NULL, E_NOTICE, "Expects NULL, string, long or double value for PostgreSQL '%s' (%s)", Z_STRVAL_P(type), ZSTR_VAL(field)); field 6118 ext/pgsql/pgsql.c php_error_docref(NULL, E_NOTICE, "Expects NULL, string, long or double value for '%s' (%s)", Z_STRVAL_P(type), ZSTR_VAL(field)); field 6150 ext/pgsql/pgsql.c php_error_docref(NULL, E_NOTICE, "Expects NULL or string for '%s' (%s)", Z_STRVAL_P(type), ZSTR_VAL(field)); field 6183 ext/pgsql/pgsql.c php_error_docref(NULL, E_NOTICE, "Expects NULL or string for PostgreSQL %s field (%s)", Z_STRVAL_P(type), ZSTR_VAL(field)); field 6214 ext/pgsql/pgsql.c php_error_docref(NULL, E_NOTICE, "Expects NULL or string for PostgreSQL %s field (%s)", Z_STRVAL_P(type), ZSTR_VAL(field)); field 6245 ext/pgsql/pgsql.c php_error_docref(NULL, E_NOTICE, "Expects NULL or string for PostgreSQL %s field (%s)", Z_STRVAL_P(type), ZSTR_VAL(field)); field 6324 ext/pgsql/pgsql.c php_error_docref(NULL, E_NOTICE, "Expects NULL or string for PostgreSQL %s field (%s)", Z_STRVAL_P(type), ZSTR_VAL(field)); field 6372 ext/pgsql/pgsql.c php_error_docref(NULL, E_NOTICE, "Expects NULL, string, long or double value for PostgreSQL '%s' (%s)", Z_STRVAL_P(type), ZSTR_VAL(field)); field 6403 ext/pgsql/pgsql.c php_error_docref(NULL, E_NOTICE, "Expects NULL or string for PostgreSQL %s field (%s)", Z_STRVAL_P(type), ZSTR_VAL(field)); field 6409 ext/pgsql/pgsql.c php_error_docref(NULL, E_NOTICE, "Unknown or system data type '%s' for '%s'. Report error", Z_STRVAL_P(type), ZSTR_VAL(field)); field 6422 ext/pgsql/pgsql.c if (_php_pgsql_detect_identifier_escape(ZSTR_VAL(field), ZSTR_LEN(field)) == SUCCESS) { field 6423 ext/pgsql/pgsql.c zend_hash_update(Z_ARRVAL_P(result), field, &new_val); field 6425 ext/pgsql/pgsql.c escaped = PGSQLescapeIdentifier(pg_link, ZSTR_VAL(field), ZSTR_LEN(field)); field 365 ext/sockets/conversions.c void from_zval_write_int(const zval *arr_value, char *field, ser_context *ctx) field 382 ext/sockets/conversions.c memcpy(field, &ival, sizeof(ival)); field 384 ext/sockets/conversions.c static void from_zval_write_uint32(const zval *arr_value, char *field, ser_context *ctx) field 401 ext/sockets/conversions.c memcpy(field, &ival, sizeof(ival)); field 403 ext/sockets/conversions.c static void from_zval_write_net_uint16(const zval *arr_value, char *field, ser_context *ctx) field 420 ext/sockets/conversions.c memcpy(field, &ival, sizeof(ival)); field 422 ext/sockets/conversions.c static void from_zval_write_sa_family(const zval *arr_value, char *field, ser_context *ctx) field 439 ext/sockets/conversions.c memcpy(field, &ival, sizeof(ival)); field 441 ext/sockets/conversions.c static void from_zval_write_pid_t(const zval *arr_value, char *field, ser_context *ctx) field 458 ext/sockets/conversions.c memcpy(field, &ival, sizeof(ival)); field 460 ext/sockets/conversions.c static void from_zval_write_uid_t(const zval *arr_value, char *field, ser_context *ctx) field 486 ext/sockets/conversions.c memcpy(field, &ival, sizeof(ival)); field 35 ext/sockets/conversions.h typedef void (from_zval_write_field)(const zval *arr_value, char *field, ser_context *ctx); field 46 ext/sockets/conversions.h void from_zval_write_int(const zval *arr_value, char *field, ser_context *ctx); field 835 ext/wddx/wddx.c zval *field; field 839 ext/wddx/wddx.c (field = zend_hash_str_find(Z_ARRVAL(recordset->data), (char*)atts[i], strlen((char *)atts[i]))) != NULL) { field 840 ext/wddx/wddx.c ZVAL_COPY_VALUE(&ent.data, field); field 412 main/php.h #define XtOffset(p_type, field) _Offsetof(p_type, field) field 415 main/php.h #define XtOffset(p_type, field) \ field 416 main/php.h (sizeof(int)*((unsigned int)&(((p_type)NULL)->field))) field 420 main/php.h #define XtOffset(p_type, field) ((unsigned int)&(((p_type)NULL)->field)) field 426 main/php.h #define XtOffset(p_type, field) \ field 427 main/php.h ((zend_long) (((char *) (&(((p_type)NULL)->field))) - ((char *) NULL))) field 434 main/php.h #define XtOffsetOf(s_type, field) offsetof(s_type, field) field 436 main/php.h #define XtOffsetOf(s_type, field) XtOffset(s_type*, field) field 55 sapi/fpm/fpm/fpm_conf.c #define GO(field) offsetof(struct fpm_global_config_s, field) field 56 sapi/fpm/fpm/fpm_conf.c #define WPO(field) offsetof(struct fpm_worker_pool_config_s, field)