Home
last modified time | relevance | path

Searched refs:sig (Results 1 – 23 of 23) sorted by relevance

/PHP-7.3/sapi/phpdbg/
H A Dphpdbg_sigio_win32.c32 zend_uchar sig; in ZEND_EXTERN_MODULE_GLOBALS() local
36 (void)phpdbg_consume_bytes(swd->fd, &sig, 1, -1); in ZEND_EXTERN_MODULE_GLOBALS()
39 if (3 == sig) { in ZEND_EXTERN_MODULE_GLOBALS()
42 if (raise(sig)) { in ZEND_EXTERN_MODULE_GLOBALS()
47 phpdbg_set_sigsafe_mem(&sig); in ZEND_EXTERN_MODULE_GLOBALS()
59 ExitThread(sig); in ZEND_EXTERN_MODULE_GLOBALS()
H A Dphpdbg.c1228 void phpdbg_sigio_handler(int sig, siginfo_t *info, void *context) /* {{{ */ in phpdbg_sigio_handler() argument
1284 void phpdbg_signal_handler(int sig, siginfo_t *info, void *context) /* {{{ */ in phpdbg_signal_handler() argument
1288 switch (sig) { in phpdbg_signal_handler()
1296 zend_sigaction(sig, &PHPDBG_G(old_sigsegv_signal), NULL); in phpdbg_signal_handler()
1304 void phpdbg_sighup_handler(int sig) /* {{{ */ in phpdbg_sighup_handler() argument
/PHP-7.3/ext/posix/tests/
H A Dposix_kill_error.phpt9 /* Prototype : proto bool posix_kill(int pid, int sig)
21 $sig = 9;
23 var_dump( posix_kill($pid, $sig, $extra_arg) );
31 $sig = 999;
36 $sig = 9;
H A Dposix_kill_variation1.phpt10 /* Prototype : proto bool posix_kill(int pid, int sig)
19 $sig = -999;
74 var_dump( posix_kill($value, $sig) );
H A Dposix_kill_variation2.phpt10 /* Prototype : proto bool posix_kill(int pid, int sig)
70 // loop through each element of the array for sig
/PHP-7.3/ext/openssl/tests/
H A Dbug61930.phpt15 $sig = 'f9Gyb6NV/ENn7GUa37ygTLcF93XHf5fbFTnoYF/O+fXbq3iChGUbET0RuhOsptl' .
21 var_dump(openssl_verify($data, base64_decode($sig), $key));
/PHP-7.3/sapi/fpm/fpm/
H A Dfpm_process_ctl.c173 int sig, timeout; in fpm_pctl_action_next() local
181 sig = SIGTERM; in fpm_pctl_action_next()
183 sig = SIGQUIT; in fpm_pctl_action_next()
188 sig = SIGTERM; in fpm_pctl_action_next()
190 sig = SIGKILL; in fpm_pctl_action_next()
195 fpm_pctl_kill_all(sig); in fpm_pctl_action_next()
196 fpm_signal_sent = sig; in fpm_pctl_action_next()
/PHP-7.3/ext/gd/libgd/
H A Dgd_png.c118 png_byte sig[8]; in gdImageCreateFromPngCtx() local
141 memset (sig, 0, sizeof(sig)); in gdImageCreateFromPngCtx()
146 if (gdGetBuf(sig, 8, infile) < 8) { in gdImageCreateFromPngCtx()
150 if (png_sig_cmp(sig, 0, 8) != 0) { /* bad signature */ in gdImageCreateFromPngCtx()
/PHP-7.3/ext/pcntl/
H A Dpcntl.c567 struct php_pcntl_pending_signal *sig; in PHP_RSHUTDOWN_FUNCTION() local
573 sig = PCNTL_G(head); in PHP_RSHUTDOWN_FUNCTION()
574 PCNTL_G(head) = sig->next; in PHP_RSHUTDOWN_FUNCTION()
575 efree(sig); in PHP_RSHUTDOWN_FUNCTION()
578 sig = PCNTL_G(spares); in PHP_RSHUTDOWN_FUNCTION()
579 PCNTL_G(spares) = sig->next; in PHP_RSHUTDOWN_FUNCTION()
580 efree(sig); in PHP_RSHUTDOWN_FUNCTION()
/PHP-7.3/ext/phar/
H A Dzip.c398 char *sig; in phar_parse_zipfile() local
419 sig = (char *) emalloc(entry.uncompressed_filesize); in phar_parse_zipfile()
420 read = php_stream_read(fp, sig, entry.uncompressed_filesize); in phar_parse_zipfile()
423 efree(sig); in phar_parse_zipfile()
426 mydata->sig_flags = PHAR_GET_32(sig); in phar_parse_zipfile()
427 …if (FAILURE == phar_verify_signature(sigfile, php_stream_tell(sigfile), mydata->sig_flags, sig + 8… in phar_parse_zipfile()
428 efree(sig); in phar_parse_zipfile()
442 efree(sig); in phar_parse_zipfile()
H A Dutil.c1474 int phar_verify_signature(php_stream *fp, size_t end_of_phar, uint32_t sig_type, char *sig, size_t … in phar_verify_signature() argument
1522 …p, end_of_phar, pubkey ? ZSTR_VAL(pubkey) : NULL, pubkey ? ZSTR_LEN(pubkey) : 0, &sig, &tempsig)) { in phar_verify_signature()
1582 if (EVP_VerifyFinal(md_ctx, (unsigned char *)sig, sig_len, key) != 1) { in phar_verify_signature()
1596 *signature_len = phar_hex_str((const char*)sig, sig_len, signature); in phar_verify_signature()
1630 if (memcmp(digest, sig, sizeof(digest))) { in phar_verify_signature()
1670 if (memcmp(digest, sig, sizeof(digest))) { in phar_verify_signature()
1718 if (memcmp(digest, sig, sizeof(digest))) { in phar_verify_signature()
1758 if (memcmp(digest, sig, sizeof(digest))) { in phar_verify_signature()
H A Dphar.c796 char *sig; local
812 sig = (char *) emalloc(signature_len);
818 || signature_len != php_stream_read(fp, sig, signature_len)) {
820 efree(sig);
828 …if (FAILURE == phar_verify_signature(fp, end_of_phar, PHAR_SIG_OPENSSL, sig, signature_len, fname,…
830 efree(sig);
839 efree(sig);
H A Dphar_internal.h538 int phar_verify_signature(php_stream *fp, size_t end_of_phar, uint32_t sig_type, char *sig, size_t …
/PHP-7.3/ext/posix/
H A Dposix.c63 ZEND_ARG_INFO(0, sig)
460 zend_long pid, sig; in PHP_FUNCTION() local
464 Z_PARAM_LONG(sig) in PHP_FUNCTION()
467 if (kill(pid, sig) < 0) { in PHP_FUNCTION()
/PHP-7.3/sapi/litespeed/
H A Dlscriu.c175 static void lsapi_siguser2(int sig) in lsapi_siguser2() argument
H A Dlsapilib.c318 static void lsapi_sigpipe( int sig ) in lsapi_sigpipe() argument
323 static void lsapi_siguser1( int sig ) in lsapi_siguser1() argument
/PHP-7.3/ext/standard/
H A Dimage.c1128 const char sig[3] = {'V', 'P', '8'}; in php_handle_webp() local
1135 if (memcmp(buf, sig, 3)) { in php_handle_webp()
/PHP-7.3/ext/gd/
H A Dgd.c2292 char sig[12]; in PHP_FUNCTION() local
2299 if (Z_STRLEN_P(data) < sizeof(sig)) { in PHP_FUNCTION()
2304 memcpy(sig, Z_STRVAL_P(data), sizeof(sig)); in PHP_FUNCTION()
2306 imtype = _php_image_type(sig); in PHP_FUNCTION()
/PHP-7.3/sapi/cli/
H A Dphp_cli.c644 BOOL WINAPI php_cli_win32_ctrl_handler(DWORD sig) in php_cli_win32_ctrl_handler() argument
H A Dphp_cli_server.c2524 static void php_cli_server_sigint_handler(int sig) /* {{{ */ in php_cli_server_sigint_handler() argument
/PHP-7.3/sapi/cgi/
H A Dcgi_main.c1497 BOOL WINAPI fastcgi_cleanup(DWORD sig) argument
/PHP-7.3/ext/fileinfo/tests/
H A Dmagic2787 # BatComp left out: sig looks like COM executable
2788 # so TODO: get real 4dos batcomp file and find sig
19020 # winarj stores a message in the stub instead of the sig in the MZ header
19569 # PGP sig files .sig
19570 …tring \211\000\077\003\005\000\063\237\127 065 to \027\266\151\064\005\045\101\233\021\002 PGP sig
19571 0 string \211\000\077\003\005\000\063\237\127\065\027\266\151\064\005\045\101\233\021\002 PGP sig
19572 0 string \211\000\077\003\005\000\063\237\127\066\027\266\151\064\005\045\101\233\021\002 PGP sig
19573 0 string \211\000\077\003\005\000\063\237\127\067\027\266\151\064\005\045\101\233\021\002 PGP sig
19574 0 string \211\000\077\003\005\000\063\237\127\070\027\266\151\064\005\045\101\233\021\002 PGP sig
19575 0 string \211\000\077\003\005\000\063\237\127\071\027\266\151\064\005\045\101\233\021\002 PGP sig
[all …]
H A Dmagic私はガラスを食べられます2787 # BatComp left out: sig looks like COM executable
2788 # so TODO: get real 4dos batcomp file and find sig
19020 # winarj stores a message in the stub instead of the sig in the MZ header
19569 # PGP sig files .sig
19570 …tring \211\000\077\003\005\000\063\237\127 065 to \027\266\151\064\005\045\101\233\021\002 PGP sig
19571 0 string \211\000\077\003\005\000\063\237\127\065\027\266\151\064\005\045\101\233\021\002 PGP sig
19572 0 string \211\000\077\003\005\000\063\237\127\066\027\266\151\064\005\045\101\233\021\002 PGP sig
19573 0 string \211\000\077\003\005\000\063\237\127\067\027\266\151\064\005\045\101\233\021\002 PGP sig
19574 0 string \211\000\077\003\005\000\063\237\127\070\027\266\151\064\005\045\101\233\021\002 PGP sig
19575 0 string \211\000\077\003\005\000\063\237\127\071\027\266\151\064\005\045\101\233\021\002 PGP sig
[all …]

Completed in 258 milliseconds