• Home
  • Raw
  • Download

Lines Matching full:variables

47 // Variables is an interface to a collection of named values.
48 class Variables class
51 using ID = dbg::ID<Variables>;
56 inline Variables();
57 virtual ~Variables();
59 // foreach() calls cb with each of the variables in the container, while cb
64 // foreach() calls cb with each of the variables in the container within the
72 // string() returns the list of variables formatted to a string using the
76 // The unique identifier of the variables.
83 Variables::Variables() in Variables() function in vk::dbg::Variables
87 void Variables::foreach(const ForeachCallback &cb) in foreach()
93 class VariableContainer : public Variables
107 // extend() adds base to the list of Variables that will be searched and
108 // traversed for variables after those in this VariableContainer are
110 inline void extend(const std::shared_ptr<Variables> &base);
123 std::vector<Variable> variables GUARDED_BY(mutex);
125 std::vector<std::shared_ptr<Variables>> extends GUARDED_BY(mutex);
138 for(size_t i = index.start; i < variables.size() && i < index.count; i++) in foreach()
140 if(!cb(variables[i])) in foreach()
146 index.start -= std::min(index.start, variables.size()); in foreach()
147 index.count -= std::min(index.count, variables.size()); in foreach()
158 for(const auto &var : variables) in get()
183 indices.emplace(var.name, variables.size()); in put()
184 variables.push_back(var); in put()
188 variables[it->second].value = var.value; in put()
198 void VariableContainer::extend(const std::shared_ptr<Variables> &base) in extend()