Searched defs:fh (Results 1 - 10 of 10) 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/TSRM/
H A Dtsrm_win32.c443 static HANDLE dupHandle(HANDLE fh, BOOL inherit) { argument
445 if (!DuplicateHandle(self, fh, self, &copy, 0, inherit, DUPLICATE_SAME_ACCESS|DUPLICATE_CLOSE_SOURCE)) {
/PHP_TRUNK/Zend/
H A Dzend_stream.c302 ZEND_API void zend_file_handle_dtor(zend_file_handle *fh) /* {{{ */ argument
304 switch (fh->type) {
309 fclose(fh->handle.fp);
313 if (fh->handle.stream.closer && fh->handle.stream.handle) {
314 fh->handle.stream.closer(fh->handle.stream.handle);
316 fh->handle.stream.handle = NULL;
324 if (fh->opened_path) {
325 zend_string_release(fh
[all...]
H A Dzend_ini_scanner.c222 static int init_ini_scanner(int scanner_mode, zend_file_handle *fh) argument
232 SCNG(yy_in) = fh;
234 if (fh != NULL) {
235 ini_filename = zend_strndup(fh->filename, strlen(fh->filename));
276 int zend_ini_open_file_for_scanning(zend_file_handle *fh, int scanner_mode) argument
281 if (zend_stream_fixup(fh, &buf, &size) == FAILURE) {
285 if (init_ini_scanner(scanner_mode, fh) == FAILURE) {
286 zend_file_handle_dtor(fh);
H A Dzend_language_scanner.c516 zend_file_handle *fh = (zend_file_handle*)zend_llist_get_last(&CG(open_files)); local
518 fh->handle.stream.handle = (void*)(((char*)fh) + diff);
519 file_handle->handle.stream.handle = fh->handle.stream.handle;
H A Dzend_compile.c308 ZEND_API void file_handle_dtor(zend_file_handle *fh) /* {{{ */ argument
311 zend_file_handle_dtor(fh);
/PHP_TRUNK/main/
H A Dphp_ini.c387 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 = expand_filepath(php_ini_file_name, NULL);
556 opened_path = zend_string_init(fh.filename, strlen(fh.filename), 0);
563 if (!fh.handle.fp) {
567 fh
751 zend_file_handle fh; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c5892 zend_file_handle fh; local
5913 memset(&fh, 0, sizeof(fh));
5914 fh.filename = filename;
5915 fh.type = ZEND_HANDLE_FILENAME;
5918 if (zend_parse_ini_file(&fh, 0, (int)scanner_mode, ini_parser_cb, return_value) == FAILURE) {
H A Dbrowscap.c219 zend_file_handle fh = {{0}}; local
235 fh.handle.fp = VCWD_FOPEN(filename, "r");
236 fh.opened_path = NULL;
237 fh.free_filename = 0;
238 if (!fh.handle.fp) {
245 fh.filename = filename;
246 fh.type = ZEND_HANDLE_FP;
248 zend_parse_ini_file(&fh, 1, ZEND_INI_SCANNER_RAW,
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_prompt.c459 zend_file_handle fh; local
468 if (php_stream_open_for_zend_ex(PHPDBG_G(exec), &fh, USE_PATH|STREAM_OPEN_FOR_INCLUDE) == SUCCESS && zend_stream_fixup(&fh, &buf, &len) == SUCCESS) {
473 switch (fh.handle.stream.mmap.buf++[0]) {
475 if (fh.handle.stream.mmap.buf[0] == '\n') {
476 fh.handle.stream.mmap.buf++;
480 fh.handle.stream.mmap.len -= fh.handle.stream.mmap.buf - buf;
481 end = fh.handle.stream.mmap.buf;
483 } while (fh
[all...]

Completed in 93 milliseconds