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/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/TSRM/
H A Dtsrm_win32.c442 static HANDLE dupHandle(HANDLE fh, BOOL inherit) { argument
444 if (!DuplicateHandle(self, fh, self, &copy, 0, inherit, DUPLICATE_SAME_ACCESS|DUPLICATE_CLOSE_SOURCE)) {
/PHP_TRUNK/ext/standard/
H A Dbrowscap.c244 zend_file_handle fh = {0}; local
264 fh.handle.fp = VCWD_FOPEN(filename, "r");
265 fh.opened_path = NULL;
266 fh.free_filename = 0;
267 if (!fh.handle.fp) {
274 fh.filename = filename;
275 Z_TYPE(fh) = ZEND_HANDLE_FP;
277 zend_parse_ini_file(&fh, 1, ZEND_INI_SCANNER_RAW,
H A Dbasic_functions.c5844 zend_file_handle fh; local
5865 memset(&fh, 0, sizeof(fh));
5866 fh.filename = filename;
5867 fh.type = ZEND_HANDLE_FILENAME;
5870 if (zend_parse_ini_file(&fh, 0, scanner_mode, ini_parser_cb, return_value TSRMLS_CC) == FAILURE) {
/PHP_TRUNK/sapi/apache/
H A Dmod_php5.c603 zend_file_handle fh; local
605 fh.filename = r->filename;
606 fh.opened_path = NULL;
607 fh.free_filename = 0;
608 fh.type = ZEND_HANDLE_FILENAME;
610 zend_execute_scripts(ZEND_INCLUDE TSRMLS_CC, NULL, 1, &fh);
/PHP_TRUNK/sapi/apache_hooks/
H A Dmod_php5.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/main/
H A Dphp_ini.c390 zend_file_handle fh; local
544 memset(&fh, 0, sizeof(fh));
557 fh.handle.fp = VCWD_FOPEN(php_ini_file_name, "r");
558 if (fh.handle.fp) {
559 fh.filename = php_ini_opened_path = expand_filepath(php_ini_file_name, NULL TSRMLS_CC);
566 if (!fh.handle.fp) {
570 fh.handle.fp = php_fopen_with_path(ini_fname, "r", php_ini_search_path, &php_ini_opened_path TSRMLS_CC);
572 if (fh.handle.fp) {
573 fh
758 zend_file_handle fh; local
[all...]
/PHP_TRUNK/Zend/
H A Dzend_ini_scanner.c174 static int init_ini_scanner(int scanner_mode, zend_file_handle *fh TSRMLS_DC)
184 SCNG(yy_in) = fh;
186 if (fh != NULL) {
187 ini_filename = zend_strndup(fh->filename, strlen(fh->filename));
228 int zend_ini_open_file_for_scanning(zend_file_handle *fh, int scanner_mode TSRMLS_DC) argument
233 if (zend_stream_fixup(fh, &buf, &size TSRMLS_CC) == FAILURE) {
237 if (init_ini_scanner(scanner_mode, fh TSRMLS_CC) == FAILURE) {
238 zend_file_handle_dtor(fh TSRMLS_CC);
H A Dzend_language_scanner.c498 zend_file_handle *fh = (zend_file_handle*)zend_llist_get_last(&CG(open_files)); local
500 fh->handle.stream.handle = (void*)(((char*)fh) + diff);
501 file_handle->handle.stream.handle = fh->handle.stream.handle;
H A Dzend_compile.c217 ZEND_API void file_handle_dtor(zend_file_handle *fh) /* {{{ */ argument
221 zend_file_handle_dtor(fh TSRMLS_CC);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_prompt.c381 zend_file_handle fh; local
395 if (php_stream_open_for_zend_ex(PHPDBG_G(exec), &fh,
398 PHPDBG_G(ops) = zend_compile_file(&fh, ZEND_INCLUDE TSRMLS_CC);
399 zend_destroy_file_handle(&fh TSRMLS_CC);

Completed in 60 milliseconds