Home
last modified time | relevance | path

Searched refs:file_handle (Results 1 – 7 of 7) sorted by relevance

/external/sfntly/cpp/src/test/
Dfile_io_test.cc27 FILE* file_handle = NULL; in TestFileInputStream() local
29 fopen_s(&file_handle, SAMPLE_TTF_FILE, "rb"); in TestFileInputStream()
31 file_handle = fopen(SAMPLE_TTF_FILE, "rb"); in TestFileInputStream()
33 if (file_handle == NULL) { in TestFileInputStream()
36 fseek(file_handle, 0, SEEK_END); in TestFileInputStream()
37 size_t length = ftell(file_handle); in TestFileInputStream()
38 fseek(file_handle, 0, SEEK_SET); in TestFileInputStream()
41 size_t bytes_read = fread(&(b1[0]), 1, length, file_handle); in TestFileInputStream()
43 fclose(file_handle); in TestFileInputStream()
88 FILE* file_handle = NULL; in TestFontInputStreamBasic() local
[all …]
/external/skia/tools/copyright/
Dmain.py88 with open(filepath, 'r') as file_handle:
89 contents = file_handle.read()
96 with open(filepath, 'w') as file_handle:
97 file_handle.write(string)
/external/jpeg/
Djmemdos.c247 if (jdos_seek(info->handle.file_handle, file_offset)) in read_file_store()
252 if (jdos_read(info->handle.file_handle, buffer_address, in read_file_store()
263 if (jdos_seek(info->handle.file_handle, file_offset)) in write_file_store()
268 if (jdos_write(info->handle.file_handle, buffer_address, in write_file_store()
277 jdos_close(info->handle.file_handle); /* close the file */ in close_file_store()
299 info->handle.file_handle = handle; in open_file_store()
Djmemsys.h125 short file_handle; /* DOS file handle if it's a temp file */ member
/external/ltrace/etc/
Dsyscalls.conf140 typedef file_handle = struct(uint, fid_type, array(hex(char), elt1)*);
141 int name_to_handle_at(at_dirfd_t, string, file_handle, int*, hex(uint));
142 int open_by_handle_at(at_dirfd_t, file_handle, hex(uint));
/external/skia/bench/
Dgen_bench_expectations.py218 with open(args.output_file, 'w') as file_handle:
219 file_handle.write('\n'.join(out_lines))
Dbench_util.py177 with open('/'.join([directory, bench_file]), 'r') as file_handle:
180 revision_data_points.extend(parse(settings, file_handle, rep))