Searched refs:bufflen (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | lobject.c | 248 void luaO_chunkid (char *out, const char *source, size_t bufflen) { in luaO_chunkid() argument 251 if (l <= bufflen) /* small enough? */ in luaO_chunkid() 254 addstr(out, source + 1, bufflen - 1); in luaO_chunkid() 259 if (l <= bufflen) /* small enough? */ in luaO_chunkid() 263 bufflen -= LL(RETS); in luaO_chunkid() 264 memcpy(out, source + 1 + l - bufflen, bufflen * sizeof(char)); in luaO_chunkid() 270 bufflen -= LL(PRE RETS POS) + 1; /* save space for prefix+suffix+'\0' */ in luaO_chunkid() 271 if (l < bufflen && nl == NULL) { /* small one-line source? */ in luaO_chunkid() 276 if (l > bufflen) l = bufflen; in luaO_chunkid()
|
/illumos-gate/usr/src/ucbcmd/users/ |
H A D | users.c | 34 int bufflen = BUFSIZ; in main() local 54 if (nusers == bufflen) { in main() 55 bufflen *= 2; in main() 57 bufflen * sizeof (char *)); in main()
|
/illumos-gate/usr/src/lib/libc/port/regex/ |
H A D | wordexp.c | 121 size_t bufflen; /* Length of |buff| */ in wordexp() local 210 bufflen = 165 + strlen(word); in wordexp() 211 buff = alloca(bufflen); in wordexp() 245 (void) snprintf(currbuffp, bufflen, in wordexp()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/libc/ |
H A D | libc.c | 1228 int bufflen; in psinfo_raw() local 1244 bufflen = strlen(buff); in psinfo_raw() 1246 buff, strlen(buff) > spbcols ? minspaces : (spbcols - bufflen), " ", in psinfo_raw() 1255 bufflen = strlen(buff); in psinfo_raw() 1258 buff, strlen(buff) > spbcols ? minspaces : (spbcols - bufflen), " ", in psinfo_raw() 1294 bufflen = strlen(buff); in psinfo_raw() 1297 buff, strlen(buff) > spbcols ? minspaces : (spbcols - bufflen), " ", in psinfo_raw() 1319 int bufflen; in psinfo_sum() local 1350 bufflen = strlen(buff); in psinfo_sum() 1354 buff, bufflen > spbcols ? minspaces : (spbcols - bufflen), " "); in psinfo_sum() [all …]
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | pro_line.c | 427 char bufflen[ENCODE_SPACE_NEEDED]; in dwarf_add_file_decl_a() local 470 bufflen, sizeof(bufflen)); in dwarf_add_file_decl_a() 485 memcpy((void *) ptr, bufflen, nbytes_len); in dwarf_add_file_decl_a()
|