/external/grpc-grpc/tools/http2_interop/ |
D | frameheader.go | 26 func (fh *FrameHeader) Parse(r io.Reader) error { 31 return fh.UnmarshalBinary(buf) 34 func (fh *FrameHeader) UnmarshalBinary(b []byte) error { 38 *fh = FrameHeader{ 48 func (fh *FrameHeader) MarshalBinary() ([]byte, error) { 49 buf := make([]byte, 9, 9+fh.Length) 51 if fh.Length > 0xFFFFFF || fh.Length < 0 { 52 return nil, fmt.Errorf("Invalid frame header length: %d", fh.Length) 54 if fh.StreamID < 0 { 55 return nil, fmt.Errorf("Invalid Stream ID: %v", fh.StreamID) [all …]
|
D | http2interop.go | 38 fh := FrameHeader{} 39 if err := fh.Parse(r); err != nil { 43 switch fh.Type { 46 Header: fh, 50 Header: fh, 54 Header: fh, 58 Header: fh, 155 fh := &UnknownFrame{ 160 if err := streamFrame(conn, fh); err != nil { 161 ctx.T.Log("Unable to stream frame", fh)
|
/external/rust/crates/grpcio-sys/grpc/tools/http2_interop/ |
D | frameheader.go | 40 func (fh *FrameHeader) Parse(r io.Reader) error { 45 return fh.UnmarshalBinary(buf) 48 func (fh *FrameHeader) UnmarshalBinary(b []byte) error { 52 *fh = FrameHeader{ 62 func (fh *FrameHeader) MarshalBinary() ([]byte, error) { 63 buf := make([]byte, 9, 9+fh.Length) 65 if fh.Length > 0xFFFFFF || fh.Length < 0 { 66 return nil, fmt.Errorf("Invalid frame header length: %d", fh.Length) 68 if fh.StreamID < 0 { 69 return nil, fmt.Errorf("Invalid Stream ID: %v", fh.StreamID) [all …]
|
/external/antlr/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/llvm-project/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/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/tensorflow/tensorflow/security/fuzzing/ |
D | dataFormatVecPermute_fuzz.py | 24 fh = FuzzingHelper(input_bytes) 26 dtype = fh.get_tf_dtype() 29 shape = fh.get_int_list(min_length=0, max_length=8, min_int=0, max_int=8) 30 seed = fh.get_int() 33 src_format_digits = str(fh.get_int(min_int=0, max_int=999999999)) 34 dest_format_digits = str(fh.get_int(min_int=0, max_int=999999999)) 39 name=fh.get_string())
|
D | raggedCountSparseOutput_fuzz.py | 24 fh = FuzzingHelper(input_bytes) 26 splits = fh.get_int_list() 27 values = fh.get_int_or_float_list() 28 weights = fh.get_int_list()
|
D | immutableConst_fuzz.py | 26 fh = FuzzingHelper(input_bytes) 28 dtype = fh.get_tf_dtype() 29 shape = fh.get_int_list() 32 f.write(fh.get_string())
|
/external/autotest/client/common_lib/ |
D | seven_unittest.py | 28 with tempfile.NamedTemporaryFile(delete=False) as fh: 29 self.tempfile = fh.name 39 with open(self.tempfile, "wb") as fh: 40 fh.write(br"(") 55 with open(self.tempfile, "wb") as fh: 56 fh.write(br"print 'hi'") 74 with open(self.tempfile, "wb") as fh: 75 fh.write(br"from __future__ import print_function; print 'hi'")
|
/external/iproute2/tc/ |
D | f_route.c | 41 __u32 fh = 0xFFFF8000; in route_parse_opt() local 67 fh &= ~0x80FF; in route_parse_opt() 68 fh |= id&0xFF; in route_parse_opt() 78 fh &= 0xFFFF; in route_parse_opt() 79 fh |= id<<16; in route_parse_opt() 90 fh &= 0xFFFF; in route_parse_opt() 91 fh |= (0x8000|id)<<16; in route_parse_opt() 134 fh &= ~0x7F00; in route_parse_opt() 135 fh |= (order<<8)&0x7F00; in route_parse_opt() 138 t->tcm_handle = fh; in route_parse_opt()
|
/external/llvm-project/lldb/source/API/ |
D | SBCommandReturnObject.cpp | 118 size_t SBCommandReturnObject::PutOutput(FILE *fh) { in PutOutput() argument 119 LLDB_RECORD_DUMMY(size_t, SBCommandReturnObject, PutOutput, (FILE *), fh); in PutOutput() 120 if (fh) { in PutOutput() 123 return ::fprintf(fh, "%s", GetOutput()); in PutOutput() 143 size_t SBCommandReturnObject::PutError(FILE *fh) { in PutError() argument 144 LLDB_RECORD_DUMMY(size_t, SBCommandReturnObject, PutError, (FILE *), fh); in PutError() 145 if (fh) { in PutError() 148 return ::fprintf(fh, "%s", GetError()); in PutError() 256 void SBCommandReturnObject::SetImmediateOutputFile(FILE *fh) { in SetImmediateOutputFile() argument 258 (FILE *), fh); in SetImmediateOutputFile() [all …]
|
/external/libcups/cups/ |
D | raster-stream.c | 1049 cups_page_header2_t fh; /* File page header */ in _cupsRasterWriteHeader() local 1051 memset(&fh, 0, sizeof(fh)); in _cupsRasterWriteHeader() 1052 strlcpy(fh.MediaClass, "PwgRaster", sizeof(fh.MediaClass)); in _cupsRasterWriteHeader() 1053 strlcpy(fh.MediaColor, r->header.MediaColor, sizeof(fh.MediaColor)); in _cupsRasterWriteHeader() 1054 strlcpy(fh.MediaType, r->header.MediaType, sizeof(fh.MediaType)); in _cupsRasterWriteHeader() 1055 strlcpy(fh.OutputType, r->header.OutputType, sizeof(fh.OutputType)); in _cupsRasterWriteHeader() 1056 strlcpy(fh.cupsRenderingIntent, r->header.cupsRenderingIntent, in _cupsRasterWriteHeader() 1057 sizeof(fh.cupsRenderingIntent)); in _cupsRasterWriteHeader() 1058 strlcpy(fh.cupsPageSizeName, r->header.cupsPageSizeName, in _cupsRasterWriteHeader() 1059 sizeof(fh.cupsPageSizeName)); in _cupsRasterWriteHeader() [all …]
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | 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/python/oauth2client/tests/ |
D | test__pure_python_crypt.py | 40 with open(self.PUBLIC_KEY_FILENAME, 'rb') as fh: 41 return fh.read() 44 with open(self.PUBLIC_CERT_FILENAME, 'rb') as fh: 45 return fh.read() 48 with open(self.PRIVATE_KEY_FILENAME, 'rb') as fh: 49 return fh.read() 125 with open(self.PKCS1_KEY_FILENAME, 'rb') as fh: 126 return fh.read() 129 with open(self.PKCS8_KEY_FILENAME, 'rb') as fh: 130 return fh.read() [all …]
|
/external/ethtool/ |
D | test-common.c | 129 FILE *fh; member 159 node->fh = NULL; in test_open() 178 node->fh = NULL; in test_socket() 208 node->fh = fopen(path, mode); in test_fopen() 209 if (!node->fh) { in test_fopen() 216 return node->fh; in test_fopen() 219 int test_fclose(FILE *fh) in test_fclose() argument 223 assert(fh); in test_fclose() 226 if (((struct file_node *)head)->fh == fh) { in test_fclose() 233 return fclose(fh); in test_fclose() [all …]
|
/external/e2fsprogs/misc/ |
D | fuse2fs.c | 2140 fp->fh = (uintptr_t)file; in __op_open() 2167 struct fuse2fs_file_handle *fh = in op_read() local 2168 (struct fuse2fs_file_handle *)(uintptr_t)fp->fh; in op_read() 2177 FUSE2FS_CHECK_MAGIC(fs, fh, FUSE2FS_FILE_MAGIC); in op_read() 2178 dbg_printf("%s: ino=%d off=%jd len=%jd\n", __func__, fh->ino, offset, in op_read() 2181 err = ext2fs_file_open(fs, fh->ino, fh->open_flags, &efp); in op_read() 2183 ret = translate_error(fs, fh->ino, err); in op_read() 2189 ret = translate_error(fs, fh->ino, err); in op_read() 2195 ret = translate_error(fs, fh->ino, err); in op_read() 2204 ret = translate_error(fs, fh->ino, err); in op_read() [all …]
|
/external/llvm-project/lldb/include/lldb/API/ |
D | SBCommandReturnObject.h | 47 size_t PutOutput(FILE *fh); // DEPRECATED 57 size_t PutError(FILE *fh); // DEPRECATED 79 void SetImmediateOutputFile(FILE *fh); // DEPRECATED 81 void SetImmediateErrorFile(FILE *fh); // DEPRECATED 83 void SetImmediateOutputFile(FILE *fh, bool transfer_ownership); // DEPRECATED 85 void SetImmediateErrorFile(FILE *fh, bool transfer_ownership); // DEPRECATED
|
/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/strace/tests-mx32/ |
D | file_handle.c | 99 struct file_handle *fh = in do_name_to_handle_at() local 104 fh->handle_bytes, fh->handle_type); in do_name_to_handle_at() 105 print_handle_data((unsigned char *) fh + in do_name_to_handle_at() 107 fh->handle_bytes); in do_name_to_handle_at() 128 struct file_handle *fh = in do_open_by_handle_at() local 131 printf("{handle_bytes=%u, handle_type=%d", fh->handle_bytes, in do_open_by_handle_at() 132 fh->handle_type); in do_open_by_handle_at() 136 print_handle_data((unsigned char *) fh + in do_open_by_handle_at() 138 fh->handle_bytes); in do_open_by_handle_at()
|
/external/strace/tests/ |
D | file_handle.c | 99 struct file_handle *fh = in do_name_to_handle_at() local 104 fh->handle_bytes, fh->handle_type); in do_name_to_handle_at() 105 print_handle_data((unsigned char *) fh + in do_name_to_handle_at() 107 fh->handle_bytes); in do_name_to_handle_at() 128 struct file_handle *fh = in do_open_by_handle_at() local 131 printf("{handle_bytes=%u, handle_type=%d", fh->handle_bytes, in do_open_by_handle_at() 132 fh->handle_type); in do_open_by_handle_at() 136 print_handle_data((unsigned char *) fh + in do_open_by_handle_at() 138 fh->handle_bytes); in do_open_by_handle_at()
|
/external/strace/tests-m32/ |
D | file_handle.c | 99 struct file_handle *fh = in do_name_to_handle_at() local 104 fh->handle_bytes, fh->handle_type); in do_name_to_handle_at() 105 print_handle_data((unsigned char *) fh + in do_name_to_handle_at() 107 fh->handle_bytes); in do_name_to_handle_at() 128 struct file_handle *fh = in do_open_by_handle_at() local 131 printf("{handle_bytes=%u, handle_type=%d", fh->handle_bytes, in do_open_by_handle_at() 132 fh->handle_type); in do_open_by_handle_at() 136 print_handle_data((unsigned char *) fh + in do_open_by_handle_at() 138 fh->handle_bytes); in do_open_by_handle_at()
|
/external/kernel-headers/original/uapi/linux/ |
D | fuse.h | 556 uint64_t fh; member 599 uint64_t fh; member 628 uint64_t fh; member 634 uint64_t fh; member 641 uint64_t fh; member 648 uint64_t fh; member 660 uint64_t fh; member 681 uint64_t fh; member 702 uint64_t fh; member 778 uint64_t fh; member [all …]
|
/external/libfuse/include/ |
D | fuse_kernel.h | 477 uint64_t fh; member 520 uint64_t fh; member 549 uint64_t fh; member 555 uint64_t fh; member 562 uint64_t fh; member 569 uint64_t fh; member 588 uint64_t fh; member 609 uint64_t fh; member 630 uint64_t fh; member 706 uint64_t fh; member [all …]
|
/external/python/cpython2/Demo/rpc/ |
D | nfsclient.py | 83 fh = self.unpack_fhandle() 85 rest = (fh, fa) 136 def Getattr(self, fh): argument 137 return self.make_call(1, fh, \ 194 fh = sf[1] 195 if fh: 197 attrstat = ncl.Getattr(fh) 199 list = ncl.Listdir(fh)
|