// Expose a simple implementation of strlcpy when we're not compiling against bionic. This is to // make static analyzers happy not using strcpy. // // Bionic exposes this function, but the host glibc does not. Remove this shim when we compile // against bionic on the host, also.
staticinline size_t strlcpy(char* dst, constchar* src, size_t size) { // Extra-lazy implementation: this is only a host shim, and we don't have to call this often. return snprintf(dst, size, "%s", src);
}
#endif
#endif// ART_LIBARTBASE_BASE_STRLCPY_H_
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet am 2026-06-29)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.