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

12

/PHP_TRUNK/ext/spl/internal/
H A Dsplfileobject.inc73 * @param delimiter character used as field separator
/PHP_TRUNK/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_TRUNK/ext/sockets/
H A Dconversions.h35 typedef void (from_zval_write_field)(const zval *arr_value, char *field, ser_context *ctx);
46 void from_zval_write_int(const zval *arr_value, char *field, ser_context *ctx);
H A Dconversions.c92 one field is to be changed; in that case the
292 "field into value for key '%s'", descr->name);
364 void from_zval_write_int(const zval *arr_value, char *field, ser_context *ctx) argument
381 memcpy(field, &ival, sizeof(ival));
383 static void from_zval_write_uint32(const zval *arr_value, char *field, ser_context *ctx) argument
400 memcpy(field, &ival, sizeof(ival));
402 static void from_zval_write_net_uint16(const zval *arr_value, char *field, ser_context *ctx) argument
419 memcpy(field, &ival, sizeof(ival));
421 static void from_zval_write_sa_family(const zval *arr_value, char *field, ser_context *ctx) argument
438 memcpy(field,
440 from_zval_write_pid_t(const zval *arr_value, char *field, ser_context *ctx) argument
459 from_zval_write_uid_t(const zval *arr_value, char *field, ser_context *ctx) argument
[all...]
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_conf.c55 #define GO(field) offsetof(struct fpm_global_config_s, field)
56 #define WPO(field) offsetof(struct fpm_worker_pool_config_s, field)
/PHP_TRUNK/Zend/
H A Dzend_portability.h261 # define XtOffset(p_type, field) _Offsetof(p_type, field)
264 # define XtOffset(p_type, field) \
265 (sizeof(int)*((unsigned int)&(((p_type)NULL)->field)))
269 # define XtOffset(p_type, field) ((unsigned int)&(((p_type)NULL)->field))
275 # define XtOffset(p_type, field) \
276 ((zend_long) (((char *) (&(((p_type)NULL)->field))) - ((char *) NULL)))
281 # define XtOffsetOf(s_type, field) offsetof(s_type, field)
[all...]
/PHP_TRUNK/ext/intl/calendar/
H A Dcalendar_class.cpp118 UCalendarDateFields field; member in struct:__anon98
210 int32_t res = cal->get(debug_info_fields[i].field, uec);
280 ZEND_ARG_INFO(0, field)
312 ZEND_ARG_INFO(0, field)
330 ZEND_ARG_INFO(0, field)
335 ZEND_ARG_INFO(0, field)
340 ZEND_ARG_INFO(0, field)
H A Dcalendar_methods.cpp222 zend_long field; variable
227 "Ol", &object, Calendar_ce_ptr, &field) == FAILURE) {
234 if (field < 0 || field >= UCAL_FIELD_COUNT) {
235 spprintf(&message, 0, "%s: invalid field", method_name);
244 (UCalendarDateFields)field, CALENDAR_ERROR_CODE(co));
298 zend_long field, local
303 "Oll", &object, Calendar_ce_ptr, &field, &amount) == FAILURE) {
309 if (field < 0 || field >
465 zend_long field, local
527 zend_long field; local
575 zend_long field; local
669 zend_long field; variable
901 zend_long field; local
[all...]
/PHP_TRUNK/ext/intl/
H A Dphp_intl.c516 ZEND_ARG_INFO( 0, field )
547 ZEND_ARG_INFO( 0, field )
568 ZEND_ARG_INFO( 0, field )
574 ZEND_ARG_INFO( 0, field )
580 ZEND_ARG_INFO( 0, field )
/PHP_TRUNK/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_TRUNK/ext/mysql/
H A Dphp_mysql.c200 ZEND_ARG_INFO(0, field)
1925 /* {{{ proto mixed mysql_result(resource result, int row [, mixed field])
1929 zval *result, *field=NULL; local
1943 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl|z", &result, &row, &field) == FAILURE) {
1955 if (field) {
1956 switch (Z_TYPE_P(field)) {
1962 if ((tmp = strchr(Z_STRVAL_P(field), '.'))) {
1963 table_name = estrndup(Z_STRVAL_P(field), tmp-Z_STRVAL_P(field));
1967 field_name = estrndup(Z_STRVAL_P(field),Z_STRLEN_
2401 zend_long field=0; local
2476 zend_long field; local
[all...]
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_priv.h155 typedef void (*ps_field_fetch_func)(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC);
192 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 TSRMLS_DC);
H A Dmysqlnd_ps_codec.c57 ps_fetch_from_1_to_8_bytes(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, argument
62 zend_bool is_bit = field->type == MYSQL_TYPE_BIT;
65 if (field->flags & UNSIGNED_FLAG) {
130 ps_fetch_null(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
139 ps_fetch_int8(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
141 ps_fetch_from_1_to_8_bytes(zv, field, pack_len, row, 1 TSRMLS_CC);
148 ps_fetch_int16(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
150 ps_fetch_from_1_to_8_bytes(zv, field, pack_len, row, 2 TSRMLS_CC);
157 ps_fetch_int32(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
159 ps_fetch_from_1_to_8_bytes(zv, field, pack_le
166 ps_fetch_int64(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
175 ps_fetch_float(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
241 ps_fetch_double(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
256 ps_fetch_time(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
299 ps_fetch_date(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
336 ps_fetch_datetime(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
380 ps_fetch_string(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
400 ps_fetch_bit(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
[all...]
H A Dmysqlnd_result.c363 better free and allocate a new because the number of field might change
733 MYSQLND_FIELD * field = meta->fields; local
736 for (i = 0; i < field_count; i++, field++) {
753 if (field->max_length < len) {
754 field->max_length = len;
851 MYSQLND_FIELD * field = meta->fields; local
854 for (i = 0; i < field_count; i++, field++) {
882 if (field->max_length < len) {
883 field->max_length = len;
/PHP_TRUNK/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)
2012 /* {{{ proto mixed odbc_result(resource result_id, mixed field)
2016 char *field; local
2030 field = NULL;
2037 field = Z_STRVAL_P(pv_field);
2050 /* get field index if the field parameter was a string */
2051 if (field != NULL) {
2058 if (!strcasecmp(result->values[i].name, field)) {
2065 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Field %s not found", field);
[all...]
/PHP_TRUNK/ext/sybase_ct/
H A Dphp_sybase_ct.c132 ZEND_ARG_INFO(0, field)
545 * useless. This levels the playing field for all platforms.
1978 Get field information */
1996 if (ZEND_NUM_ARGS() == 2) { /* field specified explicitly */
2014 Set field offset */
2037 /* {{{ proto string sybase_result(resource result, int row, mixed field)
2041 zval *field; local
2047 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rlz", &sybase_result_index, &row, &field) == FAILURE) {
2062 switch(Z_TYPE_P(field)) {
2067 if (strcasecmp(result->fields[i].name, Z_STRVAL_P(field))
[all...]
/PHP_TRUNK/main/
H A Dphp.h422 #define XtOffset(p_type, field) _Offsetof(p_type, field)
425 #define XtOffset(p_type, field) \
426 (sizeof(int)*((unsigned int)&(((p_type)NULL)->field)))
430 #define XtOffset(p_type, field) ((unsigned int)&(((p_type)NULL)->field))
436 #define XtOffset(p_type, field) \
437 ((zend_long) (((char *) (&(((p_type)NULL)->field))) - ((char *) NULL)))
444 #define XtOffsetOf(s_type, field) offsetof(s_type, field)
[all...]
/PHP_TRUNK/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_TRUNK/ext/mssql/
H A Dphp_mssql.c111 ZEND_ARG_INFO(0, field)
1713 if (ZEND_NUM_ARGS()==2) { /* field specified explicitly */
1730 Get the length of a MS-SQL field */
1749 if (ZEND_NUM_ARGS()==2) { /* field specified explicitly */
1760 Returns the name of the field given by offset in the result set given by result_id */
1779 if (ZEND_NUM_ARGS()==2) { /* field specified explicitly */
1790 Returns the type of a field */
1809 if (ZEND_NUM_ARGS()==2) { /* field specified explicitly */
1820 Seeks to the specified field offset */
1843 /* {{{ proto string mssql_result(resource result_id, int row, mixed field)
1847 zval **field, *mssql_result_index; local
[all...]
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c1170 /* For pg_result_error_field() field codes */
2394 Returns the name of the table field belongs to, or table's oid if oid_only is true */
2413 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Bad field offset specified");
2492 zend_long field; local
2497 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl", &result, &field) == FAILURE) {
2505 if (field < 0 || field >= PQnfields(pgsql_result)) {
2506 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Bad field offset specified");
2512 RETURN_STRING(PQfname(pgsql_result, field));
2515 RETURN_LONG(PQfsize(pgsql_result, field));
2581 char *field; local
2602 zval *result, *field=NULL; local
2953 zval *result, *field; local
4578 char *field = NULL; local
5729 zend_string *field = NULL; local
5751 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(values), num_idx, field, val) { local
6345 zend_hash_update(Z_ARRVAL_P(result), field, &new_val); local
[all...]
/PHP_TRUNK/ext/wddx/
H A Dwddx.c62 #define EL_FIELD "field"
841 zval *field; local
845 (field = zend_hash_str_find(Z_ARRVAL(recordset->data), (char*)atts[i], strlen(atts[i]))) != NULL) {
846 ZVAL_COPY_VALUE(&ent.data, field);
911 /* if non-existent field */
/PHP_TRUNK/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_TRUNK/sapi/tux/
H A Dphp_tux.c225 #define CONDADD(name, field) \
226 if (TG(req)->field[0]) { \
227 php_register_variable(#name, TG(req)->field, track_vars_array TSRMLS_CC); \
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_api.c1149 static void php_add_field_properties(zval *value, const MYSQL_FIELD *field TSRMLS_DC)
1152 add_property_str(value, "name", zend_string_copy(field->sname));
1154 add_property_stringl(value, "name",(field->name ? field->name : ""), field->name_length);
1157 add_property_stringl(value, "orgname", (field->org_name ? field->org_name : ""), field->org_name_length);
1158 add_property_stringl(value, "table", (field->table ? field
1184 const MYSQL_FIELD *field; local
1220 const MYSQL_FIELD *field = mysql_fetch_field_direct(result, i); local
1236 const MYSQL_FIELD *field; local
[all...]

Completed in 49 milliseconds

12