Searched refs:buffer (Results 1 - 25 of 136) sorted by relevance

123456

/PHP_5_5/ext/bcmath/libbcmath/src/
H A Dint2num.c49 char buffer[30]; local
62 bptr = buffer;
/PHP_5_5/ext/standard/
H A Dcrypt_sha256.c74 char buffer[128]; /* NB: always correctly aligned for uint32_t. */ member in struct:sha256_ctx
84 /* This array contains the bytes used to pad the buffer to the next
112 static void sha256_process_block (const void *buffer, size_t len, struct sha256_ctx *ctx) { argument
113 const uint32_t *words = buffer;
134 /* Process all bytes in the buffer with 64 bytes in each round of
225 /* Process the remaining bytes in the internal buffer and the usual
243 memcpy(&ctx->buffer[bytes], fillbuf, pad);
245 /* Put the 64-bit file length in *bits* at the end of the buffer. */
246 *(uint32_t *) &ctx->buffer[bytes + pad + 4] = SWAP (ctx->total[0] << 3);
247 *(uint32_t *) &ctx->buffer[byte
262 sha256_process_bytes(const void *buffer, size_t len, struct sha256_ctx *ctx) argument
340 php_sha256_crypt_r(const char *key, const char *salt, char *buffer, int buflen) argument
606 static char *buffer; local
[all...]
H A Dpassword.c86 unsigned char *buffer; local
90 buffer = php_base64_encode((unsigned char*) str, (int) str_len, (int*) &ret_len);
93 efree(buffer);
97 if (buffer[pos] == '+') {
99 } else if (buffer[pos] == '=') {
100 efree(buffer);
103 ret[pos] = buffer[pos];
106 efree(buffer);
115 char *buffer; local
125 buffer
356 char *buffer; local
[all...]
H A Dphp_crypt_r.h52 extern char * php_sha512_crypt_r (const char *key, const char *salt, char *buffer, int buflen);
53 extern char * php_sha256_crypt_r (const char *key, const char *salt, char *buffer, int buflen);
H A Dsha1.h30 unsigned char buffer[64]; /* input buffer */ member in struct:__anon261
H A Diptc.c301 unsigned char *buffer, recnum, dataset, key[ 16 ]; local
310 buffer = (unsigned char *)str;
313 if ((buffer[inx] == 0x1c) && ((buffer[inx+1] == 0x01) || (buffer[inx+1] == 0x02))){
321 if (buffer[ inx++ ] != 0x1c) {
328 dataset = buffer[ inx++ ];
329 recnum = buffer[ inx++ ];
331 if (buffer[ inx ] & (unsigned char) 0x80) { /* long tag */
335 len = (((long) buffer[ in
[all...]
H A Dformatted_print.c55 php_sprintf_appendchar(char **buffer, int *pos, int *size, char add TSRMLS_DC) argument
59 PRINTF_DEBUG(("%s(): ereallocing buffer to %d bytes\n", get_active_function_name(TSRMLS_C), *size));
60 *buffer = erealloc(*buffer, *size);
63 (*buffer)[(*pos)++] = add;
69 php_sprintf_appendstring(char **buffer, int *pos, int *size, char *add, argument
86 *buffer, *pos, *size, add, min_width, padding, alignment));
102 PRINTF_DEBUG(("sprintf ereallocing buffer to %d bytes\n", *size));
103 *buffer = erealloc(*buffer, *siz
129 php_sprintf_appendint(char **buffer, int *pos, int *size, long number, int width, char padding, int alignment, int always_sign) argument
173 php_sprintf_appenduint(char **buffer, int *pos, int *size, unsigned long number, int width, char padding, int alignment) argument
205 php_sprintf_appenddouble(char **buffer, int *pos, int *size, double number, int width, char padding, int alignment, int precision, int adjust, char fmt, int always_sign TSRMLS_DC) argument
296 php_sprintf_append2n(char **buffer, int *pos, int *size, long number, int width, char padding, int alignment, int n, char *chartable, int expprec) argument
327 php_sprintf_getnumber(char *buffer, int *pos) argument
[all...]
/PHP_5_5/ext/fileinfo/
H A Dfileinfo.php27 echo $fi->buffer(file_get_contents($file)) . "\n";
/PHP_5_5/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_5_5/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_memory_device.c51 device->buffer = (unsigned char *)0;
53 device->buffer = (unsigned char *)mbfl_malloc(initsz*sizeof(unsigned char));
54 if (device->buffer != NULL) {
74 tmp = (unsigned char *)mbfl_realloc((void *)device->buffer, initsz*sizeof(unsigned char));
76 device->buffer = tmp;
92 if (device->buffer) {
93 mbfl_free(device->buffer);
95 device->buffer = (unsigned char *)0;
123 result->val = device->buffer;
124 device->buffer
[all...]
/PHP_5_5/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_5_5/ext/soap/
H A Dphp_packet_soap.h25 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);
/PHP_5_5/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_5_5/ext/date/lib/
H A Dparse_tz.c72 uint32_t buffer[6]; local
74 memcpy(&buffer, *tzf, sizeof(buffer));
75 tz->ttisgmtcnt = timelib_conv_int(buffer[0]);
76 tz->ttisstdcnt = timelib_conv_int(buffer[1]);
77 tz->leapcnt = timelib_conv_int(buffer[2]);
78 tz->timecnt = timelib_conv_int(buffer[3]);
79 tz->typecnt = timelib_conv_int(buffer[4]);
80 tz->charcnt = timelib_conv_int(buffer[5]);
81 *tzf += sizeof(buffer);
86 int32_t *buffer = NULL; local
116 unsigned char *buffer; local
199 uint32_t buffer[3]; local
[all...]
/PHP_5_5/ext/hash/
H A Dhash_tiger.c143 context->buffer[context->length++] = 0x1;
145 memset(&context->buffer[context->length], 0, 8-context->length%8);
150 memset(&context->buffer[context->length], 0, 64 - context->length);
151 tiger_compress(context->passes, ((php_hash_uint64 *) context->buffer), context->state);
152 memset(context->buffer, 0, 56);
154 memset(&context->buffer[context->length], 0, 56 - context->length);
158 memcpy(&context->buffer[56], &context->passed, sizeof(php_hash_uint64));
160 context->buffer[56] = (unsigned char) (context->passed & 0xff);
161 context->buffer[57] = (unsigned char) ((context->passed >> 8) & 0xff);
162 context->buffer[5
[all...]
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:__anon81
H A Dphp_hash_md.h65 unsigned char buffer[64]; /* input buffer */ member in struct:__anon84
81 unsigned char buffer[64]; member in struct:__anon85
92 unsigned char buffer[16]; member in struct:__anon86
H A Dphp_hash_ripemd.h29 unsigned char buffer[64]; /* input buffer */ member in struct:__anon87
35 unsigned char buffer[64]; /* input buffer */ member in struct:__anon88
41 unsigned char buffer[64]; /* input buffer */ member in struct:__anon89
47 unsigned char buffer[64]; /* input buffer */ member in struct:__anon90
H A Dphp_hash_sha.h41 unsigned char buffer[64]; /* input buffer */ member in struct:__anon91
57 unsigned char buffer[64]; /* input buffer */ member in struct:__anon92
68 unsigned char buffer[64]; /* input buffer */ member in struct:__anon93
79 unsigned char buffer[128]; /* input buffer */ member in struct:__anon94
90 unsigned char buffer[128]; /* input buffer */ member in struct:__anon95
[all...]
H A Dphp_hash_snefru.h35 unsigned char buffer[32]; member in struct:__anon96
H A Dphp_hash_tiger.h28 unsigned char buffer[64]; member in struct:__anon97
H A Dphp_hash_whirlpool.h32 } buffer; member in struct:__anon98
/PHP_5_5/sapi/cli/
H A Dphp_cli_server.c162 php_cli_server_buffer buffer; member in struct:php_cli_server_content_sender
327 static void php_cli_server_buffer_append(php_cli_server_buffer *buffer, php_cli_server_chunk *chunk);
437 static void append_http_status_line(smart_str *buffer, int protocol_version, int response_code, int persistent) /* {{{ */ argument
442 smart_str_appendl_ex(buffer, "HTTP", 4, persistent);
443 smart_str_appendc_ex(buffer, '/', persistent);
444 smart_str_append_generic_ex(buffer, protocol_version / 100, persistent, int, _unsigned);
445 smart_str_appendc_ex(buffer, '.', persistent);
446 smart_str_append_generic_ex(buffer, protocol_version % 100, persistent, int, _unsigned);
447 smart_str_appendc_ex(buffer, ' ', persistent);
448 smart_str_append_generic_ex(buffer, response_cod
454 append_essential_headers(smart_str* buffer, php_cli_server_client *client, int persistent) argument
650 smart_str buffer = { 0 }; local
993 php_cli_server_buffer_dtor(php_cli_server_buffer *buffer) argument
1003 php_cli_server_buffer_ctor(php_cli_server_buffer *buffer) argument
1009 php_cli_server_buffer_append(php_cli_server_buffer *buffer, php_cli_server_chunk *chunk) argument
1021 php_cli_server_buffer_prepend(php_cli_server_buffer *buffer, php_cli_server_chunk *chunk) argument
1032 php_cli_server_buffer_size(const php_cli_server_buffer *buffer) argument
1972 smart_str buffer = { 0 }; local
2052 smart_str buffer = { 0 }; local
[all...]
/PHP_5_5/ext/zlib/
H A Dzlib.c124 ctx->buffer.used = 0;
129 if (ctx->buffer.free < output_context->in.used) {
130 if (!(ctx->buffer.aptr = erealloc_recoverable(ctx->buffer.data, ctx->buffer.used + ctx->buffer.free + output_context->in.used))) {
134 ctx->buffer.data = ctx->buffer.aptr;
135 ctx->buffer.free += output_context->in.used;
137 memcpy(ctx->buffer
360 php_zlib_buffer buffer = {NULL, NULL, 0, 0, 0}; local
[all...]

Completed in 53 milliseconds

123456