Searched refs:maxlen (Results 1 – 9 of 9) sorted by relevance
/system/core/libutils/ |
D | Unicode.cpp | 126 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/ |
D | mkbootimg.py | 177 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/ |
D | log_event_list.h | 57 size_t maxlen);
|
/system/netd/libnetdutils/ |
D | InternetAddresses.cpp | 143 uint8_t maxlen = (ip.family() == AF_INET) ? 32 : 128; in forString() local 144 if (prefixlen > maxlen) return false; in forString()
|
/system/bt/gd/cert/ |
D | os_utils.py | 107 last_20_lines = deque(maxlen=20)
|
/system/core/liblog/include/log/ |
D | log_event_list.h | 75 size_t maxlen);
|
/system/core/liblog/ |
D | log_event_list.cpp | 204 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()
|
D | README.md | 86 int android_log_write_string8_len(android_log_context ctx, const char *value, size_t maxlen)
|
/system/bt/stack/l2cap/ |
D | l2c_utils.cc | 974 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()
|