Home
last modified time | relevance | path

Searched refs:TSRMLS_CC (Results 1 – 9 of 9) sorted by relevance

/third_party/grpc/src/php/ext/grpc/
Dtimeval.c41 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in PHP_GRPC_FREE_WRAPPED_FUNC_START()
67 ZEND_NUM_ARGS() TSRMLS_CC, "l", in PHP_METHOD()
72 ZEND_NUM_ARGS() TSRMLS_CC, "d", in PHP_METHOD()
75 "Timeval expects a long or double", 1 TSRMLS_CC); in PHP_METHOD()
94 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &other_obj, in PHP_METHOD()
97 "add expects a Timeval", 1 TSRMLS_CC); in PHP_METHOD()
106 TSRMLS_CC); in PHP_METHOD()
120 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &other_obj, in PHP_METHOD()
123 "subtract expects a Timeval", 1 TSRMLS_CC); in PHP_METHOD()
132 TSRMLS_CC); in PHP_METHOD()
[all …]
Dserver.c58 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in PHP_GRPC_FREE_WRAPPED_FUNC_END()
74 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|a", &args_array) == in PHP_METHOD()
77 "Server expects an array", 1 TSRMLS_CC); in PHP_METHOD()
83 if (php_grpc_read_args_array(args_array, &args TSRMLS_CC) == FAILURE) { in PHP_METHOD()
118 (long)error_code TSRMLS_CC); in PHP_METHOD()
127 1 TSRMLS_CC); in PHP_METHOD()
137 grpc_php_wrap_call(call, true TSRMLS_CC)); in PHP_METHOD()
139 grpc_php_wrap_timeval(details.deadline TSRMLS_CC)); in PHP_METHOD()
141 grpc_parse_metadata_array(&metadata TSRMLS_CC)); in PHP_METHOD()
161 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &addr, &addr_len) in PHP_METHOD()
[all …]
Dchannel_credentials.c67 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in PHP_GRPC_FREE_WRAPPED_FUNC_END()
98 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &pem_roots, in PHP_METHOD()
101 "setDefaultRootsPem expects 1 string", 1 TSRMLS_CC); in PHP_METHOD()
136 TSRMLS_CC); in PHP_METHOD()
162 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!s!s!", in PHP_METHOD()
169 "createSsl expects 3 optional strings", 1 TSRMLS_CC); in PHP_METHOD()
189 TSRMLS_CC); in PHP_METHOD()
207 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "OO", &cred1_obj, in PHP_METHOD()
211 "createComposite expects 2 Credentials", 1 TSRMLS_CC); in PHP_METHOD()
227 grpc_php_wrap_channel_credentials(creds, cred1_hashstr, true TSRMLS_CC); in PHP_METHOD()
[all …]
Dcall.c52 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in PHP_GRPC_FREE_WRAPPED_FUNC_END()
89 1 TSRMLS_CC); in grpc_parse_metadata_array()
212 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "OsO|s", &channel_obj, in PHP_METHOD()
218 "an optional String", 1 TSRMLS_CC); in PHP_METHOD()
226 1 TSRMLS_CC); in PHP_METHOD()
233 1 TSRMLS_CC); in PHP_METHOD()
279 1 TSRMLS_CC); in PHP_METHOD()
310 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &array) == in PHP_METHOD()
313 "start_batch expects an array", 1 TSRMLS_CC); in PHP_METHOD()
325 "batch keys must be integers", 1 TSRMLS_CC); in PHP_METHOD()
[all …]
Dchannel.c97 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in PHP_GRPC_FREE_WRAPPED_FUNC_END()
124 "array_hash is NULL", 1 TSRMLS_CC); in php_grpc_read_args_array()
138 "args keys must be strings", 1 TSRMLS_CC); in php_grpc_read_args_array()
158 "args values must be int or string", 1 TSRMLS_CC); in php_grpc_read_args_array()
193 TSRMLS_CC); in php_grpc_persistent_list_delete_unused_channel()
269 target, target_bound_status TSRMLS_CC)) { in create_and_add_channel_to_persistent_list()
336 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sa", &target, in PHP_METHOD()
339 "Channel expects a string and an array", 1 TSRMLS_CC); in PHP_METHOD()
351 1 TSRMLS_CC); in PHP_METHOD()
371 1 TSRMLS_CC); in PHP_METHOD()
[all …]
Dcall_credentials.c49 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in PHP_GRPC_FREE_WRAPPED_FUNC_END()
78 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "OO", &cred1_obj, in PHP_METHOD()
83 1 TSRMLS_CC); in PHP_METHOD()
93 zval *creds_object = grpc_php_wrap_call_credentials(creds TSRMLS_CC); in PHP_METHOD()
112 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "f*", fci, fci_cache, in PHP_METHOD()
115 "createFromPlugin expects 1 callback", 1 TSRMLS_CC); in PHP_METHOD()
138 zval *creds_object = grpc_php_wrap_call_credentials(creds TSRMLS_CC); in PHP_METHOD()
170 zend_call_function(state->fci, state->fci_cache TSRMLS_CC); in plugin_get_metadata()
249 grpc_ce_call_credentials = zend_register_internal_class(&ce TSRMLS_CC); in grpc_init_call_credentials()
Dserver_credentials.c44 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in PHP_GRPC_FREE_WRAPPED_FUNC_END()
79 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s!ss", &pem_root_certs, in PHP_METHOD()
84 "createSsl expects 3 strings", 1 TSRMLS_CC); in PHP_METHOD()
92 zval *creds_object = grpc_php_wrap_server_credentials(creds TSRMLS_CC); in PHP_METHOD()
112 grpc_ce_server_credentials = zend_register_internal_class(&ce TSRMLS_CC); in grpc_init_server_credentials()
Dphp_grpc.h50 #define TSRMLS_CC macro
Dphp_grpc.c196 1 TSRMLS_CC); in postfork_child()