Home
last modified time | relevance | path

Searched refs:fh (Results 1 – 25 of 32) sorted by path

12

/php-src/TSRM/
H A Dtsrm_win32.c430 static HANDLE dupHandle(HANDLE fh, BOOL inherit) in dupHandle() argument
433 …if (!DuplicateHandle(self, fh, self, &copy, 0, inherit, DUPLICATE_SAME_ACCESS|DUPLICATE_CLOSE_SOUR… in dupHandle()
/php-src/Zend/
H A Dzend_ini.h237 ZEND_API zend_result zend_parse_ini_file(zend_file_handle *fh, bool unbuffered_errors, int scanner_…
H A Dzend_ini_parser.y224 ZEND_API zend_result zend_parse_ini_file(zend_file_handle *fh, bool unbuffered_errors, int scanner_… in zend_parse_ini_file() argument
233 if (zend_ini_open_file_for_scanning(fh, scanner_mode) == FAILURE) { in zend_parse_ini_file()
H A Dzend_ini_scanner.h31 zend_result zend_ini_open_file_for_scanning(zend_file_handle *fh, int scanner_mode);
H A Dzend_ini_scanner.l197 static zend_result init_ini_scanner(int scanner_mode, zend_file_handle *fh) in init_ini_scanner() argument
207 SCNG(yy_in) = fh; in init_ini_scanner()
209 if (fh != NULL) { in init_ini_scanner()
210 ini_filename = zend_string_copy(fh->filename); in init_ini_scanner()
247 zend_result zend_ini_open_file_for_scanning(zend_file_handle *fh, int scanner_mode) in zend_ini_open_file_for_scanning() argument
252 if (zend_stream_fixup(fh, &buf, &size) == FAILURE) { in zend_ini_open_file_for_scanning()
256 if (init_ini_scanner(scanner_mode, fh) == FAILURE) { in zend_ini_open_file_for_scanning()
H A Dzend_stream.c215 switch (fh->type) { in zend_file_handle_dtor()
217 if (fh->handle.fp) { in zend_file_handle_dtor()
219 fh->handle.fp = NULL; in zend_file_handle_dtor()
223 if (fh->handle.stream.closer && fh->handle.stream.handle) { in zend_file_handle_dtor()
224 fh->handle.stream.closer(fh->handle.stream.handle); in zend_file_handle_dtor()
234 if (fh->opened_path) { in zend_file_handle_dtor()
238 if (fh->buf) { in zend_file_handle_dtor()
239 efree(fh->buf); in zend_file_handle_dtor()
240 fh->buf = NULL; in zend_file_handle_dtor()
242 if (fh->filename) { in zend_file_handle_dtor()
[all …]
/php-src/ext/com_dotnet/tests/
H A Dbug66431_0.phpt12 $fh = $fso->OpenTextFile($fpath, 2, true);
13 $fh->Write($text);
14 $fh->Close();
/php-src/ext/dom/lexbor/patches/
H A D0001-Shrink-size-of-static-binary-search-tree.patch106 for line in fh:
111 fh.close()
/php-src/ext/fileinfo/tests/
H A Dmagic22507 # jmp offset like: 008fh 0093h 009fh 00afh 0143h 3ad7h 5417h 54ech 594dh 895fh
H A Dmagic私はガラスを食べられます22507 # jmp offset like: 008fh 0093h 009fh 00afh 0143h 3ad7h 5417h 54ech 594dh 895fh
/php-src/ext/gd/tests/
H A Dbug72339.phpt22 $fh = fopen($fname, "w");
23 fwrite($fh, "gd2\x00");
24 fwrite($fh, pack("n", 2));
25 fwrite($fh, pack("n", 1));
26 fwrite($fh, pack("n", 1));
27 fwrite($fh, pack("n", 0x40));
28 fwrite($fh, pack("n", 2));
29 fwrite($fh, pack("n", 0x5AA0)); // Chunks Wide
30 fwrite($fh, pack("n", 0x5B00)); // Chunks Vertically
31 fwrite($fh, str_repeat("\x41\x41\x41\x41", 0x1000000)); // overflow data
[all …]
/php-src/ext/gettext/tests/
H A Dgettext_bind_textdomain_codeset-retval.phpt28 Florian Holzhauer fh-pt@fholzhauer.de
/php-src/ext/iconv/tests/
H A Dbug76249.phpt7 $fh = fopen('php://memory', 'rw');
8 fwrite($fh, "abc");
9 rewind($fh);
10 if (false === @stream_filter_append($fh, 'convert.iconv.ucs-2/utf8//IGNORE', STREAM_FILTER_READ, []…
11 stream_filter_append($fh, 'convert.iconv.ucs-2/utf-8//IGNORE', STREAM_FILTER_READ, []);
13 var_dump(stream_get_contents($fh));
/php-src/ext/opcache/jit/ir/
H A Dir.c933 uint32_t fh = _ir_fold_hash[h]; local
934 if (IR_FOLD_KEY(fh) == k
936 || (fh = _ir_fold_hash[h+1], (fh & 0x1fffff) == k)
939 switch (IR_FOLD_RULE(fh)) {
/php-src/ext/standard/
H A Dbasic_functions.c2483 zend_file_handle fh; local
2507 zend_stream_init_filename_ex(&fh, filename);
2510 if (zend_parse_ini_file(&fh, 0, (int)scanner_mode, ini_parser_cb, return_value) == FAILURE) {
2514 zend_destroy_file_handle(&fh);
H A Dbrowscap.c409 zend_file_handle fh; in browscap_read_file() local
422 zend_stream_init_fp(&fh, fp, filename); in browscap_read_file()
440 zend_parse_ini_file(&fh, persistent, ZEND_INI_SCANNER_RAW, in browscap_read_file()
448 zend_destroy_file_handle(&fh); in browscap_read_file()
/php-src/ext/standard/tests/array/
H A Darray_column_basic.phpt39 $fh = fopen(__FILE__, 'r', true);
71 'value' => $fh
/php-src/ext/standard/tests/file/
H A Dbug53241.phpt14 $fh = fopen($fn, 'xb');
16 var_dump(curl_setopt($ch, CURLOPT_FILE, $fh));
H A Ddisk_free_space_basic.phpt25 $fh = fopen($file_path.$dir."/disk_free_space.tmp", "a");
27 fwrite($fh, $data);
28 fclose($fh);
H A Ddisk_free_space_error-win32.phpt16 $fh = fopen( $file_path."/disk_free_space.tmp", "w" );
17 fwrite( $fh, " Garbage data for the temporary file" );
20 fclose($fh);
H A Ddisk_free_space_error.phpt16 $fh = fopen( $file_path."/disk_free_space.tmp", "w" );
17 fwrite( $fh, " Garbage data for the temporary file" );
20 fclose($fh);
H A Ddisk_total_space_basic.phpt17 $fh = fopen($file_path.$dir."/disk_total_space.tmp", "w");
18 fwrite($fh, "Garbage Data Garbage Data Garbage Data Garbage Data Garbage Data Garbage Data Garbage …
20 fclose($fh);
H A Ddisk_total_space_error-win32.phpt17 $fh = fopen( $file_path."/disk_total_space.tmp", "w" );
18 fwrite( $fh, " Garbage data for the temporary file" );
20 fclose($fh);
H A Ddisk_total_space_error.phpt17 $fh = fopen( $file_path."/disk_total_space.tmp", "w" );
18 fwrite( $fh, " Garbage data for the temporary file" );
20 fclose($fh);
H A Dfile_variation.phpt13 $fh = fopen($file_path."/file_variation.tmp", "w");
14 fwrite($fh, $data);
18 fclose($fh);

Completed in 218 milliseconds

12