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

/PHP_5_5/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_5/ext/intl/calendar/
H A Dcalendar_class.cpp120 UCalendarDateFields field; member in struct:__anon1
209 int32_t res = cal->get(debug_info_fields[i].field, uec);
293 ZEND_ARG_INFO(0, field)
325 ZEND_ARG_INFO(0, field)
343 ZEND_ARG_INFO(0, field)
348 ZEND_ARG_INFO(0, field)
353 ZEND_ARG_INFO(0, field)
H A Dcalendar_methods.cpp222 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 long field, local
303 "Oll", &object, Calendar_ce_ptr, &field, &amount) == FAILURE) {
309 if (field < 0 || field >
466 long field, local
528 long field; local
576 long field; local
670 long field; variable
902 long field; local
[all...]
/PHP_5_5/ext/sockets/
H A Dconversions.c92 one field is to be changed; in that case the
292 "field into value for key '%s'", descr->name);
366 void from_zval_write_int(const zval *arr_value, char *field, ser_context *ctx) argument
383 memcpy(field, &ival, sizeof(ival));
385 static void from_zval_write_uint32(const zval *arr_value, char *field, ser_context *ctx) argument
402 memcpy(field, &ival, sizeof(ival));
404 static void from_zval_write_net_uint16(const zval *arr_value, char *field, ser_context *ctx) argument
421 memcpy(field, &ival, sizeof(ival));
423 static void from_zval_write_sa_family(const zval *arr_value, char *field, ser_context *ctx) argument
440 memcpy(field,
442 from_zval_write_pid_t(const zval *arr_value, char *field, ser_context *ctx) argument
461 from_zval_write_uid_t(const zval *arr_value, char *field, ser_context *ctx) argument
[all...]
/PHP_5_5/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)
2036 /* {{{ proto mixed odbc_result(resource result_id, mixed field)
2040 char *field; local
2054 field = NULL;
2061 field = Z_STRVAL_PP(pv_field);
2074 /* get field index if the field parameter was a string */
2075 if (field != NULL) {
2082 if (!strcasecmp(result->values[i].name, field)) {
2089 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Field %s not found", field);
[all...]
/PHP_5_5/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_5_5/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_5/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_5/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_5_5/ext/mysql/
H A Dphp_mysql.c200 ZEND_ARG_INFO(0, field)
1910 /* {{{ proto mixed mysql_result(resource result, int row [, mixed field])
1914 zval *result, *field=NULL; local
1928 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl|z", &result, &row, &field) == FAILURE) {
1940 if (field) {
1941 switch(Z_TYPE_P(field)) {
1947 if ((tmp=strchr(Z_STRVAL_P(field), '.'))) {
1948 table_name = estrndup(Z_STRVAL_P(field), tmp-Z_STRVAL_P(field));
1952 field_name = estrndup(Z_STRVAL_P(field),Z_STRLEN_
2401 long field=0; local
2474 long field; local
[all...]
/PHP_5_5/ext/mysqli/
H A Dmysqli_api.c1176 static void php_add_field_properties(zval *value, const MYSQL_FIELD *field TSRMLS_DC)
1178 add_property_string(value, "name",(field->name ? field->name : ""), 1);
1179 add_property_string(value, "orgname",(field->org_name ? field->org_name : ""), 1);
1180 add_property_string(value, "table",(field->table ? field->table : ""), 1);
1181 add_property_string(value, "orgtable",(field->org_table ? field->org_table : ""), 1);
1182 add_property_string(value, "def",(field
1206 const MYSQL_FIELD *field; local
1242 const MYSQL_FIELD *field = mysql_fetch_field_direct(result, i); local
1259 const MYSQL_FIELD *field; local
[all...]
/PHP_5_5/ext/pgsql/
H A Dpgsql.c1126 /* For pg_result_error_field() field codes */
2290 Returns the name of the table field belongs to, or table's oid if oid_only is true */
2309 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Bad field offset specified");
2388 long field; local
2393 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl", &result, &field) == FAILURE) {
2401 if (field < 0 || field >= PQnfields(pgsql_result)) {
2402 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Bad field offset specified");
2408 Z_STRVAL_P(return_value) = PQfname(pgsql_result, field);
2414 Z_LVAL_P(return_value) = PQfsize(pgsql_result, field);
2484 char *field; local
2506 zval *result, **field=NULL; local
2872 zval *result, **field; local
4452 char *field = NULL; local
5407 char *field = NULL; local
[all...]
/PHP_5_5/ext/standard/
H A Dfile.c1808 #define FPUTCSV_FLD_CHK(c) memchr(Z_STRVAL(field), c, Z_STRLEN(field))
1876 zval **field_tmp = NULL, field; local
1883 field = **field_tmp;
1886 zval_copy_ctor(&field);
1887 convert_to_string(&field);
1890 /* enclose a field that contains a delimiter, an enclosure character, or a newline */
1899 char *ch = Z_STRVAL(field);
1900 char *end = ch + Z_STRLEN(field);
1917 smart_str_appendl(&csvline, Z_STRVAL(field), Z_STRLE
[all...]
/PHP_5_5/ext/mysqlnd/
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
231 ps_fetch_double(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
246 ps_fetch_time(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
289 ps_fetch_date(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
326 ps_fetch_datetime(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
370 ps_fetch_string(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC) argument
390 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.c314 better free and allocate a new because the number of field might change
656 MYSQLND_FIELD *field = result->meta->fields; local
671 for (i = 0; i < field_count; i++, field++, hash_key++) {
688 if (field->max_length < len) {
689 field->max_length = len;
769 MYSQLND_FIELD *field = result->meta->fields; local
783 for (i = 0; i < field_count; i++, field++, hash_key++) {
806 field->name,
807 field->name_length + 1,
816 if (field
926 MYSQLND_FIELD *field = result->meta->fields; local
999 MYSQLND_FIELD *field = result->meta->fields; local
[all...]

Completed in 70 milliseconds