Searched defs:maxlen (Results 1 - 2 of 2) sorted by relevance

/system/core/toolbox/
H A Ddd.c792 uint64_t cnt, maxlen; local
821 maxlen = MIN(cbsz, in.dbcnt);
824 cnt < maxlen && (ch = *inp++) != '\n'; ++cnt)
828 cnt < maxlen && (ch = *inp++) != '\n'; ++cnt)
/system/vold/
H A DVolumeManager.cpp204 int VolumeManager::getAsecMountPath(const char *id, char *buffer, int maxlen) { argument
212 memset(buffer, 0, maxlen);
218 snprintf(buffer, maxlen, "%s/%s", Volume::ASECDIR, id);
222 int VolumeManager::getAsecFilesystemPath(const char *id, char *buffer, int maxlen) { argument
230 memset(buffer, 0, maxlen);
236 snprintf(buffer, maxlen, "%s", asecFileName);

Completed in 7 milliseconds