Searched refs:bufflen (Results 1 – 7 of 7) sorted by relevance
/external/lua/src/ |
D | lobject.c | 487 void luaO_chunkid (char *out, const char *source, size_t bufflen) { in luaO_chunkid() argument 490 if (l <= bufflen) /* small enough? */ in luaO_chunkid() 493 addstr(out, source + 1, bufflen - 1); in luaO_chunkid() 498 if (l <= bufflen) /* small enough? */ in luaO_chunkid() 502 bufflen -= LL(RETS); in luaO_chunkid() 503 memcpy(out, source + 1 + l - bufflen, bufflen * sizeof(char)); in luaO_chunkid() 509 bufflen -= LL(PRE RETS POS) + 1; /* save space for prefix+suffix+'\0' */ in luaO_chunkid() 510 if (l < bufflen && nl == NULL) { /* small one-line source? */ in luaO_chunkid() 515 if (l > bufflen) l = bufflen; in luaO_chunkid()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/ar/ |
D | ArArchiveInputStream.java | 385 final int bufflen = asInt(length, offset, len); // Assume length will fit in an int in readGNUStringTable() local 386 namebuffer = new byte[bufflen]; in readGNUStringTable() 387 final int read = IOUtils.readFully(input, namebuffer, 0, bufflen); in readGNUStringTable() 389 if (read != bufflen){ in readGNUStringTable() 391 + bufflen + " read=" + read); in readGNUStringTable() 393 return new ArArchiveEntry(GNU_STRING_TABLE_NAME, bufflen); in readGNUStringTable()
|
/external/ltp/testcases/kernel/syscalls/recvmsg/ |
D | recvmsg02.c | 41 static const int bufflen = ARRAY_SIZE(buff); variable 90 if ((R == bufflen) && !memcmp(msg, buff, R)) in verify_recvmsg()
|
/external/curl/lib/ |
D | ftplistparser.c | 329 size_t bufflen = size*nmemb; in Curl_ftp_parselist() local 337 size_t retsize = bufflen; in Curl_ftp_parselist() 349 if(parser->os_type == OS_TYPE_UNKNOWN && bufflen > 0) { in Curl_ftp_parselist() 355 while(i < bufflen) { /* FSM */ in Curl_ftp_parselist() 1003 retsize = bufflen + 1; in Curl_ftp_parselist()
|
/external/toybox/toys/pending/ |
D | dhcp.c | 1270 int retval, bufflen = 0; in dhcp_main() local 1449 if (state->mode == MODE_RAW) bufflen = read_raw(); in dhcp_main() 1450 if (state->mode == MODE_APP) bufflen = read_app(); in dhcp_main() 1451 if (bufflen < 0) { in dhcp_main()
|
/external/python/cpython2/Modules/ |
D | datetimemodule.c | 1362 isoformat_date(PyDateTime_Date *dt, char buffer[], int bufflen) in isoformat_date() argument 1365 x = PyOS_snprintf(buffer, bufflen, in isoformat_date() 1368 assert(bufflen >= x); in isoformat_date() 1373 isoformat_time(PyDateTime_DateTime *dt, char buffer[], int bufflen) in isoformat_time() argument 1378 x = PyOS_snprintf(buffer, bufflen, in isoformat_time() 1383 assert(bufflen >= x); in isoformat_time() 1385 x += PyOS_snprintf(buffer + x, bufflen - x, ".%06d", us); in isoformat_time() 1386 assert(bufflen >= x); in isoformat_time()
|
/external/pcre/dist2/doc/ |
D | pcre2.txt | 312 PCRE2_SPTR name, PCRE2_UCHAR *buffer, PCRE2_SIZE *bufflen); 316 PCRE2_SIZE *bufflen); 321 PCRE2_SPTR name, PCRE2_UCHAR **bufferptr, PCRE2_SIZE *bufflen); 325 PCRE2_SIZE *bufflen); 397 PCRE2_SIZE bufflen); 2883 PCRE2_SIZE bufflen); 2909 PCRE2_SIZE *bufflen); 2913 PCRE2_SIZE *bufflen); 3037 PCRE2_SPTR name, PCRE2_UCHAR *buffer, PCRE2_SIZE *bufflen); 3040 PCRE2_SPTR name, PCRE2_UCHAR **bufferptr, PCRE2_SIZE *bufflen);
|