/art/runtime/base/ |
scoped_flock_test.cc | 34 ScopedFlock file_lock = LockedFile::Open(scratch_file.GetFilename().c_str(), 39 ScopedFlock second_lock = LockedFile::Open(scratch_file.GetFilename().c_str(), 50 ScopedFlock file_lock = LockedFile::Open(scratch_file.GetFilename().c_str(),
|
/external/avb/tools/avbctl/ |
avbctl.cc | 71 ops, ab_suffix.c_str(), &verification_enabled)) { 82 fprintf(stdout, " on slot with suffix %s", ab_suffix.c_str()); 88 if (!avb_user_verification_set(ops, ab_suffix.c_str(), enable_verification)) { 97 fprintf(stdout, " on slot with suffix %s", ab_suffix.c_str()); 111 ops, ab_suffix.c_str(), &verification_enabled)) { 120 fprintf(stdout, " on slot with suffix %s", ab_suffix.c_str()); 135 if (!avb_user_verity_get(ops, ab_suffix.c_str(), &verity_enabled)) { 146 fprintf(stdout, " on slot with suffix %s", ab_suffix.c_str()); 152 if (!avb_user_verity_set(ops, ab_suffix.c_str(), enable_verity)) { 160 fprintf(stdout, " on slot with suffix %s", ab_suffix.c_str()); [all...] |
/external/google-benchmark/src/ |
console_reporter.cc | 61 str += FormatString(" %10s", c.first.c_str()); 109 result.benchmark_name.c_str()); 113 result.error_message.c_str()); 135 printer(Out, COLOR_YELLOW, "%10.2f %s %10.2f %s ", real_time, big_o.c_str(), 136 cpu_time, big_o.c_str()); 154 printer(Out, COLOR_DEFAULT, " %8s/s", s.c_str()); 156 printer(Out, COLOR_DEFAULT, " %10s", s.c_str()); 160 printer(Out, COLOR_DEFAULT, " %s=%s%s", c.first.c_str(), s.c_str(), 166 printer(Out, COLOR_DEFAULT, " %*s", 13, rate.c_str()); [all...] |
/external/libcxx/test/std/re/re.submatch/re.submatch.op/ |
compare.pass.cpp | 253 assert((x.c_str() == sm2) == (x == y)); 254 assert((x.c_str() != sm2) == (x != y)); 255 assert((x.c_str() < sm2) == (x < y)); 256 assert((x.c_str() > sm2) == (x > y)); 257 assert((x.c_str() <= sm2) == (x <= y)); 258 assert((x.c_str() >= sm2) == (x >= y)); 259 assert((sm1 == y.c_str()) == (x == y)); 260 assert((sm1 != y.c_str()) == (x != y)); 261 assert((sm1 < y.c_str()) == (x < y)); 262 assert((sm1 > y.c_str()) == (x > y)) [all...] |
/external/pdfium/core/fpdfdoc/ |
cpdf_filespec.cpp | 59 return ChangeSlashToPlatform(filepath.c_str() + 1); 60 return ChangeSlashToPlatform(filepath.c_str()); 64 return ChangeSlashToPlatform(filepath.c_str()); 66 return ChangeSlashToPlatform(filepath.c_str() + 1); 71 result += ChangeSlashToPlatform(filepath.c_str() + 2); 76 result += ChangeSlashToPlatform(filepath.c_str()); 132 result += ChangeSlashToPDF(filepath.c_str() + 2); 136 return ChangeSlashToPDF(filepath.c_str() + 1); 141 result += ChangeSlashToPDF(filepath.c_str()); 144 return ChangeSlashToPDF(filepath.c_str()); [all...] |
/external/skia/bench/ |
BenchLogger.h | 43 void logError(const SkString& str) { this->nativeLogError(str.c_str()); } 59 this->nativeLogProgress(str.c_str()); 60 this->fileWrite(str.c_str(), str.size());
|
/external/skia/tools/skiaserve/urlhandlers/ |
ImgHandler.cpp | 37 sscanf(commands[1].c_str(), "%d", &n); 39 sscanf(commands[1].c_str(), "%d", &n); 40 sscanf(commands[2].c_str(), "%d", &m);
|
/external/webrtc/webrtc/test/testsupport/ |
frame_writer.cc | 35 output_file_ = fopen(output_filename_.c_str(), "wb"); 38 output_filename_.c_str()); 63 frame_length_in_bytes_, output_filename_.c_str());
|
/frameworks/base/libs/androidfw/tests/ |
BenchmarkHelpers.cpp | 28 if (!assetmanager.addAssetPath(String8(path.c_str()), nullptr /* cookie */, 30 state.SkipWithError(base::StringPrintf("Failed to load assets %s", path.c_str()).c_str());
|
/frameworks/base/libs/hwui/tests/unit/ |
OpDumperTests.cpp | 31 EXPECT_STREQ("RectOp [100 x 100]", stream.str().c_str()); 35 EXPECT_STREQ(" RectOp [100 x 100]", stream.str().c_str()); 42 EXPECT_STREQ(" RectOp [100 x 100] clip=[50 x 50] mode=0", stream.str().c_str());
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.submatch/re.submatch.op/ |
compare.pass.cpp | 251 assert((x.c_str() == sm2) == (x == y)); 252 assert((x.c_str() != sm2) == (x != y)); 253 assert((x.c_str() < sm2) == (x < y)); 254 assert((x.c_str() > sm2) == (x > y)); 255 assert((x.c_str() <= sm2) == (x <= y)); 256 assert((x.c_str() >= sm2) == (x >= y)); 257 assert((sm1 == y.c_str()) == (x == y)); 258 assert((sm1 != y.c_str()) == (x != y)); 259 assert((sm1 < y.c_str()) == (x < y)); 260 assert((sm1 > y.c_str()) == (x > y)) [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/re/re.submatch/re.submatch.op/ |
compare.pass.cpp | 253 assert((x.c_str() == sm2) == (x == y)); 254 assert((x.c_str() != sm2) == (x != y)); 255 assert((x.c_str() < sm2) == (x < y)); 256 assert((x.c_str() > sm2) == (x > y)); 257 assert((x.c_str() <= sm2) == (x <= y)); 258 assert((x.c_str() >= sm2) == (x >= y)); 259 assert((sm1 == y.c_str()) == (x == y)); 260 assert((sm1 != y.c_str()) == (x != y)); 261 assert((sm1 < y.c_str()) == (x < y)); 262 assert((sm1 > y.c_str()) == (x > y)) [all...] |
/prebuilts/ndk/r13/sources/third_party/shaderc/third_party/glslang/glslang/MachineIndependent/ |
InfoSink.cpp | 86 // OutputDebugString(t.c_str()); 90 fprintf(stdout, "%s", t.c_str()); 97 sink.append(t.c_str()); 102 // OutputDebugString(t.c_str()); 106 fprintf(stdout, "%s", t.c_str());
|
/system/extras/simpleperf/ |
cmd_help.cpp | 76 printf(" %-20s%s\n", cmd_name.c_str(), cmd->ShortHelpString().c_str()); 81 printf("%s\n", command.LongHelpString().c_str());
|
/system/netd/server/ |
PhysicalNetwork.cpp | 32 if (int ret = RouteController::addInterfaceToDefaultNetwork(interface.c_str(), permission)) { 33 ALOGE("failed to add interface %s to default netId %u", interface.c_str(), netId); 45 if (int ret = RouteController::removeInterfaceFromDefaultNetwork(interface.c_str(), 47 ALOGE("failed to remove interface %s from default netId %u", interface.c_str(), netId); 94 (void) RouteController::addRoute(interface.c_str(), dst, "throw", 96 (void) RouteController::removeRoute(interface.c_str(), dst, "throw", 112 if (int ret = RouteController::modifyPhysicalNetworkPermission(mNetId, interface.c_str(), 115 interface.c_str(), mNetId, mPermission, permission); 172 if (int ret = RouteController::addInterfaceToPhysicalNetwork(mNetId, interface.c_str(), 174 ALOGE("failed to add interface %s to netId %u", interface.c_str(), mNetId) [all...] |
/system/nfc/halimpl/bcm2079x/adaptation/ |
NonVolatileStore.cpp | 75 snprintf(filename, sizeof(filename), "%s%u", fn.c_str(), block); 128 snprintf(filename, sizeof(filename), "%s%u", fn.c_str(), block); 200 snprintf(filename, sizeof(filename), "%s%u", fn.c_str(), DH_NV_BLOCK); 202 snprintf(filename, sizeof(filename), "%s%u", fn.c_str(), HC_F3_NV_BLOCK); 204 snprintf(filename, sizeof(filename), "%s%u", fn.c_str(), HC_F4_NV_BLOCK); 206 snprintf(filename, sizeof(filename), "%s%u", fn.c_str(), HC_F2_NV_BLOCK); 208 snprintf(filename, sizeof(filename), "%s%u", fn.c_str(), HC_F5_NV_BLOCK); 235 snprintf(filename, sizeof(filename), "%s%u", fn.c_str(), DH_NV_BLOCK); 237 snprintf(filename, sizeof(filename), "%s%u", fn.c_str(), HC_F3_NV_BLOCK); 239 snprintf(filename, sizeof(filename), "%s%u", fn.c_str(), HC_F4_NV_BLOCK) [all...] |
/external/skia/src/gpu/effects/ |
GrBezierEffect.cpp | 137 fragBuilder->codeAppendf("%s = dFdx(%s.xyz);", dklmdx.c_str(), v.fsIn()); 138 fragBuilder->codeAppendf("%s = dFdy(%s.xyz);", dklmdy.c_str(), v.fsIn()); 140 dfdx.c_str(), 141 v.fsIn(), dklmdx.c_str(), 142 v.fsIn(), dklmdx.c_str(), 143 v.fsIn(), dklmdx.c_str()); 145 dfdy.c_str(), 146 v.fsIn(), dklmdy.c_str(), 147 v.fsIn(), dklmdy.c_str(), 148 v.fsIn(), dklmdy.c_str()); [all...] |
/art/test/922-properties/ |
properties.cc | 60 if (string.c_str() == nullptr) { 65 jvmtiError result = jvmti_env->GetSystemProperty(string.c_str(), &value); 80 if (key_string.c_str() == nullptr) { 84 if (value_string.c_str() == nullptr) { 88 jvmtiError result = jvmti_env->SetSystemProperty(key_string.c_str(), value_string.c_str());
|
/external/boringssl/src/fipstools/ |
cavp_tdes_test.cc | 64 printf("%s\r\n\r\n", header.c_str()); 77 const int n = strtoul(num_keys_str.c_str(), nullptr, 0); 128 printf("%s\r\n", header.c_str()); 132 printf("COUNT = %s\r\n", count.c_str()); 134 printf("KEYs = %s\r\n", EncodeHex(keys.data(), keys.size()).c_str()); 137 EncodeHex(key1.data(), key1.size()).c_str(), 138 EncodeHex(key2.data(), key2.size()).c_str(), 139 EncodeHex(key3.data(), key3.size()).c_str()); 142 printf("IV = %s\r\n", EncodeHex(iv.data(), iv.size()).c_str()); 144 printf("%s = %s\r\n", in_label.c_str(), [all...] |
/external/jsoncpp/src/jsontestrunner/ |
main.cpp | 65 fprintf(fout, "%s\n", value.getComment(Json::commentBefore).c_str()); 69 fprintf(fout, "%s=null\n", path.c_str()); 74 path.c_str(), 75 Json::valueToString(value.asLargestInt()).c_str()); 80 path.c_str(), 81 Json::valueToString(value.asLargestUInt()).c_str()); 86 path.c_str(), 87 normalizeFloatingPointStr(value.asDouble()).c_str()); 90 fprintf(fout, "%s=\"%s\"\n", path.c_str(), value.asString().c_str()); [all...] |
/external/libcxx/src/ |
random.cpp | 43 __throw_system_error(ENOENT, ("random device not supported " + __token).c_str()); 59 : __f_(open(__token.c_str(), O_RDONLY)) 62 __throw_system_error(errno, ("random_device failed to open " + __token).c_str()); 98 __throw_system_error(ENOENT, ("random device not supported " + __token).c_str()); 101 __throw_system_error(error, ("random device failed to open " + __token).c_str()); 127 __throw_system_error(ENOENT, ("random device not supported " + __token).c_str());
|
/external/skia/tools/trace/ |
SkDebugfTracer.cpp | 51 size_t newLineAt = SkStrFind(string.c_str(), "\n"); 60 args.appendf("%s=\"%s\"", argNames[i], string.c_str()); 71 "[% 2d]%s %s%s #%d {\n", fIndent.size(), fIndent.c_str(), name, args.c_str(), fCnt); 74 SkDebugf("%s%s #%d\n", name, args.c_str(), fCnt); 84 SkDebugf("[% 2d]%s } %s\n", fIndent.size(), fIndent.c_str(), name);
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/src/ |
random.cpp | 41 __throw_system_error(ENOENT, ("random device not supported " + __token).c_str()); 57 : __f_(open(__token.c_str(), O_RDONLY)) 60 __throw_system_error(errno, ("random_device failed to open " + __token).c_str()); 96 __throw_system_error(ENOENT, ("random device not supported " + __token).c_str()); 99 __throw_system_error(error, ("random device failed to open " + __token).c_str()); 125 __throw_system_error(ENOENT, ("random device not supported " + __token).c_str());
|
/test/vts/utils/native/libprofiling/ |
VtsProfilingConfigureMain.cpp | 49 fqInstanceName.c_str(), interfaceRet.description().c_str()); 56 fqInstanceName.c_str(), notifyRet.description().c_str()); 59 fqInstanceName.c_str()); 64 listRet.description().c_str());
|
/frameworks/native/cmds/dumpstate/ |
dumpstate.cpp | 156 std::unique_ptr<DIR, decltype(&closedir)> dump_dir(opendir(dir_path.c_str()), closedir); 171 TEMP_FAILURE_RETRY(open(abs_path.c_str(), O_RDONLY | O_CLOEXEC | O_NOFOLLOW | O_NONBLOCK))); 173 MYLOGW("Unable to open dump file: %s %s\n", abs_path.c_str(), strerror(errno)); 179 MYLOGW("Unable to stat dump file: %s %s\n", abs_path.c_str(), strerror(errno)); 184 MYLOGI("Excluding stale dump file: %s\n", abs_path.c_str()); 212 MYLOGE("Unable to add %s %s to zip file\n", name.c_str(), type_name); 215 dump_file_from_fd(type_name, name.c_str(), fd); 256 MYLOGD("%s: %d entries added to zip file\n", title.c_str(), (int)mount_points.size()); 406 systrace_path.c_str()); 418 MYLOGE("Unable to add systrace file %s to zip file\n", systrace_path.c_str()); [all...] |