HomeSort by relevance Sort by last modified time
    Searched refs:c_str (Results 101 - 125 of 4313) sorted by null

1 2 3 45 6 7 8 91011>>

  /prebuilts/ndk/r11/sources/third_party/googletest/googletest/test/
gtest-options_test.cc 71 EXPECT_STREQ("", UnitTestOptions::GetOutputFormat().c_str());
76 EXPECT_STREQ("xml", UnitTestOptions::GetOutputFormat().c_str());
100 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str());
102 EXPECT_EQ(expected_output_file, output_file.c_str());
110 _strcmpi("gtest-options_test", exe_str.c_str()) == 0 ||
111 _strcmpi("gtest-options-ex_test", exe_str.c_str()) == 0 ||
112 _strcmpi("gtest_all_test", exe_str.c_str()) == 0 ||
113 _strcmpi("gtest_dll_test", exe_str.c_str()) == 0;
138 posix::ChDir(original_working_dir_.string().c_str());
    [all...]
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/input.output/file.streams/fstreams/fstream.assign/
move_assign.pass.cpp 26 std::fstream fso(temp.c_str(), std::ios_base::in | std::ios_base::out
36 std::remove(temp.c_str());
38 std::wfstream fso(temp.c_str(), std::ios_base::in | std::ios_base::out
48 std::remove(temp.c_str());
member_swap.pass.cpp 26 std::fstream fs1(temp1.c_str(), std::ios_base::in | std::ios_base::out
28 std::fstream fs2(temp2.c_str(), std::ios_base::in | std::ios_base::out
46 std::remove(temp1.c_str());
47 std::remove(temp2.c_str());
49 std::wfstream fs1(temp1.c_str(), std::ios_base::in | std::ios_base::out
51 std::wfstream fs2(temp2.c_str(), std::ios_base::in | std::ios_base::out
69 std::remove(temp1.c_str());
70 std::remove(temp2.c_str());
nonmember_swap.pass.cpp 27 std::fstream fs1(temp1.c_str(), std::ios_base::in | std::ios_base::out
29 std::fstream fs2(temp2.c_str(), std::ios_base::in | std::ios_base::out
47 std::remove(temp1.c_str());
48 std::remove(temp2.c_str());
50 std::wfstream fs1(temp1.c_str(), std::ios_base::in | std::ios_base::out
52 std::wfstream fs2(temp2.c_str(), std::ios_base::in | std::ios_base::out
70 std::remove(temp1.c_str());
71 std::remove(temp2.c_str());
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/input.output/file.streams/fstreams/fstream.cons/
pointer.pass.cpp 25 std::fstream fs(temp.c_str(), std::ios_base::in | std::ios_base::out
33 std::remove(temp.c_str());
35 std::wfstream fs(temp.c_str(), std::ios_base::in | std::ios_base::out
43 std::remove(temp.c_str());
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/input.output/file.streams/fstreams/fstream.members/
close.pass.cpp 27 fs.open(temp.c_str(), std::ios_base::out);
32 std::remove(temp.c_str());
36 fs.open(temp.c_str(), std::ios_base::out);
41 std::remove(temp.c_str());
open_pointer.pass.cpp 27 fs.open(temp.c_str(), std::ios_base::in | std::ios_base::out
36 std::remove(temp.c_str());
40 fs.open(temp.c_str(), std::ios_base::in | std::ios_base::out
49 std::remove(temp.c_str());
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/input.output/file.streams/fstreams/ofstream.members/
open_string.pass.cpp 35 std::ifstream fs(temp.c_str());
40 std::remove(temp.c_str());
52 std::wifstream fs(temp.c_str());
57 std::remove(temp.c_str());
  /prebuilts/ndk/r13/sources/third_party/googletest/googletest/test/
gtest-options_test.cc 71 EXPECT_STREQ("", UnitTestOptions::GetOutputFormat().c_str());
76 EXPECT_STREQ("xml", UnitTestOptions::GetOutputFormat().c_str());
100 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str());
102 EXPECT_EQ(expected_output_file, output_file.c_str());
110 _strcmpi("gtest-options_test", exe_str.c_str()) == 0 ||
111 _strcmpi("gtest-options-ex_test", exe_str.c_str()) == 0 ||
112 _strcmpi("gtest_all_test", exe_str.c_str()) == 0 ||
113 _strcmpi("gtest_dll_test", exe_str.c_str()) == 0;
138 posix::ChDir(original_working_dir_.string().c_str());
    [all...]
  /system/netd/server/
LocalNetwork.cpp 41 if (int ret = RouteController::addInterfaceToLocalNetwork(mNetId, interface.c_str())) {
42 ALOGE("failed to add interface %s to local netId %u", interface.c_str(), mNetId);
53 if (int ret = RouteController::removeInterfaceFromLocalNetwork(mNetId, interface.c_str())) {
54 ALOGE("failed to remove interface %s from local netId %u", interface.c_str(), mNetId);
  /frameworks/base/core/jni/
android_os_SELinux.cpp 119 context_c_str = context->c_str();
147 if (path.c_str() == NULL) {
152 if (context.c_str() == NULL) {
157 char *tmp = const_cast<char *>(context.c_str());
158 int ret = setfilecon(path.c_str(), tmp);
160 ALOGV("setFileCon(%s, %s) => %d", path.c_str(), context.c_str(), ret);
180 if (path.c_str() == NULL) {
185 int ret = getfilecon(path.c_str(), &tmp);
193 ALOGV("getFileCon(%s) => %s", path.c_str(), context.get())
    [all...]
  /system/vold/
PublicVolume.cpp 47 mDevPath = StringPrintf("/dev/block/vold/%s", getId().c_str());
66 if (!access(legacyPath.c_str(), R_OK | X_OK)
67 && access(securePath.c_str(), R_OK | X_OK)) {
68 if (rename(legacyPath.c_str(), securePath.c_str())) {
73 if (TEMP_FAILURE_RETRY(mkdir(securePath.c_str(), 0700))) {
113 mRawPath = StringPrintf("/mnt/media_rw/%s", stableName.c_str());
115 mFuseDefault = StringPrintf("/mnt/runtime/default/%s", stableName.c_str());
116 mFuseRead = StringPrintf("/mnt/runtime/read/%s", stableName.c_str());
117 mFuseWrite = StringPrintf("/mnt/runtime/write/%s", stableName.c_str());
    [all...]
  /art/compiler/optimizing/
induction_var_analysis_test.cc 268 EXPECT_STREQ("((1) * i + (0)):PrimInt", GetInductionInfo(store->InputAt(1), 0).c_str());
269 EXPECT_STREQ("((1) * i + (1)):PrimInt", GetInductionInfo(increment_[0], 0).c_str());
275 EXPECT_STREQ("((100) (TC-loop) ((0) < (100)))", GetTripCount(0).c_str());
300 EXPECT_STREQ("((1) * i + (100)):PrimInt", GetInductionInfo(add, 0).c_str());
301 EXPECT_STREQ("(( - (1)) * i + (100)):PrimInt", GetInductionInfo(sub, 0).c_str());
302 EXPECT_STREQ("((100) * i + (0)):PrimInt", GetInductionInfo(mul, 0).c_str());
303 EXPECT_STREQ("((2) * i + (0)):PrimInt", GetInductionInfo(shl, 0).c_str());
304 EXPECT_STREQ("(( - (1)) * i + (0)):PrimInt", GetInductionInfo(neg, 0).c_str());
330 GetInductionInfo(k_header, 0).c_str());
332 GetInductionInfo(store1->InputAt(1), 0).c_str());
    [all...]
  /build/kati/
stmt.cc 30 expr->DebugString().c_str(),
32 after_term->DebugString().c_str(),
52 lhs->DebugString().c_str(),
53 rhs->DebugString().c_str(),
54 NoLineBreak(orig_rhs.as_string()).c_str(),
73 expr->DebugString().c_str(), LOCF(loc()));
86 lhs->DebugString().c_str(),
87 rhs->DebugString().c_str(),
95 expr->DebugString().c_str(), LOCF(loc()));
100 expr->DebugString().c_str(),
    [all...]
  /external/compiler-rt/test/tsan/
ignore_lib2.cc 19 dlopen(lib0.c_str(), RTLD_GLOBAL | RTLD_NOW);
20 dlopen(lib1.c_str(), RTLD_GLOBAL | RTLD_NOW);
  /external/google-breakpad/src/common/windows/
string_utils.cc 56 if ((err = mbstowcs_s(&wcs_length, NULL, 0, mbs.c_str(), _TRUNCATE)) != 0) {
61 if ((wcs_length = mbstowcs(NULL, mbs.c_str(), mbs.length())) == (size_t)-1) {
73 if ((err = mbstowcs_s(NULL, &wcs_v[0], wcs_length, mbs.c_str(),
78 if (mbstowcs(&wcs_v[0], mbs.c_str(), mbs.length()) == (size_t)-1) {
99 if ((err = wcstombs_s(&mbs_length, NULL, 0, wcs.c_str(), _TRUNCATE)) != 0) {
104 if ((mbs_length = wcstombs(NULL, wcs.c_str(), wcs.length())) == (size_t)-1) {
116 if ((err = wcstombs_s(NULL, &mbs_v[0], mbs_length, wcs.c_str(),
121 if (wcstombs(&mbs_v[0], wcs.c_str(), wcs.length()) == (size_t)-1) {
  /external/libcxx/test/std/input.output/file.streams/fstreams/fstream.assign/
member_swap.pass.cpp 26 std::fstream fs1(temp1.c_str(), std::ios_base::in | std::ios_base::out
28 std::fstream fs2(temp2.c_str(), std::ios_base::in | std::ios_base::out
46 std::remove(temp1.c_str());
47 std::remove(temp2.c_str());
49 std::wfstream fs1(temp1.c_str(), std::ios_base::in | std::ios_base::out
51 std::wfstream fs2(temp2.c_str(), std::ios_base::in | std::ios_base::out
69 std::remove(temp1.c_str());
70 std::remove(temp2.c_str());
nonmember_swap.pass.cpp 27 std::fstream fs1(temp1.c_str(), std::ios_base::in | std::ios_base::out
29 std::fstream fs2(temp2.c_str(), std::ios_base::in | std::ios_base::out
47 std::remove(temp1.c_str());
48 std::remove(temp2.c_str());
50 std::wfstream fs1(temp1.c_str(), std::ios_base::in | std::ios_base::out
52 std::wfstream fs2(temp2.c_str(), std::ios_base::in | std::ios_base::out
70 std::remove(temp1.c_str());
71 std::remove(temp2.c_str());
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/fstream.assign/
member_swap.pass.cpp 26 std::fstream fs1(temp1.c_str(), std::ios_base::in | std::ios_base::out
28 std::fstream fs2(temp2.c_str(), std::ios_base::in | std::ios_base::out
46 std::remove(temp1.c_str());
47 std::remove(temp2.c_str());
49 std::wfstream fs1(temp1.c_str(), std::ios_base::in | std::ios_base::out
51 std::wfstream fs2(temp2.c_str(), std::ios_base::in | std::ios_base::out
69 std::remove(temp1.c_str());
70 std::remove(temp2.c_str());
nonmember_swap.pass.cpp 27 std::fstream fs1(temp1.c_str(), std::ios_base::in | std::ios_base::out
29 std::fstream fs2(temp2.c_str(), std::ios_base::in | std::ios_base::out
47 std::remove(temp1.c_str());
48 std::remove(temp2.c_str());
50 std::wfstream fs1(temp1.c_str(), std::ios_base::in | std::ios_base::out
52 std::wfstream fs2(temp2.c_str(), std::ios_base::in | std::ios_base::out
70 std::remove(temp1.c_str());
71 std::remove(temp2.c_str());
  /cts/tests/tests/security/jni/
android_security_cts_MMapExecutableTest.cpp 42 int fd = open(filename.c_str(), O_RDONLY);
44 ALOGE("open %s: %s", filename.c_str(), strerror(errno));
50 ALOGE("fstat %s: %s", filename.c_str(), strerror(errno));
55 ALOGE("file %s is too small", filename.c_str());
63 ALOGE("mmap %s: %s", filename.c_str(), strerror(errno));
68 ALOGE("munmap %s: %s", filename.c_str(), strerror(errno));
  /external/bsdiff/
bsdiff_unittest.cc 36 EXPECT_EQ(0, bsdiff(old_file_.filename().c_str(),
37 new_file_.filename().c_str(),
38 patch_file_.filename().c_str()));
52 EXPECT_EQ(0, bsdiff(old_file_.filename().c_str(),
53 new_file_.filename().c_str(),
54 patch_file_.filename().c_str()));
  /external/libcxx/test/std/input.output/file.streams/fstreams/filebuf.members/
open_pointer.pass.cpp 23 assert(f.open(temp.c_str(), std::ios_base::out) != 0);
29 assert(f.open(temp.c_str(), std::ios_base::in) != 0);
35 std::remove(temp.c_str());
38 assert(f.open(temp.c_str(), std::ios_base::out) != 0);
44 assert(f.open(temp.c_str(), std::ios_base::in) != 0);
50 remove(temp.c_str());
  /external/libtextclassifier/tests/
numbers_test.cc 25 void TestParseInt32(const char *c_str, bool expected_parsing_success,
28 EXPECT_EQ(expected_parsing_success, ParseInt32(c_str, &parsed_value));
51 void TestParseInt64(const char *c_str, bool expected_parsing_success,
54 EXPECT_EQ(expected_parsing_success, ParseInt64(c_str, &parsed_value));
77 void TestParseDouble(const char *c_str, bool expected_parsing_success,
80 EXPECT_EQ(expected_parsing_success, ParseDouble(c_str, &parsed_value));
  /external/skia/samplecode/
SampleSVGFile.cpp 22 : fPath(path), fLabel(SkStringPrintf("[%s]", SkOSPath::Basename(path.c_str()).c_str())) {}
27 SkFILEStream svgStream(fPath.c_str());
29 SkDebugf("file not found: \"path\"\n", fPath.c_str());
35 SkDebugf("XML parsing failed: \"path\"\n", fPath.c_str());
61 SampleCode::TitleR(evt, fLabel.c_str());

Completed in 364 milliseconds

1 2 3 45 6 7 8 91011>>