/PHP-5.3/ext/intl/tests/ |
H A D | dateformat_get_set_pattern2.phpt | 28 …//$fmt = ut_datefmt_create( "en-US", IntlDateFormatter::SHORT, IntlDateFormatter::SHORT , 'Americ… 29 …$fmt = ut_datefmt_create( "en-US", IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/New… 30 $pattern = ut_datefmt_get_pattern( $fmt); 32 $formatted = ut_datefmt_format($fmt,0); 40 ut_datefmt_set_pattern( $fmt , $pattern_entry ); 41 $pattern = ut_datefmt_get_pattern( $fmt); 43 $formatted = ut_datefmt_format($fmt,0);
|
H A D | dateformat_set_timezone_id.phpt | 26 …$fmt = ut_datefmt_create( "en_US", IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/San… 27 $timezone_id = ut_datefmt_get_timezone_id( $fmt ); 35 ut_datefmt_set_timezone_id( $fmt , $timezone_id_entry ); 36 $timezone_id = ut_datefmt_get_timezone_id( $fmt ); 38 $formatted = ut_datefmt_format( $fmt, 0); 40 $formatted = ut_datefmt_format( $fmt, 3600);
|
H A D | dateformat_set_timezone_id2.phpt | 26 …$fmt = ut_datefmt_create( "en_US", IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/San… 27 $timezone_id = ut_datefmt_get_timezone_id( $fmt ); 35 ut_datefmt_set_timezone_id( $fmt , $timezone_id_entry ); 36 $timezone_id = ut_datefmt_get_timezone_id( $fmt ); 38 $formatted = ut_datefmt_format( $fmt, 0); 40 $formatted = ut_datefmt_format( $fmt, 3600);
|
H A D | dateformat_get_set_calendar.phpt | 25 …$fmt = ut_datefmt_create( "de-DE", IntlDateFormatter::SHORT, IntlDateFormatter::SHORT ,'America/L… 26 $calendar = ut_datefmt_get_calendar( $fmt); 33 ut_datefmt_set_calendar( $fmt, $calendar_entry); 34 $calendar = ut_datefmt_get_calendar( $fmt);
|
H A D | bug50590.phpt | 8 $fmt = new IntlDateFormatter("en_US", IntlDateFormatter::FULL, IntlDateFormatter::FULL); 9 var_dump($fmt->parse("Wednesday, January 20, 2038 3:14:07 AM GMT"));
|
H A D | formatter_format_conv.phpt | 10 $fmt = ut_nfmt_create( 'en_US', NumberFormatter::DECIMAL ); 13 $str_res = ut_nfmt_format ($fmt, $number, NumberFormatter::TYPE_INT32)."\n";
|
H A D | formatter_get_set_attribute.phpt | 42 $fmt = ut_nfmt_create( "en_US", NumberFormatter::DECIMAL ); 50 $orig_val = ut_nfmt_get_attribute( $fmt, $attr ); 53 $rc = ut_nfmt_format( $fmt, $number ); 55 $ps = ut_nfmt_parse( $fmt, $rc ); 63 $rc = ut_nfmt_set_attribute( $fmt, $attr, $new_val ); 67 … $res_str .= sprintf( "Setting attribute failed: %s\n", ut_nfmt_get_error_message( $fmt ) ); 70 $rc = ut_nfmt_format( $fmt, $number ); 73 $attr_val_check = ut_nfmt_get_attribute( $fmt, $attr ); 77 $ps = ut_nfmt_parse( $fmt, $rc ); 88 ut_nfmt_set_attribute( $fmt, $attr, $orig_val );
|
H A D | formatter_get_set_symbol.phpt | 46 $fmt = ut_nfmt_create( 'en_US', $attr); 51 $orig_val = ut_nfmt_get_symbol( $fmt, $symb ); 55 $res_val = ut_nfmt_set_symbol( $fmt, $symb, $new_val ); 57 $res_str .= "set_symbol() error: " . ut_nfmt_get_error_message( $fmt ) . "\n"; 60 $new_val_check = ut_nfmt_get_symbol( $fmt, $symb ); 62 $res_str .= "get_symbol() error: " . ut_nfmt_get_error_message( $fmt ) . "\n"; 71 $s = ut_nfmt_format( $fmt, $number ); 75 ut_nfmt_set_symbol( $fmt, $symb, $orig_val ); 79 if(ut_nfmt_get_symbol( $fmt, 2147483648 )) {
|
H A D | formatter_get_set_symbol2.phpt | 46 $fmt = ut_nfmt_create( 'en_US', $attr); 51 $orig_val = ut_nfmt_get_symbol( $fmt, $symb ); 55 $res_val = ut_nfmt_set_symbol( $fmt, $symb, $new_val ); 57 $res_str .= "set_symbol() error: " . ut_nfmt_get_error_message( $fmt ) . "\n"; 60 $new_val_check = ut_nfmt_get_symbol( $fmt, $symb ); 62 $res_str .= "get_symbol() error: " . ut_nfmt_get_error_message( $fmt ) . "\n"; 71 $s = ut_nfmt_format( $fmt, $number ); 75 ut_nfmt_set_symbol( $fmt, $symb, $orig_val ); 79 if(ut_nfmt_get_symbol( $fmt, 2147483648 )) {
|
H A D | msgfmt_get_locale.phpt | 24 $fmt = ut_msgfmt_create( $locale, "Test" ); 25 $res_str .= "$locale: " . dump( ut_msgfmt_get_locale( $fmt ) );
|
H A D | dateformat_get_locale.phpt | 27 …$fmt = ut_datefmt_create( $locale_entry , IntlDateFormatter::SHORT,IntlDateFormatter::SHORT,'Ameri… 28 $locale = ut_datefmt_get_locale( $fmt , 1); 34 if(ut_datefmt_get_locale($fmt, $badval)) {
|
H A D | formatter_format.phpt | 53 $fmt = ut_nfmt_create( $locale, $style, $pattern ); 55 if(!$fmt) { 59 …mp( isset($integer[$style])?ut_nfmt_format( $fmt, $number, NumberFormatter::TYPE_INT32):ut_nfmt_fo…
|
H A D | formatter_format2.phpt | 53 $fmt = ut_nfmt_create( $locale, $style, $pattern ); 55 if(!$fmt) { 59 …mp( isset($integer[$style])?ut_nfmt_format( $fmt, $number, NumberFormatter::TYPE_INT32):ut_nfmt_fo…
|
H A D | formatter_get_locale.phpt | 29 $fmt = ut_nfmt_create( $locale, NumberFormatter::DECIMAL ); 34 dump( ut_nfmt_get_locale( $fmt, $loc_type ) ) );
|
H A D | formatter_format_currency.phpt | 33 $fmt = ut_nfmt_create( $locale, NumberFormatter::CURRENCY ); 34 …$res_str .= "$locale: " . var_export( ut_nfmt_format_currency( $fmt, $number, $currency ), true ) …
|
H A D | formatter_format_currency2.phpt | 33 $fmt = ut_nfmt_create( $locale, NumberFormatter::CURRENCY ); 34 …$res_str .= "$locale: " . var_export( ut_nfmt_format_currency( $fmt, $number, $currency ), true ) …
|
H A D | msgfmt_parse.phpt | 39 $fmt = ut_msgfmt_create( $locale, $pattern ); 40 if(!$fmt) { 44 $str_res .= dump( ut_msgfmt_parse( $fmt, $results[$locale] ) ) . "\n";
|
H A D | msgfmt_format.phpt | 31 $fmt = ut_msgfmt_create( $locale, $pattern ); 32 if(!$fmt) { 36 $str_res .= dump( ut_msgfmt_format( $fmt, array($m, $t, $m/$t) ) ) . "\n";
|
H A D | dateformat_get_timezone_id.phpt | 26 …$fmt = ut_datefmt_create( "de-DE", IntlDateFormatter::SHORT, IntlDateFormatter::SHORT, $timezone_… 27 $timezone_id = ut_datefmt_get_timezone_id( $fmt);
|
H A D | dateformat_get_datetype.phpt | 28 …$fmt = ut_datefmt_create( "de-DE", $datetype_entry , IntlDateFormatter::SHORT,'America/Los_Angele… 29 $date_type = ut_datefmt_get_datetype( $fmt);
|
H A D | dateformat_get_timetype.phpt | 28 …$fmt = ut_datefmt_create( "de-DE", IntlDateFormatter::SHORT, $timetype_entry ,'America/Los_Angele… 29 $time_type = ut_datefmt_get_timetype( $fmt);
|
/PHP-5.3/ext/standard/tests/strings/ |
H A D | bug21730.phpt | 6 $fmt = "%s = %s %n"; 12 sscanf($foo, $fmt, $res_a[0], $res_a[1], $res_a[2]); 14 $res_b = sscanf($foo, $fmt);
|
/PHP-5.3/ext/intl/msgformat/ |
H A D | msgformat_helpers.cpp | 51 U_CFUNC int32_t umsg_format_arg_count(UMessageFormat *fmt) in umsg_format_arg_count() argument 54 MessageFormatAdapter::getArgTypeList(*(const MessageFormat*)fmt, fmt_count); in umsg_format_arg_count() 58 U_CFUNC void umsg_format_helper(UMessageFormat *fmt, int arg_count, zval **args, UChar **formatted,… in umsg_format_helper() argument 62 MessageFormatAdapter::getArgTypeList(*(const MessageFormat*)fmt, fmt_count); in umsg_format_helper() 122 ((const MessageFormat*)fmt)->format(fargs, fmt_count, resultStr, fieldPosition, *status); in umsg_format_helper() 137 U_CFUNC void umsg_parse_helper(UMessageFormat *fmt, int *count, zval ***args, UChar *source, int so… in umsg_parse_helper() argument 140 Formattable *fargs = ((const MessageFormat*)fmt)->parse(srcString, *count, *status); in umsg_parse_helper()
|
/PHP-5.3/sapi/fpm/fpm/ |
H A D | zlog.c | 101 void zlog_ex(const char *function, int line, int flags, const char *fmt, ...) /* {{{ */ in zlog_ex() argument 112 va_start(args, fmt); in zlog_ex() 113 len = vsnprintf(buf, buf_size, fmt, args); in zlog_ex() 160 va_start(args, fmt); in zlog_ex() 161 len += vsnprintf(buf + len, buf_size - len, fmt, args); in zlog_ex()
|
/PHP-5.3/ext/sqlite/libsqlite/src/ |
H A D | printf.c | 233 for(; (c=(*fmt))!=0; ++fmt){ in vxprintf() 236 bufpt = (char *)fmt; in vxprintf() 243 if( (c=(*++fmt))==0 ){ in vxprintf() 261 }while( c==0 && (c=(*++fmt))!=0 ); in vxprintf() 270 c = *++fmt; in vxprintf() 274 c = *++fmt; in vxprintf() 283 c = *++fmt; in vxprintf() 287 c = *++fmt; in vxprintf() 291 c = *++fmt; in vxprintf() 302 c = *++fmt; in vxprintf() [all …]
|