Searched refs:maxlen (Results 1 – 8 of 8) sorted by relevance
/system/core/mkbootimg/ |
D | mkbootimg | 81 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/ |
D | conv.c | 121 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/ |
D | VolumeManager.h | 166 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);
|
D | VolumeManager.cpp | 705 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/ |
D | Unicode.cpp | 119 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/ |
D | log_event_list.c | 206 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/ |
D | log.h | 593 const char *value, size_t maxlen);
|
/system/bt/stack/l2cap/ |
D | l2c_utils.c | 1046 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()
|