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

123456

/PHP_5_3/ext/bcmath/libbcmath/src/
H A Dint2num.c49 char buffer[30]; local
62 bptr = buffer;
/PHP_5_3/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 Dcrypt.c190 struct php_crypt_extended_data buffer; local
267 memset(&buffer, 0, sizeof(buffer));
270 crypt_res = _crypt_extended_r(str, salt, &buffer);
287 struct crypt_data buffer; local
288 memset(&buffer, 0, sizeof(buffer));
290 CRYPTD buffer; local
294 crypt_res = crypt_r(str, salt, &buffer);
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:__anon220
H A Dformatted_print.c58 php_sprintf_appendchar(char **buffer, int *pos, int *size, char add TSRMLS_DC) argument
62 PRINTF_DEBUG(("%s(): ereallocing buffer to %d bytes\n", get_active_function_name(TSRMLS_C), *size));
63 *buffer = erealloc(*buffer, *size);
66 (*buffer)[(*pos)++] = add;
72 php_sprintf_appendstring(char **buffer, int *pos, int *size, char *add, argument
89 *buffer, *pos, *size, add, min_width, padding, alignment));
105 PRINTF_DEBUG(("sprintf ereallocing buffer to %d bytes\n", *size));
106 *buffer = erealloc(*buffer, *siz
132 php_sprintf_appendint(char **buffer, int *pos, int *size, long number, int width, char padding, int alignment, int always_sign) argument
176 php_sprintf_appenduint(char **buffer, int *pos, int *size, unsigned long number, int width, char padding, int alignment) argument
208 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
299 php_sprintf_append2n(char **buffer, int *pos, int *size, long number, int width, char padding, int alignment, int n, char *chartable, int expprec) argument
330 php_sprintf_getnumber(char *buffer, int *pos) argument
[all...]
H A Diptc.c307 unsigned char *buffer, recnum, dataset, key[ 16 ]; local
316 buffer = (unsigned char *)str;
319 if ((buffer[inx] == 0x1c) && ((buffer[inx+1] == 0x01) || (buffer[inx+1] == 0x02))){
327 if (buffer[ inx++ ] != 0x1c) {
334 dataset = buffer[ inx++ ];
335 recnum = buffer[ inx++ ];
337 if (buffer[ inx ] & (unsigned char) 0x80) { /* long tag */
341 len = (((long) buffer[ in
[all...]
/PHP_5_3/ext/fileinfo/
H A Dfileinfo.php27 echo $fi->buffer(file_get_contents($file)) . "\n";
/PHP_5_3/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_3/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_3/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_3/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:__anon60
H A Dphp_hash_haval.h29 unsigned char buffer[128]; member in struct:__anon61
H A Dphp_hash_md.h65 unsigned char buffer[64]; /* input buffer */ member in struct:__anon62
81 unsigned char buffer[64]; member in struct:__anon63
92 unsigned char buffer[16]; member in struct:__anon64
H A Dphp_hash_ripemd.h29 unsigned char buffer[64]; /* input buffer */ member in struct:__anon65
35 unsigned char buffer[64]; /* input buffer */ member in struct:__anon66
41 unsigned char buffer[64]; /* input buffer */ member in struct:__anon67
47 unsigned char buffer[64]; /* input buffer */ member in struct:__anon68
H A Dphp_hash_salsa.h31 unsigned char buffer[64]; member in struct:__anon69
H A Dphp_hash_sha.h41 unsigned char buffer[64]; /* input buffer */ member in struct:__anon70
57 unsigned char buffer[64]; /* input buffer */ member in struct:__anon71
68 unsigned char buffer[64]; /* input buffer */ member in struct:__anon72
79 unsigned char buffer[128]; /* input buffer */ member in struct:__anon73
90 unsigned char buffer[128]; /* input buffer */ member in struct:__anon74
[all...]
H A Dphp_hash_snefru.h35 unsigned char buffer[32]; member in struct:__anon75
H A Dphp_hash_tiger.h28 unsigned char buffer[64]; member in struct:__anon76
H A Dphp_hash_whirlpool.h32 } buffer; member in struct:__anon77
/PHP_5_3/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_3/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_3/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. */

Completed in 32 milliseconds

123456