Lines Matching refs:error

225 	error = uv_fs_##func(&loop->loop, (uv_fs_t*)&uv->uv.fs, __VA_ARGS__, php_uv_fs_cb); \
226 if (error) { \
572 int error = 0; local
580 error = uv_rwlock_init(PHP_UV_LOCK_RWLOCK_P(lock));
586 error = uv_mutex_init(PHP_UV_LOCK_MUTEX_P(lock));
599 error = uv_sem_init(PHP_UV_LOCK_SEM_P(lock), (int) val);
607 if (error == 0) {
716 int error = 0; local
731 error = uv_rwlock_tryrdlock(PHP_UV_LOCK_RWLOCK_P(lock));
732 if (error == 0) {
749 error = uv_rwlock_trywrlock(PHP_UV_LOCK_RWLOCK_P(lock));
750 if (error == 0) {
760 error = uv_mutex_trylock(PHP_UV_LOCK_MUTEX_P(lock));
762 if (error == 0) {
772 error = uv_sem_trywait(PHP_UV_LOCK_SEM_P(lock));
773 RETURN_LONG(error);
784 int error = 0; local
1336 int error; local
1350 error = zend_call_function(&callback->fci, &callback->fcc);
1352 error = -1;
1359 return error;
1364 int error = 0; local
1378 error = -1;
1381 error = -2;
1415 return error;
1422 int error = 0; local
1456 return error = -2;
1475 error = -1;
1478 error = -1;
1494 error = -2;
1499 return error;
2411 int error; local
2424 error = open_cb(&uv->uv.handle, fd);
2426 if (error) {
2427 php_error_docref(NULL, E_WARNING, "%s", php_uv_strerror(error));
2430 RETURN_LONG(error);
2900 ZEND_ARG_INFO(0, error)
2904 ZEND_ARG_INFO(0, error)
4507 int error; local
4517error = uv_udp_set_membership(&uv->uv.udp, (const char *) multicast_addr->val, (const char *) inte…
4519 RETURN_LONG(error);
4757 int error; local
4764 error = uv_pipe_bind(&uv->uv.pipe, name->val);
4765 if (error) {
4766 php_error_docref(NULL, E_WARNING, "%s", php_uv_strerror(error));
4769 RETURN_LONG(error);
5041 int error; local
5048 error = uv_cpu_info(&cpus, &count);
5049 if (0 == error) {
5082 int error; local
5090 error = uv_interface_addresses(&interfaces, &count);
5091 if (0 == error) {
5334 int error; local
5341 error = uv_chdir(directory->val);
5342 if (error == 0) {
5934 int error; local
5956 error = uv_fs_event_start(&uv->uv.fs_event, php_uv_fs_event_cb, path->val, flags);
5957 if (error < 0) {
5999 int error, width, height = 0; local
6007 error = uv_tty_get_winsize(&uv->uv.tty, &width, &height);
6015 RETURN_LONG(error);
6025 zend_long mode, error = 0; local
6032 error = uv_tty_set_mode(&uv->uv.tty, mode);
6033 RETURN_LONG(error);
6055 zend_long error = 0; local
6062 error = uv_tcp_simultaneous_accepts(&uv->uv.tcp, enable);
6063 RETURN_LONG(error);
6162 int error; local
6179 error = uv_poll_start(&uv->uv.poll, events, php_uv_poll_cb);
6180 if (error) {
6234 int error; local
6250 error = uv_fs_poll_start(&uv->uv.fs_poll, php_uv_fs_poll_cb, (const char*)path->val, interval);
6251 if (error) {