Searched refs:contents (Results 1 - 20 of 20) 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.js83 var contents = file_get_contents(c);
87 var calls = contents.match(re_dep_line);
99 item = new Module_Item(n, c, dir_line, deps, contents);
246 // Now generate contents of module based on MODULES, chasing dependencies
H A Dprojectgen.js289 contents = file_get_contents(f.item());
290 address = contents.slice(0, contents.indexOf("#"));
291 contents = contents.slice(contents.indexOf("#")+1);
292 shared = contents.slice(0, contents.indexOf("#"));
293 contents = contents
[all...]
H A Dphpize.js.in62 function get_module_dep(contents)
65 var calls = contents.match(re_dep_line);
94 var contents = file_get_contents(c);
96 deps = get_module_dep(contents);
98 item = new Module_Item(n, c, dir_line, deps, contents);
114 var contents = file_get_contents(c);
116 deps = get_module_dep(contents);
118 item = new Module_Item(n, c, dir_line, deps, contents);
241 // Now generate contents of module based on MODULES, chasing dependencies
H A Dconfutils.js966 contents = header.ReadAll();
968 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/imap/
H A Dphp_imap.h63 #define CONTENT_PART contents.part
64 #define CONTENT_MSG_BODY contents.msg.body
H A Dphp_imap.c3618 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "contents.data", sizeof("contents.data") - 1)) != NULL) {
3620 bod->contents.text.data = fs_get(Z_STRLEN_P(pvalue) + 1);
3621 memcpy(bod->contents.text.data, Z_STRVAL_P(pvalue), Z_STRLEN_P(pvalue)+1);
3622 bod->contents.text.size = Z_STRLEN_P(pvalue);
3624 bod->contents.text.data = fs_get(1);
3625 memcpy(bod->contents.text.data, "", 1);
3626 bod->contents.text.size = 0;
3722 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "contents.data", sizeof("contents
[all...]
/PHP_TRUNK/main/
H A Dmain.c1442 static int php_get_configuration_directive_for_zend(const char *name, uint name_length, zval *contents) argument
1447 *contents = *retval;
/PHP_TRUNK/Zend/
H A Dzend.h545 int (*get_configuration_directive)(const char *name, uint name_length, zval *contents);
692 ZEND_API int zend_get_configuration_directive(const char *name, uint name_length, zval *contents);
H A Dzend.c65 static int (*zend_get_configuration_directive_p)(const char *name, uint name_length, zval *contents);
982 ZEND_API int zend_get_configuration_directive(const char *name, uint name_length, zval *contents) /* {{{ */ argument
985 return zend_get_configuration_directive_p(name, name_length, contents);
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c253 ZEND_ARG_INFO(0, contents)
2106 /* {{{ proto string mb_output_handler(string contents, int status)
/PHP_TRUNK/ext/phar/
H A Dfunc_interceptors.c98 zend_string *contents; local
204 contents = php_stream_copy_to_mem(stream, maxlen, 0);
205 if (contents && contents->len > 0) {
206 RETVAL_STR(contents);
207 } else if (contents) {
208 zend_string_release(contents);
H A Dphar_object.c179 /* send headers, output file contents */
1611 /* try to open source file, then create internal phar file and copy contents */
1714 * Optional second parameter is a regular expression for filtering directory contents.
1954 "Cannot convert phar archive \"%s\", unable to open entry \"%s\" contents: %s", entry->phar->fname, entry->filename, error);
1958 "Cannot convert phar archive \"%s\", unable to open entry \"%s\" contents", entry->phar->fname, entry->filename);
1963 /* copy old contents in entirety */
1974 "Cannot convert phar archive \"%s\", unable to copy entry \"%s\" contents", entry->phar->fname, entry->filename);
1984 /* set new location of file contents */
2235 /* first copy each file's uncompressed contents to a temporary file and set per-file flags */
2756 * Do not flush a writeable phar (save its contents) unti
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1002 xmlChar *contents; local
1005 contents = xmlNodeListGetString(node->doc, node->children, 1);
1006 if (contents) {
1007 ZVAL_STRING(value, (char *)contents);
1008 xmlFree(contents);
1756 static int cast_object(zval *object, int type, char *contents TSRMLS_DC)
1758 if (contents) {
1759 ZVAL_STRINGL(object, contents, strlen(contents));
1791 xmlChar *contents local
[all...]
/PHP_TRUNK/ext/standard/
H A Dstreamsfuncs.c403 zend_string *contents; local
435 if ((contents = php_stream_copy_to_mem(stream, maxlen, 0))) {
436 RETURN_STR(contents);
H A Dfile.c533 zend_string *contents; local
564 if ((contents = php_stream_copy_to_mem(stream, maxlen, 0)) != NULL) {
565 RETVAL_STR(contents);
575 Write/Create a file with contents data and return the number of bytes written */
/PHP_TRUNK/ext/tidy/
H A Dtidy.c1242 zend_string *inputfile, *contents; local
1255 if (!(contents = php_tidy_file_to_mem(inputfile->val, use_include_path TSRMLS_CC))) {
1262 if (php_tidy_parse_string(obj, contents->val, contents->len, enc TSRMLS_CC) == FAILURE) {
1267 zend_string_release(contents);
1558 zend_string *contents, *inputfile = NULL; local
1571 if (!(contents = php_tidy_file_to_mem(inputfile->val, use_include_path TSRMLS_CC))) {
1578 php_tidy_parse_string(obj, contents->val, contents->len, enc TSRMLS_CC);
1580 zend_string_release(contents);
1590 zend_string *inputfile, *contents; local
[all...]

Completed in 85 milliseconds