Lines Matching refs:res

1179             int res;  in parseVersions()
1187 res = output.IndexOf("software:"); in parseVersions()
1188 if (res < 0) in parseVersions()
1192 end = output.IndexOf('\n', res += 9); in parseVersions()
1197 sw_ver_str = output.Substring(res, end - res); in parseVersions()
1207 res = output.IndexOf("firmware:"); in parseVersions()
1208 if (res < 0) in parseVersions()
1212 end = output.IndexOf('\n', res += 9); in parseVersions()
1217 fw_ver_str = output.Substring(res, end - res); in parseVersions()
1245 res = output.IndexOf("sdk:"); in parseVersions()
1246 if (res < 0) in parseVersions()
1250 end = output.IndexOf('\n', res += 4); in parseVersions()
1256 string[] sdk = output.Substring(res, end - res).Split(delims); in parseVersions()
1312 int res = 0; in hoststop()
1337 res = checkbridgename.CheckName(ref output); in hoststop()
1338 if (res != 0) in hoststop()
1341 res = output.IndexOf("ERROR :"); in hoststop()
1342 if (res < 0) in hoststop()
1349 int end = output.IndexOf('\n', res); in hoststop()
1352 output = output.Substring(res); in hoststop()
1356 output = output.Substring(res, end - res); in hoststop()
1374 res = output.IndexOf("oldhost:"); in hoststop()
1375 if (res < 0) in hoststop()
1379 int end = output.IndexOf("\n", res += 8); in hoststop()
1384 string old = output.Substring(res, (end - 1) - res); in hoststop()
1385 res = output.IndexOf("curhost:"); in hoststop()
1386 if (res < 0) in hoststop()
1390 end = output.IndexOf("\n", res += 8); in hoststop()
1395 string host = output.Substring(res, (end - 1) - res); in hoststop()
1410 res = output.IndexOf("INFO: Display info "); in hoststop()
1411 if (res >= 0) in hoststop()
1414 if (output[res + 19] != '(') in hoststop()
1418 int end = output.IndexOf(')', res += 20); in hoststop()
1425 …ROR err = parseVersions(output, checkMionVersion, int.Parse(output.Substring(res, end - res)) > 1); in hoststop()