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

/PHP_5_6/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_5_6/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_5_6/ext/phar/
H A Dphar.c789 char *sig; local
805 sig = (char *) emalloc(signature_len);
811 || signature_len != php_stream_read(fp, sig, signature_len)) {
813 efree(sig);
821 if (FAILURE == phar_verify_signature(fp, end_of_phar, PHAR_SIG_OPENSSL, sig, signature_len, fname, &signature, &sig_len, error TSRMLS_CC)) {
823 efree(sig);
832 efree(sig);
H A Dphar_internal.h559 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.c1515 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
1567 if (FAILURE == phar_call_openssl_signverify(0, fp, end_of_phar, pubkey, pubkey_len, &sig, &tempsig TSRMLS_CC)) {
1626 if (EVP_VerifyFinal(&md_ctx, (unsigned char *)sig, sig_len, key) != 1) {
1640 *signature_len = phar_hex_str((const char*)sig, sig_len, signature TSRMLS_CC);
1667 if (memcmp(digest, sig, sizeof(digest))) {
1700 if (memcmp(digest, sig, sizeof(digest))) {
1741 if (memcmp(digest, sig, sizeof(digest))) {
1774 if (memcmp(digest, sig, sizeof(digest))) {
H A Dzip.c409 char *sig; local
429 sig = (char *) emalloc(entry.uncompressed_filesize);
430 read = php_stream_read(fp, sig, entry.uncompressed_filesize);
433 efree(sig);
436 mydata->sig_flags = PHAR_GET_32(sig);
437 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)) {
438 efree(sig);
451 efree(sig);
/PHP_5_6/ext/posix/
H A Dposix.c62 ZEND_ARG_INFO(0, sig)
391 /* {{{ proto bool posix_kill(int pid, int sig)
396 long pid, sig; local
398 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &pid, &sig) == FAILURE) {
402 if (kill(pid, sig) < 0) {
/PHP_5_6/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_5_6/ext/mysql/
H A Dphp_mysql.c364 void timeout(int sig);
/PHP_5_6/ext/gd/
H A Dgd.c2291 char sig[8]; local
2303 memcpy(sig, Z_STRVAL_PP(data), 8);
2305 imtype = _php_image_type(sig);
/PHP_5_6/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);
/PHP_5_6/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_5_6/sapi/cli/
H A Dphp_cli_server.c2508 static void php_cli_server_sigint_handler(int sig) /* {{{ */ argument

Completed in 60 milliseconds