Lines Matching refs:pattern
1347 * Given a pattern, this routine will look for this pattern in the fcode
1348 * file and if found will return the pattern value
1353 emulex_fcode_reader(int fcode_fd, char *pattern, char *pattern_value,
1396 plen = strlen(pattern);
1401 /* Search entire image for pattern string */
1415 /* Check byte for pattern match */
1416 if (pattern[n++] != byte2) {
1417 /* If no match, then reset pattern */
1421 * If complete pattern has been matched then
1436 /* Check byte for pattern match */
1437 if (pattern[n++] != byte1) {
1438 /* If no match, then reset pattern */
1442 * If complete pattern has been matched
1460 /* Search entire 32bit endian image for pattern string */
1474 /* Check byte for pattern match */
1475 if (pattern[n++] != byte4) {
1476 /* If no match, then reset pattern */
1480 * If complete pattern has been matched then exit loop
1493 /* Check byte for pattern match */
1494 if (pattern[n++] != byte3) {
1495 /* If no match, then reset pattern */
1499 * If complete pattern has been matched then exit loop
1512 /* Check byte for pattern match */
1513 if (pattern[n++] != byte2) {
1514 /* If no match, then reset pattern */
1518 * If complete pattern has been matched then exit loop
1531 /* Check byte for pattern match */
1532 if (pattern[n++] != byte1) {
1533 /* If no match, then reset pattern */
1537 * If complete pattern has been matched then exit loop