Lines Matching refs:pos

655                 char *pos;
657 pos = strchr(line, '\n');
658 if (pos != NULL) {
659 pos[0] = '\0';
660 pos = &pos[1];
663 line = pos;
693 char *pos;
699 pos = strstr(dirname, "/*/");
700 if (pos == NULL)
702 pos[0] = '\0';
703 tail = &pos[2];
817 char *pos;
823 pos = strchr(attr, '}');
824 if (pos == NULL) {
828 pos[0] = '\0';
1487 const char *pos;
1494 pos = strstr(value, "link_priority=");
1495 if (pos != NULL) {
1496 int prio = atoi(&pos[strlen("link_priority=")]);
1501 pos = strstr(value, "string_escape=");
1502 if (pos != NULL) {
1503 pos = &pos[strlen("string_escape=")];
1504 if (startswith(pos, "none"))
1506 else if (startswith(pos, "replace"))
1510 pos = strstr(value, "db_persist");
1511 if (pos != NULL)
1514 pos = strstr(value, "nowatch");
1515 if (pos != NULL) {
1520 pos = strstr(value, "watch");
1521 if (pos != NULL) {
1528 pos = strstr(value, "static_node=");
1529 if (pos != NULL) {
1530 rule_add_key(&rule_tmp, TK_A_STATIC_NODE, op, &pos[strlen("static_node=")], NULL);
1727 char *pos;
1772 pos = strchr(key_value, '|');
1773 if (pos != NULL) {
1774 pos[0] = '\0';
1775 pos = &pos[1];
1780 key_value = pos;
2180 char *pos;
2182 pos = strstr(cmdline, key);
2183 if (pos != NULL) {
2184 pos += strlen(key);
2185 if (pos[0] == '\0' || isspace(pos[0])) {
2189 } else if (pos[0] == '=') {
2192 pos++;
2193 value = pos;
2194 while (pos[0] != '\0' && !isspace(pos[0]))
2195 pos++;
2196 pos[0] = '\0';
2447 char *pos, *next;
2467 pos = temp;
2468 while (isspace(pos[0]))
2469 pos++;
2470 next = strchr(pos, ' ');
2473 log_debug("LINK '%s' %s:%u", pos,
2475 strscpyl(filename, sizeof(filename), "/dev/", pos, NULL);
2479 pos = &next[1];
2480 next = strchr(pos, ' ');
2482 if (pos[0] != '\0') {
2483 log_debug("LINK '%s' %s:%u", pos,
2485 strscpyl(filename, sizeof(filename), "/dev/", pos, NULL);