Lines Matching defs:pos
242 int i, j, pos, state, port_dlen, new_dlen, delta;
259 pos = search_string(data, dlen, transport_str);
260 if (pos < 0) {
263 port_data = data + pos;
264 port_dlen = dlen - pos;
266 memcpy(newdata, data, pos);
267 port_newdata = newdata + pos;
271 pos = search_string(port_data, port_dlen, port_str);
272 if (pos < 0) {
275 memcpy(port_newdata, port_data, pos + 1);
276 port_newdata += (pos + 1);
281 for (i = pos; i < port_dlen; i++) {