/PHP-5.3/ext/soap/ |
H A D | php_http.c | 40 unsigned char* buf; in proxy_authentication() local 54 efree(buf); in proxy_authentication() 68 unsigned char* buf; in basic_authentication() local 82 efree(buf); in basic_authentication() 268 char *buf, in make_http_soap_request() argument 304 request = buf; in make_http_soap_request() 382 if (request != buf) {efree(request);} in make_http_soap_request() 393 if (request != buf) {efree(request);} in make_http_soap_request() 403 if (request != buf) {efree(request);} in make_http_soap_request() 717 unsigned char* buf; in make_http_soap_request() local [all …]
|
/PHP-5.3/ext/iconv/ |
H A D | iconv.c | 253 snprintf(buf, sizeof(buf), "%d.%d", in PHP_INI_END() 255 version = buf; in PHP_INI_END() 610 out_p = buf; in _php_iconv_strlen() 731 out_p = buf; in _php_iconv_substr() 863 out_p = buf; in _php_iconv_strpos() 893 if (_php_iconv_memequal(buf, ndl_buf_p, sizeof(buf))) { in _php_iconv_strpos() 921 if (_php_iconv_memequal(buf, &ndl_buf[i], sizeof(buf))) { in _php_iconv_strpos() 934 if (_php_iconv_memequal(buf, ndl_buf_p, sizeof(buf))) { in _php_iconv_strpos() 964 if (_php_iconv_memequal(buf, &ndl_buf[i], sizeof(buf))) { in _php_iconv_strpos() 1108 out_p = buf; in _php_iconv_mime_encode() [all …]
|
/PHP-5.3/TSRM/ |
H A D | tsrm_win32.h | 102 TSRM_API int win32_utime(const char *filename, struct utimbuf *buf); 107 TSRM_API int shmctl(int key, int cmd, struct shmid_ds *buf);
|
/PHP-5.3/Zend/ |
H A D | zend_multibyte.c | 29 size_t sjis_input_filter(unsigned char **buf, size_t *length, const unsigned char *sjis, size_t sji… 30 size_t sjis_output_filter(unsigned char **buf, size_t *length, const unsigned char *sjis, size_t sj… 704 size_t sjis_input_filter(unsigned char **buf, size_t *length, const unsigned char *sjis, size_t sji… in sjis_input_filter() argument 710 *buf = (unsigned char*)emalloc(sjis_length * 3 / 2 + 1); in sjis_input_filter() 711 if (!*buf) in sjis_input_filter() 716 q = *buf; in sjis_input_filter() 802 *length = q - *buf; in sjis_input_filter() 826 size_t sjis_output_filter(unsigned char **sjis, size_t *sjis_length, const unsigned char *buf, size… in sjis_output_filter() argument 842 q = buf; in sjis_output_filter() 845 while (*q && (q - buf) < length) { in sjis_output_filter() [all …]
|
H A D | zend_gc.c | 35 if (gc_globals->buf) { in root_buffer_dtor() 36 free(gc_globals->buf); in root_buffer_dtor() 37 gc_globals->buf = NULL; in root_buffer_dtor() 46 gc_globals->buf = NULL; in gc_globals_ctor_ex() 109 if (GC_G(buf)) { in gc_reset() 111 GC_G(first_unused) = GC_G(buf); in gc_reset() 123 if (GC_G(buf) == NULL && GC_G(gc_enabled)) { in gc_init() 124 GC_G(buf) = (gc_root_buffer*) malloc(sizeof(gc_root_buffer) * GC_ROOT_BUFFER_MAX_ENTRIES); in gc_init() 125 GC_G(last_unused) = &GC_G(buf)[GC_ROOT_BUFFER_MAX_ENTRIES]; in gc_init() 135 (GC_ZVAL_ADDRESS(zv) < GC_G(buf) || in gc_zval_possible_root() [all …]
|
/PHP-5.3/main/streams/ |
H A D | php_stream_transport.h | 103 PHPAPI int php_stream_xport_recvfrom(php_stream *stream, char *buf, size_t buflen, 109 PHPAPI int php_stream_xport_sendto(php_stream *stream, const char *buf, size_t buflen, 149 char *buf; member
|
/PHP-5.3/ext/standard/ |
H A D | math.c | 201 char buf[40]; in _php_math_round() local 202 snprintf(buf, 39, "%15fe%d", tmp_value, -places); in _php_math_round() 203 buf[39] = '\0'; in _php_math_round() 204 tmp_value = zend_strtod(buf, NULL); in _php_math_round() 906 char buf[(sizeof(unsigned long) << 3) + 1]; in _php_math_longtobase() local 916 end = ptr = buf + sizeof(buf) - 1; in _php_math_longtobase() 922 } while (ptr > buf && value); in _php_math_longtobase() 944 char buf[(sizeof(double) << 3) + 1]; in _php_math_zvaltobase() local 952 end = ptr = buf + sizeof(buf) - 1; in _php_math_zvaltobase() 958 } while (ptr > buf && fabs(fvalue) >= 1); in _php_math_zvaltobase()
|
H A D | ftp_fopen_wrapper.c | 610 php_stream_dirent *ent = (php_stream_dirent *)buf; in php_ftp_dirstream_read() 1063 char *p, *e, *buf; in php_stream_ftp_mkdir() local 1065 buf = estrdup(resource->path); in php_stream_ftp_mkdir() 1066 e = buf + strlen(buf); in php_stream_ftp_mkdir() 1069 while ((p = strrchr(buf, '/'))) { in php_stream_ftp_mkdir() 1071 php_stream_printf(stream TSRMLS_CC, "CWD %s\r\n", buf); in php_stream_ftp_mkdir() 1078 if (p == buf) { in php_stream_ftp_mkdir() 1082 php_stream_printf(stream TSRMLS_CC, "MKD %s\r\n", buf); in php_stream_ftp_mkdir() 1086 p = buf; in php_stream_ftp_mkdir() 1092 php_stream_printf(stream TSRMLS_CC, "MKD %s\r\n", buf); in php_stream_ftp_mkdir() [all …]
|
/PHP-5.3/sapi/isapi/ |
H A D | php5isapi.c | 875 char buf[1024]; in HttpExtensionProc() local 904 _snprintf(buf, sizeof(buf)-1,"PHP has encountered a Stack overflow"); in HttpExtensionProc() 905 php_isapi_report_exception(buf, strlen(buf) TSRMLS_CC); in HttpExtensionProc() 907 …_snprintf(buf, sizeof(buf)-1,"PHP has encountered an Access Violation at %p", e->ExceptionRecord->… in HttpExtensionProc() 908 php_isapi_report_exception(buf, strlen(buf) TSRMLS_CC); in HttpExtensionProc() 911 …_snprintf(buf, sizeof(buf)-1,"PHP has encountered an Unhandled Exception Code %d at %p", e->Except… in HttpExtensionProc() 912 php_isapi_report_exception(buf, strlen(buf) TSRMLS_CC); in HttpExtensionProc()
|
/PHP-5.3/ext/mbstring/oniguruma/enc/ |
H A D | euc_tw.c | 64 euctw_code_to_mbc(OnigCodePoint code, UChar *buf) in euctw_code_to_mbc() argument 66 return onigenc_mb4_code_to_mbc(ONIG_ENCODING_EUC_TW, code, buf); in euctw_code_to_mbc()
|
H A D | big5.c | 64 big5_code_to_mbc(OnigCodePoint code, UChar *buf) in big5_code_to_mbc() argument 66 return onigenc_mb2_code_to_mbc(ONIG_ENCODING_BIG5, code, buf); in big5_code_to_mbc()
|
H A D | euc_kr.c | 64 euckr_code_to_mbc(OnigCodePoint code, UChar *buf) in euckr_code_to_mbc() argument 66 return onigenc_mb2_code_to_mbc(ONIG_ENCODING_EUC_KR, code, buf); in euckr_code_to_mbc()
|
/PHP-5.3/ext/ereg/regex/ |
H A D | debug.c | 235 static unsigned char buf[10]; local 238 sprintf(buf, "%c", ch); 240 sprintf(buf, "\\%o", ch); 241 return(buf);
|
/PHP-5.3/ext/spl/ |
H A D | spl_observer.c | 662 smart_str buf = {0}; in SPL_METHOD() local 671 smart_str_appendl(&buf, "x:i:", 4); in SPL_METHOD() 673 smart_str_appendc(&buf, ';'); in SPL_METHOD() 679 smart_str_free(&buf); in SPL_METHOD() 684 smart_str_appendc(&buf, ','); in SPL_METHOD() 686 smart_str_appendc(&buf, ';'); in SPL_METHOD() 691 smart_str_appendl(&buf, "m:", 2); in SPL_METHOD() 701 if (buf.c) { in SPL_METHOD() 702 RETURN_STRINGL(buf.c, buf.len, 0); in SPL_METHOD() 715 char *buf; in SPL_METHOD() local [all …]
|
H A D | spl_array.c | 1667 return buf; in spl_array_serialize_helper() 1692 return buf; in spl_array_serialize_helper() 1703 smart_str buf; in SPL_METHOD() local 1722 if (buf.c) { in SPL_METHOD() 1723 RETURN_STRINGL(buf.c, buf.len, 0); in SPL_METHOD() 1746 smart_str buf; in spl_array_serialize() local 1750 if (buf.c) { in spl_array_serialize() 1751 *buffer = (unsigned char*)estrndup(buf.c, buf.len); in spl_array_serialize() 1753 efree(buf.c); in spl_array_serialize() 1769 s = p = buf; in spl_array_unserialize_helper() [all …]
|
/PHP-5.3/win32/ |
H A D | winutil.h | 23 PHPAPI php_win32_get_random_bytes(unsigned char *buf, size_t size);
|
/PHP-5.3/sapi/fpm/fpm/ |
H A D | fpm_trace.h | 14 int fpm_trace_get_strz(char *buf, size_t sz, long addr);
|
/PHP-5.3/ext/posix/ |
H A D | config.m4 | 22 char buf[64]; 24 return ttyname_r(0, buf, 64) ? 1 : 0;
|
/PHP-5.3/sapi/cgi/ |
H A D | cgi_main.c | 420 len = slprintf(buf, sizeof(buf), "Status:%s\r\n", s); in sapi_cgi_send_headers() 445 len = slprintf(buf, sizeof(buf), "Status: %d\r\n", SG(sapi_headers).http_response_code); in sapi_cgi_send_headers() 452 PHPWRITE_H(buf, len); in sapi_cgi_send_headers() 531 char *buf; in _sapi_cgibin_putenv() local 566 buf = (char *) malloc(len); in _sapi_cgibin_putenv() 567 if (buf == NULL) { in _sapi_cgibin_putenv() 574 putenv(buf); in _sapi_cgibin_putenv() 580 putenv(buf); in _sapi_cgibin_putenv() 698 char *buf = malloc(len+2); in sapi_cgi_log_message() local 700 memcpy(buf, message, len); in sapi_cgi_log_message() [all …]
|
/PHP-5.3/ext/wddx/tests/ |
H A D | bug34306.phpt | 9 $buf = wddx_serialize_value($var, 'name');
|
/PHP-5.3/ext/sysvsem/ |
H A D | sysvsem.c | 49 struct semid_ds *buf; /* buffer for IPC_STAT, IPC_SET */ member 361 struct semid_ds buf; local 371 un.buf = &buf;
|
/PHP-5.3/ext/mbstring/oniguruma/ |
H A D | regenc.h | 88 ONIG_EXTERN int onigenc_single_byte_code_to_mbc P_((OnigCodePoint code, UChar *buf)); 99 ONIG_EXTERN int onigenc_mb2_code_to_mbc P_((OnigEncoding enc, OnigCodePoint code, UChar *buf)); 103 ONIG_EXTERN int onigenc_mb4_code_to_mbc P_((OnigEncoding enc, OnigCodePoint code, UChar *buf));
|
/PHP-5.3/ext/zip/lib/ |
H A D | zip_source_filep.c | 127 char *buf; in read_file() local 131 buf = (char *)data; in read_file() 170 if ((i=fread(buf, 1, n, z->f)) < 0) { in read_file()
|
/PHP-5.3/ext/fileinfo/libmagic/ |
H A D | softmagic.c | 348 char buf[128]; in mprint() local 358 (void)snprintf(buf, sizeof(buf), "%c", in mprint() 360 if (file_printf(ms, m->desc, buf) == -1) in mprint() 379 (void)snprintf(buf, sizeof(buf), "%hu", in mprint() 381 if (file_printf(ms, m->desc, buf) == -1) in mprint() 402 (void)snprintf(buf, sizeof(buf), "%u", (uint32_t)v); in mprint() 487 (void)snprintf(buf, sizeof(buf), "%g", vf); in mprint() 507 (void)snprintf(buf, sizeof(buf), "%g", vd); in mprint() 925 buf = RCAST(const char *, s) + offset; in mcopy() 941 ms->search.s = buf; in mcopy() [all …]
|
/PHP-5.3/ext/openssl/ |
H A D | xp_ssl.c | 175 static size_t php_openssl_sockop_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) in php_openssl_sockop_write() argument 184 didwrite = SSL_write(sslsock->ssl_handle, buf, count); in php_openssl_sockop_write() 197 didwrite = php_stream_socket_ops.write(stream, buf, count TSRMLS_CC); in php_openssl_sockop_write() 207 static size_t php_openssl_sockop_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) in php_openssl_sockop_read() argument 216 nr_bytes = SSL_read(sslsock->ssl_handle, buf, count); in php_openssl_sockop_read() 234 nr_bytes = php_stream_socket_ops.read(stream, buf, count TSRMLS_CC); in php_openssl_sockop_read() 684 char buf; in php_openssl_sockop_set_option() local 706 n = SSL_peek(sslsock->ssl_handle, &buf, sizeof(buf)); in php_openssl_sockop_set_option() 727 …} else if (0 == recv(sslsock->s.socket, &buf, sizeof(buf), MSG_PEEK) && php_socket_errno() != EAGA… in php_openssl_sockop_set_option()
|