Searched refs:co (Results 1 - 24 of 24) sorted by relevance

/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcre_compile.c4064 unsigned int co; local
4071 if ((co = UCD_CASESET(c)) != 0)
4075 return (int)co;
4091 if ((co = UCD_CASESET(c)) != 0 || UCD_OTHERCASE(c) != next) break;
/PHP_TRUNK/ext/intl/calendar/
H A Dcalendar_class.cpp62 Calendar_object *co = Z_INTL_CALENDAR_P(object); local
64 return co->ucal;
70 Calendar_object *co; local
73 assert(co->ucal == NULL);
74 co->ucal = (Calendar*)calendar;
151 Calendar_object *co; local
160 co = Z_INTL_CALENDAR_P(object);
161 cal = co->ucal;
227 static void calendar_object_init(Calendar_object *co TSRMLS_DC)
229 intl_error_init(CALENDAR_ERROR_P(co) TSRMLS_C
244 Calendar_object* co = php_intl_calendar_fetch_object(object); local
[all...]
H A Dcalendar_class.h46 #define CALENDAR_ERROR(co) (co)->err
47 #define CALENDAR_ERROR_P(co) &(CALENDAR_ERROR(co))
49 #define CALENDAR_ERROR_CODE(co) INTL_ERROR_CODE(CALENDAR_ERROR(co))
50 #define CALENDAR_ERROR_CODE_P(co) &(INTL_ERROR_CODE(CALENDAR_ERROR(co)))
52 #define CALENDAR_METHOD_INIT_VARS INTL_METHOD_INIT_VARS(Calendar, co)
53 #define CALENDAR_METHOD_FETCH_OBJECT_NO_CHECK INTL_METHOD_FETCH_OBJECT(INTL_CALENDAR, co)
[all...]
H A Dcalendar_methods.cpp243 int32_t result = (co->ucal->*func)(
244 (UCalendarDateFields)field, CALENDAR_ERROR_CODE(co));
245 INTL_METHOD_CHECK_STATUS(co, "Call to ICU method has failed");
269 UDate result = co->ucal->getTime(CALENDAR_ERROR_CODE(co));
270 INTL_METHOD_CHECK_STATUS(co,
290 co->ucal->setTime((UDate)time_arg, CALENDAR_ERROR_CODE(co));
291 INTL_METHOD_CHECK_STATUS(co, "Call to underlying method failed");
322 co
[all...]
H A Dgregoriancalendar_methods.cpp35 static inline GregorianCalendar *fetch_greg(Calendar_object *co) { argument
36 return (GregorianCalendar*)co->ucal;
170 Calendar_object *co = Z_INTL_CALENDAR_P(return_value); local
171 co->ucal = gcal;
220 fetch_greg(co)->setGregorianChange(date, CALENDAR_ERROR_CODE(co));
221 INTL_METHOD_CHECK_STATUS(co, "intlgregcal_set_gregorian_change: error "
240 RETURN_DOUBLE((double)fetch_greg(co)->getGregorianChange());
263 RETURN_BOOL((int)fetch_greg(co)->isLeapYear((int32_t)year));
/PHP_TRUNK/ext/intl/collator/
H A Dcollator_attr.c53 value = ucol_getAttribute( co->ucoll, attribute, COLLATOR_ERROR_CODE_P( co ) );
54 COLLATOR_CHECK_STATUS( co, "Error getting attribute value" );
85 ucol_setAttribute( co->ucoll, attribute, value, COLLATOR_ERROR_CODE_P( co ) );
86 COLLATOR_CHECK_STATUS( co, "Error setting attribute value" );
115 RETURN_LONG( ucol_getStrength( co->ucoll ) );
144 ucol_setStrength( co->ucoll, strength );
H A Dcollator_class.c48 Collator_object* co = php_intl_collator_fetch_object(object); local
50 zend_object_std_dtor(&co->zo TSRMLS_CC );
52 collator_object_destroy(co TSRMLS_CC );
155 /* {{{ void collator_object_init( Collator_object* co )
159 void collator_object_init( Collator_object* co TSRMLS_DC )
161 if( !co )
164 intl_error_init( COLLATOR_ERROR_P( co ) TSRMLS_CC );
168 /* {{{ void collator_object_destroy( Collator_object* co )
171 void collator_object_destroy( Collator_object* co TSRMLS_DC )
173 if( !co )
[all...]
H A Dcollator_class.h40 #define COLLATOR_ERROR(co) (co)->err
41 #define COLLATOR_ERROR_P(co) &(COLLATOR_ERROR(co))
43 #define COLLATOR_ERROR_CODE(co) INTL_ERROR_CODE(COLLATOR_ERROR(co))
44 #define COLLATOR_ERROR_CODE_P(co) &(INTL_ERROR_CODE(COLLATOR_ERROR(co)))
52 void collator_object_init( Collator_object* co TSRMLS_DC );
53 void collator_object_destroy( Collator_object* co TSRMLS_D
[all...]
H A Dcollator_compare.c61 if (!co || !co->ucoll) {
62 intl_error_set_code( NULL, COLLATOR_ERROR_CODE( co ) TSRMLS_CC );
63 intl_errors_set_custom_msg( COLLATOR_ERROR_P( co ),
76 &ustr1, &ustr1_len, str1, str1_len, COLLATOR_ERROR_CODE_P( co ) );
77 if( U_FAILURE( COLLATOR_ERROR_CODE( co ) ) )
80 intl_error_set_code( NULL, COLLATOR_ERROR_CODE( co ) TSRMLS_CC );
83 intl_errors_set_custom_msg( COLLATOR_ERROR_P( co ),
92 &ustr2, &ustr2_len, str2, str2_len, COLLATOR_ERROR_CODE_P( co ) );
93 if( U_FAILURE( COLLATOR_ERROR_CODE( co ) ) )
[all...]
H A Dcollator_create.c33 Collator_object* co; local
55 co->ucoll = ucol_open( locale, COLLATOR_ERROR_CODE_P( co ) );
56 INTL_CTOR_CHECK_STATUS(co, "collator_create: unable to open ICU collator");
H A Dcollator_error.c46 co = Z_INTL_COLLATOR_P(object);
47 if( co == NULL )
51 RETURN_LONG( COLLATOR_ERROR_CODE( co ) );
77 co = Z_INTL_COLLATOR_P( object );
78 if( co == NULL )
82 message = intl_error_get_message( COLLATOR_ERROR_P( co ) TSRMLS_CC );
H A Dcollator_locale.c54 if (!co || !co->ucoll) {
55 intl_error_set_code( NULL, COLLATOR_ERROR_CODE( co ) TSRMLS_CC );
56 intl_errors_set_custom_msg( COLLATOR_ERROR_P( co ),
65 co->ucoll, type, COLLATOR_ERROR_CODE_P( co ) );
66 COLLATOR_CHECK_STATUS( co, "Error getting locale by type" );
H A Dcollator_sort.c55 Collator_object* co = NULL; local
72 co = Z_INTL_COLLATOR_P(&INTL_G(current_collator));
74 if (!co || !co->ucoll) {
75 intl_error_set_code( NULL, COLLATOR_ERROR_CODE( co ) TSRMLS_CC );
76 intl_errors_set_custom_msg( COLLATOR_ERROR_P( co ),
84 co->ucoll,
182 Collator_object* co = NULL; local
190 co = Z_INTL_COLLATOR_P(&INTL_G(current_collator));
194 co
[all...]
/PHP_TRUNK/ext/intl/common/
H A Dcommon_date.cpp211 Calendar_object *co = Z_INTL_CALENDAR_P(z); local
212 if (co->ucal == NULL) {
220 rv = (double)co->ucal->getTime(status);
/PHP_TRUNK/ext/intl/normalizer/
H A Dnormalizer_class.h35 #define NORMALIZER_ERROR(co) (co)->err
36 #define NORMALIZER_ERROR_P(co) &(NORMALIZER_ERROR(co))
38 #define NORMALIZER_ERROR_CODE(co) INTL_ERROR_CODE(NORMALIZER_ERROR(co))
39 #define NORMALIZER_ERROR_CODE_P(co) &(INTL_ERROR_CODE(NORMALIZER_ERROR(co)))
/PHP_TRUNK/ext/intl/spoofchecker/
H A Dspoofchecker_class.c42 Spoofchecker_object* co = php_intl_spoofchecker_fetch_object(object); local
44 zend_object_std_dtor(&co->zo TSRMLS_CC);
46 spoofchecker_object_destroy(co TSRMLS_CC);
162 /* {{{ void spoofchecker_object_init( Spoofchecker_object* co )
166 void spoofchecker_object_init(Spoofchecker_object* co TSRMLS_DC)
168 if (!co) {
172 intl_error_init(SPOOFCHECKER_ERROR_P(co) TSRMLS_CC);
176 /* {{{ void spoofchecker_object_destroy( Spoofchecker_object* co )
179 void spoofchecker_object_destroy(Spoofchecker_object* co TSRMLS_DC)
181 if (!co) {
[all...]
H A Dspoofchecker_class.h44 #define SPOOFCHECKER_ERROR(co) (co)->err
45 #define SPOOFCHECKER_ERROR_P(co) &(SPOOFCHECKER_ERROR(co))
47 #define SPOOFCHECKER_ERROR_CODE(co) INTL_ERROR_CODE(SPOOFCHECKER_ERROR(co))
48 #define SPOOFCHECKER_ERROR_CODE_P(co) &(INTL_ERROR_CODE(SPOOFCHECKER_ERROR(co)))
52 void spoofchecker_object_init(Spoofchecker_object* co TSRMLS_DC);
53 void spoofchecker_object_destroy(Spoofchecker_object* co TSRMLS_D
[all...]
H A Dspoofchecker_create.c40 co->uspoof = uspoof_open(SPOOFCHECKER_ERROR_CODE_P(co));
41 INTL_CTOR_CHECK_STATUS(co, "spoofchecker: unable to open ICU Spoof Checker");
47 checks = uspoof_getChecks(co->uspoof, SPOOFCHECKER_ERROR_CODE_P(co));
48 uspoof_setChecks(co->uspoof, checks & ~USPOOF_SINGLE_SCRIPT, SPOOFCHECKER_ERROR_CODE_P(co));
H A Dspoofchecker_main.c41 ret = uspoof_checkUTF8(co->uspoof, text, text_len, NULL, SPOOFCHECKER_ERROR_CODE_P(co));
43 if (U_FAILURE(SPOOFCHECKER_ERROR_CODE(co))) {
44 php_error_docref(NULL TSRMLS_CC, E_WARNING, "(%d) %s", SPOOFCHECKER_ERROR_CODE(co), u_errorName(SPOOFCHECKER_ERROR_CODE(co)));
74 ret = uspoof_areConfusableUTF8(co->uspoof, s1, s1_len, s2, s2_len, SPOOFCHECKER_ERROR_CODE_P(co));
76 if (U_FAILURE(SPOOFCHECKER_ERROR_CODE(co))) {
77 php_error_docref(NULL TSRMLS_CC, E_WARNING, "(%d) %s", SPOOFCHECKER_ERROR_CODE(co), u_errorName(SPOOFCHECKER_ERROR_CODE(co)));
[all...]
/PHP_TRUNK/ext/intl/timezone/
H A Dtimezone_class.h55 #define TIMEZONE_ERROR_CODE(co) INTL_ERROR_CODE(TIMEZONE_ERROR(to))
56 #define TIMEZONE_ERROR_CODE_P(co) &(INTL_ERROR_CODE(TIMEZONE_ERROR(to)))
/PHP_TRUNK/ext/intl/transliterator/
H A Dtransliterator_class.h45 #define TRANSLITERATOR_ERROR( co ) (co)->err
46 #define TRANSLITERATOR_ERROR_P( co ) &(TRANSLITERATOR_ERROR( co ))
48 #define TRANSLITERATOR_ERROR_CODE( co ) INTL_ERROR_CODE(TRANSLITERATOR_ERROR( co ))
49 #define TRANSLITERATOR_ERROR_CODE_P( co ) &(INTL_ERROR_CODE(TRANSLITERATOR_ERROR( co )))
/PHP_TRUNK/ext/pdo_firebird/
H A Dfirebird_driver.c279 char const *co, *l, *r; local
291 for (co = unquoted; (co = strchr(co,'\'')); qcount++, co++);
/PHP_TRUNK/
H A Dmakerpm4 # S Liddicott 1999 sam@campbellsci.co.uk
148 * Wed Jul 21 1999 Sam Liddicott <sam@campbellsci.co.uk>
151 * Wed Mar 17 1999 Sam Liddicott <sam@campbellsci.co.uk>
/PHP_TRUNK/ext/ereg/regex/
H A Dregcomp.c56 #define REQUIRE(co, e) (void) ((co) || SETERROR(e))

Completed in 28 milliseconds