Searched refs:sig (Results 1 - 13 of 13) sorted by relevance

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_process_ctl.c175 int sig, timeout; local
183 sig = SIGTERM;
185 sig = SIGQUIT;
190 sig = SIGTERM;
192 sig = SIGKILL;
197 fpm_pctl_kill_all(sig);
198 fpm_signal_sent = sig;
/PHP_TRUNK/ext/gd/libgd/
H A Dgd_png.c117 png_byte sig[8]; local
140 memset (sig, 0, sizeof(sig));
145 if (gdGetBuf(sig, 8, infile) < 8) {
149 if (png_sig_cmp(sig, 0, 8) != 0) { /* bad signature */
/PHP_TRUNK/sapi/litespeed/
H A Dlsapilib.c188 static void lsapi_sigpipe( int sig )
191 static void lsapi_siguser1( int sig )
1055 static void lsapi_sigalarm( int sig )
/PHP_TRUNK/ext/gd/
H A Dgd.c2280 char sig[8]; local
2292 memcpy(sig, Z_STRVAL_P(data), 8);
2294 imtype = _php_image_type(sig);
/PHP_TRUNK/ext/mysql/
H A Dphp_mysql.c364 void timeout(int sig);
/PHP_TRUNK/ext/pcntl/
H A Dpcntl.c514 struct php_pcntl_pending_signal *sig; local
520 sig = PCNTL_G(head);
521 PCNTL_G(head) = sig->next;
522 efree(sig);
525 sig = PCNTL_G(spares);
526 PCNTL_G(spares) = sig->next;
527 efree(sig);
/PHP_TRUNK/ext/phar/
H A Dphar.c794 char *sig; local
810 sig = (char *) emalloc(signature_len);
816 || signature_len != php_stream_read(fp, sig, signature_len)) {
818 efree(sig);
826 if (FAILURE == phar_verify_signature(fp, end_of_phar, PHAR_SIG_OPENSSL, sig, signature_len, fname, &signature, &sig_len, error TSRMLS_CC)) {
828 efree(sig);
837 efree(sig);
H A Dphar_internal.h551 int phar_verify_signature(php_stream *fp, size_t end_of_phar, php_uint32 sig_type, char *sig, int sig_len, char *fname, char **signature, int *signature_len, char **error TSRMLS_DC);
H A Dutil.c1479 int phar_verify_signature(php_stream *fp, size_t end_of_phar, php_uint32 sig_type, char *sig, int sig_len, char *fname, char **signature, int *signature_len, char **error TSRMLS_DC) /* {{{ */ argument
1527 if (FAILURE == phar_call_openssl_signverify(0, fp, end_of_phar, pubkey ? pubkey->val : NULL, pubkey ? pubkey->len : 0, &sig, &tempsig TSRMLS_CC)) {
1586 if (EVP_VerifyFinal(&md_ctx, (unsigned char *)sig, sig_len, key) != 1) {
1600 *signature_len = phar_hex_str((const char*)sig, sig_len, signature TSRMLS_CC);
1627 if (memcmp(digest, sig, sizeof(digest))) {
1660 if (memcmp(digest, sig, sizeof(digest))) {
1701 if (memcmp(digest, sig, sizeof(digest))) {
1734 if (memcmp(digest, sig, sizeof(digest))) {
H A Dzip.c397 char *sig; local
417 sig = (char *) emalloc(entry.uncompressed_filesize);
418 read = php_stream_read(fp, sig, entry.uncompressed_filesize);
421 efree(sig);
424 mydata->sig_flags = PHAR_GET_32(sig);
425 if (FAILURE == phar_verify_signature(sigfile, php_stream_tell(sigfile), mydata->sig_flags, sig + 8, entry.uncompressed_filesize - 8, fname, &mydata->signature, &mydata->sig_len, error TSRMLS_CC)) {
426 efree(sig);
439 efree(sig);
/PHP_TRUNK/ext/posix/
H A Dposix.c62 ZEND_ARG_INFO(0, sig)
391 /* {{{ proto bool posix_kill(int pid, int sig)
396 php_int_t pid, sig; local
398 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ii", &pid, &sig) == FAILURE) {
402 if (kill(pid, sig) < 0) {
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c2461 static void php_cli_server_sigint_handler(int sig) /* {{{ */ argument
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg.c859 void phpdbg_signal_handler(int sig, siginfo_t *info, void *context) /* {{{ */ argument
864 switch (sig) {
870 zend_sigaction(sig, &PHPDBG_G(old_sigsegv_signal), NULL TSRMLS_CC);
872 sigaction(sig, &PHPDBG_G(old_sigsegv_signal), NULL);

Completed in 45 milliseconds