Searched refs:TSRMLS_CC (Results 1 - 25 of 579) sorted by relevance

1234567891011>>

/PHP_TRUNK/ext/bcmath/libbcmath/src/
H A Draisemod.c52 if (bc_is_zero(mod TSRMLS_CC)) return -1;
59 bc_init_num(&parity TSRMLS_CC);
69 bc_divide (exponent, BCG(_one_), &exponent, 0 TSRMLS_CC); /*truncate */
78 while ( !bc_is_zero(exponent TSRMLS_CC) )
80 (void) bc_divmod (exponent, BCG(_two_), &exponent, &parity, 0 TSRMLS_CC);
81 if ( !bc_is_zero(parity TSRMLS_CC) )
83 bc_multiply (temp, power, &temp, rscale TSRMLS_CC);
84 (void) bc_modulo (temp, mod, &temp, scale TSRMLS_CC);
87 bc_multiply (power, power, &power, rscale TSRMLS_CC);
88 (void) bc_modulo (power, mod, &power, scale TSRMLS_CC);
[all...]
/PHP_TRUNK/ext/intl/collator/
H A Dcollator_attr.c41 if( zend_parse_method_parameters( ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Ol",
45 "collator_get_attribute: unable to parse input params", 0 TSRMLS_CC );
72 if( zend_parse_method_parameters( ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Oll",
76 "collator_set_attribute: unable to parse input params", 0 TSRMLS_CC );
102 if( zend_parse_method_parameters( ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O",
106 "collator_get_strength: unable to parse input params", 0 TSRMLS_CC );
131 if( zend_parse_method_parameters( ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Ol",
135 "collator_set_strength: unable to parse input params", 0 TSRMLS_CC );
H A Dcollator_compare.c49 if( zend_parse_method_parameters( ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Oss",
53 "collator_compare: unable to parse input params", 0 TSRMLS_CC );
62 intl_error_set_code( NULL, COLLATOR_ERROR_CODE( co ) TSRMLS_CC );
64 "Object not initialized", 0 TSRMLS_CC ); local
65 php_error_docref(NULL TSRMLS_CC, E_RECOVERABLE_ERROR, "Object not initialized");
80 intl_error_set_code( NULL, COLLATOR_ERROR_CODE( co ) TSRMLS_CC );
84 "Error converting first argument to UTF-16", 0 TSRMLS_CC ); local
96 intl_error_set_code( NULL, COLLATOR_ERROR_CODE( co ) TSRMLS_CC );
100 "Error converting second argument to UTF-16", 0 TSRMLS_CC ); local
H A Dcollator_error.c36 if( zend_parse_method_parameters( ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O",
40 "collator_get_error_code: unable to parse input params", 0 TSRMLS_CC );
67 if( zend_parse_method_parameters( ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O",
71 "collator_get_error_message: unable to parse input params", 0 TSRMLS_CC );
82 message = intl_error_get_message( COLLATOR_ERROR_P( co ) TSRMLS_CC );
H A Dcollator_locale.c42 if( zend_parse_method_parameters( ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Ol",
46 "collator_get_locale: unable to parse input params", 0 TSRMLS_CC );
55 intl_error_set_code( NULL, COLLATOR_ERROR_CODE( co ) TSRMLS_CC );
57 "Object not initialized", 0 TSRMLS_CC ); local
58 php_error_docref(NULL TSRMLS_CC, E_RECOVERABLE_ERROR, "Object not initialized");
/PHP_TRUNK/ext/intl/dateformat/
H A Ddateformat_data.c31 intl_error_reset( &datef_data->error TSRMLS_CC );
47 intl_error_reset( &datef_data->error TSRMLS_CC );
58 dateformat_data_init( datef_data TSRMLS_CC );
H A Ddateformat.c38 #define DATEFORMATTER_EXPOSE_CLASS_CONST(x) zend_declare_class_constant_long( IntlDateFormatter_ce_ptr, ZEND_STRS( #x ) - 1, UDAT_##x TSRMLS_CC );
39 #define DATEFORMATTER_EXPOSE_CUSTOM_CLASS_CONST(name, value) zend_declare_class_constant_long( IntlDateFormatter_ce_ptr, ZEND_STRS( name ) - 1, value TSRMLS_CC );
41 #define DATEFORMATTER_EXPOSE_UCAL_CLASS_CONST(x) zend_declare_class_constant_long( IntlDateFormatter_ce_ptr, ZEND_STRS( #x ) - 1, UCAL_##x TSRMLS_CC );
77 if( zend_parse_method_parameters( ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O",
81 "datefmt_get_error_code: unable to parse input params", 0 TSRMLS_CC );
103 if( zend_parse_method_parameters( ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O",
107 "datefmt_get_error_message: unable to parse input params", 0 TSRMLS_CC );
115 message = intl_error_get_message( INTL_DATA_ERROR_P(dfo) TSRMLS_CC );
H A Ddateformat_attrcpp.cpp51 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O",
54 "id: unable to parse input params", 0 TSRMLS_CC);
79 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O",
82 "datefmt_get_timezone: unable to parse input params", 0 TSRMLS_CC );
93 0 TSRMLS_CC); local
98 timezone_object_construct(tz_clone, return_value, 1 TSRMLS_CC);
103 php_error_docref0(NULL TSRMLS_CC, E_DEPRECATED,
122 if ( zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(),
125 "unable to parse input params", 0 TSRMLS_CC);
132 INTL_DATA_ERROR_P(dfo), "datefmt_set_timezone" TSRMLS_CC);
195 "calendar", 0 TSRMLS_CC); local
242 0 TSRMLS_CC); local
252 0 TSRMLS_CC); local
[all...]
/PHP_TRUNK/ext/intl/formatter/
H A Dformatter_data.c32 intl_error_reset( &nf_data->error TSRMLS_CC );
48 intl_error_reset( &nf_data->error TSRMLS_CC );
59 formatter_data_init( nf_data TSRMLS_CC );
/PHP_TRUNK/ext/gd/
H A Dgd_compat.c54 php_error_docref(NULL TSRMLS_CC, E_WARNING, "gd warning: one parameter to a memory allocation multiplication is negative or zero, failing operation gracefully\n");
58 php_error_docref(NULL TSRMLS_CC, E_WARNING, "gd warning: product of memory allocation multiplication would exceed INT_MAX, failing operation gracefully\n");
/PHP_TRUNK/ext/standard/
H A Dftok.c38 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ps", &pathname, &pathname_len, &proj, &proj_len) == FAILURE) {
43 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Pathname is invalid");
48 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Project identifier is invalid");
52 if (php_check_open_basedir(pathname TSRMLS_CC)) {
58 php_error_docref(NULL TSRMLS_CC, E_WARNING, "ftok() failed - %s", strerror(errno));
H A Dlink.c62 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &link, &link_len) == FAILURE) {
66 if (php_check_open_basedir(link TSRMLS_CC)) {
73 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", strerror(errno));
93 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &link, &link_len) == FAILURE) {
100 if (php_check_open_basedir(dirname TSRMLS_CC)) {
107 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", strerror(errno));
129 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pp", &topath, &topath_len, &frompath, &frompath_len) == FAILURE) {
133 if (!expand_filepath(frompath, source_p TSRMLS_CC)) {
134 php_error_docref(NULL TSRMLS_CC, E_WARNING, "No such file or directory");
141 if (!expand_filepath_ex(topath, dest_p, dirname, len TSRMLS_CC)) {
[all...]
H A Dlink_win32.c69 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &link, &link_len) == FAILURE) {
78 php_error_docref(NULL TSRMLS_CC, E_WARNING, "readlink failed to read the symbolic link (%s), error %d)", link, GetLastError());
94 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &link, &link_len) == FAILURE) {
100 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", strerror(errno));
129 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Can't call CreateSymbolicLinkA");
133 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Can't call get a handle on kernel32.dll");
137 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pp", &topath, &topath_len, &frompath, &frompath_len) == FAILURE) {
141 if (!expand_filepath(frompath, source_p TSRMLS_CC)) {
142 php_error_docref(NULL TSRMLS_CC, E_WARNING, "No such file or directory");
149 if (!expand_filepath_ex(topath, dest_p, dirname, len TSRMLS_CC)) {
[all...]
/PHP_TRUNK/main/
H A Dphp_content_types.c53 sapi_register_default_post_reader(php_default_post_reader TSRMLS_CC);
54 sapi_register_treat_data(php_default_treat_data TSRMLS_CC);
55 sapi_register_input_filter(php_default_input_filter, NULL TSRMLS_CC);
64 sapi_register_post_entries(php_post_entries TSRMLS_CC);
/PHP_TRUNK/Zend/
H A Dzend_ast.c141 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC);
142 zend_ast_evaluate(&op2, (&ast->u.child)[1], scope TSRMLS_CC);
143 add_function(result, &op1, &op2 TSRMLS_CC);
148 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC);
149 zend_ast_evaluate(&op2, (&ast->u.child)[1], scope TSRMLS_CC);
150 sub_function(result, &op1, &op2 TSRMLS_CC);
155 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC);
156 zend_ast_evaluate(&op2, (&ast->u.child)[1], scope TSRMLS_CC);
157 mul_function(result, &op1, &op2 TSRMLS_CC);
162 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC);
325 zend_ast_evaluate(result, (&ast->u.child)[1], scope TSRMLS_CC); local
329 zend_ast_evaluate(result, (&ast->u.child)[2], scope TSRMLS_CC); local
[all...]
H A Dzend_language_parser.y233 | namespace_name T_NS_SEPARATOR T_STRING { zend_do_build_namespace_name(&$$, &$1, &$3 TSRMLS_CC); }
241 | T_NAMESPACE namespace_name ';' { zend_do_begin_namespace(&$2, 0 TSRMLS_CC); }
242 | T_NAMESPACE namespace_name '{' { zend_do_begin_namespace(&$2, 1 TSRMLS_CC); }
244 | T_NAMESPACE '{' { zend_do_begin_namespace(NULL, 1 TSRMLS_CC); }
258 namespace_name { zend_do_use(&$1, NULL, 0 TSRMLS_CC); }
259 | namespace_name T_AS T_STRING { zend_do_use(&$1, &$3, 0 TSRMLS_CC); }
260 | T_NS_SEPARATOR namespace_name { zend_do_use(&$2, NULL, 1 TSRMLS_CC); }
261 | T_NS_SEPARATOR namespace_name T_AS T_STRING { zend_do_use(&$2, &$4, 1 TSRMLS_CC); }
270 namespace_name { zend_do_use_function(&$1, NULL, 0 TSRMLS_CC); }
271 | namespace_name T_AS T_STRING { zend_do_use_function(&$1, &$3, 0 TSRMLS_CC); }
[all...]
/PHP_TRUNK/ext/bcmath/
H A Dbcmath.c196 bc_str2num(num, str, 0 TSRMLS_CC);
200 bc_str2num(num, str, strlen(p+1) TSRMLS_CC);
214 if (zend_parse_parameters(argc TSRMLS_CC, "ss|l", &left, &left_len, &right, &right_len, &scale_param) == FAILURE) {
222 bc_init_num(&first TSRMLS_CC);
223 bc_init_num(&second TSRMLS_CC);
224 bc_init_num(&result TSRMLS_CC);
225 php_str2num(&first, left TSRMLS_CC);
226 php_str2num(&second, right TSRMLS_CC);
251 if (zend_parse_parameters(argc TSRMLS_CC, "ss|l", &left, &left_len, &right, &right_len, &scale_param) == FAILURE) {
259 bc_init_num(&first TSRMLS_CC);
[all...]
/PHP_TRUNK/ext/dom/
H A Dcdatasection.c60 zend_replace_error_handling(EH_THROW, dom_domexception_class_entry, &error_handling TSRMLS_CC);
61 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_cdatasection_class_entry, &value, &value_len) == FAILURE) {
62 zend_restore_error_handling(&error_handling TSRMLS_CC);
66 zend_restore_error_handling(&error_handling TSRMLS_CC);
70 php_dom_throw_error(INVALID_STATE_ERR, 1 TSRMLS_CC);
77 php_libxml_node_free_resource(oldnode TSRMLS_CC);
79 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern TSRMLS_CC);
H A Dentityreference.c59 zend_replace_error_handling(EH_THROW, dom_domexception_class_entry, &error_handling TSRMLS_CC);
60 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_entityreference_class_entry, &name, &name_len) == FAILURE) {
61 zend_restore_error_handling(&error_handling TSRMLS_CC);
65 zend_restore_error_handling(&error_handling TSRMLS_CC);
69 php_dom_throw_error(INVALID_CHARACTER_ERR, 1 TSRMLS_CC);
76 php_dom_throw_error(INVALID_STATE_ERR, 1 TSRMLS_CC);
84 php_libxml_node_free_resource(oldnode TSRMLS_CC);
86 php_libxml_increment_node_ptr((php_libxml_node_object *)intern, node, (void *)intern TSRMLS_CC);
/PHP_TRUNK/ext/intl/calendar/
H A Dcalendar_methods.cpp47 0 TSRMLS_CC );
57 intl_error_reset(NULL TSRMLS_CC);
59 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|zs!",
62 "intlcal_create_calendar: bad arguments", 0 TSRMLS_CC);
67 "intlcal_create_instance" TSRMLS_CC);
80 intl_error_set(NULL, status, "Error creating ICU Calendar object", 0 TSRMLS_CC);
84 calendar_object_create(return_value, cal TSRMLS_CC);
149 intl_error_reset(NULL TSRMLS_CC);
151 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ssb",
154 "intlcal_get_keyword_values_for_locale: bad arguments", 0 TSRMLS_CC);
784 "intlcal_get_time_zone: could not clone TimeZone", 0 TSRMLS_CC); local
1256 "range for a 64-bit integer", 0 TSRMLS_CC); local
1282 1 TSRMLS_CC); local
1298 1 TSRMLS_CC); local
[all...]
/PHP_TRUNK/ext/intl/
H A Dintl_data.h38 intl_error_reset( NULL TSRMLS_CC );
46 intl_error_reset( INTL_DATA_ERROR_P(obj) TSRMLS_CC ); \
50 intl_error_set_code( NULL, (err) TSRMLS_CC ); \
53 intl_error_set_custom_msg( NULL, msg, 0 TSRMLS_CC ); \
59 intl_error_set_code( NULL, INTL_DATA_ERROR_CODE((obj)) TSRMLS_CC ); \
62 intl_errors_set_custom_msg( INTL_DATA_ERROR_P((obj)), msg, 0 TSRMLS_CC ); \
68 intl_error_set_code( NULL, INTL_DATA_ERROR_CODE((obj)) TSRMLS_CC ); \
71 intl_errors_set_custom_msg( INTL_DATA_ERROR_P((obj)), msg, 0 TSRMLS_CC ); \
99 "Locale string too long, should be no longer than 80 characters", 0 TSRMLS_CC ); \
106 "Locale string too long, should be no longer than 80 characters", 0 TSRMLS_CC ); \
[all...]
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_exception.c50 php_error_docref(NULL TSRMLS_CC, E_WARNING, "(%s/%d): %s", sqlstate, errorno, message);
59 message TSRMLS_CC);
64 sqlstate TSRMLS_CC);
67 "00000" TSRMLS_CC);
71 zend_update_property_long(mysqli_exception_class_entry, &sql_ex, "code", sizeof("code") - 1, errorno TSRMLS_CC);
73 zend_throw_exception_object(&sql_ex TSRMLS_CC);
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd.h73 #define mysqlnd_plugin_find(name) _mysqlnd_plugin_find((name) TSRMLS_CC);
76 #define mysqlnd_plugin_apply_with_argument(func, argument) _mysqlnd_plugin_apply_with_argument((func), (argument) TSRMLS_CC);
78 #define mysqlnd_restart_psession(conn) ((conn)->data)->m->restart_psession((conn)->data TSRMLS_CC)
79 #define mysqlnd_end_psession(conn) ((conn)->data)->m->end_psession((conn)->data TSRMLS_CC)
88 #define mysqlnd_init(client_flags, persistent) _mysqlnd_init((client_flags), (persistent) TSRMLS_CC)
100 #define mysqlnd_change_user(conn, user, passwd, db, silent) ((conn)->data)->m->change_user((conn)->data, (user), (passwd), (db), (silent), strlen((passwd)) TSRMLS_CC)
101 #define mysqlnd_change_user_ex(conn, user, passwd, db, silent, passwd_len) ((conn)->data)->m->change_user((conn)->data, (user), (passwd), (db), (silent), (passwd_len) TSRMLS_CC)
103 #define mysqlnd_debug(x) _mysqlnd_debug((x) TSRMLS_CC)
107 #define mysqlnd_fetch_into(result, flags, ret_val, ext) (result)->m.fetch_into((result), (flags), (ret_val), (ext) TSRMLS_CC ZEND_FILE_LINE_CC)
108 #define mysqlnd_fetch_row_c(result) (result)->m.fetch_row_c((result) TSRMLS_CC)
[all...]
/PHP_TRUNK/ext/session/
H A Dmod_user_class.c26 php_error_docref(NULL TSRMLS_CC, E_CORE_ERROR, "Cannot call default session handler"); \
33 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Parent session handler is not open"); \
46 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &save_path, &save_path_len, &session_name, &session_name_len) == FAILURE) {
51 RETVAL_BOOL(SUCCESS == PS(default_mod)->s_open(&PS(mod_data), save_path, session_name TSRMLS_CC));
66 RETVAL_BOOL(SUCCESS == PS(default_mod)->s_close(&PS(mod_data) TSRMLS_CC));
79 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "S", &key) == FAILURE) {
83 if (PS(default_mod)->s_read(&PS(mod_data), key, &val TSRMLS_CC) == FAILURE) {
100 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "SS", &key, &val) == FAILURE) {
104 RETURN_BOOL(SUCCESS == PS(default_mod)->s_write(&PS(mod_data), key, val TSRMLS_CC));
116 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "
[all...]
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dpass5.c23 zend_block_optimization(op_array, ctx TSRMLS_CC);

Completed in 65 milliseconds

1234567891011>>