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.cpp654 const std::string& product, bool invert, in CheckRequirement() argument
687 if (invert) { in CheckRequirement()
699 fprintf(stderr, "Update %s '%s'", invert ? "rejects" : "requires", options[0].c_str()); in CheckRequirement()
708 bool* invert, std::vector<std::string>* options) { in ParseRequirementLine() argument
714 *invert = false; in ParseRequirementLine()
722 *invert = Trim(match_results[1]) == "reject"; in ParseRequirementLine()
782 bool invert; in CheckRequirements() local
785 if (!ParseRequirementLine(line, &name, &product, &invert, &options)) { in CheckRequirements()
792 CheckRequirement(cur_product, name, product, invert, options); in CheckRequirements()
Dfastboot_driver.h118 bool invert = false);