Lines Matching refs:pos
22 const char* pos = src;
30 if (isspace((int)(*pos)))
33 unsigned long value = strtoul(pos, &end_pos, 10);
34 if (value > 255 || pos == end_pos)
37 pos = end_pos;
40 if (*pos != '.')
42 ++pos;
45 if (*pos != '\0')
55 const char* pos = src;
56 while (*pos != '\0') {
57 if (*pos == 'x')
59 pos++;
61 pos = src;
68 if (*pos == ':') {
69 if (*(pos + 1) != ':')
71 pos += 2;
75 while (*pos != '\0') {
79 if (isspace((int)(*pos)))
82 unsigned long word = strtoul(pos, &end_pos, 16);
83 if (word > 0xffff || pos == end_pos)
90 if (!inet_pton_v4(pos, result + result_pos))
108 pos = end_pos + 1;
109 if (*pos == ':') {
113 ++pos;