/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() 126 fh &= ~0x7F00; in route_parse_opt() 127 fh |= (order<<8)&0x7F00; in route_parse_opt() 130 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/libvncserver/x11vnc/misc/ |
D | ultravnc_repeater.pl | 312 foreach my $fh (@ready) { 313 if (($client_listen && $fh == $client_listen) || ($client_listen6 && $fh == $client_listen6)) { 315 …} elsif (($server_listen && $fh == $server_listen) || ($server_listen6 && $fh == $server_listen6))… 318 my $sock = $fh->accept(); 324 if (($client_listen && $fh == $client_listen) || ($client_listen6 && $fh == $client_listen6)) { 356 …} elsif (($client_listen && $fh == $client_listen) || ($client_listen6 && $fh == $client_listen6))… 358 …} elsif (($server_listen && $fh == $server_listen) || ($server_listen6 && $fh == $server_listen6))… 509 my $fh = shift; 511 return established_linux_proc($fh); 532 my $fh = shift; [all …]
|
/external/lldb/source/API/ |
D | SBCommandReturnObject.cpp | 127 SBCommandReturnObject::PutOutput (FILE *fh) in PutOutput() argument 129 if (fh) in PutOutput() 133 return ::fprintf (fh, "%s", GetOutput()); in PutOutput() 139 SBCommandReturnObject::PutError (FILE *fh) in PutError() argument 141 if (fh) in PutError() 145 return ::fprintf (fh, "%s", GetError()); in PutError() 268 SBCommandReturnObject::SetImmediateOutputFile (FILE *fh) in SetImmediateOutputFile() argument 271 m_opaque_ap->SetImmediateOutputFile (fh); in SetImmediateOutputFile() 275 SBCommandReturnObject::SetImmediateErrorFile (FILE *fh) in SetImmediateErrorFile() argument 278 m_opaque_ap->SetImmediateErrorFile (fh); in SetImmediateErrorFile()
|
/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/lldb/scripts/Python/interface/ |
D | SBCommandReturnObject.i | 51 PutOutput (FILE *fh); 54 PutError (FILE *fh); 88 SetImmediateOutputFile (FILE *fh); 91 SetImmediateErrorFile (FILE *fh);
|
/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/libvncserver/x11vnc/misc/enhanced_tightvnc_viewer/Windows/util/ |
D | connect_br.tcl | 455 set fh "" 456 catch {set fh [open $file a]} 457 if {$fh != ""} { 458 puts $fh $str 459 catch {close $fh} 464 proc vencrypt_bridge_connection {fh host port} { 465 puts stderr "vencrypt_bridge_connection: got connection $fh $host $port" 466 bmesg "vencrypt_bridge_connection: got connection $fh $host $port" 468 set viewer_sock $fh 497 set fh "" [all …]
|
/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/valgrind/coregrind/ |
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 | 270 struct fat_header fh; in map_image_aboard() local 284 fh.magic = ntohl(fh_be->magic); in map_image_aboard() 285 fh.nfat_arch = ntohl(fh_be->nfat_arch); in map_image_aboard() 286 if (fh.magic == FAT_MAGIC) { in map_image_aboard() 292 + fh.nfat_arch * sizeof(struct fat_arch)) in map_image_aboard() 296 f < fh.nfat_arch; in map_image_aboard() 318 if (f == fh.nfat_arch) in map_image_aboard()
|
/external/lldb/include/lldb/API/ |
D | SBCommandReturnObject.h | 48 PutOutput (FILE *fh); 57 PutError (FILE *fh); 84 SetImmediateOutputFile (FILE *fh); 87 SetImmediateErrorFile (FILE *fh);
|
/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/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/lldb/include/lldb/Interpreter/ |
D | CommandReturnObject.h | 80 SetImmediateOutputFile (FILE *fh, bool transfer_fh_ownership = false) 82 lldb::StreamSP stream_sp (new StreamFile (fh, transfer_fh_ownership)); 87 SetImmediateErrorFile (FILE *fh, bool transfer_fh_ownership = false) 89 lldb::StreamSP stream_sp (new StreamFile (fh, transfer_fh_ownership));
|
/external/skia/gm/ |
D | conicpaths.cpp | 104 for (int fh = 0; fh < 2; ++fh) { in onDraw() local 105 paint.setStyle(fh ? SkPaint::kStroke_Style : SkPaint::kFill_Style); in onDraw()
|
/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/tcpdump/ |
D | parsenfsfh.c | 113 Parse_fh(fh, len, fsidp, inop, osnamep, fsnamep, ourself) in Parse_fh() argument 114 register const unsigned char *fh; in Parse_fh() 122 register const unsigned char *fhp = fh; 371 memcpy((char *)fsidp, (char *)fh, 14); 377 memcpy((char *)tempa, (char *)fh, 14); /* ensure alignment */
|