Home
last modified time | relevance | path

Searched refs:c_str (Results 1 – 19 of 19) sorted by relevance

/oneTBB/test/tbb/
H A Dtest_environment_whitebox.cpp53 utils::SetEnv(environment_variable_name, test_case.first.c_str()); in set_and_get_test_variable()
107 T expected_result = alternative_env_variable_checker(rand_string.c_str(), T()); in create_random_case()
133 cases.push_back(std::make_pair((std::string(large_length, ' ') + '1').c_str(), true)); in initialize_cases()
153 cases.push_back(std::make_pair(std::string(large_length, 'A').c_str(), wrong_result)); in initialize_cases()
165 cases.push_back(std::make_pair(ss.str().c_str(), i)); in initialize_cases()
169 cases.push_back(std::make_pair(ss.str().c_str(), i)); in initialize_cases()
173 cases.push_back(std::make_pair(ss.str().c_str(), i)); in initialize_cases()
177 cases.push_back(std::make_pair(ss.str().c_str(), i)); in initialize_cases()
182 cases.push_back(std::make_pair(ss.str().c_str(), LONG_MAX)); in initialize_cases()
185 cases.push_back(std::make_pair((std::string(large_length, ' ') + '1').c_str(), 1L)); in initialize_cases()
[all …]
H A Dtest_fuzzing.cpp31 _putenv_s(var, val.c_str()); in LLVMFuzzerTestOneInput()
33 setenv(var, val.c_str(), 1); in LLVMFuzzerTestOneInput()
H A Dtest_eh_flow_graph.cpp514 g_Wakeup_Msg = ss.str().c_str(); in run_one_functype_node_test()
H A Dtest_join_node.h224 INFO("\"" << i.c_str() << "\"" );
/oneTBB/examples/parallel_pipeline/square/
H A Dsquare.cpp182 fprintf(stderr, "Can't write into file '%s'\n", OutputFileName.c_str()); in operator ()()
191 FILE* input_file = fopen(InputFileName.c_str(), "r"); in run_pipeline()
193 throw std::invalid_argument(("Invalid input file name: " + InputFileName).c_str()); in run_pipeline()
196 FILE* output_file = fopen(OutputFileName.c_str(), "w"); in run_pipeline()
198 throw std::invalid_argument(("Invalid output file name: " + OutputFileName).c_str()); in run_pipeline()
245 generate_if_needed(InputFileName.c_str()); in main()
/oneTBB/examples/concurrent_hash_map/count_strings/
H A Dcount_strings.cpp34 for (const CharT* c = s.c_str(); *c; ++c) { in operator ()()
107 printf("%s %d\n", i->first.c_str(), i->second); in CountOccurrences()
235 planet.c_str(), in CreateData()
236 helloworld.c_str()); in CreateData()
/oneTBB/doc/main/tbb_userguide/
H A DMore_on_HashCompare.rst72 for(const char* s = x.c_str(); *s; s++)
79 strcasecmp(x.c_str(), y.c_str())==0;
H A Dconcurrent_hash_map.rst35 for( const char* s = x.c_str(); *s; ++s )
82 printf("%s %d\n",i->first.c_str(),i->second);
/oneTBB/test/common/
H A Ddoctest.h691 const char* c_str() const { return const_cast<String*>(this)->c_str(); } // NOLINT in c_str() function
692 char* c_str() { in c_str() function
907 const char* c_str() const { return content.string.c_str(); } in c_str() function
3808 char* cptr = c_str();
3816 return String{ c_str() + pos, cnt };
3820 const char* begin = c_str();
3829 const char* begin = c_str();
3839 return std::strcmp(c_str(), other);
3860 return strstr(other.c_str(), string.c_str()) != nullptr;
4540 return msg.c_str();
[all …]
/oneTBB/examples/graph/logic_sim/
H A Dbasics.hpp621 printf("%s: (*)\n", label.c_str()); in operator ()()
623 printf("%s: ( )\n", label.c_str()); in operator ()()
663 printf("%s: (*)\n", label.c_str()); in display()
665 printf("%s: ( )\n", label.c_str()); in display()
667 printf("%s: (u)\n", label.c_str()); in display()
707 printf("%s: %x\n", label.c_str(), state); in operator ()()
737 printf("%s: %x\n", label.c_str(), state); in display()
/oneTBB/examples/graph/cholesky/
H A Dcholesky.cpp143 name.c_str(), in check_if_valid()
194 matrix_write(A0, g_n, s.c_str(), true); in operator ()()
205 matrix_write(A0, g_n, s.c_str(), true); in operator ()()
209 name.c_str(), in operator ()()
699 matrix_write(A, g_n, s.c_str()); in main()
716 printf("ERROR: Invalid algorithm name: %s\n", g_alg_name.c_str()); in main()
/oneTBB/examples/graph/fgbzip2/
H A Dfgbzip2.cpp329 std::ifstream inputStream(inputFileName.c_str(), std::ios::in | std::ios::binary); in main()
336 std::ofstream outputStream(outputFileName.c_str(), in main()
/oneTBB/include/oneapi/tbb/detail/
H A D_hash_compare.h129 for ( const CharT* c = s.c_str(); *c; ++c ) {
/oneTBB/examples/getting_started/sub_string_finder/
H A Dsub_string_finder_extended.cpp108 SubStringFinder(to_scan.c_str(), num_elem, &max1[0], &pos1[0])); in main()
/oneTBB/examples/parallel_for/tachyon/src/
H A Dmain.cpp294 strcpy(opt.filename, filename.c_str()); in ParseCommandLine()
/oneTBB/include/oneapi/tbb/
H A Dprofiling.h207 …ta_str_add( ITT_DOMAIN_FLOW, nullptr, FLOW_NULL, USER_EVENT, ( "FGA::DATAID::" + input ).c_str() ); in emit_trace()
/oneTBB/examples/task_group/sudoku/
H A Dsudoku.cpp299 read_board(filename.c_str()); in main()
/oneTBB/test/tbbmalloc/
H A Dtest_malloc_overload.cpp507 REQUIRE(strcmp(stdstring.c_str(), "dependency on msvcpXX.dll") == 0);
/oneTBB/examples/parallel_for/polygon_overlay/
H A Dpolymain.cpp68 gCsvFile.open(fname_buf.c_str()); in main()