/system/nativepower/daemon/ |
wake_lock_manager_stub.cc | 29 return base::StringPrintf("%s,%s,%d", tag.c_str(), package.c_str(), uid);
|
/system/update_engine/common/ |
hwid_override_unittest.cc | 50 keyval.c_str(), keyval.length()), 58 keyval.c_str(), keyval.length()),
|
/system/update_engine/ |
utils_android.cc | 36 fstab = fs_mgr_read_fstab(fstab_name.c_str()); 57 record = fs_mgr_get_entry_for_mount_point(fstab, mount_point.c_str());
|
/art/runtime/arch/arm/ |
instruction_set_features_arm_test.cc | 34 EXPECT_STREQ("smp,div,atomic_ldrd_strd", krait_features->GetFeatureString().c_str()); 47 EXPECT_STREQ("smp,div,atomic_ldrd_strd", denver_features->GetFeatureString().c_str()); 60 EXPECT_STREQ("smp,-div,-atomic_ldrd_strd", arm7_features->GetFeatureString().c_str()); 85 EXPECT_STREQ("smp,div,atomic_ldrd_strd", krait_features->GetFeatureString().c_str()); 98 EXPECT_STREQ("smp,div,atomic_ldrd_strd", denver_features->GetFeatureString().c_str()); 111 EXPECT_STREQ("smp,-div,-atomic_ldrd_strd", arm7_features->GetFeatureString().c_str());
|
/art/runtime/gc/space/ |
image_space_fs.h | 44 if (!OS::DirectoryExists(dir.c_str())) { 47 DIR* c_dir = opendir(dir.c_str()); 59 std::string file = StringPrintf("%s/%s", dir.c_str(), name); 65 if (rmdir(file.c_str()) != 0) { 74 if (unlink(file.c_str()) != 0) { 109 const char* file_name = boot_marker.c_str();
|
/bootable/recovery/applypatch/ |
freecache.cpp | 52 std::unique_ptr<DIR, decltype(&closedir)> fdd(opendir(path.c_str()), closedir); 54 printf("error opening %s: %s\n", path.c_str(), strerror(errno)); 61 int count = readlink(fd_path.c_str(), link, sizeof(link)-1); 101 if (stat(path.c_str(), &st) == 0 && S_ISREG(st.st_mode)) { 135 unlink(file.c_str()); 137 printf("deleted %s; now %zu bytes free\n", file.c_str(), free_now);
|
/build/kati/ |
ninja.cc | 118 ERROR("Cannot find the depfile in %s", cmd.as_string().c_str()); 147 ERROR("Cannot find removal of .d file: %s", cmd->c_str()); 202 unlink(GetNinjaStampFilename().c_str()); 418 const char* in = c->cmd.c_str(); 498 use_local_pool |= GenShellScript(node->output.c_str(), commands, 553 *o << " " << EscapeBuildTarget(d->output).c_str(); 558 *o << " " << EscapeBuildTarget(d->output).c_str(); 576 fp_ = fopen(GetNinjaFilename().c_str(), "wb"); 586 fprintf(fp_, "# %s=%s\n", p.first.c_str(), p.second.c_str()); [all...] |
rule.cc | 134 LOCF(loc), output.c_str()); 155 v.push_back(StringPrintf("outputs=[%s]", JoinSymbols(outputs, ",").c_str())); 156 v.push_back(StringPrintf("inputs=[%s]", JoinSymbols(inputs, ",").c_str())); 159 JoinSymbols(order_only_inputs, ",").c_str())); 163 JoinSymbols(output_patterns, ",").c_str())); 170 v.push_back(StringPrintf("cmds=[%s]", JoinValues(cmds, ",").c_str()));
|
/cts/tests/tests/permission/jni/ |
android_permission_cts_FileUtils.cpp | 59 int res = statLinks == true ? lstat(cPath.c_str(), &s) 60 : stat(cPath.c_str(), &s); 103 ssize_t result = getxattr(cPath.c_str(), XATTR_NAME_CAPS, &capData, 110 cPath.c_str(), result, strerror(errno), errno); 187 ssize_t result = getxattr(cPath.c_str(), XATTR_NAME_CAPS, &actualCapData, 194 cPath.c_str(), result, strerror(errno), errno);
|
/external/deqp/modules/gles31/functional/ |
es31fTextureBufferTests.cpp | 652 TestCaseGroup* const renderTypeGroup = new TestCaseGroup(context, toTestName(renderType).c_str(), toTestName(renderType).c_str()); 661 renderTypeGroup->addChild(new TextureBufferCase(context.getTestContext(), context.getRenderContext(), GL_RGBA8, size, 0, 0, RENDERBITS_NONE, MODIFYBITS_NONE, renderType, name.c_str(), name.c_str())); 670 renderTypeGroup->addChild(new TextureBufferCase(context.getTestContext(), context.getRenderContext(), GL_RGBA8, bufferSize, 0, size, RENDERBITS_NONE, MODIFYBITS_NONE, renderType, name.c_str(), name.c_str())); 680 renderTypeGroup->addChild(new TextureBufferCase(context.getTestContext(), context.getRenderContext(), GL_RGBA8, bufferSize, offset, size, RENDERBITS_NONE, MODIFYBITS_NONE, renderType, name.c_str(), name.c_str())); 693 TestCaseGroup* const modifyTypeGroup = new TestCaseGroup(context, toTestName(modifyType).c_str(), toTestName(modifyType).c_str()); [all...] |
/external/google-breakpad/src/tools/windows/dump_syms/ |
dump_syms_unittest.cc | 72 component->assign(path.c_str() + len, path.c_str() + path.size());
78 trimmed->assign(path.c_str(), len);
87 args = ::CommandLineToArgvW(command_line.c_str(), &num_args);
129 ASSERT_TRUE(::CreateProcessW(NULL, (LPWSTR)command_line.c_str(), NULL, NULL,
154 FILE* f = ::_wfopen(path.c_str(), L"rb");
|
/external/libchrome/base/strings/ |
stringprintf_unittest.cc | 93 EXPECT_STREQ(src, out.c_str()); 99 EXPECT_STREQ(srcw, outw.c_str()); 124 EXPECT_STREQ(ref, out.c_str()); 150 EXPECT_STREQ(src, out.c_str()); 165 EXPECT_STREQ(invalid, out.c_str()); 167 EXPECT_STREQ(L"", out.c_str());
|
/external/libchrome/crypto/ |
signature_creator_unittest.cc | 48 ASSERT_TRUE(signer->Update(reinterpret_cast<const uint8_t*>(data.c_str()), 63 verifier.VerifyUpdate(reinterpret_cast<const uint8_t*>(data.c_str()), 86 reinterpret_cast<const uint8_t*>(sha1.c_str()), sha1.size(), &signature)); 98 verifier.VerifyUpdate(reinterpret_cast<const uint8_t*>(data.c_str()), 121 reinterpret_cast<const uint8_t*>(sha256.c_str()), sha256.size(), 134 verifier.VerifyUpdate(reinterpret_cast<const uint8_t*>(data.c_str()),
|
/external/libchrome/sandbox/linux/syscall_broker/ |
broker_file_permission.cc | 51 // Calls std::string::c_str(), strncmp and strlen. All these 55 const char* path = path_.c_str(); 77 // External call to std::string::c_str() is 119 *file_to_access = path_.c_str(); 127 // External call to std::string::c_str() is 195 *file_to_open = path_.c_str();
|
/external/libweave/third_party/chromium/base/strings/ |
stringprintf_unittest.cc | 93 EXPECT_STREQ(src, out.c_str()); 99 EXPECT_STREQ(srcw, outw.c_str()); 124 EXPECT_STREQ(ref, out.c_str()); 150 EXPECT_STREQ(src, out.c_str()); 165 EXPECT_STREQ(invalid, out.c_str()); 167 EXPECT_STREQ(L"", out.c_str());
|
/external/opencv3/modules/imgcodecs/src/ |
grfmt_hdr.cpp | 70 file = fopen(m_filename.c_str(), "rb"); 105 (!memcmp(signature.c_str(), m_signature.c_str(), m_signature.size()) || 106 !memcmp(signature.c_str(), m_signature_alt.c_str(), m_signature_alt.size()))) 139 FILE *fout = fopen(m_filename.c_str(), "wb");
|
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
fpdf_parser_fdf.cpp | 129 result += ChangeSlash(filepath.c_str() + 2); 132 result = ChangeSlash(filepath.c_str() + 1); 134 result = ChangeSlash(filepath.c_str()); 164 return ChangeSlash(wsFileName.c_str()); 170 result += ChangeSlash(wsFileName.c_str() + 2); 175 result += ChangeSlash(wsFileName.c_str());
|
/external/skia/src/core/ |
SkRect.cpp | 154 return storage->c_str(); 174 strL.c_str(), strT.c_str(), strR.c_str(), strB.c_str()); 176 SkDebugf("%s\n", line.c_str());
|
/external/skia/src/gpu/glsl/ |
GrGLSLVarying.cpp | 54 varying->fVsOut = v.fVsOut.c_str(); 59 varying->fGsIn = v.fVsOut.c_str(); 60 varying->fGsOut = v.fGsOut.c_str(); 64 varying->fFsIn = (willUseGeoShader ? v.fGsOut : v.fVsOut).c_str(); 123 const char* fsIn = v.fVsOut.c_str(); 127 fsIn = v.fGsOut.c_str();
|
/external/skia/tests/ |
skia_test.cpp | 58 SkDebugf("%s[%3d/%3d] %s%s", prefix.c_str(), done, fTotal, time.c_str(), 91 SkDebugf("\nFAILED: %s", failure.toString().c_str()); 143 header.appendf(" --tmpDir %s", tmpDir.c_str()); 147 header.appendf(" --resourcePath %s", resourcePath.c_str()); 157 SkDebugf("%s", header.c_str());
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/ |
bwe_test_baselinefile.cc | 51 filepath.c_str()); 61 filepath.c_str()); 122 printf("WARNING: Cannot create output dir: %s\n", dir_path.c_str()); 129 filepath_.c_str()); 133 filepath_.c_str()); 140 printf("NOTE: No change, not writing: %s\n", filepath_.c_str());
|
/frameworks/base/services/tests/servicestests/jni/ |
apf_jni.cpp | 70 env->ThrowNew(newExcCls, error.c_str()); 84 if (pcap_compile(pcap.get(), &bpf, filter.c_str(), 0, PCAP_NETMASK_UNKNOWN)) { 96 return env->NewStringUTF(bpf_string.c_str()); 107 ScopedFILE bpf_fp(fopen(pcap_filename.c_str(), "rb")); 116 ScopedFILE apf_fp(fopen(pcap_filename.c_str(), "rb")); 125 if (pcap_compile(bpf_pcap.get(), &bpf, filter.c_str(), 0, PCAP_NETMASK_UNKNOWN)) {
|
/prebuilts/misc/common/swig/include/2.0.11/csharp/ |
std_wstring.i | 37 %typemap(out) wstring %{ $result = SWIG_csharp_wstring_callback($1.c_str()); %} 46 %typemap(directorin) wstring %{ $input = SWIG_csharp_wstring_callback($1.c_str()); %} 58 SWIG_CSharpSetPendingException(SWIG_CSharpApplicationException, message.c_str()); 76 %typemap(out) const wstring & %{ $result = SWIG_csharp_wstring_callback($1->c_str()); %} 94 %typemap(directorin) const wstring & %{ $input = SWIG_csharp_wstring_callback($1.c_str()); %} 110 SWIG_CSharpSetPendingException(SWIG_CSharpApplicationException, message.c_str());
|
/prebuilts/misc/common/swig/include/2.0.11/java/ |
std_string.i | 50 %{ $input = jenv->NewStringUTF($1.c_str()); %} 53 %{ $result = jenv->NewStringUTF($1.c_str()); %} 64 %{ SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, $1.c_str()); 99 %{ $input = jenv->NewStringUTF($1.c_str()); %} 102 %{ $result = jenv->NewStringUTF($1->c_str()); %} 113 %{ SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, $1.c_str());
|
/system/core/bootstat/ |
boot_event_record_store.cpp | 42 if (stat(path.c_str(), &file_stat) == -1) { 62 if (android::base::ParseInt(content.c_str(), &value)) { 86 int record_fd = creat(record_path.c_str(), S_IRUSR | S_IWUSR); 105 if (stat(record_path.c_str(), &file_stat) == -1) { 114 if (utime(record_path.c_str(), ×) == -1) { 143 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(store_path_.c_str()), closedir);
|