Searched defs:fh (Results 1 - 12 of 12) sorted by relevance

/PHP_TRUNK/scripts/dev/generate-phpt/src/
H A DgtTestCaseWriter.php22 $fh = fopen($fileName, 'w'); variable
23 fwrite ($fh, $string);
24 fclose($fh);
/PHP_TRUNK/sapi/apache/
H A Dmod_php7.c605 zend_file_handle fh; local
607 fh.filename = r->filename;
608 fh.opened_path = NULL;
609 fh.free_filename = 0;
610 fh.type = ZEND_HANDLE_FILENAME;
612 zend_execute_scripts(ZEND_INCLUDE TSRMLS_CC, NULL, 1, &fh);
/PHP_TRUNK/sapi/apache_hooks/
H A Dmod_php7.c652 zend_file_handle fh; local
654 fh.filename = r->filename;
655 fh.opened_path = NULL;
656 fh.free_filename = 0;
657 fh.type = ZEND_HANDLE_FILENAME;
659 zend_execute_scripts(ZEND_INCLUDE TSRMLS_CC, NULL, 1, &fh);
/PHP_TRUNK/sapi/isapi/stresstest/
H A Dstresstest.cpp392 HANDLE fh = FindFirstFile(FindPath, &fd); local
393 if (fh != INVALID_HANDLE_VALUE) {
408 } while (FindNextFile(fh, &fd) != 0);
409 FindClose(fh);
421 HANDLE fh = FindFirstFile(FindPath, &fd); local
422 if (fh != INVALID_HANDLE_VALUE) {
428 } while (FindNextFile(fh, &fd) != 0);
429 FindClose(fh);
/PHP_TRUNK/ext/standard/
H A Dbrowscap.c224 zend_file_handle fh = {{0}}; local
240 fh.handle.fp = VCWD_FOPEN(filename, "r");
241 fh.opened_path = NULL;
242 fh.free_filename = 0;
243 if (!fh.handle.fp) {
250 fh.filename = filename;
251 fh.type = ZEND_HANDLE_FP;
253 zend_parse_ini_file(&fh, 1, ZEND_INI_SCANNER_RAW,
H A Dbasic_functions.c5856 zend_file_handle fh; local
5877 memset(&fh, 0, sizeof(fh));
5878 fh.filename = filename;
5879 fh.type = ZEND_HANDLE_FILENAME;
5882 if (zend_parse_ini_file(&fh, 0, (int)scanner_mode, ini_parser_cb, return_value TSRMLS_CC) == FAILURE) {
/PHP_TRUNK/main/
H A Dphp_ini.c388 zend_file_handle fh; local
540 memset(&fh, 0, sizeof(fh));
553 fh.handle.fp = VCWD_FOPEN(php_ini_file_name, "r");
554 if (fh.handle.fp) {
555 fh.filename = php_ini_opened_path = expand_filepath(php_ini_file_name, NULL TSRMLS_CC);
562 if (!fh.handle.fp) {
566 fh.handle.fp = php_fopen_with_path(ini_fname, "r", php_ini_search_path, &php_ini_opened_path TSRMLS_CC);
568 if (fh.handle.fp) {
569 fh
750 zend_file_handle fh; local
[all...]
/PHP_TRUNK/Zend/
H A Dzend_ini_scanner.c218 static int init_ini_scanner(int scanner_mode, zend_file_handle *fh TSRMLS_DC)
228 SCNG(yy_in) = fh;
230 if (fh != NULL) {
231 ini_filename = zend_strndup(fh->filename, strlen(fh->filename));
272 int zend_ini_open_file_for_scanning(zend_file_handle *fh, int scanner_mode TSRMLS_DC) argument
277 if (zend_stream_fixup(fh, &buf, &size TSRMLS_CC) == FAILURE) {
281 if (init_ini_scanner(scanner_mode, fh TSRMLS_CC) == FAILURE) {
282 zend_file_handle_dtor(fh TSRMLS_CC);
H A Dzend_language_scanner.c499 zend_file_handle *fh = (zend_file_handle*)zend_llist_get_last(&CG(open_files)); local
501 fh->handle.stream.handle = (void*)(((char*)fh) + diff);
502 file_handle->handle.stream.handle = fh->handle.stream.handle;
H A Dzend_compile.c187 ZEND_API void file_handle_dtor(zend_file_handle *fh) /* {{{ */ argument
191 zend_file_handle_dtor(fh TSRMLS_CC);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_prompt.c432 zend_file_handle fh; local
439 if (php_stream_open_for_zend_ex(PHPDBG_G(exec), &fh, USE_PATH|STREAM_OPEN_FOR_INCLUDE TSRMLS_CC) == SUCCESS) {
440 PHPDBG_G(ops) = zend_compile_file(&fh, ZEND_INCLUDE TSRMLS_CC);
441 zend_destroy_file_handle(&fh TSRMLS_CC);
/PHP_TRUNK/TSRM/
H A Dtsrm_win32.c441 static HANDLE dupHandle(HANDLE fh, BOOL inherit) { argument
443 if (!DuplicateHandle(self, fh, self, &copy, 0, inherit, DUPLICATE_SAME_ACCESS|DUPLICATE_CLOSE_SOURCE)) {

Completed in 44 milliseconds