Lines Matching refs:pos
33 char *pos, *end, *sstart; in ini_get_line() local
37 pos = s; in ini_get_line()
40 while (*pos == ' ' || *pos == '\t' || *pos == '\r') { in ini_get_line()
41 pos++; in ini_get_line()
45 if (*pos == '#' || *pos == '\n' || *pos == '\0') { in ini_get_line()
53 sstart = strchr(pos, '"'); in ini_get_line()
58 sstart = pos; in ini_get_line()
64 end = pos + strlen(pos) - 1; in ini_get_line()
68 while (end > pos && in ini_get_line()
74 if (*pos == '\0') { in ini_get_line()
81 *_pos = pos; in ini_get_line()
83 return pos; in ini_get_line()
95 char *pos = line; in split_line() local
97 *value = strchr(pos, '='); in split_line()
1049 char buf[1024], *pos; in ini_get_arch() local
1053 while (ini_get_line(buf, sizeof(buf), f, &line, &pos)) { in ini_get_arch()
1054 if (strncmp("TCXO_Clk", pos, 8) == 0) { in ini_get_arch()
1084 char buf[1024], *pos; in read_ini() local
1102 while (ini_get_line(buf, sizeof(buf), f, &line, &pos)) { in read_ini()
1103 ret = ini_parse_line(pos, line, cmn); in read_ini()