Lines Matching refs:res

1143             int res;  in parseVersions()
1151 res = output.IndexOf("software:"); in parseVersions()
1152 if (res < 0) in parseVersions()
1156 end = output.IndexOf('\n', res += 9); in parseVersions()
1161 sw_ver_str = output.Substring(res, end - res); in parseVersions()
1171 res = output.IndexOf("firmware:"); in parseVersions()
1172 if (res < 0) in parseVersions()
1176 end = output.IndexOf('\n', res += 9); in parseVersions()
1181 fw_ver_str = output.Substring(res, end - res); in parseVersions()
1209 res = output.IndexOf("sdk:"); in parseVersions()
1210 if (res < 0) in parseVersions()
1214 end = output.IndexOf('\n', res += 4); in parseVersions()
1220 string[] sdk = output.Substring(res, end - res).Split(delims); in parseVersions()
1275 int res = 0; in hoststop()
1300 res = checkbridgename.CheckName(ref output); in hoststop()
1301 if (res != 0) in hoststop()
1304 res = output.IndexOf("ERROR :"); in hoststop()
1305 if (res < 0) in hoststop()
1312 int end = output.IndexOf('\n', res); in hoststop()
1315 output = output.Substring(res); in hoststop()
1319 output = output.Substring(res, end - res); in hoststop()
1337 res = output.IndexOf("oldhost:"); in hoststop()
1338 if (res < 0) in hoststop()
1342 int end = output.IndexOf("\n", res += 8); in hoststop()
1347 string old = output.Substring(res, (end - 1) - res); in hoststop()
1348 res = output.IndexOf("curhost:"); in hoststop()
1349 if (res < 0) in hoststop()
1353 end = output.IndexOf("\n", res += 8); in hoststop()
1358 string host = output.Substring(res, (end - 1) - res); in hoststop()
1373 res = output.IndexOf("INFO: Display info "); in hoststop()
1374 if (res >= 0) in hoststop()
1377 if (output[res + 19] != '(') in hoststop()
1381 int end = output.IndexOf(')', res += 20); in hoststop()
1388 …ROR err = parseVersions(output, checkMionVersion, int.Parse(output.Substring(res, end - res)) > 1); in hoststop()