/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
D | ANTLRFileStream.pm | 25 my $fh; 28 open $fh, "<:encoding($encoding)", $file_name 32 open $fh, '<', $file_name 39 $content = <$fh>; 41 close $fh or carp "Can't close $fh: $!"; 55 my $fh; 57 open $fh, "<:encoding($encoding)", $file_name 61 open $fh, '<', $file_name 68 $content = <$fh>; 70 close $fh or carp "Can't close $fh: $!";
|
/external/clang/utils/analyzer/ |
D | update_plist_test.pl | 13 my $fh = File::Temp->new(); 14 my $filename = $fh->filename; 15 $fh->unlink_on_destroy(1); 21 print $fh $_; 39 print $fh "// CHECK: "; 43 print $fh "// CHECK-NEXT: "; 45 print $fh $_; 48 close ($fh);
|
/external/iproute2/tc/ |
D | f_route.c | 42 __u32 fh = 0xFFFF8000; in route_parse_opt() local 69 fh &= ~0x80FF; in route_parse_opt() 70 fh |= id&0xFF; in route_parse_opt() 79 fh &= 0xFFFF; in route_parse_opt() 80 fh |= id<<16; in route_parse_opt() 90 fh &= 0xFFFF; in route_parse_opt() 91 fh |= (0x8000|id)<<16; in route_parse_opt() 133 fh &= ~0x7F00; in route_parse_opt() 134 fh |= (order<<8)&0x7F00; in route_parse_opt() 137 t->tcm_handle = fh; in route_parse_opt()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_state_framebuffer.c | 187 float fh = flip * viewport->scale[1] * 2; in emit_viewport() local 201 fh); in emit_viewport() 222 if (fh < 0.0) { in emit_viewport() 223 prescale.translate[1] = fh - 1 + fy * 2; in emit_viewport() 224 fh = -fh; in emit_viewport() 225 fy -= fh; in emit_viewport() 244 prescale.scale[1] *= fh / (fh + fy); in emit_viewport() 245 fh += fy; in emit_viewport() 257 if (fy + fh > fb_height) { in emit_viewport() 258 prescale.scale[1] *= fh / (fb_height - fy); in emit_viewport() [all …]
|
/external/valgrind/coregrind/ |
D | link_tool_exe_solaris.in | 40 (my $fh, my $path) = tempfile(); 43 fcntl($fh, F_SETFD, 0) 47 unlink0($fh, $path) 58 print $fh <<"END"; 67 my $cmd="$cc -Wl,-M/proc/$$/fd/" . fileno($fh);
|
D | launcher-darwin.c | 133 static int fat_has_cputype(struct fat_header *fh, cpu_type_t cputype) in fat_has_cputype() argument 135 struct fat_arch *fa = (struct fat_arch *)(fh+1); in fat_has_cputype() 136 uint32_t nfat_arch = ntohl(fh->nfat_arch); in fat_has_cputype() 174 struct fat_header *fh = (struct fat_header *)buf; in select_arch() local 175 if (ntohl(fh->magic) == FAT_MAGIC) { in select_arch() 176 uint32_t nfat_arch = ntohl(fh->nfat_arch); in select_arch() 180 struct fat_arch *fa = (struct fat_arch *)(fh+1); in select_arch() 184 if (fat_has_cputype(fh, default_cputype)) { in select_arch() 190 if (fat_has_cputype(fh, valid_archs[i].cputype)) { in select_arch()
|
D | fixup_macho_loadcmds.c | 271 struct fat_header fh; in map_image_aboard() local 285 fh.magic = ntohl(fh_be->magic); in map_image_aboard() 286 fh.nfat_arch = ntohl(fh_be->nfat_arch); in map_image_aboard() 287 if (fh.magic == FAT_MAGIC) { in map_image_aboard() 293 + fh.nfat_arch * sizeof(struct fat_arch)) in map_image_aboard() 297 f < fh.nfat_arch; in map_image_aboard() 319 if (f == fh.nfat_arch) in map_image_aboard()
|
/external/skia/platform_tools/android/bin/ |
D | download_utils.py | 197 def _HashFileHandle(fh): argument 208 data = fh.read(4096) 213 fh.close() 225 fh = open(filename, 'rb') 226 return _HashFileHandle(fh) 238 fh = urllib2.urlopen(url) 242 return _HashFileHandle(fh) 252 fh = urllib2.urlopen(hash_url) 253 data = fh.read(100) 254 fh.close()
|
/external/dnsmasq/contrib/dynamic-dnsmasq/ |
D | dynamic-dnsmasq.pl | 65 my $fh; 67 open($fh, ">$recordfile") || die "Couldn't open recordfile \"$recordfile\": $!\n"; 68 flock($fh, 2); 69 seek($fh, 0, 0); 70 truncate($fh, 0); 78 print $fh "$ip\t$domain\n"; 83 flock($fh, 8); 84 close($fh);
|
/external/google-breakpad/src/client/mac/handler/ |
D | breakpad_nlist_64.cc | 206 struct fat_header fh; in __breakpad_fdnlist() local 210 if (read(fd, (char *)&fh, sizeof(fh)) != sizeof(fh)) { in __breakpad_fdnlist() 215 fh.nfat_arch = CFSwapInt32BigToHost(fh.nfat_arch); in __breakpad_fdnlist() 219 (struct fat_arch *)malloc(fh.nfat_arch * sizeof(struct fat_arch)); in __breakpad_fdnlist() 224 sizeof(struct fat_arch) * fh.nfat_arch) != in __breakpad_fdnlist() 225 (ssize_t)(sizeof(struct fat_arch) * fh.nfat_arch)) { in __breakpad_fdnlist() 234 for (unsigned i = 0; i < fh.nfat_arch; i++) { in __breakpad_fdnlist() 248 for (unsigned i = 0; i < fh.nfat_arch; i++) { in __breakpad_fdnlist()
|
/external/kernel-headers/original/uapi/linux/ |
D | fuse.h | 409 uint64_t fh; member 452 uint64_t fh; member 481 uint64_t fh; member 487 uint64_t fh; member 494 uint64_t fh; member 501 uint64_t fh; member 513 uint64_t fh; member 534 uint64_t fh; member 555 uint64_t fh; member 629 uint64_t fh; member [all …]
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
D | ANTLRReaderStream.m | 14 @synthesize fh; 56 fh = nil; 67 fh = r; 78 if ( fh==nil ) { 91 retData = [fh readDataToEndOfFile]; 100 [fh closeFile]; 150 [fh closeFile];
|
D | ANTLRFileStream.m | 84 NSFileHandle *fh; 88 fh = [NSFileHandle fileHandleForReadingFromURL:f error:&error]; 89 if ( fh==nil ) { 94 retData = [fh readDataToEndOfFile]; 105 [fh closeFile];
|
/external/valgrind/tests/ |
D | s390x_features.c | 117 int n, fh; in get_host() local 123 fh = open("/proc/cpuinfo", O_RDONLY, S_IRUSR); in get_host() 124 if (fh < 0) return NULL; in get_host() 135 n = read(fh, file_buf, file_buf_size); in get_host() 146 lseek(fh, 0, SEEK_SET); in get_host() 148 n = read(fh, file_buf, num_bytes); in get_host() 153 close(fh); in get_host()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | SIGenRegisterInfo.pl | 202 open(my $fh, ">", $INDEX_FILE); 233 print $fh "unsigned SIRegisterInfo::getHWRegNum(unsigned reg) const\n{\n switch(reg) {\n"; 237 print $fh " case AMDGPU::$regname:\n" 239 print $fh " return $key;\n"; 241 print $fh " default: return 0;\n }\n}\n"
|
/external/autotest/client/tests/kvmtest/ |
D | kvmtest.py | 134 fh = open(fail_index, "w+") 135 fh.write(fail_buff) 136 fh.close() 158 fh = open(test_index, "w+") 159 fh.write(test_buff) 160 fh.close()
|
/external/iproute2/doc/actions/ |
D | gact-usage | 38 filter u32 fh 800: ht divisor 1 39 filter u32 fh 800::800 order 2048 key ht 800 bkt 0 flowid 1:16 (rule hit 32 success 20) 56 …tocol ip pref 6 u32 filter protocol ip pref 6 u32 fh 800: ht divisor 1filter protocol ip pref 6 u3… 72 …tocol ip pref 6 u32 filter protocol ip pref 6 u32 fh 800: ht divisor 1filter protocol ip pref 6 u3…
|
/external/chromium-trace/catapult/telemetry/telemetry/value/ |
D | trace.py | 135 fh = self._serialized_file_handle 137 fh = self._temp_file 139 fh.id, 142 fh.extension)) 144 bucket, remote_path, fh.GetAbsPath())
|
/external/autotest/client/site_tests/platform_FileSize/ |
D | platform_FileSize.py | 39 fh = file(fname, 'w') 41 fh.write(TEXT) 42 fh.close()
|
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/ |
D | fake_filesystem_vs_real_test.py | 67 fh = open(real_path, 'w') 68 fh.write(contents or '') 69 fh.close() 70 fh = self.fake_open(fake_path, 'w') 71 fh.write(contents or '') 72 fh.close() 75 fh = open(real_path, 'wb') 76 fh.write(contents or '') 77 fh.close() 78 fh = self.fake_open(fake_path, 'wb') [all …]
|
/external/autotest/client/site_tests/platform_DebugDaemonDumpDebugLogs/ |
D | platform_DebugDaemonDumpDebugLogs.py | 21 fh = os.open(tmp_file, os.O_TRUNC | os.O_CREAT | os.O_WRONLY) 22 self.iface.DumpDebugLogs(compressed, fh) 26 os.close(fh)
|
/external/clang/www/demo/ |
D | index.cgi | 111 my $fh = $msg->open(); 112 print $fh $body; 113 $fh->close(); 325 my $fh = $c->upload('uploaded_file'); 326 if ( !$fh ) { 329 while (<$fh>) { 332 close $fh;
|
/external/libvncserver/utils/ |
D | git2cl.pl | 60 my $fh = new FileHandle; 298 $fh->fdopen(*STDIN, 'r'); 302 $fh->open("LC_ALL=C git log --pretty --numstat --summary|") 306 while (my $_l = <$fh>) {
|
/external/skia/gm/ |
D | conicpaths.cpp | 105 for (int fh = 0; fh < 2; ++fh) { in onDraw() local 106 paint.setStyle(fh ? SkPaint::kStroke_Style : SkPaint::kFill_Style); in onDraw()
|
/external/autotest/client/tests/ltp/ |
D | ltp-diff.py | 40 fh = utils.urlopen(file) 41 results = fh.readlines() 42 fh.close()
|