/external/libbrillo/brillo/ |
asynchronous_signal_handler.cc | 24 : descriptor_(kInvalidDescriptor) { 31 if (descriptor_ != kInvalidDescriptor) { 34 if (IGNORE_EINTR(close(descriptor_)) != 0) 37 descriptor_ = kInvalidDescriptor; 43 CHECK_EQ(kInvalidDescriptor, descriptor_); 45 descriptor_ = 46 signalfd(descriptor_, &signal_mask_, SFD_CLOEXEC | SFD_NONBLOCK); 47 CHECK_NE(kInvalidDescriptor, descriptor_); 50 descriptor_, 76 while (base::ReadFromFD(descriptor_, [all...] |
asynchronous_signal_handler.h | 42 // Called from the main loop when we can read from |descriptor_|, indicated 54 int descriptor_; member in class:brillo::final
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
cpp_extension.cc | 61 : descriptor_(descriptor), 64 if (descriptor_->is_repeated()) { 68 switch (descriptor_->cpp_type()) { 71 type_traits_.append(ClassName(descriptor_->enum_type(), true)); 73 type_traits_.append(ClassName(descriptor_->enum_type(), true)); 81 type_traits_.append(ClassName(descriptor_->message_type(), true)); 86 type_traits_.append(PrimitiveTypeName(descriptor_->cpp_type())); 96 vars["extendee" ] = ExtendeeClassName(descriptor_); 97 vars["number" ] = SimpleItoa(descriptor_->number()); 99 vars["name" ] = descriptor_->name() [all...] |
cpp_enum.cc | 65 : descriptor_(descriptor), 76 vars["short_name"] = descriptor_->name(); 81 const EnumValueDescriptor* min_value = descriptor_->value(0); 82 const EnumValueDescriptor* max_value = descriptor_->value(0); 84 for (int i = 0; i < descriptor_->value_count(); i++) { 85 vars["name"] = descriptor_->value(i)->name(); 89 vars["number"] = Int32ToString(descriptor_->value(i)->number()); 90 vars["prefix"] = (descriptor_->containing_type() == NULL) ? 96 if (descriptor_->value(i)->number() < min_value->number()) { 97 min_value = descriptor_->value(i) [all...] |
cpp_message.cc | 290 : descriptor_(descriptor), 324 for (int i = 0; i < descriptor_->nested_type_count(); i++) { 331 for (int i = 0; i < descriptor_->nested_type_count(); i++) { 335 for (int i = 0; i < descriptor_->enum_type_count(); i++) { 342 for (int i = 0; i < descriptor_->nested_type_count(); i++) { 345 for (int i = 0; i < descriptor_->enum_type_count(); i++) { 352 for (int i = 0; i < descriptor_->field_count(); i++) { 353 const FieldDescriptor* field = descriptor_->field(i); 376 if (descriptor_->extension_range_count() > 0) { 384 for (int i = 0; i < descriptor_->oneof_decl_count(); i++) [all...] |
cpp_service.cc | 47 : descriptor_(descriptor) { 48 vars_["classname"] = descriptor_->name(); 49 vars_["full_name"] = descriptor_->full_name(); 144 for (int i = 0; i < descriptor_->method_count(); i++) { 145 const MethodDescriptor* method = descriptor_->method(i); 165 vars["classname"] = descriptor_->name(); 213 for (int i = 0; i < descriptor_->method_count(); i++) { 214 const MethodDescriptor* method = descriptor_->method(i); 216 sub_vars["classname"] = descriptor_->name(); 244 for (int i = 0; i < descriptor_->method_count(); i++) [all...] |
cpp_string_field.cc | 75 : descriptor_(descriptor) { 88 if (!descriptor_->default_value_string().empty()) { 111 if (descriptor_->options().ctype() != FieldOptions::STRING) { 130 if (descriptor_->options().ctype() != FieldOptions::STRING) { 172 if (descriptor_->default_value_string().empty()) { 211 if (!descriptor_->default_value_string().empty()) { 220 if (descriptor_->default_value_string().empty()) { 259 if (!descriptor_->default_value_string().empty()) { 268 if (!descriptor_->default_value_string().empty()) { 279 if (HasUtf8Verification(descriptor_->file()) & [all...] |
/external/protobuf/src/google/protobuf/compiler/java/ |
java_message.cc | 75 : descriptor_(descriptor) {} 91 if (HasDescriptorMethods(descriptor_)) { 100 vars["identifier"] = UniqueFileScopeIdentifier(descriptor_); 101 vars["index"] = SimpleItoa(descriptor_->index()); 102 vars["classname"] = name_resolver_->GetImmutableClassName(descriptor_); 103 if (descriptor_->containing_type() != NULL) { 105 descriptor_->containing_type()); 107 if (MultipleJavaFiles(descriptor_->file(), /* immutable = */ true)) { 125 for (int i = 0; i < descriptor_->nested_type_count(); i++) { 127 ImmutableMessageGenerator(descriptor_->nested_type(i), context_ [all...] |
java_enum.cc | 66 : descriptor_(descriptor), immutable_api_(immutable_api), 68 for (int i = 0; i < descriptor_->value_count(); i++) { 69 const EnumValueDescriptor* value = descriptor_->value(i); 71 descriptor_->FindValueByNumber(value->number()); 87 WriteEnumDocComment(printer, descriptor_); 88 if (HasDescriptorMethods(descriptor_)) { 92 "classname", descriptor_->name()); 97 "classname", descriptor_->name()); 122 vars["classname"] = descriptor_->name(); 130 for (int i = 0; i < descriptor_->value_count(); i++) [all...] |
java_message_field.cc | 126 : descriptor_(descriptor), messageBitIndex_(messageBitIndex), 150 if (SupportFieldPresence(descriptor_->file()) || 151 descriptor_->containing_oneof() == NULL) { 152 WriteFieldDocComment(printer, descriptor_); 156 WriteFieldDocComment(printer, descriptor_); 160 if (HasNestedBuilders(descriptor_->containing_type())) { 161 WriteFieldDocComment(printer, descriptor_); 173 if (SupportFieldPresence(descriptor_->file())) { 174 WriteFieldDocComment(printer, descriptor_); 179 WriteFieldDocComment(printer, descriptor_); [all...] |
java_enum_field.cc | 128 : descriptor_(descriptor), messageBitIndex_(messageBitIndex), 148 if (SupportFieldPresence(descriptor_->file())) { 149 WriteFieldDocComment(printer, descriptor_); 153 WriteFieldDocComment(printer, descriptor_); 163 if (SupportFieldPresence(descriptor_->file())) { 164 WriteFieldDocComment(printer, descriptor_); 170 WriteFieldDocComment(printer, descriptor_); 181 if (SupportFieldPresence(descriptor_->file())) { 182 WriteFieldDocComment(printer, descriptor_); 188 WriteFieldDocComment(printer, descriptor_); [all...] |
java_extension.cc | 51 : descriptor_(descriptor), context_(context), 53 if (descriptor_->extension_scope() != NULL) { 55 descriptor_->extension_scope()); 57 scope_ = name_resolver_->GetImmutableClassName(descriptor_->file()); 115 InitTemplateVars(descriptor_, scope_, kUseImmutableNames, name_resolver_, 120 WriteFieldDocComment(printer, descriptor_); 121 if (HasDescriptorMethods(descriptor_->file())) { 123 if (descriptor_->extension_scope() == NULL) { 150 if (descriptor_->is_repeated()) { 186 if (descriptor_->extension_scope() == NULL & [all...] |
java_service.cc | 51 : descriptor_(descriptor) {} 65 MultipleJavaFiles(descriptor_->file(), /* immutable = */ true); 66 WriteServiceDocComment(printer, descriptor_); 71 "classname", descriptor_->name()); 76 "classname", descriptor_->name()); 92 "file", name_resolver_->GetImmutableClassName(descriptor_->file()), 93 "index", SimpleItoa(descriptor_->index())); 107 "full_name", descriptor_->full_name()); 136 "classname", descriptor_->name()); 140 for (int i = 0; i < descriptor_->method_count(); i++) [all...] |
java_string_field.cc | 142 : descriptor_(descriptor), messageBitIndex_(messageBitIndex), 194 if (SupportFieldPresence(descriptor_->file())) { 195 WriteFieldDocComment(printer, descriptor_); 199 WriteFieldDocComment(printer, descriptor_); 202 WriteFieldDocComment(printer, descriptor_); 214 if (SupportFieldPresence(descriptor_->file())) { 215 WriteFieldDocComment(printer, descriptor_); 222 WriteFieldDocComment(printer, descriptor_); 232 if (CheckUtf8(descriptor_)) { 245 WriteFieldDocComment(printer, descriptor_); [all...] |
java_primitive_field.cc | 174 : descriptor_(descriptor), messageBitIndex_(messageBitIndex), 194 if (SupportFieldPresence(descriptor_->file())) { 195 WriteFieldDocComment(printer, descriptor_); 199 WriteFieldDocComment(printer, descriptor_); 209 if (SupportFieldPresence(descriptor_->file())) { 210 WriteFieldDocComment(printer, descriptor_); 217 WriteFieldDocComment(printer, descriptor_); 229 if (SupportFieldPresence(descriptor_->file())) { 230 WriteFieldDocComment(printer, descriptor_); 237 WriteFieldDocComment(printer, descriptor_); [all...] |
java_lazy_message_field.cc | 65 WriteFieldDocComment(printer, descriptor_); 70 WriteFieldDocComment(printer, descriptor_); 76 if (HasNestedBuilders(descriptor_->containing_type())) { 77 WriteFieldDocComment(printer, descriptor_); 95 if (HasNestedBuilders(descriptor_->containing_type())) { 108 WriteFieldDocComment(printer, descriptor_); 120 WriteFieldDocComment(printer, descriptor_); 136 WriteFieldDocComment(printer, descriptor_); 150 WriteFieldDocComment(printer, descriptor_); 170 WriteFieldDocComment(printer, descriptor_); [all...] |
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
javamicro_message.cc | 143 descriptor_(descriptor), 151 for (int i = 0; i < descriptor_->nested_type_count(); i++) { 153 MessageGenerator(descriptor_->nested_type(i), params_) 161 for (int i = 0; i < descriptor_->nested_type_count(); i++) { 163 MessageGenerator(descriptor_->nested_type(i), params_) 167 if (descriptor_->extension_count() != 0) { 173 const string& file_name = descriptor_->file()->name(); 176 && descriptor_->containing_type() == NULL; 178 if ((descriptor_->extension_count() != 0) 179 || (descriptor_->extension_range_count() != 0)) [all...] |
javamicro_enum.cc | 51 : params_(params), descriptor_(descriptor) { 52 for (int i = 0; i < descriptor_->value_count(); i++) { 53 const EnumValueDescriptor* value = descriptor_->value(i); 55 descriptor_->FindValueByNumber(value->number()); 71 printer->Print("// enum $classname$\n", "classname", descriptor_->name());
|
javamicro_primitive_field.cc | 218 : FieldGenerator(params), descriptor_(descriptor) { 231 if (IsFastStringHandling(descriptor_, params_)) { 247 if (IsVariableLenType(GetJavaType(descriptor_))) { 291 if (IsFastStringHandling(descriptor_, params_)) { 306 if (IsFastStringHandling(descriptor_, params_)) { 327 return BoxedPrimitiveTypeName(GetJavaType(descriptor_)); 334 : FieldGenerator(params), descriptor_(descriptor) { 336 if (descriptor_->options().packed()) { 345 if (IsFastStringHandling(descriptor_, params_)) { 408 if (IsReferenceType(GetJavaType(descriptor_))) { [all...] |
/external/protobuf/src/google/protobuf/compiler/javanano/ |
javanano_message.cc | 83 descriptor_(descriptor), 91 for (int i = 0; i < descriptor_->nested_type_count(); i++) { 93 MessageGenerator(descriptor_->nested_type(i), params_) 101 for (int i = 0; i < descriptor_->nested_type_count(); i++) { 103 MessageGenerator(descriptor_->nested_type(i), params_) 110 (descriptor_->extension_count() != 0 || descriptor_->extension_range_count() != 0)) { 115 const string& file_name = descriptor_->file()->name(); 118 && descriptor_->containing_type() == NULL; 128 "classname", descriptor_->name()) [all...] |
javanano_enum.cc | 51 : params_(params), descriptor_(descriptor) { 52 for (int i = 0; i < descriptor_->value_count(); i++) { 53 const EnumValueDescriptor* value = descriptor_->value(i); 55 descriptor_->FindValueByNumber(value->number()); 74 "classname", descriptor_->name()); 76 const string classname = RenameJavaKeywords(descriptor_->name());
|
javanano_primitive_field.cc | 260 : FieldGenerator(params), descriptor_(descriptor) { 291 JavaType java_type = GetJavaType(descriptor_); 310 JavaType java_type = GetJavaType(descriptor_); 329 JavaType java_type = GetJavaType(descriptor_); 363 JavaType java_type = GetJavaType(descriptor_); 389 if (descriptor_->is_required() && !params_.generate_has()) { 403 JavaType java_type = GetJavaType(descriptor_); 416 if (descriptor_->is_required() && !params_.generate_has()) { 429 JavaType java_type = GetJavaType(descriptor_); 455 JavaType java_type = GetJavaType(descriptor_); [all...] |
/external/protobuf/src/google/protobuf/ |
dynamic_message_unittest.cc | 60 const Descriptor* descriptor_; member in class:google::protobuf::DynamicMessageTest 90 descriptor_ = pool_.FindMessageTypeByName("protobuf_unittest.TestAllTypes"); 91 ASSERT_TRUE(descriptor_ != NULL); 92 prototype_ = factory_.GetPrototype(descriptor_); 114 EXPECT_EQ(prototype_->GetDescriptor(), descriptor_); 119 EXPECT_EQ(prototype_, factory_.GetPrototype(descriptor_)); 124 TestUtil::ReflectionTester reflection_tester(descriptor_); 133 TestUtil::ReflectionTester reflection_tester(descriptor_); 221 TestUtil::ReflectionTester reflection_tester(descriptor_);
|
/external/v8/src/parsing/ |
pattern-rewriter.cc | 26 rewriter.descriptor_ = declaration_descriptor; 47 rewriter.descriptor_ = nullptr; 127 descriptor_->scope->RemoveUnresolved(pattern); 145 VariableProxy* proxy = parser_->NewUnresolved(name, descriptor_->mode); 147 proxy, descriptor_->mode, descriptor_->scope, 148 descriptor_->declaration_pos); 150 parser_->Declare(declaration, descriptor_->declaration_kind, 151 descriptor_->mode != VAR, ok_, descriptor_->hoist_scope) [all...] |
/external/v8/src/ |
code-factory.h | 21 : code_(code), descriptor_(descriptor) {} 24 CallInterfaceDescriptor descriptor() const { return descriptor_; } 28 const CallInterfaceDescriptor descriptor_; member in class:v8::internal::BASE_EMBEDDED
|