/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/src/ |
stdexcept.cpp | 30 logic_error::logic_error(const string& msg) : __imp_(msg.c_str()) 58 return __imp_.c_str(); 63 runtime_error::runtime_error(const string& msg) : __imp_(msg.c_str()) 92 return __imp_.c_str();
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/filebuf.assign/ |
member_swap.pass.cpp | 26 assert(f.open(temp.c_str(), std::ios_base::out | std::ios_base::in 38 std::remove(temp.c_str()); 41 assert(f.open(temp.c_str(), std::ios_base::out | std::ios_base::in 53 std::remove(temp.c_str());
|
move_assign.pass.cpp | 27 assert(f.open(temp.c_str(), std::ios_base::out | std::ios_base::in 39 std::remove(temp.c_str()); 42 assert(f.open(temp.c_str(), std::ios_base::out | std::ios_base::in 54 std::remove(temp.c_str());
|
nonmember_swap.pass.cpp | 28 assert(f.open(temp.c_str(), std::ios_base::out | std::ios_base::in 40 std::remove(temp.c_str()); 43 assert(f.open(temp.c_str(), std::ios_base::out | std::ios_base::in 55 std::remove(temp.c_str());
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/filebuf.cons/ |
move.pass.cpp | 27 assert(f.open(temp.c_str(), std::ios_base::out | std::ios_base::in 38 std::remove(temp.c_str()); 41 assert(f.open(temp.c_str(), std::ios_base::out | std::ios_base::in 52 std::remove(temp.c_str());
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.bad_optional_access/ |
string.pass.cpp | 27 assert(std::strcmp(e.what(), s.c_str()) == 0);
|
/prebuilts/ndk/r11/sources/third_party/googletest/googletest/src/ |
gtest-filepath.cc | 132 const char* const last_sep = strrchr(c_str(), kPathSeparator); 134 const char* const last_alt_sep = strrchr(c_str(), kAlternatePathSeparator); 165 dir = std::string(c_str(), last_sep + 1 - c_str()); 206 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); 212 return posix::Stat(pathname_.c_str(), &file_stat) == 0; 230 LPCWSTR unicode = String::AnsiToUtf16(path.c_str()); 239 result = posix::Stat(path.c_str(), &file_stat) == 0 && 255 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]); 261 const char* const name = pathname_.c_str(); [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/src/ |
stdexcept.cpp | 26 logic_error::logic_error(const string& msg) : __imp_(msg.c_str()) 54 return __imp_.c_str(); 59 runtime_error::runtime_error(const string& msg) : __imp_(msg.c_str()) 88 return __imp_.c_str();
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/input.output/file.streams/fstreams/filebuf.assign/ |
member_swap.pass.cpp | 26 assert(f.open(temp.c_str(), std::ios_base::out | std::ios_base::in 38 std::remove(temp.c_str()); 41 assert(f.open(temp.c_str(), std::ios_base::out | std::ios_base::in 53 std::remove(temp.c_str());
|
move_assign.pass.cpp | 27 assert(f.open(temp.c_str(), std::ios_base::out | std::ios_base::in 39 std::remove(temp.c_str()); 42 assert(f.open(temp.c_str(), std::ios_base::out | std::ios_base::in 54 std::remove(temp.c_str());
|
nonmember_swap.pass.cpp | 28 assert(f.open(temp.c_str(), std::ios_base::out | std::ios_base::in 40 std::remove(temp.c_str()); 43 assert(f.open(temp.c_str(), std::ios_base::out | std::ios_base::in 55 std::remove(temp.c_str());
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/input.output/file.streams/fstreams/filebuf.cons/ |
move.pass.cpp | 27 assert(f.open(temp.c_str(), std::ios_base::out | std::ios_base::in 38 std::remove(temp.c_str()); 41 assert(f.open(temp.c_str(), std::ios_base::out | std::ios_base::in 52 std::remove(temp.c_str());
|
/prebuilts/ndk/r13/sources/third_party/googletest/googletest/src/ |
gtest-filepath.cc | 132 const char* const last_sep = strrchr(c_str(), kPathSeparator); 134 const char* const last_alt_sep = strrchr(c_str(), kAlternatePathSeparator); 165 dir = std::string(c_str(), last_sep + 1 - c_str()); 206 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); 212 return posix::Stat(pathname_.c_str(), &file_stat) == 0; 230 LPCWSTR unicode = String::AnsiToUtf16(path.c_str()); 239 result = posix::Stat(path.c_str(), &file_stat) == 0 && 255 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]); 261 const char* const name = pathname_.c_str(); [all...] |
/system/core/debuggerd/libdebuggerd/ |
open_files_list.cpp | 40 std::unique_ptr<DIR, int (*)(DIR*)> dir(opendir(fd_dir_name.c_str()), closedir); 42 ALOGE("failed to open directory %s: %s", fd_dir_name.c_str(), strerror(errno)); 58 ALOGE("failed to readlink %s: %s", path.c_str(), strerror(errno)); 66 _LOG(log, logtype::OPEN_FILES, "%sfd %i: %s\n", prefix, file.first, file.second.c_str());
|
/system/core/init/ |
keyword_map.h | 49 *err = StringPrintf("invalid keyword '%s'", keyword.c_str()); 59 keyword.c_str(), min_args, 67 keyword.c_str(), min_args, 71 keyword.c_str(), min_args, max_args);
|
/system/core/libcutils/tests/ |
android_get_control_file_test.cpp | 40 EXPECT_EQ(unsetenv(key.c_str()), 0); 43 EXPECT_EQ(setenv(key.c_str(), android::base::StringPrintf("%d", tf.fd).c_str(), true), 0); 48 EXPECT_EQ(unsetenv(key.c_str()), 0);
|
/system/libhidl/transport/include/hidl/ |
LegacySupport.h | 40 Interface::descriptor, name.c_str()); 45 Interface::descriptor, name.c_str()); 51 Interface::descriptor, name.c_str()); 54 Interface::descriptor, name.c_str(), status);
|
/system/netd/server/ |
BandwidthController.cpp | 263 "COMMIT\n", chainName, criticalCommands.c_str(), chainName, op); 298 StringAppendF(&cmd, "%s %s -m owner --uid-owner %s%s\n", opToString(op), chain.c_str(), 299 appStrUid.c_str(), jumpToString(jumpHandling)); 329 StringPrintf("-I bw_INPUT %d -i %s --jump %s", ruleInsertPos, iface.c_str(), chain), 330 StringPrintf("-I bw_OUTPUT %d -o %s --jump %s", ruleInsertPos, iface.c_str(), chain), 331 StringPrintf("-A bw_FORWARD -o %s --jump %s", iface.c_str(), chain), 373 ALOGE("No such iface %s to delete", iface.c_str()); 379 StringPrintf("-D bw_INPUT -i %s --jump %s", iface.c_str(), chain), 380 StringPrintf("-D bw_OUTPUT -o %s --jump %s", iface.c_str(), chain), 381 StringPrintf("-D bw_FORWARD -o %s --jump %s", iface.c_str(), chain) [all...] |
/toolchain/binutils/binutils-2.25/gold/ |
nacl.cc | 43 gold_error(_("%s: %s"), this->file_.filename().c_str(), buf);
|
/external/boringssl/src/fipstools/ |
cavp_ctr_drbg_test.cc | 40 strtoul(entropy_input_len.c_str(), nullptr, 0) != 54 entropy.size() * 8 != strtoul(entropy_input_len.c_str(), nullptr, 0) || 57 strtoul(personalization_str_len.c_str(), nullptr, 0) || 59 ai1.size() * 8 != strtoul(additional_input_len.c_str(), nullptr, 0)) { 69 uint64_t out_len = strtoul(returned_bits_len.c_str(), nullptr, 0); 83 printf("%s", t->CurrentTestToString().c_str()); 85 EncodeHex(out.data(), out.size()).c_str());
|
/external/libcxx/utils/google-benchmark/src/ |
console_reporter.cc | 76 result.benchmark_name.c_str()); 80 result.error_message.c_str()); 102 printer(Out, COLOR_YELLOW, "%10.2f %s %10.2f %s ", real_time, big_o.c_str(), 103 cpu_time, big_o.c_str()); 118 printer(Out, COLOR_DEFAULT, " %*s", 13, rate.c_str()); 122 printer(Out, COLOR_DEFAULT, " %*s", 18, items.c_str()); 126 printer(Out, COLOR_DEFAULT, " %s", result.report_label.c_str());
|
/external/skia/bench/ |
ResultsWriter.h | 102 fResults[id.c_str()] = Json::Value(Json::objectValue); 103 fBench = &fResults[id.c_str()]; 133 SkString dirname = SkOSPath::Dirname(fFilename.c_str()); 134 if (!sk_exists(dirname.c_str(), kWrite_SkFILE_Flag)) { 135 if (!sk_mkdir(dirname.c_str())) { 139 SkFILEWStream stream(fFilename.c_str()); 140 stream.writeText(Json::StyledWriter().write(fRoot).c_str());
|
/system/tools/aidl/ |
type_namespace.cpp | 108 filename.c_str(), raw_type.GetLine(), 109 raw_type.ToString().c_str()) 122 filename.c_str(), a.GetLine(), a.GetName().c_str(), arg_index); 137 a.GetType().ToString().c_str()); 145 a.ToString().c_str()); 150 if (is_java_keyword(a.GetName().c_str())) {
|
/bionic/tools/versioner/src/ |
SymbolDatabase.cpp | 42 errx(1, "failed to open library at %s: %s\n", filename.c_str(), 43 llvm::toString(binaryOrError.takeError()).c_str()); 48 errx(1, "failed to parse %s as ELF", filename.c_str()); 55 errx(1, "failed to get symbol name for symbol in %s: %s", filename.c_str(), 56 llvm::toString(symbolNameOrError.takeError()).c_str()); 90 errx(1, "failed to find platform file '%s' for %s", filename.c_str(), to_string(type).c_str()); 116 errx(1, "internal error: unexpected platform filename '%s'\n", file.str().c_str()); 134 printf("duplicated symbol '%s' in '%s'\n", symbol_name.str().c_str(), file.str().c_str()); [all...] |
/external/skia/src/sksl/ |
SkSLString.cpp | 57 return !strncmp(c_str(), s, strlen(s)); 65 return !strncmp(c_str() + size() - len, s, len); 81 return this->size() == s.size() && !memcmp(c_str(), s.c_str(), this->size()); 89 return this->size() == strlen(s) && !memcmp(c_str(), s, this->size()); 121 return String(buffer.str().c_str()); 127 return String(buffer.str().c_str()); 152 long result = strtoul(s.c_str(), &p, 0); 160 std::string str(s.c_str(), s.size()); 171 long result = strtoul(s.c_str(), &p, 0) [all...] |