/external/webrtc/webrtc/test/testsupport/ |
fileutils.cc | 93 strncpy(relative_dir_path, temp_path.c_str(), FILENAME_MAX); 99 return stat(file_name.c_str(), &file_info) == 0; 171 if (::GetTempFileName(ToUtf16(dir).c_str(), 172 ToUtf16(prefix).c_str(), 0, filename) != 0) 180 snprintf(tempname.get(), len, "%s/%sXXXXXX", dir.c_str(), 181 prefix.c_str()); 197 if (stat(directory_name.c_str(), &path_info) == 0) { 201 directory_name.c_str()); 206 return _mkdir(directory_name.c_str()) == 0; 208 return mkdir(directory_name.c_str(), S_IRWXU | S_IRWXG | S_IRWXO) == 0 [all...] |
/system/core/adb/ |
adb_client.cpp | 106 D("Switch transport failed: %s", error->c_str()); 135 D("_adb_connect: %s", service.c_str()); 149 reason.c_str()); 156 reason.c_str()); 187 D("adb_connect: service %s", service.c_str()); 226 version_string.c_str()); 248 fprintf(stderr, "error: %s\n", error->c_str()); 264 D("_adb_connect error: %s", error->c_str()); 278 fprintf(stderr, "error: %s\n", error.c_str()); 283 fprintf(stderr, "error: %s\n", error.c_str()); [all...] |
/external/opencv3/modules/videoio/test/ |
test_video_io.cpp | 153 ts->printf(ts->LOG, "reading image : %s\n", _name.c_str()); 189 string full_name = cv::tempfile(ext.c_str()); 190 ts->printf(ts->LOG, " full_name : %s\n", full_name.c_str()); 197 ts->printf(ts->LOG, "Reading failed at fmt=%s\n", ext.c_str()); 206 ts->printf(ts->LOG, "Reading image from file: too big difference (=%g) with fmt=%s\n", psnr, ext.c_str()); 213 FILE *f = fopen(full_name.c_str(), "rb"); 226 ts->printf(ts->LOG, "Encoding failed with fmt=%s\n", ext.c_str()); 235 ts->printf(ts->LOG, "Decoding failed with fmt=%s\n", ext.c_str()); 244 ts->printf(ts->LOG, "Decoding image from memory: too small PSNR (=%gdb) with fmt=%s\n", psnr, ext.c_str()); 259 string tmp_name = cv::tempfile((cvtest::fourccToString(fmt.fourcc) + "." + fmt.ext).c_str()); [all...] |
test_basic_props.cpp | 65 TS::ptr()->printf(cvtest::TS::LOG, "\n\nSource files directory: %s\n", (src_dir+"video/").c_str()); 73 TS::ptr()->printf(cvtest::TS::LOG, "\nFile information (video %d): \n\nName: big_buck_bunny.%s\nFAILED\n\n", i+1, ext[i].c_str()); 89 TS::ptr()->printf(cvtest::TS::LOG, "\n\nSource files directory: %s\n", (src_dir+"video/").c_str()); 97 TS::ptr()->printf(cvtest::TS::LOG, "\nFile information (video %d): \n\nName: big_buck_bunny.%s\nFAILED\n\n", i+1, ext[i].c_str()); 116 TS::ptr()->printf(cvtest::TS::LOG, "\n\nSource files directory: %s\n", (src_dir+"video/").c_str()); 124 TS::ptr()->printf(cvtest::TS::LOG, "\nFile information (video %d): \n\nName: big_buck_bunny.%s\nFAILED\n\n", i+1, ext[i].c_str()); 139 TS::ptr()->printf(cvtest::TS::LOG, "\n\nSource files directory: %s\n", (src_dir+"video/").c_str()); 147 TS::ptr()->printf(cvtest::TS::LOG, "\nFile information (video %d): \n\nName: big_buck_bunny.%s\nFAILED\n\n", i+1, ext[i].c_str());
|
/frameworks/native/opengl/tests/hwc/ |
hwcRects.cpp | 280 "closing >] in: %s", rectDesc.c_str()); 373 testPrintE("Error parsing format from: %s", rectStr.c_str()); 376 format = hwcTestGraphicFormatLookup(str.c_str()); 378 testPrintE("Unknown graphic format in: %s", rectStr.c_str()); 386 testPrintE("Invalid display frame in: %s", rectStr.c_str()); 411 rectStr.c_str()); 433 testPrintE("Unknown transform of \"%s\" in: %s", str.c_str(), 434 rectStr.c_str()); 448 testPrintE("Unknown blend of \"%s\" in: %s", str.c_str(), 449 rectStr.c_str()); [all...] |
/art/runtime/ |
oat_file.cc | 175 file_path.c_str(), 176 symbol_error_msg.c_str()); 192 file_path.c_str(), 193 symbol_error_msg.c_str()); 206 *error_msg = StringPrintf("Failed to find oatbasslastword symbol in '%s'", file_path.c_str()); 240 GetLocation().c_str(), 241 cause.c_str()); 247 *error_msg = StringPrintf("In oat file '%s' found truncated OatHeader", GetLocation().c_str()); 255 GetLocation().c_str(), 272 GetLocation().c_str(), [all...] |
/art/runtime/base/ |
to_str.h | 35 const char* c_str() const { function in class:art::ToStr 36 return s_.c_str();
|
/art/test/570-checker-osr/ |
osr.cc | 68 CHECK(chars.c_str() != nullptr); 70 OsrVisitor visitor(soa.Self(), chars.c_str()); 83 CHECK(chars.c_str() != nullptr); 85 OsrVisitor visitor(soa.Self(), chars.c_str()); 118 CHECK(chars.c_str() != nullptr); 120 ProfilingInfoVisitor visitor(soa.Self(), chars.c_str()); 158 CHECK(chars.c_str() != nullptr); 160 OsrCheckVisitor visitor(soa.Self(), chars.c_str());
|
/bionic/libc/malloc_debug/tests/ |
property_fake.cpp | 41 strncpy(value, g_properties[key].c_str(), PROP_VALUE_MAX-1); 51 strncpy(value, g_properties[key].c_str(), PROP_VALUE_MAX-1);
|
/external/bsdiff/ |
bspatch_unittest.cc | 26 const char* old_filename = old_file_.c_str(); 27 const char* new_filename = new_file_.c_str();
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
glob.cc | 19 printf("pattern: %s\n", pattern.c_str()); 22 int res = glob(pattern.c_str(), 0, 0, &globbuf);
|
/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/dbus-binding-generator/chromeos-dbus-bindings/ |
method_name_generator.cc | 38 GenerateMethodNameConstant(method.name).c_str(), 39 method.name.c_str()));
|
/external/drm_hwcomposer/ |
worker.cpp | 53 ALOGE("Failed to int thread %s condition %d", name_.c_str(), ret); 59 ALOGE("Failed to init thread %s lock %d", name_.c_str(), ret); 66 ALOGE("Could not create thread %s %d", name_.c_str(), ret); 94 ALOGE("Failed to signal thread %s with exit %d", name_.c_str(), signal_ret); 98 ALOGE("Failed to join thread %s in exit %d", name_.c_str(), join_ret); 172 ALOGE("Failed to lock %s thread %d", worker->name_.c_str(), ret); 180 ALOGE("Failed to unlock %s thread %d", worker->name_.c_str(), ret); 197 ALOGE("Failed to signal condition on %s thread %d", name_.c_str(), ret);
|
/external/google-benchmark/src/ |
re_posix.cc | 23 int ec = regcomp(&re_, spec.c_str(), REG_EXTENDED | REG_NOSUB); 56 return regexec(&re_, str.c_str(), 0, nullptr, 0) == 0;
|
/external/google-breakpad/src/common/linux/ |
libcurl_wrapper.cc | 69 (*easy_setopt_)(curl_, CURLOPT_PROXY, proxy_host.c_str()); 75 (*easy_setopt_)(curl_, CURLOPT_PROXYUSERPWD, proxy_userpwd.c_str()); 92 CURLFORM_COPYNAME, basename.c_str(), 93 CURLFORM_FILE, upload_file_path.c_str(), 116 (*easy_setopt_)(curl_, CURLOPT_URL, url.c_str()); 120 CURLFORM_COPYNAME, iter->first.c_str(), 121 CURLFORM_COPYCONTENTS, iter->second.c_str(), 150 url.c_str(),
|
/external/libbrillo/brillo/http/ |
http_form_data.cc | 45 base::StringAppendF(&disposition, "; name=\"%s\"", name_.c_str()); 69 &result, "%s: %s\r\n", pair.first.c_str(), pair.second.c_str()); 104 base::StringAppendF(&disposition, "; filename=\"%s\"", file_name_.c_str()); 145 "%s; boundary=\"%s\"", content_type_.c_str(), boundary_.c_str()); 179 return base::StringPrintf("--%s\r\n", boundary_.c_str()); 183 return base::StringPrintf("--%s--", boundary_.c_str());
|
/external/libbrillo/brillo/ |
userdb_utils.cc | 26 if (getpwnam_r(user.c_str(), &pwd_buf, buf.data(), buf_len, &pwd) || !pwd) { 45 if (getgrnam_r(group.c_str(), &grp_buf, buf.data(), buf_len, &grp) || !grp) {
|
/external/libchrome/base/files/ |
file_util_mac.mm | 21 return (copyfile(from_path.value().c_str(), 22 to_path.value().c_str(), NULL, COPYFILE_DATA) == 0);
|
/external/libchrome/base/strings/ |
string16_unittest.cc | 25 stream.str().c_str()); 52 stream.str().c_str());
|
/external/skia/bench/ |
AndroidCodecBench.cpp | 20 fName.printf("AndroidCodec_%s_SampleSize%d", baseName.c_str(), sampleSize); 24 return fName.c_str();
|
FontScalerBench.cpp | 27 virtual const char* onGetName() { return fName.c_str(); } 40 canvas->drawText(fText.c_str(), fText.size(),
|
/external/skia/src/gpu/gl/ |
GrGLIndexBuffer.cpp | 58 traceMemoryDump->setMemoryBacking(dumpName.c_str(), "gl_buffer", 59 buffer_id.c_str());
|
GrGLVertexBuffer.cpp | 58 traceMemoryDump->setMemoryBacking(dumpName.c_str(), "gl_buffer", 59 buffer_id.c_str());
|
/external/skia/src/gpu/glsl/ |
GrGLSL_impl.h | 20 return Self(Self::CastStr(), expr.c_str()); 35 return Self("(%s * %s)", in0.c_str(), in1.c_str()); 50 return Self("(%s + %s)", in0.c_str(), in1.c_str()); 65 return Self("(%s - %s)", in0.c_str(), in1.c_str()); 77 return T(format, this->c_str());
|