Lines Matching refs:shm_id

133 	zend_long shm_key, shm_id, shm_size, shm_flag = 0666;  in PHP_FUNCTION()  local
150 if ((shm_id = shmget(shm_key, 0, 0)) < 0) { in PHP_FUNCTION()
155 if ((shm_id = shmget(shm_key, shm_size, shm_flag | IPC_CREAT | IPC_EXCL)) < 0) { in PHP_FUNCTION()
161 if ((shm_ptr = shmat(shm_id, NULL, 0)) == (void *) -1) { in PHP_FUNCTION()
181 shm_list_ptr->id = shm_id; in PHP_FUNCTION()
189 zval *shm_id; in PHP_FUNCTION() local
192 if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS(), "O", &shm_id, sysvshm_ce)) { in PHP_FUNCTION()
196 shm_list_ptr = Z_SYSVSHM_P(shm_id); in PHP_FUNCTION()
212 zval *shm_id; in PHP_FUNCTION() local
215 if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS(), "O", &shm_id, sysvshm_ce)) { in PHP_FUNCTION()
219 shm_list_ptr = Z_SYSVSHM_P(shm_id); in PHP_FUNCTION()
226 …led for key 0x%x, id " ZEND_LONG_FMT ": %s", shm_list_ptr->key, Z_LVAL_P(shm_id), strerror(errno)); in PHP_FUNCTION()
237 zval *shm_id, *arg_var; in PHP_FUNCTION() local
244 …if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS(), "Olz", &shm_id, sysvshm_ce, &shm_key, &arg_v… in PHP_FUNCTION()
248 shm_list_ptr = Z_SYSVSHM_P(shm_id); in PHP_FUNCTION()
282 zval *shm_id; in PHP_FUNCTION() local
290 if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS(), "Ol", &shm_id, sysvshm_ce, &shm_key)) { in PHP_FUNCTION()
294 shm_list_ptr = Z_SYSVSHM_P(shm_id); in PHP_FUNCTION()
323 zval *shm_id; in PHP_FUNCTION() local
327 if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS(), "Ol", &shm_id, sysvshm_ce, &shm_key)) { in PHP_FUNCTION()
331 shm_list_ptr = Z_SYSVSHM_P(shm_id); in PHP_FUNCTION()
344 zval *shm_id; in PHP_FUNCTION() local
348 if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS(), "Ol", &shm_id, sysvshm_ce, &shm_key)) { in PHP_FUNCTION()
352 shm_list_ptr = Z_SYSVSHM_P(shm_id); in PHP_FUNCTION()