/external/python/apitools/apitools/base/py/ |
D | extra_types_test.py | 178 def JtoM(class_type, json_str): argument 179 return encoding.JsonToMessage(class_type, json_str) 181 def DoRoundtrip(class_type, json_msg=None, message=None, times=4): argument 183 json_msg = MtoJ(JtoM(class_type, json_msg)) 185 message = JtoM(class_type, MtoJ(message)) 189 return DoRoundtrip(class_type=class_type, json_msg=json_msg,
|
/external/tensorflow/tensorflow/python/keras/layers/ |
D | noise_test.py | 50 def _make_model(dtype, class_type): argument 52 assert class_type in ('gaussian_noise', 'gaussian_dropout', 'alpha_noise') 55 if class_type == 'gaussian_noise': 57 elif class_type == 'gaussian_dropout':
|
/external/libcap-ng/libcap-ng-0.7/bindings/python/ |
D | capng.py | 35 def _swig_setattr_nondynamic(self,class_type,name,value,static=1): argument 41 method = class_type.__swig_setmethods__.get(name,None) 48 def _swig_setattr(self,class_type,name,value): argument 49 return _swig_setattr_nondynamic(self,class_type,name,value,0) 51 def _swig_getattr(self,class_type,name): argument 53 method = class_type.__swig_getmethods__.get(name,None)
|
/external/protobuf/php/ext/google/protobuf/ |
D | protobuf.h | 136 zend_class_entry class_type; \ 138 INIT_CLASS_ENTRY_EX(class_type, CLASSNAME, strlen(CLASSNAME), \ 141 &class_type, message_type, NULL TSRMLS_CC); \ 149 zend_class_entry class_type; \ 151 INIT_CLASS_ENTRY_EX(class_type, CLASSNAME, strlen(CLASSNAME), \ 153 LOWWERNAME##_type = zend_register_internal_class(&class_type TSRMLS_CC); 159 zend_class_entry class_type; \ 161 INIT_CLASS_ENTRY_EX(class_type, CLASSNAME, strlen(CLASSNAME), \ 163 LOWWERNAME##_type = zend_register_internal_class(&class_type TSRMLS_CC); \ 199 #define CREATE_OBJ_ON_ALLOCATED_ZVAL_PTR(zval_ptr, class_type) \ argument [all …]
|
D | type_check.c | 81 zend_class_entry class_type; in util_init() local 82 INIT_CLASS_ENTRY(class_type, "Google\\Protobuf\\Internal\\GPBUtil", in util_init() 84 util_type = zend_register_internal_class(&class_type TSRMLS_CC); in util_init()
|
D | def.c | 108 zend_class_entry class_type; in gpb_type_init() local 109 INIT_CLASS_ENTRY(class_type, "Google\\Protobuf\\Internal\\GPBType", in gpb_type_init() 111 gpb_type_type = zend_register_internal_class(&class_type TSRMLS_CC); in gpb_type_init()
|
/external/grpc-grpc/src/php/ext/grpc/ |
D | server_credentials.c | 37 zend_class_entry *class_type TSRMLS_DC) { in PHP_GRPC_FREE_WRAPPED_FUNC_END() 39 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in PHP_GRPC_FREE_WRAPPED_FUNC_END() 40 object_properties_init(&intern->std, class_type); in PHP_GRPC_FREE_WRAPPED_FUNC_END()
|
D | channel_credentials.c | 60 zend_class_entry *class_type TSRMLS_DC) { in PHP_GRPC_FREE_WRAPPED_FUNC_END() 62 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in PHP_GRPC_FREE_WRAPPED_FUNC_END() 63 object_properties_init(&intern->std, class_type); in PHP_GRPC_FREE_WRAPPED_FUNC_END()
|
D | server.c | 50 php_grpc_zend_object create_wrapped_grpc_server(zend_class_entry *class_type in PHP_GRPC_FREE_WRAPPED_FUNC_END() 53 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in PHP_GRPC_FREE_WRAPPED_FUNC_END() 54 object_properties_init(&intern->std, class_type); in PHP_GRPC_FREE_WRAPPED_FUNC_END()
|
D | call_credentials.c | 42 zend_class_entry *class_type TSRMLS_DC) { in PHP_GRPC_FREE_WRAPPED_FUNC_END() 44 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in PHP_GRPC_FREE_WRAPPED_FUNC_END() 45 object_properties_init(&intern->std, class_type); in PHP_GRPC_FREE_WRAPPED_FUNC_END()
|
D | timeval.c | 33 php_grpc_zend_object create_wrapped_grpc_timeval(zend_class_entry *class_type in PHP_GRPC_FREE_WRAPPED_FUNC_START() 36 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in PHP_GRPC_FREE_WRAPPED_FUNC_START() 37 object_properties_init(&intern->std, class_type); in PHP_GRPC_FREE_WRAPPED_FUNC_START()
|
D | call.c | 44 php_grpc_zend_object create_wrapped_grpc_call(zend_class_entry *class_type in PHP_GRPC_FREE_WRAPPED_FUNC_END() 47 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in PHP_GRPC_FREE_WRAPPED_FUNC_END() 48 object_properties_init(&intern->std, class_type); in PHP_GRPC_FREE_WRAPPED_FUNC_END()
|
D | channel.c | 92 php_grpc_zend_object create_wrapped_grpc_channel(zend_class_entry *class_type in PHP_GRPC_FREE_WRAPPED_FUNC_END() 95 zend_object_std_init(&intern->std, class_type TSRMLS_CC); in PHP_GRPC_FREE_WRAPPED_FUNC_END() 96 object_properties_init(&intern->std, class_type); in PHP_GRPC_FREE_WRAPPED_FUNC_END()
|
/external/v8/src/torque/ |
D | type-visitor.cc | 397 ClassType* class_type, const ClassDeclaration* class_declaration) { in VisitClassFieldsAndMethods() argument 398 const ClassType* super_class = class_type->GetSuperClass(); in VisitClassFieldsAndMethods() 411 if (class_type->IsShape()) { in VisitClassFieldsAndMethods() 423 const Field& field = class_type->RegisterField( in VisitClassFieldsAndMethods() 425 class_type, in VisitClassFieldsAndMethods() 453 if (class_offset.SingleValue() && !class_type->IsShape()) { in VisitClassFieldsAndMethods() 462 class_type->header_size_ = header_size; in VisitClassFieldsAndMethods() 463 class_type->size_ = class_offset; in VisitClassFieldsAndMethods() 464 class_type->GenerateAccessors(); in VisitClassFieldsAndMethods() 465 DeclareMethods(class_type, class_declaration->methods); in VisitClassFieldsAndMethods()
|
D | implementation-visitor.cc | 229 if (const ClassType* class_type = ClassType::DynamicCast(alias->type())) { in Visit() local 230 if (class_type->IsExtern() && !class_type->nspace()->IsDefaultNamespace()) { in Visit() 1326 const ClassType* class_type, in VisitInitializerResults() argument 1332 const Field& field = class_type->LookupField(initializer.name->value); in VisitInitializerResults() 1352 VisitResult object, const Field& field, const ClassType* class_type) { in GenerateFieldReference() argument 1355 GenerateCall(class_type->GetSliceMacroName(field), {{object}, {}})); in GenerateFieldReference() 1395 const ClassType* class_type, VisitResult allocate_result, in InitializeClass() argument 1398 if (const ClassType* super = class_type->GetSuperClass()) { in InitializeClass() 1402 for (Field f : class_type->fields()) { in InitializeClass() 1444 const ClassType* class_type = *object.type()->ClassSupertype(); in GenerateArrayLength() local [all …]
|
D | type-oracle.cc | 77 if (auto* class_type = ClassType::DynamicCast(t.get())) { in GetClasses() local 78 result.push_back(class_type); in GetClasses()
|
D | instance-type-generator.cc | 43 const ClassType* class_type = ClassType::DynamicCast(type); in BuildInstanceTypeTree() local 44 if (class_type == nullptr) { in BuildInstanceTypeTree() 47 auto& map_slot = map_by_type[class_type]; in BuildInstanceTypeTree() 52 std::make_unique<InstanceTypeTree>(class_type); in BuildInstanceTypeTree()
|
D | type-visitor.h | 31 ClassType* class_type, const ClassDeclaration* class_declaration);
|
D | implementation-visitor.h | 463 const ClassType* class_type, 467 const ClassType* class_type); 475 VisitResult GenerateArrayLength(const ClassType* class_type, 479 const ClassType* class_type, 482 void InitializeClass(const ClassType* class_type, VisitResult allocate_result,
|
D | csa-generator.cc | 239 const ClassType* class_type = in EmitInstruction() local 241 if (!class_type) { in EmitInstruction() 249 class_type->name() != class_type->GetGeneratedTNodeTypeName() in EmitInstruction() 251 : class_type->name(); in EmitInstruction()
|
D | types.cc | 115 if (auto* class_type = ClassType::DynamicCast(t)) { in ClassSupertype() local 116 return class_type; in ClassSupertype() 1279 const ClassType& class_type, Expression* array_size) { in ExtractSimpleFieldArraySize() argument 1285 if (!class_type.HasField(identifier->name->value)) return {}; in ExtractSimpleFieldArraySize() 1286 return class_type.LookupField(identifier->name->value).name_and_type; in ExtractSimpleFieldArraySize()
|
D | declarations.h | 105 static Method* CreateMethod(AggregateType* class_type,
|
/external/mesa3d/src/gallium/drivers/svga/svgadump/ |
D | svga_dump.py | 61 assert self.decl.class_type in ('struct', 'union')
|
/external/googletest/googlemock/scripts/generator/cpp/ |
D | ast.py | 1517 def _GetClass(self, class_type, visibility, templated_types): argument 1537 return class_type(class_token.start, class_token.end, 1573 new_class = class_type(class_token.start, class_token.end, 1586 return class_type(class_token.start, class_token.end, class_name,
|
/external/google-breakpad/src/testing/scripts/generator/cpp/ |
D | ast.py | 1479 def _GetClass(self, class_type, visibility, templated_types): argument 1499 return class_type(class_token.start, class_token.end, 1535 new_class = class_type(class_token.start, class_token.end, 1548 return class_type(class_token.start, class_token.end, class_name,
|