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

12

/external/antlr/antlr-3.4/runtime/ObjC/Framework/
H A DANTLRReaderStream.h13 NSFileHandle *fh; variable
19 @property (retain) NSFileHandle *fh; variable
/external/mesa3d/src/gallium/drivers/swr/
H A Dswr_fence_work.cpp60 swr_add_fence_work(struct pipe_fence_handle *fh, argument
64 if (!fh) {
70 struct swr_fence *fence = swr_fence(fh);
H A Dswr_fence.cpp56 swr_fence_submit(struct swr_context *ctx, struct pipe_fence_handle *fh) argument
58 struct swr_fence *fence = swr_fence(fh);
/external/iproute2/tc/
H A Df_route.c41 __u32 fh = 0xFFFF8000; local
67 fh &= ~0x80FF;
68 fh |= id&0xFF;
78 fh &= 0xFFFF;
79 fh |= id<<16;
90 fh &= 0xFFFF;
91 fh |= (0x8000|id)<<16;
134 fh &= ~0x7F00;
135 fh |= (order<<8)&0x7F00;
138 t->tcm_handle = fh;
[all...]
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_flag_parser.h114 FlagHandler<T> *fh = new (FlagParser::Alloc) FlagHandler<T>(var); // NOLINT local
115 parser->RegisterHandler(name, fh, desc);
/external/mesa3d/src/gallium/auxiliary/hud/
H A Dhud_cpufreq.c82 FILE *fh = fopen(fn, "r"); local
83 if (!fh) {
87 int ret = fscanf(fh, "%" PRIu64 "", KHz);
88 fclose(fh);
H A Dhud_diskstat.c103 FILE *fh = fopen(fn, "r"); local
104 if (!fh)
107 ret = fscanf(fh,
114 fclose(fh);
H A Dhud_nic.c88 FILE *fh = fopen(fname, "r"); local
89 if (!fh)
91 if (fscanf(fh, "%" PRIu64 "", value) != 0) {
94 fclose(fh);
/external/python/cpython2/Modules/
H A Dfmmodule.c23 newfhobject(fmfonthandle fh) argument
26 if (fh == NULL) {
34 fhp->fh_fh = fh;
H A Dmmapmodule.c1271 HANDLE fh = 0; local
1327 fh = (HANDLE)_get_osfhandle(fileno);
1328 if (fh==(HANDLE)-1) {
1347 if (fh) {
1352 fh, /* handle to be duplicated */
1365 low = GetFileSize(fh, &high);
/external/tcpdump/
H A Dparsenfsfh.c108 Parse_fh(register const unsigned char *fh, u_int len, my_fsid *fsidp, argument
114 register const unsigned char *fhp = fh;
371 memcpy((char *)fsidp, (const char *)fh, 14);
377 memcpy((char *)tempa, (const char *)fh, 14); /* ensure alignment */
/external/valgrind/tests/
H A Ds390x_features.c118 int n, fh; local
124 fh = open("/proc/cpuinfo", O_RDONLY, S_IRUSR);
125 if (fh < 0) return NULL;
136 n = read(fh, file_buf, file_buf_size);
147 lseek(fh, 0, SEEK_SET);
149 n = read(fh, file_buf, num_bytes);
154 close(fh);
/external/google-breakpad/src/client/mac/handler/
H A Dbreakpad_nlist_64.cc206 struct fat_header fh; local
210 if (read(fd, (char *)&fh, sizeof(fh)) != sizeof(fh)) {
215 fh.nfat_arch = CFSwapInt32BigToHost(fh.nfat_arch);
219 (struct fat_arch *)malloc(fh.nfat_arch * sizeof(struct fat_arch));
224 sizeof(struct fat_arch) * fh.nfat_arch) !=
225 (ssize_t)(sizeof(struct fat_arch) * fh.nfat_arch)) {
234 for (unsigned i = 0; i < fh
[all...]
/external/ltp/testcases/cve/
H A Dstack_clash.c97 FILE *fh; local
101 fh = SAFE_FOPEN("/proc/self/maps", "r");
103 while (!feof(fh)) {
104 if (fgets(buf, sizeof(buf), fh) == NULL) {
127 SAFE_FCLOSE(fh);
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_state_framebuffer.c367 float fh = flip * viewport->scale[1] * 2.0f; local
382 fh);
410 if (fh < 0.0) {
413 prescale.translate[1] = fh + fy * 2.0f;
417 prescale.translate[1] = fh - 1.0f + fy * 2.0f;
419 fh = -fh;
420 fy -= fh;
439 prescale.scale[1] *= fh / (fh
[all...]
/external/strace/tests/
H A Dfile_handle.c100 struct file_handle *fh = local
105 fh->handle_bytes, fh->handle_type);
106 print_handle_data((unsigned char *) fh +
108 fh->handle_bytes);
129 struct file_handle *fh = local
132 printf("{handle_bytes=%u, handle_type=%d", fh->handle_bytes,
133 fh->handle_type);
137 print_handle_data((unsigned char *) fh +
139 fh
[all...]
/external/strace/tests-m32/
H A Dfile_handle.c100 struct file_handle *fh = local
105 fh->handle_bytes, fh->handle_type);
106 print_handle_data((unsigned char *) fh +
108 fh->handle_bytes);
129 struct file_handle *fh = local
132 printf("{handle_bytes=%u, handle_type=%d", fh->handle_bytes,
133 fh->handle_type);
137 print_handle_data((unsigned char *) fh +
139 fh
[all...]
/external/strace/tests-mx32/
H A Dfile_handle.c100 struct file_handle *fh = local
105 fh->handle_bytes, fh->handle_type);
106 print_handle_data((unsigned char *) fh +
108 fh->handle_bytes);
129 struct file_handle *fh = local
132 printf("{handle_bytes=%u, handle_type=%d", fh->handle_bytes,
133 fh->handle_type);
137 print_handle_data((unsigned char *) fh +
139 fh
[all...]
/external/valgrind/coregrind/
H A Dfixup_macho_loadcmds.c271 struct fat_header fh; local
285 fh.magic = ntohl(fh_be->magic);
286 fh.nfat_arch = ntohl(fh_be->nfat_arch);
287 if (fh.magic == FAT_MAGIC) {
293 + fh.nfat_arch * sizeof(struct fat_arch))
297 f < fh.nfat_arch;
319 if (f == fh.nfat_arch)
H A Dlauncher-darwin.c133 static int fat_has_cputype(struct fat_header *fh, cpu_type_t cputype) argument
135 struct fat_arch *fa = (struct fat_arch *)(fh+1);
136 uint32_t nfat_arch = ntohl(fh->nfat_arch);
174 struct fat_header *fh = (struct fat_header *)buf; local
175 if (ntohl(fh->magic) == FAT_MAGIC) {
176 uint32_t nfat_arch = ntohl(fh->nfat_arch);
180 struct fat_arch *fa = (struct fat_arch *)(fh+1);
184 if (fat_has_cputype(fh, default_cputype)) {
190 if (fat_has_cputype(fh, valid_archs[i].cputype)) {
/external/libcups/filter/
H A Draster.c875 cups_page_header2_t fh; /* File page header */ local
877 memset(&fh, 0, sizeof(fh));
879 strlcpy(fh.MediaClass, "PwgRaster", sizeof(fh.MediaClass));
881 strlcpy(fh.MediaColor, r->header.MediaColor, sizeof(fh.MediaColor));
882 strlcpy(fh.MediaType, r->header.MediaType, sizeof(fh.MediaType));
883 strlcpy(fh
1056 cups_page_header2_t fh; /* File page header */ local
[all...]
/external/valgrind/coregrind/m_ume/
H A Dmacho.c710 struct fat_header fh; local
732 if (size < sizeof(fh)) {
736 res = VG_(pread)(fd, &fh, sizeof(fh), offset);
737 if (sr_isError(res) || sr_Res(res) != sizeof(fh)) {
743 arch_offset = offset + sizeof(fh);
744 fh.nfat_arch = VG_(ntohl)(fh.nfat_arch);
745 for (i = 0; i < fh.nfat_arch; i++) {
/external/valgrind/coregrind/m_debuginfo/
H A Dreadmacho.c165 struct fat_header fh; local
182 VG_(memset)(&fh, 0, sizeof(fh));
183 fh.magic = VG_(ntohl)(fh_be.magic);
184 fh.nfat_arch = VG_(ntohl)(fh_be.nfat_arch);
185 if (fh.magic == FAT_MAGIC) {
188 + fh.nfat_arch * sizeof(struct fat_arch)) {
195 f < fh.nfat_arch;
229 if (f == fh.nfat_arch) {
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
H A DvktYCbCrConversionTests.cpp111 const float fh = (float)size.y(); local
114 const float t = 1.5f * ((fy * 1.5f * fh + fy) / (1.5f * fh * 1.5f * fh)) - 0.25f;
/external/harfbuzz_ng/src/
H A Dhb-uniscribe.cc306 HANDLE fh; member in struct:hb_uniscribe_shaper_face_data_t
460 data->fh = AddFontMemResourceEx ((void *) hb_blob_get_data (blob, nullptr),
463 if (unlikely (!data->fh))
476 RemoveFontMemResourceEx (data->fh);

Completed in 663 milliseconds

12