Searched refs:hfile (Results 1 - 4 of 4) sorted by relevance

/external/qemu/block/
H A Draw-win32.c36 HANDLE hfile; member in struct:BDRVRawState
95 s->hfile = CreateFile(filename, access_flags,
98 if (s->hfile == INVALID_HANDLE_VALUE) {
121 ret = ReadFile(s->hfile, buf, count, &ret_count, &ov);
142 ret = WriteFile(s->hfile, buf, count, &ret_count, &ov);
153 FlushFileBuffers(s->hfile);
159 CloseHandle(s->hfile);
169 if (!SetFilePointer(s->hfile, low, &high, FILE_BEGIN))
171 if (!SetEndOfFile(s->hfile))
187 l.LowPart = GetFileSize(s->hfile, (PDWOR
[all...]
/external/chromium/chrome/browser/visitedlink/
H A Dvisitedlink_master.h180 bool ReadFileHeader(FILE* hfile, int32* num_entries, int32* used_count,
188 void WriteToFile(FILE* hfile, off_t offset, void* data, int32 data_size);
201 bool ReadFromFile(FILE* hfile, off_t offset, void* data, size_t data_size);
/external/wpa_supplicant_6/wpa_supplicant/
H A Dwpa_cli.c1684 char *home, *hfile = NULL; local
1695 hfile = os_malloc(hfile_len);
1696 if (hfile) {
1698 res = os_snprintf(hfile, hfile_len, "%s/%s", home,
1701 hfile[hfile_len - 1] = '\0';
1702 read_history(hfile);
1772 if (hfile) {
1792 write_history(hfile);
1793 os_free(hfile);
/external/wpa_supplicant_8/wpa_supplicant/
H A Dwpa_cli.c3538 char *home, *hfile = NULL; local
3546 hfile = os_malloc(hfile_len);
3547 if (hfile)
3548 os_snprintf(hfile, hfile_len, "%s/%s", home, fname);
3553 wpa_cli_edit_completion_cb, NULL, hfile);
3561 edit_deinit(hfile, wpa_cli_edit_filter_history_cb);
3562 os_free(hfile);

Completed in 82 milliseconds