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

/PHP_5_3/ext/fileinfo/libmagic/
H A Dapprentice.c250 int mapped; local
279 mapped = rv;
282 file_delmagic(magic, mapped, nmagic);
290 ml->mapped = mapped;
H A Dfile.h335 int mapped; /* allocation type: 0 => apprentice_file member in struct:mlist
H A Dmagic.c259 file_delmagic(mg, ml->mapped, ml->nmagic);
/PHP_5_3/main/streams/
H A Dmmap.c32 range.mapped = NULL;
44 return range.mapped;
H A Dphp_stream_mmap.h33 /* Request a range and offset to be mapped;
34 * while mapped, you MUST NOT use any read/write functions
37 /* Unmap the last range that was mapped for the stream */
50 * If length is 0, the whole file is mapped */
56 /* returned mapped address */
57 char *mapped; member in struct:__anon264
65 /* Returns 1 if the stream in its current state can be memory mapped,
73 /* un-maps the last mapped range */
H A Dplain_wrapper.c666 range->mapped = (char*)mmap(NULL, range->length, prot, flags, fd, range->offset);
667 if (range->mapped == (char*)MAP_FAILED) {
668 range->mapped = NULL;
672 data->last_mapped_addr = range->mapped;
754 range->mapped = data->last_mapped_addr + delta;
H A Dstreams.c1328 size_t mapped; local
1330 p = php_stream_mmap_range(stream, php_stream_tell(stream), PHP_STREAM_MMAP_ALL, PHP_STREAM_MAP_MODE_SHARED_READONLY, &mapped);
1333 PHPWRITE(p, mapped);
1335 php_stream_mmap_unmap_ex(stream, mapped);
1337 return mapped;
1456 size_t mapped; local
1458 p = php_stream_mmap_range(src, php_stream_tell(src), maxlen, PHP_STREAM_MAP_MODE_SHARED_READONLY, &mapped);
1461 mapped = php_stream_write(dest, p, mapped);
1463 php_stream_mmap_unmap_ex(src, mapped);
[all...]

Completed in 24 milliseconds