/haiku/src/system/kernel/debug/ |
H A D | debug_variables.cpp | 85 dequeue_temporary_variable(TemporaryVariable* variable) in dequeue_temporary_variable() argument 88 if (variable->queued) { in dequeue_temporary_variable() 89 sTemporaryVariablesLRUQueue.Remove(variable); in dequeue_temporary_variable() 90 variable->queued = false; in dequeue_temporary_variable() 96 unset_variable(Variable* variable) in unset_variable() argument 98 if (is_temporary_variable(variable->name)) in unset_variable() 99 dequeue_temporary_variable(static_cast<TemporaryVariable*>(variable)); in unset_variable() 101 variable->Uninit(); in unset_variable() 111 TemporaryVariable* variable = static_cast<TemporaryVariable*>(_variable); in touch_variable() local 114 dequeue_temporary_variable(variable); in touch_variable() [all …]
|
/haiku/src/kits/debugger/model/ |
H A D | StackFrameValues.cpp | 16 ObjectID* variable; member 19 Key(ObjectID* variable, TypeComponentPath* path) in Key() 21 variable(variable), in Key() 28 return variable->HashValue() ^ path->HashValue(); in HashValue() 33 return *variable == *other.variable && *path == *other.path; in operator ==() 42 ValueEntry(ObjectID* variable, TypeComponentPath* path) in ValueEntry() 44 Key(variable, path) in ValueEntry() 46 variable->AcquireReference(); in ValueEntry() 52 variable->ReleaseReference(); in ~ValueEntry() 103 if (SetValue(entry->variable, entry->path, entry->value) != B_OK) in StackFrameValues() [all …]
|
H A D | StackFrameValueInfos.cpp | 18 ObjectID* variable; member 21 Key(ObjectID* variable, TypeComponentPath* path) in Key() 23 variable(variable), in Key() 30 return variable->HashValue() ^ path->HashValue(); in HashValue() 35 return *variable == *other.variable && *path == *other.path; in operator ==() 45 InfoEntry(ObjectID* variable, TypeComponentPath* path) in InfoEntry() 47 Key(variable, path), in InfoEntry() 51 variable->AcquireReference(); in InfoEntry() 58 variable->ReleaseReference(); in ~InfoEntry() 132 StackFrameValueInfos::GetInfo(ObjectID* variable, in GetInfo() argument [all …]
|
H A D | StackFrame.cpp | 45 for (int32 i = 0; Variable* variable = fParameters.ItemAt(i); i++) in ~StackFrame() 46 variable->ReleaseReference(); in ~StackFrame() 48 for (int32 i = 0; Variable* variable = fLocalVariables.ItemAt(i); i++) in ~StackFrame() 49 variable->ReleaseReference(); in ~StackFrame() 176 StackFrame::AddLocalVariable(Variable* variable) in AddLocalVariable() argument 178 if (!fLocalVariables.AddItem(variable)) in AddLocalVariable() 181 variable->AcquireReference(); in AddLocalVariable() 201 StackFrame::NotifyValueRetrieved(Variable* variable, TypeComponentPath* path) in NotifyValueRetrieved() argument 205 listener->StackFrameValueRetrieved(this, variable, path); in NotifyValueRetrieved() 220 Variable* variable, TypeComponentPath* path) in StackFrameValueRetrieved() argument
|
/haiku/src/system/kernel/ |
H A D | condition_variable.cpp | 37 size_t Hash(ConditionVariable* variable) const in Hash() 38 { return (size_t)variable->fObject; } in Hash() 39 bool Compare(const void* key, ConditionVariable* variable) const in Compare() 40 { return key == variable->fObject; } in Compare() 41 ConditionVariable*& GetLink(ConditionVariable* variable) const in GetLink() 42 { return variable->fNext; } in GetLink() 76 ConditionVariable* variable = sConditionVariableHash.Lookup(object); in Add() local 78 if (variable == NULL) { in Add() 83 SpinLocker variableLocker(variable->fLock); in Add() 86 _AddToLockedVariable(variable); in Add() [all …]
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | condvar.cpp | 19 cv_init(struct cv* variable, const char* description) in cv_init() argument 21 __cv_ConditionVariable(variable)->Init(NULL, description); in cv_init() 26 cv_destroy(struct cv* variable) in cv_destroy() argument 28 __cv_ConditionVariable(variable)->NotifyAll(); in cv_destroy() 35 cv_signal(struct cv* variable) in cv_signal() argument 37 __cv_ConditionVariable(variable)->NotifyOne(); in cv_signal() 42 cv_timedwait(struct cv* variable, struct mtx* mutex, int timeout) in cv_timedwait() argument 44 ConditionVariable* condition = __cv_ConditionVariable(variable); in cv_timedwait() 70 cv_wait(struct cv* variable, struct mtx* mutex) in cv_wait() argument 72 cv_timedwait(variable, mutex, 0); in cv_wait()
|
/haiku/headers/private/debugger/model/ |
H A D | StackFrameValues.h | 27 bool GetValue(ObjectID* variable, 30 inline bool GetValue(ObjectID* variable, 33 bool HasValue(ObjectID* variable, 35 inline bool HasValue(ObjectID* variable, 37 status_t SetValue(ObjectID* variable, 59 StackFrameValues::GetValue(ObjectID* variable, const TypeComponentPath& path, in GetValue() argument 62 return GetValue(variable, &path, _value); in GetValue() 67 StackFrameValues::HasValue(ObjectID* variable, const TypeComponentPath& path) in HasValue() argument 70 return HasValue(variable, &path); in HasValue()
|
H A D | StackFrameValueInfos.h | 27 bool GetInfo(ObjectID* variable, 32 inline bool GetInfo(ObjectID* variable, 37 bool HasInfo(ObjectID* variable, 39 inline bool HasInfo(ObjectID* variable, 41 status_t SetInfo(ObjectID* variable, 63 StackFrameValueInfos::GetInfo(ObjectID* variable, const TypeComponentPath& path, in GetInfo() argument 66 return GetInfo(variable, &path, _type, _location); in GetInfo() 71 StackFrameValueInfos::HasInfo(ObjectID* variable, const TypeComponentPath& path) in HasInfo() argument 74 return HasInfo(variable, &path); in HasInfo()
|
H A D | StackFrame.h | 77 bool AddLocalVariable(Variable* variable); 86 void NotifyValueRetrieved(Variable* variable, 116 Variable* variable,
|
/haiku/src/apps/debugger/user_interface/gui/model/ |
H A D | VariablesViewState.cpp | 109 ObjectID* variable; member 112 Key(ObjectID* variable, TypeComponentPath* path) in Key() 114 variable(variable), in Key() 121 return variable->HashValue() ^ path->HashValue(); in HashValue() 126 return *variable == *other.variable && *path == *other.path; in operator ==() 137 InfoEntry(ObjectID* variable, TypeComponentPath* path) in InfoEntry() 139 Key(variable, path) in InfoEntry() 141 variable->AcquireReference(); in InfoEntry() 147 variable->ReleaseReference(); in ~InfoEntry() 242 VariablesViewState::GetNodeInfo(ObjectID* variable, in GetNodeInfo() argument [all …]
|
H A D | VariablesViewState.h | 74 const VariablesViewNodeInfo* GetNodeInfo(ObjectID* variable, 76 inline const VariablesViewNodeInfo* GetNodeInfo(ObjectID* variable, 79 status_t SetNodeInfo(ObjectID* variable, 102 VariablesViewState::GetNodeInfo(ObjectID* variable, in GetNodeInfo() argument 105 return GetNodeInfo(variable, &path); in GetNodeInfo()
|
/haiku/src/libs/linprog/ |
H A D | LinearSpec.cpp | 64 SpecificationListener::VariableAdded(Variable* variable) in VariableAdded() argument 70 SpecificationListener::VariableRemoved(Variable* variable) in VariableRemoved() argument 138 Variable* variable = new(std::nothrow) Variable(this); in AddVariable() local 139 if (!variable) in AddVariable() 141 if (!AddVariable(variable)) { in AddVariable() 142 delete variable; in AddVariable() 146 return variable; in AddVariable() 151 LinearSpec::AddVariable(Variable* variable) in AddVariable() argument 153 if (variable->IsValid()) in AddVariable() 156 if (!fVariables.AddItem(variable)) in AddVariable() [all …]
|
H A D | ActiveSetSolver.cpp | 414 Variable* variable = fLinearSpec->AddVariable(); in SoftInequalityAdder() local 415 variable->SetRange(0, 20000); in SoftInequalityAdder() 417 Constraint* helperConst = fLinearSpec->AddConstraint(1, variable, in SoftInequalityAdder() 430 new Summand(coeff, variable)); in SoftInequalityAdder() 529 ActiveSetSolver::VariableAdded(Variable* variable) in VariableAdded() argument 544 ActiveSetSolver::VariableRemoved(Variable* variable) in VariableRemoved() argument 546 fVariableGEConstraints.RemoveItemAt(variable->GlobalIndex()); in VariableRemoved() 547 fVariableLEConstraints.RemoveItemAt(variable->GlobalIndex()); in VariableRemoved() 553 ActiveSetSolver::VariableRangeChanged(Variable* variable) in VariableRangeChanged() argument 555 double min = variable->Min(); in VariableRangeChanged() [all …]
|
H A D | ActiveSetSolver.h | 64 bool VariableAdded(Variable* variable); 65 bool VariableRemoved(Variable* variable); 66 bool VariableRangeChanged(Variable* variable);
|
/haiku/build/jam/ |
H A D | ConfigRules | 3 # Contains rules providing the config variable feature. It allows to set the 18 # TOP variable and the subdir tokens. 29 # Sets a config variable for a specified directory to the given value. 31 # <var>: The name of the variable to be set. 33 # TOP variable and the subdir tokens. 34 # <value>: The value to which the variable shall be set. 35 # <scope>: Either "global" or "local". The former implies that the variable 37 # for them the variable has not been set. The latter has the same 38 # effect regarding subdirs as if the variable for the directory 64 # Appends a value to a config variable for a specified directory. Shortcut [all …]
|
/haiku/headers/libs/linprog/ |
H A D | LinearSpec.h | 41 virtual bool VariableAdded(Variable* variable) = 0; 42 virtual bool VariableRemoved(Variable* variable) = 0; 43 virtual bool VariableRangeChanged(Variable* variable) = 0; 75 virtual void VariableAdded(Variable* variable); 76 virtual void VariableRemoved(Variable* variable); 95 bool AddVariable(Variable* variable); 96 bool RemoveVariable(Variable* variable, 98 int32 IndexOf(const Variable* variable) const; 99 int32 GlobalIndexOf(const Variable* variable) const; 100 bool UpdateRange(Variable* variable);
|
/haiku/src/servers/launch/ |
H A D | BaseJob.cpp | 153 BString variable = name; in SetEnvironment() local 154 variable << "="; in SetEnvironment() 160 variable << " "; in SetEnvironment() 161 variable += argument; in SetEnvironment() 164 fEnvironment.Add(variable); in SetEnvironment() 269 BString variable; in _ParseExportVariable() local 270 line.CopyInto(variable, 7, separator - 7); in _ParseExportVariable() 275 variable << "=" << value; in _ParseExportVariable() 276 environment.Add(variable); in _ParseExportVariable()
|
/haiku/src/bin/package/ |
H A D | command_info.cpp | 92 BString variable(start, format - start); in command_info() local 93 if (variable == "fileName") { in command_info() 95 } else if (variable == "name") { in command_info() 97 } else if (variable == "version") { in command_info() 101 "in format string.\n", variable.String()); in command_info()
|
/haiku/src/tests/add-ons/kernel/kernelland_emu/ |
H A D | condition_variable.cpp | 40 size_t Hash(ConditionVariable* variable) const in Hash() 41 { return (size_t)variable->fObject; } in Hash() 42 bool Compare(const void* key, ConditionVariable* variable) const in Compare() 43 { return key == variable->fObject; } in Compare() 44 ConditionVariable*& GetLink(ConditionVariable* variable) const in GetLink() 45 { return variable->fNext; } in GetLink() 127 ConditionVariableEntry::_AddToLockedVariable(ConditionVariable* variable) in _AddToLockedVariable() argument 130 fVariable = variable; in _AddToLockedVariable()
|
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | cache.c | 263 current->variable = ntfs_malloc( in ntfs_enter_cache() 266 current->variable = (void*)NULL; in ntfs_enter_cache() 283 current->variable = realloc( in ntfs_enter_cache() 284 current->variable, in ntfs_enter_cache() 287 current->variable = ntfs_malloc( in ntfs_enter_cache() 291 free(current->variable); in ntfs_enter_cache() 292 current->variable = (void*)NULL; in ntfs_enter_cache() 303 if (current->variable) { in ntfs_enter_cache() 304 memcpy(current->variable, in ntfs_enter_cache() 305 item->variable, item->varsize); in ntfs_enter_cache() [all …]
|
/haiku/src/bin/pc/ |
H A D | pc.c | 152 typedef struct variable struct 156 struct variable *next; argument 157 }variable; typedef 159 variable dummy = { NULL, 0L, NULL }; 160 variable *vars=&dummy; 162 variable *lookup_var(char *name); 163 variable *add_var(char *name, ULONG value); 336 variable *v; in assignment_expr() 385 variable *v; in do_assignment_operator() 765 variable *v; in factor() [all …]
|
/haiku/src/kits/debugger/debug_managers/ |
H A D | ValueNodeManager.cpp | 74 for (int32 i = 0; Variable* variable = fStackFrame->ParameterAt(i); in SetStackFrame() 76 _AddNode(variable); in SetStackFrame() 79 for (int32 i = 0; Variable* variable in SetStackFrame() 81 _AddNode(variable); in SetStackFrame() 174 ValueNodeManager::_AddNode(Variable* variable) in _AddNode() argument 178 variable); in _AddNode()
|
/haiku/src/kits/debugger/value/value_nodes/ |
H A D | VariableValueNodeChild.cpp | 13 VariableValueNodeChild::VariableValueNodeChild(Variable* variable) in VariableValueNodeChild() argument 15 fVariable(variable) in VariableValueNodeChild()
|
/haiku/src/system/kernel/posix/ |
H A D | xsi_message_queue.cpp | 258 size_t Hash(XsiMessageQueue *variable) const in Hash() 260 return (size_t)variable->ID(); in Hash() 263 bool Compare(const int key, XsiMessageQueue *variable) const in Compare() 265 return (int)key == (int)variable->ID(); in Compare() 268 XsiMessageQueue*& GetLink(XsiMessageQueue *variable) const in GetLink() 270 return variable->Link(); in GetLink() 320 size_t Hash(Ipc *variable) const in Hash() 322 return (size_t)HashKey(variable->Key()); in Hash() 325 bool Compare(const key_t key, Ipc *variable) const in Compare() 327 return (key_t)key == (key_t)variable->Key(); in Compare() [all …]
|
/haiku/src/kits/debugger/debug_info/ |
H A D | DwarfStackFrameDebugInfo.cpp | 303 Variable* variable = new(std::nothrow) Variable(id, name, in CreateReturnValue() local 305 if (variable == NULL) in CreateReturnValue() 308 _variable = variable; in CreateReturnValue() 346 Variable* variable = new(std::nothrow) Variable(id, name, type, location); in _CreateVariable() local 347 if (variable == NULL) in _CreateVariable() 350 _variable = variable; in _CreateVariable()
|