Searched defs:mapped (Results 1 - 2 of 2) sorted by relevance

/PHP_5_4/main/streams/
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:__anon293
65 /* Returns 1 if the stream in its current state can be memory mapped,
73 /* un-maps the last mapped range */
H A Dstreams.c1399 size_t mapped; local
1401 p = php_stream_mmap_range(stream, php_stream_tell(stream), PHP_STREAM_MMAP_ALL, PHP_STREAM_MAP_MODE_SHARED_READONLY, &mapped);
1404 PHPWRITE(p, mapped);
1406 php_stream_mmap_unmap_ex(stream, mapped);
1408 return mapped;
1527 size_t mapped; local
1529 p = php_stream_mmap_range(src, php_stream_tell(src), maxlen, PHP_STREAM_MAP_MODE_SHARED_READONLY, &mapped);
1532 didwrite = php_stream_write(dest, p, mapped);
1534 php_stream_mmap_unmap_ex(src, mapped);
1541 if (mapped >
[all...]

Completed in 23 milliseconds