Searched defs:fh (Results 1 - 25 of 35) sorted by relevance

12

/external/chromium_org/tools/gyp/test/actions-none/src/
H A Dfake_cross.py9 fh = open(sys.argv[-1], 'wb') variable
11 fh.write(open(filename).read())
12 fh.close()
/external/chromium_org/tools/gyp/test/actions-multiple/src/
H A Dfilter.py10 fh = open(sys.argv[4], 'w') variable
11 fh.write(data.replace(sys.argv[1], sys.argv[2]))
12 fh.close()
/external/chromium_org/tools/gyp/test/external-cross-compile/src/
H A Dfake_cross.py8 fh = open(sys.argv[1], 'w') variable
16 fh.write(data)
18 fh.close()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
H A DANTLRReaderStream.h13 NSFileHandle *fh; variable
19 @property (retain) NSFileHandle *fh; variable
/external/lldb/source/Core/
H A DStreamFile.cpp44 StreamFile::StreamFile (FILE *fh, bool transfer_ownership) : argument
46 m_file (fh, transfer_ownership)
/external/iproute2/tc/
H A Df_route.c42 __u32 fh = 0xFFFF8000; local
69 fh &= ~0x80FF;
70 fh |= id&0xFF;
79 fh &= 0xFFFF;
80 fh |= id<<16;
90 fh &= 0xFFFF;
91 fh |= (0x8000|id)<<16;
126 fh &= ~0x7F00;
127 fh |= (order<<8)&0x7F00;
130 t->tcm_handle = fh;
[all...]
/external/lldb/include/lldb/Interpreter/
H A DCommandReturnObject.h80 SetImmediateOutputFile (FILE *fh, bool transfer_fh_ownership = false) argument
82 lldb::StreamSP stream_sp (new StreamFile (fh, transfer_fh_ownership));
87 SetImmediateErrorFile (FILE *fh, bool transfer_fh_ownership = false) argument
89 lldb::StreamSP stream_sp (new StreamFile (fh, transfer_fh_ownership));
/external/lldb/source/API/
H A DSBStream.cpp103 SBStream::RedirectToFileHandle (FILE *fh, bool transfer_fh_ownership) argument
113 m_opaque_ap.reset (new StreamFile (fh, transfer_fh_ownership));
H A DSBCommandReturnObject.cpp127 SBCommandReturnObject::PutOutput (FILE *fh) argument
129 if (fh)
133 return ::fprintf (fh, "%s", GetOutput());
139 SBCommandReturnObject::PutError (FILE *fh) argument
141 if (fh)
145 return ::fprintf (fh, "%s", GetError());
268 SBCommandReturnObject::SetImmediateOutputFile (FILE *fh) argument
271 m_opaque_ap->SetImmediateOutputFile (fh);
275 SBCommandReturnObject::SetImmediateErrorFile (FILE *fh) argument
278 m_opaque_ap->SetImmediateErrorFile (fh);
[all...]
H A DSBDebugger.cpp232 SBDebugger::SetInputFileHandle (FILE *fh, bool transfer_ownership) argument
237 log->Printf ("SBDebugger(%p)::SetInputFileHandle (fh=%p, transfer_ownership=%i)", m_opaque_sp.get(),
238 fh, transfer_ownership);
241 m_opaque_sp->SetInputFileHandle (fh, transfer_ownership);
245 SBDebugger::SetOutputFileHandle (FILE *fh, bool transfer_ownership) argument
251 log->Printf ("SBDebugger(%p)::SetOutputFileHandle (fh=%p, transfer_ownership=%i)", m_opaque_sp.get(),
252 fh, transfer_ownership);
255 m_opaque_sp->SetOutputFileHandle (fh, transfer_ownership);
259 SBDebugger::SetErrorFileHandle (FILE *fh, bool transfer_ownership) argument
265 log->Printf ("SBDebugger(%p)::SetErrorFileHandle (fh
[all...]
/external/valgrind/main/tests/
H A Ds390x_features.c116 int n, fh; local
122 fh = open("/proc/cpuinfo", O_RDONLY, S_IRUSR);
123 if (fh < 0) return NULL;
134 n = read(fh, file_buf, file_buf_size);
145 lseek(fh, 0, SEEK_SET);
147 n = read(fh, file_buf, num_bytes);
152 close(fh);
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dfuse.h24 // Deprecated in FUSE. Use fh instead.
39 uint64_t fh; member in struct:fuse_file_info
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
H A Dsvga_state_framebuffer.c187 float fh = flip * viewport->scale[1] * 2; local
201 fh);
222 if (fh < 0.0) {
223 prescale.translate[1] = fh - 1 + fy * 2;
224 fh = -fh;
225 fy -= fh;
244 prescale.scale[1] *= fh / (fh + fy);
245 fh
[all...]
/external/lldb/include/lldb/Host/
H A DFile.h86 File (FILE *fh, bool transfer_ownership) : argument
88 m_stream (fh),
231 SetStream (FILE *fh, bool transfer_ownership);
/external/lldb/source/Host/common/
H A DFile.cpp153 File::SetStream (FILE *fh, bool transfer_ownership) argument
157 m_stream = fh;
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_state_framebuffer.c187 float fh = flip * viewport->scale[1] * 2; local
201 fh);
222 if (fh < 0.0) {
223 prescale.translate[1] = fh - 1 + fy * 2;
224 fh = -fh;
225 fy -= fh;
244 prescale.scale[1] *= fh / (fh + fy);
245 fh
[all...]
/external/valgrind/main/coregrind/
H A Dfixup_macho_loadcmds.c245 struct fat_header fh; local
259 fh.magic = ntohl(fh_be->magic);
260 fh.nfat_arch = ntohl(fh_be->nfat_arch);
261 if (fh.magic == FAT_MAGIC) {
267 + fh.nfat_arch * sizeof(struct fat_arch))
271 f < fh.nfat_arch;
293 if (f == fh.nfat_arch)
H A Dlauncher-darwin.c129 static int fat_has_cputype(struct fat_header *fh, cpu_type_t cputype) argument
131 struct fat_arch *fa = (struct fat_arch *)(fh+1);
132 uint32_t nfat_arch = ntohl(fh->nfat_arch);
170 struct fat_header *fh = (struct fat_header *)buf; local
171 if (ntohl(fh->magic) == FAT_MAGIC) {
172 uint32_t nfat_arch = ntohl(fh->nfat_arch);
176 struct fat_arch *fa = (struct fat_arch *)(fh+1);
180 if (fat_has_cputype(fh, default_cputype)) {
186 if (fat_has_cputype(fh, valid_archs[i].cputype)) {
H A Dm_machine.c557 Int model, n, fh; local
566 fh = sr_Res(fd);
576 n = VG_(read)(fh, file_buf, file_buf_size);
587 VG_(lseek)( fh, 0, VKI_SEEK_SET );
589 n = VG_(read)( fh, file_buf, num_bytes );
594 VG_(close)(fh);
646 Int n, fh; local
655 fh = sr_Res(fd);
665 n = VG_(read)(fh, file_buf, file_buf_size);
676 VG_(lseek)( fh,
[all...]
/external/valgrind/main/coregrind/m_ume/
H A Dmacho.c694 struct fat_header fh; local
714 if (size < sizeof(fh)) {
718 res = VG_(pread)(fd, &fh, sizeof(fh), offset);
719 if (sr_isError(res) || sr_Res(res) != sizeof(fh)) {
725 arch_offset = offset + sizeof(fh);
726 fh.nfat_arch = VG_(ntohl)(fh.nfat_arch);
727 for (i = 0; i < fh.nfat_arch; i++) {
/external/valgrind/main/coregrind/m_debuginfo/
H A Dreadmacho.c166 struct fat_header fh; local
183 VG_(memset)(&fh, 0, sizeof(fh));
184 fh.magic = VG_(ntohl)(fh_be.magic);
185 fh.nfat_arch = VG_(ntohl)(fh_be.nfat_arch);
186 if (fh.magic == FAT_MAGIC) {
189 + fh.nfat_arch * sizeof(struct fat_arch)) {
196 f < fh.nfat_arch;
228 if (f == fh.nfat_arch) {
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-uniscribe.cc302 HANDLE fh; member in struct:hb_uniscribe_shaper_face_data_t
455 data->fh = AddFontMemResourceEx ((void *) hb_blob_get_data (blob, NULL),
458 if (unlikely (!data->fh))
471 RemoveFontMemResourceEx (data->fh);
/external/harfbuzz_ng/src/
H A Dhb-uniscribe.cc299 HANDLE fh; member in struct:hb_uniscribe_shaper_face_data_t
452 data->fh = AddFontMemResourceEx ((void *) hb_blob_get_data (blob, NULL),
455 if (unlikely (!data->fh))
468 RemoveFontMemResourceEx (data->fh);
/external/valgrind/main/coregrind/m_syswrap/
H A Dsyswrap-linux.c4589 struct vki_file_handle *fh = (struct vki_file_handle *)ARG3; local
4590 PRE_MEM_READ( "name_to_handle_at(handle)", (Addr)&fh->handle_bytes, sizeof(fh->handle_bytes) );
4591 PRE_MEM_WRITE( "name_to_handle_at(handle)", (Addr)fh, sizeof(struct vki_file_handle) + fh->handle_bytes );
4598 struct vki_file_handle *fh = (struct vki_file_handle *)ARG3; local
4599 POST_MEM_WRITE( ARG3, sizeof(struct vki_file_handle) + fh->handle_bytes );
/external/bzip2/
H A Dbzip2.c964 IntNative fh; local
965 fh = open(name, O_WRONLY|O_CREAT|O_EXCL, S_IWUSR|S_IRUSR);
966 if (fh == -1) return NULL;
967 fp = fdopen(fh, mode);
968 if (fp == NULL) close(fh);

Completed in 831 milliseconds

12