/drivers/hdf_core/interfaces/inner_api/utils/ |
D | hdf_dlist.h | 172 #define CONTAINER_OF(ptr, type, member) \ argument 173 (type *)((char *)(ptr) - (char *)&((type *)0)->member) 184 #define DLIST_FIRST_ENTRY(ptr, type, member) \ argument 185 CONTAINER_OF((ptr)->next, type, member) 196 #define DLIST_LAST_ENTRY(ptr, type, member) \ argument 197 CONTAINER_OF((ptr)->prev, type, member) 209 #define DLIST_FOR_EACH_ENTRY(pos, head, type, member) \ argument 210 for ((pos) = CONTAINER_OF((head)->next, type, member); \ 211 &(pos)->member != (head); \ 212 (pos) = CONTAINER_OF((pos)->member.next, type, member)) [all …]
|
/drivers/hdf_core/framework/tools/idl-gen/ |
D | idl_generator.py | 165 for member in enum["members"]: 166 self._idl.append(" %s = %s,\n" % (member["name"], member["value"])) 172 for member in stack["members"]: 173 param_type = self._swap_type_c2idl(member["type"]) 176 os.path.normpath(member["file_name"]), member["line_number"], param_type)) 177 self._idl.append(" %s %s;\n" % (param_type, member["name"])) 184 for member in iface["members"]: 185 self._install_function(iface["name"], member) 188 def _install_function(self, iface_name, member): argument 189 self._idl.append(" %s(" % member["name"]) [all …]
|
/drivers/external_device_manager/services/native/driver_extension_manager/src/drivers_pkg_manager/ |
D | driver_info.cpp | 43 static bool IsJsonObjValid(const Json::Value &jsonObj, const string &member) in IsJsonObjValid() argument 45 if (!jsonObj.isMember(member)) { in IsJsonObjValid() 46 EDM_LOGE(MODULE_COMMON, "the json obj do not has menber :%{public}s", member.c_str()); in IsJsonObjValid() 49 auto realType = jsonObj[member].type(); in IsJsonObjValid() 52 member.c_str(), Json::stringValue, realType); in IsJsonObjValid()
|
/drivers/peripheral/display/hal/default_standard/src/display_device/core/ |
D | hdi_session.h | 34 … int32_t CallDisplayFunction(uint32_t devId, int32_t (HdiDisplay::*member)(Args...), Args... args) in CallDisplayFunction() 42 return (display->*member)(std::forward<Args>(args)...); in CallDisplayFunction() 46 …int32_t CallLayerFunction(uint32_t devId, uint32_t layerId, int32_t (HdiLayer::*member)(Args...), … in CallLayerFunction() 57 return (layer->*member)(std::forward<Args>(args)...); in CallLayerFunction()
|
/drivers/hdf_core/framework/tools/hdi-gen/ast/ |
D | ast_struct_type.cpp | 97 AutoPtr<ASTType> member = std::get<1>(it); in EmitCTypeDecl() local 99 sb.Append(TAB).AppendFormat("%s %s;\n", member->EmitCType().c_str(), memberName.c_str()); in EmitCTypeDecl() 100 …if (member->GetTypeKind() == TypeKind::TYPE_ARRAY || member->GetTypeKind() == TypeKind::TYPE_LIST)… in EmitCTypeDecl() 120 AutoPtr<ASTType> member = std::get<1>(it); in EmitCppTypeDecl() local 122 sb.Append(TAB).AppendFormat("%s %s;\n", member->EmitCppType().c_str(), memberName.c_str()); in EmitCppTypeDecl()
|
D | ast_union_type.cpp | 94 AutoPtr<ASTType> member = std::get<1>(it); in EmitCTypeDecl() local 96 sb.Append(TAB).AppendFormat("%s %s;\n", member->EmitCType().c_str(), memberName.c_str()); in EmitCTypeDecl() 97 …if (member->GetTypeKind() == TypeKind::TYPE_ARRAY || member->GetTypeKind() == TypeKind::TYPE_LIST)… in EmitCTypeDecl() 112 AutoPtr<ASTType> member = std::get<1>(it); in EmitCppTypeDecl() local 114 sb.Append(TAB).AppendFormat("%s %s;\n", member->EmitCppType().c_str(), memberName.c_str()); in EmitCppTypeDecl()
|
D | ast_enum_type.h | 96 void AddMember(const AutoPtr<ASTEnumValue> &member);
|
D | ast_enum_type.cpp | 22 void ASTEnumType::AddMember(const AutoPtr<ASTEnumValue> &member) in AddMember() argument 24 members_.push_back(member); in AddMember()
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/resources/templates/lite/ |
D | hdf_driver.c.template | 8 …ruct IDeviceIoService ioService; // The first member of the service structure must be a memb…
|
/drivers/peripheral/usb/sample/host/liteos_test/ |
D | BUILD.gn | 41 "-Wno-address-of-packed-member",
|
/drivers/interface/ |
D | README.md | 199 | Function parameters and member variables in a class, struct, or union| lowerCamelCase|
|