Lines Matching refs:key
61 ZEND_ARG_INFO(0, key)
191 long key, max_acquire = 1, perm = 0666, auto_release = 1; in PHP_FUNCTION() local
197 …if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|lll", &key, &max_acquire, &perm… in PHP_FUNCTION()
207 semid = semget(key, 3, perm|IPC_CREAT); in PHP_FUNCTION()
209 php_error_docref(NULL TSRMLS_CC, E_WARNING, "failed for key 0x%lx: %s", key, strerror(errno)); in PHP_FUNCTION()
241 …L TSRMLS_CC, E_WARNING, "failed acquiring SYSVSEM_SETVAL for key 0x%lx: %s", key, strerror(errno)); in PHP_FUNCTION()
249 php_error_docref(NULL TSRMLS_CC, E_WARNING, "failed for key 0x%lx: %s", key, strerror(errno)); in PHP_FUNCTION()
260 php_error_docref(NULL TSRMLS_CC, E_WARNING, "failed for key 0x%lx: %s", key, strerror(errno)); in PHP_FUNCTION()
265 php_error_docref(NULL TSRMLS_CC, E_WARNING, "failed for key 0x%lx: %s", key, strerror(errno)); in PHP_FUNCTION()
270 php_error_docref(NULL TSRMLS_CC, E_WARNING, "failed for key 0x%lx: %s", key, strerror(errno)); in PHP_FUNCTION()
282 …L TSRMLS_CC, E_WARNING, "failed releasing SYSVSEM_SETVAL for key 0x%lx: %s", key, strerror(errno)); in PHP_FUNCTION()
288 sem_ptr->key = key; in PHP_FUNCTION()
319 …ARNING, "SysV semaphore %ld (key 0x%x) is not currently acquired", Z_LVAL_P(arg_id), sem_ptr->key); in php_sysvsem_semop()
330 …NING, "failed to %s key 0x%x: %s", acquire ? "acquire" : "release", sem_ptr->key, strerror(errno)); in php_sysvsem_semop()