str 403 contrib/build-mca-comps-outside-of-tree/btl_tcp2_component.c char **argv, *str, *tmp; str 427 contrib/build-mca-comps-outside-of-tree/btl_tcp2_component.c str = strchr(argv[i], '/'); str 428 contrib/build-mca-comps-outside-of-tree/btl_tcp2_component.c if (NULL == str) { str 436 contrib/build-mca-comps-outside-of-tree/btl_tcp2_component.c *str = '\0'; str 437 contrib/build-mca-comps-outside-of-tree/btl_tcp2_component.c argv_prefix = atoi(str + 1); str 162 ompi/communicator/comm_init.c char *str=NULL; str 165 ompi/communicator/comm_init.c OPAL_MODEX_RECV_VALUE_OPTIONAL(rc, OPAL_PMIX_MAPBY, &wildcard, &str, OPAL_STRING); str 166 ompi/communicator/comm_init.c if ( 0 == rc && NULL != str) { str 167 ompi/communicator/comm_init.c if ( strstr ( str, "BYNODE") ) { str 170 ompi/communicator/comm_init.c if (NULL != str) { str 171 ompi/communicator/comm_init.c free(str); str 135 ompi/debuggers/ompi_debuggers.c char *str; str 137 ompi/debuggers/ompi_debuggers.c opal_asprintf(&str, "%s/%s.so", dir, file); str 144 ompi/debuggers/ompi_debuggers.c if (0 == stat(str, &buf)) { str 153 ompi/debuggers/ompi_debuggers.c if (NULL != (fp = fopen(str, "r"))) { str 160 ompi/debuggers/ompi_debuggers.c free(str); str 52 ompi/errhandler/errhandler_predefined.c static void out(char *str, char *arg); str 151 ompi/errhandler/errhandler_predefined.c static void out(char *str, char *arg) str 156 ompi/errhandler/errhandler_predefined.c opal_output(0, str, arg); str 158 ompi/errhandler/errhandler_predefined.c opal_output(0, "%s", str); str 162 ompi/errhandler/errhandler_predefined.c fprintf(stderr, str, arg); str 164 ompi/errhandler/errhandler_predefined.c fprintf(stderr, "%s", str); str 322 ompi/errhandler/errhandler_predefined.c char str[MPI_MAX_PROCESSOR_NAME * 2]; str 340 ompi/errhandler/errhandler_predefined.c str[0] = '\0'; str 341 ompi/errhandler/errhandler_predefined.c len = sizeof(str) - 1; str 342 ompi/errhandler/errhandler_predefined.c strncat(str, type, len); str 346 ompi/errhandler/errhandler_predefined.c strncat(str, " ", len); str 350 ompi/errhandler/errhandler_predefined.c strncat(str, name, len); str 353 ompi/errhandler/errhandler_predefined.c out("*** on %s", str); str 6269 ompi/mca/crcp/bkmrk/crcp_bkmrk_pml.c char * str = NULL; str 6288 ompi/mca/crcp/bkmrk/crcp_bkmrk_pml.c opal_asprintf(&str, "Proc %2d, Msg %5d", proc, msgs); str 6294 ompi/mca/crcp/bkmrk/crcp_bkmrk_pml.c str = strdup(""); str 6300 ompi/mca/crcp/bkmrk/crcp_bkmrk_pml.c str, str 6303 ompi/mca/crcp/bkmrk/crcp_bkmrk_pml.c free(str); str 6304 ompi/mca/crcp/bkmrk/crcp_bkmrk_pml.c str = NULL; str 79 ompi/mca/fbtl/base/fbtl_base_file_select.c char *str; str 90 ompi/mca/fbtl/base/fbtl_base_file_select.c str = &(preferred->mca_component_name[0]); str 94 ompi/mca/fbtl/base/fbtl_base_file_select.c str); str 101 ompi/mca/io/base/io_base_file_select.c char *str; str 129 ompi/mca/io/base/io_base_file_select.c str = &(preferred->mca_component_name[0]); str 133 ompi/mca/io/base/io_base_file_select.c str); str 135 ompi/mca/io/base/io_base_file_select.c file, &str, 1); str 19 ompi/mca/io/romio321/romio/adio/ad_ntfs/ad_ntfs_iwrite.c LPTSTR str; str 27 ompi/mca/io/romio321/romio/adio/ad_ntfs/ad_ntfs_iwrite.c &str, str 36 ompi/mca/io/romio321/romio/adio/ad_ntfs/ad_ntfs_iwrite.c strncpy(errMsg, str, errMsgLen); str 37 ompi/mca/io/romio321/romio/adio/ad_ntfs/ad_ntfs_iwrite.c LocalFree(str); str 145 ompi/mca/io/romio321/romio/adio/common/strfns.c char *ADIOI_Strdup( const char *str ) str 147 ompi/mca/io/romio321/romio/adio/common/strfns.c char *p = ADIOI_Malloc( strlen(str) + 1 ); str 148 ompi/mca/io/romio321/romio/adio/common/strfns.c char *in_p = (char *)str; str 173 ompi/mca/io/romio321/romio/adio/common/strfns.c int ADIOI_Snprintf( char *str, size_t size, const char *format, ... ) str 177 ompi/mca/io/romio321/romio/adio/common/strfns.c char *out_str = str; str 312 ompi/mca/io/romio321/romio/adio/common/strfns.c n = (int)(out_str - str); str 978 ompi/mca/io/romio321/romio/adio/include/adioi.h int ADIOI_Snprintf( char *str, size_t size, const char *format, ... ) str 26 ompi/mca/io/romio321/romio/mpi-io/glue/mpich/mpio_err.c typedef int (* MPIR_Err_get_class_string_func_t)(int error, char *str, int length); str 23 ompi/mca/io/romio321/romio/test/aggregation2.c static void handle_error(int errcode, const char *str) str 28 ompi/mca/io/romio321/romio/test/aggregation2.c fprintf(stderr, "%s: %s\n", str, msg); str 19 ompi/mca/io/romio321/romio/test/async-multiple.c void handle_error(int errcode, const char *str); str 21 ompi/mca/io/romio321/romio/test/async-multiple.c void handle_error(int errcode, const char *str) str 26 ompi/mca/io/romio321/romio/test/async-multiple.c fprintf(stderr, "%s: %s\n", str, msg); str 17 ompi/mca/io/romio321/romio/test/async.c void handle_error(int errcode, const char *str); str 19 ompi/mca/io/romio321/romio/test/async.c void handle_error(int errcode, const char *str) str 24 ompi/mca/io/romio321/romio/test/async.c fprintf(stderr, "%s: %s\n", str, msg); str 22 ompi/mca/io/romio321/romio/test/big_extents.c static void handle_error(int errcode, char *str) str 27 ompi/mca/io/romio321/romio/test/big_extents.c fprintf(stderr, "%s: %s\n", str, msg); str 21 ompi/mca/io/romio321/romio/test/coll_test.c void handle_error(int errcode, const char *str); str 23 ompi/mca/io/romio321/romio/test/coll_test.c void handle_error(int errcode, const char *str) str 28 ompi/mca/io/romio321/romio/test/coll_test.c fprintf(stderr, "%s: %s\n", str, msg); str 22 ompi/mca/io/romio321/romio/test/creat_excl.c void handle_error(int errcode, char *str) str 27 ompi/mca/io/romio321/romio/test/creat_excl.c fprintf(stderr, "%s: %s\n", str, msg); str 17 ompi/mca/io/romio321/romio/test/darray_read.c static void handle_error(int errcode, const char *str) str 22 ompi/mca/io/romio321/romio/test/darray_read.c fprintf(stderr, "%s: %s\n", str, msg); str 19 ompi/mca/io/romio321/romio/test/external32.c static void handle_error(int errcode, char *str) str 24 ompi/mca/io/romio321/romio/test/external32.c fprintf(stderr, "%s: (%d) %s\n", str, errcode, msg); str 15 ompi/mca/io/romio321/romio/test/file_info.c static void handle_error(int errcode, const char *str) str 20 ompi/mca/io/romio321/romio/test/file_info.c fprintf(stderr, "%s: %s\n", str, msg); str 40 ompi/mca/io/romio321/romio/test/noncontig_coll2.c void handle_error(int errcode, const char *str); str 48 ompi/mca/io/romio321/romio/test/noncontig_coll2.c void handle_error(int errcode, const char *str) str 53 ompi/mca/io/romio321/romio/test/noncontig_coll2.c fprintf(stderr, "%s: %s\n", str, msg); str 14 ompi/mca/io/romio321/romio/test/ordered_fp.c void handle_error(int errcode, const char *str); str 16 ompi/mca/io/romio321/romio/test/ordered_fp.c void handle_error(int errcode, const char *str) str 21 ompi/mca/io/romio321/romio/test/ordered_fp.c fprintf(stderr, "%s: %s\n", str, msg); str 13 ompi/mca/io/romio321/romio/test/shared_fp.c void handle_error(int errcode, const char *str); str 15 ompi/mca/io/romio321/romio/test/shared_fp.c void handle_error(int errcode, const char *str) str 20 ompi/mca/io/romio321/romio/test/shared_fp.c fprintf(stderr, "%s: %s\n", str, msg); str 13 ompi/mca/io/romio321/romio/test/simple.c static void handle_error(int errcode, const char *str) str 18 ompi/mca/io/romio321/romio/test/simple.c fprintf(stderr, "%s: %s\n", str, msg); str 18 ompi/mca/io/romio321/romio/test/types_with_zeros.c static void handle_error(int errcode, const char *str) str 23 ompi/mca/io/romio321/romio/test/types_with_zeros.c fprintf(stderr, "%s: %s\n", str, msg); str 126 ompi/mca/op/example/op_example_component.c char *str; str 138 ompi/mca/op/example/op_example_component.c opal_asprintf(&str, "%s.%s.%s", str 142 ompi/mca/op/example/op_example_component.c example_component_version = str; str 152 ompi/mca/op/example/op_example_component.c free(str); str 153 ompi/mca/pml/base/pml_base_frame.c char *str; str 154 ompi/mca/pml/base/pml_base_frame.c str = (char*) opal_pointer_array_get_item(&mca_pml_base_pml, i); str 155 ompi/mca/pml/base/pml_base_frame.c free(str); str 31 ompi/mca/pml/v/pml_v_output.h char *str; str 34 ompi/mca/pml/v/pml_v_output.h ret = opal_vasprintf(&str, fmt, list); str 37 ompi/mca/pml/v/pml_v_output.h opal_output(0, "%s", str); str 38 ompi/mca/pml/v/pml_v_output.h free(str); str 62 ompi/mca/pml/v/pml_v_output.h char *str; str 65 ompi/mca/pml/v/pml_v_output.h ret = opal_vasprintf(&str, fmt, list); str 67 ompi/mca/pml/v/pml_v_output.h opal_output(mca_pml_v.output, "%s", str); str 68 ompi/mca/pml/v/pml_v_output.h free(str); str 74 ompi/mca/pml/v/pml_v_output.h char *str; str 77 ompi/mca/pml/v/pml_v_output.h ret = opal_vasprintf(&str, fmt, list); str 79 ompi/mca/pml/v/pml_v_output.h opal_output_verbose(V, mca_pml_v.output, "%s", str); str 80 ompi/mca/pml/v/pml_v_output.h free(str); str 80 ompi/mca/sharedfp/base/sharedfp_base_file_select.c char *str; str 91 ompi/mca/sharedfp/base/sharedfp_base_file_select.c str = &(preferred->mca_component_name[0]); str 95 ompi/mca/sharedfp/base/sharedfp_base_file_select.c str); str 43 ompi/mca/topo/treematch/treematch/tm_thread_pool.c char *str; str 87 ompi/mca/topo/treematch/treematch/tm_thread_pool.c hwloc_bitmap_asprintf(&str, obj->cpuset); str 89 ompi/mca/topo/treematch/treematch/tm_thread_pool.c printf("Thread %d couldn't bind to cpuset %s: %s.\n This thread is not bound to any core...\n", my_core, str, strerror(error)); str 90 ompi/mca/topo/treematch/treematch/tm_thread_pool.c free(str); /* str is allocated by hlwoc, free it normally*/ str 47 ompi/mpiext/affinity/c/mpiext_affinity_str.c static int get_rsrc_ompi_bound(char str[OMPI_AFFINITY_STRING_MAX]); str 48 ompi/mpiext/affinity/c/mpiext_affinity_str.c static int get_rsrc_current_binding(char str[OMPI_AFFINITY_STRING_MAX]); str 49 ompi/mpiext/affinity/c/mpiext_affinity_str.c static int get_rsrc_exists(char str[OMPI_AFFINITY_STRING_MAX]); str 50 ompi/mpiext/affinity/c/mpiext_affinity_str.c static int get_layout_ompi_bound(char str[OMPI_AFFINITY_STRING_MAX]); str 51 ompi/mpiext/affinity/c/mpiext_affinity_str.c static int get_layout_current_binding(char str[OMPI_AFFINITY_STRING_MAX]); str 52 ompi/mpiext/affinity/c/mpiext_affinity_str.c static int get_layout_exists(char str[OMPI_AFFINITY_STRING_MAX]); str 99 ompi/mpiext/affinity/c/mpiext_affinity_str.c static int get_rsrc_ompi_bound(char str[OMPI_AFFINITY_STRING_MAX]) str 105 ompi/mpiext/affinity/c/mpiext_affinity_str.c opal_string_copy(str, ompi_nobind_str, OMPI_AFFINITY_STRING_MAX); str 112 ompi/mpiext/affinity/c/mpiext_affinity_str.c ret = opal_hwloc_base_cset2str(str, OMPI_AFFINITY_STRING_MAX, str 117 ompi/mpiext/affinity/c/mpiext_affinity_str.c opal_string_copy(str, not_bound_str, OMPI_AFFINITY_STRING_MAX); str 127 ompi/mpiext/affinity/c/mpiext_affinity_str.c static int get_rsrc_current_binding(char str[OMPI_AFFINITY_STRING_MAX]) str 157 ompi/mpiext/affinity/c/mpiext_affinity_str.c strncat(str, not_bound_str, OMPI_AFFINITY_STRING_MAX - 1); str 163 ompi/mpiext/affinity/c/mpiext_affinity_str.c ret = opal_hwloc_base_cset2str(str, OMPI_AFFINITY_STRING_MAX, str 167 ompi/mpiext/affinity/c/mpiext_affinity_str.c opal_string_copy(str, not_bound_str, OMPI_AFFINITY_STRING_MAX); str 182 ompi/mpiext/affinity/c/mpiext_affinity_str.c static int get_rsrc_exists(char str[OMPI_AFFINITY_STRING_MAX]) str 190 ompi/mpiext/affinity/c/mpiext_affinity_str.c str[0] = '\0'; str 196 ompi/mpiext/affinity/c/mpiext_affinity_str.c strncat(str, "; ", OMPI_AFFINITY_STRING_MAX - strlen(str)); str 201 ompi/mpiext/affinity/c/mpiext_affinity_str.c strncat(str, tmp, OMPI_AFFINITY_STRING_MAX - strlen(str)); str 220 ompi/mpiext/affinity/c/mpiext_affinity_str.c strncat(str, "1 core with ", str 221 ompi/mpiext/affinity/c/mpiext_affinity_str.c OMPI_AFFINITY_STRING_MAX - strlen(str)); str 223 ompi/mpiext/affinity/c/mpiext_affinity_str.c strncat(str, "1 hwt", str 224 ompi/mpiext/affinity/c/mpiext_affinity_str.c OMPI_AFFINITY_STRING_MAX - strlen(str)); str 227 ompi/mpiext/affinity/c/mpiext_affinity_str.c strncat(str, tmp, OMPI_AFFINITY_STRING_MAX - strlen(str)); str 236 ompi/mpiext/affinity/c/mpiext_affinity_str.c strncat(str, tmp, OMPI_AFFINITY_STRING_MAX - strlen(str)); str 252 ompi/mpiext/affinity/c/mpiext_affinity_str.c strncat(str, tmp, OMPI_AFFINITY_STRING_MAX - strlen(str)); str 254 ompi/mpiext/affinity/c/mpiext_affinity_str.c strncat(str, "s", OMPI_AFFINITY_STRING_MAX - strlen(str)); str 262 ompi/mpiext/affinity/c/mpiext_affinity_str.c strncat(str, "with (", OMPI_AFFINITY_STRING_MAX - strlen(str)); str 265 ompi/mpiext/affinity/c/mpiext_affinity_str.c strncat(str, ", ", str 266 ompi/mpiext/affinity/c/mpiext_affinity_str.c OMPI_AFFINITY_STRING_MAX - strlen(str)); str 274 ompi/mpiext/affinity/c/mpiext_affinity_str.c strncat(str, tmp, OMPI_AFFINITY_STRING_MAX - strlen(str)); str 276 ompi/mpiext/affinity/c/mpiext_affinity_str.c strncat(str, ") hwts", str 277 ompi/mpiext/affinity/c/mpiext_affinity_str.c OMPI_AFFINITY_STRING_MAX - strlen(str)); str 291 ompi/mpiext/affinity/c/mpiext_affinity_str.c static int get_layout_ompi_bound(char str[OMPI_AFFINITY_STRING_MAX]) str 297 ompi/mpiext/affinity/c/mpiext_affinity_str.c opal_string_copy(str, ompi_nobind_str, OMPI_AFFINITY_STRING_MAX); str 305 ompi/mpiext/affinity/c/mpiext_affinity_str.c ret = opal_hwloc_base_cset2mapstr(str, OMPI_AFFINITY_STRING_MAX, str 310 ompi/mpiext/affinity/c/mpiext_affinity_str.c opal_string_copy(str, not_bound_str, OMPI_AFFINITY_STRING_MAX); str 320 ompi/mpiext/affinity/c/mpiext_affinity_str.c static int get_layout_current_binding(char str[OMPI_AFFINITY_STRING_MAX]) str 350 ompi/mpiext/affinity/c/mpiext_affinity_str.c strncat(str, not_bound_str, OMPI_AFFINITY_STRING_MAX - 1); str 356 ompi/mpiext/affinity/c/mpiext_affinity_str.c ret = opal_hwloc_base_cset2mapstr(str, OMPI_AFFINITY_STRING_MAX, str 360 ompi/mpiext/affinity/c/mpiext_affinity_str.c opal_string_copy(str, not_bound_str, OMPI_AFFINITY_STRING_MAX); str 379 ompi/mpiext/affinity/c/mpiext_affinity_str.c static int get_layout_exists(char str[OMPI_AFFINITY_STRING_MAX]) str 385 ompi/mpiext/affinity/c/mpiext_affinity_str.c str[0] = '\0'; str 392 ompi/mpiext/affinity/c/mpiext_affinity_str.c strncat(str, "[", len - strlen(str)); str 404 ompi/mpiext/affinity/c/mpiext_affinity_str.c strncat(str, "/", len - strlen(str)); str 416 ompi/mpiext/affinity/c/mpiext_affinity_str.c strncat(str, ".", len - strlen(str)); str 419 ompi/mpiext/affinity/c/mpiext_affinity_str.c strncat(str, "]", len - strlen(str)); str 28 opal/include/opal/hash_string.h #define OPAL_HASH_STRLEN( str, hash, length ) \ str 30 opal/include/opal/hash_string.h register const char *_str = (str); \ str 53 opal/include/opal/hash_string.h #define OPAL_HASH_STR( str, hash ) \ str 55 opal/include/opal/hash_string.h register const char *_str = (str); \ str 145 opal/mca/base/mca_base_component_compare.c char * str = NULL; str 146 opal/mca/base/mca_base_component_compare.c if(0 > opal_asprintf(&str, "%s.%s.%d.%d", a->mca_type_name, str 151 opal/mca/base/mca_base_component_compare.c return str; str 140 opal/mca/base/mca_base_open.c char *str = getenv("OPAL_OUTPUT_INTERNAL_TO_STDOUT"); str 141 opal/mca/base/mca_base_open.c if (NULL != str && str[0] == '1') { str 1034 opal/mca/base/mca_base_var.c char *str = NULL; str 1058 opal/mca/base/mca_base_var.c ret = opal_asprintf (&str, "%s%s=%s", mca_prefix, var->mbv_full_name, str 1065 opal/mca/base/mca_base_var.c opal_argv_append(num_env, env, str); str 1066 opal/mca/base/mca_base_var.c free(str); str 1071 opal/mca/base/mca_base_var.c opal_asprintf (&str, "%sSOURCE_%s=FILE:%s", mca_prefix, var->mbv_full_name, str 1075 opal/mca/base/mca_base_var.c opal_asprintf (&str, "%sSOURCE_%s=COMMAND_LINE", mca_prefix, var->mbv_full_name); str 1080 opal/mca/base/mca_base_var.c str = NULL; str 1086 opal/mca/base/mca_base_var.c if (NULL != str) { str 1087 opal/mca/base/mca_base_var.c opal_argv_append(num_env, env, str); str 1088 opal/mca/base/mca_base_var.c free(str); str 624 opal/mca/btl/tcp/btl_tcp_component.c char **argv, *str, *tmp; str 648 opal/mca/btl/tcp/btl_tcp_component.c str = strchr(argv[i], '/'); str 649 opal/mca/btl/tcp/btl_tcp_component.c if (NULL == str) { str 657 opal/mca/btl/tcp/btl_tcp_component.c *str = '\0'; str 658 opal/mca/btl/tcp/btl_tcp_component.c argv_prefix = atoi(str + 1); str 1034 opal/mca/btl/tcp/btl_tcp_component.c char str[16]; str 1037 opal/mca/btl/tcp/btl_tcp_component.c inet_ntop(AF_INET, &(((struct sockaddr_in*)&inaddr)->sin_addr), str, sizeof(str)); str 1040 opal/mca/btl/tcp/btl_tcp_component.c str, ntohs(mca_btl_tcp_component.tcp_listen_port)); str 1532 opal/mca/btl/tcp/btl_tcp_component.c const char *str = opal_fd_get_peer_name(sd); str 1534 opal/mca/btl/tcp/btl_tcp_component.c "btl:tcp: now connected to %s, process %s", str, str 1536 opal/mca/btl/tcp/btl_tcp_component.c free((char*) str); str 353 opal/mca/btl/usnic/btl_usnic_cagent.c char str[INET_ADDRSTRLEN]; str 354 opal/mca/btl/usnic/btl_usnic_cagent.c inet_ntop(AF_INET, &src_addr_in->sin_addr, str, sizeof(str)); str 358 opal/mca/btl/usnic/btl_usnic_cagent.c (int) numbytes, str, (int) msg->size); str 424 opal/mca/btl/usnic/btl_usnic_cagent.c char str[INET_ADDRSTRLEN]; str 426 opal/mca/btl/usnic/btl_usnic_cagent.c inet_ntop(AF_INET, &src_addr_in->sin_addr, str, sizeof(str)); str 434 opal/mca/btl/usnic/btl_usnic_cagent.c (int) numbytes, str, (int) sizeof(*msg)); str 467 opal/mca/btl/usnic/btl_usnic_cagent.c (int) numbytes, str); str 500 opal/mca/btl/usnic/btl_usnic_cagent.c char str[INET_ADDRSTRLEN]; str 512 opal/mca/btl/usnic/btl_usnic_cagent.c inet_ntop(AF_INET, &src_addr_in->sin_addr, str, sizeof(str)); str 515 opal/mca/btl/usnic/btl_usnic_cagent.c (int) numbytes, str); str 323 opal/mca/btl/usnic/btl_usnic_component.c char str[128]; str 347 opal/mca/btl/usnic/btl_usnic_component.c snprintf(str, sizeof(str), "Not enough usNICs (found %d, need %d)", str 353 opal/mca/btl/usnic/btl_usnic_component.c snprintf(str, sizeof(str), "Not enough transmit/receive queues per usNIC (found %d, need %d)", str 359 opal/mca/btl/usnic/btl_usnic_component.c snprintf(str, sizeof(str), str 376 opal/mca/btl/usnic/btl_usnic_component.c str); str 408 opal/mca/btl/usnic/btl_usnic_component.c char **argv, *str, *tmp; str 463 opal/mca/btl/usnic/btl_usnic_component.c str = strchr(argv[i], '/'); str 464 opal/mca/btl/usnic/btl_usnic_component.c if (NULL == str) { str 471 opal/mca/btl/usnic/btl_usnic_component.c *str = '\0'; str 472 opal/mca/btl/usnic/btl_usnic_component.c argv_prefix = atoi(str + 1); str 1383 opal/mca/btl/usnic/btl_usnic_component.c char tmp[128], str[2048]; str 1402 opal/mca/btl/usnic/btl_usnic_component.c snprintf(str, sizeof(str), " --> frag %p, %s", (void *)frag, str 1414 opal/mca/btl/usnic/btl_usnic_component.c strncat(str, tmp, sizeof(str) - strlen(str) - 1); str 1415 opal/mca/btl/usnic/btl_usnic_component.c opal_output(0, "%s", str); str 1436 opal/mca/btl/usnic/btl_usnic_component.c strncat(str, tmp, sizeof(str) - strlen(str) - 1); str 1437 opal/mca/btl/usnic/btl_usnic_component.c opal_output(0, "%s", str); str 1452 opal/mca/btl/usnic/btl_usnic_component.c strncat(str, tmp, sizeof(str) - strlen(str) - 1); str 1453 opal/mca/btl/usnic/btl_usnic_component.c opal_output(0, "%s", str); str 1488 opal/mca/btl/usnic/btl_usnic_component.c opal_btl_usnic_snprintf_bool_array(str, sizeof(str), str 1491 opal/mca/btl/usnic/btl_usnic_component.c opal_output(0, " rcvd_segs 0x%s", str); str 68 opal/mca/btl/usnic/btl_usnic_module.c char *str, size_t len_param) str 74 opal/mca/btl/usnic/btl_usnic_module.c str, &len); str 174 opal/mca/btl/usnic/btl_usnic_module.c char str[IPV4STRADDRLEN]; str 177 opal/mca/btl/usnic/btl_usnic_module.c opal_btl_usnic_snprintf_ipv4_addr(str, sizeof(str), str 200 opal/mca/btl/usnic/btl_usnic_module.c str, modex->ports[USNIC_PRIORITY_CHANNEL], str 201 opal/mca/btl/usnic/btl_usnic_module.c str, modex->ports[USNIC_DATA_CHANNEL], str 1451 opal/mca/btl/usnic/btl_usnic_module.c char *str = NULL; str 1491 opal/mca/btl/usnic/btl_usnic_module.c str = "link down"; str 1495 opal/mca/btl/usnic/btl_usnic_module.c if (NULL == str) { str 1496 opal/mca/btl/usnic/btl_usnic_module.c str = "unknown event"; str 1507 opal/mca/btl/usnic/btl_usnic_module.c str, entry.data); str 1701 opal/mca/btl/usnic/btl_usnic_module.c char *str; str 1703 opal/mca/btl/usnic/btl_usnic_module.c str = "priority"; str 1705 opal/mca/btl/usnic/btl_usnic_module.c str = "data"; str 1707 opal/mca/btl/usnic/btl_usnic_module.c str = "UNKNOWN"; str 1712 opal/mca/btl/usnic/btl_usnic_module.c str, str 684 opal/mca/btl/usnic/btl_usnic_proc.c char str[IPV4STRADDRLEN]; str 685 opal/mca/btl/usnic/btl_usnic_proc.c opal_btl_usnic_snprintf_ipv4_addr(str, sizeof(str), modex->ipv4_addr, str 689 opal/mca/btl/usnic/btl_usnic_proc.c channel, str, modex->ports[channel]); str 90 opal/mca/btl/usnic/btl_usnic_stats.c char tmp[128], str[2048]; str 93 opal/mca/btl/usnic/btl_usnic_stats.c snprintf(str, sizeof(str), "%s:MCW:%3u, %s, ST(P+D)/F/C/R(T+F)/A:%8lu(%8u+%8u)/%8lu/%8lu/%4lu(%4lu+%4lu)/%8lu, RcvTot/Chk/F/C/L/H/D/BF/A:%8lu/%c%c/%8lu/%8lu/%4lu+%2lu/%4lu/%4lu/%6lu Comp:T(A/F/C/R) %8lu(%8lu/%8lu/%8lu/%8lu), OA/DA %4lu/%4lu CRC:%4lu ", str 143 opal/mca/btl/usnic/btl_usnic_stats.c str[sizeof(str) - 1] = '\0'; str 195 opal/mca/btl/usnic/btl_usnic_stats.c strncat(str, tmp, sizeof(str) - strlen(str) - 1); str 196 opal/mca/btl/usnic/btl_usnic_stats.c opal_output(0, "%s", str); str 406 opal/mca/btl/usnic/btl_usnic_stats.c char *str; str 413 opal/mca/btl/usnic/btl_usnic_stats.c rc = opal_asprintf(&str, "%s,%hhu.%hhu.%hhu.%hhu/%" PRIu32, str 418 opal/mca/btl/usnic/btl_usnic_stats.c devices[i].string = str; str 388 opal/mca/common/cuda/common_cuda.c char *str = NULL; str 404 opal/mca/common/cuda/common_cuda.c &libcuda_handle, &str); str 406 opal/mca/common/cuda/common_cuda.c if (NULL != str) { str 407 opal/mca/common/cuda/common_cuda.c opal_argv_append(&errsize, &errmsgs, str); str 1666 opal/mca/common/cuda/common_cuda.c static void cuda_dump_memhandle(int verbose, void *memHandle, char *str) { str 1682 opal/mca/common/cuda/common_cuda.c if (NULL == str) { str 1683 opal/mca/common/cuda/common_cuda.c str = "CUDA"; str 1689 opal/mca/common/cuda/common_cuda.c str, memH.ctxId, memH.pid, memH.size, memH.blocksize, memH.offset, str 1697 opal/mca/common/cuda/common_cuda.c static void cuda_dump_evthandle(int verbose, void *evtHandle, char *str) { str 1706 opal/mca/common/cuda/common_cuda.c if (NULL == str) { str 1707 opal/mca/common/cuda/common_cuda.c str = "CUDA"; str 1712 opal/mca/common/cuda/common_cuda.c str, evtH.pid, evtH.serial, evtH.index); str 252 opal/mca/crs/base/crs_base_fns.c char *str = NULL; str 256 opal/mca/crs/base/crs_base_fns.c str = strdup("Checkpoint"); str 259 opal/mca/crs/base/crs_base_fns.c str = strdup("Restart"); str 262 opal/mca/crs/base/crs_base_fns.c str = strdup("Continue"); str 265 opal/mca/crs/base/crs_base_fns.c str = strdup("Terminate"); str 268 opal/mca/crs/base/crs_base_fns.c str = strdup("Running"); str 271 opal/mca/crs/base/crs_base_fns.c str = strdup("Error"); str 274 opal/mca/crs/base/crs_base_fns.c str = strdup("Unknown"); str 278 opal/mca/crs/base/crs_base_fns.c return str; str 410 opal/mca/event/libevent2022/libevent/evdns.c static int strtoint(const char *const str); str 3288 opal/mca/event/libevent2022/libevent/evdns.c strtoint(const char *const str) str 3291 opal/mca/event/libevent2022/libevent/evdns.c const int r = strtol(str, &endptr, 10); str 3298 opal/mca/event/libevent2022/libevent/evdns.c strtotimeval(const char *const str, struct timeval *out) str 3302 opal/mca/event/libevent2022/libevent/evdns.c d = strtod(str, &endptr); str 3314 opal/mca/event/libevent2022/libevent/evdns.c strtoint_clipped(const char *const str, int min, int max) str 3316 opal/mca/event/libevent2022/libevent/evdns.c int r = strtoint(str); str 4090 opal/mca/event/libevent2022/libevent/evdns.c char *str=NULL, *cp, *eol; str 4097 opal/mca/event/libevent2022/libevent/evdns.c (err = evutil_read_file(hosts_fname, &str, &len, 0)) < 0) { str 4108 opal/mca/event/libevent2022/libevent/evdns.c cp = str; str 4122 opal/mca/event/libevent2022/libevent/evdns.c mm_free(str); str 2690 opal/mca/event/libevent2022/libevent/event.c event_mm_strdup_(const char *str) str 2693 opal/mca/event/libevent2022/libevent/event.c size_t ln = strlen(str); str 2696 opal/mca/event/libevent2022/libevent/event.c memcpy(p, str, ln+1); str 2700 opal/mca/event/libevent2022/libevent/event.c return _strdup(str); str 2702 opal/mca/event/libevent2022/libevent/event.c return strdup(str); str 2707 opal/mca/event/libevent2022/libevent/http.c evhttp_encode_uri(const char *str) str 2709 opal/mca/event/libevent2022/libevent/http.c return evhttp_uriencode(str, -1, 0); str 2797 opal/mca/event/libevent2022/libevent/http.c evhttp_parse_query_impl(const char *str, struct evkeyvalq *headers, str 2810 opal/mca/event/libevent2022/libevent/http.c uri = evhttp_uri_parse(str); str 2815 opal/mca/event/libevent2022/libevent/http.c query_part = str; str 609 opal/mca/event/libevent2022/libevent/include/event2/http.h char *evhttp_encode_uri(const char *str); str 625 opal/mca/event/libevent2022/libevent/include/event2/http.h char *evhttp_uriencode(const char *str, ev_ssize_t size, int space_to_plus); str 488 opal/mca/event/libevent2022/libevent/include/event2/util.h int evutil_parse_sockaddr_port(const char *str, struct sockaddr *out, int *outlen); str 108 opal/mca/event/libevent2022/libevent/test/regress.h #define test_ai_eq(ai, str, s, p) do { \ str 109 opal/mca/event/libevent2022/libevent/test/regress.h if (_test_ai_eq((ai), (str), (s), (p), __LINE__)<0) \ str 267 opal/mca/hwloc/base/base.h OPAL_DECLSPEC int opal_hwloc_base_cset2str(char *str, int len, str 279 opal/mca/hwloc/base/base.h OPAL_DECLSPEC int opal_hwloc_base_cset2mapstr(char *str, int len, str 1710 opal/mca/hwloc/base/hwloc_base_util.c int opal_hwloc_base_cset2str(char *str, int len, str 1723 opal/mca/hwloc/base/hwloc_base_util.c str[0] = tmp[stmp] = '\0'; str 1751 opal/mca/hwloc/base/hwloc_base_util.c strncat(str, ", ", len - strlen(str) - 1); str 1758 opal/mca/hwloc/base/hwloc_base_util.c strncat(str, tmp, len - strlen(str) - 1); str 1780 opal/mca/hwloc/base/hwloc_base_util.c int opal_hwloc_base_cset2mapstr(char *str, int len, str 1791 opal/mca/hwloc/base/hwloc_base_util.c str[0] = tmp[stmp] = '\0'; str 1814 opal/mca/hwloc/base/hwloc_base_util.c strncat(str, "[", len - strlen(str) - 1); str 1826 opal/mca/hwloc/base/hwloc_base_util.c strncat(str, "/", len - strlen(str) - 1); str 1841 opal/mca/hwloc/base/hwloc_base_util.c strncat(str, "B", len - strlen(str) - 1); str 1843 opal/mca/hwloc/base/hwloc_base_util.c strncat(str, ".", len - strlen(str) - 1); str 1847 opal/mca/hwloc/base/hwloc_base_util.c strncat(str, "]", len - strlen(str) - 1); str 31 opal/mca/hwloc/hwloc201/hwloc/hwloc/misc.c int hwloc_snprintf(char *str, size_t size, const char *format, ...) str 41 opal/mca/hwloc/hwloc201/hwloc/hwloc/misc.c str = &bin; str 46 opal/mca/hwloc/hwloc201/hwloc/hwloc/misc.c ret = vsnprintf(str, size, format, ap); str 73 opal/mca/hwloc/hwloc201/hwloc/hwloc/misc.c memcpy(str, fakestr, size-1); str 74 opal/mca/hwloc/hwloc201/hwloc/hwloc/misc.c str[size-1] = 0; str 3431 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c char str[CPU_TOPOLOGY_STR_LEN]; str 3458 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%lu/online", path, cpu); str 3459 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (hwloc_read_path_by_length(str, online, sizeof(online), data->root_fd) == 0) { str 3467 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%lu/topology", path, cpu); str 3468 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (hwloc_access(str, X_OK, data->root_fd) < 0 && errno == ENOENT) { str 3491 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%d/topology/core_siblings", path, i); str 3492 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c packageset = hwloc__alloc_read_path_as_cpumask(str, data->root_fd); str 3500 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%d/topology/physical_package_id", path, i); /* contains %d at least up to 4.9 */ str 3501 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (hwloc_read_path_as_int(str, &tmpint, data->root_fd) == 0) str 3569 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%d/topology/thread_siblings", path, i); str 3570 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c coreset = hwloc__alloc_read_path_as_cpumask(str, data->root_fd); str 3580 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%d/topology/core_id", path, i); /* contains %d at least up to 4.9 */ str 3581 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (hwloc_read_path_as_int(str, &tmpint, data->root_fd) == 0) str 3589 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%u/topology/core_id", path, siblingid); /* contains %d at least up to 4.9 */ str 3590 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (hwloc_read_path_as_int(str, &tmpint, data->root_fd) == 0) str 3600 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%d/topology/core_id", path, i); /* contains %d at least up to 4.9 */ str 3601 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (hwloc_read_path_as_int(str, &tmpint, data->root_fd) == 0) str 3621 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%d/topology/book_siblings", path, i); str 3622 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c bookset = hwloc__alloc_read_path_as_cpumask(str, data->root_fd); str 3629 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%d/topology/book_id", path, i); /* contains %d at least up to 4.9 */ str 3630 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (hwloc_read_path_as_int(str, &tmpint, data->root_fd) == 0) { str 3664 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%d/cache/index%d/shared_cpu_map", path, i, j); str 3665 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c cacheset = hwloc__alloc_read_path_as_cpumask(str, data->root_fd); str 3670 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%d/topology/thread_siblings", path, i); str 3671 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c tmpset = hwloc__alloc_read_path_as_cpumask(str, data->root_fd); str 3690 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%d/cache/index%d/level", path, i, j); /* contains %u at least up to 4.9 */ str 3691 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (hwloc_read_path_as_uint(str, &depth, data->root_fd) < 0) { str 3697 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%d/cache/index%d/type", path, i, j); str 3698 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (hwloc_read_path_by_length(str, str2, sizeof(str2), data->root_fd) == 0) { str 3719 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%d/cache/index%d/size", path, i, j); /* contains %uK at least up to 4.9 */ str 3720 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_read_path_as_uint(str, &kB, data->root_fd); str 3731 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%d/cache/index%d/coherency_line_size", path, i, j); /* contains %u at least up to 4.9 */ str 3732 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_read_path_as_uint(str, &linesize, data->root_fd); str 3739 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%d/cache/index%d/number_of_sets", path, i, j); /* contains %u at least up to 4.9 */ str 3740 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_read_path_as_uint(str, &sets, data->root_fd); str 3743 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c sprintf(str, "%s/cpu%d/cache/index%d/physical_line_partition", path, i, j); /* contains %u at least up to 4.9 */ str 3744 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_read_path_as_uint(str, &lines_per_tag, data->root_fd); str 3968 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c char str[len]; /* vendor/model can be very long */ str 3986 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c while (fgets(str,len,fd)!=NULL) { str 3992 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c end = strchr(str, '\n'); str 3998 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if (!*str) { str 4003 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c dot = strchr(str, ':'); str 4007 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c if ((*str > 'z' || *str < 'a') str 4008 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c && (*str > 'Z' || *str < 'A')) str 4012 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c prefix = str; str 803 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-solaris.c hwloc_bitmap_list_sscanf(cpuset, stat->value.str.addr.ptr); str 51 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h hwloc_obj_cpuset_snprintf(char *str, size_t size, size_t nobj, struct hwloc_obj * const *objs) __hwloc_attribute_deprecated; str 53 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h hwloc_obj_cpuset_snprintf(char *str, size_t size, size_t nobj, struct hwloc_obj * const *objs) str 64 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/deprecated.h res = hwloc_bitmap_snprintf(str, size, set); str 508 opal/mca/hwloc/hwloc201/hwloc/include/private/misc.h # define __hwloc_attribute_format(type, str, arg) __attribute__((__format__(type, str, arg))) str 510 opal/mca/hwloc/hwloc201/hwloc/include/private/misc.h # define __hwloc_attribute_format(type, str, arg) str 574 opal/mca/hwloc/hwloc201/hwloc/include/private/netloc.h #define STRDUP_IF_NOT_NULL(str) (NULL == str ? NULL : strdup(str)) str 575 opal/mca/hwloc/hwloc201/hwloc/include/private/netloc.h #define STR_EMPTY_IF_NULL(str) (NULL == str ? "" : str) str 339 opal/mca/hwloc/hwloc201/hwloc/include/private/private.h extern int hwloc_snprintf(char *str, size_t size, const char *format, ...) __hwloc_attribute_format(printf, 3, 4); str 310 opal/mca/pmix/cray/pmix_cray.c char *str, **localranks = NULL; str 511 opal/mca/pmix/cray/pmix_cray.c str = opal_argv_join(localranks, ','); str 517 opal/mca/pmix/cray/pmix_cray.c kv.data.string = str; str 373 opal/mca/pmix/flux/pmix_flux.c char *str; str 504 opal/mca/pmix/flux/pmix_flux.c str = opal_argv_join(localranks, ','); str 508 opal/mca/pmix/flux/pmix_flux.c str))) str 49 opal/mca/pmix/pmix.h #define OPAL_HASH_JOBID( str, hash ){ \ str 50 opal/mca/pmix/pmix.h OPAL_HASH_STR( str, hash ); \ str 826 opal/mca/pmix/pmix4x/pmix/include/pmi.h PMIX_EXPORT int PMI_Get_options(char *str, int *length); str 799 opal/mca/pmix/pmix4x/pmix/src/client/pmi1.c PMIX_EXPORT int PMI_Get_options(char *str, int *length) str 28 opal/mca/pmix/pmix4x/pmix/src/include/hash_string.h #define PMIX_HASH_STRLEN( str, hash, length ) \ str 30 opal/mca/pmix/pmix4x/pmix/src/include/hash_string.h register const char *_str = (str); \ str 53 opal/mca/pmix/pmix4x/pmix/src/include/hash_string.h #define PMIX_HASH_STR( str, hash ) \ str 55 opal/mca/pmix/pmix4x/pmix/src/include/hash_string.h register const char *_str = (str); \ str 144 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_compare.c char * str = NULL; str 145 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_compare.c if(0 > asprintf(&str, "%s.%s.%d.%d", a->pmix_mca_type_name, str 150 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_compare.c return str; str 1049 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_var.c char *str = NULL; str 1073 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_var.c ret = asprintf (&str, "%s%s=%s", mca_prefix, var->mbv_full_name, str 1080 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_var.c pmix_argv_append(num_env, env, str); str 1081 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_var.c free(str); str 1087 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_var.c ret = asprintf (&str, "%sSOURCE_%s=FILE:%s", mca_prefix, var->mbv_full_name, str 1091 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_var.c ret = asprintf (&str, "%sSOURCE_%s=COMMAND_LINE", mca_prefix, var->mbv_full_name); str 1096 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_var.c str = NULL; str 1102 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_var.c if (NULL != str) { str 1103 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_var.c pmix_argv_append(num_env, env, str); str 1104 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_var.c free(str); str 580 opal/mca/pmix/pmix4x/pmix/src/mca/common/dstore/dstore_base.c char *str; str 583 opal/mca/pmix/pmix4x/pmix/src/mca/common/dstore/dstore_base.c if( NULL != (str = getenv(ESH_ENV_INITIAL_SEG_SIZE)) ) { str 584 opal/mca/pmix/pmix4x/pmix/src/mca/common/dstore/dstore_base.c ds_ctx->initial_segment_size = strtoul(str, NULL, 10); str 592 opal/mca/pmix/pmix4x/pmix/src/mca/common/dstore/dstore_base.c if( NULL != (str = getenv(ESH_ENV_NS_META_SEG_SIZE)) ) { str 593 opal/mca/pmix/pmix4x/pmix/src/mca/common/dstore/dstore_base.c ds_ctx->meta_segment_size = strtoul(str, NULL, 10); str 601 opal/mca/pmix/pmix4x/pmix/src/mca/common/dstore/dstore_base.c if( NULL != (str = getenv(ESH_ENV_NS_DATA_SEG_SIZE)) ) { str 602 opal/mca/pmix/pmix4x/pmix/src/mca/common/dstore/dstore_base.c ds_ctx->data_segment_size = strtoul(str, NULL, 10); str 610 opal/mca/pmix/pmix4x/pmix/src/mca/common/dstore/dstore_base.c if (NULL != (str = getenv(ESH_ENV_LINEAR))) { str 611 opal/mca/pmix/pmix4x/pmix/src/mca/common/dstore/dstore_base.c if (1 == strtoul(str, NULL, 10)) { str 875 opal/mca/pmix/pmix4x/pmix/src/mca/preg/native/preg_native.c char *str, tmp[132]; str 943 opal/mca/pmix/pmix4x/pmix/src/mca/preg/native/preg_native.c str = (char *) malloc(len); str 944 opal/mca/pmix/pmix4x/pmix/src/mca/preg/native/preg_native.c if (NULL == str) { str 949 opal/mca/pmix/pmix4x/pmix/src/mca/preg/native/preg_native.c memset(str, 0, len); str 950 opal/mca/pmix/pmix4x/pmix/src/mca/preg/native/preg_native.c strcpy(str, base); str 953 opal/mca/pmix/pmix4x/pmix/src/mca/preg/native/preg_native.c str[k+base_len] = '0'; str 958 opal/mca/pmix/pmix4x/pmix/src/mca/preg/native/preg_native.c str[base_len + num_digits - k - 1] = tmp[strlen(tmp)-k-1]; str 962 opal/mca/pmix/pmix4x/pmix/src/mca/preg/native/preg_native.c strcat(str, suffix); str 964 opal/mca/pmix/pmix4x/pmix/src/mca/preg/native/preg_native.c ret = pmix_argv_append_nosize(names, str); str 967 opal/mca/pmix/pmix4x/pmix/src/mca/preg/native/preg_native.c free(str); str 971 opal/mca/pmix/pmix4x/pmix/src/mca/preg/native/preg_native.c free(str); str 860 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/tcp/ptl_tcp_component.c char **argv, *str, *tmp; str 884 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/tcp/ptl_tcp_component.c str = strchr(argv[i], '/'); str 885 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/tcp/ptl_tcp_component.c if (NULL == str) { str 892 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/tcp/ptl_tcp_component.c *str = '\0'; str 893 opal/mca/pmix/pmix4x/pmix/src/mca/ptl/tcp/ptl_tcp_component.c argv_prefix = atoi(str + 1); str 331 opal/mca/pmix/pmix4x/pmix/src/tools/pattrs/pattrs.c char *str, *args = NULL; str 333 opal/mca/pmix/pmix4x/pmix/src/tools/pattrs/pattrs.c str = pmix_show_help_string("help-pattrs.txt", "usage", true, str 335 opal/mca/pmix/pmix4x/pmix/src/tools/pattrs/pattrs.c if (NULL != str) { str 336 opal/mca/pmix/pmix4x/pmix/src/tools/pattrs/pattrs.c printf("%s", str); str 337 opal/mca/pmix/pmix4x/pmix/src/tools/pattrs/pattrs.c free(str); str 392 opal/mca/pmix/pmix4x/pmix/src/tools/pattrs/pattrs.c char *str, *args = NULL; str 394 opal/mca/pmix/pmix4x/pmix/src/tools/pattrs/pattrs.c str = pmix_show_help_string("help-pattrs.txt", "usage", true, str 396 opal/mca/pmix/pmix4x/pmix/src/tools/pattrs/pattrs.c if (NULL != str) { str 397 opal/mca/pmix/pmix4x/pmix/src/tools/pattrs/pattrs.c printf("%s", str); str 398 opal/mca/pmix/pmix4x/pmix/src/tools/pattrs/pattrs.c free(str); str 213 opal/mca/pmix/pmix4x/pmix/src/tools/pevent/pevent.c char *str, *args = NULL; str 215 opal/mca/pmix/pmix4x/pmix/src/tools/pevent/pevent.c str = pmix_show_help_string("help-pevent.txt", "usage", true, str 217 opal/mca/pmix/pmix4x/pmix/src/tools/pevent/pevent.c if (NULL != str) { str 218 opal/mca/pmix/pmix4x/pmix/src/tools/pevent/pevent.c printf("%s", str); str 219 opal/mca/pmix/pmix4x/pmix/src/tools/pevent/pevent.c free(str); str 206 opal/mca/pmix/pmix4x/pmix/src/tools/plookup/plookup.c char *str, *args = NULL; str 208 opal/mca/pmix/pmix4x/pmix/src/tools/plookup/plookup.c str = pmix_show_help_string("help-plookup.txt", "usage", true, str 210 opal/mca/pmix/pmix4x/pmix/src/tools/plookup/plookup.c if (NULL != str) { str 211 opal/mca/pmix/pmix4x/pmix/src/tools/plookup/plookup.c printf("%s", str); str 212 opal/mca/pmix/pmix4x/pmix/src/tools/plookup/plookup.c free(str); str 181 opal/mca/pmix/pmix4x/pmix/src/tools/pmix_info/support.c char *str, *usage; str 185 opal/mca/pmix/pmix4x/pmix/src/tools/pmix_info/support.c str = pmix_show_help_string("help-pmix-info.txt", "usage", true, str 187 opal/mca/pmix/pmix4x/pmix/src/tools/pmix_info/support.c if (NULL != str) { str 188 opal/mca/pmix/pmix4x/pmix/src/tools/pmix_info/support.c printf("%s", str); str 189 opal/mca/pmix/pmix4x/pmix/src/tools/pmix_info/support.c free(str); str 437 opal/mca/pmix/pmix4x/pmix/src/tools/pmix_info/support.c char *type, *component, *str; str 451 opal/mca/pmix/pmix4x/pmix/src/tools/pmix_info/support.c if (NULL != (str = pmix_cmd_line_get_param (pmix_info_cmd_line, "level", 0, 0))) { str 455 opal/mca/pmix/pmix4x/pmix/src/tools/pmix_info/support.c max_level = strtol (str, &tmp, 10) + PMIX_INFO_LVL_1 - 1; str 458 opal/mca/pmix/pmix4x/pmix/src/tools/pmix_info/support.c pmix_show_help("help-pmix_info.txt", "invalid-level", true, str); str 501 opal/mca/pmix/pmix4x/pmix/src/tools/pmix_info/support.c if (NULL == (str = (char *)pmix_pointer_array_get_item(mca_types, i))) { str 504 opal/mca/pmix/pmix4x/pmix/src/tools/pmix_info/support.c if (0 == strcmp(str, type)) { str 552 opal/mca/pmix/pmix4x/pmix/src/tools/pmix_info/support.c char *type, *str; str 560 opal/mca/pmix/pmix4x/pmix/src/tools/pmix_info/support.c if (NULL != (str = pmix_cmd_line_get_param (pmix_info_cmd_line, "level", 0, 0))) { str 564 opal/mca/pmix/pmix4x/pmix/src/tools/pmix_info/support.c max_level = strtol (str, &tmp, 10) + PMIX_INFO_LVL_1 - 1; str 567 opal/mca/pmix/pmix4x/pmix/src/tools/pmix_info/support.c pmix_show_help("help-pmix_info.txt", "invalid-level", true, str); str 1251 opal/mca/pmix/pmix4x/pmix/src/tools/pmix_info/support.c char *str = NULL, *tmp; str 1258 opal/mca/pmix/pmix4x/pmix/src/tools/pmix_info/support.c str = strdup(temp); str 1260 opal/mca/pmix/pmix4x/pmix/src/tools/pmix_info/support.c if (0 > asprintf(&tmp, "%s%s", str, greek)) { str 1261 opal/mca/pmix/pmix4x/pmix/src/tools/pmix_info/support.c free(str); str 1264 opal/mca/pmix/pmix4x/pmix/src/tools/pmix_info/support.c free(str); str 1265 opal/mca/pmix/pmix4x/pmix/src/tools/pmix_info/support.c str = tmp; str 1274 opal/mca/pmix/pmix4x/pmix/src/tools/pmix_info/support.c str = strdup(greek); str 1276 opal/mca/pmix/pmix4x/pmix/src/tools/pmix_info/support.c str = strdup(repo); str 1279 opal/mca/pmix/pmix4x/pmix/src/tools/pmix_info/support.c if (NULL == str) { str 1280 opal/mca/pmix/pmix4x/pmix/src/tools/pmix_info/support.c str = strdup(temp); str 1283 opal/mca/pmix/pmix4x/pmix/src/tools/pmix_info/support.c return str; str 304 opal/mca/pmix/pmix4x/pmix/src/tools/pps/pps.c char *str, *args = NULL; str 306 opal/mca/pmix/pmix4x/pmix/src/tools/pps/pps.c str = pmix_show_help_string("help-pps.txt", "usage", true, str 308 opal/mca/pmix/pmix4x/pmix/src/tools/pps/pps.c if (NULL != str) { str 309 opal/mca/pmix/pmix4x/pmix/src/tools/pps/pps.c printf("%s", str); str 310 opal/mca/pmix/pmix4x/pmix/src/tools/pps/pps.c free(str); str 313 opal/mca/pmix/pmix4x/pmix/src/util/argv.c char *str; str 332 opal/mca/pmix/pmix4x/pmix/src/util/argv.c if (NULL == (str = (char*) malloc(str_len))) str 337 opal/mca/pmix/pmix4x/pmix/src/util/argv.c str[--str_len] = '\0'; str 347 opal/mca/pmix/pmix4x/pmix/src/util/argv.c str[i] = (char) delimiter; str 351 opal/mca/pmix/pmix4x/pmix/src/util/argv.c str[i] = *pp++; str 357 opal/mca/pmix/pmix4x/pmix/src/util/argv.c return str; str 369 opal/mca/pmix/pmix4x/pmix/src/util/argv.c char *str; str 388 opal/mca/pmix/pmix4x/pmix/src/util/argv.c if (NULL == (str = (char*) malloc(str_len))) str 393 opal/mca/pmix/pmix4x/pmix/src/util/argv.c str[--str_len] = '\0'; str 403 opal/mca/pmix/pmix4x/pmix/src/util/argv.c str[i] = (char) delimiter; str 407 opal/mca/pmix/pmix4x/pmix/src/util/argv.c str[i] = *pp++; str 413 opal/mca/pmix/pmix4x/pmix/src/util/argv.c return str; str 129 opal/mca/pmix/pmix4x/pmix/src/util/output.c char *str; str 135 opal/mca/pmix/pmix4x/pmix/src/util/output.c str = getenv("PMIX_OUTPUT_STDERR_FD"); str 136 opal/mca/pmix/pmix4x/pmix/src/util/output.c if (NULL != str) { str 137 opal/mca/pmix/pmix4x/pmix/src/util/output.c default_stderr_fd = atoi(str); str 139 opal/mca/pmix/pmix4x/pmix/src/util/output.c str = getenv("PMIX_OUTPUT_REDIRECT"); str 140 opal/mca/pmix/pmix4x/pmix/src/util/output.c if (NULL != str) { str 141 opal/mca/pmix/pmix4x/pmix/src/util/output.c if (0 == strcasecmp(str, "syslog")) { str 145 opal/mca/pmix/pmix4x/pmix/src/util/output.c str = getenv("PMIX_OUTPUT_SYSLOG_PRI"); str 147 opal/mca/pmix/pmix4x/pmix/src/util/output.c if (NULL != str) { str 148 opal/mca/pmix/pmix4x/pmix/src/util/output.c if (0 == strcasecmp(str, "info")) { str 150 opal/mca/pmix/pmix4x/pmix/src/util/output.c } else if (0 == strcasecmp(str, "error")) { str 152 opal/mca/pmix/pmix4x/pmix/src/util/output.c } else if (0 == strcasecmp(str, "warn")) { str 162 opal/mca/pmix/pmix4x/pmix/src/util/output.c str = getenv("PMIX_OUTPUT_SYSLOG_IDENT"); str 163 opal/mca/pmix/pmix4x/pmix/src/util/output.c if (NULL != str) { str 164 opal/mca/pmix/pmix4x/pmix/src/util/output.c redirect_syslog_ident = strdup(str); str 171 opal/mca/pmix/pmix4x/pmix/src/util/output.c if (NULL != str) { str 258 opal/mca/pmix/pmix4x/pmix/src/util/output.c char *str; str 261 opal/mca/pmix/pmix4x/pmix/src/util/output.c str = getenv("PMIX_OUTPUT_STDERR_FD"); str 262 opal/mca/pmix/pmix4x/pmix/src/util/output.c if (NULL != str) { str 263 opal/mca/pmix/pmix4x/pmix/src/util/output.c default_stderr_fd = atoi(str); str 504 opal/mca/pmix/pmix4x/pmix/src/util/output.c char *str, *sfx; str 512 opal/mca/pmix/pmix4x/pmix/src/util/output.c str = getenv("PMIX_OUTPUT_REDIRECT"); str 513 opal/mca/pmix/pmix4x/pmix/src/util/output.c if (NULL != str && 0 == strcasecmp(str, "file")) { str 621 opal/mca/pmix/pmix4x/pmix/src/util/output.c if (NULL != str && redirect_to_file) { str 857 opal/mca/pmix/pmix4x/pmix/src/util/output.c char *str=NULL, *out = NULL; str 873 opal/mca/pmix/pmix4x/pmix/src/util/output.c if (PMIX_SUCCESS != (rc = make_string(&out, &str, ldi, format, arglist))) { str 880 opal/mca/pmix/pmix4x/pmix/src/util/output.c syslog(ldi->ldi_syslog_priority, "%s", str); str 937 opal/mca/pmix/pmix4x/pmix/src/util/output.c free(str); str 938 opal/mca/pmix/pmix4x/pmix/src/util/output.c str = NULL; str 942 opal/mca/pmix/pmix4x/pmix/src/util/output.c if (NULL != str) { str 943 opal/mca/pmix/pmix4x/pmix/src/util/output.c free(str); str 225 opal/mca/pmix/pmix4x/pmix/src/util/pmix_environ.c const char* str; str 227 opal/mca/pmix/pmix4x/pmix/src/util/pmix_environ.c if( NULL == (str = getenv("TMPDIR")) ) str 228 opal/mca/pmix/pmix4x/pmix/src/util/pmix_environ.c if( NULL == (str = getenv("TEMP")) ) str 229 opal/mca/pmix/pmix4x/pmix/src/util/pmix_environ.c if( NULL == (str = getenv("TMP")) ) str 230 opal/mca/pmix/pmix4x/pmix/src/util/pmix_environ.c str = PMIX_DEFAULT_TMPDIR; str 231 opal/mca/pmix/pmix4x/pmix/src/util/pmix_environ.c return str; str 247 opal/mca/pmix/pmix4x/pmix/src/util/printf.c int pmix_snprintf(char *str, size_t size, const char *fmt, ...) str 253 opal/mca/pmix/pmix4x/pmix/src/util/printf.c length = pmix_vsnprintf(str, size, fmt, ap); str 260 opal/mca/pmix/pmix4x/pmix/src/util/printf.c int pmix_vsnprintf(char *str, size_t size, const char *fmt, va_list ap) str 271 opal/mca/pmix/pmix4x/pmix/src/util/printf.c if (str) { str 273 opal/mca/pmix/pmix4x/pmix/src/util/printf.c strcpy(str, buf); str 275 opal/mca/pmix/pmix4x/pmix/src/util/printf.c memcpy(str, buf, size - 1); str 276 opal/mca/pmix/pmix4x/pmix/src/util/printf.c str[size] = '\0'; str 56 opal/mca/pmix/pmix4x/pmix/src/util/printf.h PMIX_EXPORT int pmix_snprintf(char *str, size_t size, const char *fmt, ...) __pmix_attribute_format__(__printf__, 3, 4); str 81 opal/mca/pmix/pmix4x/pmix/src/util/printf.h PMIX_EXPORT int pmix_vsnprintf(char *str, size_t size, const char *fmt, va_list ap) __pmix_attribute_format__(__printf__, 3, 0); str 114 opal/mca/pmix/pmix4x/pmix/test/pmi2_client.c char *str = NULL; str 118 opal/mca/pmix/pmix4x/pmix/test/pmi2_client.c str = getenv("VERBOSE"); str 119 opal/mca/pmix/pmix4x/pmix/test/pmi2_client.c _verbose = (str ? atoi(str) : _verbose); str 130 opal/mca/pmix/pmix4x/pmix/test/pmi2_client.c str = getenv("PMIX_NAMESPACE"); str 131 opal/mca/pmix/pmix4x/pmix/test/pmi2_client.c _legacy = (str ? 0 : 1); str 110 opal/mca/pmix/pmix4x/pmix/test/pmi_client.c char *str = NULL; str 114 opal/mca/pmix/pmix4x/pmix/test/pmi_client.c str = getenv("VERBOSE"); str 115 opal/mca/pmix/pmix4x/pmix/test/pmi_client.c _verbose = (str ? atoi(str) : _verbose); str 126 opal/mca/pmix/pmix4x/pmix/test/pmi_client.c str = getenv("PMIX_NAMESPACE"); str 127 opal/mca/pmix/pmix4x/pmix/test/pmi_client.c _legacy = (str ? 0 : 1); str 300 opal/mca/pmix/pmix4x/pmix/test/test_common.c #define CHECK_STRTOL_VAL(val, str, store) do { \ str 302 opal/mca/pmix/pmix4x/pmix/test/test_common.c if (0 != strncmp(str, "0", 1)) { \ str 310 opal/mca/pmix/pmix4x/pmix/test/test_common.c static int parse_token(char *str, int step, int store) str 325 opal/mca/pmix/pmix4x/pmix/test/test_common.c pch = strchr(str, '|'); str 327 opal/mca/pmix/pmix4x/pmix/test/test_common.c while (pch != str) { str 328 opal/mca/pmix/pmix4x/pmix/test/test_common.c if ('d' == *str) { str 332 opal/mca/pmix/pmix4x/pmix/test/test_common.c } else if ('b' == *str) { str 336 opal/mca/pmix/pmix4x/pmix/test/test_common.c } else if (' ' != *str) { str 341 opal/mca/pmix/pmix4x/pmix/test/test_common.c str++; str 349 opal/mca/pmix/pmix4x/pmix/test/test_common.c if (0 < parse_token(str, 1, store)) { str 364 opal/mca/pmix/pmix4x/pmix/test/test_common.c pch = strtok(str, ";"); str 375 opal/mca/pmix/pmix4x/pmix/test/test_common.c pch = strchr(str, ':'); str 379 opal/mca/pmix/pmix4x/pmix/test/test_common.c while (' ' == *str) { str 380 opal/mca/pmix/pmix4x/pmix/test/test_common.c str++; str 382 opal/mca/pmix/pmix4x/pmix/test/test_common.c ns_id = (int)(strtol(str, NULL, 10)); str 383 opal/mca/pmix/pmix4x/pmix/test/test_common.c CHECK_STRTOL_VAL(ns_id, str, store); str 396 opal/mca/pmix/pmix4x/pmix/test/test_common.c while (' ' == *str) { str 397 opal/mca/pmix/pmix4x/pmix/test/test_common.c str++; str 399 opal/mca/pmix/pmix4x/pmix/test/test_common.c if ('\0' == *str) { str 408 opal/mca/pmix/pmix4x/pmix/test/test_common.c while ('\0' != *str) { str 409 opal/mca/pmix/pmix4x/pmix/test/test_common.c if (',' == *str && 0 != count) { str 410 opal/mca/pmix/pmix4x/pmix/test/test_common.c *str = '\0'; str 412 opal/mca/pmix/pmix4x/pmix/test/test_common.c rank = (int)(strtol(str-count, NULL, 10)); str 413 opal/mca/pmix/pmix4x/pmix/test/test_common.c CHECK_STRTOL_VAL(rank, str-count, store); str 424 opal/mca/pmix/pmix4x/pmix/test/test_common.c rank = (int)(strtol(str-count, NULL, 10)); str 425 opal/mca/pmix/pmix4x/pmix/test/test_common.c CHECK_STRTOL_VAL(rank, str-count, store); str 433 opal/mca/pmix/pmix4x/pmix/test/test_common.c } else if ('-' == *str && 0 != count) { str 434 opal/mca/pmix/pmix4x/pmix/test/test_common.c *str = '\0'; str 435 opal/mca/pmix/pmix4x/pmix/test/test_common.c remember = (int)(strtol(str-count, NULL, 10)); str 436 opal/mca/pmix/pmix4x/pmix/test/test_common.c CHECK_STRTOL_VAL(remember, str-count, store); str 439 opal/mca/pmix/pmix4x/pmix/test/test_common.c str++; str 444 opal/mca/pmix/pmix4x/pmix/test/test_common.c rank = (int)(strtol(str-count, NULL, 10)); str 445 opal/mca/pmix/pmix4x/pmix/test/test_common.c CHECK_STRTOL_VAL(rank, str-count, store); str 456 opal/mca/pmix/pmix4x/pmix/test/test_common.c rank = (int)(strtol(str-count, NULL, 10)); str 457 opal/mca/pmix/pmix4x/pmix/test/test_common.c CHECK_STRTOL_VAL(rank, str-count, store); str 523 opal/mca/pmix/pmix4x/pmix/test/test_common.c static int is_digit(const char *str) str 525 opal/mca/pmix/pmix4x/pmix/test/test_common.c if (NULL == str) str 528 opal/mca/pmix/pmix4x/pmix/test/test_common.c while (0 != *str) { str 529 opal/mca/pmix/pmix4x/pmix/test/test_common.c if (!isdigit(*str)) { str 533 opal/mca/pmix/pmix4x/pmix/test/test_common.c str++; str 242 opal/mca/pmix/pmix4x/pmix/test/test_fence.c char *sptr, *token, *eptr, *str; str 290 opal/mca/pmix/pmix4x/pmix/test/test_fence.c str = val->data.string; str 298 opal/mca/pmix/pmix4x/pmix/test/test_fence.c token = strtok_r(str, ",", &sptr); str 299 opal/mca/pmix/pmix4x/pmix/test/test_fence.c str = NULL; str 154 opal/mca/pmix/s1/pmix_s1.c char *str; str 223 opal/mca/pmix/s1/pmix_s1.c s1_pname.jobid = strtoul(pmix_id, &str, 10); str 225 opal/mca/pmix/s1/pmix_s1.c if (NULL != str) { str 226 opal/mca/pmix/s1/pmix_s1.c ui32 = strtoul(str+1, NULL, 10); str 323 opal/mca/pmix/s1/pmix_s1.c str = opal_argv_join(localranks, ','); str 328 opal/mca/pmix/s1/pmix_s1.c kv.data.string = str; str 173 opal/mca/pmix/s2/pmix_s2.c char *str; str 230 opal/mca/pmix/s2/pmix_s2.c s2_pname.jobid = strtoul(pmix_kvs_name, &str, 10); str 232 opal/mca/pmix/s2/pmix_s2.c if (NULL != str) { str 233 opal/mca/pmix/s2/pmix_s2.c stepid = strtoul(str+1, NULL, 10); str 369 opal/mca/pmix/s2/pmix_s2.c str = opal_argv_join(localranks, ','); str 374 opal/mca/pmix/s2/pmix_s2.c kv.data.string = str; str 82 opal/mca/timer/linux/timer_linux_component.c find_info(FILE* fp, char *str, char *buf, size_t buflen) str 88 opal/mca/timer/linux/timer_linux_component.c if (strncmp(buf, str, strlen(str)) == 0) { str 97 opal/runtime/opal_cr.c static void display_indv_timer_core(double diff, char *str); str 1239 opal/runtime/opal_cr.c static void display_indv_timer_core(double diff, char *str) { str 1248 opal/runtime/opal_cr.c str, str 198 opal/runtime/opal_info_support.c char *str, *usage; str 202 opal/runtime/opal_info_support.c str = opal_show_help_string("help-opal_info.txt", "usage", str 204 opal/runtime/opal_info_support.c if (NULL != str) { str 205 opal/runtime/opal_info_support.c printf("%s", str); str 206 opal/runtime/opal_info_support.c free(str); str 452 opal/runtime/opal_info_support.c char *type, *component, *str; str 466 opal/runtime/opal_info_support.c if (NULL != (str = opal_cmd_line_get_param (opal_info_cmd_line, "level", 0, 0))) { str 470 opal/runtime/opal_info_support.c max_level = strtol (str, &tmp, 10) + OPAL_INFO_LVL_1 - 1; str 473 opal/runtime/opal_info_support.c opal_show_help("help-opal_info.txt", "invalid-level", true, str); str 516 opal/runtime/opal_info_support.c if (NULL == (str = (char *)opal_pointer_array_get_item(mca_types, i))) { str 519 opal/runtime/opal_info_support.c if (0 == strcmp(str, type)) { str 567 opal/runtime/opal_info_support.c char *type, *str; str 575 opal/runtime/opal_info_support.c if (NULL != (str = opal_cmd_line_get_param (opal_info_cmd_line, "level", 0, 0))) { str 579 opal/runtime/opal_info_support.c max_level = strtol (str, &tmp, 10) + OPAL_INFO_LVL_1 - 1; str 582 opal/runtime/opal_info_support.c opal_show_help("help-opal_info.txt", "invalid-level", true, str); str 1244 opal/runtime/opal_info_support.c char *str = NULL, *tmp; str 1251 opal/runtime/opal_info_support.c str = strdup(temp); str 1253 opal/runtime/opal_info_support.c opal_asprintf(&tmp, "%s%s", str, greek); str 1254 opal/runtime/opal_info_support.c free(str); str 1255 opal/runtime/opal_info_support.c str = tmp; str 1264 opal/runtime/opal_info_support.c str = strdup(greek); str 1266 opal/runtime/opal_info_support.c str = strdup(repo); str 1269 opal/runtime/opal_info_support.c if (NULL == str) { str 1270 opal/runtime/opal_info_support.c str = strdup(temp); str 1273 opal/runtime/opal_info_support.c return str; str 298 opal/tools/opal-checkpoint/opal-checkpoint.c char *str, *args = NULL; str 300 opal/tools/opal-checkpoint/opal-checkpoint.c str = opal_show_help_string("help-opal-checkpoint.txt", "usage", true, str 302 opal/tools/opal-checkpoint/opal-checkpoint.c if (NULL != str) { str 303 opal/tools/opal-checkpoint/opal-checkpoint.c printf("%s", str); str 304 opal/tools/opal-checkpoint/opal-checkpoint.c free(str); str 536 opal/tools/opal-restart/opal-restart.c char *str, *args = NULL; str 538 opal/tools/opal-restart/opal-restart.c str = opal_show_help_string("help-opal-restart.txt", "usage", true, str 540 opal/tools/opal-restart/opal-restart.c if (NULL != str) { str 541 opal/tools/opal-restart/opal-restart.c printf("%s", str); str 542 opal/tools/opal-restart/opal-restart.c free(str); str 623 opal/tools/wrappers/opal_wrapper.c char * str; str 624 opal/tools/wrappers/opal_wrapper.c str = opal_show_help_string("help-opal-wrapper.txt", str 627 opal/tools/wrappers/opal_wrapper.c if (NULL != str) { str 628 opal/tools/wrappers/opal_wrapper.c printf("%s", str); str 629 opal/tools/wrappers/opal_wrapper.c free(str); str 634 opal/tools/wrappers/opal_wrapper.c char *str; str 635 opal/tools/wrappers/opal_wrapper.c str = opal_show_help_string("help-opal-wrapper.txt", "usage", str 639 opal/tools/wrappers/opal_wrapper.c if (NULL != str) { str 640 opal/tools/wrappers/opal_wrapper.c printf("%s", str); str 641 opal/tools/wrappers/opal_wrapper.c free(str); str 284 opal/util/argv.c char *str; str 303 opal/util/argv.c if (NULL == (str = (char*) malloc(str_len))) str 308 opal/util/argv.c str[--str_len] = '\0'; str 318 opal/util/argv.c str[i] = (char) delimiter; str 322 opal/util/argv.c str[i] = *pp++; str 328 opal/util/argv.c return str; str 340 opal/util/argv.c char *str; str 359 opal/util/argv.c if (NULL == (str = (char*) malloc(str_len))) str 364 opal/util/argv.c str[--str_len] = '\0'; str 374 opal/util/argv.c str[i] = (char) delimiter; str 378 opal/util/argv.c str[i] = *pp++; str 384 opal/util/argv.c return str; str 58 opal/util/error.c opal_strerror_int(int errnum, const char **str) str 61 opal/util/error.c *str = NULL; str 67 opal/util/error.c ret = converters[i].converter(errnum, str); str 78 opal/util/error.c opal_strerror_unknown(int errnum, char **str) str 81 opal/util/error.c *str = NULL; str 87 opal/util/error.c opal_asprintf(str, "Unknown error: %d (%s error %d)", str 95 opal/util/error.c opal_asprintf(str, "Unknown error: %d", errnum); str 76 opal/util/error.h typedef int (*opal_err2str_fn_t)(int errnum, const char **str); str 141 opal/util/fd.c char *str; str 156 opal/util/fd.c str = calloc(1, len); str 157 opal/util/fd.c if (NULL == str) { str 164 opal/util/fd.c ret = inet_ntop(AF_INET, &(si->sin_addr), str, INET_ADDRSTRLEN); str 166 opal/util/fd.c free(str); str 173 opal/util/fd.c ret = inet_ntop(AF_INET6, &(si6->sin6_addr), str, INET6_ADDRSTRLEN); str 175 opal/util/fd.c free(str); str 181 opal/util/fd.c opal_string_copy(str, "Unknown", len); str 182 opal/util/fd.c ret = str; str 343 opal/util/info.c char str[256]; str 345 opal/util/info.c str[sizeof(str) - 1] = '\0'; str 346 opal/util/info.c opal_info_get(info, key, sizeof(str) - 1, str, flag); str 348 opal/util/info.c *value = opal_str_to_bool(str); str 356 opal/util/info.c opal_str_to_bool(char *str) str 362 opal/util/info.c ptr = str + sizeof(str) - 1; str 363 opal/util/info.c while (ptr >= str && isspace(*ptr)) { str 367 opal/util/info.c ptr = str; str 368 opal/util/info.c while (ptr < str + sizeof(str) - 1 && *ptr != '\0' && str 253 opal/util/opal_environ.c const char* str; str 255 opal/util/opal_environ.c if( NULL == (str = getenv("TMPDIR")) ) str 256 opal/util/opal_environ.c if( NULL == (str = getenv("TEMP")) ) str 257 opal/util/opal_environ.c if( NULL == (str = getenv("TMP")) ) str 258 opal/util/opal_environ.c str = OPAL_DEFAULT_TMPDIR; str 259 opal/util/opal_environ.c return str; str 141 opal/util/output.c char *str; str 147 opal/util/output.c str = getenv("OPAL_OUTPUT_STDERR_FD"); str 148 opal/util/output.c if (NULL != str) { str 149 opal/util/output.c default_stderr_fd = atoi(str); str 151 opal/util/output.c str = getenv("OPAL_OUTPUT_REDIRECT"); str 152 opal/util/output.c if (NULL != str) { str 153 opal/util/output.c if (0 == strcasecmp(str, "syslog")) { str 157 opal/util/output.c str = getenv("OPAL_OUTPUT_SYSLOG_PRI"); str 159 opal/util/output.c if (NULL != str) { str 160 opal/util/output.c if (0 == strcasecmp(str, "info")) { str 162 opal/util/output.c } else if (0 == strcasecmp(str, "error")) { str 164 opal/util/output.c } else if (0 == strcasecmp(str, "warn")) { str 173 opal/util/output.c str = getenv("OPAL_OUTPUT_SYSLOG_IDENT"); str 174 opal/util/output.c if (NULL != str) { str 175 opal/util/output.c redirect_syslog_ident = strdup(str); str 182 opal/util/output.c if (NULL != str) { str 188 opal/util/output.c str = getenv("OPAL_OUTPUT_INTERNAL_TO_STDOUT"); str 189 opal/util/output.c if (NULL != str && str[0] == '1') { str 276 opal/util/output.c char *str; str 279 opal/util/output.c str = getenv("OPAL_OUTPUT_STDERR_FD"); str 280 opal/util/output.c if (NULL != str) { str 281 opal/util/output.c default_stderr_fd = atoi(str); str 572 opal/util/output.c char *str, *sfx; str 580 opal/util/output.c str = getenv("OPAL_OUTPUT_REDIRECT"); str 581 opal/util/output.c if (NULL != str && 0 == strcasecmp(str, "file")) { str 694 opal/util/output.c if (NULL != str && redirect_to_file) { str 950 opal/util/output.c char *str, *out = NULL; str 967 opal/util/output.c if (OPAL_SUCCESS != (rc = make_string(&str, ldi, format, arglist))) { str 975 opal/util/output.c syslog(ldi->ldi_syslog_priority, "%s", str); str 1026 opal/util/output.c free(str); str 268 opal/util/printf.c int opal_snprintf(char *str, size_t size, const char *fmt, ...) str 274 opal/util/printf.c length = opal_vsnprintf(str, size, fmt, ap); str 281 opal/util/printf.c int opal_vsnprintf(char *str, size_t size, const char *fmt, va_list ap) str 292 opal/util/printf.c if (str) { str 294 opal/util/printf.c strcpy(str, buf); str 296 opal/util/printf.c memcpy(str, buf, size - 1); str 297 opal/util/printf.c str[size] = '\0'; str 54 opal/util/printf.h OPAL_DECLSPEC int opal_snprintf(char *str, size_t size, const char *fmt, ...) __opal_attribute_format__(__printf__, 3, 4); str 79 opal/util/printf.h OPAL_DECLSPEC int opal_vsnprintf(char *str, size_t size, const char *fmt, va_list ap) __opal_attribute_format__(__printf__, 3, 0); str 138 orte/mca/iof/base/iof_base_setup.c char *str; str 228 orte/mca/iof/base/iof_base_setup.c opal_asprintf(&str, "%d", opts->p_internal[1]); str 229 orte/mca/iof/base/iof_base_setup.c if (NULL != str) { str 230 orte/mca/iof/base/iof_base_setup.c opal_setenv("OPAL_OUTPUT_STDERR_FD", str, true, env); str 231 orte/mca/iof/base/iof_base_setup.c free(str); str 232 orte/mca/odls/alps/odls_alps_module.c char *str; str 238 orte/mca/odls/alps/odls_alps_module.c str = opal_show_help_vstring(file, topic, true, ap); str 250 orte/mca/odls/alps/odls_alps_module.c msg->msg_str_len = (int) strlen(str); str 265 orte/mca/odls/alps/odls_alps_module.c OPAL_SUCCESS != (ret = opal_fd_write(fd, msg->msg_str_len, str))) { str 270 orte/mca/odls/alps/odls_alps_module.c free(str); str 462 orte/mca/odls/alps/odls_alps_module.c char file[ORTE_ODLS_MAX_FILE_LEN + 1], topic[ORTE_ODLS_MAX_TOPIC_LEN + 1], *str = NULL; str 534 orte/mca/odls/alps/odls_alps_module.c str = calloc(1, msg.msg_str_len + 1); str 535 orte/mca/odls/alps/odls_alps_module.c if (NULL == str) { str 545 orte/mca/odls/alps/odls_alps_module.c rc = opal_fd_read(read_fd, msg.msg_str_len, str); str 551 orte/mca/odls/alps/odls_alps_module.c orte_show_help_norender(file, topic, false, str); str 552 orte/mca/odls/alps/odls_alps_module.c free(str); str 553 orte/mca/odls/alps/odls_alps_module.c str = NULL; str 234 orte/mca/odls/default/odls_default_module.c char *str; str 240 orte/mca/odls/default/odls_default_module.c str = opal_show_help_vstring(file, topic, true, ap); str 252 orte/mca/odls/default/odls_default_module.c msg->msg_str_len = (int) strlen(str); str 267 orte/mca/odls/default/odls_default_module.c OPAL_SUCCESS != (ret = opal_fd_write(fd, msg->msg_str_len, str))) { str 272 orte/mca/odls/default/odls_default_module.c free(str); str 469 orte/mca/odls/default/odls_default_module.c char file[ORTE_ODLS_MAX_FILE_LEN + 1], topic[ORTE_ODLS_MAX_TOPIC_LEN + 1], *str = NULL; str 541 orte/mca/odls/default/odls_default_module.c str = calloc(1, msg.msg_str_len + 1); str 542 orte/mca/odls/default/odls_default_module.c if (NULL == str) { str 552 orte/mca/odls/default/odls_default_module.c rc = opal_fd_read(read_fd, msg.msg_str_len, str); str 558 orte/mca/odls/default/odls_default_module.c orte_show_help_norender(file, topic, false, str); str 559 orte/mca/odls/default/odls_default_module.c free(str); str 560 orte/mca/odls/default/odls_default_module.c str = NULL; str 1229 orte/mca/oob/tcp/oob_tcp_component.c char **argv, *str, *tmp; str 1253 orte/mca/oob/tcp/oob_tcp_component.c str = strchr(argv[i], '/'); str 1254 orte/mca/oob/tcp/oob_tcp_component.c if (NULL == str) { str 1262 orte/mca/oob/tcp/oob_tcp_component.c *str = '\0'; str 1263 orte/mca/oob/tcp/oob_tcp_component.c argv_prefix = atoi(str + 1); str 666 orte/mca/ras/slurm/ras_slurm_module.c char *str, temp1[BUFSIZ]; str 730 orte/mca/ras/slurm/ras_slurm_module.c str = malloc(len); str 731 orte/mca/ras/slurm/ras_slurm_module.c if (NULL == str) { str 735 orte/mca/ras/slurm/ras_slurm_module.c strcpy(str, base); str 737 orte/mca/ras/slurm/ras_slurm_module.c str[base_len] = '\0'; str 744 orte/mca/ras/slurm/ras_slurm_module.c str[j] = '0'; str 746 orte/mca/ras/slurm/ras_slurm_module.c str[j] = '\0'; str 748 orte/mca/ras/slurm/ras_slurm_module.c strcat(str, temp1); str 749 orte/mca/ras/slurm/ras_slurm_module.c ret = opal_argv_append_nosize(names, str); str 752 orte/mca/ras/slurm/ras_slurm_module.c free(str); str 756 orte/mca/ras/slurm/ras_slurm_module.c free(str); str 63 orte/mca/rtc/base/rtc_base_stubs.c char *str; str 69 orte/mca/rtc/base/rtc_base_stubs.c str = opal_show_help_vstring(file, topic, true, ap); str 81 orte/mca/rtc/base/rtc_base_stubs.c msg->msg_str_len = (int) strlen(str); str 96 orte/mca/rtc/base/rtc_base_stubs.c OPAL_SUCCESS != (ret = opal_fd_write(fd, msg->msg_str_len, str))) { str 101 orte/mca/rtc/base/rtc_base_stubs.c free(str); str 150 orte/mca/snapc/full/snapc_full_global.c static void snapc_full_display_indv_timer_core(double diff, char *str); str 2648 orte/mca/snapc/full/snapc_full_global.c static void snapc_full_display_indv_timer_core(double diff, char *str) str 2662 orte/mca/snapc/full/snapc_full_global.c str, str 304 orte/orted/orted_submit.c char *str, *project_name = NULL; str 310 orte/orted/orted_submit.c str = opal_info_make_version_str("all", str 315 orte/orted/orted_submit.c if (NULL != str) { str 317 orte/orted/orted_submit.c orte_basename, project_name, str, PACKAGE_BUGREPORT); str 318 orte/orted/orted_submit.c free(str); str 611 orte/orted/orted_submit.c char *str = NULL, *args; str 620 orte/orted/orted_submit.c str = opal_show_help_string("help-orterun.txt", "orterun:usage", false, str 624 orte/orted/orted_submit.c if (NULL != str) { str 625 orte/orted/orted_submit.c printf("%s", str); str 626 orte/orted/orted_submit.c free(str); str 1811 orte/orted/orted_submit.c char *str, *str2; str 1813 orte/orted/orted_submit.c str = strdup(app->cwd); str 1817 orte/orted/orted_submit.c opal_asprintf(&str2, "%s:%s", str, value); str 1818 orte/orted/orted_submit.c free(str); str 1819 orte/orted/orted_submit.c str = str2; str 1825 orte/orted/orted_submit.c opal_asprintf(&str2, "%s:%s", str, value); str 1826 orte/orted/orted_submit.c free(str); str 1827 orte/orted/orted_submit.c str = str2; str 1830 orte/orted/orted_submit.c opal_argv_insert_element(&app->argv, 1, str); str 1831 orte/orted/orted_submit.c free(str); str 1887 orte/orted/orted_submit.c char *str; str 1888 orte/orted/orted_submit.c opal_asprintf(&str, fmt, app->argv[index], opal_install_dirs.libdir, jarfile); str 1890 orte/orted/orted_submit.c app->argv[index] = str; str 449 orte/runtime/data_type_support/orte_dt_print_fns.c char *str=NULL, *cpu_bitmap=NULL; str 481 orte/runtime/data_type_support/orte_dt_print_fns.c str = strdup("UNBOUND"); str 484 orte/runtime/data_type_support/orte_dt_print_fns.c opal_asprintf(&str, "%s:%s", tmp1, tmp2); str 489 orte/runtime/data_type_support/orte_dt_print_fns.c ORTE_VPID_PRINT(src->name.vpid), (NULL == str) ? "N/A" : str); str 490 orte/runtime/data_type_support/orte_dt_print_fns.c if (NULL != str) { str 491 orte/runtime/data_type_support/orte_dt_print_fns.c free(str); str 538 orte/runtime/data_type_support/orte_dt_print_fns.c if (NULL != str) { str 539 orte/runtime/data_type_support/orte_dt_print_fns.c free(str); str 190 orte/runtime/orte_data_server.c char **keys = NULL, *str; str 408 orte/runtime/orte_data_server.c if (ORTE_SUCCESS != (rc = opal_dss.unpack(buffer, &str, &count, OPAL_STRING))) { str 413 orte/runtime/orte_data_server.c opal_argv_append_nosize(&keys, str); str 414 orte/runtime/orte_data_server.c free(str); str 590 orte/runtime/orte_data_server.c if (ORTE_SUCCESS != (rc = opal_dss.unpack(buffer, &str, &count, OPAL_STRING))) { str 595 orte/runtime/orte_data_server.c opal_argv_append_nosize(&keys, str); str 596 orte/runtime/orte_data_server.c free(str); str 230 orte/tools/orte-clean/orte-clean.c char *str, *args = NULL; str 232 orte/tools/orte-clean/orte-clean.c str = opal_show_help_string("help-orte-clean.txt", "usage", true, str 234 orte/tools/orte-clean/orte-clean.c if (NULL != str) { str 235 orte/tools/orte-clean/orte-clean.c printf("%s", str); str 236 orte/tools/orte-clean/orte-clean.c free(str); str 83 orte/tools/orte-info/orte-info.c char *str; str 169 orte/tools/orte-info/orte-info.c char *str, *usage; str 173 orte/tools/orte-info/orte-info.c str = opal_show_help_string("help-orte-info.txt", "usage", true, str 175 orte/tools/orte-info/orte-info.c if (NULL != str) { str 176 orte/tools/orte-info/orte-info.c printf("%s", str); str 177 orte/tools/orte-info/orte-info.c free(str); str 256 orte/tools/orte-info/orte-info.c if (NULL == (str = (char*)opal_pointer_array_get_item(&mca_types, i))) { str 259 orte/tools/orte-info/orte-info.c orte_info_show_component_version(str, orte_info_component_all, str 84 orte/tools/orte-info/param.c char *type, *component, *str; str 121 orte/tools/orte-info/param.c if (NULL == (str = (char *)opal_pointer_array_get_item(&mca_types, i))) { str 124 orte/tools/orte-info/param.c if (0 == strcmp(str, type)) { str 319 orte/tools/orte-info/version.c char *str = NULL, *tmp; str 326 orte/tools/orte-info/version.c str = strdup(temp); str 329 orte/tools/orte-info/version.c opal_asprintf(&tmp, "%s%s", str, temp); str 330 orte/tools/orte-info/version.c free(str); str 331 orte/tools/orte-info/version.c str = tmp; str 334 orte/tools/orte-info/version.c opal_asprintf(&tmp, "%s%s", str, greek); str 335 orte/tools/orte-info/version.c free(str); str 336 orte/tools/orte-info/version.c str = tmp; str 339 orte/tools/orte-info/version.c opal_asprintf(&tmp, "%s%s", str, repo); str 340 orte/tools/orte-info/version.c free(str); str 341 orte/tools/orte-info/version.c str = tmp; str 350 orte/tools/orte-info/version.c str = strdup(greek); str 352 orte/tools/orte-info/version.c str = strdup(repo); str 355 orte/tools/orte-info/version.c if (NULL == str) { str 356 orte/tools/orte-info/version.c str = strdup(temp); str 359 orte/tools/orte-info/version.c return str; str 137 orte/tools/orte-server/orte-server.c char *str, *args = NULL; str 139 orte/tools/orte-server/orte-server.c str = opal_show_help_string("help-orte-server.txt", str 142 orte/tools/orte-server/orte-server.c if (NULL != str) { str 143 orte/tools/orte-server/orte-server.c printf("%s", str); str 144 orte/tools/orte-server/orte-server.c free(str); str 311 orte/util/name_fns.c char str[256]; str 312 orte/util/name_fns.c rc = orte_util_snprintf_jobid(str, 255, jobid); str 317 orte/util/name_fns.c *jobid_string = strdup(str); str 67 oshmem/mca/spml/ikrit/spml_ikrit_component.c char *str; str 69 oshmem/mca/spml/ikrit/spml_ikrit_component.c str = getenv(var); str 70 oshmem/mca/spml/ikrit/spml_ikrit_component.c if (NULL == str) { str 74 oshmem/mca/spml/ikrit/spml_ikrit_component.c if (NULL != strstr(str, "shm")) { str 75 oshmem/mca/spml/ikrit/spml_ikrit_component.c if (0 < opal_asprintf(&str, str 80 oshmem/mca/spml/ikrit/spml_ikrit_component.c str); str 81 oshmem/mca/spml/ikrit/spml_ikrit_component.c free(str); str 85 oshmem/mca/spml/ikrit/spml_ikrit_component.c if (NULL == strstr(str, "rc") && NULL == strstr(str, "dc")) { str 26 oshmem/util/oshmem_util.c char *buff, *str; str 34 oshmem/util/oshmem_util.c ret = opal_vasprintf(&str, format, args); str 37 oshmem/util/oshmem_util.c ret = opal_asprintf(&buff, "%s %s", prefix, str); str 45 oshmem/util/oshmem_util.c free(str); str 54 oshmem/util/oshmem_util.c char *buff, *str; str 61 oshmem/util/oshmem_util.c ret = opal_vasprintf(&str, format, args); str 64 oshmem/util/oshmem_util.c ret = opal_asprintf(&buff, "%s %s", prefix, str); str 72 oshmem/util/oshmem_util.c free(str); str 216 test/class/opal_hash_table.c char * str; str 217 test/class/opal_hash_table.c while (NULL != (str = remove_keys[j++])) { str 218 test/class/opal_hash_table.c opal_hash_table_set_value_uint32(table, atoi(str), remove_keys[j++]); str 220 test/class/opal_hash_table.c while (NULL != (str = remove_keys[j++])) { str 222 test/class/opal_hash_table.c opal_hash_table_set_value_uint32(table, atoi(str) + table->ht_capacity, remove_keys[j++]); str 225 test/class/opal_hash_table.c while (NULL != (str = remove_keys[j++])) { str 226 test/class/opal_hash_table.c opal_hash_table_remove_value_uint32(table, atoi(str)); str 223 test/class/opal_proc_table.c char * str; str 224 test/class/opal_proc_table.c while (NULL != (str = remove_keys[j++])) { str 225 test/class/opal_proc_table.c opal_hash_table_set_value_uint32(table, atoi(str), remove_keys[j++]); str 227 test/class/opal_proc_table.c while (NULL != (str = remove_keys[j++])) { str 229 test/class/opal_proc_table.c opal_hash_table_set_value_uint32(table, atoi(str) + table->ht_capacity, remove_keys[j++]); str 232 test/class/opal_proc_table.c while (NULL != (str = remove_keys[j++])) { str 233 test/class/opal_proc_table.c opal_hash_table_remove_value_uint32(table, atoi(str)); str 25 test/support/support.h #define TEST_AND_REPORT(res, exp_res, str) \ str 27 test/support/support.h else test_failure(str);