/third_party/nghttp2/src/ |
H A D | shrpx_router_test.cc | 53 Router router; in test_shrpx_router_match() local 56 router.add_route(p.pattern, p.idx); in test_shrpx_router_match() 61 idx = router.match(StringRef::from_lit("nghttp2.org"), in test_shrpx_router_match() 66 idx = router.match(StringRef::from_lit("nghttp2.org"), in test_shrpx_router_match() 71 idx = router.match(StringRef::from_lit("nghttp2.org"), in test_shrpx_router_match() 76 idx = router.match(StringRef::from_lit("nghttp2.org"), in test_shrpx_router_match() 81 idx = router.match(StringRef::from_lit("nghttp2.org"), in test_shrpx_router_match() 87 idx = router.match(StringRef::from_lit("nghttp2.org"), in test_shrpx_router_match() 92 idx = router.match(StringRef::from_lit("www2.nghttp2.org"), in test_shrpx_router_match() 97 idx = router in test_shrpx_router_match() 112 Router router; test_shrpx_router_match_wildcard() local 154 Router router; test_shrpx_router_match_prefix() local [all...] |
H A D | shrpx_worker_test.cc | 56 auto &router = routerconf.router; in test_shrpx_worker_match_downstream_addr_group() local 62 router.add_route(StringRef{g->pattern}, i); in test_shrpx_worker_match_downstream_addr_group() 206 wp.back().router.add_route(StringRef::from_lit("/echo/"), 10); in test_shrpx_worker_match_downstream_addr_group() 210 wp.back().router.add_route(StringRef::from_lit("/echo/"), 11); in test_shrpx_worker_match_downstream_addr_group() 211 wp.back().router.add_route(StringRef::from_lit("/echo/foxtrot"), 12); in test_shrpx_worker_match_downstream_addr_group() 215 wp.back().router.add_route(StringRef::from_lit("/"), 13); in test_shrpx_worker_match_downstream_addr_group()
|
H A D | shrpx_worker.cc | 1173 const auto &router = routerconf.router; in match_downstream_addr_group_host() local 1182 auto group = router.match(host, path); in match_downstream_addr_group_host() 1212 auto group = wc.router.match(StringRef{}, path); in match_downstream_addr_group_host() 1230 group = router.match(StringRef::from_lit(""), path); in match_downstream_addr_group_host()
|
H A D | shrpx_config.cc | 1220 auto &routerconf = downstreamconf.router; in parse_mapping() 1221 auto &router = routerconf.router; in parse_mapping() local 1378 auto &router = wildcard_patterns.back().router; in parse_mapping() local 1379 router.add_route(path, idx, path_is_wildcard); in parse_mapping() 1389 (*it).router.add_route(path, idx, path_is_wildcard); in parse_mapping() 1402 router.add_route(pattern, idx, path_is_wildcard); in parse_mapping() 4424 auto &routerconf = downstreamconf.router; in configure_downstream_group() 4425 auto &router in configure_downstream_group() local [all...] |
H A D | shrpx_config.h | 956 // field. router includes all path patterns sharing the same wildcard 964 Router router; member 969 Router router; member 970 // Router for reversed wildcard hosts. Since this router has 974 // The index stored in this router is index of wildcard_patterns. 1010 RouterConfig router; member
|
H A D | shrpx_client_handler.cc | 1026 auto &routerconf = downstreamconf.router; in get_downstream_connection()
|
/third_party/ltp/testcases/network/dhcp/ |
H A D | dnsmasq_tests.sh | 12 --dhcp-option=option:router --dhcp-option=option:dns-server
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/ |
H A D | UnitsTest.java | 691 UnitsRouter router = new UnitsRouter(testCase.inputUnit.second, testCase.locale, in testUnitPreferencesWithCLDRTests() 693 List<Measure> measures = router.route(testCase.input, null).complexConverterResult.measures; in testUnitPreferencesWithCLDRTests() 713 UnitsRouter router = new UnitsRouter(testCase.inputUnit.first, testCase.locale, testCase.usage); in testUnitPreferencesWithCLDRTests() 714 List<Measure> measures = router.route(testCase.input, null).complexConverterResult.measures; in testUnitPreferencesWithCLDRTests()
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | units_test.cpp | 955 UnitsRouter router(inputMeasureUnit, locale, usage, status); in unitPreferencesTestDataLineFn() 971 if (status.errIfFailureAndReset("Failure before router.route")) { in unitPreferencesTestDataLineFn() 974 RouteResult routeResult = router.route(inputAmount, nullptr, status); in unitPreferencesTestDataLineFn() 975 if (status.errIfFailureAndReset("router.route(inputAmount, ...)")) { in unitPreferencesTestDataLineFn()
|
/third_party/toybox/toys/pending/ |
H A D | dhcp.c | 211 {"router" , DHCP_IP | 0x03, NULL, 0}, 392 uint32_t mask, nip, router; in strtoopt() local 474 * router [4 bytes] in strtoopt() 487 if (striptovar(tp, (uint8_t*)&router) < 0) error_exit("malformed static route option"); in strtoopt() 493 memcpy(((uint8_t*)options_list[count].val)+options_list[count].len, &router, 4); in strtoopt()
|
H A D | dhcpd.c | 295 {"router" , DHCP_IP | 0x03, NULL, 0}, 545 uint32_t optcode = 0, inf = infomode, convtmp, mask, nip, router; in strtoopt() local 626 * router [4 bytes] in strtoopt() 639 if (striptovar(tp, (uint8_t*)&router)<0) error_exit("wrong formatted static route option"); in strtoopt() 645 memcpy(((uint8_t*)options_list[count].val)+options_list[count].len, &router, 4); in strtoopt()
|