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

1234

/PHP_TRUNK/ext/bcmath/libbcmath/src/
H A Dint2num.c49 char buffer[30]; local
62 bptr = buffer;
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_status.c53 char *buffer, *time_format, time_buffer[64]; local
359 spprintf(&buffer, 0, short_syntax,
377 PUTS(buffer);
378 efree(buffer);
440 spprintf(&buffer, 0, full_syntax,
458 PUTS(buffer);
459 efree(buffer);
H A Dfpm_log.c101 char buffer[FPM_LOG_BUFFER+1]; local
143 memset(buffer, '\0', sizeof(buffer));
144 b = buffer;
153 zlog(ZLOG_NOTICE, "the log buffer is full (%d). The access log request has been truncated.", FPM_LOG_BUFFER);
453 // push the normal char to the output buffer
461 if (!test && strlen(buffer) > 0) {
462 buffer[len] = '\n';
463 write(fpm_log_fd, buffer, len + 1);
/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/intl/idn/
H A Didn.c143 char *buffer = emalloc(buffer_capac); local
150 efree(buffer);
156 buffer, buffer_capac, &info, &status);
159 buffer, buffer_capac, &info, &status);
164 efree(buffer);
171 buffer[len] = '\0';
174 RETVAL_STRINGL(buffer, len, 0);
187 ZVAL_STRINGL(zv, buffer, len, 0);
197 efree(buffer);
/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" TSRMLS_CC, E_NOTICE, "mbstring decoded '%s'=%d", buffer, ent);*/
244 buffer[filte
291 unsigned char *buffer; local
[all...]
/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/pcre/pcrelib/
H A Dpcre_ord2utf8.c61 buffer pointer to buffer for result - at least 6 pcre_uchars long
63 Returns: number of characters placed in the buffer
68 PRIV(ord2utf)(pcre_uint32 cvalue, pcre_uchar *buffer) argument
76 buffer += i;
79 *buffer-- = 0x80 | (cvalue & 0x3f);
82 *buffer = PRIV(utf8_table2)[i] | cvalue;
88 (void)(buffer); /* called when SUPPORT_UTF is not defined. */
/PHP_TRUNK/ext/zip/lib/
H A Dzip_source_deflate.c48 char buffer[BUFSIZE];
142 if ((n=zip_source_read(src, ctx->buffer, sizeof(ctx->buffer))) < 0) {
153 ctx->zstr.next_in = (Bytef *)ctx->buffer;
216 if ((n=zip_source_read(src, ctx->buffer, sizeof(ctx->buffer))) < 0) {
224 ctx->zstr.next_in = (Bytef *)ctx->buffer;
334 if ((n=zip_source_read(src, ctx->buffer, sizeof(ctx->buffer))) < 0)
340 ctx->zstr.next_in = (Bytef *)ctx->buffer;
47 char buffer[BUFSIZE]; member in struct:deflate
[all...]
/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/soap/
H A Dphp_packet_soap.c25 int parse_packet_soap(zval *this_ptr, char *buffer, int buffer_size, sdlFunctionPtr fn, char *fn_name, zval *return_value, zval *soap_headers TSRMLS_DC) argument
43 response = soap_xmlParseMemory(buffer, buffer_size);
/PHP_TRUNK/ext/standard/
H A Dcrypt.c155 struct php_crypt_extended_data buffer; local
218 memset(&buffer, 0, sizeof(buffer));
221 crypt_res = _crypt_extended_r(password, salt, &buffer);
235 struct crypt_data buffer; local
236 memset(&buffer, 0, sizeof(buffer));
238 CRYPTD buffer; local
242 crypt_res = crypt_r(password, salt, &buffer);
H A Dmd5.h47 unsigned char buffer[64]; member in struct:__anon257
H A Dsha1.h30 unsigned char buffer[64]; /* input buffer */ member in struct:__anon262
/PHP_TRUNK/ext/xsl/
H A Dphp_xsl.c292 char buffer[128]; local
299 snprintf(buffer, 128, "%d.%d.%d", major, minor, subminor);
300 php_info_print_table_row(2, "libxslt Version", buffer);
304 snprintf(buffer, 128, "%d.%d.%d", major, minor, subminor);
305 php_info_print_table_row(2, "libxslt compiled against libxml Version", buffer);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_list.c131 char buffer[8096] = {0,}; local
153 while (php_stream_gets(stream, buffer, sizeof(buffer)) != NULL) {
154 long linelen = strlen(buffer);
160 phpdbg_write("%05ld: %s", line, buffer);
163 phpdbg_write(" %05ld: %s", line, buffer);
165 phpdbg_write(">%05ld: %s", line, buffer);
169 if (buffer[linelen - 1] != '\n') {

Completed in 52 milliseconds

1234