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

12

/PHP_5_6/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...]
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);
/PHP_5_6/ext/spl/internal/
H A Dsplfileobject.inc73 * @param delimiter character used as field separator
/PHP_5_6/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_6/ext/intl/calendar/
H A Dcalendar_class.cpp120 UCalendarDateFields field; member in struct:__anon192
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_6/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_6/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_6/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_6/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)
2037 /* {{{ proto mixed odbc_result(resource result_id, mixed field)
2041 char *field; local
2055 field = NULL;
2062 field = Z_STRVAL_PP(pv_field);
2075 /* get field index if the field parameter was a string */
2076 if (field != NULL) {
2083 if (!strcasecmp(result->values[i].name, field)) {
2090 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Field %s not found", field);
[all...]
/PHP_5_6/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_6/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_6/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_6/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_6/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 ((long) (((char *) (&(((p_type)NULL)->field))) - ((char *) NULL)))
444 #define XtOffsetOf(s_type, field) offsetof(s_type, field)
[all...]
/PHP_5_6/ext/wddx/
H A Dwddx.c62 #define EL_FIELD "field"
885 zval **field; local
889 zend_hash_find(Z_ARRVAL_P(recordset->data), (char*)atts[i], strlen(atts[i])+1, (void**)&field) == SUCCESS) {
890 ent.data = *field;
964 /* if non-existent field */
/PHP_5_6/ext/mysqlnd/
H A Dmysqlnd_priv.h162 typedef void (*ps_field_fetch_func)(zval * zv, const MYSQLND_FIELD * const field, unsigned int pack_len, zend_uchar ** row TSRMLS_DC);
199 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_result.c433 better free and allocate a new because the number of field might change
812 MYSQLND_FIELD * field = meta->fields; local
815 for (i = 0; i < field_count; i++, field++) {
832 if (field->max_length < len) {
833 field->max_length = len;
930 MYSQLND_FIELD * field = meta->fields; local
933 for (i = 0; i < field_count; i++, field++) {
952 field->name,
953 field->name_length + 1,
965 if (field
[all...]
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...]
/PHP_5_6/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_
2390 long field=0; local
2463 long field; local
[all...]
/PHP_5_6/ext/mysqli/
H A Dmysqli_api.c1184 static void php_add_field_properties(zval *value, const MYSQL_FIELD *field TSRMLS_DC)
1186 add_property_string(value, "name",(field->name ? field->name : ""), 1);
1187 add_property_string(value, "orgname",(field->org_name ? field->org_name : ""), 1);
1188 add_property_string(value, "table",(field->table ? field->table : ""), 1);
1189 add_property_string(value, "orgtable",(field->org_table ? field->org_table : ""), 1);
1190 add_property_string(value, "def",(field
1214 const MYSQL_FIELD *field; local
1250 const MYSQL_FIELD *field = mysql_fetch_field_direct(result, i); local
1267 const MYSQL_FIELD *field; local
[all...]
/PHP_5_6/ext/standard/
H A Dfile.c1816 #define FPUTCSV_FLD_CHK(c) memchr(Z_STRVAL(field), c, Z_STRLEN(field))
1884 zval **field_tmp = NULL, field; local
1891 field = **field_tmp;
1894 zval_copy_ctor(&field);
1895 convert_to_string(&field);
1898 /* enclose a field that contains a delimiter, an enclosure character, or a newline */
1907 char *ch = Z_STRVAL(field);
1908 char *end = ch + Z_STRLEN(field);
1925 smart_str_appendl(&csvline, Z_STRVAL(field), Z_STRLE
[all...]
/PHP_5_6/ext/pgsql/
H A Dpgsql.c1171 /* For pg_result_error_field() field codes */
2401 Returns the name of the table field belongs to, or table's oid if oid_only is true */
2420 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Bad field offset specified");
2499 long field; local
2504 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl", &result, &field) == FAILURE) {
2512 if (field < 0 || field >= PQnfields(pgsql_result)) {
2513 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Bad field offset specified");
2519 Z_STRVAL_P(return_value) = PQfname(pgsql_result, field);
2525 Z_LVAL_P(return_value) = PQfsize(pgsql_result, field);
2595 char *field; local
2617 zval *result, **field=NULL; local
2972 zval *result, **field; local
4604 char *field = NULL; local
5772 char *field = NULL; local
[all...]
/PHP_5_6/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 )

Completed in 75 milliseconds

12