Searched refs:device (Results 1 - 7 of 7) sorted by relevance

/PHP_TRUNK/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.h124 mbfl_memory_device device; member in struct:_mbfl_buffer_converter
H A Dmbfl_memory_device.c44 * memory device output functions
47 mbfl_memory_device_init(mbfl_memory_device *device, int initsz, int allocsz) argument
49 if (device) {
50 device->length = 0;
51 device->buffer = (unsigned char *)0;
53 device->buffer = (unsigned char *)mbfl_malloc(initsz*sizeof(unsigned char));
54 if (device->buffer != NULL) {
55 device->length = initsz;
58 device->pos= 0;
60 device
68 mbfl_memory_device_realloc(mbfl_memory_device *device, int initsz, int allocsz) argument
89 mbfl_memory_device_clear(mbfl_memory_device *device) argument
102 mbfl_memory_device_reset(mbfl_memory_device *device) argument
110 mbfl_memory_device_unput(mbfl_memory_device *device) argument
118 mbfl_memory_device_result(mbfl_memory_device *device, mbfl_string *result) argument
141 mbfl_memory_device *device = (mbfl_memory_device *)data; local
164 mbfl_memory_device *device = (mbfl_memory_device *)data; local
189 mbfl_memory_device *device = (mbfl_memory_device *)data; local
214 mbfl_memory_device_strcat(mbfl_memory_device *device, const char *psrc) argument
250 mbfl_memory_device_strncat(mbfl_memory_device *device, const char *psrc, int len) argument
305 mbfl_wchar_device_init(mbfl_wchar_device *device) argument
316 mbfl_wchar_device_clear(mbfl_wchar_device *device) argument
331 mbfl_wchar_device *device = (mbfl_wchar_device *)data; local
[all...]
H A Dmbfl_memory_device.h53 MBFLAPI extern void mbfl_memory_device_init(mbfl_memory_device *device, int initsz, int allocsz);
54 MBFLAPI extern void mbfl_memory_device_realloc(mbfl_memory_device *device, int initsz, int allocsz);
55 MBFLAPI extern void mbfl_memory_device_clear(mbfl_memory_device *device);
56 MBFLAPI extern void mbfl_memory_device_reset(mbfl_memory_device *device);
57 MBFLAPI extern mbfl_string * mbfl_memory_device_result(mbfl_memory_device *device, mbfl_string *result);
58 MBFLAPI extern void mbfl_memory_device_unput(mbfl_memory_device *device);
62 MBFLAPI extern int mbfl_memory_device_strcat(mbfl_memory_device *device, const char *psrc);
63 MBFLAPI extern int mbfl_memory_device_strncat(mbfl_memory_device *device, const char *psrc, int len);
66 MBFLAPI extern void mbfl_wchar_device_init(mbfl_wchar_device *device);
68 MBFLAPI extern void mbfl_wchar_device_clear(mbfl_wchar_device *device);
[all...]
H A Dmbfilter.c159 convd->filter1 = mbfl_convert_filter_new(convd->from->no_encoding, convd->to->no_encoding, mbfl_memory_device_output, NULL, &convd->device);
161 convd->filter2 = mbfl_convert_filter_new(mbfl_no_encoding_wchar, convd->to->no_encoding, mbfl_memory_device_output, NULL, &convd->device);
177 mbfl_memory_device_init(&convd->device, buf_initsz, buf_initsz/4);
193 mbfl_memory_device_clear(&convd->device);
201 mbfl_memory_device_reset(&convd->device);
275 mbfl_memory_device_realloc(&convd->device, convd->device.pos + string->len, string->len/4);
320 if (convd != NULL && result != NULL && convd->device.buffer != NULL) {
322 result->val = convd->device.buffer;
323 result->len = convd->device
574 mbfl_memory_device device; local
1404 mbfl_memory_device device; local
1466 mbfl_memory_device device; local
1818 mbfl_memory_device device; member in struct:collector_strimwidth_data
1969 mbfl_memory_device device; local
3040 mbfl_memory_device device; local
[all...]
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c4069 mbfl_memory_device device; /* automatic allocateable buffer for additional header */ local
4074 extern void mbfl_memory_device_unput(mbfl_memory_device *device);
4078 mbfl_memory_device_init(&device, 0, 0);
4255 mbfl_memory_device_strncat(&device, p, n);
4257 mbfl_memory_device_strncat(&device, "\n", 1);
4262 mbfl_memory_device_strncat(&device, PHP_MBSTR_MAIL_MIME_HEADER1, sizeof(PHP_MBSTR_MAIL_MIME_HEADER1) - 1);
4263 mbfl_memory_device_strncat(&device, "\n", 1);
4267 mbfl_memory_device_strncat(&device, PHP_MBSTR_MAIL_MIME_HEADER2, sizeof(PHP_MBSTR_MAIL_MIME_HEADER2) - 1);
4271 mbfl_memory_device_strncat(&device, PHP_MBSTR_MAIL_MIME_HEADER3, sizeof(PHP_MBSTR_MAIL_MIME_HEADER3) - 1);
4272 mbfl_memory_device_strcat(&device,
[all...]
/PHP_TRUNK/sapi/apache2filter/
H A Dsapi_apache2.c186 ctx->finfo.st_dev = ctx->r->finfo.device;
/PHP_TRUNK/sapi/apache2handler/
H A Dsapi_apache2.c222 ctx->finfo.st_dev = ctx->r->finfo.device;

Completed in 24 milliseconds