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

/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/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/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/phar/
H A Dutil.c1478 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
1526 if (FAILURE == phar_call_openssl_signverify(0, fp, end_of_phar, pubkey ? pubkey->val : NULL, pubkey ? pubkey->len : 0, &sig, &tempsig)) {
1585 if (EVP_VerifyFinal(&md_ctx, (unsigned char *)sig, sig_len, key) != 1) {
1599 *signature_len = phar_hex_str((const char*)sig, sig_len, signature);
1626 if (memcmp(digest, sig, sizeof(digest))) {
1659 if (memcmp(digest, sig, sizeof(digest))) {
1700 if (memcmp(digest, sig, sizeof(digest))) {
1733 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);
H A Dphar_internal.h557 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 Dphar.c782 char *sig; local
798 sig = (char *) emalloc(signature_len);
804 || signature_len != php_stream_read(fp, sig, signature_len)) {
806 efree(sig);
814 if (FAILURE == phar_verify_signature(fp, end_of_phar, PHAR_SIG_OPENSSL, sig, signature_len, fname, &signature, &sig_len, error)) {
816 efree(sig);
825 efree(sig);
/PHP_TRUNK/sapi/phpdbg/
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);
H A Dphpdbg.c895 void phpdbg_sigio_handler(int sig, siginfo_t *info, void *context) /* {{{ */ argument
947 void phpdbg_signal_handler(int sig, siginfo_t *info, void *context) /* {{{ */ argument
951 switch (sig) {
960 zend_sigaction(sig, &PHPDBG_G(old_sigsegv_signal), NULL);
962 sigaction(sig, &PHPDBG_G(old_sigsegv_signal), NULL);
/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/ext/gd/
H A Dgd.c2332 char sig[8]; local
2344 memcpy(sig, Z_STRVAL_P(data), 8);
2346 imtype = _php_image_type(sig);
/PHP_TRUNK/ext/pcntl/
H A Dpcntl.c528 struct php_pcntl_pending_signal *sig; local
534 sig = PCNTL_G(head);
535 PCNTL_G(head) = sig->next;
536 efree(sig);
539 sig = PCNTL_G(spares);
540 PCNTL_G(spares) = sig->next;
541 efree(sig);
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c2430 static void php_cli_server_sigint_handler(int sig) /* {{{ */ argument

Completed in 41 milliseconds