Searched refs:sig (Results 1 - 14 of 14) 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.c2273 char sig[8]; local
2285 memcpy(sig, Z_STRVAL_P(data), 8);
2287 imtype = _php_image_type(sig);
/PHP_TRUNK/ext/mysql/
H A Dphp_mysql.c361 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.c791 char *sig; local
807 sig = (char *) emalloc(signature_len);
813 || signature_len != php_stream_read(fp, sig, signature_len)) {
815 efree(sig);
823 if (FAILURE == phar_verify_signature(fp, end_of_phar, PHAR_SIG_OPENSSL, sig, signature_len, fname, &signature, &sig_len, error)) {
825 efree(sig);
834 efree(sig);
H A Dphar_internal.h554 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);
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) /* {{{ */ argument
1527 if (FAILURE == phar_call_openssl_signverify(0, fp, end_of_phar, pubkey ? pubkey->val : NULL, pubkey ? pubkey->len : 0, &sig, &tempsig)) {
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);
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)) {
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 zend_long pid, sig; local
398 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ll", &pid, &sig) == FAILURE) {
402 if (kill(pid, sig) < 0) {
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg.c884 void phpdbg_sigio_handler(int sig, siginfo_t *info, void *context) /* {{{ */ argument
936 void phpdbg_signal_handler(int sig, siginfo_t *info, void *context) /* {{{ */ argument
940 switch (sig) {
949 zend_sigaction(sig, &PHPDBG_G(old_sigsegv_signal), NULL);
951 sigaction(sig, &PHPDBG_G(old_sigsegv_signal), NULL);
H A Dphpdbg_sigio_win32.c32 zend_uchar sig; local
36 (void)phpdbg_consume_bytes(swd->fd, &sig, 1, -1);
39 if (3 == sig) {
42 if (raise(sig)) {
47 phpdbg_set_sigsafe_mem(&sig);
59 ExitThread(sig);
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c2433 static void php_cli_server_sigint_handler(int sig) /* {{{ */ argument

Completed in 50 milliseconds