HomeSort by relevance Sort by last modified time
    Searched refs:fh (Results 1 - 25 of 364) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/utils/analyzer/
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/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
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>;
    [all...]
  /external/chromium-trace/catapult/common/py_utils/py_utils/
logging_util.py 20 fh = logging.StreamHandler(file_stream)
25 fh.formatter = logger.handlers[0].formatter
27 fh.setFormatter(logging.Formatter(
29 logger.addHandler(fh)
35 logger.removeHandler(fh)
  /external/valgrind/coregrind/
link_tool_exe_solaris.in 40 (my $fh, my $path) = tempfile();
43 fcntl($fh, F_SETFD, 0)
44 or die "Can't clear close-on-exec flag on temp fh: $!";
47 unlink0($fh, $path)
58 print $fh <<"END";
67 my $cmd="$cc -Wl,-M/proc/$$/fd/" . fileno($fh);
  /external/autotest/site_utils/stats/
tail_until_writer_finished.py 56 def ReadChunks(fh):
59 @param fh: The filehandle to read from.
61 for chunk in iter(lambda: fh.read(chunk_size), b''):
66 with open(path) as fh:
68 fh.seek(0, 2)
70 ReadChunks(fh)
75 ReadChunks(fh)
  /build/soong/third_party/zip/
android.go 35 fh := &fileHeader
39 fh.Extra = stripExtras(fh.Extra)
42 FileHeader: fh,
47 if err := writeHeader(w.cw, fh); err != nil {
59 if fh.isZip64() {
66 b.uint32(fh.CRC32)
67 if fh.isZip64() {
68 b.uint64(fh.CompressedSize64)
69 b.uint64(fh.UncompressedSize64
    [all...]
  /frameworks/native/cmds/rawbu/
backup.cpp 173 static int write_int32(FILE* fh, int32_t val)
175 int res = fwrite(&val, 1, sizeof(val), fh);
184 static int write_int64(FILE* fh, int64_t val)
186 int res = fwrite(&val, 1, sizeof(val), fh);
235 static int write_header(FILE* fh, int type, const char* path, const struct stat* st)
238 if (!write_int32(fh, type)) return 0;
239 if (!write_int32(fh, pathLen)) return 0;
240 if (fwrite(path, 1, pathLen, fh) != (size_t)pathLen) {
245 if (!write_int32(fh, st->st_uid)) return 0;
246 if (!write_int32(fh, st->st_gid)) return 0
376 FILE* fh = fopen(destPath, "w"); local
506 FILE* fh = fopen(srcPath, "r"); local
    [all...]
  /external/syslinux/gpxe/src/util/
padimg.pl 33 sysopen ( my $fh, $filename, ( O_WRONLY | O_APPEND ) )
35 syswrite $fh, ( chr ( $byte ) x $padsize )
37 close ( $fh );
  /system/core/trusty/storage/lib/
storage.c 37 static inline storage_session_t _to_session(file_handle_t fh)
39 return (storage_session_t)(fh >> 32);
42 static inline uint32_t _to_handle(file_handle_t fh)
44 return (uint32_t) fh;
166 void storage_close_file(file_handle_t fh)
169 struct storage_file_close_req req = { .handle = _to_handle(fh)};
173 ssize_t rc = send_reqv(_to_session(fh), tx, 2, rx, 1);
191 static int _read_chunk(file_handle_t fh, storage_off_t off, void *buf, size_t size)
194 struct storage_file_read_req req = { .handle = _to_handle(fh), .size = size, .offset = off };
198 ssize_t rc = send_reqv(_to_session(fh), tx, 2, rx, 2)
    [all...]
  /external/syslinux/com32/lib/
makeerrlist.pl 17 my($fh) = new FileHandle;
26 if ( $fh->open($root.'//'.$file, '<') ) {
36 while ( defined($line = <$fh>) ) {
59 close($fh);
  /external/libcups/filter/
raster.c 875 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.OutputType, r->header.OutputType, sizeof(fh.OutputType))
1056 cups_page_header2_t fh; \/* File page header *\/ local
    [all...]
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/
ANTLRFileStream.m 84 NSFileHandle *fh;
88 fh = [NSFileHandle fileHandleForReadingFromURL:f error:&error];
89 if ( fh==nil ) {
94 retData = [fh readDataToEndOfFile];
105 [fh closeFile];
ANTLRReaderStream.h 13 NSFileHandle *fh; variable
19 @property (retain) NSFileHandle *fh; variable
  /external/iproute2/tc/
f_route.c 41 __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...]
  /device/linaro/bootloader/edk2/MdePkg/Library/BaseMemoryLibMmx/X64/
SetMem32.asm 35 DB 49h, 0fh, 6eh, 0c0h ; movd mm0, r8 (Value)
40 DB 0fh, 70h, 0C0h, 44h ; pshufw mm0, mm0, 44h
42 DB 0fh, 0e7h, 02h ; movntq [rdx], mm0
48 DB 0fh, 7eh, 02h ; movd [rdx], mm0
CopyMem.asm 49 DB 49h, 0fh, 7eh, 0c2h ; movd r10, mm0 (Save mm0 in r10)
51 DB 0fh, 6fh, 06h ; movd mm0, [rsi]
52 DB 0fh, 0e7h, 07h ; movntq [rdi], mm0
57 DB 49h, 0fh, 6eh, 0c2h ; movd mm0, r10 (Restore mm0)
  /external/llvm/test/MC/X86/
intel-syntax-hex.s 18 mov eax, 0fh
  /external/devlib/devlib/utils/
rendering.py 76 with open(self.temp_file) as fh:
77 self._process_raw_file(fh)
108 def _process_raw_file(self, fh):
135 def _process_raw_file(self, fh):
136 text = fh.read().replace('\r\n', '\n').replace('\r', '\n')
195 def _process_raw_file(self, fh):
200 for line in fh:
205 fh.next() # headers
206 for line in fh:
221 def _file_reverse_iter(fh, buf_size=1024)
    [all...]
  /external/autotest/client/site_tests/platform_DebugDaemonDumpDebugLogs/
platform_DebugDaemonDumpDebugLogs.py 21 fh = os.open(tmp_file, os.O_TRUNC | os.O_CREAT | os.O_WRONLY)
22 self.iface.DumpDebugLogs(compressed, fh, signature="bh")
26 os.close(fh)
  /external/autotest/client/site_tests/platform_FileSize/
platform_FileSize.py 39 fh = file(fname, 'w')
41 fh.write(TEXT)
42 fh.close()
  /test/vts/utils/python/build/api/
artifact_fetcher.py 148 fh = None
151 fh = io.FileIO(dest_filepath, mode='wb')
153 fh = io.BytesIO()
156 fh, api, chunksize=self.DEFAULT_CHUNK_SIZE)
163 return fh.getvalue()
168 if fh:
169 fh.close()
  /prebuilts/go/darwin-x86/src/mime/multipart/
formdata.go 77 fh := &FileHeader{
99 fh.tmpfile = file.Name()
100 fh.Size = size
102 fh.content = b.Bytes()
103 fh.Size = int64(len(fh.content))
107 form.File[name] = append(form.File[name], fh)
127 for _, fh := range fhs {
128 if fh.tmpfile != "" {
129 e := os.Remove(fh.tmpfile
    [all...]
  /prebuilts/go/linux-x86/src/mime/multipart/
formdata.go 77 fh := &FileHeader{
99 fh.tmpfile = file.Name()
100 fh.Size = size
102 fh.content = b.Bytes()
103 fh.Size = int64(len(fh.content))
107 form.File[name] = append(form.File[name], fh)
127 for _, fh := range fhs {
128 if fh.tmpfile != "" {
129 e := os.Remove(fh.tmpfile
    [all...]
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/CompilerStub/X64/
memcpy.asm 52 DB 49h, 0fh, 7eh, 0c2h ; movd r10, mm0 (Save mm0 in r10)
54 DB 0fh, 6fh, 06h ; movd mm0, [rsi]
55 DB 48h, 0fh, 7eh, 07h ; movd [rdi], mm0
59 DB 49h, 0fh, 6eh, 0c2h ; movd mm0, r10 (Restore mm0)
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/X64/
EfiCopyMem.asm 53 DB 49h, 0fh, 7eh, 0c2h ; movd r10, mm0 (Save mm0 in r10)
55 DB 0fh, 6fh, 06h ; movd mm0, [rsi]
56 DB 48h, 0fh, 7eh, 07h ; movd [rdi], mm0
60 DB 49h, 0fh, 6eh, 0c2h ; movd mm0, r10 (Restore mm0)

Completed in 399 milliseconds

1 2 3 4 5 6 7 8 91011>>