Searched defs:field (Results 1 - 13 of 13) sorted by relevance

/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/intl/calendar/
H A Dcalendar_class.cpp118 UCalendarDateFields field; member in struct:__anon102
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/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, E_WARNING, "Field %s not found",field);
H A Dphp_odbc.c135 ZEND_ARG_INFO(0, field)
2029 /* {{{ proto mixed odbc_result(resource result_id, mixed field)
2033 char *field; local
2047 field = NULL;
2054 field = Z_STRVAL_P(pv_field);
2069 /* get field index if the field parameter was a string */
2070 if (field != NULL) {
2077 if (!strcasecmp(result->values[i].name, field)) {
2084 php_error_docref(NULL, E_WARNING, "Field %s not found", field);
[all...]
/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/mysqli/
H A Dmysqli_api.c1173 static void php_add_field_properties(zval *value, const MYSQL_FIELD *field) argument
1176 add_property_str(value, "name", zend_string_copy(field->sname));
1178 add_property_stringl(value, "name",(field->name ? field->name : ""), field->name_length);
1181 add_property_stringl(value, "orgname", (field->org_name ? field->org_name : ""), field->org_name_length);
1182 add_property_stringl(value, "table", (field->table ? field
1208 const MYSQL_FIELD *field; local
1244 const MYSQL_FIELD *field = mysql_fetch_field_direct(result, i); local
1260 const MYSQL_FIELD *field; local
[all...]
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_ps_codec.c58 ps_fetch_from_1_to_8_bytes(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, argument
63 zend_bool is_bit = field->type == MYSQL_TYPE_BIT;
66 if (field->flags & UNSIGNED_FLAG) {
131 ps_fetch_null(zval *zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) argument
140 ps_fetch_int8(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) argument
142 ps_fetch_from_1_to_8_bytes(zv, field, pack_len, row, 1);
149 ps_fetch_int16(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) argument
151 ps_fetch_from_1_to_8_bytes(zv, field, pack_len, row, 2);
158 ps_fetch_int32(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) argument
160 ps_fetch_from_1_to_8_bytes(zv, field, pack_le
167 ps_fetch_int64(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) argument
176 ps_fetch_float(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) argument
199 ps_fetch_double(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) argument
214 ps_fetch_time(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) argument
257 ps_fetch_date(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) argument
294 ps_fetch_datetime(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) argument
338 ps_fetch_string(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) argument
358 ps_fetch_bit(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row) 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/sockets/
H A Dconversions.c92 one field is to be changed; in that case the
293 "field into value for key '%s'", descr->name);
365 void from_zval_write_int(const zval *arr_value, char *field, ser_context *ctx) argument
382 memcpy(field, &ival, sizeof(ival));
384 static void from_zval_write_uint32(const zval *arr_value, char *field, ser_context *ctx) argument
401 memcpy(field, &ival, sizeof(ival));
403 static void from_zval_write_net_uint16(const zval *arr_value, char *field, ser_context *ctx) argument
420 memcpy(field, &ival, sizeof(ival));
422 static void from_zval_write_sa_family(const zval *arr_value, char *field, ser_context *ctx) argument
439 memcpy(field,
441 from_zval_write_pid_t(const zval *arr_value, char *field, ser_context *ctx) argument
460 from_zval_write_uid_t(const zval *arr_value, char *field, ser_context *ctx) argument
[all...]
/PHP_TRUNK/ext/wddx/
H A Dwddx.c62 #define EL_FIELD "field"
837 zval *field; local
841 (field = zend_hash_str_find(Z_ARRVAL(recordset->data), (char*)atts[i], strlen(atts[i]))) != NULL) {
842 ZVAL_COPY_VALUE(&ent.data, field);
906 /* if non-existent field */
/PHP_TRUNK/ext/mysql/
H A Dphp_mysql.c194 ZEND_ARG_INFO(0, field)
1976 /* {{{ proto mixed mysql_result(resource result, int row [, mixed field])
1980 zval *result, *field=NULL; local
1994 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rl|z", &result, &row, &field) == FAILURE) {
2008 if (field) {
2009 switch (Z_TYPE_P(field)) {
2015 if ((tmp = strchr(Z_STRVAL_P(field), '.'))) {
2016 table_name = estrndup(Z_STRVAL_P(field), tmp-Z_STRVAL_P(field));
2020 field_name = estrndup(Z_STRVAL_P(field),Z_STRLEN_
2460 zend_long field=0; local
2540 zend_long field; local
[all...]
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c1175 /* For pg_result_error_field() field codes */
2397 Returns the name of the table field belongs to, or table's oid if oid_only is true */
2418 php_error_docref(NULL, E_WARNING, "Bad field offset specified");
2497 zend_long field; local
2502 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rl", &result, &field) == FAILURE) {
2513 if (field < 0 || field >= PQnfields(pgsql_result)) {
2514 php_error_docref(NULL, E_WARNING, "Bad field offset specified");
2520 RETURN_STRING(PQfname(pgsql_result, (int)field));
2523 RETURN_LONG(PQfsize(pgsql_result, (int)field));
2589 char *field; local
2612 zval *result, *field=NULL; local
2977 zval *result, *field; local
4651 char *field = NULL; local
5806 zend_string *field = NULL; local
5828 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(values), num_idx, field, val) { local
6427 zend_hash_update(Z_ARRVAL_P(result), field, &new_val); local
[all...]

Completed in 43 milliseconds