/PHP-5.5/ext/imap/ |
H A D | php_imap.c | 349 ZEND_ARG_INFO(0, buf) 353 ZEND_ARG_INFO(0, buf) 4329 RFC822BUFFER buf; in _php_rfc822_write_address() local 4331 buf.beg = address; in _php_rfc822_write_address() 4332 buf.cur = buf.beg; in _php_rfc822_write_address() 4333 buf.end = buf.beg + sizeof(address) - 1; in _php_rfc822_write_address() 4334 buf.s = &ret; in _php_rfc822_write_address() 4696 char buf[25]; in build_thread_tree() local 4840 free(buf); in php_mail_gets() 4841 buf = NULL; in php_mail_gets() [all …]
|
/PHP-5.5/ext/dom/ |
H A D | node.c | 1760 xmlOutputBufferPtr buf; in dom_canonicalization() local 1874 buf = xmlOutputBufferCreateFilename(file, NULL, 0); in dom_canonicalization() 1876 buf = xmlAllocOutputBuffer(NULL); in dom_canonicalization() 1879 if (buf != NULL) { in dom_canonicalization() 1881 with_comments, buf); in dom_canonicalization() 1894 if (buf == NULL || ret < 0) { in dom_canonicalization() 1899 ret = xmlOutputBufferGetSize(buf); in dom_canonicalization() 1901 ret = buf->buffer->use; in dom_canonicalization() 1907 RETVAL_STRINGL((char *) buf->buffer->content, ret, 1); in dom_canonicalization() 1915 if (buf) { in dom_canonicalization() [all …]
|
H A D | document.c | 1803 xmlBufferPtr buf; in PHP_FUNCTION() local 1826 buf = xmlBufferCreate(); in PHP_FUNCTION() 1827 if (!buf) { in PHP_FUNCTION() 1839 mem = (xmlChar*) xmlBufferContent(buf); in PHP_FUNCTION() 1841 xmlBufferFree(buf); in PHP_FUNCTION() 1845 xmlBufferFree(buf); in PHP_FUNCTION() 2326 xmlBufferPtr buf; in PHP_FUNCTION() local 2351 buf = xmlBufferCreate(); in PHP_FUNCTION() 2352 if (!buf) { in PHP_FUNCTION() 2371 size = htmlNodeDump(buf, docp, node); in PHP_FUNCTION() [all …]
|
/PHP-5.5/ext/standard/ |
H A D | md5.c | 82 unsigned char buf[1024]; in PHP_NAMED_FUNCTION() local 99 while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) { in PHP_NAMED_FUNCTION() 100 PHP_MD5Update(&context, buf, n); in PHP_NAMED_FUNCTION()
|
H A D | crypt_sha512.c | 771 char buf[1000]; in main() local 800 memset (buf, 'a', sizeof (buf)); in main() 803 sha512_process_bytes (buf, sizeof (buf), &ctx); in main()
|
H A D | image.c | 207 char *b, *buf=NULL, *bufz=NULL; in php_handle_swc() local 234 buf = (char *) erealloc(buf,szlength); in php_handle_swc() 235 status = uncompress(buf, &szlength, bufz, slength); in php_handle_swc() 243 memcpy(b, buf, len); in php_handle_swc() 246 if (buf) { in php_handle_swc() 247 efree(buf); in php_handle_swc()
|
H A D | sha1.c | 72 unsigned char buf[1024]; in PHP_FUNCTION() local 89 while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) { in PHP_FUNCTION() 90 PHP_SHA1Update(&context, buf, n); in PHP_FUNCTION()
|
H A D | file.h | 82 …m, char delimiter, char enclosure, char escape_char, size_t buf_len, char *buf, zval *return_value…
|
/PHP-5.5/ext/phar/ |
H A D | dirstream.c | 93 static size_t phar_dir_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) /* {{{ */ in phar_dir_read() argument 119 memset(buf, 0, sizeof(php_stream_dirent)); in phar_dir_read() 120 memcpy(((php_stream_dirent *) buf)->d_name, str_key, to_read); in phar_dir_read() 122 ((php_stream_dirent *) buf)->d_name[to_read + 1] = '\0'; in phar_dir_read() 131 static size_t phar_dir_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) /* {{{ */ in phar_dir_write() argument
|
/PHP-5.5/TSRM/ |
H A D | tsrm_win32.c | 686 TSRM_API int shmctl(int key, int cmd, struct shmid_ds *buf) { in shmctl() argument 695 memcpy(buf, shm->descriptor, sizeof(struct shmid_ds)); in shmctl() 700 shm->descriptor->shm_perm.uid = buf->shm_perm.uid; in shmctl() 701 shm->descriptor->shm_perm.gid = buf->shm_perm.gid; in shmctl() 702 shm->descriptor->shm_perm.mode = buf->shm_perm.mode; in shmctl()
|
/PHP-5.5/ext/spl/ |
H A D | spl_array.c | 1686 smart_str buf = {0}; in SPL_METHOD() local 1704 smart_str_appendl(&buf, "x:", 2); in SPL_METHOD() 1705 php_var_serialize(&buf, &flags, &var_hash TSRMLS_CC); in SPL_METHOD() 1709 php_var_serialize(&buf, &intern->array, &var_hash TSRMLS_CC); in SPL_METHOD() 1710 smart_str_appendc(&buf, ';'); in SPL_METHOD() 1714 smart_str_appendl(&buf, "m:", 2); in SPL_METHOD() 1722 php_var_serialize(&buf, &pmembers, &var_hash TSRMLS_CC); /* finishes the string */ in SPL_METHOD() 1727 if (buf.c) { in SPL_METHOD() 1728 RETURN_STRINGL(buf.c, buf.len, 0); in SPL_METHOD() 1741 char *buf; in SPL_METHOD() local [all …]
|
/PHP-5.5/sapi/thttpd/ |
H A D | thttpd_patch | 254 - char buf[1000]; 274 - (void) my_snprintf( buf, sizeof(buf), 318 - (void) my_snprintf( buf, sizeof(buf), 327 - (void) my_snprintf( buf, sizeof(buf), 346 - (void) my_snprintf( buf, sizeof(buf), 383 (void) my_snprintf( buf, sizeof(buf), 403 r = fread( buf, 1, sizeof(buf) - 1, fp ); 607 cp = &buf[11]; 701 char buf[2]; 704 - r = recv( hc->conn_fd, buf, sizeof(buf), MSG_PEEK ); [all …]
|
/PHP-5.5/Zend/ |
H A D | zend_multibyte.h | 27 …ding_filter)(unsigned char **str, size_t *str_length, const unsigned char *buf, size_t length TSRM…
|
H A D | zend_language_scanner.l | 480 char *buf; in open_file_for_scanning() local 490 if (zend_stream_fixup(file_handle, &buf, &size TSRMLS_CC) == FAILURE) { in open_file_for_scanning() 508 SCNG(script_org) = (unsigned char*)buf; in open_file_for_scanning() 519 buf = (char*)SCNG(script_filtered); in open_file_for_scanning() 523 SCNG(yy_start) = (unsigned char *)buf - offset; in open_file_for_scanning() 524 yy_scan_buffer(buf, size TSRMLS_CC); in open_file_for_scanning() 655 char *buf; in zend_prepare_string_for_scanning() local 672 buf = str->value.str.val; in zend_prepare_string_for_scanning() 676 SCNG(script_org) = (unsigned char*)buf; in zend_prepare_string_for_scanning() 687 buf = (char*)SCNG(script_filtered); in zend_prepare_string_for_scanning() [all …]
|
/PHP-5.5/ext/soap/ |
H A D | php_xml.h | 34 xmlDocPtr soap_xmlParseMemory(const void *buf, size_t size);
|
H A D | php_xml.c | 134 xmlDocPtr soap_xmlParseMemory(const void *buf, size_t buf_size) in soap_xmlParseMemory() argument 144 ctxt = xmlCreateMemoryParserCtxt(buf, buf_size); in soap_xmlParseMemory()
|
/PHP-5.5/ext/mbstring/oniguruma/ |
H A D | onigposix.h | 157 ONIG_EXTERN size_t regerror P_((int code, const regex_t* reg, char* buf, size_t size));
|
H A D | oniguruma.h | 158 int (*code_to_mbc)(OnigCodePoint code, OnigUChar *buf); 275 #define ONIGENC_MBC_CASE_FOLD(enc,flag,pp,end,buf) \ argument 276 (enc)->mbc_case_fold(flag,(const OnigUChar** )pp,end,buf) 295 #define ONIGENC_CODE_TO_MBC(enc,code,buf) (enc)->code_to_mbc(code,buf) argument
|
/PHP-5.5/ext/hash/ |
H A D | php_hash.h | 34 typedef void (*php_hash_update_func_t)(void *context, const unsigned char *buf, unsigned int count);
|
/PHP-5.5/ext/pdo_pgsql/ |
H A D | pgsql_statement.c | 188 char buf[100]; /* stmt_name == "pdo_crsr_%08x" */ in pgsql_stmt_execute() local 190 snprintf(buf, sizeof(buf), "DEALLOCATE %s", S->stmt_name); in pgsql_stmt_execute() 191 res = PQexec(H->server, buf); in pgsql_stmt_execute()
|
/PHP-5.5/ext/ftp/ |
H A D | ftp.h | 51 char buf[FTP_BUFSIZE]; /* data buffer */ member
|
/PHP-5.5/main/ |
H A D | output.c | 60 …int php_output_handler_append(php_output_handler *handler, const php_output_buffer *buf TSRMLS_DC); 895 … int php_output_handler_append(php_output_handler *handler, const php_output_buffer *buf TSRMLS_DC) in php_output_handler_append() 897 if (buf->used) { in php_output_handler_append() 900 if ((handler->buffer.size - handler->buffer.used) <= buf->used) { in php_output_handler_append() 902 …size_t grow_buf = PHP_OUTPUT_HANDLER_INITBUF_SIZE(buf->used - (handler->buffer.size - handler->buf… in php_output_handler_append() 908 memcpy(handler->buffer.data + handler->buffer.used, buf->data, buf->used); in php_output_handler_append() 909 handler->buffer.used += buf->used; in php_output_handler_append()
|
H A D | php_variables.c | 420 char buf[128]; in _php_import_environment_variables() local 421 char **env, *p, *t = buf; in _php_import_environment_variables() 422 size_t alloc_size = sizeof(buf); in _php_import_environment_variables() 433 t = (t == buf ? emalloc(alloc_size): erealloc(t, alloc_size)); in _php_import_environment_variables() 439 if (t != buf && t != NULL) { in _php_import_environment_variables()
|
/PHP-5.5/ext/pgsql/ |
H A D | pgsql.c | 343 ZEND_ARG_INFO(0, buf) 1194 char buf[256]; in PHP_MINFO_FUNCTION() local 1212 snprintf(buf, sizeof(buf), "%ld", PGG(num_persistent)); in PHP_MINFO_FUNCTION() 1214 snprintf(buf, sizeof(buf), "%ld", PGG(num_links)); in PHP_MINFO_FUNCTION() 3372 char *buf; local 3387 efree(buf); 4315 start = buf; 6176 char buf[256]; local 6238 smart_str_appendl(&querystr, buf, snprintf(buf, sizeof(buf), "%F", Z_DVAL_PP(val))); 6321 char buf[256]; local [all …]
|
/PHP-5.5/ext/curl/ |
H A D | php_curl.h | 124 smart_str buf; member
|