Home
last modified time | relevance | path

Searched refs:buf (Results 226 – 250 of 337) sorted by relevance

12345678910>>...14

/PHP-5.5/ext/imap/
H A Dphp_imap.c349 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 Dnode.c1760 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 Ddocument.c1803 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 Dmd5.c82 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 Dcrypt_sha512.c771 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 Dimage.c207 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 Dsha1.c72 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 Dfile.h82 …m, char delimiter, char enclosure, char escape_char, size_t buf_len, char *buf, zval *return_value…
/PHP-5.5/ext/phar/
H A Ddirstream.c93 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 Dtsrm_win32.c686 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 Dspl_array.c1686 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 Dthttpd_patch254 - 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 Dzend_multibyte.h27 …ding_filter)(unsigned char **str, size_t *str_length, const unsigned char *buf, size_t length TSRM…
H A Dzend_language_scanner.l480 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 Dphp_xml.h34 xmlDocPtr soap_xmlParseMemory(const void *buf, size_t size);
H A Dphp_xml.c134 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 Donigposix.h157 ONIG_EXTERN size_t regerror P_((int code, const regex_t* reg, char* buf, size_t size));
H A Doniguruma.h158 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 Dphp_hash.h34 typedef void (*php_hash_update_func_t)(void *context, const unsigned char *buf, unsigned int count);
/PHP-5.5/ext/pdo_pgsql/
H A Dpgsql_statement.c188 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 Dftp.h51 char buf[FTP_BUFSIZE]; /* data buffer */ member
/PHP-5.5/main/
H A Doutput.c60 …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 Dphp_variables.c420 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 Dpgsql.c343 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 Dphp_curl.h124 smart_str buf; member

Completed in 185 milliseconds

12345678910>>...14