Home
last modified time | relevance | path

Searched refs:slice_len (Results 1 – 10 of 10) sorted by relevance

/external/grpc-grpc/src/core/lib/slice/
Dslice_buffer.cc264 size_t slice_len = GRPC_SLICE_LENGTH(slice); in slice_buffer_move_first_maybe_ref() local
265 if (n > slice_len) { in slice_buffer_move_first_maybe_ref()
267 n -= slice_len; in slice_buffer_move_first_maybe_ref()
268 } else if (n == slice_len) { in slice_buffer_move_first_maybe_ref()
307 size_t slice_len = GRPC_SLICE_LENGTH(slice); in grpc_slice_buffer_move_first_into_buffer() local
308 if (slice_len > n) { in grpc_slice_buffer_move_first_into_buffer()
311 src, grpc_slice_sub_no_ref(slice, n, slice_len)); in grpc_slice_buffer_move_first_into_buffer()
313 } else if (slice_len == n) { in grpc_slice_buffer_move_first_into_buffer()
318 memcpy(dstp, GRPC_SLICE_START_PTR(slice), slice_len); in grpc_slice_buffer_move_first_into_buffer()
319 dstp += slice_len; in grpc_slice_buffer_move_first_into_buffer()
[all …]
/external/brotli/research/
Ddurchschlag.h20 size_t dictionary_size_limit, size_t slice_len, size_t block_len,
39 DurchschlagContext durchschlag_prepare(size_t slice_len,
64 DurchschlagContext durchschlag_prepare(size_t slice_len,
82 void durchschlag_distill(size_t slice_len, size_t minimum_population,
96 void durchschlag_purify(size_t slice_len, size_t minimum_population,
Ddurchschlag.cc247 size_t dictionary_size_limit, size_t slice_len, size_t block_len, in durchschlag_generate() argument
250 slice_len, sample_sizes, sample_data); in durchschlag_generate()
255 DurchschlagContext durchschlag_prepare(size_t slice_len, in durchschlag_prepare() argument
258 TextIdx sliceLen = static_cast<TextIdx>(slice_len); in durchschlag_prepare()
259 if (sliceLen != slice_len) fatal("slice_len is too large"); in durchschlag_prepare()
334 DurchschlagContext durchschlag_prepare(size_t slice_len, in durchschlag_prepare() argument
337 TextIdx sliceLen = static_cast<TextIdx>(slice_len); in durchschlag_prepare()
338 if (sliceLen != slice_len) fatal("slice_len is too large"); in durchschlag_prepare()
653 void durchschlag_distill(size_t slice_len, size_t minimum_population, in durchschlag_distill() argument
660 slice_len, *sample_sizes, data); in durchschlag_distill()
[all …]
Dsieve.cc79 std::string sieve_generate(size_t dictionary_size_limit, size_t slice_len, in sieve_generate() argument
87 TextIdx sliceLen = static_cast<TextIdx>(slice_len); in sieve_generate()
88 if (sliceLen != slice_len) { in sieve_generate()
Dsieve.h18 std::string sieve_generate(size_t dictionary_size_limit, size_t slice_len,
/external/grpc-grpc/test/core/compression/
Dstream_compression_test.cc45 size_t slice_len = GRPC_SLICE_LENGTH(buf->slices[i]); in slice_buffer_equals_string() local
49 slice_len)) { in slice_buffer_equals_string()
52 pointer += slice_len; in slice_buffer_equals_string()
/external/python/cpython2/Objects/
Dbufferobject.c625 Py_ssize_t slice_len; in buffer_ass_slice() local
662 slice_len = right - left; in buffer_ass_slice()
664 if ( count != slice_len ) { in buffer_ass_slice()
671 if ( slice_len ) in buffer_ass_slice()
672 memcpy((char *)ptr1 + left, ptr2, slice_len); in buffer_ass_slice()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_tensor_coding.cc211 size_t slice_len = in EncodeTensorToByteBuffer() local
213 slices[0] = ::grpc::Slice(slice_len); in EncodeTensorToByteBuffer()
/external/tensorflow/tensorflow/core/kernels/
Dragged_tensor_to_sparse_kernel.cc98 int64 slice_len = final_splits(final_pos + 1) - final_splits(final_pos); in Compute() local
101 for (int64 i = 0; i < slice_len; ++i) { in Compute()
/external/grpc-grpc/src/core/lib/iomgr/
Dendpoint_cfstream.cc204 size_t slice_len = GRPC_SLICE_LENGTH(slice); in WriteAction() local
206 ep->write_stream, GRPC_SLICE_START_PTR(slice), slice_len); in WriteAction()
222 ep->write_slices, grpc_slice_sub(slice, write_size, slice_len)); in WriteAction()