app_context 431 orte/runtime/data_type_support/orte_dt_packing_fns.c orte_app_context_t **app_context; app_context 435 orte/runtime/data_type_support/orte_dt_packing_fns.c app_context = (orte_app_context_t**) src; app_context 440 orte/runtime/data_type_support/orte_dt_packing_fns.c (void*)(&(app_context[i]->idx)), 1, ORTE_STD_CNTR))) { app_context 447 orte/runtime/data_type_support/orte_dt_packing_fns.c (void*)(&(app_context[i]->app)), 1, OPAL_STRING))) { app_context 454 orte/runtime/data_type_support/orte_dt_packing_fns.c (void*)(&(app_context[i]->num_procs)), 1, ORTE_STD_CNTR))) { app_context 461 orte/runtime/data_type_support/orte_dt_packing_fns.c (void*)(&(app_context[i]->first_rank)), 1, ORTE_VPID))) { app_context 467 orte/runtime/data_type_support/orte_dt_packing_fns.c count = opal_argv_count(app_context[i]->argv); app_context 476 orte/runtime/data_type_support/orte_dt_packing_fns.c (void*)(app_context[i]->argv), count, OPAL_STRING))) { app_context 483 orte/runtime/data_type_support/orte_dt_packing_fns.c count = opal_argv_count(app_context[i]->env); app_context 492 orte/runtime/data_type_support/orte_dt_packing_fns.c (void*)(app_context[i]->env), count, OPAL_STRING))) { app_context 500 orte/runtime/data_type_support/orte_dt_packing_fns.c (void*)(&(app_context[i]->cwd)), 1, OPAL_STRING))) { app_context 507 orte/runtime/data_type_support/orte_dt_packing_fns.c OPAL_LIST_FOREACH(kv, &app_context[i]->attributes, orte_attribute_t) { app_context 516 orte/runtime/data_type_support/orte_dt_packing_fns.c OPAL_LIST_FOREACH(kv, &app_context[i]->attributes, orte_attribute_t) { app_context 455 orte/runtime/data_type_support/orte_dt_unpacking_fns.c orte_app_context_t **app_context; app_context 460 orte/runtime/data_type_support/orte_dt_unpacking_fns.c app_context = (orte_app_context_t**) dest; app_context 464 orte/runtime/data_type_support/orte_dt_unpacking_fns.c app_context[i] = OBJ_NEW(orte_app_context_t); app_context 465 orte/runtime/data_type_support/orte_dt_unpacking_fns.c if (NULL == app_context[i]) { app_context 472 orte/runtime/data_type_support/orte_dt_unpacking_fns.c if (ORTE_SUCCESS != (rc = opal_dss_unpack_buffer(buffer, &(app_context[i]->idx), app_context 480 orte/runtime/data_type_support/orte_dt_unpacking_fns.c if (ORTE_SUCCESS != (rc = opal_dss_unpack_buffer(buffer, &(app_context[i]->app), app_context 488 orte/runtime/data_type_support/orte_dt_unpacking_fns.c if (ORTE_SUCCESS != (rc = opal_dss_unpack_buffer(buffer, &(app_context[i]->num_procs), app_context 496 orte/runtime/data_type_support/orte_dt_unpacking_fns.c if (ORTE_SUCCESS != (rc = opal_dss_unpack_buffer(buffer, &(app_context[i]->first_rank), app_context 511 orte/runtime/data_type_support/orte_dt_unpacking_fns.c app_context[i]->argv = (char **)malloc((count+1) * sizeof(char*)); app_context 512 orte/runtime/data_type_support/orte_dt_unpacking_fns.c if (NULL == app_context[i]->argv) { app_context 516 orte/runtime/data_type_support/orte_dt_unpacking_fns.c app_context[i]->argv[count] = NULL; app_context 520 orte/runtime/data_type_support/orte_dt_unpacking_fns.c if (ORTE_SUCCESS != (rc = opal_dss_unpack_buffer(buffer, app_context[i]->argv, &max_n, OPAL_STRING))) { app_context 535 orte/runtime/data_type_support/orte_dt_unpacking_fns.c app_context[i]->env = (char **)malloc((count+1) * sizeof(char*)); app_context 536 orte/runtime/data_type_support/orte_dt_unpacking_fns.c if (NULL == app_context[i]->env) { app_context 540 orte/runtime/data_type_support/orte_dt_unpacking_fns.c app_context[i]->env[count] = NULL; app_context 544 orte/runtime/data_type_support/orte_dt_unpacking_fns.c if (ORTE_SUCCESS != (rc = opal_dss_unpack_buffer(buffer, app_context[i]->env, &max_n, OPAL_STRING))) { app_context 552 orte/runtime/data_type_support/orte_dt_unpacking_fns.c if (ORTE_SUCCESS != (rc = opal_dss_unpack_buffer(buffer, &app_context[i]->cwd, app_context 574 orte/runtime/data_type_support/orte_dt_unpacking_fns.c opal_list_append(&app_context[i]->attributes, &kv->super); app_context 551 orte/runtime/orte_globals.c static void orte_app_context_construct(orte_app_context_t* app_context) app_context 553 orte/runtime/orte_globals.c app_context->idx=0; app_context 554 orte/runtime/orte_globals.c app_context->app=NULL; app_context 555 orte/runtime/orte_globals.c app_context->num_procs=0; app_context 556 orte/runtime/orte_globals.c OBJ_CONSTRUCT(&app_context->procs, opal_pointer_array_t); app_context 557 orte/runtime/orte_globals.c opal_pointer_array_init(&app_context->procs, app_context 561 orte/runtime/orte_globals.c app_context->state = ORTE_APP_STATE_UNDEF; app_context 562 orte/runtime/orte_globals.c app_context->first_rank = 0; app_context 563 orte/runtime/orte_globals.c app_context->argv=NULL; app_context 564 orte/runtime/orte_globals.c app_context->env=NULL; app_context 565 orte/runtime/orte_globals.c app_context->cwd=NULL; app_context 566 orte/runtime/orte_globals.c app_context->flags = 0; app_context 567 orte/runtime/orte_globals.c OBJ_CONSTRUCT(&app_context->attributes, opal_list_t); app_context 570 orte/runtime/orte_globals.c static void orte_app_context_destructor(orte_app_context_t* app_context) app_context 575 orte/runtime/orte_globals.c if (NULL != app_context->app) { app_context 576 orte/runtime/orte_globals.c free (app_context->app); app_context 577 orte/runtime/orte_globals.c app_context->app = NULL; app_context 580 orte/runtime/orte_globals.c for (i=0; i < app_context->procs.size; i++) { app_context 581 orte/runtime/orte_globals.c if (NULL != (proc = (orte_proc_t*)opal_pointer_array_get_item(&app_context->procs, i))) { app_context 585 orte/runtime/orte_globals.c OBJ_DESTRUCT(&app_context->procs); app_context 588 orte/runtime/orte_globals.c if (NULL != app_context->argv) { app_context 589 orte/runtime/orte_globals.c opal_argv_free(app_context->argv); app_context 590 orte/runtime/orte_globals.c app_context->argv = NULL; app_context 593 orte/runtime/orte_globals.c if (NULL != app_context->env) { app_context 594 orte/runtime/orte_globals.c opal_argv_free(app_context->env); app_context 595 orte/runtime/orte_globals.c app_context->env = NULL; app_context 598 orte/runtime/orte_globals.c if (NULL != app_context->cwd) { app_context 599 orte/runtime/orte_globals.c free (app_context->cwd); app_context 600 orte/runtime/orte_globals.c app_context->cwd = NULL; app_context 603 orte/runtime/orte_globals.c OPAL_LIST_DESTRUCT(&app_context->attributes);