Searched defs:prefix (Results 1 - 25 of 59) sorted by relevance

123

/system/core/libcutils/include/private/
H A Dfs_config.h34 char prefix[]; member in struct:fs_path_config_from_file
/system/core/libcutils/include_vndk/private/
H A Dfs_config.h34 char prefix[]; member in struct:fs_path_config_from_file
/system/core/debuggerd/libdebuggerd/
H A Dopen_files_list.cpp64 void dump_open_files_list_to_log(const OpenFilesList& files, log_t* log, const char* prefix) { argument
66 _LOG(log, logtype::OPEN_FILES, "%sfd %i: %s\n", prefix, file.first, file.second.c_str());
H A Dbacktrace.cpp135 void dump_backtrace_to_log(Backtrace* backtrace, log_t* log, const char* prefix) { argument
137 _LOG(log, logtype::BACKTRACE, "%s%s\n", prefix, backtrace->FormatFrameData(i).c_str());
/system/core/libcutils/
H A Dandroid_get_control_file.cpp47 LIBCUTILS_HIDDEN int __android_get_control_from_env(const char* prefix, argument
49 if (!prefix || !name) return -1;
52 if (asprintf(&key, "%s%s", prefix, name) < 0) return -1;
H A Dfs_config.c279 static bool fs_config_cmp(bool dir, const char* prefix, size_t len, const char* path, size_t plen) { argument
286 if (prefix[len - 1] == '*') {
287 return !strncmp(prefix, path, len - 1);
293 return !strncmp(prefix, path, len);
314 char* prefix; local
321 prefix = calloc(1, remainder);
322 if (!prefix) {
326 if (TEMP_FAILURE_RETRY(read(fd, prefix, remainder)) != remainder) {
327 free(prefix);
328 ALOGE("%s prefix i
[all...]
/system/media/audio_utils/
H A DErrorLog.cpp40 error_log_t *error_log, int fd, const char *prefix, size_t lines, int64_t limit_ns)
45 return reinterpret_cast<ErrorLog<int32_t> *>(error_log)->dump(fd, prefix, lines, limit_ns);
39 error_log_dump( error_log_t *error_log, int fd, const char *prefix, size_t lines, int64_t limit_ns) argument
/system/extras/ext4_utils/
H A Dext4_crypt_init_extensions.cpp88 std::string prefix = "/data/"; local
90 if ((prefix + d) == dir) {
/system/core/adb/
H A Dsocket_spec.cpp120 std::string prefix = it.first + ":"; local
121 if (StartsWith(spec, prefix.c_str())) {
130 std::string prefix = it.first + ":"; local
131 if (StartsWith(spec, prefix.c_str())) {
172 std::string prefix = it.first + ":"; local
173 if (StartsWith(spec, prefix.c_str())) {
180 return network_local_client(&spec[prefix.length()], it.second.socket_namespace,
215 std::string prefix = it.first + ":"; local
216 if (StartsWith(spec, prefix.c_str())) {
223 return network_local_server(&spec[prefix
[all...]
H A Dadb_client.cpp293 const char* prefix = "host"; local
295 prefix = "host-usb";
297 prefix = "host-local";
299 return android::base::StringPrintf("%s:%s", prefix, command);
/system/core/base/
H A Dstrings.cpp90 bool StartsWith(const std::string& s, const char* prefix) { argument
91 return strncmp(s.c_str(), prefix, strlen(prefix)) == 0;
94 bool StartsWithIgnoreCase(const std::string& s, const char* prefix) { argument
95 return strncasecmp(s.c_str(), prefix, strlen(prefix)) == 0;
/system/core/demangle/
H A DDemangler.h72 prefix.clear();
79 std::string prefix; member in struct:Demangler::StateData
/system/core/init/
H A Dueventd.cpp104 int prefix = 0; local
131 prefix = 1;
157 if (add_dev_perms(name, attr, perm, uid, gid, prefix, wildcard) != 0) {
162 ", prefix=" << prefix << ", wildcard=" << wildcard <<
/system/core/libutils/
H A DPrinter.cpp65 const char* prefix,
69 mPrefix(prefix ?: ""),
96 FdPrinter::FdPrinter(int fd, unsigned int indent, const char* prefix) : argument
97 mFd(fd), mIndent(indent), mPrefix(prefix ?: "") {
103 // <indent><prefix><line> -- e.g. '%-4s%s\n' for indent=4
124 String8Printer::String8Printer(String8* target, const char* prefix) : argument
126 mPrefix(prefix ?: "") {
150 PrefixPrinter::PrefixPrinter(Printer& printer, const char* prefix) : argument
151 mPrinter(printer), mPrefix(prefix ?: "") {
63 LogPrinter(const char* logtag, android_LogPriority priority, const char* prefix, bool ignoreBlankLines) argument
/system/tools/hidl/c2hal/
H A Dmain.cpp58 static bool isPathPrefix(const std::string &prefix, const std::string &base) { argument
59 if (prefix.size() >= base.size()) {
64 if (base[prefix.size()] != '.') {
69 return prefix == base.substr(0, prefix.size());
/system/core/healthd/
H A DAnimationParser.cpp40 bool remove_prefix(const std::string& line, const char* prefix, const char** rest) { argument
45 std::string format = base::StringPrintf(" %s%%n%%c", prefix);
/system/core/libpixelflinger/codeflinger/
H A DArm64Disassembler.cpp126 static void decode_rx_zr_token(uint32_t reg, const char *prefix, char *instr_part) argument
129 sprintf(instr_part, "%s%s", prefix, "zr");
131 sprintf(instr_part, "%s%d", prefix, reg);
/system/core/trusty/storage/proxy/
H A Drpmb.c57 static void print_buf(const char *prefix, const uint8_t *buf, size_t size) argument
61 printf("%s @%p [%zu]", prefix, buf, size);
64 printf("\n%*s", (int) strlen(prefix), "");
/system/media/audio_utils/include/audio_utils/
H A DErrorLog.h92 * \param prefix the prefix to use for each line
98 std::string dumpToString(const char *prefix = "", size_t lines = 0, int64_t limitNs = 0) const
109 ss << prefix << "Errors: " << mErrors << "\n";
127 ss << prefix << " Code Freq First time Last time\n"; local
132 ss << prefix << std::setw(5) << entry.mCode
144 * \param prefix the prefix to use for each line
151 status_t dump(int fd, const char *prefix = "", size_t lines = 0, int64_t limitNs = 0) const
154 const std::string s = dumpToString(prefix, line
[all...]
/system/tools/hidl/utils/
H A DFormatter.cpp62 void Formatter::setLinePrefix(const std::string &prefix) { argument
63 mLinePrefix = prefix;
H A DStringHelper.cpp176 bool StringHelper::StartsWith(const std::string &in, const std::string &prefix) { argument
177 return in.size() >= prefix.size() &&
178 in.substr(0, prefix.size()) == prefix;
191 std::string StringHelper::LTrim(const std::string &in, const std::string &prefix) { argument
192 if (StartsWith(in, prefix)) {
193 return in.substr(prefix.size());
210 std::string StringHelper::LTrimAll(const std::string &in, const std::string &prefix) { argument
212 while (StartsWith(copy, prefix)) {
213 copy = copy.substr(prefix
[all...]
/system/connectivity/wificond/scanning/
H A Dscanner_impl.cpp380 string prefix) {
391 LOG(WARNING) << prefix << ": " << ssid_list_string;
379 LogSsidList(vector<vector<uint8_t>>& ssid_list, string prefix) argument
/system/core/cpio/
H A Dmkbootfs.c275 void archive(const char *start, const char *prefix) argument
281 strcpy(out, prefix);
/system/core/logd/
H A DLogStatistics.cpp290 const char* prefix = (permille > 0) ? "+" : ""; local
295 prefix = "";
299 "%s%d.%u%s", prefix, permille / 10,
304 "%s%d%s", prefix, (permille + 5) / 10, units);
/system/extras/simpleperf/
H A DSampleDisplayer.h115 std::string prefix = " "; local
116 fprintf(fp, "%s|\n", prefix.c_str());
117 fprintf(fp, "%s-- %s\n", prefix.c_str(), PrintSampleName(sample).c_str());
118 prefix.append(3, ' ');
120 DisplayCallGraphEntry(fp, 1, prefix, sample->callchain.children[i],
126 void DisplayCallGraphEntry(FILE* fp, size_t depth, std::string prefix, argument
141 prefix += "|";
142 fprintf(fp, "%s\n", prefix.c_str());
144 prefix.back() = ' ';
146 fprintf(fp, "%s%s%s\n", prefix
[all...]

Completed in 1018 milliseconds

123