| /PHP_5_4/sapi/isapi/stresstest/ |
| H A D | stresstest.cpp | 392 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_5_4/scripts/dev/generate-phpt/src/ |
| H A D | gtTestCaseWriter.php | 22 $fh = fopen($fileName, 'w'); variable 23 fwrite ($fh, $string); 24 fclose($fh);
|
| /PHP_5_4/TSRM/ |
| H A D | tsrm_win32.c | 442 static HANDLE dupHandle(HANDLE fh, BOOL inherit) { argument 444 if (!DuplicateHandle(self, fh, self, ©, 0, inherit, DUPLICATE_SAME_ACCESS|DUPLICATE_CLOSE_SOURCE)) {
|
| /PHP_5_4/Zend/ |
| H A D | zend_ini_parser.y | 192 ZEND_API int zend_parse_ini_file(zend_file_handle *fh, zend_bool unbuffered_errors, int scanner_mode, zend_ini_parser_cb_t ini_parser_cb, void *arg TSRMLS_DC) 201 if (zend_ini_open_file_for_scanning(fh, scanner_mode TSRMLS_CC) == FAILURE) { 207 zend_file_handle_dtor(fh TSRMLS_CC);
|
| H A D | zend_ini_scanner.c | 174 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 D | zend_ini_scanner.h | 32 int zend_ini_open_file_for_scanning(zend_file_handle *fh, int scanner_mode TSRMLS_DC);
|
| H A D | zend_ini_scanner.l | 172 static int init_ini_scanner(int scanner_mode, zend_file_handle *fh TSRMLS_DC) 182 SCNG(yy_in) = fh; 184 if (fh != NULL) { 185 ini_filename = zend_strndup(fh->filename, strlen(fh->filename)); 226 int zend_ini_open_file_for_scanning(zend_file_handle *fh, int scanner_mode TSRMLS_DC) 231 if (zend_stream_fixup(fh, &buf, &size TSRMLS_CC) == FAILURE) { 235 if (init_ini_scanner(scanner_mode, fh TSRMLS_CC) == FAILURE) { 236 zend_file_handle_dtor(fh TSRMLS_CC);
|
| H A D | zend_stream.c | 303 ZEND_API void zend_file_handle_dtor(zend_file_handle *fh TSRMLS_DC) /* {{{ */ 305 switch (fh->type) { 310 fclose(fh->handle.fp); 314 if (fh->handle.stream.closer && fh->handle.stream.handle) { 315 fh->handle.stream.closer(fh->handle.stream.handle TSRMLS_CC); 317 fh->handle.stream.handle = NULL; 325 if (fh->opened_path) { 326 efree(fh [all...] |
| H A D | zend_stream.h | 77 ZEND_API void zend_file_handle_dtor(zend_file_handle *fh TSRMLS_DC);
|
| H A D | zend_ini.h | 197 ZEND_API int zend_parse_ini_file(zend_file_handle *fh, zend_bool unbuffered_errors, int scanner_mode, zend_ini_parser_cb_t ini_parser_cb, void *arg TSRMLS_DC);
|
| H A D | zend_compile.c | 211 ZEND_API void file_handle_dtor(zend_file_handle *fh) /* {{{ */ argument 215 zend_file_handle_dtor(fh TSRMLS_CC);
|
| H A D | zend_language_scanner.c | 494 zend_file_handle *fh = (zend_file_handle*)zend_llist_get_last(&CG(open_files)); local 496 fh->handle.stream.handle = (void*)(((char*)fh) + diff); 497 file_handle->handle.stream.handle = fh->handle.stream.handle;
|
| H A D | zend_language_scanner.l | 492 zend_file_handle *fh = (zend_file_handle*)zend_llist_get_last(&CG(open_files)); 494 fh->handle.stream.handle = (void*)(((char*)fh) + diff); 495 file_handle->handle.stream.handle = fh->handle.stream.handle;
|
| /PHP_5_4/ext/standard/ |
| H A D | basic_functions.c | 5920 zend_file_handle fh; local 5941 memset(&fh, 0, sizeof(fh)); 5942 fh.filename = filename; 5943 fh.type = ZEND_HANDLE_FILENAME; 5946 if (zend_parse_ini_file(&fh, 0, scanner_mode, ini_parser_cb, return_value TSRMLS_CC) == FAILURE) {
|
| H A D | browscap.c | 244 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,
|
| /PHP_5_4/sapi/apache/ |
| H A D | mod_php5.c | 603 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_5_4/sapi/apache_hooks/ |
| H A D | mod_php5.c | 652 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_5_4/main/ |
| H A D | php_ini.c | 373 zend_file_handle fh; local 527 memset(&fh, 0, sizeof(fh)); 540 fh.handle.fp = VCWD_FOPEN(php_ini_file_name, "r"); 541 if (fh.handle.fp) { 542 fh.filename = php_ini_opened_path = expand_filepath(php_ini_file_name, NULL TSRMLS_CC); 549 if (!fh.handle.fp) { 553 fh.handle.fp = php_fopen_with_path(ini_fname, "r", php_ini_search_path, &php_ini_opened_path TSRMLS_CC); 555 if (fh.handle.fp) { 556 fh 723 zend_file_handle fh; local [all...] |