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

/PHP_5_4/ext/phar/tests/zip/files/
H A Dzipmaker.php.inc28 * @param string|resource file contents or open file handle
/PHP_5_4/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_5_4/tests/security/
H A Dopen_basedir.inc38 // Scan through the directory contents
/PHP_5_4/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.js964 contents = header.ReadAll();
966 if (contents.match(new RegExp('PHP_' + basename.toUpperCase() + '_VERSION(\\s+)"((\\d+\.\\d+(\.\\d+)?)((a|b)(\\d)?|\-[a-z]{3,5})?(RC\\d+)?(\-dev)?)'))) {
/PHP_5_4/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_5_4/ext/phar/
H A Dfunc_interceptors.c98 char *contents; local
205 if ((len = php_stream_copy_to_mem(stream, &contents, maxlen, 0)) > 0) {
209 contents = php_addslashes(contents, len, &newlen, 1 TSRMLS_CC); /* 1 = free source string */
213 RETVAL_STRINGL(contents, len, 0);
H A Dphar_object.c198 /* send headers, output file contents */
1706 /* try to open source file, then create internal phar file and copy contents */
1807 * Optional second parameter is a regular expression for filtering directory contents.
2055 "Cannot convert phar archive \"%s\", unable to open entry \"%s\" contents: %s", entry->phar->fname, entry->filename, error);
2059 "Cannot convert phar archive \"%s\", unable to open entry \"%s\" contents", entry->phar->fname, entry->filename);
2064 /* copy old contents in entirety */
2075 "Cannot convert phar archive \"%s\", unable to copy entry \"%s\" contents", entry->phar->fname, entry->filename);
2085 /* set new location of file contents */
2348 /* first copy each file's uncompressed contents to a temporary file and set per-file flags */
2887 * Do not flush a writeable phar (save its contents) unti
[all...]
/PHP_5_4/ext/tidy/
H A Dtidy.c1276 char *contents; local
1289 if (!(contents = php_tidy_file_to_mem(inputfile, use_include_path, &contents_len TSRMLS_CC))) {
1296 if(php_tidy_parse_string(obj, contents, contents_len, enc TSRMLS_CC) == FAILURE) {
1302 efree(contents);
1589 char *contents; local
1603 if (!(contents = php_tidy_file_to_mem(inputfile, use_include_path, &contents_len TSRMLS_CC))) {
1610 php_tidy_parse_string(obj, contents, contents_len, enc TSRMLS_CC);
1612 efree(contents);
1621 char *contents; local
1634 if (!(contents
[all...]
/PHP_5_4/Zend/
H A Dzend.h540 int (*get_configuration_directive)(const char *name, uint name_length, zval *contents);
719 ZEND_API int zend_get_configuration_directive(const char *name, uint name_length, zval *contents);
H A Dzend.c63 static int (*zend_get_configuration_directive_p)(const char *name, uint name_length, zval *contents);
992 ZEND_API int zend_get_configuration_directive(const char *name, uint name_length, zval *contents) /* {{{ */ argument
995 return zend_get_configuration_directive_p(name, name_length, contents);
/PHP_5_4/ext/imap/
H A Dphp_imap.c3633 if (zend_hash_find(Z_ARRVAL_PP(data), "contents.data", sizeof("contents.data"), (void **) &pvalue)== SUCCESS) {
3635 bod->contents.text.data = (char *) fs_get(Z_STRLEN_PP(pvalue) + 1);
3636 memcpy(bod->contents.text.data, Z_STRVAL_PP(pvalue), Z_STRLEN_PP(pvalue)+1);
3637 bod->contents.text.size = Z_STRLEN_PP(pvalue);
3639 bod->contents.text.data = (char *) fs_get(1);
3640 memcpy(bod->contents.text.data, "", 1);
3641 bod->contents.text.size = 0;
3746 if (zend_hash_find(Z_ARRVAL_PP(data), "contents.data", sizeof("contents
[all...]
H A Dphp_imap.h63 #define CONTENT_PART contents.part
64 #define CONTENT_MSG_BODY contents.msg.body
/PHP_5_4/ext/mbstring/
H A Dmbstring.c254 ZEND_ARG_INFO(0, contents)
2086 /* {{{ proto string mb_output_handler(string contents, int status)
/PHP_5_4/ext/simplexml/
H A Dsimplexml.c1009 xmlChar *contents; local
1014 contents = xmlNodeListGetString(node->doc, node->children, 1);
1015 if (contents) {
1016 ZVAL_STRING(*value, (char *)contents, 1);
1017 xmlFree(contents);
1772 static int cast_object(zval *object, int type, char *contents TSRMLS_DC)
1774 if (contents) {
1775 ZVAL_STRINGL(object, contents, strlen(contents), 1);
1807 xmlChar *contents local
[all...]
/PHP_5_4/ext/standard/
H A Dfile.c518 char *contents; local
552 if ((len = php_stream_copy_to_mem(stream, &contents, maxlen, 0)) > 0) {
557 RETVAL_STRINGL(contents, len, 0);
569 Write/Create a file with contents data and return the number of bytes written */
H A Dstreamsfuncs.c411 char *contents = NULL; local
439 len = php_stream_copy_to_mem(stream, &contents, maxlen, 0);
441 if (contents) {
446 RETVAL_STRINGL(contents, len, 0);
/PHP_5_4/main/
H A Dmain.c1377 static int php_get_configuration_directive_for_zend(const char *name, uint name_length, zval *contents) argument
1382 *contents = *retval;

Completed in 55 milliseconds