Home
last modified time | relevance | path

Searched refs:maxlen (Results 1 – 9 of 9) sorted by relevance

/system/core/libutils/
DUnicode.cpp126 size_t strnlen32(const char32_t *s, size_t maxlen) in strnlen32() argument
129 while ((maxlen > 0) && *ss) { in strnlen32()
131 maxlen--; in strnlen32()
278 size_t strnlen16(const char16_t *s, size_t maxlen) in strnlen16() argument
284 while ((maxlen > 0) && *ss) { in strnlen16()
286 maxlen--; in strnlen16()
/system/tools/mkbootimg/
Dmkbootimg.py177 self.maxlen = int(kwargs['maxlen'])
182 if len(values) > self.maxlen:
184 'String argument too long: max {0:d}, got {1:d}'.format(self.maxlen, len(values)))
241 'kernel command line', default='', action=ValidateStrLenAction, maxlen=1536)
244 default='', action=ValidateStrLenAction, maxlen=2048)
259 maxlen=16)
/system/core/liblog/include_vndk/log/
Dlog_event_list.h57 size_t maxlen);
/system/netd/libnetdutils/
DInternetAddresses.cpp143 uint8_t maxlen = (ip.family() == AF_INET) ? 32 : 128; in forString() local
144 if (prefixlen > maxlen) return false; in forString()
/system/bt/gd/cert/
Dos_utils.py107 last_20_lines = deque(maxlen=20)
/system/core/liblog/include/log/
Dlog_event_list.h75 size_t maxlen);
/system/core/liblog/
Dlog_event_list.cpp204 int android_log_write_string8_len(android_log_context context, const char* value, size_t maxlen) { in android_log_write_string8_len() argument
214 int32_t len = strnlen(value, maxlen); in android_log_write_string8_len()
DREADME.md86 int android_log_write_string8_len(android_log_context ctx, const char *value, size_t maxlen)
/system/bt/stack/l2cap/
Dl2c_utils.cc974 uint16_t maxlen; in l2cu_send_peer_echo_rsp() local
989 maxlen = (L2CAP_CMD_BUF_SIZE > acl_packet_size) in l2cu_send_peer_echo_rsp()
992 maxlen -= in l2cu_send_peer_echo_rsp()
996 if (data_len > maxlen) data_len = 0; in l2cu_send_peer_echo_rsp()