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

/PHP_TRUNK/ext/ereg/regex/
H A Dregcomp.c56 #define REQUIRE(co, e) (void) ((co) || SETERROR(e))
/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/intl/calendar/
H A Dcalendar_class.h41 #define CALENDAR_ERROR(co) (co)->err
42 #define CALENDAR_ERROR_P(co) &(CALENDAR_ERROR(co))
44 #define CALENDAR_ERROR_CODE(co) INTL_ERROR_CODE(CALENDAR_ERROR(co))
45 #define CALENDAR_ERROR_CODE_P(co) &(INTL_ERROR_CODE(CALENDAR_ERROR(co)))
47 #define CALENDAR_METHOD_INIT_VARS INTL_METHOD_INIT_VARS(Calendar, co)
48 #define CALENDAR_METHOD_FETCH_OBJECT_NO_CHECK INTL_METHOD_FETCH_OBJECT(Calendar, co)
[all...]
H A Dcalendar_class.cpp62 Calendar_object *co = (Calendar_object*) local
65 return co->ucal;
71 Calendar_object *co; local
74 assert(co->ucal == NULL);
75 co->ucal = (Calendar*)calendar;
153 Calendar_object *co; local
160 co = (Calendar_object*)zend_object_store_get_object(object TSRMLS_CC);
161 cal = co->ucal;
226 static void calendar_object_init(Calendar_object *co TSRMLS_DC)
228 intl_error_init(CALENDAR_ERROR_P(co) TSRMLS_C
244 Calendar_object* co = (Calendar_object*) object; local
[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;
161 Calendar_object *co = (Calendar_object*)zend_object_store_get_object( local
163 co->ucal = gcal;
211 fetch_greg(co)->setGregorianChange(date, CALENDAR_ERROR_CODE(co));
212 INTL_METHOD_CHECK_STATUS(co, "intlgregcal_set_gregorian_change: error "
231 RETURN_DOUBLE((double)fetch_greg(co)->getGregorianChange());
254 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.c50 Collator_object* co = (Collator_object*)object; local
52 zend_object_std_dtor( &co->zo TSRMLS_CC );
54 collator_object_destroy( co TSRMLS_CC );
56 efree( co );
164 /* {{{ void collator_object_init( Collator_object* co )
168 void collator_object_init( Collator_object* co TSRMLS_DC )
170 if( !co )
173 intl_error_init( COLLATOR_ERROR_P( co ) TSRMLS_CC );
177 /* {{{ void collator_object_destroy( Collator_object* co )
180 void collator_object_destroy( Collator_object* co TSRMLS_D
[all...]
H A Dcollator_class.h39 #define COLLATOR_ERROR(co) (co)->err
40 #define COLLATOR_ERROR_P(co) &(COLLATOR_ERROR(co))
42 #define COLLATOR_ERROR_CODE(co) INTL_ERROR_CODE(COLLATOR_ERROR(co))
43 #define COLLATOR_ERROR_CODE_P(co) &(INTL_ERROR_CODE(COLLATOR_ERROR(co)))
46 void collator_object_init( Collator_object* co TSRMLS_DC );
47 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_error.c46 co = (Collator_object *) zend_object_store_get_object(object TSRMLS_CC);
47 if( co == NULL )
51 RETURN_LONG( COLLATOR_ERROR_CODE( co ) );
77 co = (Collator_object *) zend_object_store_get_object( object TSRMLS_CC );
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
74 co = (Collator_object *) zend_object_store_get_object( INTL_G(current_collator) TSRMLS_CC );
76 if (!co || !co->ucoll) {
77 intl_error_set_code( NULL, COLLATOR_ERROR_CODE( co ) TSRMLS_CC );
78 intl_errors_set_custom_msg( COLLATOR_ERROR_P( co ),
86 co->ucoll,
183 Collator_object* co = NULL; local
191 co = (Collator_object *) zend_object_store_get_object( INTL_G(current_collator) TSRMLS_CC );
195 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");
/PHP_TRUNK/ext/intl/common/
H A Dcommon_date.cpp213 Calendar_object *co = (Calendar_object *) local
215 if (co->ucal == NULL) {
223 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.c44 Spoofchecker_object* co = (Spoofchecker_object*)object; local
46 zend_object_std_dtor(&co->zo TSRMLS_CC);
48 spoofchecker_object_destroy(co TSRMLS_CC);
50 efree(co);
171 /* {{{ void spoofchecker_object_init( Spoofchecker_object* co )
175 void spoofchecker_object_init(Spoofchecker_object* co TSRMLS_DC)
177 if (!co) {
181 intl_error_init(SPOOFCHECKER_ERROR_P(co) TSRMLS_CC);
185 /* {{{ void spoofchecker_object_destroy( Spoofchecker_object* co )
188 void spoofchecker_object_destroy(Spoofchecker_object* co TSRMLS_D
[all...]
H A Dspoofchecker_class.h39 #define SPOOFCHECKER_ERROR(co) (co)->err
40 #define SPOOFCHECKER_ERROR_P(co) &(SPOOFCHECKER_ERROR(co))
42 #define SPOOFCHECKER_ERROR_CODE(co) INTL_ERROR_CODE(SPOOFCHECKER_ERROR(co))
43 #define SPOOFCHECKER_ERROR_CODE_P(co) &(INTL_ERROR_CODE(SPOOFCHECKER_ERROR(co)))
47 void spoofchecker_object_init(Spoofchecker_object* co TSRMLS_DC);
48 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.h50 #define TIMEZONE_ERROR_CODE(co) INTL_ERROR_CODE(TIMEZONE_ERROR(to))
51 #define TIMEZONE_ERROR_CODE_P(co) &(INTL_ERROR_CODE(TIMEZONE_ERROR(to)))
/PHP_TRUNK/ext/intl/transliterator/
H A Dtransliterator_class.h40 #define TRANSLITERATOR_ERROR( co ) (co)->err
41 #define TRANSLITERATOR_ERROR_P( co ) &(TRANSLITERATOR_ERROR( co ))
43 #define TRANSLITERATOR_ERROR_CODE( co ) INTL_ERROR_CODE(TRANSLITERATOR_ERROR( co ))
44 #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/ext/pcre/pcrelib/
H A Dpcre_compile.c4047 unsigned int co; local
4054 if ((co = UCD_CASESET(c)) != 0)
4058 return (int)co;

Completed in 44 milliseconds