Searched defs:buffer (Results 1 - 25 of 96) sorted by relevance

1234

/PHP_TRUNK/ext/gd/libgd/
H A Dgdtest.c17 static int fwriteWrapper (void *context, const char *buffer, int len);
406 fwriteWrapper (void *context, const char *buffer, int len) argument
408 return fwrite (buffer, 1, len, (FILE *) context);
/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcre_ord2utf8.c59 buffer pointer to buffer for result - at least 6 pcre_uchars long
61 Returns: number of characters placed in the buffer
66 PRIV(ord2utf)(pcre_uint32 cvalue, pcre_uchar *buffer) argument
74 buffer += i;
77 *buffer-- = 0x80 | (cvalue & 0x3f);
80 *buffer = PRIV(utf8_table2)[i] | cvalue;
86 (void)(buffer); /* called when SUPPORT_UTF is not defined. */
/PHP_TRUNK/ext/bcmath/libbcmath/src/
H A Dint2num.c49 char buffer[30]; local
62 bptr = buffer;
/PHP_TRUNK/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_memory_device.h40 unsigned char *buffer; member in struct:_mbfl_memory_device
47 unsigned int *buffer; member in struct:_mbfl_wchar_device
/PHP_TRUNK/ext/mbstring/libmbfl/filters/
H A Dmbfilter_htmlent.c183 char *buffer = (char*)filter->opaque; local
188 buffer[0] = '&';
194 if (buffer[1]=='#') {
195 if (filter->status > 2 && (buffer[2] == 'x' || buffer[2] == 'X')) {
199 int v = buffer[pos];
219 int v = buffer[pos];
236 CK((*filter->output_function)(buffer[pos], filter->data));
241 /*php_error_docref("ref.mbstring", E_NOTICE, "mbstring decoded '%s'=%d", buffer, ent);*/
244 buffer[filte
291 unsigned char *buffer; local
[all...]
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_log.c103 char buffer[FPM_LOG_BUFFER+1]; local
145 memset(buffer, '\0', sizeof(buffer));
146 b = buffer;
155 zlog(ZLOG_NOTICE, "the log buffer is full (%d). The access log request has been truncated.", FPM_LOG_BUFFER);
455 // push the normal char to the output buffer
463 if (!test && strlen(buffer) > 0) {
464 buffer[len] = '\n';
465 write(fpm_log_fd, buffer, len + 1);
/PHP_TRUNK/Zend/
H A Dzend_sprintf.c31 int zend_sprintf(char *buffer, const char *format, ...) argument
36 vsprintf(buffer, format, args);
39 return strlen(buffer);
/PHP_TRUNK/ext/hash/
H A Dhash_whirlpool.c45 php_hash_uint64 block[8]; /* mu(buffer) */
48 unsigned char *buffer = context->buffer.data; local
51 * map the buffer to a block:
53 for (i = 0; i < 8; i++, buffer += 8) {
55 (((php_hash_uint64)buffer[0] ) << 56) ^
56 (((php_hash_uint64)buffer[1] & 0xffL) << 48) ^
57 (((php_hash_uint64)buffer[2] & 0xffL) << 40) ^
58 (((php_hash_uint64)buffer[3] & 0xffL) << 32) ^
59 (((php_hash_uint64)buffer[
282 unsigned char *buffer = context->buffer.data; local
380 unsigned char *buffer = context->buffer.data; local
[all...]
H A Dphp_hash_gost.h31 unsigned char buffer[32]; member in struct:__anon82
H A Dphp_hash_haval.h29 unsigned char buffer[128]; member in struct:__anon83
H A Dphp_hash_md.h65 unsigned char buffer[64]; /* input buffer */ member in struct:__anon85
81 unsigned char buffer[64]; member in struct:__anon86
92 unsigned char buffer[16]; member in struct:__anon87
H A Dphp_hash_ripemd.h29 unsigned char buffer[64]; /* input buffer */ member in struct:__anon88
35 unsigned char buffer[64]; /* input buffer */ member in struct:__anon89
41 unsigned char buffer[64]; /* input buffer */ member in struct:__anon90
47 unsigned char buffer[64]; /* input buffer */ member in struct:__anon91
H A Dphp_hash_sha.h41 unsigned char buffer[64]; /* input buffer */ member in struct:__anon92
57 unsigned char buffer[64]; /* input buffer */ member in struct:__anon93
68 unsigned char buffer[64]; /* input buffer */ member in struct:__anon94
79 unsigned char buffer[128]; /* input buffer */ member in struct:__anon95
90 unsigned char buffer[128]; /* input buffer */ member in struct:__anon96
[all...]
H A Dphp_hash_snefru.h35 unsigned char buffer[32]; member in struct:__anon97
H A Dphp_hash_tiger.h28 unsigned char buffer[64]; member in struct:__anon98
H A Dphp_hash_whirlpool.h32 } buffer; member in struct:__anon99
/PHP_TRUNK/ext/standard/
H A Dmd5.h47 unsigned char buffer[64]; member in struct:__anon295
H A Dsha1.h30 unsigned char buffer[64]; /* input buffer */ member in struct:__anon300
H A Dcrypt.c162 struct php_crypt_extended_data buffer; local
235 memset(&buffer, 0, sizeof(buffer));
238 crypt_res = _crypt_extended_r(password, salt, &buffer);
252 struct crypt_data buffer; local
253 memset(&buffer, 0, sizeof(buffer));
255 CRYPTD buffer; local
265 crypt_res = crypt_r(password, salt, &buffer);
/PHP_TRUNK/ext/xsl/
H A Dphp_xsl.c258 char buffer[128]; local
265 snprintf(buffer, 128, "%d.%d.%d", major, minor, subminor);
266 php_info_print_table_row(2, "libxslt Version", buffer);
270 snprintf(buffer, 128, "%d.%d.%d", major, minor, subminor);
271 php_info_print_table_row(2, "libxslt compiled against libxml Version", buffer);
/PHP_TRUNK/ext/zip/lib/
H A Dzip_buffer.c2 zip_buffer.c -- bounds checked access to memory buffer
40 _zip_buffer_data(zip_buffer_t *buffer) argument
42 return buffer->data;
47 _zip_buffer_free(zip_buffer_t *buffer) argument
49 if (buffer == NULL) {
53 if (buffer->free_data) {
54 free(buffer->data);
57 free(buffer);
62 _zip_buffer_eof(zip_buffer_t *buffer) argument
64 return buffer
69 _zip_buffer_get(zip_buffer_t *buffer, zip_uint64_t length) argument
85 _zip_buffer_get_16(zip_buffer_t *buffer) argument
98 _zip_buffer_get_32(zip_buffer_t *buffer) argument
111 _zip_buffer_get_64(zip_buffer_t *buffer) argument
125 _zip_buffer_get_8(zip_buffer_t *buffer) argument
138 _zip_buffer_left(zip_buffer_t *buffer) argument
148 zip_buffer_t *buffer; local
176 zip_buffer_t *buffer; local
193 _zip_buffer_offset(zip_buffer_t *buffer) argument
200 _zip_buffer_ok(zip_buffer_t *buffer) argument
207 _zip_buffer_put(zip_buffer_t *buffer, const void *src, size_t length) argument
221 _zip_buffer_put_16(zip_buffer_t *buffer, zip_uint16_t i) argument
237 _zip_buffer_put_32(zip_buffer_t *buffer, zip_uint32_t i) argument
255 _zip_buffer_put_64(zip_buffer_t *buffer, zip_uint64_t i) argument
277 _zip_buffer_put_8(zip_buffer_t *buffer, zip_uint8_t i) argument
292 _zip_buffer_set_offset(zip_buffer_t *buffer, zip_uint64_t offset) argument
307 _zip_buffer_size(zip_buffer_t *buffer) argument
[all...]
H A Dzip_io_util.c65 _zip_read_data(zip_buffer_t *buffer, zip_source_t *src, size_t length, bool nulp, zip_error_t *error) argument
79 if (buffer) {
80 zip_uint8_t *data = _zip_buffer_get(buffer, length);
110 _zip_read_string(zip_buffer_t *buffer, zip_source_t *src, zip_uint16_t len, bool nulp, zip_error_t *error) argument
115 if ((raw=_zip_read_data(buffer, src, len, nulp, error)) == NULL)
H A Dzip_source_deflate.c48 zip_uint8_t buffer[BUFSIZE]; member in struct:deflate
124 memcpy(data, ctx->buffer, ctx->size);
154 if ((n=zip_source_read(src, ctx->buffer, sizeof(ctx->buffer))) < 0) {
166 /* we overwrote a previously filled ctx->buffer */
169 ctx->zstr.next_in = (Bytef *)ctx->buffer;
245 if ((n=zip_source_read(src, ctx->buffer, sizeof(ctx->buffer))) < 0) {
254 ctx->zstr.next_in = (Bytef *)ctx->buffer;
356 if ((n=zip_source_read(src, ctx->buffer, sizeo
[all...]
/PHP_TRUNK/ext/zlib/
H A Dphp_zlib.h52 php_zlib_buffer buffer; member in struct:_php_zlib_context
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_sigsafe.c30 void phpdbg_set_sigsafe_mem(char *buffer) { argument
39 mem->mem = buffer;

Completed in 31 milliseconds

1234