Searched refs:contents (Results 1 - 16 of 16) sorted by relevance

/PHP_TRUNK/ext/phar/tests/zip/files/
H A Dzipmaker.php.inc28 * @param string|resource file contents or open file handle
/PHP_TRUNK/ext/zip/examples/
H A Dfopen.php12 $contents .= fread($fp, 2);
13 echo "$contents\n";
28 $contents .= fread($fp, 2);
32 file_put_contents('t',$contents);
/PHP_TRUNK/tests/security/
H A Dopen_basedir.inc38 // Scan through the directory contents
/PHP_TRUNK/win32/build/
H A Dbuildconf.js82 var contents = file_get_contents(c);
86 var calls = contents.match(re_dep_line);
98 item = new Module_Item(n, c, dir_line, deps, contents);
230 // Now generate contents of module based on MODULES, chasing dependencies
H A Dphpize.js.in61 function get_module_dep(contents)
64 var calls = contents.match(re_dep_line);
93 var contents = file_get_contents(c);
95 deps = get_module_dep(contents);
97 item = new Module_Item(n, c, dir_line, deps, contents);
113 var contents = file_get_contents(c);
115 deps = get_module_dep(contents);
117 item = new Module_Item(n, c, dir_line, deps, contents);
235 // Now generate contents of module based on MODULES, chasing dependencies
H A Dconfutils.js984 contents = header.ReadAll();
986 if (contents.match(new RegExp('PHP_' + basename.toUpperCase() + '_VERSION(\\s+)"((\\d+\.\\d+(\.\\d+)?)((a|b)(\\d)?|\-[a-z]{3,5})?(RC\\d+)?(\-dev)?)'))) {
/PHP_TRUNK/ext/standard/tests/file/
H A Dfile.inc4 create_files() : create files with specified contents
8 fill_files() : fill file with specified contents
10 fill_buffer() : fills buffer with specified contents
/PHP_TRUNK/ext/phar/
H A Dfunc_interceptors.c98 zend_string *contents; local
209 contents = php_stream_copy_to_mem(stream, maxlen, 0);
210 if (contents && contents->len > 0) {
211 RETVAL_STR(contents);
212 } else if (contents) {
213 zend_string_release(contents);
H A Dphar_object.c179 /* send headers, output file contents */
1623 /* try to open source file, then create internal phar file and copy contents */
1724 * Optional second parameter is a regular expression for filtering directory contents.
1964 "Cannot convert phar archive \"%s\", unable to open entry \"%s\" contents: %s", entry->phar->fname, entry->filename, error);
1968 "Cannot convert phar archive \"%s\", unable to open entry \"%s\" contents", entry->phar->fname, entry->filename);
1973 /* copy old contents in entirety */
1984 "Cannot convert phar archive \"%s\", unable to copy entry \"%s\" contents", entry->phar->fname, entry->filename);
1994 /* set new location of file contents */
2248 /* first copy each file's uncompressed contents to a temporary file and set per-file flags */
2769 * Do not flush a writeable phar (save its contents) unti
[all...]
/PHP_TRUNK/ext/standard/
H A Dfile.c528 zend_string *contents; local
559 if ((contents = php_stream_copy_to_mem(stream, maxlen, 0)) != NULL) {
560 RETVAL_STR(contents);
570 Write/Create a file with contents data and return the number of bytes written */
H A Dstreamsfuncs.c402 zend_string *contents; local
434 if ((contents = php_stream_copy_to_mem(stream, maxlen, 0))) {
435 RETURN_STR(contents);
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c3679 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "contents.data", sizeof("contents.data") - 1)) != NULL) {
3681 bod->contents.text.data = fs_get(Z_STRLEN_P(pvalue) + 1);
3682 memcpy(bod->contents.text.data, Z_STRVAL_P(pvalue), Z_STRLEN_P(pvalue)+1);
3683 bod->contents.text.size = Z_STRLEN_P(pvalue);
3685 bod->contents.text.data = fs_get(1);
3686 memcpy(bod->contents.text.data, "", 1);
3687 bod->contents.text.size = 0;
3783 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "contents.data", sizeof("contents
[all...]
H A Dphp_imap.h65 #define CONTENT_PART contents.part
66 #define CONTENT_MSG_BODY contents.msg.body
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c246 ZEND_ARG_INFO(0, contents)
2112 /* {{{ proto string mb_output_handler(string contents, int status)
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c995 xmlChar *contents; local
998 contents = xmlNodeListGetString(node->doc, node->children, 1);
999 if (contents) {
1000 ZVAL_STRING(value, (char *)contents);
1001 xmlFree(contents);
1749 static int cast_object(zval *object, int type, char *contents) argument
1751 if (contents) {
1752 ZVAL_STRINGL(object, contents, strlen(contents));
1784 xmlChar *contents local
[all...]
/PHP_TRUNK/ext/tidy/
H A Dtidy.c1248 zend_string *inputfile, *contents; local
1261 if (!(contents = php_tidy_file_to_mem(inputfile->val, use_include_path))) {
1268 if (php_tidy_parse_string(obj, contents->val, contents->len, enc) == FAILURE) {
1273 zend_string_release(contents);
1564 zend_string *contents, *inputfile = NULL; local
1577 if (!(contents = php_tidy_file_to_mem(inputfile->val, use_include_path))) {
1584 php_tidy_parse_string(obj, contents->val, contents->len, enc);
1586 zend_string_release(contents);
1596 zend_string *inputfile, *contents; local
[all...]

Completed in 53 milliseconds