/external/fio/lib/ |
D | rand.c | 75 int this_len; in __fill_random_buf() local 79 this_len = sizeof(int64_t); in __fill_random_buf() 82 this_len = sizeof(int32_t); in __fill_random_buf() 85 this_len = sizeof(int16_t); in __fill_random_buf() 88 this_len = sizeof(int8_t); in __fill_random_buf() 90 ptr += this_len; in __fill_random_buf() 91 len -= this_len; in __fill_random_buf() 140 unsigned int this_len; in __fill_random_buf_percentage() local 157 this_len = (segment * (100 - percentage)) / 100; in __fill_random_buf_percentage() 158 if (this_len > len) in __fill_random_buf_percentage() [all …]
|
/external/fio/engines/ |
D | splice.c | 41 int this_len = buflen; in fio_splice_read_old() local 43 if (this_len > SPLICE_DEF_SIZE) in fio_splice_read_old() 44 this_len = SPLICE_DEF_SIZE; in fio_splice_read_old() 46 ret = splice(f->fd, &offset, sd->pipe[1], NULL, this_len, SPLICE_F_MORE); in fio_splice_read_old() 100 int this_len = buflen; in fio_splice_read() local 103 if (this_len > SPLICE_DEF_SIZE) { in fio_splice_read() 104 this_len = SPLICE_DEF_SIZE; in fio_splice_read() 108 ret = splice(f->fd, &offset, sd->pipe[1], NULL, this_len,flags); in fio_splice_read()
|
/external/libvncserver/utils/ |
D | git2cl.pl | 163 my $this_len = length ($this_line); 164 if ($this_len == 0) 170 elsif ($this_len >= $length_remaining) # Line too long, try breaking it. 253 $length_remaining = $length_remaining - $this_len;
|
/external/blktrace/btt/ |
D | mmap.c | 132 size_t this_len; in next_trace() local 141 this_len = convert_to_cpu(next_t, t, pdu); in next_trace() 142 cur += this_len; in next_trace()
|
/external/fio/ |
D | server.c | 370 size_t this_len, cur_len = 0; in fio_net_send_cmd() local 381 this_len = size; in fio_net_send_cmd() 382 if (this_len > FIO_SERVER_MAX_FRAGMENT_PDU) in fio_net_send_cmd() 383 this_len = FIO_SERVER_MAX_FRAGMENT_PDU; in fio_net_send_cmd() 385 if (!cmd || cur_len < sizeof(*cmd) + this_len) { in fio_net_send_cmd() 389 cur_len = sizeof(*cmd) + this_len; in fio_net_send_cmd() 393 fio_init_net_cmd(cmd, opcode, buf, this_len, tag); in fio_net_send_cmd() 395 if (this_len < size) in fio_net_send_cmd() 400 ret = fio_send_data(fd, cmd, sizeof(*cmd) + this_len); in fio_net_send_cmd() 401 size -= this_len; in fio_net_send_cmd() [all …]
|
D | verify.c | 672 unsigned int this_len, len; in verify_trimmed_io_u() local 682 this_len = sizeof(zero_buf); in verify_trimmed_io_u() 683 if (this_len > len) in verify_trimmed_io_u() 684 this_len = len; in verify_trimmed_io_u() 685 if (memcmp(p, zero_buf, this_len)) { in verify_trimmed_io_u() 689 len -= this_len; in verify_trimmed_io_u() 690 p += this_len; in verify_trimmed_io_u()
|
D | client.c | 1260 unsigned int this_len; in convert_iolog_gz() local 1277 this_len = this_chunk - stream.avail_out; in convert_iolog_gz() 1278 p += this_len; in convert_iolog_gz() 1279 total -= this_len; in convert_iolog_gz()
|
/external/pdfium/core/src/fxcrt/ |
D | fx_basic_wstring.cpp | 475 int this_len = m_pData->m_nDataLength; in Compare() local 477 int min_len = this_len < that_len ? this_len : that_len; in Compare() 486 if (this_len < that_len) { in Compare() 489 if (this_len > that_len) { in Compare()
|
D | fx_basic_bstring.cpp | 936 int this_len = m_pData->m_nDataLength; in Compare() local 938 int min_len = this_len < that_len ? this_len : that_len; in Compare() 947 if (this_len < that_len) { in Compare() 950 if (this_len > that_len) { in Compare()
|
/external/llvm/utils/unittest/googletest/src/ |
D | gtest.cc | 1671 const size_t this_len = strlen(c_str()); in EndsWith() local 1673 return (this_len >= suffix_len) && in EndsWith() 1674 CStringEquals(c_str() + this_len - suffix_len, suffix); in EndsWith() 1684 const size_t this_len = strlen(c_str()); in EndsWithCaseInsensitive() local 1686 return (this_len >= suffix_len) && in EndsWithCaseInsensitive() 1687 CaseInsensitiveCStringEquals(c_str() + this_len - suffix_len, suffix); in EndsWithCaseInsensitive()
|
/external/google-breakpad/src/testing/gtest/src/ |
D | gtest.cc | 1672 const size_t this_len = strlen(c_str()); in EndsWith() local 1674 return (this_len >= suffix_len) && in EndsWith() 1675 CStringEquals(c_str() + this_len - suffix_len, suffix); in EndsWith() 1685 const size_t this_len = strlen(c_str()); in EndsWithCaseInsensitive() local 1687 return (this_len >= suffix_len) && in EndsWithCaseInsensitive() 1688 CaseInsensitiveCStringEquals(c_str() + this_len - suffix_len, suffix); in EndsWithCaseInsensitive()
|
/external/mesa3d/src/gtest/src/ |
D | gtest.cc | 1671 const size_t this_len = strlen(c_str()); in EndsWith() local 1673 return (this_len >= suffix_len) && in EndsWith() 1674 CStringEquals(c_str() + this_len - suffix_len, suffix); in EndsWith() 1684 const size_t this_len = strlen(c_str()); in EndsWithCaseInsensitive() local 1686 return (this_len >= suffix_len) && in EndsWithCaseInsensitive() 1687 CaseInsensitiveCStringEquals(c_str() + this_len - suffix_len, suffix); in EndsWithCaseInsensitive()
|
/external/protobuf/gtest/src/ |
D | gtest.cc | 1694 const size_t this_len = strlen(c_str()); in EndsWith() local 1696 return (this_len >= suffix_len) && in EndsWith() 1697 CStringEquals(c_str() + this_len - suffix_len, suffix); in EndsWith() 1707 const size_t this_len = strlen(c_str()); in EndsWithCaseInsensitive() local 1709 return (this_len >= suffix_len) && in EndsWithCaseInsensitive() 1710 CaseInsensitiveCStringEquals(c_str() + this_len - suffix_len, suffix); in EndsWithCaseInsensitive()
|
/external/protobuf/gtest/fused-src/gtest/ |
D | gtest-all.cc | 3034 const size_t this_len = strlen(c_str()); in EndsWith() local 3036 return (this_len >= suffix_len) && in EndsWith() 3037 CStringEquals(c_str() + this_len - suffix_len, suffix); in EndsWith() 3047 const size_t this_len = strlen(c_str()); in EndsWithCaseInsensitive() local 3049 return (this_len >= suffix_len) && in EndsWithCaseInsensitive() 3050 CaseInsensitiveCStringEquals(c_str() + this_len - suffix_len, suffix); in EndsWithCaseInsensitive()
|