Lines Matching refs:num_services
64 int num_services = SVCCTL_NUM_INTERNAL_SERVICES + str_list_length( service_list );
67 if ( !(svcctl_ops = TALLOC_ARRAY( NULL, struct service_control_op, num_services+1)) ) {
384 int num_services = 0;
390 while ( svcctl_ops[num_services].name )
391 num_services++;
393 if ( !(st = TALLOC_ARRAY( ctx, struct ENUM_SERVICE_STATUSW, num_services )) ) {
398 for ( i=0; i<num_services; i++ ) {
409 return num_services;
420 int num_services;
437 num_services = enumerate_status( p->mem_ctx, &services, token );
438 if (num_services == -1 ) {
442 for ( i=0; i<num_services; i++ ) {
449 num_services = 0;
464 ndr, num_services, services);
473 *r->out.services_returned = (uint32)num_services;