Home
last modified time | relevance | path

Searched refs:num_backends (Results 1 – 4 of 4) sorted by relevance

/external/libcups/scheduler/
Dcups-deviced.c60 static int num_backends = 0, variable
295 if (poll(backend_fds, (nfds_t)num_backends, timeout) > 0) in main()
297 for (i = 0; i < num_backends; i ++) in main()
332 for (i = 0; i < num_backends; i ++) in main()
668 for (i = num_backends, backend = backends; i > 0; i --, backend ++) in process_children()
741 if (num_backends >= MAX_BACKENDS) in start_backend()
743 fprintf(stderr, "ERROR: Too many backends (%d)!\n", num_backends); in start_backend()
756 backend = backends + num_backends; in start_backend()
776 backend_fds[num_backends].fd = cupsFileNumber(backend->pipe); in start_backend()
777 backend_fds[num_backends].events = POLLIN; in start_backend()
[all …]
/external/grpc-grpc/test/cpp/end2end/
Dchannelz_service_test.cc103 void ConfigureProxy(size_t num_backends) { in ConfigureProxy() argument
104 backends_.resize(num_backends); in ConfigureProxy()
105 for (size_t i = 0; i < num_backends; ++i) { in ConfigureProxy()
Dgrpclb_end2end_test.cc347 GrpclbEnd2endTest(int num_backends, int num_balancers, in GrpclbEnd2endTest() argument
350 num_backends_(num_backends), in GrpclbEnd2endTest()
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/
Dgrpclb.cc373 size_t num_backends = 0; in ExtractBackendAddresses() local
376 ++num_backends; in ExtractBackendAddresses()
381 grpc_lb_addresses_create(num_backends, &lb_token_vtable); in ExtractBackendAddresses()