Searched refs:this_len (Results 1 - 12 of 12) sorted by relevance
/external/fio/lib/ |
H A D | rand.c | 98 unsigned int this_len; local 115 this_len = (segment * (100 - percentage)) / 100; 116 if (this_len > len) 117 this_len = len; 119 __fill_random_buf(buf, this_len, r); 121 len -= this_len; 122 buf += this_len; 124 if (this_len > len) 125 this_len = len; 127 memset(buf, 0, this_len); [all...] |
/external/fio/engines/ |
H A D | splice.c | 41 int this_len = buflen; local 43 if (this_len > SPLICE_DEF_SIZE) 44 this_len = SPLICE_DEF_SIZE; 46 ret = splice(f->fd, &offset, sd->pipe[1], NULL, this_len, SPLICE_F_MORE); 100 int this_len = buflen; local 103 if (this_len > SPLICE_DEF_SIZE) { 104 this_len = SPLICE_DEF_SIZE; 108 ret = splice(f->fd, &offset, sd->pipe[1], NULL, this_len,flags);
|
/external/blktrace/btt/ |
H A D | mmap.c | 132 size_t this_len; local 141 this_len = convert_to_cpu(next_t, t, pdu); 142 cur += this_len;
|
/external/fio/ |
H A D | server.c | 356 size_t this_len, cur_len = 0; local 367 this_len = size; 368 if (this_len > FIO_SERVER_MAX_FRAGMENT_PDU) 369 this_len = FIO_SERVER_MAX_FRAGMENT_PDU; 371 if (!cmd || cur_len < sizeof(*cmd) + this_len) { 375 cur_len = sizeof(*cmd) + this_len; 379 fio_init_net_cmd(cmd, opcode, buf, this_len, tag); 381 if (this_len < size) 386 ret = fio_send_data(fd, cmd, sizeof(*cmd) + this_len); 387 size -= this_len; 1190 unsigned int this_len, flags = 0; local [all...] |
H A D | verify.c | 681 unsigned int this_len, len; local 691 this_len = sizeof(zero_buf); 692 if (this_len > len) 693 this_len = len; 694 if (memcmp(p, zero_buf, this_len)) { 698 len -= this_len; 699 p += this_len;
|
H A D | client.c | 1166 unsigned int this_len; local 1183 this_len = this_chunk - stream.avail_out; 1184 p += this_len; 1185 total -= this_len;
|
/external/pdfium/core/src/fxcrt/ |
H A D | fx_basic_bstring.cpp | 982 int this_len = m_pData->m_nDataLength;
local 984 int min_len = this_len < that_len ? this_len : that_len;
992 if (this_len < that_len) {
994 } else if (this_len > that_len) {
|
H A D | fx_basic_wstring.cpp | 512 int this_len = m_pData->m_nDataLength;
local 514 int min_len = this_len < that_len ? this_len : that_len;
522 if (this_len < that_len) {
524 } else if (this_len > that_len) {
|
/external/chromium_org/third_party/mesa/src/src/gtest/src/ |
H A D | gtest.cc | 1671 const size_t this_len = strlen(c_str()); local 1673 return (this_len >= suffix_len) && 1674 CStringEquals(c_str() + this_len - suffix_len, suffix); 1684 const size_t this_len = strlen(c_str()); local 1686 return (this_len >= suffix_len) && 1687 CaseInsensitiveCStringEquals(c_str() + this_len - suffix_len, suffix);
|
/external/llvm/utils/unittest/googletest/src/ |
H A D | gtest.cc | 1671 const size_t this_len = strlen(c_str()); local 1673 return (this_len >= suffix_len) && 1674 CStringEquals(c_str() + this_len - suffix_len, suffix); 1684 const size_t this_len = strlen(c_str()); local 1686 return (this_len >= suffix_len) && 1687 CaseInsensitiveCStringEquals(c_str() + this_len - suffix_len, suffix);
|
/external/mesa3d/src/gtest/src/ |
H A D | gtest.cc | 1671 const size_t this_len = strlen(c_str()); local 1673 return (this_len >= suffix_len) && 1674 CStringEquals(c_str() + this_len - suffix_len, suffix); 1684 const size_t this_len = strlen(c_str()); local 1686 return (this_len >= suffix_len) && 1687 CaseInsensitiveCStringEquals(c_str() + this_len - suffix_len, suffix);
|
/external/protobuf/gtest/src/ |
H A D | gtest.cc | 1658 const size_t this_len = strlen(c_str()); local 1660 return (this_len >= suffix_len) && 1661 CStringEquals(c_str() + this_len - suffix_len, suffix); 1671 const size_t this_len = strlen(c_str()); local 1673 return (this_len >= suffix_len) && 1674 CaseInsensitiveCStringEquals(c_str() + this_len - suffix_len, suffix);
|
Completed in 352 milliseconds