Lines Matching refs:strncmp

585 	return strncmp(s1, s2, strlen(s1));  in strcmp_l1()
723 } else if (!strncmp(PARTITION_TYPE_STRINGS, cmd, in fb_read_var()
732 } else if (!strncmp("partition-size", cmd, 14)) { in fb_read_var()
1444 if (strncmp("_a", cmd, 2) == 0) { in get_current_slot()
1446 } else if (strncmp("_b", cmd, 2) == 0) { in get_current_slot()
1522 (strncmp(cmd, str_read_all, len) == 0)) { in cb_getvar()
1766 if (strncmp("a", cmd, 1) == 0) { in cb_set_active()
1769 } else if (strncmp("b", cmd, 1) == 0) { in cb_set_active()
1842 if (strncmp("lock", cmd + 9, 4) == 0) { in cb_flashing()
1854 } else if (strncmp("unlock", cmd + 9, 6) == 0) { in cb_flashing()
1866 } else if (strncmp("lock_critical", cmd + 9, 12) == 0) { in cb_flashing()
1868 } else if (strncmp("unlock_critical", cmd + 9, 14) == 0) { in cb_flashing()
1870 } else if (strncmp("get_unlock_ability", cmd + 9, 17) == 0) { in cb_flashing()
1872 } else if (strncmp("get_unlock_bootloader_nonce", cmd + 4, 27) == 0) { in cb_flashing()
1874 } else if (strncmp("unlock_bootloader", cmd + 9, 17) == 0) { in cb_flashing()
1876 } else if (strncmp("lock_bootloader", cmd + 9, 15) == 0) { in cb_flashing()
2013 if (strncmp("format", cmd + 4, 6) == 0) { in cb_oem()
2035 if (strncmp("unlock", cmd + 4, 8) == 0) { in cb_oem()
2067 } else if (strncmp("unlock_accept", cmd + 4, 13) == 0) { in cb_oem()
2076 if (unlock == NULL || strncmp("unlock", unlock, 6) != 0) { in cb_oem()
2124 } else if (strncmp("lock", cmd + 4, 8) == 0) { in cb_oem()
2151 } else if (strncmp("at-get-ca-request", cmd + 4, 17) == 0) { in cb_oem()
2171 } else if (strncmp("at-set-ca-response", cmd + 4, 18) == 0) { in cb_oem()
2186 } else if (strncmp("at-get-vboot-unlock-challenge", cmd + 4, 29) == 0) { in cb_oem()
2202 } else if (strncmp("at-lock-vboot", cmd + 4, 13) == 0) { in cb_oem()
2213 } else if (strncmp("at-unlock-vboot", cmd + 4, 15) == 0) { in cb_oem()
2244 } else if (strncmp("fuse at-perm-attr", cmd + 4, 16) == 0) { in cb_oem()
2246 } else if (strncmp("fuse at-rsa-perm-attr", cmd + 4, 25) == 0) { in cb_oem()
2248 } else if (strncmp("fuse at-bootloader-vboot-key", cmd + 4, 27) == 0) { in cb_oem()
2273 } else if (strncmp("init-ab-metadata", cmd + 4, 16) == 0) { in cb_oem()