Searched refs:file_handle (Results 1 – 7 of 7) sorted by relevance
/external/sfntly/cpp/src/test/ |
D | file_io_test.cc | 27 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/ |
D | main.py | 88 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/ |
D | jmemdos.c | 247 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()
|
D | jmemsys.h | 125 short file_handle; /* DOS file handle if it's a temp file */ member
|
/external/ltrace/etc/ |
D | syscalls.conf | 140 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/ |
D | gen_bench_expectations.py | 218 with open(args.output_file, 'w') as file_handle: 219 file_handle.write('\n'.join(out_lines))
|
D | bench_util.py | 177 with open('/'.join([directory, bench_file]), 'r') as file_handle: 180 revision_data_points.extend(parse(settings, file_handle, rep))
|