/external/ceres-solver/internal/ceres/ |
file.cc | 44 FILE* file_descriptor = fopen(filename.c_str(), "wb"); local 45 if (!file_descriptor) { 48 fwrite(data.c_str(), 1, data.size(), file_descriptor); 49 fclose(file_descriptor); 53 FILE* file_descriptor = fopen(filename.c_str(), "r"); local 55 if (!file_descriptor) { 60 fseek(file_descriptor, 0L, SEEK_END); 61 int num_bytes = ftell(file_descriptor); 65 fseek(file_descriptor, 0L, SEEK_SET); 69 file_descriptor); [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
generate_python_test.py | 47 self.file_descriptor = descriptor.FileDescriptor() 69 def DoPythonTest(self, file_descriptor): 78 '%s.py' % (file_descriptor.package or 'blank',)) 81 generate_python.format_python_file(file_descriptor, source_file) 85 module_to_import = file_descriptor.package or 'blank' 88 if not file_descriptor.package: 101 if file_descriptor.message_types: 102 file_descriptor.message_types = sorted( 103 file_descriptor.message_types, key=lambda v: v.name) 105 self.assertEquals(file_descriptor, reloaded_descriptor [all...] |
generate_proto_test.py | 43 self.file_descriptor = descriptor.FileDescriptor() 55 messages_list = getattr(self.file_descriptor, 'fields', []) 57 self.file_descriptor.message_types = messages_list 60 self.file_descriptor.package = None 61 generate_proto.format_proto_file(self.file_descriptor, self.output) 65 self.file_descriptor.package = 'my_package' 66 generate_proto.format_proto_file(self.file_descriptor, self.output) 78 generate_proto.format_proto_file(self.file_descriptor, self.output) 95 generate_proto.format_proto_file(self.file_descriptor, self.output) 112 generate_proto.format_proto_file(self.file_descriptor, self.output [all...] |
definition.py | 203 def define_file(file_descriptor, module=None): 207 file_descriptor: FileDescriptor instance to describe module from. 209 in file_descriptor.package. Definitions are added to existing 218 module = types.ModuleType(file_descriptor.package) 220 for enum_descriptor in file_descriptor.enum_types or []: 224 for message_descriptor in file_descriptor.message_types or []: 228 for service_descriptor in file_descriptor.service_types or []: 236 def import_file(file_descriptor, modules=None): 244 file_descriptor: FileDescriptor instance to describe module from. 247 matches file_descriptor.package, that module is updated with th [all...] |
generate_python.py | 186 def format_python_file(file_descriptor, output, indent_space=2): 202 file_descriptor: FileDescriptor instance to format as python module. 210 if file_descriptor.service_types: 213 if file_descriptor.package: 214 out << "package = '%s'" % file_descriptor.package 216 _write_enums(file_descriptor.enum_types, out) 217 _write_messages(file_descriptor.message_types, out) 218 _write_services(file_descriptor.service_types, out)
|
generate_proto.py | 34 def format_proto_file(file_descriptor, output, indent_space=2): 37 if file_descriptor.package: 38 out << 'package %s;' % file_descriptor.package 61 write_enums(file_descriptor.enum_types) 127 write_messages(file_descriptor.message_types)
|
definition_test.py | 481 file_descriptor = descriptor.FileDescriptor() 482 file_descriptor.package = package 483 file_descriptor.enum_types = [enum_descriptor] 484 file_descriptor.message_types = [message_descriptor] 485 file_descriptor.service_types = [service_descriptor] 487 return file_descriptor 491 file_descriptor = self.MakeFileDescriptor('my.package') 493 module = definition.define_file(file_descriptor) 500 self.assertEquals(file_descriptor, descriptor.describe_file(module)) 504 file_descriptor = self.MakeFileDescriptor('my.package' [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/model/file_descriptor/ |
FileDescriptorModelLoader.java | 1 package com.bumptech.glide.load.model.file_descriptor;
|
FileDescriptorFileLoader.java | 1 package com.bumptech.glide.load.model.file_descriptor; 23 * {@link com.bumptech.glide.load.model.file_descriptor.FileDescriptorFileLoader}s.
|
FileDescriptorResourceLoader.java | 1 package com.bumptech.glide.load.model.file_descriptor; 20 * The default factory for {@link com.bumptech.glide.load.model.file_descriptor.FileDescriptorResourceLoader}s.
|
FileDescriptorStringLoader.java | 1 package com.bumptech.glide.load.model.file_descriptor; 21 * The default factory for {@link com.bumptech.glide.load.model.file_descriptor.FileDescriptorStringLoader}s.
|
FileDescriptorUriLoader.java | 1 package com.bumptech.glide.load.model.file_descriptor; 23 * The default factory for {@link com.bumptech.glide.load.model.file_descriptor.FileDescriptorUriLoader}s.
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/gen/ |
extended_descriptor.py | 147 def _WriteFile(file_descriptor, package, version, proto_printer): 149 proto_printer.PrintPreamble(package, version, file_descriptor) 150 _PrintEnums(proto_printer, file_descriptor.enum_types) 151 _PrintMessages(proto_printer, file_descriptor.message_types) 153 file_descriptor.enum_types, file_descriptor.package) 156 file_descriptor.message_types, file_descriptor.package)) 161 def WriteMessagesFile(file_descriptor, package, version, printer): 163 _WriteFile(file_descriptor, package, version [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/ |
gen_protorpc.py | 79 def generate_file_descriptor(dest_dir, file_descriptor, force_overwrite): 92 file_descriptor: FileDescriptor instance to generate source code from. 95 package = file_descriptor.package 126 file_descriptor.package, output_file_name) 127 generate_python.format_python_file(file_descriptor, output_file) 186 file_descriptor = protobuf.decode_message(descriptor.FileDescriptor, 188 generate_python.format_python_file(file_descriptor, output_file) 211 for file_descriptor in file_set.files: 212 generate_file_descriptor(dest_dir, file_descriptor=file_descriptor, [all...] |
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/ |
PeerConnectionFactory.java | 146 public boolean startAecDump(int file_descriptor) { 147 return nativeStartAecDump(nativeFactory, file_descriptor); 159 public boolean startRtcEventLog(int file_descriptor) { 160 return nativeStartRtcEventLog(nativeFactory, file_descriptor); 253 private static native boolean nativeStartAecDump(long nativeFactory, int file_descriptor); 257 private static native boolean nativeStartRtcEventLog(long nativeFactory, int file_descriptor);
|
/external/libchrome/dbus/ |
BUILD.gn | 17 "file_descriptor.cc", 18 "file_descriptor.h",
|
dbus.gyp | 32 'file_descriptor.cc', 33 'file_descriptor.h',
|
file_descriptor.cc | 12 #include "dbus/file_descriptor.h"
|
/external/protobuf/src/google/protobuf/ |
message.cc | 120 bool Message::ParseFromFileDescriptor(int file_descriptor) { 121 io::FileInputStream input(file_descriptor); 125 bool Message::ParsePartialFromFileDescriptor(int file_descriptor) { 126 io::FileInputStream input(file_descriptor); 162 bool Message::SerializeToFileDescriptor(int file_descriptor) const { 163 io::FileOutputStream output(file_descriptor); 167 bool Message::SerializePartialToFileDescriptor(int file_descriptor) const { 168 io::FileOutputStream output(file_descriptor);
|
/system/connectivity/shill/net/ |
mock_netlink_socket.h | 36 MOCK_CONST_METHOD0(file_descriptor, int());
|
/external/protobuf/src/google/protobuf/io/ |
zero_copy_stream_impl.cc | 78 FileInputStream::FileInputStream(int file_descriptor, int block_size) 79 : copying_input_(file_descriptor), 106 int file_descriptor) 107 : file_(file_descriptor), 174 FileOutputStream::FileOutputStream(int file_descriptor, int block_size) 175 : copying_output_(file_descriptor), 205 int file_descriptor) 206 : file_(file_descriptor),
|
/hardware/qcom/msm8996/original-kernel-headers/linux/ |
msm_pft.h | 114 * @preform_in_place_file_enc.file_descriptor - file descriptor 129 __u32 file_descriptor; member in struct:pft_command::__anon34678::__anon34681
|
/external/zlib/src/contrib/iostream/ |
zfstream.h | 16 gzfilebuf *attach( int file_descriptor, int io_mode );
|
/hardware/qcom/msm8996/kernel-headers/linux/ |
msm_pft.h | 72 __u32 file_descriptor; member in struct:pft_command::__anon34527::__anon34530
|
/external/protobuf/python/google/protobuf/ |
symbol_database.py | 112 def RegisterFileDescriptor(self, file_descriptor): 116 file_descriptor: a descriptor.FileDescriptor. 121 self.pool.AddFileDescriptor(file_descriptor)
|