Home
last modified time | relevance | path

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

/system/core/mkbootimg/
Dmkbootimg81 self.maxlen = int(kwargs['maxlen'])
86 if len(values) > self.maxlen:
88 format(self.maxlen, len(values)))
136 'kernel command line', default='', action=ValidateStrLenAction, maxlen=1536)
148 maxlen=16)
/system/core/toolbox/upstream-netbsd/bin/dd/
Dconv.c121 uint64_t cnt, maxlen; in block() local
150 maxlen = MIN(cbsz, in.dbcnt); in block()
153 cnt < maxlen && (ch = *inp++) != '\n'; ++cnt) in block()
157 cnt < maxlen && (ch = *inp++) != '\n'; ++cnt) in block()
/system/vold/
DVolumeManager.h166 int getAsecMountPath(const char *id, char *buffer, int maxlen);
167 int getAsecFilesystemPath(const char *id, char *buffer, int maxlen);
173 int getObbMountPath(const char *id, char *buffer, int maxlen);
DVolumeManager.cpp705 int VolumeManager::getAsecMountPath(const char *id, char *buffer, int maxlen) { in getAsecMountPath() argument
719 memset(buffer, 0, maxlen); in getAsecMountPath()
725 int written = snprintf(buffer, maxlen, "%s/%s", VolumeManager::ASECDIR, id); in getAsecMountPath()
726 if ((written < 0) || (written >= maxlen)) { in getAsecMountPath()
735 int VolumeManager::getAsecFilesystemPath(const char *id, char *buffer, int maxlen) { in getAsecFilesystemPath() argument
749 memset(buffer, 0, maxlen); in getAsecFilesystemPath()
755 int written = snprintf(buffer, maxlen, "%s", asecFileName); in getAsecFilesystemPath()
756 if ((written < 0) || (written >= maxlen)) { in getAsecFilesystemPath()
/system/core/libutils/
DUnicode.cpp119 size_t strnlen32(const char32_t *s, size_t maxlen) in strnlen32() argument
122 while ((maxlen > 0) && *ss) { in strnlen32()
124 maxlen--; in strnlen32()
279 size_t strnlen16(const char16_t *s, size_t maxlen) in strnlen16() argument
285 while ((maxlen > 0) && *ss) { in strnlen16()
287 maxlen--; in strnlen16()
/system/core/liblog/
Dlog_event_list.c206 size_t maxlen) { in android_log_write_string8_len() argument
221 len = strnlen(value, maxlen); in android_log_write_string8_len()
/system/core/include/log/
Dlog.h593 const char *value, size_t maxlen);
/system/bt/stack/l2cap/
Dl2c_utils.c1046 UINT16 maxlen; in l2cu_send_peer_echo_rsp() local
1060 maxlen = (L2CAP_CMD_BUF_SIZE > acl_packet_size) ? in l2cu_send_peer_echo_rsp()
1062 maxlen -= (UINT16)(BT_HDR_SIZE + HCI_DATA_PREAMBLE_SIZE + L2CAP_PKT_OVERHEAD + in l2cu_send_peer_echo_rsp()
1065 if (data_len > maxlen) in l2cu_send_peer_echo_rsp()