/external/webrtc/webrtc/tools/frame_editing/ |
frame_editing_lib.cc | 33 FILE* in_fid = fopen(in_path.c_str() , "rb"); 35 fprintf(stderr, "Could not read input file: %s.\n", in_path.c_str()); 44 FILE* out_fid = fopen(out_path.c_str(), "wb"); 47 fprintf(stderr, "Could not open output file: %s.\n", out_path.c_str());
|
/frameworks/av/media/libstagefright/foundation/ |
ParsedMessage.cpp | 71 *value = strtol(stringValue.c_str(), &end, 10); 73 if (end == stringValue.c_str() || *end != '\0') { 82 return mContent.c_str(); 124 if (line.c_str()[0] == ' ' || line.c_str()[0] == '\t') { 214 *statusCode = strtol(statusCodeString.c_str(), &end, 10); 216 if (*end != '\0' || end == statusCodeString.c_str() 291 *value = strtol(stringValue.c_str(), &end, 10); 293 if (end == stringValue.c_str() || *end != '\0') {
|
/ndk/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();
|
/ndk/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());
|
/ndk/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());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/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());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/fstream.members/ |
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());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/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/misc/common/swig/include/2.0.11/pike/ |
std_string.i | 35 %typemap(out, pikedesc="tStr") string "push_text($1.c_str());"; 37 %typemap(out, pikedesc="tStr") const string & "push_text($1->c_str());"; 39 %typemap(directorin) string, const string &, string & "$1.c_str()"; 41 %typemap(directorin) string *, const string * "$1->c_str()";
|
/system/core/init/ |
keyword_map.h | 41 *err = StringPrintf("invalid keyword '%s'", keyword.c_str()); 51 keyword.c_str(), min_args, 59 keyword.c_str(), min_args, 63 keyword.c_str(), min_args, max_args);
|
/system/extras/simpleperf/ |
utils.cpp | 52 strcpy(cur_, s.c_str()); 60 int fd = TEMP_FAILURE_RETRY(open(filename.c_str(), O_RDONLY | O_BINARY)); 65 int fd = TEMP_FAILURE_RETRY(open(filename.c_str(), O_WRONLY | O_BINARY | O_CREAT, 0644)); 110 DIR* dir = opendir(dirpath.c_str()); 135 if (stat(dirpath.c_str(), &st) == 0) { 145 if (stat(filename.c_str(), &st) == 0) { 155 if (stat(filename.c_str(), &st) == 0) { 171 int ret = mkdir(dir_path.c_str()); 173 int ret = mkdir(dir_path.c_str(), 0755);
|
/external/google-breakpad/src/testing/gtest/src/ |
gtest-filepath.cc | 120 if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) { 121 return FilePath(String(pathname_.c_str(), pathname_.length() - 4)); 130 const char* const last_sep = strrchr(c_str(), kPathSeparator); 132 const char* const last_alt_sep = strrchr(c_str(), kAlternatePathSeparator); 163 dir = String(c_str(), last_sep + 1 - c_str()); 182 file = String::Format("%s.%s", base_name.c_str(), extension); 184 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension); 196 return FilePath(String::Format("%s%c%s", dir.c_str(), kPathSeparator, 197 relative_path.c_str())); [all...] |
/external/llvm/utils/unittest/googletest/src/ |
gtest-filepath.cc | 118 if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) { 119 return FilePath(String(pathname_.c_str(), pathname_.length() - 4)); 128 const char* const last_sep = strrchr(c_str(), kPathSeparator); 130 const char* const last_alt_sep = strrchr(c_str(), kAlternatePathSeparator); 161 dir = String(c_str(), last_sep + 1 - c_str()); 180 file = String::Format("%s.%s", base_name.c_str(), extension); 182 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension); 194 return FilePath(String::Format("%s%c%s", dir.c_str(), kPathSeparator, 195 relative_path.c_str())); [all...] |
/external/mesa3d/src/gtest/src/ |
gtest-filepath.cc | 120 if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) { 121 return FilePath(String(pathname_.c_str(), pathname_.length() - 4)); 130 const char* const last_sep = strrchr(c_str(), kPathSeparator); 132 const char* const last_alt_sep = strrchr(c_str(), kAlternatePathSeparator); 163 dir = String(c_str(), last_sep + 1 - c_str()); 182 file = String::Format("%s.%s", base_name.c_str(), extension); 184 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension); 196 return FilePath(String::Format("%s%c%s", dir.c_str(), kPathSeparator, 197 relative_path.c_str())); [all...] |
/external/protobuf/gtest/src/ |
gtest-filepath.cc | 120 if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) { 121 return FilePath(String(pathname_.c_str(), pathname_.length() - 4)); 130 const char* const last_sep = strrchr(c_str(), kPathSeparator); 132 const char* const last_alt_sep = strrchr(c_str(), kAlternatePathSeparator); 163 dir = String(c_str(), last_sep + 1 - c_str()); 182 file = String::Format("%s.%s", base_name.c_str(), extension); 184 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension); 196 return FilePath(String::Format("%s%c%s", dir.c_str(), kPathSeparator, 197 relative_path.c_str())); [all...] |
/external/webrtc/webrtc/base/ |
unixfilesystem.cc | 99 int res = ::stat(pathname.c_str(), &st); 118 return (0 == ::mkdir(pathname.c_str(), mode)); 128 if (fs && !fs->Open(filename.pathname().c_str(), mode.c_str(), NULL)) { 136 int fd = open(filename.pathname().c_str(), 158 return ::unlink(filename.pathname().c_str()) == 0; 169 return ::rmdir(no_slash.c_str()) == 0; 211 snprintf(tempname, len, "%s/%sXXXXXX", dir.pathname().c_str(), 212 prefix.c_str()); 230 if (rename(old_path.pathname().c_str(), new_path.pathname().c_str()) != 0) [all...] |
/frameworks/av/media/libstagefright/wifi-display/source/ |
WifiDisplaySource.cpp | 156 const char *s = iface.c_str() + colonPos + 1; 171 if (inet_aton(iface.c_str(), &mInterfaceAddr) != 0) { 209 detail.c_str(), 578 mNetSession->sendRequest(sessionID, request.c_str(), request.size()); 608 mNetSession->sendRequest(sessionID, request.c_str(), request.size()); 653 mClientInfo.mLocalIP.c_str())); 657 "wfd_client_rtp_ports: %s\r\n", mWfdClientRtpPorts.c_str())); 668 mNetSession->sendRequest(sessionID, request.c_str(), request.size()); 714 mNetSession->sendRequest(sessionID, request.c_str(), request.size()); 738 mNetSession->sendRequest(sessionID, request.c_str(), request.size()) [all...] |
/external/skia/src/svg/parser/ |
SkSVGPaintState.cpp | 122 const char* idStart = strchr(current.f_mask.c_str(), '#'); 125 bool itsFound = parser.fIDs.find(id.c_str(), &found); 149 if (current.f_fill.equals("none") == false && strncmp(current.f_fill.c_str(), "url(#", 5) != 0) { 150 SkASSERT(current.f_fill.c_str()[0] == '#'); 152 replacement.append(current.f_fill.c_str() + 1); 156 if (current.f_stroke.equals("none") == false && strncmp(current.f_stroke.c_str(), "url(#", 5) != 0) { 157 SkASSERT(current.f_stroke.c_str()[0] == '#'); 159 replacement.append(current.f_stroke.c_str() + 1); 204 const char* str = lastAttr->c_str(); 212 SkParse::FindScalars(mat.c_str() + 1, values, 6) [all...] |
/external/webrtc/webrtc/libjingle/xmpp/ |
xmpplogintask_unittest.cc | 102 engine_->HandleInput(input.c_str(), input.length()); 115 engine_->HandleInput(input.c_str(), input.length()); 127 engine_->HandleInput(input.c_str(), input.length()); 143 engine_->HandleInput(input.c_str(), input.length()); 159 engine_->HandleInput(input.c_str(), input.length()); 176 engine_->HandleInput(input.c_str(), input.length()); 191 engine_->HandleInput(input.c_str(), input.length()); 205 engine_->HandleInput(input.c_str(), input.length()); 220 engine_->HandleInput(input.c_str(), input.length()); 233 engine_->HandleInput(input.c_str(), input.length()) [all...] |
/system/extras/perfprofd/ |
perfprofdcore.cc | 196 if (access(config.getStringValue("config_directory").c_str(), F_OK) == -1) { 198 config.getStringValue("config_directory").c_str(), strerror(errno)); 206 if (access(semaphore_filepath.c_str(), F_OK) == -1) { 212 if (access(pp.c_str(), R_OK|X_OK) == -1) { 213 W_ALOGW("unable to access/execute %s", pp.c_str()); 349 DIR* dir = opendir(psdir.c_str()); 351 W_ALOGE("Failed to open dir %s (%s)", psdir.c_str(), strerror(errno)); 361 if (android::base::ReadFileToString(online_path.c_str(), &contents) && 362 sscanf(contents.c_str(), "%d", &value) == 1) { 381 int rc = sscanf(pscontents.c_str(), "cpu %lu %lu %lu %lu %lu %lu %lu" [all...] |
/build/kati/ |
main.cc | 94 JoinStrings(g_flags.subkati_args, " ").c_str()); 97 JoinSymbols(targets, " ").c_str()); 152 LOG("%s", stmt->DebugString().c_str()); 165 LOG("%s", stmt->DebugString().c_str()); 172 LOCF(err->loc()), err->msg.c_str()); 195 LOG("setenv(%s, %s)", name.c_str(), value.c_str()); 196 setenv(name.c_str(), value.c_str(), 1); 198 LOG("unsetenv(%s)", name.c_str()); [all...] |
/external/skia/gm/ |
arcto.cpp | 128 sk_fwrite(str.c_str(), str.size(), file); 139 sk_fwrite(str.c_str(), str.size(), file); 141 sk_fwrite(str.c_str(), str.size(), file); 143 sk_fwrite(str.c_str(), str.size(), file); 145 sk_fwrite(str.c_str(), str.size(), file); 158 SkAssertResult(SkParsePath::FromSVGString(spec.c_str(), &path)); 166 sk_fwrite(str.c_str(), str.size(), file); 167 sk_fwrite(spec.c_str(), spec.size(), file); 170 sk_fwrite(str.c_str(), str.size(), file); 172 sk_fwrite(str.c_str(), str.size(), file) [all...] |
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/ |
bwe_test_logging.cc | 84 printf("%s\t", state.tag.c_str()); 112 printf("PLOT\t%d\t%s\t%f\t%f\n", figure, label.c_str(), 126 printf("BAR\t%d\t%s_%d\t%f\n", figure, name.c_str(), flow_id, value); 139 printf("BASELINE\t%d\t%s_%d\t%f\n", figure, name.c_str(), flow_id, value); 155 printf("ERRORBAR\t%d\t%s_%d\t%f\t%f\t%f\t%s\n", figure, name.c_str(), 156 flow_id, value, ylow, yhigh, error_title.c_str()); 175 name.c_str(), flow_id, value, ylow, yhigh, error_title.c_str(), ymax, 176 limit_title.c_str()); 189 printf("LABEL\t%d\t%s\t%s\t%d\n", figure, title.c_str(), y_label.c_str() [all...] |