Home
last modified time | relevance | path

Searched refs:attributeOperator (Results 1 – 2 of 2) sorted by relevance

/third_party/gptfdisk/
Dattributes.cc146 bool Attributes::OperateOnAttributes(const uint32_t partNum, const string& attributeOperator, const… in OperateOnAttributes() argument
157 if (attributeOperator == "or") attributeOpcode = ao_or; in OperateOnAttributes()
158 else if (attributeOperator == "nand") attributeOpcode = ao_nand; in OperateOnAttributes()
159 else if (attributeOperator == "xor") attributeOpcode = ao_xor; in OperateOnAttributes()
160 else if (attributeOperator == "=") attributeOpcode = ao_assignall; in OperateOnAttributes()
161 else if (attributeOperator == "set") attributeOpcode = ao_set; in OperateOnAttributes()
162 else if (attributeOperator == "clear") attributeOpcode = ao_clear; in OperateOnAttributes()
163 else if (attributeOperator == "toggle") attributeOpcode = ao_toggle; in OperateOnAttributes()
164 else if (attributeOperator == "get") attributeOpcode = ao_get; in OperateOnAttributes()
166 cerr << "Unknown attributes operator: " << attributeOperator << endl; in OperateOnAttributes()
Dattributes.h31 …bool OperateOnAttributes(const uint32_t partNum, const std::string& attributeOperator, const std::…