Home
last modified time | relevance | path

Searched refs:c_str (Results 1 – 25 of 1047) sorted by relevance

12345678910>>...42

/system/bt/gd/os/linux_generic/
Dfiles.cc37 unlink(temp_path.c_str()); in HandleError()
59 if (std::rename(from.c_str(), to.c_str()) != 0) { in RenameFile()
60 …LOG_ERROR("unable to rename file from '%s' to '%s', error: %s", from.c_str(), to.c_str(), strerror… in RenameFile()
69 LOG_WARN("Failed to open file '%s', error: %s", path.c_str(), strerror(errno)); in ReadSmallFile()
74 LOG_WARN("Failed to get file size for '%s', error: %s", path.c_str(), strerror(errno)); in ReadSmallFile()
79 …LOG_WARN("Failed to go back to the beginning of file '%s', error: %s", path.c_str(), strerror(errn… in ReadSmallFile()
83 LOG_WARN("Failed to read file '%s', error: %s", path.c_str(), strerror(errno)); in ReadSmallFile()
119 LOG_ERROR("error extracting directory from '%s', error: %s", path.c_str(), strerror(errno)); in WriteToFile()
123 int dir_fd = open(directory_path.c_str(), O_RDONLY | O_DIRECTORY); in WriteToFile()
125 LOG_ERROR("unable to open dir '%s', error: %s", directory_path.c_str(), strerror(errno)); in WriteToFile()
[all …]
/system/bt/gd/os/android/
Dmetrics.cc70 common::ToHexString(cmd_status).c_str(), in LogMetricLinkLayerConnectionEvent()
71 common::ToHexString(reason_code).c_str(), in LogMetricLinkLayerConnectionEvent()
72 common::ToHexString(hci_cmd).c_str(), in LogMetricLinkLayerConnectionEvent()
73 common::ToHexString(hci_event).c_str(), in LogMetricLinkLayerConnectionEvent()
74 common::ToHexString(hci_ble_event).c_str(), in LogMetricLinkLayerConnectionEvent()
75 address ? address->ToString().c_str() : "(NULL)", in LogMetricLinkLayerConnectionEvent()
77 common::ToHexString(link_type).c_str(), in LogMetricLinkLayerConnectionEvent()
85 LOG_WARN("Failed for opcode %s, error %d", common::ToHexString(hci_cmd).c_str(), ret); in LogMetricHciTimeoutEvent()
97 common::ToHexString(status).c_str(), in LogMetricRemoteVersionInfo()
98 common::ToHexString(version).c_str(), in LogMetricRemoteVersionInfo()
[all …]
/system/core/libcutils/
Dtrace-dev_test.cpp59 ASSERT_STREQ(expected.c_str(), actual.c_str()); in TEST_F()
65 atrace_begin_body(name.c_str()); in TEST_F()
73 ASSERT_STREQ(expected.c_str(), actual.c_str()); in TEST_F()
78 atrace_begin_body(name.c_str()); in TEST_F()
82 ASSERT_STREQ(expected.c_str(), actual.c_str()); in TEST_F()
88 atrace_begin_body(name.c_str()); in TEST_F()
96 expected += android::base::StringPrintf("%.*s", expected_len, name.c_str()); in TEST_F()
97 ASSERT_STREQ(expected.c_str(), actual.c_str()); in TEST_F()
108 ASSERT_STREQ(expected.c_str(), actual.c_str()); in TEST_F()
114 atrace_async_begin_body(name.c_str(), 12345); in TEST_F()
[all …]
/system/libhidl/transport/
DLegacySupport.cpp38 ALOGE("Could not get passthrough implementation for %s/%s.", interfaceName.c_str(), in registerPassthroughServiceImplementation()
39 serviceName.c_str()); in registerPassthroughServiceImplementation()
43 ALOGE("Implementation of %s/%s is remote!", interfaceName.c_str(), serviceName.c_str()); in registerPassthroughServiceImplementation()
51 ALOGE("Error retrieving interface name from %s/%s: %s", interfaceName.c_str(), in registerPassthroughServiceImplementation()
52 serviceName.c_str(), result.description().c_str()); in registerPassthroughServiceImplementation()
56 ALOGE("Implementation of %s/%s is actually %s, not a %s!", interfaceName.c_str(), in registerPassthroughServiceImplementation()
57 serviceName.c_str(), actualName.c_str(), expectInterfaceName.c_str()); in registerPassthroughServiceImplementation()
63 ALOGI("Registration complete for %s/%s.", interfaceName.c_str(), serviceName.c_str()); in registerPassthroughServiceImplementation()
65 ALOGE("Could not register service %s/%s (%d).", interfaceName.c_str(), serviceName.c_str(), in registerPassthroughServiceImplementation()
/system/logging/liblog/tests/
Dliblog_global_state.cpp98 __android_log_buf_write(LOG_ID_MAIN, ANDROID_LOG_WARN, LOG_TAG, expected_message.c_str()); in TEST()
126 __android_log_buf_write(expected_buffer_id, expected_priority, LOG_TAG, expected_message.c_str()); in TEST()
164 EXPECT_EQ(0, __android_log_is_loggable(ANDROID_LOG_DEBUG, tag.c_str(), ANDROID_LOG_INFO)); in TEST()
165 EXPECT_EQ(1, __android_log_is_loggable(ANDROID_LOG_INFO, tag.c_str(), ANDROID_LOG_INFO)); in TEST()
166 EXPECT_EQ(1, __android_log_is_loggable(ANDROID_LOG_WARN, tag.c_str(), ANDROID_LOG_INFO)); in TEST()
171 EXPECT_EQ(0, __android_log_is_loggable(ANDROID_LOG_DEBUG, tag.c_str(), ANDROID_LOG_INFO)); in TEST()
172 EXPECT_EQ(1, __android_log_is_loggable(ANDROID_LOG_INFO, tag.c_str(), ANDROID_LOG_INFO)); in TEST()
173 EXPECT_EQ(1, __android_log_is_loggable(ANDROID_LOG_WARN, tag.c_str(), ANDROID_LOG_INFO)); in TEST()
176 EXPECT_EQ(1, __android_log_is_loggable(ANDROID_LOG_DEBUG, tag.c_str(), ANDROID_LOG_INFO)); in TEST()
177 EXPECT_EQ(1, __android_log_is_loggable(ANDROID_LOG_INFO, tag.c_str(), ANDROID_LOG_INFO)); in TEST()
[all …]
/system/netd/server/
DBandwidthController.cpp316 "COMMIT\n", chainName, criticalCommands.c_str(), chainName, op); in makeDataSaverCommand()
346 ALOGE("unable to update the Bandwidth Uid Map: %s", toString(status).c_str()); in manipulateSpecialApps()
375 StringPrintf("-I bw_INPUT %d -i %s -j %s", ruleInsertPos, iface.c_str(), chain), in setInterfaceSharedQuota()
376 StringPrintf("-I bw_OUTPUT %d -o %s -j %s", ruleInsertPos, iface.c_str(), chain), in setInterfaceSharedQuota()
377 StringPrintf("-A bw_FORWARD -i %s -j %s", iface.c_str(), chain), in setInterfaceSharedQuota()
378 StringPrintf("-A bw_FORWARD -o %s -j %s", iface.c_str(), chain), in setInterfaceSharedQuota()
419 ALOGE("No such iface %s to delete", iface.c_str()); in removeInterfaceSharedQuota()
425 StringPrintf("-D bw_INPUT -i %s -j %s", iface.c_str(), chain), in removeInterfaceSharedQuota()
426 StringPrintf("-D bw_OUTPUT -o %s -j %s", iface.c_str(), chain), in removeInterfaceSharedQuota()
427 StringPrintf("-D bw_FORWARD -i %s -j %s", iface.c_str(), chain), in removeInterfaceSharedQuota()
[all …]
DPhysicalNetwork.cpp32 if (int ret = RouteController::addInterfaceToDefaultNetwork(interface.c_str(), permission)) { in addToDefault()
33 ALOGE("failed to add interface %s to default netId %u", interface.c_str(), netId); in addToDefault()
44 if (int ret = RouteController::removeInterfaceFromDefaultNetwork(interface.c_str(), in removeFromDefault()
46 ALOGE("failed to remove interface %s from default netId %u", interface.c_str(), netId); in removeFromDefault()
91 (void)RouteController::addRoute(interface.c_str(), dst, "throw", RouteController::INTERFACE, in invalidateRouteCache()
93 (void) RouteController::removeRoute(interface.c_str(), dst, "throw", in invalidateRouteCache()
109 if (int ret = RouteController::modifyPhysicalNetworkPermission(mNetId, interface.c_str(), in setPermission()
112 interface.c_str(), mNetId, mPermission, permission); in setPermission()
167 int ret = RouteController::addUsersToPhysicalNetwork(mNetId, interface.c_str(), in addUsers()
170 ALOGE("failed to add users on interface %s of netId %u", interface.c_str(), mNetId); in addUsers()
[all …]
DVirtualNetwork.cpp40 int ret = RouteController::addUsersToVirtualNetwork(mNetId, interface.c_str(), mSecure, in addUsers()
43 ALOGE("failed to add users on interface %s of netId %u", interface.c_str(), mNetId); in addUsers()
55 int ret = RouteController::removeUsersFromVirtualNetwork(mNetId, interface.c_str(), mSecure, in removeUsers()
58 ALOGE("failed to remove users on interface %s of netId %u", interface.c_str(), mNetId); in removeUsers()
70 if (int ret = RouteController::addInterfaceToVirtualNetwork(mNetId, interface.c_str(), mSecure, in addInterface()
72 ALOGE("failed to add interface %s to VPN netId %u", interface.c_str(), mNetId); in addInterface()
83 if (int ret = RouteController::removeInterfaceFromVirtualNetwork(mNetId, interface.c_str(), in removeInterface()
85 ALOGE("failed to remove interface %s from VPN netId %u", interface.c_str(), mNetId); in removeInterface()
/system/core/debuggerd/libdebuggerd/test/
Ddump_memory_test.cpp192 ASSERT_STREQ(g_expected_full_dump, tombstone_contents.c_str()); in TEST_F()
195 ASSERT_STREQ("", getFakeLogBuf().c_str()); in TEST_F()
196 ASSERT_STREQ("", getFakeLogPrint().c_str()); in TEST_F()
212 ASSERT_STREQ(g_expected_full_dump, tombstone_contents.c_str()); in TEST_F()
215 ASSERT_STREQ("", getFakeLogBuf().c_str()); in TEST_F()
216 ASSERT_STREQ("", getFakeLogPrint().c_str()); in TEST_F()
231 ASSERT_STREQ(g_expected_full_dump, tombstone_contents.c_str()); in TEST_F()
234 ASSERT_STREQ("", getFakeLogBuf().c_str()); in TEST_F()
235 ASSERT_STREQ("", getFakeLogPrint().c_str()); in TEST_F()
244 ASSERT_STREQ("", tombstone_contents.c_str()); in TEST_F()
[all …]
Dtombstone_test.cpp104 ASSERT_STREQ(expected_dump, tombstone_contents.c_str()); in TEST_F()
106 ASSERT_STREQ("", amfd_data_.c_str()); in TEST_F()
109 ASSERT_STREQ("", getFakeLogBuf().c_str()); in TEST_F()
110 ASSERT_STREQ("", getFakeLogPrint().c_str()); in TEST_F()
144 ASSERT_STREQ(expected_dump, tombstone_contents.c_str()); in TEST_F()
146 ASSERT_STREQ("", amfd_data_.c_str()); in TEST_F()
149 ASSERT_STREQ("", getFakeLogBuf().c_str()); in TEST_F()
150 ASSERT_STREQ("", getFakeLogPrint().c_str()); in TEST_F()
181 ASSERT_STREQ(expected_dump, tombstone_contents.c_str()); in TEST_F()
183 ASSERT_STREQ("", amfd_data_.c_str()); in TEST_F()
[all …]
/system/vold/model/
DPublicVolume.cpp52 mDevPath = StringPrintf("/dev/block/vold/%s", getId().c_str()); in PublicVolume()
73 if (!access(legacyPath.c_str(), R_OK | X_OK) && access(securePath.c_str(), R_OK | X_OK)) { in initAsecStage()
74 if (rename(legacyPath.c_str(), securePath.c_str())) { in initAsecStage()
79 if (TEMP_FAILURE_RETRY(mkdir(securePath.c_str(), 0700))) { in initAsecStage()
124 mRawPath = StringPrintf("/mnt/media_rw/%s", stableName.c_str()); in doMount()
126 mSdcardFsDefault = StringPrintf("/mnt/runtime/default/%s", stableName.c_str()); in doMount()
127 mSdcardFsRead = StringPrintf("/mnt/runtime/read/%s", stableName.c_str()); in doMount()
128 mSdcardFsWrite = StringPrintf("/mnt/runtime/write/%s", stableName.c_str()); in doMount()
129 mSdcardFsFull = StringPrintf("/mnt/runtime/full/%s", stableName.c_str()); in doMount()
133 setPath(StringPrintf("/storage/%s", stableName.c_str())); in doMount()
[all …]
DEmulatedVolume.cpp113 androidSource = StringPrintf("/mnt/runtime/default/%s/%d/Android", label.c_str(), userId); in mountFuseBindMounts()
115 androidSource = StringPrintf("/%s/%d/Android", mRawPath.c_str(), userId); in mountFuseBindMounts()
121 std::string androidDataSource = StringPrintf("%s/data", androidSource.c_str()); in mountFuseBindMounts()
123 StringPrintf("/mnt/user/%d/%s/%d/Android/data", userId, label.c_str(), userId)); in mountFuseBindMounts()
129 std::string androidObbSource = StringPrintf("%s/obb", androidSource.c_str()); in mountFuseBindMounts()
131 StringPrintf("/mnt/user/%d/%s/%d/Android/obb", userId, label.c_str(), userId)); in mountFuseBindMounts()
143 label.c_str(), userId)); in mountFuseBindMounts()
145 userId, label.c_str(), userId)); in mountFuseBindMounts()
163 StringPrintf("/mnt/installer/%d/%s/%d/Android/obb", userId, label.c_str(), userId)); in unmountFuseBindMounts()
173 userId, label.c_str(), userId)); in unmountFuseBindMounts()
[all …]
DObbVolume.cpp67 if (Devmapper::create(getId().c_str(), mLoopPath.c_str(), mSourceKey.c_str(), nr_sec, tmp, in doCreate()
81 if (!mDmPath.empty() && Devmapper::destroy(getId().c_str())) { in doDestroy()
84 if (!mLoopPath.empty() && Loop::destroyByDevice(mLoopPath.c_str())) { in doDestroy()
93 auto path = StringPrintf("/mnt/obb/%s", getId().c_str()); in doMount()
96 if (fs_prepare_dir(path.c_str(), 0700, AID_ROOT, AID_ROOT)) { in doMount()
115 rmdir(path.c_str()); in doUnmount()
/system/core/libutils/
DPrinter_fuzz.cpp39 android::FdPrinter filePrinter = android::FdPrinter(tf.fd, indent, prefix.c_str()); in LLVMFuzzerTestOneInput()
41 android::PrefixPrinter printer = android::PrefixPrinter(stringPrinter, prefix.c_str()); in LLVMFuzzerTestOneInput()
43 android::LogPrinter(logTag.c_str(), priority, prefix.c_str(), ignoreBlankLines); in LLVMFuzzerTestOneInput()
45 printer.printLine(line.c_str()); in LLVMFuzzerTestOneInput()
46 printer.printFormatLine("%s", line.c_str()); in LLVMFuzzerTestOneInput()
47 logPrinter.printLine(line.c_str()); in LLVMFuzzerTestOneInput()
48 logPrinter.printFormatLine("%s", line.c_str()); in LLVMFuzzerTestOneInput()
49 filePrinter.printLine(line.c_str()); in LLVMFuzzerTestOneInput()
50 filePrinter.printFormatLine("%s", line.c_str()); in LLVMFuzzerTestOneInput()
/system/update_engine/cros/
Dlogging.cc44 if (utils::FileExists(symlink_path.c_str()) && in SetupLogSymlink()
45 !utils::IsSymlink(symlink_path.c_str())) { in SetupLogSymlink()
50 if (symlink(log_path.c_str(), symlink_path.c_str()) == -1) { in SetupLogSymlink()
61 kLogsDir.c_str(), in SetupLogFile()
62 utils::GetTimeAsString(::time(nullptr)).c_str()); in SetupLogFile()
63 mkdir(kLogsDir.c_str(), 0755); in SetupLogFile()
83 log_settings.log_file = log_file.c_str(); in SetupLogging()
85 log_settings.log_file_path = log_file.c_str(); in SetupLogging()
/system/core/debuggerd/libdebuggerd/
Dtombstone_proto_to_text.cpp78 process_name = tombstone.command_line()[0].c_str(); in print_thread_header()
79 CB(should_log, "Cmdline: %s", android::base::Join(tombstone.command_line(), " ").c_str()); in print_thread_header()
82 thread.name().c_str(), process_name); in print_thread_header()
93 output += android::base::StringPrintf(" %-3s %0*" PRIx64, name.c_str(), 2 * word_size, in print_register_row()
158 StringPrintf(" (%s+%" PRId64 ")", frame.function_name().c_str(), frame.function_offset()); in print_backtrace()
163 build_id = StringPrintf(" (BuildId: %s)", frame.build_id().c_str()); in print_backtrace()
167 frame.rel_pc(), frame.file_name().c_str(), function.c_str(), build_id.c_str()); in print_backtrace()
177 android::base::Join(thread.backtrace_note(), "\n NOTE: ").c_str()); in print_thread_backtrace()
190 CBS("memory near %s:", mem.register_name().c_str()); in print_thread_memory_dump()
192 CBS("memory near %s (%s):", mem.register_name().c_str(), mem.mapping_name().c_str()); in print_thread_memory_dump()
[all …]
/system/core/fs_mgr/libfs_avb/tests/
Dfs_avb_test_util.cpp61 image_path.value().c_str(), hash_algorithm.c_str(), in CalcVBMetaDigest()
62 vbmeta_digest_path.value().c_str()); in CalcVBMetaDigest()
95 " --chain_partition %s:%u:%s", partition.partition_name.c_str(), in GenerateVBMetaImage()
96 partition.rollback_index_location, partition.key_blob_path.value().c_str()); in GenerateVBMetaImage()
106 rollback_index, signing_options.c_str(), include_descriptor_options.c_str(), in GenerateVBMetaImage()
107 chain_partition_options.c_str(), additional_options.c_str(), in GenerateVBMetaImage()
108 vbmeta_image.path.value().c_str()); in GenerateVBMetaImage()
131 image_path.value().c_str(), vbmeta_image.path.value().c_str(), padding_size); in ExtractVBMetaImage()
183 add_footer_option.c_str(), image_path.value().c_str(), partition_name.c_str(), in AddAvbFooter()
184 partition_size, rollback_index, salt.c_str(), signing_options.c_str(), in AddAvbFooter()
[all …]
/system/bt/bta/test/
Dbta_dm_cust_uuid_test.cc63 ASSERT_STREQ(uuid1.ToString().c_str(), curr0.custom_uuid.ToString().c_str()); in TEST_F()
66 ASSERT_STREQ(uuid2.ToString().c_str(), curr1.custom_uuid.ToString().c_str()); in TEST_F()
72 ASSERT_STREQ(Uuid::kEmpty.ToString().c_str(), curr0.custom_uuid.ToString().c_str()); in TEST_F()
75 ASSERT_STREQ(Uuid::kEmpty.ToString().c_str(), curr1.custom_uuid.ToString().c_str()); in TEST_F()
/system/bt/osi/test/
Dwakelock_test.cc58 char* buffer = const_cast<char*>(tmp_dir_.c_str()); in SetUp()
68 creat(lock_path_.c_str(), S_IRWXU); in SetUp()
69 creat(unlock_path_.c_str(), S_IRWXU); in SetUp()
78 unlink(lock_path_.c_str()); in TearDown()
79 unlink(unlock_path_.c_str()); in TearDown()
80 rmdir(tmp_dir_.c_str()); in TearDown()
91 int lock_fd = open(lock_path_.c_str(), O_RDONLY); in IsFileWakeLockAcquired()
94 int unlock_fd = open(unlock_path_.c_str(), O_RDONLY); in IsFileWakeLockAcquired()
146 wakelock_set_paths(lock_path_.c_str(), unlock_path_.c_str()); in TEST_F()
/system/bt/gd/dumpsys/bundler/
Dbundler.cc88 if (!LoadBinarySchema(filename.c_str(), &string_schema)) { in CreateBinarySchemaBundle()
89 fprintf(stderr, "Unable to load binary schema from filename:%s\n", filename.c_str()); in CreateBinarySchemaBundle()
94 fprintf(stderr, "Failed verification on binary schema filename:%s\n", filename.c_str()); in CreateBinarySchemaBundle()
100 … fprintf(stderr, "Unable to find root table for binary flatbuffer schema:%s\n", filename.c_str()); in CreateBinarySchemaBundle()
110 fprintf(stdout, "Bundled binary schema file:%s\n", schema->root_table()->name()->c_str()); in CreateBinarySchemaBundle()
152 …n(), namespaces.end(), [fp](const std::string& s) { fprintf(fp, "namespace %s {\n", s.c_str()); }); in WriteHeaderFile()
159 fprintf(fp, "} // namespace %s\n", s.c_str()); in WriteHeaderFile()
165 namespace_prefix.c_str()); in WriteHeaderFile()
180 namespace_prefix.c_str(), in WriteHeaderFile()
181 namespace_prefix.c_str(), in WriteHeaderFile()
[all …]
/system/bt/gd/common/
Dstrings.cc67 auto ret = std::from_chars(str.c_str() + i, str.c_str() + i + 2, v, 16); in FromHexString()
115 int64_t value = std::strtoll(str.c_str(), &ptr, 10); in Int64FromString()
117 LOG_INFO("cannot parse string '%s' with error '%s'", str.c_str(), strerror(errno)); in Int64FromString()
120 if (ptr == str.c_str()) { in Int64FromString()
121 LOG_INFO("string '%s' is empty or has wrong format", str.c_str()); in Int64FromString()
124 if (ptr != (str.c_str() + str.size())) { in Int64FromString()
125 LOG_INFO("cannot parse whole string '%s'", str.c_str()); in Int64FromString()
137 LOG_INFO("string '%s' contains minus sign, this function is for unsigned", str.c_str()); in Uint64FromString()
142 uint64_t value = std::strtoull(str.c_str(), &ptr, 10); in Uint64FromString()
144 LOG_INFO("cannot parse string '%s' with error '%s'", str.c_str(), strerror(errno)); in Uint64FromString()
[all …]
/system/tools/sysprop/
DJavaGen.cpp361 writer.Write("package %s;\n\n", package_name.c_str()); in GenerateJavaClass()
363 writer.Write("public final class %s {\n", class_name.c_str()); in GenerateJavaClass()
365 writer.Write("private %s () {}\n\n", class_name.c_str()); in GenerateJavaClass()
376 std::string prop_id = ApiNameToIdentifier(prop.api_name()).c_str(); in GenerateJavaClass()
381 GetJavaEnumTypeName(prop).c_str()); in GenerateJavaClass()
386 writer.Write("%s(\"%s\")", ToUpper(name).c_str(), name.c_str()); in GenerateJavaClass()
396 GetJavaEnumTypeName(prop).c_str()); in GenerateJavaClass()
416 writer.Write("public static %s %s() {\n", prop_type.c_str(), in GenerateJavaClass()
417 prop_id.c_str()); in GenerateJavaClass()
419 writer.Write("public static Optional<%s> %s() {\n", prop_type.c_str(), in GenerateJavaClass()
[all …]
/system/nfc/src/adaptation/
Dlibmain.cc35 return StringPrintf("%s/%s%u", nfc_storage_path.c_str(), bin.c_str(), block); in getFilenameForBlock()
88 "%s: buffer len=%u; file=%s", __func__, nbytes, filename.c_str()); in nfa_nv_co_read()
89 int fileStream = open(filename.c_str(), O_RDONLY); in nfa_nv_co_read()
138 "%s: bytes=%u; file=%s", __func__, nbytes, filename.c_str()); in nfa_nv_co_write()
141 open(filename.c_str(), O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in nfa_nv_co_write()
181 if (remove(getFilenameForBlock(DH_NV_BLOCK).c_str())) { in delete_stack_non_volatile_store()
185 if (remove(getFilenameForBlock(HC_F2_NV_BLOCK).c_str())) { in delete_stack_non_volatile_store()
190 if (remove(getFilenameForBlock(HC_F3_NV_BLOCK).c_str())) { in delete_stack_non_volatile_store()
195 if (remove(getFilenameForBlock(HC_F4_NV_BLOCK).c_str())) { in delete_stack_non_volatile_store()
200 if (remove(getFilenameForBlock(HC_F5_NV_BLOCK).c_str())) { in delete_stack_non_volatile_store()
[all …]
/system/bt/btif/src/
Dbtif_av.cc443 peer_address.ToString().c_str()); in SetSilencePeer()
911 return base::StringPrintf("0x%x(%s)", flags_, result.c_str()); in FlagsToString()
1045 peer_address.ToString().c_str(), bta_handle); in FindOrCreatePeer()
1059 __PRETTY_FUNCTION__, peer_address.ToString().c_str()); in FindOrCreatePeer()
1070 __PRETTY_FUNCTION__, peer_address.ToString().c_str(), peer_id); in FindOrCreatePeer()
1077 __PRETTY_FUNCTION__, peer_address.ToString().c_str(), bta_handle, in FindOrCreatePeer()
1123 peer->PeerAddress().ToString().c_str(), peer->BtaHandle()); in DeleteIdlePeers()
1142 BTA_AvRegister(BTA_AV_CHNL_AUDIO, kBtifAvSourceServiceName.c_str(), peer_id, in RegisterAllBtaHandles()
1165 __PRETTY_FUNCTION__, peer->PeerAddress().ToString().c_str(), in BtaHandleRegistered()
1170 __PRETTY_FUNCTION__, peer->PeerAddress().ToString().c_str(), in BtaHandleRegistered()
[all …]
/system/libziparchive/
Dziptool.cpp91 if (!fnmatch(exclude.c_str(), name.c_str(), 0)) return false; in ShouldInclude()
100 if (!fnmatch(include.c_str(), name.c_str(), 0)) return true; in ShouldInclude()
108 if (stat(path.c_str(), &sb) != -1 && S_ISDIR(sb.st_mode)) return true; in MakeDirectoryHierarchy()
114 return (mkdir(path.c_str(), 0777) != -1); in MakeDirectoryHierarchy()
185 printf("replace %s? [y]es, [n]o, [A]ll, [N]one: ", dst.c_str()); in PromptOverwrite()
224 if (!flag_q) printf(" testing: %-24s ", name.c_str()); in TestOne()
228 die(0, "failed to extract %s: %s", name.c_str(), ErrorCodeString(err)); in TestOne()
233 if (flag_q) printf("%-23s ", name.c_str()); in TestOne()
250 die(0, "failed to extract %s: %s", name.c_str(), ErrorCodeString(err)); in ExtractToPipe()
253 die(errno, "failed to write %s to stdout", name.c_str()); in ExtractToPipe()
[all …]

12345678910>>...42