Home
last modified time | relevance | path

Searched refs:invert (Results 1 – 3 of 3) sorted by relevance

/system/core/fastboot/
Dfastboot_test.cpp64 bool* invert, std::vector<std::string>* options);
71 bool invert; in ParseRequirementLineTest() local
74 EXPECT_TRUE(ParseRequirementLine(line, &name, &product, &invert, &options)) << line; in ParseRequirementLineTest()
78 EXPECT_EQ(expected_invert, invert) << line; in ParseRequirementLineTest()
176 bool invert; in ParseRequirementLineTestMalformed() local
179 EXPECT_FALSE(ParseRequirementLine(line, &name, &product, &invert, &options)) << line; in ParseRequirementLineTestMalformed()
Dfastboot.cpp643 const std::string& product, bool invert, in CheckRequirement() argument
676 if (invert) { in CheckRequirement()
688 fprintf(stderr, "Update %s '%s'", invert ? "rejects" : "requires", options[0].c_str()); in CheckRequirement()
697 bool* invert, std::vector<std::string>* options) { in ParseRequirementLine() argument
703 *invert = false; in ParseRequirementLine()
711 *invert = Trim(match_results[1]) == "reject"; in ParseRequirementLine()
771 bool invert; in CheckRequirements() local
774 if (!ParseRequirementLine(line, &name, &product, &invert, &options)) { in CheckRequirements()
781 CheckRequirement(cur_product, name, product, invert, options); in CheckRequirements()
Dfastboot_driver.h116 bool invert = false);