Searched refs:constraints (Results 1 - 25 of 55) sorted by relevance

123

/haiku/src/add-ons/accelerants/common/
H A Dvalidate_display_mode.cpp35 uint16& total, const timing_constraints& constraints)
37 if (syncStart < display + constraints.min_before_sync) {
40 display, constraints.min_before_sync);
41 syncStart = display + constraints.min_before_sync;
42 } else if (syncStart > constraints.max_sync_start) {
44 __func__, syncStart, constraints.max_sync_start);
45 syncStart = constraints.max_sync_start;
49 if (syncLength < constraints.min_sync_length) {
52 __func__, syncLength, constraints.min_sync_length);
53 syncLength = constraints
34 sanitize_timing(uint16& display, uint16& syncStart, uint16& syncEnd, uint16& total, const timing_constraints& constraints) argument
88 sanitize_display_mode(display_mode& mode, const display_constraints& constraints, const edid1_info* edid) argument
[all...]
/haiku/headers/private/debugger/model/
H A DTeamTypeInformation.h23 const TypeLookupConstraints& constraints,
28 const TypeLookupConstraints& constraints)
/haiku/src/add-ons/accelerants/3dfx/
H A Doverlay.cpp206 overlay_constraints* constraints)
208 if ((mode == NULL) || (buffer == NULL) || (constraints == NULL))
212 constraints->view.h_alignment = 0;
213 constraints->view.v_alignment = 0;
218 constraints->view.width_alignment = 7;
226 constraints->view.height_alignment = 0;
229 constraints->view.width.min = 4;
230 constraints->view.height.min = 4;
231 constraints->view.width.max = buffer->width;
232 constraints
205 GetOverlayConstraints(const display_mode* mode, const overlay_buffer* buffer, overlay_constraints* constraints) argument
[all...]
/haiku/src/add-ons/accelerants/ati/
H A Doverlay.cpp201 overlay_constraints* constraints)
203 if ((mode == NULL) || (buffer == NULL) || (constraints == NULL))
207 constraints->view.h_alignment = 0;
208 constraints->view.v_alignment = 0;
211 constraints->view.width_alignment = 7;
218 constraints->view.height_alignment = 0;
221 constraints->view.width.min = 4;
222 constraints->view.height.min = 4;
223 constraints->view.width.max = buffer->width;
224 constraints
200 GetOverlayConstraints(const display_mode* mode, const overlay_buffer* buffer, overlay_constraints* constraints) argument
[all...]
/haiku/src/add-ons/accelerants/vesa/
H A Dhooks.cpp90 const overlay_buffer* buffer, overlay_constraints* constraints)
95 constraints->view.h_alignment = 0;
96 constraints->view.v_alignment = 0;
99 constraints->view.width_alignment = 7;
100 constraints->view.height_alignment = 0;
103 constraints->view.width.min = 4;
104 constraints->view.height.min = 4;
105 constraints->view.width.max = buffer->width;
106 constraints->view.height.max = buffer->height;
109 constraints
89 vesa_get_overlay_constraints(const display_mode* mode, const overlay_buffer* buffer, overlay_constraints* constraints) argument
[all...]
/haiku/headers/private/debugger/debug_info/
H A DGlobalTypeLookup.h40 const TypeLookupConstraints &constraints
70 const TypeLookupConstraints& constraints,
76 const TypeLookupConstraints& constraints)
H A DTeamDebugInfo.h51 const TypeLookupConstraints& constraints,
55 const TypeLookupConstraints& constraints);
58 const TypeLookupConstraints& constraints,
61 const TypeLookupConstraints& constraints);
H A DImageDebugInfo.h45 const TypeLookupConstraints& constraints,
50 const TypeLookupConstraints& constraints)
H A DSpecificImageDebugInfo.h52 const TypeLookupConstraints& constraints,
56 const TypeLookupConstraints& constraints)
/haiku/src/add-ons/accelerants/intel_extreme/
H A Doverlay.cpp450 const overlay_buffer* buffer, overlay_constraints* constraints)
460 constraints->view.h_alignment = 0;
461 constraints->view.v_alignment = 0;
466 constraints->view.width_alignment = 7;
469 constraints->view.width_alignment = 7;
472 constraints->view.width_alignment = 3;
475 constraints->view.width_alignment = 7;
478 constraints->view.width_alignment = 7;
483 constraints->view.height_alignment = 0;
486 constraints
449 intel_get_overlay_constraints(const display_mode* mode, const overlay_buffer* buffer, overlay_constraints* constraints) argument
[all...]
H A Daccelerant_protos.h31 // modes & constraints
46 status_t intel_get_timing_constraints(display_timing_constraints* constraints);
88 const overlay_buffer* buffer, overlay_constraints* constraints);
/haiku/headers/private/graphics/common/
H A Dvalidate_display_mode.h44 const display_constraints& constraints, const edid1_info* edidInfo);
/haiku/src/kits/debugger/value/value_nodes/
H A DBMessageValueNode.cpp398 TypeLookupConstraints constraints; local
403 constraints.SetTypeKind(TYPE_PRIMITIVE);
408 constraints.SetTypeKind(TYPE_TYPEDEF);
413 constraints.SetTypeKind(TYPE_TYPEDEF);
418 constraints.SetTypeKind(TYPE_TYPEDEF);
423 constraints.SetTypeKind(TYPE_TYPEDEF);
428 constraints.SetTypeKind(TYPE_TYPEDEF);
433 constraints.SetTypeKind(TYPE_TYPEDEF);
438 constraints.SetTypeKind(TYPE_TYPEDEF);
443 constraints
[all...]
H A DBListValueNode.cpp382 TypeLookupConstraints constraints; local
383 constraints.SetTypeKind(TYPE_ADDRESS);
384 constraints.SetBaseTypeName("void");
385 status_t result = info->LookupTypeByName(typeName, constraints,
/haiku/src/kits/interface/layouter/
H A DCollapsingLayouter.cpp88 BObjectList<Constraint> constraints; member in struct:CollapsingLayouter::ElementInfo
95 constraints(5, true)
108 for (int32 i = other.constraints.CountItems() - 1; i >= 0; i--)
109 constraints.AddItem(new Constraint(*other.constraints.ItemAt(i)));
160 fElements[element].constraints.AddItem(constraint);
307 for (int32 i = element.constraints.CountItems() - 1; i >= 0; i--)
308 _AddConstraints(element.position, element.constraints.ItemAt(i));
/haiku/src/kits/debugger/debug_info/
H A DDebuggerImageDebugInfo.h34 const TypeLookupConstraints& constraints,
37 const TypeLookupConstraints& constraints)
H A DImageDebugInfo.cpp100 const TypeLookupConstraints& constraints, Type*& _type)
104 status_t error = specificInfo->GetType(cache, name, constraints,
116 const TypeLookupConstraints& constraints) const
120 if (specificInfo->HasType(name, constraints))
99 GetType(GlobalTypeCache* cache, const BString& name, const TypeLookupConstraints& constraints, Type*& _type) argument
H A DDebuggerImageDebugInfo.cpp56 const BString& name, const TypeLookupConstraints& constraints,
65 const TypeLookupConstraints& constraints) const
55 GetType(GlobalTypeCache* cache, const BString& name, const TypeLookupConstraints& constraints, Type*& _type) argument
H A DGlobalTypeLookup.cpp155 const TypeLookupConstraints &constraints) const
159 if (constraints.HasTypeKind()
160 && typeEntry->type->Kind() != constraints.TypeKind())
162 else if (constraints.HasSubtypeKind()) {
168 else if (type->AddressKind() != constraints.SubtypeKind())
175 else if (type->CompoundKind() != constraints.SubtypeKind())
H A DDwarfImageDebugInfo.h63 const TypeLookupConstraints& constraints,
66 const TypeLookupConstraints& constraints)
132 const TypeLookupConstraints& constraints)
H A DTeamDebugInfo.cpp379 const TypeLookupConstraints& constraints, Type*& _type)
381 return GetType(fTypeCache, name, constraints, _type);
387 const TypeLookupConstraints& constraints)
389 return HasType(fTypeCache, name, constraints);
395 const TypeLookupConstraints& constraints, Type*& _type)
400 Type* type = cache->GetType(name, constraints);
424 error = imageDebugInfo->GetType(cache, name, constraints, type);
441 const TypeLookupConstraints& constraints)
446 Type* type = cache->GetType(name, constraints);
466 if (imageDebugInfo->HasType(name, constraints)) {
378 LookupTypeByName(const BString& name, const TypeLookupConstraints& constraints, Type*& _type) argument
386 TypeExistsByName(const BString& name, const TypeLookupConstraints& constraints) argument
394 GetType(GlobalTypeCache* cache, const BString& name, const TypeLookupConstraints& constraints, Type*& _type) argument
440 HasType(GlobalTypeCache* cache, const BString& name, const TypeLookupConstraints& constraints) argument
[all...]
/haiku/src/libs/alm/
H A DSharedSolver.cpp24 const char* kConstraintsField = "SharedSolver:constraints";
219 add constraints created by areas and column manager to a set
220 add range constraints on the left/top/right/bottom tabs to the same set
262 const ConstraintList& constraints = fLinearSpec.Constraints(); local
263 for (int32 i = constraints.CountItems() - 1; i >= 0 && err == B_OK; i--) {
264 Constraint* constraint = constraints.ItemAt(i);
296 std::set<const Constraint*>& constraints)
299 constraints.insert(area->fMinContentWidth);
301 constraints.insert(area->fMaxContentWidth);
303 constraints
295 _AddConstraintsToSet(Area* area, std::set<const Constraint*>& constraints) argument
[all...]
/haiku/src/kits/interface/
H A DGroupLayout.cpp295 ColumnRowConstraints* constraints)
299 constraints->min = -1;
300 constraints->max = B_SIZE_UNLIMITED;
302 constraints->weight = data->weight;
304 constraints->weight = 1;
294 GetColumnRowConstraints(orientation orientation, int32 index, ColumnRowConstraints* constraints) argument
/haiku/src/servers/app/drawing/
H A DBitmapHWInterface.h43 constraints);
/haiku/src/add-ons/kernel/drivers/ports/pc_serial/
H A DDriver.cpp369 if (supported->constraints.maxports) {
370 maxPorts = supported->constraints.maxports;
373 if (supported->constraints.subsystem_id_mask) {
375 uint32 mask = supported->constraints.subsystem_id_mask;
405 if (supported->constraints.ignoremask & (1 << r)) {
415 if (reglen < supported->constraints.minsize)
417 if (reglen > supported->constraints.maxsize)
448 ioport += supported->constraints.split;

Completed in 171 milliseconds

123