Home
last modified time | relevance | path

Searched refs:file_desc (Results 1 – 15 of 15) sorted by relevance

/external/grpc-grpc/src/cpp/ext/
Dproto_server_reflection.cc119 const protobuf::FileDescriptor* file_desc = in GetFileByName() local
121 if (file_desc == nullptr) { in GetFileByName()
125 FillFileDescriptorResponse(file_desc, response, &seen_files); in GetFileByName()
136 const protobuf::FileDescriptor* file_desc = in GetFileContainingSymbol() local
138 if (file_desc == nullptr) { in GetFileContainingSymbol()
142 FillFileDescriptorResponse(file_desc, response, &seen_files); in GetFileContainingSymbol()
193 const protobuf::FileDescriptor* file_desc, in FillFileDescriptorResponse() argument
196 if (seen_files->find(file_desc->name()) != seen_files->end()) { in FillFileDescriptorResponse()
199 seen_files->insert(file_desc->name()); in FillFileDescriptorResponse()
203 file_desc->CopyTo(&file_desc_proto); in FillFileDescriptorResponse()
[all …]
Dproto_server_reflection.h67 const protobuf::FileDescriptor* file_desc,
/external/protobuf/python/google/protobuf/
Dmessage_factory.py105 file_desc = self.pool.FindFileByName(file_name)
106 for name, msg in file_desc.message_types_by_name.items():
107 if file_desc.package:
108 full_name = '.'.join([file_desc.package, name])
123 for name, extension in file_desc.extensions_by_name.items():
Ddescriptor_pool.py165 def AddFileDescriptor(self, file_desc): argument
175 if not isinstance(file_desc, descriptor.FileDescriptor):
177 self._file_descriptors[file_desc.name] = file_desc
402 def _ConvertMessageDescriptor(self, desc_proto, package=None, file_desc=None, argument
421 if file_desc is None:
424 file_name = file_desc.name
431 nested, desc_name, file_desc, scope, syntax)
434 self._ConvertEnumDescriptor(enum, desc_name, file_desc, None, scope)
464 file=file_desc,
482 def _ConvertEnumDescriptor(self, enum_proto, package=None, file_desc=None, argument
[all …]
/external/grpc-grpc/test/cpp/end2end/
Dproto_server_reflection_test.cc79 const protobuf::FileDescriptor* file_desc = service_desc->file(); in CompareService() local
80 if (known_files_.find(file_desc->package() + "/" + file_desc->name()) != in CompareService()
82 EXPECT_EQ(file_desc->DebugString(), in CompareService()
84 known_files_.insert(file_desc->package() + "/" + file_desc->name()); in CompareService()
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_pool_test.py365 file_desc = pool.FindFileByName(self.name)
366 test.assertEqual(self.name, file_desc.name)
367 test.assertEqual(self.package, file_desc.package)
368 dependencies_names = [f.name for f in file_desc.dependencies]
370 public_dependencies_names = [f.name for f in file_desc.public_dependencies]
373 msg_type.CheckType(test, None, name, file_desc)
381 def CheckType(self, test, msg_desc, name, file_desc): argument
387 test.assertEqual(file_desc, enum_desc.file)
406 def CheckType(self, test, containing_type_desc, name, file_desc): argument
408 desc = file_desc.message_types_by_name[name]
[all …]
Dmessage_test.py1802 self.file_desc = """
1827 text_format.Parse(self.file_desc, desc)
/external/grpc-grpc/test/cpp/util/
Dproto_file_parser.cc87 const auto* file_desc = importer_->Import(file_name); in ProtoFileParser() local
88 if (file_desc) { in ProtoFileParser()
89 for (int i = 0; i < file_desc->service_count(); i++) { in ProtoFileParser()
90 service_desc_list_.push_back(file_desc->service(i)); in ProtoFileParser()
91 known_services.insert(file_desc->service(i)->full_name()); in ProtoFileParser()
/external/ltp/testcases/kernel/sched/sched_stress/
Dsched_tc6.c262 int file_desc; in open_file() local
264 if ((file_desc = open(file, open_mode)) < 0) in open_file()
266 return (file_desc); in open_file()
/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc6460 const FileDescriptor *file_desc = in TEST_F() local
6463 const Descriptor *a_desc = file_desc->FindMessageTypeByName("A"); in TEST_F()
6471 const EnumDescriptor *e_desc = file_desc->FindEnumTypeByName("Indecision"); in TEST_F()
6479 const ServiceDescriptor *s_desc = file_desc->FindServiceByName("S"); in TEST_F()
6492 const FileDescriptor *file_desc = in TEST_F() local
6496 file_desc->FindExtensionByName("int32_extension"); in TEST_F()
6500 const Descriptor *c_desc = file_desc->FindMessageTypeByName("C"); in TEST_F()
6514 const FileDescriptor *file_desc = in TEST_F() local
6518 file_desc->CopyTo(&proto); // Note, this discards the SourceCodeInfo. in TEST_F()
6532 const FileDescriptor *file_desc = in TEST_F() local
[all …]
/external/sonivox/jet_tools/JetCreator/
Deas.py425 file_desc = file_types[file_type]
427 file_desc = 'Unrecognized type %d' % file_type
428 eas_logger.debug('EAS_GetFileType: type=%d, desc=%s' % (file_type, file_desc))
429 return (file_type, file_desc)
/external/bcc/src/cc/
DCMakeLists.txt40 set(bcc_table_headers file_desc.h table_desc.h table_storage.h)
/external/python/oauth2client/oauth2client/
Dclient.py1328 file_desc = os.open(temp_filename, os.O_WRONLY | os.O_CREAT, 0o600)
1329 with os.fdopen(file_desc, 'w') as file_handle:
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowArscAssetManager10.java441 FileDescriptor file_desc = fd; // jniCreateFileDescriptor(env, fd); in ReturnParcelFileDescriptor() local
DShadowArscAssetManager9.java437 FileDescriptor file_desc = fd; // jniCreateFileDescriptor(env, fd); in ReturnParcelFileDescriptor() local