Home
last modified time | relevance | path

Searched refs:prefix (Results 1 – 25 of 37) sorted by relevance

12

/system/core/libutils/
DPrinter.cpp67 const char* prefix, in LogPrinter() argument
71 mPrefix(prefix ?: ""), in LogPrinter()
98 FdPrinter::FdPrinter(int fd, unsigned int indent, const char* prefix) : in FdPrinter() argument
99 mFd(fd), mIndent(indent), mPrefix(prefix ?: "") { in FdPrinter()
126 String8Printer::String8Printer(String8* target, const char* prefix) : in String8Printer() argument
128 mPrefix(prefix ?: "") { in String8Printer()
152 PrefixPrinter::PrefixPrinter(Printer& printer, const char* prefix) : in PrefixPrinter() argument
153 mPrinter(printer), mPrefix(prefix ?: "") { in PrefixPrinter()
DCallStack.cpp52 void CallStack::log(const char* logtag, android_LogPriority priority, const char* prefix) const { in log()
53 LogPrinter printer(logtag, priority, prefix, /*ignoreBlankLines*/false); in log()
57 void CallStack::dump(int fd, int indent, const char* prefix) const { in dump()
58 FdPrinter printer(fd, indent, prefix); in dump()
62 String8 CallStack::toString(const char* prefix) const { in toString()
65 String8Printer printer(&str, prefix); in toString()
DProcessCallStack.cpp207 const char* prefix) const { in log()
208 LogPrinter printer(logtag, priority, prefix, /*ignoreBlankLines*/false); in log()
239 void ProcessCallStack::dump(int fd, int indent, const char* prefix) const { in dump()
246 FdPrinter printer(fd, static_cast<unsigned int>(indent), prefix); in dump()
250 String8 ProcessCallStack::toString(const char* prefix) const { in toString()
253 String8Printer printer(&dest, prefix); in toString()
DLinearAllocator.cpp216 void LinearAllocator::dumpMemoryStats(const char* prefix) { in dumpMemoryStats() argument
220 ALOGD("%sTotal allocated: %.2f%s", prefix, prettySize, prettySuffix); in dumpMemoryStats()
222 ALOGD("%sWasted space: %.2f%s (%.1f%%)", prefix, prettySize, prettySuffix, in dumpMemoryStats()
224 ALOGD("%sPages %zu (dedicated %zu)", prefix, mPageCount, mDedicatedPageCount); in dumpMemoryStats()
DString16.cpp328 bool String16::startsWith(const String16& prefix) const in startsWith()
330 const size_t ps = prefix.size(); in startsWith()
332 return strzcmp16(mString, ps, prefix.string(), ps) == 0; in startsWith()
335 bool String16::startsWith(const char16_t* prefix) const in startsWith()
337 const size_t ps = strlen16(prefix); in startsWith()
339 return strncmp16(mString, prefix, ps) == 0; in startsWith()
/system/core/include/private/
Dandroid_filesystem_config.h186 const char *prefix; member
284 for(; pc->prefix; pc++){ in fs_config()
285 int len = strlen(pc->prefix); in fs_config()
288 if(!strncmp(pc->prefix, path, len)) break; in fs_config()
292 if (pc->prefix[len -1] == '*') { in fs_config()
293 if(!strncmp(pc->prefix, path, len - 1)) break; in fs_config()
295 if(!strncmp(pc->prefix, path, len)) break; in fs_config()
305 path, pc->prefix ? pc->prefix : "", *uid, *gid, *mode); in fs_config()
/system/core/include/utils/
DPrinter.h48 const char* prefix = 0,
69 FdPrinter(int fd, unsigned int indent = 0, const char* prefix = 0);
93 String8Printer(String8* target, const char* prefix = 0);
107 PrefixPrinter(Printer& printer, const char* prefix);
DCallStack.h52 const char* prefix = 0) const;
55 void dump(int fd, int indent = 0, const char* prefix = 0) const;
58 String8 toString(const char* prefix = 0) const;
DProcessCallStack.h46 const char* prefix = 0) const;
49 void dump(int fd, int indent = 0, const char* prefix = 0) const;
52 String8 toString(const char* prefix = 0) const;
DLinearAllocator.h63 void dumpMemoryStats(const char* prefix = "");
/system/core/fastbootd/
Dprotocol.c48 const char *prefix; member
61 void fastboot_register(const char *prefix, in fastboot_register() argument
67 cmd->prefix = prefix; in fastboot_register()
68 cmd->prefix_len = strlen(prefix); in fastboot_register()
158 if (memcmp(buffer, cmd->prefix, cmd->prefix_len)) in protocol_handle_command()
Dprotocol.h46 void fastboot_register(const char *prefix,
/system/netd/server/
DNetdConstants.cpp177 int parsePrefix(const char *prefix, uint8_t *family, void *address, int size, uint8_t *prefixlen) { in parsePrefix() argument
178 if (!prefix || !family || !address || !prefixlen) { in parsePrefix()
183 const char *slash = strchr(prefix, '/'); in parsePrefix()
200 std::string addressString(prefix, slash - prefix); in parsePrefix()
DNetdConstants.h41 int parsePrefix(const char *prefix, uint8_t *family, void *address, int size, uint8_t *prefixlen);
/system/core/init/
Dueventd.c129 int prefix = 0; in set_device_permission() local
166 prefix = 1; in set_device_permission()
196 add_dev_perms(name, attr, perm, uid, gid, prefix, wildcard); in set_device_permission()
Ddevices.h26 unsigned int gid, unsigned short prefix,
/system/extras/librank/
Dlibrank.c200 char *prefix; in main() local
230 prefix = NULL; in main()
287 prefix = optarg; in main()
288 prefix_len = strlen(prefix); in main()
349 if (prefix && (strncmp(pm_map_name(maps[j]), prefix, prefix_len))) in main()
/system/core/adb/
DSERVICES.TXT69 prefix can be used to indicate that the client is asking the ADB server
86 <host-prefix>:get-product
89 <host-prefix>:get-serialno
93 <host-prefix>:get-devpath
96 <host-prefix>:get-state
99 <host-prefix>:forward:<local>;<remote>
103 There, <host-prefix> can be one of the
120 <host-prefix>:forward:norebind:<local>;<remote>
121 Same as <host-prefix>:forward:<local>;<remote> except that it will
126 <host-prefix>:killforward:<local>
[all …]
/system/core/debuggerd/
Dbacktrace.h32 void dump_backtrace_to_log(Backtrace* backtrace, log_t* log, const char* prefix);
Dbacktrace.cpp139 void dump_backtrace_to_log(Backtrace* backtrace, log_t* log, const char* prefix) { in dump_backtrace_to_log() argument
141 _LOG(log, logtype::BACKTRACE, "%s%s\n", prefix, backtrace->FormatFrameData(i).c_str()); in dump_backtrace_to_log()
/system/security/keystore/
Dtest-keystore19 prefix=$0
20 log_file=$prefix.log
21 baseline_file=$prefix.baseline
/system/core/libsysutils/src/
DNetlinkEvent.cpp267 asprintf(&mParams[0], "ALERT_NAME=%s", pm->prefix); in parseUlogPacketMessage()
525 has_prefix(const char* str, const char* end, const char* prefix, size_t prefixlen) in has_prefix() argument
527 if ((end-str) >= (ptrdiff_t)prefixlen && !memcmp(str, prefix, prefixlen)) in has_prefix()
537 #define HAS_CONST_PREFIX(str,end,prefix) has_prefix((str),(end),prefix,CONST_STRLEN(prefix)) argument
/system/core/libpixelflinger/codeflinger/
DArm64Disassembler.cpp126 static void decode_rx_zr_token(uint32_t reg, const char *prefix, char *instr_part) in decode_rx_zr_token() argument
129 sprintf(instr_part, "%s%s", prefix, "zr"); in decode_rx_zr_token()
131 sprintf(instr_part, "%s%d", prefix, reg); in decode_rx_zr_token()
/system/core/include/ziparchive/
Dzip_archive.h144 const char* prefix);
/system/core/libziparchive/
Dzip_archive.cc893 const char* prefix; member
898 int32_t StartIteration(ZipArchiveHandle handle, void** cookie_ptr, const char* prefix) { in StartIteration() argument
908 cookie->prefix = prefix; in StartIteration()
910 if (prefix != NULL) { in StartIteration()
911 cookie->prefix_len = strlen(prefix); in StartIteration()
956 (handle->prefix == NULL || in Next()
957 (memcmp(handle->prefix, hash_table[i].name, handle->prefix_len) == 0))) { in Next()

12